Ryan Cramer
|
54537e77fa
|
Add new $files->unlink() and $files->rename() methods to files API var, plus enhance many file methods with additional security for path verification, and update PW's various usages of unlink/rename to use the new versions provided by the files API var.
|
2018-10-31 09:30:15 -04:00 |
|
Ryan Cramer
|
0f9eb0aaf5
|
Add hasValue(), hasTitle() and hasID() methods to SelectableOptionArray class
|
2018-10-26 12:21:10 -04:00 |
|
Ryan Cramer
|
7331bac132
|
Addition of a $page->numParents() method/property which reflects the number of parents the page has, aka depth in the tree. This commit also has several small adjustments and fixes, including a fix for the issue introduced last week that caused issues with WireArray in versions of PHP prior to 7.x
|
2018-10-26 12:18:46 -04:00 |
|
Ryan Cramer
|
b964fd1a15
|
Bump version to 3.0.117
|
2018-10-19 14:48:19 -04:00 |
|
Ryan Cramer
|
d12a78d07b
|
Update WireArray class to support usage as a general purpose array (that can hold strings, numbers, etc.), rather than being limited to support of Wire derived objects. Also add WireArray::new($items) static method that lets you create a new WireArray and add $items to it in one shot. The same new() method works on any WireArray derived type such as PageArray and any others.
|
2018-10-19 11:14:29 -04:00 |
|
Ryan Cramer
|
f5cda0acdb
|
Update the FieldtypeComments classes to support for more output configuration options for CommentForm and CommentList
|
2018-10-19 11:12:58 -04:00 |
|
Ryan Cramer
|
faaf8adec9
|
Add support for a "pw-optional" or "data-pw-optional" attribute to Markup Regions. When a defined region of markup has this boolean attribute present, the wrapping region tags will be removed from the document if they will be blank (i.e. nothing was populated to them).
|
2018-10-19 11:06:52 -04:00 |
|
Ryan Cramer
|
cf322b6dca
|
Improvements to FieldtypeTextarea::importValue() to improve accuracy of linked asset URLs on pages imported from one site to another where the root URL has changed (subdirectory vs. non subdirectory), as well as better handling asset URLs where the link included a hostname
|
2018-10-19 11:04:30 -04:00 |
|
Ryan Cramer
|
0b8382ab3e
|
A few small improvements to the PagesExportImport class
|
2018-10-19 11:02:54 -04:00 |
|
Ryan Cramer
|
6367fb7668
|
Forgot to bump version to 3.0.116 on Friday, so this fixes that
|
2018-10-08 13:45:46 -04:00 |
|
Ryan Cramer
|
e2b6453a96
|
Fix issue processwire/processwire-issues#718 FieldtypeFloat float typecast in getPrecision() method
|
2018-10-05 10:00:12 -04:00 |
|
Ryan Cramer
|
8e22bee1b5
|
Fix issue processwire/processwire-issues#716 where $page traversal methods like next() and prev() were not working on RepeaterPage items
|
2018-10-05 09:48:20 -04:00 |
|
Ryan Cramer
|
5fddd95b43
|
Add new Page::numDescendants() method and property, plus descendants() and descendant() alias methods. Add Page::findOne() method. Update ProcessPageList with the ability to customize what is shown in the numChildren/count shown for each Page, along with the ability to display the the newly added Page descendants numbers instead of or in addition to the Page numChildren.
|
2018-10-05 08:11:16 -04:00 |
|
Ryan Cramer
|
faa0d4f4df
|
Update ProcessPageTrash module to be more clear, showing confirmation before page list, and adding option to specify time limit. Also now reports more verbose info about the trash operation including a "pages trashed per second" rate for comparison purposes on different DB engines and settings. Related to processwire/processwire-issues#692
|
2018-10-03 11:50:30 -04:00 |
|
Ryan Cramer
|
e9c7178a22
|
Optimizations and updates to PagesTrash class emptyTrash() process, plus add transaction support to empty trash process per processwire/processwire-issues#692 though currently I'm not seeing any effect from it
|
2018-10-03 11:46:22 -04:00 |
|
Ryan Cramer
|
0ec70c875f
|
Update PagesEditor::savePageStatus() method to also accept array of page IDs (rather than just 1 page ID). Also accepts Page or PageArray objects now too.
|
2018-10-03 11:45:07 -04:00 |
|
Ryan Cramer
|
17c872b079
|
Set a default user-agent header in WireHttp to resolve issues where accessed hostname seems to require it (noticed this on a couple hosts running Varnish, which seem to throw a 400/403 if no user-agent header present)
|
2018-10-03 06:10:26 -04:00 |
|
Ryan Cramer
|
546340652f
|
Attempt fix for issue processwire/processwire-issues#661 where cached PageList data could re-appear when closing then re-opening an item in the PageList. Was an issue if an item was moved or trashed, because it could appear to still be in the old location in the PageList even when it wasn't. This commit also refactors several parts in ProcessPageList.js.
|
2018-10-01 11:21:43 -04:00 |
|
Ryan Cramer
|
11cb8deaa2
|
Bump version to 3.0.115
|
2018-09-28 14:23:16 -04:00 |
|
Ryan Cramer
|
3ab9b358e5
|
Update ProcessLogin to support a configuration option to specify roles that should be prompted to enable two-factor authentication
|
2018-09-28 11:14:19 -04:00 |
|
Ryan Cramer
|
2f2bb118b0
|
Update ProcessProfile to use a dialog window prompt (via vex) when saving changes to a field requires current password.
|
2018-09-28 10:31:50 -04:00 |
|
Ryan Cramer
|
c55a547458
|
Add allowOriginal option to Pageimage::size() and Pageimage::maxSize() to avoid creating variations when original image is already at target dimension
|
2018-09-27 08:48:02 -04:00 |
|
Ryan Cramer
|
45f0c14831
|
Adjustment for issue processwire/processwire-issues#709
|
2018-09-27 07:54:57 -04:00 |
|
Ryan Cramer
|
e6bcd3e44c
|
Fix issue processwire/processwire-issues#712 to correct issue with $config->sessionHistory=1; setting not working correctly
|
2018-09-27 07:39:53 -04:00 |
|
Ryan Cramer
|
a1bac571f3
|
Fix issue processwire/processwire-issues#708 Modules refresh showing unnecessary error message
|
2018-09-26 11:11:54 -04:00 |
|
Ryan Cramer
|
42511ebb77
|
Additional tweak for processwire/processwire-issues#709
|
2018-09-26 11:04:53 -04:00 |
|
Ryan Cramer
|
42ec0e3cf4
|
Some refactoring in WireTempDir class and attempt fix of issue processwire/processwire-issues#704
|
2018-09-26 09:40:40 -04:00 |
|
Ryan Cramer
|
bf8baf36dd
|
Add new methods to $files API var: fileInPath($file, $path); unixDirName($dir); unixFileName($file); filePutContents($file, $contents);
|
2018-09-26 09:40:16 -04:00 |
|
Ryan Cramer
|
e5900e7567
|
Attempt fix for processwire/processwire-issues#704
|
2018-09-25 10:50:54 -04:00 |
|
Ryan Cramer
|
bddea16255
|
Clarify wording in phpdoc of Wire::trackChanges() method per processwire/processwire-issues#707
|
2018-09-25 10:26:02 -04:00 |
|
Ryan Cramer
|
f2edf04602
|
Fix issue processwire/processwire-issues#709 where Pageimage::maxSize() could crop when it shouldn't when source image smaller than maxSize requested dimensions
|
2018-09-25 10:13:51 -04:00 |
|
Ryan Cramer
|
3b4cdeb991
|
Make it possible to add Pagefile from another Page to Pagefiles WireArray per request processwire/processwire-issues#710
|
2018-09-25 09:32:39 -04:00 |
|
Ryan Cramer
|
96bd37eec9
|
Bump version to 3.0.114
|
2018-09-21 14:03:32 -04:00 |
|
Ryan Cramer
|
b4aec46a67
|
Add $database->supportsTransaction($table = '') method to return true or false as to whether the database (or a specific table) supports transactions
|
2018-09-21 13:30:57 -04:00 |
|
Ryan Cramer
|
9a7e5d5bd3
|
Add PagefilesManager->importFiles() and PagefilesManager->replaceFiles() methods
|
2018-09-21 13:29:47 -04:00 |
|
Ryan Cramer
|
f0cc6f1134
|
Update to support module autoload order per request from @adrianbj
|
2018-09-21 12:29:15 -04:00 |
|
Ryan Cramer
|
8add252813
|
Fix issue processwire/processwire-issues#700 where ProcessPermission "add new" was incorrectly showing Save+Publish buttons
|
2018-09-20 11:58:20 -04:00 |
|
Ryan Cramer
|
8973a9de49
|
Bump version to 3.0.113
|
2018-09-14 15:29:00 -04:00 |
|
Ryan Cramer
|
d7a84f223c
|
Update CKEditor version from 4.8.0 to 4.10.1
|
2018-09-14 15:26:48 -04:00 |
|
Ryan Cramer
|
42b46152eb
|
Refactoring of SessionLoginThrottle. Prevents it from being too aggressive when TFA is in use, improves clarity of message to user, and adds the ability to log failures.
|
2018-09-14 12:03:16 -04:00 |
|
Ryan Cramer
|
64680df68f
|
Refactoring of ProcessController and add support for access controlled methods that works with the existing moduleInfo['nav'][]['permission'] setting. Previously that permission was only used to determine whether to show the item in the nav, and you had to do your own separate permission check in the actual method implementation. This commit also moves all the WireException definitions to the main core/Exceptions file.
|
2018-09-14 11:02:30 -04:00 |
|
Ryan Cramer
|
590a69502c
|
Update $mail (WireMailTools) API var with some fluent interface shortcuts, enabling you to start with $mail->to(mail), $mail->from(email), or $mail->subject(email), all of which return a WireMail instance, rather than having to start with a $mail->new() to get the WireMail instance. While minor, this makes for a little bit shorter API calls when using WireMail fluent interface.
|
2018-09-14 10:36:14 -04:00 |
|
Ryan Cramer
|
c1c705ab59
|
Refactoring of WireShutdown class and related minor updates to some other classes
|
2018-09-14 10:34:56 -04:00 |
|
Ryan Cramer
|
89caff1bdc
|
Fix issue processwire/processwire-issues#697 pages with $template->noMove setting could not be restored/moved out of the trash
|
2018-09-13 12:11:43 -04:00 |
|
Ryan Cramer
|
0284bd28a1
|
Fix issue processwire/processwire-issues#695 change order of listable() call in ProcessPageList::renderNavJSON so that one could make an viewable/editable page non-listable in the tree nav dropdown
|
2018-09-13 11:17:21 -04:00 |
|
Ryan Cramer
|
84e5fd6b51
|
Fix issue processwire/processwire-issues#690 where isMoveable() error messages were not yet multi-language translatable
|
2018-09-13 10:33:40 -04:00 |
|
Ryan Cramer
|
2c9b25fdfd
|
Fix issue processwire/processwire-issues#686 where FieldtypeCheckbox::markupValue() result ended up blank after a PHP strip_tags()
|
2018-09-13 10:07:29 -04:00 |
|
Ryan Cramer
|
272077b1cf
|
Fix issue processwire/processwire-issues#685 where templates with noParents=-1 setting (only one allowed) were not shown as selectable in Template field in page editor
|
2018-09-13 09:08:44 -04:00 |
|
Ryan Cramer
|
818d9f50a6
|
Fix issue processwire/processwire-issues#683 where $pages->findOne() didn't have exclusion/filter enabled if finding unpublished or hidden page that is editable & viewable to current user when the selector includes only reference to the page's id.
|
2018-09-13 08:50:49 -04:00 |
|
Ryan Cramer
|
efb7a8ace2
|
Fix issue processwire/processwire-issues#682 fix typo about what tab to change the unpublished setting
|
2018-09-13 08:34:27 -04:00 |
|