1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-30 10:00:00 +02:00

1973 Commits

Author SHA1 Message Date
Ryan Cramer
903ed3e675 Update FieldtypeText to support custom selection of Inputfield (so long as it implements InputfieldHasTextValue), plus some other minor updates. 2021-04-22 10:42:13 -04:00
Ryan Cramer
54c49f37f8 Add new interfaces for Inputfield modules 2021-04-22 10:33:33 -04:00
Ryan Cramer
e15efa9273 Fix issue processwire/processwire-issues#966 2021-04-19 12:37:55 -04:00
Ryan Cramer
8644ab7b57 Fix issue processwire/processwire-issues#1365 2021-04-19 10:51:47 -04:00
Ryan Cramer
9f1f440b82 Fix issue processwire/processwire-issues#1357 2021-04-19 10:32:23 -04:00
Ryan Cramer
ace2dafb29 Fix issue processwire/processwire-issues#1361 2021-04-19 10:18:59 -04:00
Ryan Cramer
dbfd01a472 Fix issue processwire/processwire-issues#1366 2021-04-19 10:01:40 -04:00
Ryan Cramer
4c50447e61 Add support in AdminThemeFramework for interactively (in module config) converting users to use the admin theme 2021-04-19 09:49:08 -04:00
Ryan Cramer
00bcf2c3f7 Add $users->setAdminThemeByRole() method 2021-04-19 09:48:36 -04:00
Ryan Cramer
7f91cad42f Add support for multiple randomly selected DB readers (config.php file updates) 2021-04-19 09:48:04 -04:00
Ryan Cramer
fb0e7f2ecf Add support for multiple randomly-selected DB readers 2021-04-19 09:47:14 -04:00
Ryan Cramer
22e5e3989e Update ProcessPageEditImageSelect thumbnail list to use field labels to identify when there are multiple images fields on the page from which you can select images to insert 2021-04-16 13:54:14 -04:00
Ryan Cramer
6a04f1f08f Add new 'deletedPage()' hook method in ProcessPageEdit (recently requested by someone) 2021-04-16 10:43:40 -04:00
Ryan Cramer
ce7df80eac Minor code adjustments in ProcessModuleInstall 2021-04-16 10:41:25 -04:00
Ryan Cramer
6c9f3ab547 Fix documentation formatting issue in WireTextTools 2021-04-16 10:39:46 -04:00
Ryan Cramer
f99d20dfa5 Update optional .htaccess for skipping over image files to match request url rather than filename per issue that @Toutouwai mentioned 2021-04-16 10:38:36 -04:00
Ryan Cramer
eb3dd355b0 Minor adjustments 2021-04-09 16:23:31 -04:00
Ryan Cramer
7918780af1 Fix trailing slash redirect issue with path hooks @bernhardbaumrock 2021-04-09 16:22:06 -04:00
Ryan Cramer
c3f07f9460 Bump version to 3.0.175 2021-04-02 16:19:24 -04:00
Ryan Cramer
6fa201c522 Refactor of WireDatabasePDO to add support for separate read-only database connection 2021-04-02 16:18:44 -04:00
Ryan Cramer
d5a85e07ce Fix issue processwire/processwire-issues#1113 2021-03-31 10:51:29 -04:00
Ryan Cramer
4283cafb07 Improvements to the $config->requestUrl(), $config->requestPath() and $config->requestMethod() functions 2021-03-31 10:18:37 -04:00
Ryan Cramer
a16cb528dc Update TemplateFile class with a clearAll() static method and update ProcessPageView to use it when a 404 is thrown. This ensures that a 404 thrown after some output has already been sent can't get interpreted as a non-404 by the client 2021-03-31 10:13:18 -04:00
Ryan Cramer
a3616cebfb Updates to improve WireShutdown class error emails. This should also fix processwire/processwire-issues#1317 2021-03-31 10:12:06 -04:00
Ryan Cramer
31ecc54abf Improvements to FieldtypeComments notifications to improve hookability and allow greater runtime/hook customization for how notification emails are sent. 2021-03-30 08:12:08 -04:00
Ryan Cramer
7f450dedc7 Add $session->hasLoginCookie() method 2021-03-30 08:08:07 -04:00
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
de63b1d079 Upgrade CKEditor version to 4.16.0 2021-03-19 10:33:01 -04:00
Ryan Cramer
964c95474f Fix issue processwire/processwire-issues#1342 2021-03-19 09:42:13 -04:00
Ryan Cramer
be10a6ce7e Fix issue processwire/processwire-issues#1352 2021-03-19 09:28:34 -04:00
Ryan Cramer
2bb6179475 Fix issue processwire/processwire-issues#1350 2021-03-19 09:22:46 -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
6146ba4eb1 Remove ProcessPageEdit CSS rules that no longer appear to be applicable 2021-03-09 11:39:08 -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