Ryan Cramer
|
504dd173a1
|
Minor code improvements to MarkupQA class
|
2023-03-17 14:43:43 -04:00 |
|
Ryan Cramer
|
3af565ccc3
|
Add a new $files->size($path) method that returns the size (bytes) of the given $path (file or directory). When given a directory, it returns the combined size of all files in the directory, recursively.
|
2023-03-17 09:41:05 -04:00 |
|
Ryan Cramer
|
b41fc7feff
|
Minor improvements to WireDatabaseBackup class
|
2023-03-17 09:40:28 -04:00 |
|
Ryan Cramer
|
4960d8f891
|
Improve documentation for $session->close(); method, explaining in detail when you might use the method.
|
2023-03-17 09:39:08 -04:00 |
|
Ryan Cramer
|
f2a1ebb7b4
|
Various improvements to FileLog and WireLog classes. Plus add new deleteAll() and pruneAll() methods to WireLog class.
|
2023-03-17 09:37:33 -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 |
|
netcarver
|
edcfa915d8
|
Add PR #262 - Fix potentially missed else conditionals
|
2023-03-09 10:26:06 -05:00 |
|
chriswthomson
|
dafceffc6f
|
Add PR #261 - Added page-edit-redirects optional permission
|
2023-03-09 10:17:41 -05:00 |
|
Ryan Cramer
|
bd6fe70347
|
Fix issue processwire/processwire-issues#1699
|
2023-03-08 10:22:30 -05:00 |
|
Ryan Cramer
|
d2cde11e4d
|
Bump version to 3.0.213
|
2023-02-24 14:06:06 -05:00 |
|
Ryan Cramer
|
2b47a39950
|
Add a new WireNumberTools core class. More will be added later, but this class starts with one method for unique number/ID generation. This is useful for generating unique IDs for things that may not already have them, and ensuring that the ID remains unique for the lifetime of the installation.
|
2023-02-24 10:23:23 -05:00 |
|
Ryan Cramer
|
b3913a8791
|
Add a new hookable Fieldtype::___getFieldSetups() that lets any Fieldtype specify different configurations available when creating new fields. These configurations will be selectable when creating a new field in the admin, or when setting the $field->type = 'FieldtypeName.setupName";
|
2023-02-24 10:15:05 -05:00 |
|
Ryan Cramer
|
91f4b7cd6e
|
Bump version to 3.0.212
|
2023-02-17 10:43:54 -05:00 |
|
Ryan Cramer
|
7fa8fd21f0
|
Add new uploadName() method/property to Pagefile/Pageimage that returns original unsanitized uploaded filename. This works only for files uploaded following this commit, since we didn't previously record the info. This is to answer the feature request in processwire/processwire-requests#56 and this uploadName idea was suggested by @BernhardBaumrock
|
2023-02-17 08:52:52 -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 |
|
Ryan Cramer
|
104c1cddbe
|
Add feature request processwire/processwire-requests#479
|
2023-02-14 11:29:57 -05:00 |
|
Ryan Cramer
|
c3b9c72df9
|
Additional updates for processwire/processwire-issues#1467
|
2023-02-14 09:28:03 -05:00 |
|
Ryan Cramer
|
ff1ba95e37
|
Fix issue processwire/processwire-issues#1687
|
2023-02-14 09:00:21 -05:00 |
|
Ryan Cramer
|
a1a72e5ca3
|
Fix issue processwire/processwire-issues#1684
|
2023-02-14 08:57:09 -05:00 |
|
Ryan Cramer
|
1171241f5d
|
Add new Fieldtype::saveFieldReady(Field $field) hook that is called right before a Field object is about to be saved. For newly created fields, the given $field will have $field->id==0
|
2023-02-09 09:54:28 -05:00 |
|
Ryan Cramer
|
b1313438ea
|
Add PR #257 which replaces deprecated utf8_encode() with mb_convert_encoding() in PWPNG.php
Co-authored-by: jnessier <jnessier@users.noreply.github.com>
|
2023-02-03 10:13:34 -05:00 |
|
Ryan Cramer
|
a3fa73aec6
|
A few phpdoc updates in config.php
|
2023-02-03 09:29:04 -05:00 |
|
Ryan Cramer
|
0e709b148c
|
Fix issue processwire/processwire-issues#1677 while also optimizing the debug mode detection code in ProcessWire.php
|
2023-02-03 09:27:11 -05:00 |
|
Ryan Cramer
|
36bb44e0a5
|
Fix issue processwire/processwire-issues#1675
|
2023-02-03 08:15:43 -05:00 |
|
Ryan Cramer
|
22250b483f
|
Update so that requests containing a double slash at the end of the path get redirected to the single slash (or no-slash) version
|
2023-02-02 14:21:53 -05:00 |
|
Ryan Cramer
|
b74f6ca359
|
Attempt fix for processwire/processwire-issues#1459 and processwire/processwire-issues#1297 by rewriting code that builds pages_parents table and requires fewer changes to the table. This is called on page parent changes and clone operations. Needs further testing on installation with 1+ million pages to compare with previous and confirm performance improvement while maintaining same accuracy.
|
2023-02-02 13:54:51 -05:00 |
|
Ryan Cramer
|
7997a40e21
|
Minor code improvements
|
2023-01-27 15:41:30 -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
|
47f1e8a089
|
Fix issue processwire/processwire-issues#1670 plus minor optimizations to template importing
|
2023-01-26 09:55:19 -05:00 |
|
Ryan Cramer
|
2ebb0055be
|
Fix issue processwire/processwire-issues#1669
|
2023-01-26 09:06:33 -05:00 |
|
Ryan Cramer
|
bc2749b76c
|
Bump version to 3.0.211
|
2023-01-20 15:52:21 -05:00 |
|
Ryan Cramer
|
df81fdfd0b
|
Minor optimizations and improvements to WireUpload class
|
2023-01-20 09:21:29 -05:00 |
|
hiboudev
|
e34a190eeb
|
Add PR #223 WireMail: Use 'fromName' from config
|
2023-01-19 13:10:21 -05:00 |
|
pine3ree
|
4c71204073
|
Add PR #238 allow custom precision float to be returned from Pageimage::ratio()
|
2023-01-19 10:19:27 -05:00 |
|
Ryan Cramer
|
45c85311b3
|
Optimization to prevent overhead when PagesRaw.find() matches no pages
|
2023-01-19 07:43:02 -05:00 |
|
Ryan Cramer
|
b12c7e9031
|
Refactor repeater.js to use data-name instead of ID as needed for module by @BernhardBaumrock and PR #253
Co-authored-by: BernhardBaumrock <office@baumrock.com>
|
2023-01-13 08:24:52 -05:00 |
|
Ryan Cramer
|
6ff498f503
|
Happy New Year
|
2023-01-06 13:28:52 -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
|
d45a6be4df
|
Fix issue processwire/processwire-issues#1642
|
2023-01-06 08:50:10 -05:00 |
|
Ryan Cramer
|
e7edfad27a
|
Update for processwire/processwire-issues#1651
|
2023-01-04 10:38:42 -05:00 |
|
Ryan Cramer
|
5ba7706747
|
Bump version to 3.0.209
|
2022-12-30 13:50:45 -05:00 |
|
Ryan Cramer
|
483b63d496
|
Various minor updates
|
2022-12-30 12:24:04 -05:00 |
|
Ryan Cramer
|
f57a07e15a
|
Attempt fix for processwire/processwire-issues#1299 using @adrianbj suggestion
|
2022-12-29 12:20:20 -05:00 |
|
Ryan Cramer
|
b7e5d338f7
|
Fix issue processwire/processwire-issues#1651
|
2022-12-29 08:51:13 -05:00 |
|
Ryan Cramer
|
6018c1fbc4
|
Fix issue processwire/processwire-issues#1653
|
2022-12-09 13:35:50 -05:00 |
|
Ryan Cramer
|
a3cc73bd87
|
Bump version to 3.0.208, plus minor optimizations in FieldtypePage
|
2022-12-02 14:55:29 -05:00 |
|
Ryan Cramer
|
adf43d28df
|
Several improvements to Notices: 1) now you can include separate label and notice text by calling message/warning/error like this: $this->message([ 'Notice label' => 'Notice text' ]); 2) new support for a Notice::allowDuplicate flag which allows duplicate notices to appear when rendered. To use, specify it in the flags argument: $this->message('notice text', 'duplicate'); or $this->message('notice text', Notice::duplicate); 3) improved debugging output when passed object or array values for message text. 4) notice icon can now be specified in the notice flags, if using a flags string, i.e. $this->message('notice text', 'icon-eye-slash'); These can be combined with other flags of course, i.e. $this->message('notice text', 'markdown duplicate icon-home');
|
2022-12-02 14:07:41 -05:00 |
|
Ryan Cramer
|
a8b3c772d9
|
Add a Debug::toStr() method for dumping any variable to a string (for debugging purposes)
|
2022-12-02 14:04:53 -05:00 |
|
Ryan Cramer
|
b85c1c48b0
|
Fix issue processwire/processwire-issues#1649
|
2022-12-02 10:45:13 -05:00 |
|