Ryan Cramer
|
19fb83201d
|
Update PagesEditor::delete() method to track already-deleted pages to prevent duplicate calls from nested repeaters and such.
|
2024-07-30 11:20:16 -04:00 |
|
Ryan Cramer
|
bda807a574
|
Add a getPageInfo method to PagesRequest class per request
|
2024-07-19 12:45:30 -04:00 |
|
Ryan Cramer
|
5b0e37e3ae
|
Add support for Inputfield header dropdown menu actions. These expand upon the existing Inputfield header actions added in 3.0.240 and enable you to have dropdown menus contain more actions within them.
|
2024-07-19 12:43:41 -04:00 |
|
Ryan Cramer
|
e508cfa2a7
|
Minor optimization to Page::setAndSave
|
2024-07-11 12:15:58 -04:00 |
|
Ryan Cramer
|
4ee947d237
|
Minor optimization to WireCache
|
2024-07-11 12:15:45 -04:00 |
|
Ryan Cramer
|
acc7ca2d91
|
Minor fix to PagesEditor::saveStatus() method
|
2024-07-05 15:49:14 -04:00 |
|
Ryan Cramer
|
e08fa2e957
|
Add support for an experimental $config->userOutputFormatting setting and update ProcessProfile to support.
|
2024-07-05 15:48:25 -04:00 |
|
Ryan Cramer
|
36227dc778
|
Fix issue processwire/processwire-issues#1948
|
2024-07-05 11:35:51 -04:00 |
|
Ryan Cramer
|
2690115966
|
Several updates for processwire/processwire-issues#1467
|
2024-07-05 09:50:01 -04:00 |
|
Ryan Cramer
|
dff3e8aaeb
|
Refactor the Templates::getParentPage() method. This should hopefully fix processwire/processwire-issues#1929 ... also removed the Template::noShortcut check from that method since it didn't really belong there, and moved it to ProcessPageList and ProcessPageLister. Some phpdoc updates as well.
|
2024-07-01 10:59:20 -04:00 |
|
Ryan Cramer
|
d5faf861dc
|
Minor phpdoc updates
|
2024-06-28 17:15:17 -04:00 |
|
Ryan Cramer
|
5609fde13a
|
Fix issue processwire/processwire-issues#1941
|
2024-06-20 11:56:43 -04:00 |
|
Ryan Cramer
|
38a5320f61
|
Bump version to 3.0.240
|
2024-06-14 15:53:39 -04:00 |
|
Ryan Cramer
|
abe1216c89
|
Minor fixes
|
2024-06-14 15:52:28 -04:00 |
|
Ryan Cramer
|
cc79223bc8
|
Fix issue processwire/processwire-issues#1931
|
2024-06-07 12:57:33 -04:00 |
|
Ryan Cramer
|
e78ada8854
|
Update for subfield labels in column headings (primarily for ListerPro)
|
2024-06-02 12:17:02 -04:00 |
|
Ryan Cramer
|
48f85faced
|
Optimizations to $modules loader
|
2024-05-31 14:35:46 -04:00 |
|
Ryan Cramer
|
f6a1ea781b
|
Improve support where fields in repeaters (or other embedded types) can have dependencies reference fields outside the repeater by using the "forpage.field_name=..." syntax in teh depedency. For instance, if you want a field in a repeater to only appear if editing a page using template ID 123 then you could use showIf dependency "forpage.template=123".
|
2024-05-31 14:33:16 -04:00 |
|
Ryan Cramer
|
7988319c72
|
Adjustment to Paths class
|
2024-05-31 14:32:28 -04:00 |
|
Ryan Cramer
|
7c85b089dd
|
Update Inputfield class so that dependencies can be supported on many ajax-loaded Inputfields before they are… ajax-loaded.
|
2024-05-31 14:30:33 -04:00 |
|
Ryan Cramer
|
34bca47a07
|
Optimizations to WireArray and some descending classes
|
2024-05-31 14:27:23 -04:00 |
|
Ryan Cramer
|
904c227cce
|
Optimizations and improvements to $config->demo mode.
|
2024-05-24 14:51:42 -04:00 |
|
Ryan Cramer
|
9803df9401
|
Update $database API to have new reset() and close() methods. The reset() method closes and resets the DB connection, while the close() method just closes it. Also updated the execute($query) method to use the reset() method to retry a failed query due to loss of connection.
|
2024-05-24 14:47:53 -04:00 |
|
Ryan Cramer
|
3c5205721b
|
Add support for PHP-defined header actions for Inputfields as requested by @Toutouwai. These work the same as those defined in JS via Inputfields.addHeaderAction() except the method can now also be called from Inputfield objects in PHP. Also added support for 'link' type actions that open a link in either the current or a modal window.
|
2024-05-24 14:42:23 -04:00 |
|
Ryan Cramer
|
049efa7c3b
|
Bump version to 3.0.239
|
2024-05-17 13:41:53 -04:00 |
|
Ryan Cramer
|
9eb58ead01
|
Minor phpdoc update in Config.php
|
2024-05-17 11:11:43 -04:00 |
|
Ryan Cramer
|
faf27c8fa1
|
Update TemplateFile halt() method to optionally accept string argument to output before halt of template file rendering. For instance: return $this->halt('<h1>See ya</h2>'); from a template file.
|
2024-05-17 11:09:57 -04:00 |
|
Ryan Cramer
|
764153732e
|
Add new InputfieldWrapper getByField() and getByProperty() methods
|
2024-05-17 11:09:03 -04:00 |
|
Ryan Cramer
|
172ad1c812
|
Make the Page::getInputfields() method hookable
|
2024-05-17 11:08:33 -04:00 |
|
Ryan Cramer
|
d77b23adbb
|
Add a new $page->cloneable() method that returns true if the user is allowed to clone the page. Or use $page->cloneable(true) if the user is allowed to clone the page and its children together. This moves the logic was was previously in the ProcessPageClone module into a method that can be more widely used where needed. Also updated the ProcessPageClone module to use it.
|
2024-05-10 11:52:41 -04:00 |
|
Ryan Cramer
|
bae44f93ce
|
Update Page::editUrl() method to support a 'vars' (array) option that contains additional query string variables that it should bundle in to returned URL
|
2024-05-03 13:48:32 -04:00 |
|
Ryan Cramer
|
c38c204824
|
Update Fieldgroup::getPageInputfields() to support user-specified $container element (InputfieldWrapper) rather than creating one (as used by PageEditChildren module)
|
2024-05-03 13:47:50 -04:00 |
|
Ryan Cramer
|
38eadb46d8
|
Bump version to 3.0.238
|
2024-04-19 14:44:42 -04:00 |
|
Ryan Cramer
|
57b23ef9fe
|
Add $inputfield->setLanguageValue($language, $value) and $inputfield->getLanguageValue($language) to Inputfield class when LanguageSupport is installed. This provides a nicer API for getting/setting multi-language values with Inputfields (where supported). Previously you could only get/set by dealing with "value1234" type settings where 1234 is language ID.
|
2024-04-19 11:57:39 -04:00 |
|
Ryan Cramer
|
3c0e9f3c43
|
Add a $datetime->strtodate() function which works like strtotime($str, $format) but returns a formatted date string rather than a timestamp. Also update the $datetime->strtotime() function to accept an inputFormat option which lets you specify the format the given date string is in, for cases when it may not be recognized by PHP based purely on format; and an outputFormat option which lets you specify the format it should return in rather than a timestamp (essentially delegating to the new strtodate method).
|
2024-04-19 11:53:44 -04:00 |
|
Ryan Cramer
|
def74f7b6d
|
Minor refactor of WireArray::__toString() method
|
2024-04-19 11:48:07 -04:00 |
|
Ryan Cramer
|
7a85039896
|
phpdoc improvement in Template.php
|
2024-04-19 11:47:31 -04:00 |
|
Ryan Cramer
|
d8ae8f9177
|
Fix issue processwire/processwire-issues#1904
|
2024-04-18 09:13:01 -04:00 |
|
Ryan Cramer
|
9e6b89cf93
|
Fix issue in PagePathFinder where LanguageSupportPageNames module in use without using homepage language segments, combined with multi-language PagePathHistory module, could result in default language incorrectly detected from URL.
|
2024-04-08 09:08:19 -04:00 |
|
Ryan Cramer
|
7438ae90ca
|
Fix issue processwire/processwire-issues#1903
|
2024-04-05 13:00:26 -04:00 |
|
Ryan Cramer
|
e0f67aa55e
|
Bump version to 3.0.237
|
2024-03-28 13:24:09 -04:00 |
|
Ryan Cramer
|
91c15f666a
|
Fix issue processwire/processwire-issues#1898
|
2024-03-28 10:57:16 -04:00 |
|
Ryan Cramer
|
718c93b056
|
Fix issue processwire/processwire-issues#1894
|
2024-03-28 10:30:36 -04:00 |
|
Ryan Cramer
|
68d9ec9b42
|
Fix issue processwire/processwire-issues#1895
|
2024-03-28 10:23:18 -04:00 |
|
Ryan Cramer
|
6e1d7b166d
|
Fix issue processwire/processwire-issues#1897
|
2024-03-28 09:35:40 -04:00 |
|
Ryan Cramer
|
21949387b4
|
Various minor updates
|
2024-03-28 09:01:54 -04:00 |
|
Ryan Cramer
|
4f55480fc7
|
Update PageValues class to call $page->getField() rather than $this->getField() since it may be overridden by descending Page object (RepeaterMatrixPage for example)
|
2024-03-28 08:48:21 -04:00 |
|
Ryan Cramer
|
38757b1baa
|
Fix behavior of PageFinder when selector has multiple fields before a != operator and no values after the operator, i.e. a|b|c!=
|
2024-03-15 15:50:12 -04:00 |
|
Ryan Cramer
|
9770138eee
|
Update PageFinder so that joinType ('join' or 'leftjoin') can be modified by the fieldtype when/if needed
|
2024-03-01 15:55:32 -05:00 |
|
Ryan Cramer
|
04041bb54a
|
Fix issue processwire/processwire-issues#1890
|
2024-03-01 09:37:50 -05:00 |
|