Ryan Cramer
|
16fd4d4ab7
|
Updates to PageProperties class. This was meant to be included in the previous commit resolving processwire/processwire-issues#1359
|
2021-03-30 08:05:14 -04:00 |
|
Ryan Cramer
|
e68f4c2de6
|
Fix issue processwire/processwire-issues#1359 plus some additional Page class optimization
|
2021-03-29 10:14:12 -04:00 |
|
Ryan Cramer
|
f98d25b83c
|
Move DB "MySQL server has gone away" retry logic from WireDatabasePDO into DatabaseQuery, per processwire/processwire-issues#1302
|
2021-03-29 08:38:56 -04:00 |
|
Ryan Cramer
|
84d7ea797e
|
Add some runtime request matching methods (requestUrl, requestPath, requestMethod) to Config that can be used in /site/config.php, prior to $input being available.
|
2021-03-26 09:00:04 -04:00 |
|
Ryan Cramer
|
c84bf5bd46
|
Fix issue processwire/processwire-issues#1325
|
2021-03-23 07:19:53 -04:00 |
|
Ryan Cramer
|
a475430031
|
Fix issue processwire/processwire-issues#1292
|
2021-03-19 15:14:25 -04:00 |
|
Ryan Cramer
|
0dc408a8dd
|
Fix issue processwire/processwire-issues#1311
|
2021-03-19 14:31:07 -04:00 |
|
Ryan Cramer
|
cd533062d7
|
Fix issue processwire/processwire-issues#1319
|
2021-03-19 14:10:45 -04:00 |
|
Ryan Cramer
|
a9b8d37c58
|
Update FieldtypePage.getMatchQuery to inherit "include=" and "check_access=0" settings from PageFinder that called upon it. Update PageFinder to support this kind of communication with Fieldtypes.
|
2021-03-19 14:05:42 -04:00 |
|
Ryan Cramer
|
d0b404b752
|
Fix issue processwire/processwire-issues#1326
|
2021-03-19 11:40:07 -04:00 |
|
Ryan Cramer
|
3146b5c6c8
|
Fix issue processwire/processwire-issues#1332
|
2021-03-19 10:55:39 -04:00 |
|
Ryan Cramer
|
60cc947770
|
Fix issue processwire/processwire-issues#1334
|
2021-03-19 10:47:16 -04:00 |
|
Ryan Cramer
|
be10a6ce7e
|
Fix issue processwire/processwire-issues#1352
|
2021-03-19 09:28:34 -04:00 |
|
Ryan Cramer
|
c77f2f0d63
|
Bump version to 3.0.174
|
2021-03-12 15:28:25 -05:00 |
|
Ryan Cramer
|
6fd72fc804
|
Optimizations to path hooks pre-filtering in WireHooks class.
|
2021-03-12 09:28:28 -05:00 |
|
Ryan Cramer
|
a24d09b8d0
|
Updated $pages->findRaw() to have new 'objects' and 'entities' options. The objects option makes it return StdClass objects to represent pages and other data rather than associative arrays (requested by @adrianbj). The entities option makes it entity-encode string values in case you are using findRaw() values for HTML output purposes.
|
2021-03-11 13:10:45 -05:00 |
|
Ryan Cramer
|
7cb11850e8
|
Add new Selectors::selectorHasField() selector helper optimization method
|
2021-03-11 11:48:43 -05:00 |
|
Ryan Cramer
|
6b153794c8
|
Upgrade path hooks with 1) pagination support; and 2) the ability to handle requests triggered by 404s thrown from template files. To support pagination, just append "{pageNum}" to your URL to match and it will take care of setting the $input->pageNum() and calling your hook. Example: $wire->addHook('/foo/bar/{pageNum}', function($event) { ... }); To handle requests triggered by 404s a template file, you don't need to do anything extra, as it will take care of calling your path hook(s) automatically should the requested page URL match the one added by your hook.
|
2021-03-11 11:43:27 -05:00 |
|
Ryan Cramer
|
30dac48646
|
Add support for getting 'url' and/or 'path' via $pages->findRaw(). Requires that the core PagePaths module is installed.
|
2021-03-08 12:43:41 -05:00 |
|
Ryan Cramer
|
c0ffd35b7d
|
Update the new path hooks to support $wire->addHook('/foo/{bar}/baz', ...) where {bar} would match any segment and populate it to a $bar variable on the HookEvent. Plus add enforced trailing slash vs. non-trailing slash with redirect, depending on whether your match pattern uses a trailing slash.
|
2021-03-08 10:10:26 -05:00 |
|
Ryan Cramer
|
cb9030a6ff
|
Add support for matching empty/not-empty to DatabaseQuerySelectFulltext match features
|
2021-03-07 11:10:48 -05:00 |
|
Ryan Cramer
|
5a0a5f24cf
|
Bump version to 3.0.173
|
2021-03-05 15:59:30 -05:00 |
|
Ryan Cramer
|
652a8a58e3
|
Update WireHooks ($hooks API var) to support path hooks
|
2021-03-05 15:12:23 -05:00 |
|
Ryan Cramer
|
94e71209b3
|
Update HookEvent class to support named arguments directly from $event object
|
2021-03-05 15:12:06 -05:00 |
|
Ryan Cramer
|
8718940b5d
|
Add support for starting/stopping debug mode DB query logging, enabling you to focus in on logging queries in between specific calls
|
2021-02-26 14:01:17 -05:00 |
|
Ryan Cramer
|
49b9932ab6
|
Add support for filtered or paginated load of page reference fields per processwire/processwire-requests#13 ... note that paginated/filered save is not yet supported
|
2021-02-26 11:47:00 -05:00 |
|
Ryan Cramer
|
755c9c5ad8
|
Add processwire/processwire-requests#241 to make user info and roles available to PW's admin JS config (ProcessWire.config), plus some related improvements
|
2021-02-26 10:46:33 -05:00 |
|
Ryan Cramer
|
ba2edc94cc
|
Update $config API to have $config->jsConfig() method for JS-exclusive config settings. Different from $config->js() in that the data is completely independent of PHP config.
|
2021-02-26 10:31:31 -05:00 |
|
Ryan Cramer
|
1244b4bd48
|
Update wireMail fallback from email settings with 2nd check in case 3rd party module made default blank, plus update auto-detect from email logic in ProcessForgotPassword so it can't override configured wireMail settings with config.adminEmail
|
2021-02-19 14:56:06 -05:00 |
|
Ryan Cramer
|
c4d301a405
|
Add support for "preload" modules that load before all other modules, including core modules. This is primarily intended for @adrianbj Tracy Debugger per processwire/processwire-requests#165
|
2021-02-19 11:24:35 -05:00 |
|
Ryan Cramer
|
199859b6ff
|
Add support for specifying "field=foo|bar|baz" in selector to $pages->findRaw(), like you can with $pages->find(). This is an alternative to using the separate field argument. Also begin support for adding parent properties, but there is more work to be done there before they are supported.
|
2021-02-12 15:29:29 -05:00 |
|
Ryan Cramer
|
861d7163f6
|
Add WireShutdown::fatalError() hookable method to enable hooking fatal errors
|
2021-02-12 10:10:58 -05:00 |
|
Ryan Cramer
|
4406086241
|
Fix issue with $page->setForced() not populating $settings array when it should (interfered with new findJoin functions)
|
2021-02-07 08:15:18 -05:00 |
|
Ryan Cramer
|
5a2c4c2014
|
Bump version to 3.0.172
|
2021-02-05 16:21:13 -05:00 |
|
Ryan Cramer
|
7fe8e5f1fb
|
Add new $pages->findJoin() method and $pages->find("selector, field=title|summary"); option that lets you specify which fields to autojoin in a page finding operation. Also added is an experimental PagesLoader::findMin() method that finds and loads pages in one query rather than splitting them out into separate find() and getById() calls. For now, we just use this method to handle the findJoin() and joinFields options, but may expand its use later. This commit also contains numerous performance optimizations to the Page class, and several updates to the PageFinder class to support the new autojoin options.
|
2021-02-05 11:28:48 -05:00 |
|
Ryan Cramer
|
4ea5d7a631
|
A couple of new convenience methods added to InputfieldWrapper
|
2021-02-05 10:36:03 -05:00 |
|
Ryan Cramer
|
80593fb643
|
Add new API methods: $pages->findRaw(), $pages->getRaw(), and $pages->getFresh()
|
2021-01-29 15:05:40 -05:00 |
|
Ryan Cramer
|
3de5d4d2a6
|
Add a getFresh() method to PagesLoader and improve cache detection for the get() method
|
2021-01-29 15:04:44 -05:00 |
|
Ryan Cramer
|
45e130202b
|
Some updates in Modules class to improve refresh reporting
|
2021-01-29 15:04:03 -05:00 |
|
Ryan Cramer
|
2557929f08
|
Minor hooks optimization in Wire class
|
2021-01-27 14:54:08 -05:00 |
|
Ryan Cramer
|
b8d3a4c207
|
Bump version to 3.0.171
|
2021-01-22 15:14:21 -05:00 |
|
Ryan Cramer
|
0c0fb16e4d
|
Fix issue processwire/processwire-issues#1299
|
2021-01-22 14:18:17 -05:00 |
|
Ryan Cramer
|
9271e8d846
|
Add a getString option to the $sanitizer->float() method
|
2021-01-22 14:14:46 -05:00 |
|
Ryan Cramer
|
0bddf640db
|
Add a new Fieldtype::savedField interface method so that Fieldtypes can monitor when a field of their type has been saved, without having to attach a hook
|
2021-01-22 14:12:58 -05:00 |
|
Ryan Cramer
|
a7d0ec1c91
|
Fix issue processwire/processwire-issues#919 (WireCache/JSON)
|
2021-01-12 07:02:42 -05:00 |
|
Ryan Cramer
|
3370e10802
|
Updates to make AdminThemeUikit easier to extend with an AdminThemeUikit descending module
|
2021-01-06 10:55:30 -05:00 |
|
Ryan Cramer
|
ea00f4b940
|
Bump version to 3.0.170
|
2021-01-01 16:29:25 -05:00 |
|
Ryan Cramer
|
43cfdd9dfe
|
Add new $templates->add() and $templates->rename() API methods
|
2020-12-31 15:54:30 -05:00 |
|
Ryan Cramer
|
880ed9511d
|
Add a Template::editUrl() method
|
2020-12-31 15:54:06 -05:00 |
|
Ryan Cramer
|
1d990a604e
|
Make $modules->getModule($moduleName) be non-case-sensitive for $moduleName. Plus minor updates to Fieldtypes API var and ProcessTemplate module.
|
2020-12-31 09:05:59 -05:00 |
|