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

2594 Commits

Author SHA1 Message Date
Ryan Cramer
d30f584190 Fix issue processwire/processwire-issues#1511 2022-01-24 10:33:41 -05:00
Ryan Cramer
22315d3cb5 Fix issue processwire/processwire-issues#1510 2022-01-24 08:45:14 -05:00
Ryan Cramer
7f56c817e0 InputfieldCKEditor updates to fix and improve support of CKE contextual settings in Repeater/RepeaterMatrix types 2022-01-23 10:36:48 -05:00
Ryan Cramer
76e7855e83 Remove phpdoc for non-existing hook method 2022-01-21 16:46:56 -05:00
Ryan Cramer
bccd8aad5f Bump version to 3.0.193 2022-01-21 16:46:28 -05:00
Ryan Cramer
5e11b28587 Fix issue processwire/processwire-issues#1507 2022-01-21 13:23:10 -05:00
Ryan Cramer
39f9cf42f2 Add the following new hooks to $templates, $fields and $fieldgroups: renameReady($item, $oldName, $newName); renamed($item, $oldName, $newName); Added the following new hooks to $fieldgroups: fieldAdded($fieldgroup, $field); fieldRemoved($fieldgroup, $field); Make template selectable for Page fields in InputfieldSelector, plus other minor updates. 2022-01-21 12:21:05 -05:00
Ryan Cramer
a7a4055632 Update ProcessModule to have a raw/JSON module configuration data editor and a raw/JSON info viewer. These options are available in $config->advanced=true; mode in the "Module Information" table that appears when viewing/editing a module in ProcessModule. 2022-01-21 10:19:58 -05:00
Ryan Cramer
43c27b103a Fix issue processwire/processwire-issues#1506 2022-01-20 12:03:28 -05:00
Ryan Cramer
2818aecb96 Fix issue processwire/processwire-issues#1505 2022-01-17 08:39:43 -05:00
Ryan Cramer
48f3db2b0c Fix issue where findRaw could get error when returning referencs where none existed 2022-01-16 12:43:04 -05:00
Ryan Cramer
883b0ab438 Code improvements and some refactoring of ProcessTemplate module 2022-01-14 13:45:14 -05:00
Ryan Cramer
842ea3df79 Improvements to WireHttp::send() method and update to use CURL first when available (rather than fopen) 2022-01-14 13:43:56 -05:00
Ryan Cramer
3a9416b8f2 Improvements to $pages->findRaw() based on requests. Added support getting "parent.field" and "parent.parent.field", etc. Added support for "references" and "references.field", etc. which returns matches from pages referencing the found pages via page reference fields (optionally include 'references.field' in requested fields list to index references by field name). Added support for FieldtypeOptions fields so that they can now return label, value, id or any of them by adding "your_options_field.label" (for example) in your requested $fields. Added new "flat" option which makes it returned flattened arrays for each page match... when used results are indexed in the same way they are requested, for example a result like [ 'page_field' => [ 'title' => 'Some title' ]] becomes [ 'page_field.title' => 'Some title' ]. Added support for requesting field 'meta' and 'meta.name' which returns Page meta data that you would usually access from $page->meta('name'). A few of these requests came from processwire/processwire-requests#427 2022-01-14 13:34:26 -05:00
Ryan Cramer
fcdaf277ce Additional updates for processwire/processwire-issues#1502 2022-01-12 10:24:08 -05:00
Ryan Cramer
1729e71808 Additional updates for processwire/processwire-issues#1502 2022-01-11 14:57:05 -05:00
Ryan Cramer
6c29350918 Additional updates, additions and fixes to $sanitizer->float(), InputfieldFloat and FieldtypeFloat per processwire/processwire-issues#1502 2022-01-11 09:51:52 -05:00
Ryan Cramer
062f2293d0 Bump version to 3.0.192 2022-01-07 14:18:32 -05:00
Ryan Cramer
38506eb6dc Additional update for processwire/processwire-issues#1502 2022-01-07 14:01:20 -05:00
Ryan Cramer
85e0501988 Update FieldtypeModule to support better selector matching and selector info 2022-01-07 13:43:57 -05:00
Ryan Cramer
acc8c5606d Add new wireLength() function to make up for for reduced flexibility of PHP 8.1+ strlen() 2022-01-07 13:41:34 -05:00
Ryan Cramer
d2e6d5f240 Fix issue processwire/processwire-issues#1501 2022-01-07 13:22:53 -05:00
Ryan Cramer
fc0db2bb22 Fix issue processwire/processwire-issues#1495 2022-01-07 12:58:53 -05:00
Ryan Cramer
6e81c70446 Fix issue processwire/processwire-issues#1502 2022-01-07 11:27:48 -05:00
Ryan Cramer
fff53a694d Fix issue processwire/processwire-issues#1479 2022-01-07 09:49:58 -05:00
Ryan Cramer
6b66fac0cf Fix issue processwire/processwire-issues#1500 2022-01-06 11:53:18 -05:00
Ryan Cramer
5dab38539f Add modification similar to PR #196 - Allow runtime accessors as language tab labels
Co-authored-by: daun <post@philippdaun.net>
2022-01-06 11:41:50 -05:00
Ryan Cramer
6af9f5d1c9 Add PR #204 - Add links to quickly edit a file in other languages
Co-authored-by: MrSnoozles <mrsnoozles@gmail.com>
2022-01-05 13:11:25 -05:00
Ryan Cramer
d1a6e2303d Various minor Inputfield code and phpdoc improvements 2022-01-05 10:08:43 -05:00
Radon8472
49de9483ce Add PR #206 Fix: WireCache output buffer not closed 2022-01-04 11:43:19 -05:00
BernhardBaumrock
8c10a7052a Add PR #208 for support of changing LESS style via PHP 2022-01-04 11:27:06 -05:00
Ryan Cramer
7f79f6c236 Upgrade htmlpurifier to 4.14.0 2022-01-04 07:53:11 -05:00
Ryan Cramer
912c9bb30e Additional updates for processwire/processwire-issues#1467 via @matjazpotocnik 2022-01-03 15:03:33 -05:00
Ryan Cramer
5192b3a922 Fix issue processwire/processwire-issues#1481 2021-12-31 10:47:06 -05:00
Ryan Cramer
ee64e114f2 Add “#[\ReturnTypeWillChange]” comments to all InteratorAggregate, Countable and PDOStatement interface classes to stop PHP 8.1 notices per https://php.watch/versions/8.1/internal-method-return-types and processwire/processwire-issues#1467 ... someday when all PHP 5.x support can be dropped these will be converted to PHP 7.1+ return types 2021-12-31 09:19:09 -05:00
Tyde
bca50abb48 Add PR #205 which fixes processwire/processwire-issues#1488 2021-12-30 14:44:54 -05:00
Ryan Cramer
da43be7d12 Fix issue processwire/processwire-issues#1491 2021-12-30 09:58:40 -05:00
Ryan Cramer
3c983f9b51 Fix issue where adding a new page was broken by commit b47297fd4a 2021-12-28 09:03:59 -05:00
Ryan Cramer
18ae00f485 Bump version to 3.0.191 2021-12-24 11:41:08 -05:00
Ryan Cramer
16f33704fa Add getPage() method back into ProcessPageView 2021-12-24 11:39:34 -05:00
Ryan Cramer
4344df336b Fix issue processwire/processwire-issues#1490 2021-12-24 10:49:22 -05:00
Ryan Cramer
b47297fd4a Small updates/corrections to $pages->newPage(); plus add property equivalents for several $pages API methods 2021-12-24 10:48:15 -05:00
Ryan Cramer
d9d66249de Fix issue processwire/processwire-issues#1493 2021-12-24 09:12:11 -05:00
Ryan Cramer
0d865f78ef Additional installer updates and add support for a /site/install/finish.php file that one can use to automatically apply additional updates to the site once the site profile finishes installing. Example being added to ProcessExportProfile module. 2021-12-22 12:55:14 -05:00
Ryan Cramer
6dee053250 Installer updates to improve profile selection instruction and options. Added a refresh button on profile screen. Added new page at processwire.comw with description of all profiles. Other minor improvements in installer. 2021-12-21 13:02:48 -05:00
Ryan Cramer
fd204c6b01 Remove site profiles: site-classic, site-default, site-beginner, site-languages, site-regular... leaving just site-blank. The other profiles have been moved to their own repos. Also some small updates to site-blank profile just so the template files are slightly more useful if someone doesn't install another. 2021-12-17 13:33:30 -05:00
Ryan Cramer
697158d653 Fix issue processwire/processwire-issues#1485 2021-12-15 13:49:02 -05:00
Ryan Cramer
fa98695f4e Fix issue processwire/processwire-issues#1482 2021-12-10 11:38:53 -05:00
Ryan Cramer
b78741a564 Fix issue processwire/processwire-issues#1483 2021-12-10 10:54:25 -05:00
Ryan Cramer
f4592435aa Add a $pages->new() API method which is similar to $pages->add() in that it creates a new page in the DB, except that the new() method accepts a selector string (or array) rather than the specific arugments if the add() method The new() method can also figure out the appropriate template or parent on its own (if available in family settings). This commit also updates the existing $pages->newPage() method (which creates a new page in memory only) to also accept the same selector string/array as the new() method. These updates are thoroughly phpdoc'd with the methods. 2021-12-10 10:39:26 -05:00