1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-06 23:06:59 +02:00

2927 Commits

Author SHA1 Message Date
Ryan Cramer
cf0abe538a Additional updates for processwire/processwire-issues#1467 2024-11-22 10:57:01 -05:00
Ryan Cramer
3bd27723b2 Fix issue processwire/processwire-issues#1999 2024-11-22 10:44:30 -05:00
Ryan Cramer
1a5760a5e8 Fix issue processwire/processwire-issues#1997 2024-11-22 09:42:13 -05:00
Ryan Cramer
5ca977f6df Fix issue processwire/processwire-issues#1996 2024-11-22 09:37:23 -05:00
Ryan Cramer
57388db576 Fix issue processwire/processwire-issues#1993 2024-11-22 09:32:33 -05:00
Ryan Cramer
fb641fae89 Change default of ProcessModule 'allowClasses' option to true so that it shows class names below module titles. 2024-11-15 18:19:31 -05:00
Ryan Cramer
a14398b4a3 Update phpdoc related to return value and options for the page preload methods 2024-11-15 15:37:22 -05:00
Ryan Cramer
8a1ba87298 Update to the viewable permission check in ProcessPageEditLink module 2024-11-15 14:33:24 -05:00
Ryan Cramer
53b7aa39eb Update PagesLoader.preloadPage() method to support a loadPageRefs option which loads page references separately and as a group. Not yet certain this will remain though, as it seems like the FieldtypePage loader is already fast enough 2024-11-15 14:31:03 -05:00
Ryan Cramer
ca74514288 Update InputfieldSelector to support a "children…" selection that works similarly to the "parent…" selection 2024-11-15 14:30:08 -05:00
Ryan Cramer
06ac399319 Fix on the modules install screen when entering a module name with trailing whitespace so that it doesn't get converted to underscore and result in unknown module message 2024-11-15 14:28:44 -05:00
Ryan Cramer
b374ed83e2 Minor phpdoc update in Template class 2024-11-15 14:28:08 -05:00
Ryan Cramer
6c8ca289ba Add new $pages->cache()->hasCache($page_id) method 2024-11-15 14:27:30 -05:00
Ryan Cramer
ec8943c26d Fix option order issue in $pages->getByIDs() method 2024-11-15 14:26:40 -05:00
Ryan Cramer
5a8732f1e1 Update InputfieldWrapper for Inputfield::skipLabelFor property to fix processwire/processwire-issues#1982 2024-11-15 12:41:10 -05:00
Ryan Cramer
1191c164a2 Fix issue processwire/processwire-issues#1988 2024-11-14 14:26:37 -05:00
Ryan Cramer
d84d40e84c Attempt fix issue processwire/processwire-issues#1992 2024-11-14 14:12:09 -05:00
Ryan Cramer
5481d713ab Add new $page->preload([ 'field1', 'field2', 'etc.' ]); method that preloads multiple fields in a single query. This is kind of like autojoin except that it can be called on an already-loaded page. 2024-11-08 15:23:37 -05:00
Ryan Cramer
af5cbd7e3c Bump version to 3.0.242 2024-11-01 14:59:38 -04:00
Ryan Cramer
4d6589bdc8 Fix issue processwire/processwire-issues#1980 2024-11-01 10:57:53 -04:00
Ryan Cramer
b2b810f181 Fix issue processwire/processwire-issues#1984 2024-11-01 10:27:29 -04:00
Ryan Cramer
5e91b745e1 Add hookable method in ProcessPageSearchLive to enable overriding what gets searched in the admin search box at runtime. This is also useful if you want to search fields that the interactive module configuration may not let you configure, such as "field.property". 2024-11-01 09:12:36 -04:00
Ryan Cramer
6cd8516a6f Add several methods to SelectableOptionArray class, which represents FieldtypeOptions field values (checkboxes, radios, selects, etc.). Now it is much simpler to get, add, remove options from the selection by referring to the option ID, vlue or title. The added methods include: getByID($id), getByValue($value), getByTitle($title), addByID($id), addByValue($value), addByTitle($title), removeByID($id), removeByValue($value), removeByTitle($title) 2024-10-11 16:20:01 -04:00
Ryan Cramer
9dbd7dd079 Add $page->saveFields([ 'field1, 'field2', 'etc.' ]) method as a front-end to the added $pages->saveFields($page, [ … ]) method 2024-10-11 16:15:27 -04:00
Ryan Cramer
0ef8a4de0b Add new $pages->saveFields([ 'field1', 'field2', 'etc.' ]); method that enables you to save multiple fields on a page. Previously you could only save the entire page, or 1 field at a time. 2024-10-11 16:13:36 -04:00
Ryan Cramer
1c0aa2d248 Attempt fix for processwire/processwire-issues#1974 2024-10-04 15:19:48 -04:00
Ryan Cramer
4f7161fd49 Fix issue processwire/processwire-issues#1976 2024-10-04 14:35:31 -04:00
Ryan Cramer
5abf2077c7 Fix issue processwire/processwire-issues#1977 2024-10-04 14:30:31 -04:00
Ryan Cramer
6d479ba52c Update WireCacheDatabase to improve the efficiency of the general cache maintenance by adding a custom maintenance() method rather than relying on the slower one in WireCache. This also corrects the issue of past caches with an 0000-00-00 expiration date that would never expire, ensuring they don't stick around any longer. 2024-09-19 11:45:06 -04:00
BernhardBaumrock
fef2a76f39 Add PR #302 feat: add support for ajaxParams in ProcessPageList() 2024-09-13 14:03:25 -04:00
Ryan Cramer
965f956bc3 Add support for matching data attributes in show-if conditions. Also updated FieldtypeOptions to add data-if-value attribute to select <option> tags as a way use it. This attribute contains the option value (when separate option values and labels are used). This enables you to match by value rather than by option ID. Example show-if selector: colors.data-if-value=blue. Previously you could only match by option ID, i.e. colors=123. Maybe we'll add something similar for page refernce fields so that you can match by page name or path, rather than by ID. 2024-09-13 13:29:09 -04:00
Ryan Cramer
754b1fffb7 Update ProcessTemplate not to detect hidden files when checking for new templates 2024-09-06 15:09:36 -04:00
Ryan Cramer
fae4fac013 Minor fix in InputfieldTinyMCESettings class 2024-09-06 15:07:55 -04:00
Ryan Cramer
c4257ee646 Typo fix in the phpdoc of InputfieldDatetime 2024-09-06 15:06:37 -04:00
Ryan Cramer
d9399bc673 Typo fix in phpdoc of WireMarkupRegions 2024-09-06 15:04:22 -04:00
Ryan Cramer
6ff9109583 Typo fix in phpdoc of Module.php 2024-09-06 15:03:44 -04:00
Ryan Cramer
ffddd85566 Add /vendor/ to default exclusion list of FileCompiler 2024-09-06 15:03:17 -04:00
Ryan Cramer
67da683ff6 Fix issue processwire/processwire-issues#1965 2024-09-06 14:53:49 -04:00
Ryan Cramer
fcc0e72868 Fix issue in PageFrontEdit when two different pages being saved at the same time 2024-09-05 17:35:00 -04:00
Ryan Cramer
842eca45b9 Fix issue in InputfieldSelector where it could display primary field label rather than template-context field label (when present) in situation where only one template is allowed and 'showFieldLabels' option is enabled. 2024-09-01 11:15:03 -04:00
Ryan Cramer
80f425f9da Minor adjustment for header actions in inputfields.js 2024-08-23 14:24:06 -04:00
Ryan Cramer
e51ece23fe Update the column width slider in the fields list in ProcessTemplate to work more easily. I'm talking about the part where you click and hold the percent and then drag your mouse left/right or up/down to adjust the column width value. It's now using 5% increments (plus 33%, 34% and 66%), and [when or if needed] you can now double click the percent to open the dedicated range slider in a modal, for more specific column width numbers. 2024-08-23 14:20:38 -04:00
Ryan Cramer
95bd1d426c Update asmSelect to trigger 'asmItemUpdated' JS event when the text in one of selected items is modified 2024-08-23 14:06:18 -04:00
Ryan Cramer
9e8ffac63f Some refactoring in InputfieldWrapper to improve markup attribute population. This should also fix processwire/processwire-issues#1958 2024-08-16 11:22:23 -04:00
Ryan Cramer
f77dd242dc Bump version to 3.0.241 2024-08-09 14:59:04 -04:00
Ryan Cramer
ce01e699e3 Fix issue processwire/processwire-issues#1925 using something like PR #288 via @daun
Co-authored-by: daun <post@philippdaun.net>
2024-08-09 14:29:13 -04:00
tobaco
1fdc61dc41 Add PR #291 - remove php version check for strftime call in WireDateTime 2024-08-09 14:20:15 -04:00
Ryan Cramer
6e93844c19 Update FieldtypeFloat to support configurable column type of either 'float' or 'double'. Previously it only supported 'float' unless you manually changed the DB to use double. 2024-08-09 14:07:57 -04:00
Ryan Cramer
2a84f12018 Add new PageFrontEdit::getAjaxPostUrl() hookable method 2024-07-30 11:39:18 -04:00
Ryan Cramer
137b2aa50b Accidentally added some unused code in the last commit so this one removes it. 2024-07-30 11:21:51 -04:00