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

1598 Commits

Author SHA1 Message Date
Ryan Cramer
9c3d03c4a1 Various minor updates 2022-11-25 14:27:36 -05:00
Ryan Cramer
9bb9d71729 Update $sanitizer->email() method to add IDN, UTF-8, ASCII, and DNS support options. Also updates for processwire/processwire-issues#1647 2022-11-24 10:58:15 -05:00
Ryan Cramer
3e9d8e95da Fix issue processwire/processwire-issues#1648 2022-11-23 12:07:31 -05:00
Ryan Cramer
b0d5f14a27 Fixes for processwire/processwire-issues#1467 2022-11-18 12:42:02 -05:00
Ryan Cramer
2aedd2b6f5 Docs typo fixes per processwire/processwire-issues#797 2022-11-18 12:17:23 -05:00
Ryan Cramer
880ead3521 Bump version to 3.0.207 2022-11-11 14:06:16 -05:00
Ryan Cramer
ca344c838d Update $templates->delete($template) method to also delete fieldgroup (when not used elsewhere) 2022-11-11 14:04:56 -05:00
Ryan Cramer
eb94a38f75 Minor code updates in PagefilesManager 2022-11-11 13:59:27 -05:00
Ryan Cramer
aa842d8741 Fix issue processwire/processwire-issues#1638 2022-11-10 11:52:59 -05:00
Ryan Cramer
5aa0126b39 Fix issue processwire/processwire-issues#1637
Co-authored-by: BernhardBaumrock <office@baumrock.com>
2022-11-10 11:44:29 -05:00
Ryan Cramer
78c2ca736d Fix issue processwire/processwire-issues#1629 2022-11-10 11:05:05 -05:00
Ryan Cramer
9f39514376 Attempt fix for processwire/processwire-issues#1610 2022-11-10 10:40:53 -05:00
Ryan Cramer
d9bfba5c74 Fix issue processwire/processwire-issues#1630 2022-11-04 15:34:27 -04:00
Ryan Cramer
715f029657 Minor code optimizations in Modules class plus fix processwire/processwire-issues#1634 as mentioned by @Toutouwai 2022-11-04 14:30:51 -04:00
Ryan Cramer
050c9c19c3 Bump version to 3.0.206 2022-10-09 09:30:38 -04:00
Ryan Cramer
47f24e6ff0 Add allowProcessInput() hook to InputfieldWrapper class. This enables hooks to control whether a given Inputfield can be excluded from input processing at runtime 2022-10-06 13:21:09 -04:00
Ryan Cramer
5d86dc8dec Add support for a $page->getPageListLabel(); method which enables custom page classes to return custom markup for the page's label in the page-list. 2022-09-30 12:01:46 -04:00
Ryan Cramer
127ef175b7 Add support for $items[] = $item; append syntax to WireArray/PageArray 2022-09-30 12:00:02 -04:00
Ryan Cramer
a3e67b299b Add support for a data-field-name attribute on Inputfields that use names that differ from the relevant field name (likes inputfields in repeaters). This makes the source field discoverable from JS in cases where it previously wasn't. 2022-09-30 11:57:08 -04:00
Ryan Cramer
b87566d0b3 Minor code improvements and housekeeping for various core classes and modules 2022-09-23 11:19:51 -04:00
Ryan Cramer
c3ea89cf03 Add feature request processwire/processwire-requests#457 - support for returning template property values (name template.name, etc) in $pages->findRaw() 2022-09-20 12:20:14 -04:00
Ryan Cramer
df3a603d66 Bump version to 3.0.205, plus additional minor code updates/improvements in multiple classes 2022-09-16 14:08:57 -04:00
Ryan Cramer
8748c72696 Minor code and phpdoc improvements to various core classes 2022-09-16 13:14:54 -04:00
Ryan Cramer
96848654a4 Add PR #228 loop code optimization plus other minor code adjustments in WireFileTools
Co-authored-by: pine3ree <pine3ree@gmail.com>
2022-09-16 10:49:04 -04:00
pine3ree
a2614b1a46 Add PR #240 fix phpdoc return type in LanguagesPageFieldValue::getLanguageValue() method 2022-09-16 10:31:19 -04:00
Ryan Cramer
71e9c50a57 Fix issue processwire/processwire-issues#1618 prevent exif_read_data call on non-jpg images in Pageimage.php 2022-09-16 09:08:43 -04:00
Ryan Cramer
7711418a12 Update admin.php ajax response to populate new argument in ProcessController::jsonMessage() 2022-09-12 11:26:55 -04:00
Ryan Cramer
95bdbf76ba Add a csrf check to the Lister bookmarks form and make markup disallowed by default (with optional argument to enable it) in ProcessController ajax notification response generator (as used by some Lister errors).
Co-authored-by: filipaze <filipaze98@gmail.com>
Co-authored-by: rondons <guilhermetamagnini@gmail.com>
2022-09-12 11:24:05 -04:00
Ryan Cramer
f6558c25ac Minor code improvements in various classes, mostly phpdoc related 2022-09-12 11:15:53 -04:00
Ryan Cramer
a04548a814 Update InputfieldWrapper to have an error method that enables you get get Inputfields having errors rather than just getting error messages. 2022-09-09 13:51:36 -04:00
Ryan Cramer
6ca5eac61b Fix additional issues introduced on Friday in Page and PageValues classes 2022-09-04 10:05:23 -04:00
Ryan Cramer
68badf4658 Fix PagesLoaderCache error that appears when TravyDebugger installed 2022-09-04 09:08:40 -04:00
Ryan Cramer
ad4e359bca Major refactor of base Page class, moving a lot of code into a separate PageValues class, reducing the size of the base Page class. Also added new options for the get() method including full support of dot syntax (regardless of output formatting state) (i.e. "field_name.subfield_name.title") and support for brackets[] to force multi-value (i.e. "field_name[]") , indexes (i.e. field_name[0] to get first item), and bracketed selectors (i.e. "some_multi_value_field[title%=design]") and the ability to combine any of these. 2022-09-02 13:14:35 -04:00
Ryan Cramer
a2da7f1a22 Various minor updates 2022-09-02 13:13:08 -04:00
Ryan Cramer
cbb5133d46 Bump version to 3.0.204 2022-08-26 14:01:35 -04:00
Ryan Cramer
e8219ba71a Additional updates for PHP 8.1+ processwire/processwire-issues#1467 2022-08-26 12:19:06 -04:00
Ryan Cramer
36702d7b57 Upgrades to Inputfield class: new renderFlags option letting you specify that a given Inputfield should render at the top of bottom of its siblings, regardless of its position (like a sticky attribute); new methods to support adding classes to different elements (wrap, header, content, input) in one call via a string (see addClass method phpdoc for details); new ability to configure classes for for those elements interactively in the Inputfield configuration, which can be useful in FormBuilder, LoginRegisterPro, and other instances; various minor code improvements as well. 2022-08-26 10:39:09 -04:00
Ryan Cramer
79cfdd5f38 Minor adjustments in PagesEditor class 2022-08-19 15:00:07 -04:00
Ryan Cramer
38b2dd0732 Minor adjustments and phpdoc updates in Pagefile/Pageimage and related classes 2022-08-19 14:59:41 -04:00
Ryan Cramer
5f0da8067c Minor adjustments and phpdoc updates in Fieldtype and FieldtypeMulti base classes 2022-08-19 14:58:02 -04:00
Ryan Cramer
d0acf570a3 Add FieldtypeHasPagefiles and FieldtypeHasPageimages interfaces and update FieldtypeFile/Image to support them. These interfaces enable a Fieldtype communicate that it manages Pagefile/Pageimage objects and provides a method for retrieving them. 2022-08-19 14:56:36 -04:00
Ryan Cramer
03de771b53 Various minor updates, mostly phpdoc related 2022-08-12 13:34:42 -04:00
Ryan Cramer
8daaedc809 Fix issue processwire/processwire-issues#1603 2022-08-05 12:21:26 -04:00
Ryan Cramer
7fd517dcb4 Add fix for processwire/processwire-issues#1602 using fix provided by @Toutouwai 2022-07-29 12:41:12 -04:00
Ryan Cramer
94babead9d Various minor updates 2022-07-29 11:37:32 -04:00
Ryan Cramer
67d937b081 Add $hookable option to wireMethodExists() function, enabling it to detect cases where the method may exist in a ___hookable() variation 2022-07-29 11:35:04 -04:00
Ryan Cramer
25c110818e Bump version to 3.0.203 2022-07-15 16:08:42 -04:00
Ryan Cramer
69a63c1572 Various minor code and documentation updates 2022-07-15 15:30:08 -04:00
Ryan Cramer
969dc8ebc4 Bump version to 3.0.202 2022-07-08 16:12:47 -04:00
Ryan Cramer
2da2c45382 Additional updates for processwire/processwire-issues#1467 2022-07-08 13:02:33 -04:00