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

2927 Commits

Author SHA1 Message Date
Ryan Cramer
33cbec49c1 Minor phpdoc adjustment to Fieldtype and FieldtypeMulti classes 2020-10-02 11:58:00 -04:00
Ryan Cramer
96b263fd2e Add 'allowSpace' option to $sanitizer->selectorValue() 2020-10-02 11:57:27 -04:00
Ryan Cramer
337488f117 Refactoring and improvements to ProcessPageView module 2020-10-02 11:56:54 -04:00
Ryan Cramer
45ad9473d2 Fix issue processwire/processwire-issues#1254 2020-10-01 07:58:48 -04:00
Ryan Cramer
0953fdb347 Update $sanitizer->trim() method to support a 3rd argument ($method) where you can specify what direction it should trim from: 'trim' (both), 'ltrim' (left), or 'rtrim' (right). Default is 'trim'. 2020-10-01 07:55:09 -04:00
Ryan Cramer
140ce5fa83 Fix issue processwire/processwire-issues#1253 2020-09-30 14:01:49 -04:00
Ryan Cramer
b77840c14f Bump version to 3.0.167 2020-09-25 15:43:35 -04:00
Ryan Cramer
1f6aa1cf73 Fix issue processwire/processwire-issues#1252 2020-09-25 13:45:08 -04:00
Ryan Cramer
ee8f8e4471 Update WireInput with a a queryStringClean() method that provides a useful alternative to the existing queryString() method 2020-09-25 13:27:02 -04:00
Ryan Cramer
7c2fe8b8db Update $sanitizer array methods to support a 'keySanitizer' option that enables one to also sanitize associative arrays when needed 2020-09-25 13:24:47 -04:00
Ryan Cramer
b8ff50f52d Improvements and optimizations to several text searching operators in DatabaseQuerySelectFulltext. It now includes improved results for searches that include stopwords and short words (words too short for fulltext index). 2020-09-24 13:45:58 -04:00
Ryan Cramer
f2a313723a Update files and images fields with the ability to require FileValidatorModule validation or manually whitelisted extensions, with the first being the svg file extension. 2020-09-24 13:43:26 -04:00
Ryan Cramer
15dc362ba5 Add a $files->fileGetContents() method to accompany existing filePutContents() method 2020-09-24 13:40:30 -04:00
Ryan Cramer
5ea913f79d Refactor and improvements to $sanitizer->validateFile() method. Also added new options for 'getArray' and 'dryrun'. 2020-09-24 13:39:04 -04:00
Ryan Cramer
17d7828ac3 Fix issue processwire/processwire-issues#1247 2020-09-22 10:59:06 -04:00
Ryan Cramer
03ea0ea60d Update FieldtypeOptions to implement the Fieldtype::getMatchQuerySort() method. This should also add support for at least some of what was requested in processwire/processwire-issues#1231 2020-09-18 14:33:05 -04:00
Ryan Cramer
8a4b58652b Update ProcessPageEdit and ProcessPageList to implement the getAfterLoginUrl() method 2020-09-18 14:32:15 -04:00
Ryan Cramer
20f8a1ea14 Update ProcessField and ProcessModule to implement the getAfterLoginUrl() method 2020-09-18 14:31:44 -04:00
Ryan Cramer
d5146337de Update Config class to auto-generate a tableSalt when one is not available from the static configuration 2020-09-18 14:30:03 -04:00
Ryan Cramer
8eee7a509f Update Process module interface for a new getAfterLoginUrl() method that Process modules can optionally implement to sanitize a requested URL to the module when the user is not logged in. This lets things like query strings and URL segments be retained after a user logs-in. 2020-09-18 14:28:28 -04:00
Ryan Cramer
a751edf51b Update PageFinder and Fieldtype interface so that Fieldtype modules can optionally take over sorting of their own fields/subfields in PageFinder searches. 2020-09-18 14:27:02 -04:00
Ryan Cramer
ee4c46a442 Fix issue processwire/processwire-issues#1239 2020-09-15 07:31:30 -04:00
Ryan Cramer
febbb97aba Add @MoritzLost PR #179 which has various improvements for the WireHttp::sendCURL() method 2020-09-14 10:58:26 -04:00
Ryan Cramer
956ad5e201 Add support for custom LanguagePage classes per feature request in processwire/processwire-issues#1246 2020-09-14 09:48:21 -04:00
Ryan Cramer
6cc5da1e45 Fix issue processwire/processwire-issues#1243 plus some other optimizations in PageFinder 2020-09-14 09:03:45 -04:00
Ryan Cramer
9057ed25e4 Bump version to 3.0.166 2020-09-11 16:18:09 -04:00
Ryan Cramer
7a2ff6c15d Update SessionHandlerDB module to have configurable session lock seconds, and to also send an http code 429 "too many requests" error with retry seconds when DB session lock can't be achieved. 2020-09-11 14:26:28 -04:00
Ryan Cramer
2ed6494494 Update Session API var to add a $session->sessionHandler() method that returns an instance to the current WireSessionHandler instance, or null if using PHP file-based sessions. 2020-09-11 14:23:16 -04:00
Ryan Cramer
2e81d39275 Fix issue processwire/processwire-issues#1240 2020-09-11 14:22:06 -04:00
Ryan Cramer
f26ee062b7 Update $database API var to have new methods: getVersion() and getRegexEngine() 2020-09-11 14:21:11 -04:00
Ryan Cramer
e407fb9f04 Fix issue processwire/processwire-issues#1241 2020-09-11 10:46:21 -04:00
Ryan Cramer
aaa7ff2994 Improvements to Session class ($session API var) redirect method and addition of $session->location('url'); method which is the same as redirect but with 302 (temporary) redirect implied rather than 301 (permanent). 2020-09-11 08:34:28 -04:00
Ryan Cramer
f8d9309c27 Some refactoring and improvements to WireShutdown class 2020-09-11 08:33:09 -04:00
Ryan Cramer
7d71eac1bc Various minor updates 2020-09-10 09:34:37 -04:00
Ryan Cramer
df16ad5ae4 Update asmSelect so that it supports <select multiple> rather than just <select multiple=multiple> 2020-09-10 09:24:02 -04:00
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
575fc9acf8 Add a FieldtypeFile::getPagefile() method 2020-08-27 15:31:38 -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 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
03503075c1 Minor code updates to FieldtypeEmail and InputfieldEmail 2020-08-20 10:24:18 -04:00
Ryan Cramer
f95705dde4 Minor code updates to Checkbox Fieldtype and Inputfield 2020-08-20 10:23:12 -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