1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-13 02:04:35 +02:00

1598 Commits

Author SHA1 Message Date
Ryan Cramer
7aa83e3e5f Update $sanitizer->testAll() to make hookable and add a couple more methods to it processwire/processwire-issues#85 2019-11-06 15:09:54 -05:00
Ryan Cramer
ceca16506a Fix issue processwire/processwire-issues#1015 2019-11-05 08:55:36 -05:00
Ryan Cramer
76943ac192 Optimizations in PageLoader class plus fix issue processwire/processwire-issues#1021 2019-11-05 07:35:22 -05:00
Ryan Cramer
b3337d0110 Bump version to 3.0.144 2019-11-01 09:58:44 -04:00
Ryan Cramer
51616e7393 Set default for mergeDups option in FileLog::save() method to 0 (disabled) per processwire/processwire-issues#1019 2019-11-01 05:59:12 -04:00
Ryan Cramer
da36905422 Add new new full JS API for Inputfields, represented by 'Inputfields' JS var. See top of inputfields.js file for details. 2019-10-31 15:29:32 -04:00
Ryan Cramer
50e916b72f Add simple string diff markup generator to WireTextTools class, via diffMarkup() method 2019-10-29 06:11:10 -04:00
Ryan Cramer
80eb2ff3f1 Fix issue with bitwise operators not properly return true on $database->isOperator() call 2019-10-27 07:24:17 -04:00
Ryan Cramer
350b61d6ee Bump version to 3.0.143 2019-10-25 13:00:25 -04:00
Ryan Cramer
6fcc0502b6 Update $database->isOperator() method to allow for isolation or exclusion of bitwise operators 2019-10-25 11:07:42 -04:00
Ryan Cramer
4b8b06af0f Add new wireEmpty() function as more helpful PW alternative to PHP's empty() function, plus improvements to wireClassName() function 2019-10-25 10:59:46 -04:00
Ryan Cramer
063203af26 Fix issue processwire/processwire-issues#1011 2019-10-25 10:20:28 -04:00
Ryan Cramer
1d0dc756b6 Add support for custom type-specific Inputfield classes and attributes to be added via markup array in InputfieldWrapper 2019-10-25 10:06:18 -04:00
Ryan Cramer
c57e29e0c4 Fix issue processwire/processwire-issues#996 2019-10-16 08:01:25 -04:00
Ryan Cramer
d4dca0ed73 Attempt fix for issue processwire/processwire-issues#989 2019-10-15 11:47:51 -04:00
Ryan Cramer
59ec2ee8cc Update FileLog to support some new save options, including the ability to collapse duplicate log ones to 1. Also update ProcessLogger to improve output in some instances. 2019-10-14 10:46:11 -04:00
Ryan Cramer
3702ef8408 Bump version to 3.0.142 2019-10-11 14:29:03 -04:00
Ryan Cramer
573048abb4 Add support for custom fields in file/image fields. Details and instructions coming on Friday, but if you want to preview, create a template with name "field-images" where the "images" part is the name of your file/image field. Add the fields to it that you want to represent your custom fields, and it's ready to use. Supports most core Fieldtypes (including multi-language) with the following exceptions that are not supported as custom fields in an File/Image field: CKEditor, Repeaters, PageTable, Files (nested), Images (nested), Comments, Cache, Selector. 2019-10-09 12:01:19 -04:00
Ryan Cramer
6b20f429a9 Various minor updates and optimizations to several core classes 2019-10-09 11:52:36 -04:00
Ryan Cramer
655c4cdd24 Update markup regions to support nested pw-optional regions as well as include removed pw-optional regions in debug info per processwire/processwire-issues#883 and processwire/processwire-issues#984 2019-09-30 09:51:25 -04:00
Ryan Cramer
3c11bbf1d8 Fix issue processwire/processwire-issues#982 2019-09-27 11:44:20 -04:00
Ryan Cramer
869c6f4a60 Fix issue processwire/processwire-issues#979 2019-09-27 11:41:50 -04:00
Ryan Cramer
7bbf1a53b2 Add support for more automatic file inclusions during processwire status/state changes, and make it possible to customize the filenames for them, including the existing ones like ready.php, init.php, etc. Also some other related system level improvements. 2019-09-27 11:36:23 -04:00
Ryan Cramer
5586dd074b Fix issue processwire/processwire-issues#970 2019-09-26 14:38:34 -04:00
Ryan Cramer
1fe7172cd8 Fix issue processwire/processwire-issues#965 2019-09-26 11:31:27 -04:00
Ryan Cramer
aa50edcbb0 Update a non-wired WireArray to automatically inherit an added item's ProcessWire instance 2019-09-26 06:49:13 -04:00
Ryan Cramer
e634d7a4a5 Update PageArray phpdoc per processwire/processwire-issues#960 2019-09-26 06:43:42 -04:00
Ryan Cramer
b80df87c82 Fix issue processwire/processwire-issues#939 2019-09-24 16:37:35 -04:00
Ryan Cramer
9f4807cf56 Fix issue processwire/processwire-issues#931 2019-09-24 12:30:11 -04:00
Ryan Cramer
6758fb525e Fix issue processwire/processwire-issues#930 2019-09-24 12:04:14 -04:00
Ryan Cramer
6c755a8a9c Optimization to Page::setQuietly() method to support more direct setting of integer base properties in Page::$settings 2019-09-24 11:43:23 -04:00
Ryan Cramer
aae7302283 Update PageArray setSelectors() and getSelectors() methods to support setting/getting as string as an alternate to previously only allowing a Selectors-instance 2019-09-24 11:42:08 -04:00
Ryan Cramer
a2fb255de0 Fix issue processwire/processwire-issues#927 use current created user for cloned pages rather than original created user 2019-09-24 09:34:08 -04:00
Ryan Cramer
8fbf63ce85 Update error message in Modules class to make it less ambiguous per processwire/processwire-issues#926 2019-09-24 08:47:51 -04:00
Ryan Cramer
6f71ff3f93 Bumping version to 3.0.141, some other updates in progress but will commit those next week 2019-09-20 15:40:23 -04:00
Ryan Cramer
b868320b70 Add $config->setLocation(), $config->setPath() and $config->setUrl() methods to allow runtime modification of system paths/URLs. 2019-09-20 10:48:12 -04:00
Ryan Cramer
710c222b5a Add a new Templates::fileModified() hookable method that is called whenever a change is detected to a template file. Plus update the Template and Templates class to make it possible for runtime modification of the templates path. 2019-09-20 10:46:47 -04:00
Ryan Cramer
83b8b8c50f Update DatabaseQuerySelectFulltext class to suppor OR values when used outside of PageFinder (like when used directly from FieldtypeMulti) 2019-09-18 11:28:31 -04:00
Ryan Cramer
215e2c56e1 Update $input->cookie API variable so that it can now also set cookies (in addition to just getting them). Default cookie settings are controlled from new $config->cookieOptions array. 2019-09-18 11:26:42 -04:00
Ryan Cramer
e94f8bc089 Bump version to 3.0.140 2019-09-06 15:43:03 -04:00
Ryan Cramer
86695f8499 Update FieldtypeMulti::savePageField to use InnoDB transactions when possible, plus add a new shortcut method: WireDatabasePDO::allowTransaction() 2019-09-03 11:49:58 -04:00
Ryan Cramer
38d66af6f1 Various minor updates 2019-09-03 11:48:48 -04:00
Ryan Cramer
51f554176d Add support for an Inputfield 'detail' property, similar to existing 'notes' property, but appears below it and in muted text. 2019-09-03 11:44:26 -04:00
Ryan Cramer
e2529912da Bump version to 3.0.139 2019-08-30 14:26:56 -04:00
Ryan Cramer
e94e10c631 Add new "Toggle" Inputfield module providing an often more useful alternative to the InputfieldCheckbox module. There is also an accompanying FieldtypeToggle, but it is still in development so probably won't be till next week's commits. 2019-08-30 11:34:07 -04:00
Ryan Cramer
f5d955ef5f Bump version to 3.0.138 2019-08-16 14:11:13 -04:00
Ryan Cramer
742ed9c479 Improvements to Comment and CommentList class to support hookable modification of individual comments during rendering 2019-08-16 14:10:25 -04:00
Ryan Cramer
0392e9babf Update htmlpurifier version to 4.11.0 2019-08-15 06:20:38 -04:00
Ryan Cramer
d5795c4bc3 Add methods/properties to Page class for querying file paths without referencing filesManager: hasFilesPath(), hasFiles(), filesPath(), filesUrl() 2019-08-15 05:44:24 -04:00
Ryan Cramer
429b98023b Upgrade ImageSizer to provide a new getEngineInfo() method that enables you to get verbose information about all installed engines (such as supported source/target formats, and more) without having to supply a file to inspect. 2019-08-15 05:37:38 -04:00