1
0
mirror of https://github.com/processwire/processwire.git synced 2025-09-09 06:10:58 +02:00

2344 Commits

Author SHA1 Message Date
Ryan Cramer
9b79a4bed4 Improvements to code and documentation in InputfieldAsmSelect.module 2020-11-13 08:38:14 -05:00
Ryan Cramer
e7663c7bda Some minor bug fixes in the FieldtypeComments classes and javascript. 2020-11-13 08:24:42 -05:00
Ryan Cramer
c5fb4ee47b Update the $input->url() method to support a pageNum option to modify the page/pagination number used in the returned URL. 2020-11-13 08:23:14 -05:00
Ryan Cramer
5868866fc0 Improved phpdoc in Process class and WireFileTools::send() method 2020-11-13 08:19:28 -05:00
Ryan Cramer
7628d81393 Add a Page::setUnformatted(field, value); method that temporarily turns off output formatting (if it was on), sets known unformatted value, then turns output formatting back on (but only if it was previously on). 2020-11-13 07:54:46 -05:00
Ryan Cramer
84cca8fe82 Update DatabaseQuerySelectFulltext class to support multiple (array-based) field names when used outside PageFinder context. This enables use of field1|field2|field3*=value selectors in some places that didn't previously support it, like $page->page_ref_field_name('selector'); 2020-11-13 07:00:17 -05:00
Ryan Cramer
e6dde560d4 Bump version to 3.0.168 2020-10-23 14:08:35 -04:00
Ryan Cramer
993b6672be Fix issue processwire/processwire-issues#1237 2020-10-23 11:45:40 -04:00
Ryan Cramer
adba0da89e Fix issue processwire/processwire-issues#1263 2020-10-23 11:27:42 -04:00
Ryan Cramer
10f465e3eb Fix issue processwire/processwire-issues#1258 2020-10-23 11:12:15 -04:00
Ryan Cramer
09bd61f91d Fix issue processwire/processwire-issues#1260 2020-10-19 09:45:33 -04:00
Ryan Cramer
a5cea5660d Fix issue processwire/processwire-issues#1261 2020-10-19 09:24:57 -04:00
Ryan Cramer
3782b6c7ae Fix issue where '~=' word matches with words containing underscore '_' weren't working due to change made in 3.0.167 2020-10-18 09:29:02 -04:00
Ryan Cramer
4b84c82529 Improvements to the text searching operators (for $pages->find, etc.) to support better matching of words with apostrophes and similar, plus improve the way that word boundaries are detected when secondary rlike queries are added to fulltext index queries. 2020-10-09 13:32:27 -04:00
Ryan Cramer
f855ebf170 Add 'keepApostrophe' option to $sanitizer->wordsArray() 2020-10-09 13:30:27 -04:00
Ryan Cramer
60853ceda7 Minor improvement to inputfields.js 2020-10-09 13:29:40 -04:00
Ryan Cramer
8dbfd4cca2 Update ProcessLogin to have better support for remembering requested URL prior to and after login. It now supports query strings beyond just "?id=123". 2020-10-02 12:17:26 -04:00
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