1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-12 17:54:44 +02:00

1598 Commits

Author SHA1 Message Date
Ryan Cramer
90ac2c90e9 Fix issue with $sanitizer->truncate() method truncating more than it should sometimes due to entity encoding of punctuation 2020-09-10 09:23:07 -04:00
Ryan Cramer
5fce455fbd Update WireHttp to support server protocol and add new sendStatusHeader() method 2020-09-10 09:20:45 -04:00
Ryan Cramer
868224bcfe Add $config->serverProtocol runtime property 2020-09-10 09:17:55 -04:00
Ryan Cramer
9dc13f977e Add support for $template->pagefileSecure option configured per-template. This also expands upon what $config->pagefileSecure could do before, now supporting the ability to secure Pagefiles even for public pages when appropriate. 2020-08-28 14:56:19 -04:00
Ryan Cramer
853a5cc490 Add new Page::hasFile() method 2020-08-27 15:37:37 -04:00
Ryan Cramer
8dbff5c7bc Fixes for issue processwire/processwire-issues#572 2020-08-27 15:36:13 -04:00
Ryan Cramer
8ac31f7ea0 Update Fieldtypes class ($fieldtypes API var) to have better class phpdoc, helpful in phpstorm 2020-08-27 15:32:19 -04:00
Ryan Cramer
f1b146bb61 Add PagefilesManager::hasFile() method 2020-08-27 15:30:45 -04:00
Ryan Cramer
d8945198f4 Bump version to 3.0.165 2020-08-21 14:38:42 -04:00
Ryan Cramer
1444c8d168 Minor updates and optimizations to PageFinder 2020-08-21 13:38:10 -04:00
Ryan Cramer
0dda488739 Fix issue processwire/processwire-issues#1225 plus some other small upgrades to the FieldsTableTools notices 2020-08-20 10:02:16 -04:00
Ryan Cramer
9e9cc31051 Add Notice::allowMarkdown flag to Notice class, similar to Notice::allowMarkup, but enables support of basic/inline markdown and bracket tags 2020-08-20 09:58:49 -04:00
Ryan Cramer
0409aa5dae Update Sanitizer to isolate entitiesMarkdown() bracket tags logic to isolated method, plus add [br] tag to supported defaults 2020-08-20 09:57:07 -04:00
Ryan Cramer
6f4a76d74e Minor updates, plus update the inputfields.js triggered events (openReady, opened, closeReady, closed) to include the Inputfield element in the event arguments for simpler access to it vs the event.target. 2020-08-14 15:18:05 -04:00
Ryan Cramer
af632b0a4d Add $sanitizer->arrayVal() and $sanitizer->intArrayVal() for more strict/direct array sanitization defaults than the existing array() and intArray() sanitizers. 2020-08-11 07:17:53 -04:00
Ryan Cramer
8b1335accc Fix issue processwire/processwire-issues#1226 2020-08-07 09:32:57 -04:00
Ryan Cramer
a3f64cb4c7 Refactor of WireInput::sanitizeValue(), should also fix processwire/processwire-issues#1224 2020-08-07 09:14:38 -04:00
Ryan Cramer
5aa6b3939f Update $sanitizer->testAll() method with the ability to test all sanitizer method return values and report on any that are misbehaving 2020-08-04 16:21:06 -04:00
Ryan Cramer
b429de71e3 Bump version to 3.0.164 2020-07-31 13:51:05 -04:00
Ryan Cramer
45bf8e2bca Fix issue processwire/processwire-issues#1221 2020-07-31 08:00:31 -04:00
Ryan Cramer
b855b1f6f5 Fix issue processwire/processwire-issues#1136 plus some other minor unrelated adjustments 2020-07-30 15:45:44 -04:00
Ryan Cramer
7503ecd781 Fix issue processwire/processwire-issues#973 2020-07-30 12:04:37 -04:00
Ryan Cramer
c339bd5fd2 Fix issue processwire/processwire-issues#1115 2020-07-28 16:18:13 -04:00
Ryan Cramer
a852f74641 Fix issue processwire/processwire-issues#1219 2020-07-28 14:57:37 -04:00
Ryan Cramer
ff1d63c0d4 Fix issue processwire/processwire-issues#1175 2020-07-27 16:38:53 -04:00
Ryan Cramer
65d9e280ca Bump version to 3.0.163 2020-07-24 15:15:14 -04:00
Ryan Cramer
dd15aa9adb Update ProcessModule so that module installation options are now configurable from new $config->moduleInstall array. Plus update in-module instructions to describe how to install a module manually. 2020-07-24 14:57:30 -04:00
Ryan Cramer
380583a92c Various minor updates 2020-07-24 14:44:39 -04:00
Ryan Cramer
88437e42cc Fix issue processwire/processwire-issues#1216 2020-07-24 14:21:58 -04:00
Ryan Cramer
4b1eefa9d0 Update JqueryWireTabs module to use jquery.cookie.js rather than settings it's own, hopefully to fix issue processwire/processwire-issues#1188 2020-07-24 14:15:59 -04:00
Ryan Cramer
8c5ed3e0b1 Add find() and findOne() methods to WireInputData class, enabling $input->post->find(), $input->get->find(), etc., supporting both wildcards and regex patterns 2020-07-23 16:54:07 -04:00
Ryan Cramer
77d6c0061e Various minor updates 2020-07-23 16:09:54 -04:00
Ryan Cramer
9f368febfc Add support for feature requested in processwire/processwire-issues#1208 2020-07-23 15:58:55 -04:00
Ryan Cramer
bea09627b2 Fix issue processwire/processwire-issues#1214 2020-07-23 12:56:21 -04:00
Ryan Cramer
6a1b6a21ae Add new hooks: Pages::trashReady(), Pages::deleteBranchReady(), Pages::deletedBranch(). The deleteBranch hooks cover the case of recursive deletions where an entire branch of pages is deleted. For those cases, these hooks can be more useful than the regular deleteReady() and deleted() hooks because those two are called for every single page, rather than just for the initiating page. 2020-07-17 14:43:33 -04:00
Ryan Cramer
63a59e2317 Bump version to 3.0.162 2020-07-10 14:32:40 -04:00
Ryan Cramer
74ac0ceb7a Addtion of some Page-specific convenience methods added to PageArray class 2020-07-10 12:56:08 -04:00
Ryan Cramer
0cc2bf4b79 DB query updates in WireSaveableItems class 2020-07-10 12:46:55 -04:00
Ryan Cramer
6f4c21d5b9 Update WireDatabasePDOStatement class so that you can optionally use it even when not in debug mode 2020-07-10 12:45:54 -04:00
Ryan Cramer
8e0f2ed721 Add User::hasTfa() method to quickly identify if user has two-factor authentication enabled. Also added supporting code in Tfa class. 2020-07-10 12:44:16 -04:00
Ryan Cramer
e806cdb044 Add several new Selector compare types useful for runtime identification 2020-07-10 12:42:57 -04:00
Ryan Cramer
f0f37853ca Minor optimization for Page::isLoaded($fieldName) method 2020-07-10 12:41:26 -04:00
Ryan Cramer
f52a0685c2 Update Inputfield phpdoc to include the theme* properties recognized by AdminThemeUikit 2020-07-10 12:40:46 -04:00
Ryan Cramer
a474ffa8f9 Add new convenience method Field::getContext(); 2020-07-10 12:39:57 -04:00
Ryan Cramer
4f98dc974a Minor AdminThemeUikit updates plus move access certain shared admin theme labels into AdminTheme::getLabels() method 2020-07-10 12:34:15 -04:00
Ryan Cramer
f095f4aa77 Fix issue processwire/processwire-issues#1209 2020-07-09 10:46:55 -04:00
Ryan Cramer
5b285ebc8c Various fixes and improvements related to Selectors and the find operators 2020-07-06 14:39:49 -04:00
Ryan Cramer
70f1a7cc8b Add new SelectorContainsAnyWordsExpand operator (~|+=) and update the getDescription() methods for most Selector classes to bring greater consistency and less translation. 2020-07-03 15:48:30 -04:00
Ryan Cramer
803e5c26d3 Add $sanitizer->word() method and upgrade $sanitizer->entitiesMarkdown() method to support escaped characters, making it possible to avoid collisions with basic markdown 2020-07-03 15:46:34 -04:00
Ryan Cramer
09c67d5478 Various minor updates 2020-07-03 15:45:34 -04:00