Ryan Cramer
|
32f068c5ea
|
Minor improvements to WireShutdown fatal error reporting, plus prevent some fatal errors from rendering twice and start converting some Exception only handlers to also accept Throwable (for PHP 7.x \Error or \Exception).
|
2020-02-21 11:28:45 -05:00 |
|
Ryan Cramer
|
695dd79db6
|
Add support for $config->imageSizes setting which lets you name and predefine image sizes/options that you can later refer to by name on any $image->size() call (via the width argument).
|
2020-02-21 11:23:02 -05:00 |
|
Ryan Cramer
|
34cc4e9b0f
|
Add support for retaining abandoned translations in __('text') calls. This enables you to change the value in __('text') _x('text', 'context') , $this->_('text') , etc. calls without abandoning the existing translation. To use, specify bracket PHP array syntax with 2 or more phrases you'll accept translations for, rather than automatically abandoning them. This is useful in cases where you need to change the text, but do not want to automatically lose any existing translations. For example, the call: __(['new text', 'old text']); will use a translation for 'old text' if 'new text' has not yet been translated. In the admin translation tools, it identifies these as "fallback" translations. See phpdoc notes in __() function for more details.
|
2020-02-14 15:36:40 -05:00 |
|
Ryan Cramer
|
d154a8de28
|
Minor fixes in WireArray, PaginatedArray and CommentStars classes
|
2020-02-14 14:49:59 -05:00 |
|
Ryan Cramer
|
93f422a2cf
|
Update inputfields.js so that you can specify #find-fieldName as a URL fragment on pages containing an InputfieldForm and it will locate and highlight the field identified by fieldName. Also update $page->editUrl() function to accept a field name to find in the page editor, which uses the inputfields.js #find-fieldName added in this commit, i.e. $page->editUrl('body');
|
2020-02-14 14:45:50 -05:00 |
|
Ryan Cramer
|
0e045ad45d
|
Add new $field->editUrl() method
|
2020-02-14 14:43:55 -05:00 |
|
Ryan Cramer
|
032df04fe1
|
Bump version to 3.0.150
|
2020-02-07 13:42:02 -05:00 |
|
Ryan Cramer
|
687ea08633
|
Add new FieldsTableTools class as a helper for managing field tables and their indexes. Intended for non-public API (internal core) use, but methods can be accessed $fields->tableTools()
|
2020-01-31 11:25:08 -05:00 |
|
Ryan Cramer
|
92ef3bbbc3
|
Update RepeaterPage class for secondary detection of 'forField' when page exists in unexpected location
|
2020-01-31 11:19:55 -05:00 |
|
Ryan Cramer
|
1c3ba1024f
|
Update WireException class to support setting message and code
|
2020-01-31 11:15:47 -05:00 |
|
Ryan Cramer
|
b7dfe9da1e
|
Add Fieldtype::isDeleteValue() method to isolate that particular logic outside of savePageField() method so it can more easily be overridden
|
2020-01-29 06:00:00 -05:00 |
|
Ryan Cramer
|
20be0c7fd5
|
Improvements to PageComparison is() and if() methods, minor optimization in WireData, and minor phpdoc fix in WireCache
|
2020-01-24 10:47:07 -05:00 |
|
Ryan Cramer
|
045f69d96d
|
Add wireClassNamespace() function to accopmany existing wireClassName() function and others. Also improve wireEmpty() function to recognize objects that can be cast to empty strings.
|
2020-01-24 10:01:32 -05:00 |
|
Ryan Cramer
|
85c9e4f329
|
Fix issue processwire/processwire-issues#1067
|
2020-01-20 07:01:01 -05:00 |
|
Ryan Cramer
|
e2ace10dbc
|
Bump version to 3.0.149 dev
|
2020-01-17 15:37:48 -05:00 |
|
Ryan Cramer
|
d68b8267b1
|
Various improvements to ProcessWire's $notices API var (Notices and Notice classes)
|
2020-01-17 11:35:01 -05:00 |
|
Ryan Cramer
|
11ed423bca
|
Fix issue processwire/processwire-issues#1061
|
2020-01-13 14:24:44 -05:00 |
|
Ryan Cramer
|
b8dcdb7758
|
Fix issue in User::editUrl() where it wasn't passing $options array to parent call
|
2020-01-13 08:49:30 -05:00 |
|
Ryan Cramer
|
0a1ec95a33
|
Update wireEmpty() function so that it also returns false when giving a NullPage or NullField object. Add WireNull interface for future Null objects.
|
2020-01-13 08:48:06 -05:00 |
|
Ryan Cramer
|
51629cdd5f
|
Bump version to 3.0.148
|
2020-01-02 12:06:16 -05:00 |
|
Ryan Cramer
|
22808c316f
|
Add a few to-do code snippets, comments and notes for 3.0.150+ (next dev branch after master merge)
|
2019-12-31 14:22:33 -05:00 |
|
Ryan Cramer
|
7d4ef4b786
|
Add WireLog::disable() and WireLog::enable() functions to temporary disable (and later enable) a log during runtime
|
2019-12-27 15:55:08 -05:00 |
|
Ryan Cramer
|
deb2065465
|
Add support for a 'type' option in wireBytesStr() function, enabling you to force return value in bytes, mb, kb, gb rather than auto-detected.
|
2019-12-27 15:52:06 -05:00 |
|
Ryan Cramer
|
4bcb824e9b
|
Fix issue processwire/processwire-issues#1057
|
2019-12-27 13:35:00 -05:00 |
|
Ryan Cramer
|
9a9bdb464a
|
Minor tweaks in WireHooks, ProcessForgotPassword and SessionLoginThrottle
|
2019-12-20 15:06:57 -05:00 |
|
Ryan Cramer
|
a11403b913
|
Fix issue processwire/processwire-issues#1047
|
2019-12-20 12:31:06 -05:00 |
|
Ryan Cramer
|
9b624b6602
|
Bump version to 3.0.147
|
2019-12-06 14:14:45 -05:00 |
|
Ryan Cramer
|
103adbc0e1
|
Fix issue processwire/processwire-issues#1046
|
2019-12-06 14:05:45 -05:00 |
|
Ryan Cramer
|
8e91a05fd1
|
Fix issue processwire/processwire-issues#1043
|
2019-12-06 13:51:49 -05:00 |
|
Ryan Cramer
|
a6e3626992
|
phpdoc typo fixes per processwire/processwire-issues#797
|
2019-12-03 11:11:19 -05:00 |
|
Ryan Cramer
|
b5aca0e964
|
Fix issue processwire/processwire-issues#1042
|
2019-12-03 10:51:42 -05:00 |
|
Ryan Cramer
|
3717224a5c
|
Fix issue processwire/processwire-issues#1041
|
2019-12-03 10:44:23 -05:00 |
|
Ryan Cramer
|
346218a524
|
Various minor updates
|
2019-12-03 08:40:08 -05:00 |
|
Ryan Cramer
|
fd89b7cebd
|
Bump version to 3.0.146
|
2019-11-22 14:12:51 -05:00 |
|
Ryan Cramer
|
72713948fa
|
Some minor improvements to the Tfa class
|
2019-11-22 14:06:25 -05:00 |
|
Ryan Cramer
|
8455e497b7
|
Various unrelated minor updates to numerous classes/files (phpdoc, typo fixes, and related)
|
2019-11-21 11:25:58 -05:00 |
|
Ryan Cramer
|
4f054c3c19
|
Fix issue processwire/processwire-issues#1035
|
2019-11-20 10:08:28 -05:00 |
|
Ryan Cramer
|
cf03946633
|
Fix issue processwire/processwire-issues#1033
|
2019-11-20 06:10:21 -05:00 |
|
Ryan Cramer
|
e296542640
|
Remove phpdoc sort property for Pagefile/Pageimage per processwire/processwire-issues#1034
|
2019-11-20 05:38:43 -05:00 |
|
Ryan Cramer
|
8c5d3aff72
|
Accompanies previous commit (forgot to include this file) processwire/processwire-issues#1032
|
2019-11-15 15:15:12 -05:00 |
|
Ryan Cramer
|
8d82308c4c
|
Add support for feature request issue processwire/processwire-issues#1032
|
2019-11-15 15:14:15 -05:00 |
|
Ryan Cramer
|
7a41ffb089
|
Update $pages->touch() method to support specifying date type to update 'modified', 'created' or 'published'. Add $pages->editor()->addStatus(), removeStatus() and saveStatus() methods as simpler alternatives to the existing savePageStatus()
|
2019-11-15 14:40:57 -05:00 |
|
Ryan Cramer
|
00635bf01d
|
Minor updates, phpdoc tweaks and such
|
2019-11-15 14:35:15 -05:00 |
|
Ryan Cramer
|
595429d425
|
Add a minimumAge config setting for PagePathHistory module per processwire/processwire-issues#1014 and add an option for throwing a 404 while still allowing PagePathHistory to perform redirects (if it has any). Also add a function: wire404(); that you can call for this, in addition to: throw new Wire404Exception(true);
|
2019-11-12 12:06:08 -05:00 |
|
Ryan Cramer
|
4eeca2eeeb
|
Add ability for PageFinder and PagesLoader to retain additional info about selectors and PageFinder instance for debugging purposes
|
2019-11-12 11:07:39 -05:00 |
|
Ryan Cramer
|
0478c65938
|
Improvements to $modules->findByPrefix() method
|
2019-11-12 11:06:46 -05:00 |
|
Ryan Cramer
|
bbddcf1ca0
|
Add support for Fieldtypes to specify that a Field should use a custom class that extends the Field class, rather than always using the "Field" class.
|
2019-11-12 11:06:02 -05:00 |
|
Ryan Cramer
|
4e4b3afdcb
|
Bump version to 3.0.145
|
2019-11-08 13:57:50 -05:00 |
|
Ryan Cramer
|
b972aab11b
|
Various minor pending updates and optimiations to several classes
|
2019-11-08 10:29:58 -05:00 |
|
Ryan Cramer
|
dd87518987
|
Minor adjustments to various classes
|
2019-11-06 15:18:41 -05:00 |
|