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

110 Commits

Author SHA1 Message Date
Ryan Cramer
f22739a54c Bump version to 3.0.244 2025-01-10 14:13:34 -05:00
Ryan Cramer
4e678c1584 Various minor updates 2025-01-10 10:27:09 -05:00
Ryan Cramer
4604c09abc More updates for processwire/processwire-issues#2015 2025-01-09 11:44:20 -05:00
Ryan Cramer
870284072c Some more improvements to UTF-8 page names, also related to processwire/processwire-issues#2015 2025-01-08 10:09:39 -05:00
Ryan Cramer
00a6baaac9 Update for processwire/processwire-issues#2015 2025-01-05 10:11:20 -05:00
Ryan Cramer
e6ace73c02 Additional updates for processwire/processwire-issues#2015 2025-01-03 12:43:17 -05:00
Ryan Cramer
4be389067d Fix issue processwire/processwire-issues#2015 2024-12-31 10:59:47 -05:00
Ryan Cramer
1c5f2f7e3c Updates for PHP 8.4 support per processwire/processwire-issues#2000 Also note that these changes require we adjust our minimum required PHP version from 7.0 up to 7.1, with PHP 8.x still recommended. 2024-11-29 13:29:28 -05:00
Ryan Cramer
b2b810f181 Fix issue processwire/processwire-issues#1984 2024-11-01 10:27:29 -04:00
Ryan Cramer
36227dc778 Fix issue processwire/processwire-issues#1948 2024-07-05 11:35:51 -04:00
Ryan Cramer
463dd01e66 Various minor unrelated updates 2023-10-19 10:26:23 -04:00
Ryan Cramer
d61436256e Replace PHP 8.2 deprecated mb_convert_encoding() call in Sanitizer 2023-08-25 08:43:35 -04:00
Ryan Cramer
2349599aa8 Fix issue processwire/processwire-issues#1770 2023-06-29 15:10:43 -04:00
Ryan Cramer
6981e3009e Major refactor of WireCache which now isolates the cache getting/saving/deleting to a separate module/class implementing the WireCacheInterface interface. Eventually this will enable one to modify/replace where and how PW's cache data is stored. For instance, file system, Redis, Memcache, etc. The default class is WireCacheDatabase which stores cache data in the database, as WireCache did prior to this update. 2023-05-19 11:12:49 -04:00
Ryan Cramer
7021347dec Move logic for wireBytesStr() function into WireNumberTools class bytesToStr() method, while also making improvements to the method. Also add a strTobytes() method that does the opposite of bytesToStr. This also incorporates the addition of terabytes support submitted in another PR from @matjazpotocnik. 2023-03-10 13:03:30 -05:00
Ryan Cramer
bd6fe70347 Fix issue processwire/processwire-issues#1699 2023-03-08 10:22:30 -05:00
Ryan Cramer
b155596089 Add 2 new methods to $sanitizer: htmlClass() and htmlClasses(), for sanitizing HTML class attribute values. 2023-02-15 10:26:11 -05:00
JanRomero
15e8a4d0e6 Add PR #236 - Fix sanitizer()->date() outputting NULL for valid but falsey values 2023-01-27 15:37:53 -05:00
Ryan Cramer
474e31b2be Fix issue processwire/processwire-issues#1671 2023-01-26 10:15:34 -05:00
Ryan Cramer
cc43f8e676 Bump version to 3.0.210, plus some minor documentation updates 2023-01-06 13:22:30 -05:00
Ryan Cramer
9bb9d71729 Update $sanitizer->email() method to add IDN, UTF-8, ASCII, and DNS support options. Also updates for processwire/processwire-issues#1647 2022-11-24 10:58:15 -05:00
Ryan Cramer
2aedd2b6f5 Docs typo fixes per processwire/processwire-issues#797 2022-11-18 12:17:23 -05:00
Ryan Cramer
b87566d0b3 Minor code improvements and housekeeping for various core classes and modules 2022-09-23 11:19:51 -04:00
Ryan Cramer
03acb77306 Fix issue processwire/processwire-issues#1595 2022-07-08 12:13:59 -04:00
Ryan Cramer
2e76df1a89 Fix issue processwire/processwire-issues#1593 2022-07-08 11:24:29 -04:00
Ryan Cramer
5636a81d15 Various pre-merge documentation and housekeeping updates 2022-05-13 10:34:30 -04:00
Ryan Cramer
d3a5b4170a Fix typos in documentation per processwire/processwire-issues#797 2022-05-09 11:05:55 -04:00
Ryan Cramer
15ae6b938d Refactor of $sanitizer->pagePathName() to make consistent with pageName() per processwire/processwire-issues#1160 2022-04-28 11:37:13 -04:00
Ryan Cramer
f9f29d2663 Update for processwire/processwire-issues#1467 2022-04-27 10:25:14 -04:00
Ryan Cramer
1dc0f0e524 Minor update in $sanitizer for the testAll() method 2022-03-04 16:23:58 -05:00
Ryan Cramer
fec9432a03 Add new $sanitizer->words() method and rewrite existing $sanitizer->word() method 2022-03-03 11:17:10 -05:00
Ryan Cramer
36f051e129 Add $sanitizer->entitiesA() and $sanitizer->entitiesA1() methods for entity encoding values in arrays 2022-01-28 13:15:04 -05:00
Ryan Cramer
1729e71808 Additional updates for processwire/processwire-issues#1502 2022-01-11 14:57:05 -05:00
Ryan Cramer
6c29350918 Additional updates, additions and fixes to $sanitizer->float(), InputfieldFloat and FieldtypeFloat per processwire/processwire-issues#1502 2022-01-11 09:51:52 -05:00
Ryan Cramer
38506eb6dc Additional update for processwire/processwire-issues#1502 2022-01-07 14:01:20 -05:00
Ryan Cramer
6e81c70446 Fix issue processwire/processwire-issues#1502 2022-01-07 11:27:48 -05:00
Ryan Cramer
912c9bb30e Additional updates for processwire/processwire-issues#1467 via @matjazpotocnik 2022-01-03 15:03:33 -05:00
Ryan Cramer
b49a44e813 Add 'trim' option to $sanitizer->array() method which trims string values in an array of leading/trailing whitespace. Default value for this option is true. 2021-12-03 10:48:12 -05:00
Ryan Cramer
8e1608ac6f Fix issue processwire/processwire-issues#1467 2021-11-19 11:43:49 -05:00
Ryan Cramer
c02a9d6f4d Add PagesPathFinder class to core 2021-10-01 13:17:44 -04:00
Ryan Cramer
fb32ed605b README updates and related 2021-08-27 07:00:11 -04:00
Ryan Cramer
6368910434 Modifications to $database->getPrimaryKey() method (I thought these were in the previous commit that added this method but looks like they weren't) 2021-07-23 09:52:46 -04:00
Ryan Cramer
ec761e75bd Fix issue processwire/processwire-issues#1342 using fix proposed by @openidauthority processwire/processwire-requests#393#issuecomment-867593330 2021-07-16 13:39:05 -04:00
Ryan Cramer
c82a9810c2 Add $sanitizer->selectorValueAdvanced() method for sanitizing selector values using the advanced text search operator #=, per processwire/processwire-issues#1395 2021-07-16 10:17:22 -04:00
Ryan Cramer
48a80058e4 Add $sanitizer->textdomain() method 2021-07-02 12:29:51 -04:00
Ryan Cramer
af8402eaf2 Update $sanitizer->url() to support URLs without authority slashes like skype:username?chat per processwire/processwire-issues#1368 2021-05-03 10:30:01 -04:00
Ryan Cramer
9271e8d846 Add a getString option to the $sanitizer->float() method 2021-01-22 14:14:46 -05:00
Ryan Cramer
2362005e78 Update $sanitizer->removeMB4() method to use a default replacement character (can be set in $options). Plus implement a shorter replacement function (version 2). Also some updates to the $sanitizer->validateFile() method. 2020-11-25 14:12:33 -05:00
Ryan Cramer
a5cea5660d Fix issue processwire/processwire-issues#1261 2020-10-19 09:24:57 -04:00
Ryan Cramer
f855ebf170 Add 'keepApostrophe' option to $sanitizer->wordsArray() 2020-10-09 13:30:27 -04:00