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

2927 Commits

Author SHA1 Message Date
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
9c2c5e986e Various minor theme updates 2020-07-10 12:32:08 -04:00
Ryan Cramer
f7879126da Attempt fix for issue mentioned by @Rayden in processwire/processwire-issues#1207 2020-07-09 11:06:19 -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
6acb8028e3 Update JqueryCore so that setting $config->debug = 'dev'; makes it use a newer jQuery version and with jquery-migrate enabled. 2020-07-03 16:11:57 -04:00
Ryan Cramer
9389d4abdc Update lots of core .js files to update and replace deprecated jQuery calls 2020-07-03 16:02:07 -04:00
Ryan Cramer
598c702e1e Update InputfieldSelector to support new text search operators 2020-07-03 15:52:32 -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
Ryan Cramer
e4d534747a Continued improvements to DatabaseQuerySelectFulltext class, especially to improve quality of results on query expansion operators 2020-07-03 15:42:25 -04:00
Ryan Cramer
10541997d4 Update WireTextTools with 2 new methods: getWordAlternates() and findReplaceEscapeChars() 2020-07-03 15:40:36 -04:00
Ryan Cramer
d53e2ef323 Bump version to 3.0.161 2020-06-26 15:49:42 -04:00
Ryan Cramer
4276a5d917 Update PageFinder to support altOperators in selectors. This enables you to use more than one operator in a selector. For example, if you wanted to first try to find pages matching a phrase (*=), and if it doesn't find any, fallback to find pages matching words (~=), you can just append the two opers together. i.e. "field*=~=value". This works for any operator combinations and you can stack as many as you need. 2020-06-26 09:43:43 -04:00
Ryan Cramer
ade079dea7 Continued refactoring and improvements to DatabaseQuerySelectFulltext class 2020-06-26 09:43:18 -04:00
Ryan Cramer
d69724123d Update to $sanitizer->wordsArray() method, plus minor updates to $sanitizer->selectorValue() method 2020-06-26 09:41:57 -04:00
Ryan Cramer
ac18dad59c Update Selectors class to support altOperators (alternate fallback operators for when first does not match) 2020-06-26 09:41:17 -04:00
Ryan Cramer
26710f262e Minor updates to Tfa class 2020-06-26 09:39:41 -04:00
Ryan Cramer
735c118910 Update ProcessProfile so that Tfa class can add hooks when needed 2020-06-26 09:38:49 -04:00
Ryan Cramer
f4642e5fd3 Improvements to SelectorContainsAdvanced class, add support for altOperators property to Selector class, add new copyTo() method to Selector class. 2020-06-26 09:37:54 -04:00
Ryan Cramer
133ea5b222 Update for processwire/processwire-issues#1198 2020-06-25 07:14:49 -04:00
Ryan Cramer
a2884184e1 Attempt fix for issue processwire/processwire-issues#1198 2020-06-25 07:09:51 -04:00
Ryan Cramer
0d1031582a Bump version to 3.0.160 2020-06-19 16:56:28 -04:00
Ryan Cramer
7efb9e8a4b Minor updates Selector, Selectors, Sanitizer 2020-06-19 12:59:39 -04:00
Ryan Cramer
c9c06f833a Add several new text-matching Selector classes and also some refactoring in main Selectors class 2020-06-19 12:48:18 -04:00
Ryan Cramer
1f293cc4f4 Add new $sanitizer->flatArray() and $sanitizer->wordsArray() methods, plus some improvements to existing array() method 2020-06-19 12:42:14 -04:00
Ryan Cramer
d79d9286b1 Various minor updates. Plus add a $database->isStopword() method and improve error logging in WireDatabasePDOStatement 2020-06-19 12:35:21 -04:00
Ryan Cramer
32e031ab7d Fix issue processwire/processwire-issues#1196 2020-06-17 09:08:42 -04:00
Ryan Cramer
857d5556ae Fix issue processwire/processwire-issues#1199 2020-06-17 08:39:13 -04:00
Ryan Cramer
8d7f2d133c Minor adjustment in Tfa class 2020-06-12 15:15:05 -04:00
Ryan Cramer
602ac0e1a5 Minor improvements to WireDatabasePDO. Make requests for ft_min_word_len use InnoDB equivalent when InnoDB engine is active. 2020-06-12 12:50:32 -04:00
Ryan Cramer
8239e0b11e Some refactoring in InputfieldCheckbox.module 2020-06-12 12:49:38 -04:00
Ryan Cramer
d9ed3058db Update ProcessLogin to support configuration of TFA auto-enable (forced two-factor auth). Also requires that TfaEmail module is installed. Can be configured in ProcessLogin module settings. 2020-06-12 12:48:27 -04:00
Ryan Cramer
b0736cf6cb Additional upgrades to Tfa class. Add support for auto-enable (supported by TfaEmail), which enables you as the admin to force users to use 2FA by having it automatically enabled for their account when they attempt login. Add support for Tfa modules to specify translatable name, title and summary (rather than relying upon module info settings). Make all text labels configuration settings. Add additional error checking. Use Inputfields JS API to automatically highlight 2FA config settings when user is going through the setup process. Expand Tfa class to allow for Tfa modules to optionally specify configuration settings for after Tfa is enabled. Add detection for if user’s pass changes between time Tfa code sent and time Tfa code entered. Make minor improvements to user Tfa selection and setup. 2020-06-12 12:41:39 -04:00
Ryan Cramer
c41987d1db Bump version to 3.0.159 2020-06-05 14:52:23 -04:00
Ryan Cramer
d99abac75c Upgrade the two-factor authentication system (Tfa) so that it now supports the ability to fingerprint and remember a user’s browser and other aspects, so that the user doesn't have to re-enter their TFA code on every login (optional). 2020-06-05 13:44:05 -04:00
Ryan Cramer
4c83f401ba Documentation improvements and minor optimizations to base Wire class 2020-06-05 08:28:45 -04:00
Ryan Cramer
855cfd7370 Various minor adjustments, typo and text fixes 2020-06-05 08:15:14 -04:00
Ryan Cramer
fd2fdd91f0 Update the $config->sessionFingerprint option to also support fingerprinting of browser http "accept" header, plus update documentation for this to use bitmask examples rather than predefined numbers. 2020-06-05 08:08:50 -04:00
Ryan Cramer
2de85fab4b Refactoring and documentation improvements to the WireInputDataCookie class which manages the $input->cookie API var. Contained in these updates is also a fix for processwire/processwire-issues#1053 2020-06-05 08:06:27 -04:00
Ryan Cramer
cd4bd7073c Fix formatting on ProcessLogin::getLoginLinks 2020-05-31 17:45:11 -04:00
Ryan Cramer
9b43b4fb96 Fix in DatabaseQuery::getDebugQuery() 2020-05-29 15:41:52 -04:00