1
0
mirror of https://github.com/processwire/processwire.git synced 2025-09-02 19:23:19 +02:00

2594 Commits

Author SHA1 Message Date
Ryan Cramer
201dc4155e Add InputfieldSelect.valueAddOption to facilitate dynamic option values 2021-01-27 14:52:55 -05:00
Ryan Cramer
4633798d02 Add renderOrProcessReady hook to InputfieldForm 2021-01-27 14:51:07 -05:00
Ryan Cramer
b8d3a4c207 Bump version to 3.0.171 2021-01-22 15:14:21 -05:00
Ryan Cramer
3603cdb744 Add a FieldtypeDecimal to the core per request. This is a newly written module that's different from the 3rd party FieldtypeDecimal, so consider it beta. If using the 3rd party FieldtypeDecimal, this one uses the same configuration setting names, so they are intended to be compatible. You may have to delete /site/modules/FieldtypeDecimal or rename it to /site/modules/.FieldtypeDecimal, and then Modules > Refresh, before PW will use the core one. 2021-01-22 14:19:04 -05:00
Ryan Cramer
0c0fb16e4d Fix issue processwire/processwire-issues#1299 2021-01-22 14:18:17 -05:00
Ryan Cramer
76128e4855 Update InputfieldFloat with option to better support string value decimal numbers 2021-01-22 14:15:53 -05:00
Ryan Cramer
9271e8d846 Add a getString option to the $sanitizer->float() method 2021-01-22 14:14:46 -05:00
Ryan Cramer
0bddf640db Add a new Fieldtype::savedField interface method so that Fieldtypes can monitor when a field of their type has been saved, without having to attach a hook 2021-01-22 14:12:58 -05:00
Ryan Cramer
e28d2e67e7 Add support for family-friendly depth settings in InputfieldRepeater. Can be enabled in repeater field settings (for matrix or regular repeater). This makes depth act as parent/child relationships in page editor so that dragging/sorting a parent also drags children. It also prevents more than 1 depth level increase between parent and child (i.e. converts a parent-to-grandchild relationship to parent-to-child relationship). 2021-01-19 11:39:06 -05:00
Ryan Cramer
ecb7694312 Fix issue processwire/processwire-issues#1275 2021-01-12 07:28:54 -05:00
Ryan Cramer
50dff006b5 Make ProcessLogger::formatLogText hookable (requested by @netcarver) 2021-01-12 07:03:25 -05:00
Ryan Cramer
a7d0ec1c91 Fix issue processwire/processwire-issues#919 (WireCache/JSON) 2021-01-12 07:02:42 -05:00
Ryan Cramer
3370e10802 Updates to make AdminThemeUikit easier to extend with an AdminThemeUikit descending module 2021-01-06 10:55:30 -05:00
Ryan Cramer
ea00f4b940 Bump version to 3.0.170 2021-01-01 16:29:25 -05:00
Ryan Cramer
d5d4e8049b Lots of improvements to configuration of File and Image fields (as used in ProcessField). 2021-01-01 13:59:06 -05:00
Ryan Cramer
43cfdd9dfe Add new $templates->add() and $templates->rename() API methods 2020-12-31 15:54:30 -05:00
Ryan Cramer
880ed9511d Add a Template::editUrl() method 2020-12-31 15:54:06 -05:00
Ryan Cramer
1d990a604e Make $modules->getModule($moduleName) be non-case-sensitive for $moduleName. Plus minor updates to Fieldtypes API var and ProcessTemplate module. 2020-12-31 09:05:59 -05:00
Ryan Cramer
341278fdb0 Additional updates to ProcessModule 2020-12-31 08:51:19 -05:00
Ryan Cramer
209632457a Upgrade InputfieldPageTitle with ability to support custom title-to-name conversions 2020-12-30 13:20:33 -05:00
Ryan Cramer
6c068e6d55 Improvements to inputfields.js front-end management of Inputfields, including a few new API methods and it now opens/collapses Inputfields in the same row together as a group. 2020-12-30 13:18:48 -05:00
Ryan Cramer
014c19c499 Several interface and functionality upgrades to the ProcessTemplate module 2020-12-30 13:18:02 -05:00
Ryan Cramer
ada8d30ed6 Several interface and functionality upgrades to the ProcessField module 2020-12-30 12:59:53 -05:00
Ryan Cramer
d04bdb04bc Various code improvements to ProcessModule, plus add ability to remove modules with missing files. This prevents orphan module entries in DB when files for a module are removed before the module is uninstalled 2020-12-30 12:55:32 -05:00
Ryan Cramer
d98b405574 Add System Update #19, which removes a few redundant legacy entries from modules table 2020-12-30 12:54:47 -05:00
Ryan Cramer
2f50095d1e Upgrade WireFileTools ($files API var) getNamespace() method to support detection of namespaces in files that use declare() statements or comments before namespace declaration 2020-12-30 12:53:37 -05:00
Ryan Cramer
ebdf0b9388 Update Modules ($modules API var) to support locating new module location when it moves in file system, optimize some of the runtime module loading, add a few new helper methods, optimize namespace detection, and add the ability to identify modules that are in the database but have no file on the file system. 2020-12-30 12:41:14 -05:00
Ryan Cramer
aa4e1d2465 Various minor/small updates 2020-12-29 08:00:33 -05:00
Ryan Cramer
ebf60018e6 Change default for the grid setting in AdminThemeUikit (percents vs classes), seems enough time has passed that this is a good/safe new default. 2020-12-29 07:56:35 -05:00
Ryan Cramer
d3b1ab2983 Add LanguagesPageFieldValue::setToInputfield to accompany existing setFromInputfield method 2020-12-11 12:05:09 -05:00
Ryan Cramer
7e1363b1f1 Update in FieldtypeComments to trigger the appropriate Pages class hooks when comments are added/deleted 2020-12-11 12:04:36 -05:00
Ryan Cramer
a8ec223b22 Minor typo fixes and adjustments in various files 2020-12-11 12:03:43 -05:00
Ryan Cramer
891c4684e2 Update DatabaseQuerySelectFulltext to use globally unique bind keys to allow for resulting queries to be merged with AND conditions and without potentially overwriting each other 2020-12-06 08:31:23 -05:00
Ryan Cramer
7549ba7370 Update $modules->findByPrefix() to sort the returned results by module name 2020-12-04 15:42:59 -05:00
Ryan Cramer
80208b55e2 Some improvements to Inputfields JS library with regard to handling checkbox/radio dependencies 2020-12-04 15:41:44 -05:00
Ryan Cramer
73fcaff769 Fix issue processwire/processwire-issues#1286 2020-12-04 11:28:45 -05:00
Ryan Cramer
2e591cf5e2 Bump version to 3.0.169 2020-11-27 15:43:39 -05:00
Ryan Cramer
9d01111f82 Add Lister bookmarks support to ProcessUser 2020-11-27 13:26:56 -05:00
Ryan Cramer
1f40c96dbf Various comments field updates: Add support for searching flags property in FieldtypeComments::find() method. Add new field configuration option to include comment text in notification emails (useNotifyText). Fix issue where comment notification emails linked to just Page URL rather than page Page URL with comment ID #fragment. Add FieldtypeComments::getNotifyEmails() new API method for getting notification emails. Add Comment::getFormattedCommentText() method to expand options and clarify how comment text is returned. Improve HTML version of notification emails sent by CommentNotifications::sendNotificationEmail(). Add ‘notifyDefault’ option to CommentForm class so you can specify a different default notification option other than ‘off’. 2020-11-27 09:50:07 -05:00
Ryan Cramer
13cb795c3d Update the Inputfield debug mode toggle-icon hover state to also work with InputfieldFieldset types 2020-11-27 08:33:01 -05:00
Ryan Cramer
8248e75157 Update ProcessCommentsManager to support changes to the user’s selected notification settings 2020-11-25 14:55:08 -05:00
Ryan Cramer
4eee06f76f Some minor CSS/JS updates to ProcessField 2020-11-25 14:17:43 -05:00
Ryan Cramer
2362005e78 Update $sanitizer->removeMB4() method to use a default replacement character (can be set in $options). Plus implement a shorter replacement function (version 2). Also some updates to the $sanitizer->validateFile() method. 2020-11-25 14:12:33 -05:00
Ryan Cramer
ee980f153c Expand options available to $modules->getModule() so that you can retrieve a non-initialized module that still has configuration data. Also add support for user-specified configuration data in the getModule() call. 2020-11-25 14:07:24 -05:00
Ryan Cramer
4c57f528f6 Update InputfieldWrapper so that all direct references to $this->children (InputfieldsArray) are routed through the children() method, enabling descending modules to have more control over what are considered children. 2020-11-25 14:05:42 -05:00
Ryan Cramer
580da37a2f Fix issue processwire/processwire-issues#1278 2020-11-13 11:45:44 -05:00
Ryan Cramer
1af600fdd1 Fix issue processwire/processwire-issues#1256 2020-11-13 10:52:04 -05:00
Ryan Cramer
97c37da187 Fix issue processwire/processwire-issues#1265 2020-11-13 10:48:30 -05:00
Ryan Cramer
9d0cf061ed Fix issue processwire/processwire-issues#1270 2020-11-13 10:18:18 -05:00
Ryan Cramer
65bcf7fe40 Fix issue processwire/processwire-issues#1273 2020-11-13 09:32:36 -05:00