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

2594 Commits

Author SHA1 Message Date
Ryan Cramer
96bb90bb2e Update inputfields.js for better error handling and improved reload support 2022-10-06 13:14:55 -04:00
Ryan Cramer
32d7a09cfd Add JS events to InputfieldRepeater: 'repeaterdelete' and 'repeaterundelete' 2022-09-30 12:04:44 -04:00
Ryan Cramer
c1e1cecf93 Minor code updates in FieldtypeOptions and supporting classes 2022-09-30 12:04:03 -04:00
Ryan Cramer
cce5073969 Fix example in InputfieldTextTags for cases where it is used without a Fieldtype 2022-09-30 12:02:53 -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
bd6b63c616 Correct phpdoc for $wire var in site-blank profile 2022-09-30 11:55:09 -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
d6d68d8cc0 Also add memory_limit check to SystemUpdaterChecks (system checks performed after superuser login) related to processwire/processwire-requests#449 2022-09-23 09:45:44 -04:00
Ryan Cramer
ab7c86da21 Add memory_limit check to PW installer per processwire/processwire-requests#449 2022-09-23 09:25:48 -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
matjazpotocnik
f510392e7e Fix issue #1623 2022-09-20 11:20:18 -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
FlipZoomMedia
5fecec74ec Add PR #244 - remember language tabs focus between requests after a double-click on a language tab 2022-09-16 11:46:32 -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
330be8c05a Add PR #230 fix typo in comments of site-blank _init.php template file 2022-09-16 10:42:40 -04:00
pine3ree
a2614b1a46 Add PR #240 fix phpdoc return type in LanguagesPageFieldValue::getLanguageValue() method 2022-09-16 10:31:19 -04:00
dadish
d02efe55f2 Add PR #241 support pages.find() joinFields option for FieldtypeOptions fields 2022-09-16 09:24:34 -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
2d29cf935e Fix issue processwire/processwire-issues#1619 by improving the error message when encountering an unsupported name for a module 2022-09-16 08:57:34 -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
6262fcdff8 Code improvements to ProcessPageEdit module and refactor of change-template form within it. 2022-09-12 09:36:01 -04:00
Ryan Cramer
4aa75a7d17 Update LanguageSupportPageNames module to support fallback to default pagination prefix 'page' when in the admin. This is to resolve an issue in Lister when the default language pagination prefix has been overridden. 2022-09-11 10:12:17 -04:00
Ryan Cramer
818d86feea Minor code updates in ProcessPageListerBookmarks 2022-09-09 14:58:50 -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
cb026ccc4e Improvements to InputfieldForm module, including a new isSubmitted() method for a better way to check form submission, among other minor updates. 2022-09-09 13:49:25 -04:00
Ryan Cramer
94ca2b8e9a Fix issue where repeater family-friendly depth setting wasn't working when depth setting in field config was set to 1. Previously it only worked when depth setting was set to 2 or higher. 2022-09-05 09:24:07 -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
96dae07160 Update to allow for Combo fields within Repeaters to support file/image fields 2022-08-28 10:43:44 -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
866f91424f Fix issue processwire/processwire-issues#1611 where single-language site using multi-language fields in repeaters were not saving 2022-08-26 11:38:39 -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
647c45d454 Adjustments in ProcessPageEditImageSelect 2022-08-19 15:00:58 -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
8303efd303 Fix issue processwire/processwire-issues#1605 2022-08-14 10:09:10 -04:00
Ryan Cramer
9bb55785f8 Add owner selector support in ProcessPageSearch per request and code suggestion 2022-08-12 13:35:00 -04:00
Ryan Cramer
03de771b53 Various minor updates, mostly phpdoc related 2022-08-12 13:34:42 -04:00
Ryan Cramer
93b88c6ec3 Additional updates in InputfieldFile to support CKEditor custom fields in files/images. 2022-08-11 10:25:16 -04:00
Ryan Cramer
8daaedc809 Fix issue processwire/processwire-issues#1603 2022-08-05 12:21:26 -04:00