1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-27 00:25:05 +02:00

2594 Commits

Author SHA1 Message Date
Ryan Cramer
3430610092 Add new $modules->getModuleInstallUrl('ModuleName'); method that returns the URL to install given module name 2023-04-20 11:02:40 -04:00
Ryan Cramer
440f649e39 Minor updates to site-blank profile, primarily to replace default rich-text editor with TinyMCE for new site-blank installs 2023-04-20 11:01:51 -04:00
Ryan Cramer
e307eab3f3 Add InputfieldTinyMCE to core 2023-04-20 10:31:59 -04:00
Ryan Cramer
844a45ff2f Upgrade jQuery TableSorter version to 2.31.3
Co-authored-by: matjazpotocnik <matjaz.potocnik@um.si>
2023-04-19 10:11:34 -04:00
Ryan Cramer
1d7f029fa5 Update many other .js files for jQuery 3.x deprecations 2023-04-19 10:08:54 -04:00
Ryan Cramer
3f2488de7d Fix inputfields.js JS issue mentioned in forum via @matjazpotocnik
Co-authored-by: matjazpotocnik <matjaz.potocnik@um.si>
2023-04-16 09:58:51 -04:00
Ryan Cramer
318bc0aba3 Bump version to 3.0.215 2023-04-14 15:54:35 -04:00
Ryan Cramer
1e60c69b97 Additional .js file updates for newer jQuery 2023-04-14 15:15:22 -04:00
Ryan Cramer
bd0253477e Update lots of core .js files for jQuery 3.6.4 support 2023-04-14 11:54:28 -04:00
Ryan Cramer
f11843562a Add support for latest version of jQuery UI (v1.13.2). This is used when $config->debug = 'dev'; in /site/config.php. Expect occasional JS/output issues when using this latest version of jQuery UI. We'll be upgrading the default core version to this over a period of time, which is why it's only used if $config->debug=='dev'; at present. 2023-04-14 09:25:25 -04:00
Ryan Cramer
885e94733a Update core jQuery versions to 1.12.4 and 3.6.4 (dev/latest). Note the dev version is used in the admin when $config->debug='dev'; 2023-04-13 09:49:21 -04:00
Ryan Cramer
0d18728523 Update InputfieldPage to support dynamic page properties in selector when used without FieldtypePage 2023-04-10 10:04:22 -04:00
Ryan Cramer
f4a05789f1 Attempt fix for issue #1714, plus a couple other minor unrelated class code improvements that were already in the queue 2023-04-07 09:34:18 -04:00
Ryan Cramer
de8307a2a9 Add method to MarkupAdminDataTable for specifying that a particular column is not sortable in an otherwise sortable table 2023-03-31 11:08:35 -04:00
Ryan Cramer
4f75a7e81c Minor code updates for various core classes 2023-03-31 11:06:33 -04:00
Ryan Cramer
57a9d224de Minor code improvements in ProcessPageList module files 2023-03-31 10:18:54 -04:00
Ryan Cramer
dad712ebb2 Updated PaginatedArray::getTotal() method to return the count() quantity when no total has been set (previously it returned 0 if not set) 2023-03-31 09:42:26 -04:00
Ryan Cramer
134edd9445 Fix issue processwire/processwire-issues#1713 2023-03-31 09:05:32 -04:00
Ryan Cramer
7352d1d7f3 Fix issue processwire/processwire-issues#1712 2023-03-30 09:28:24 -04:00
Ryan Cramer
371ea35036 Fix issue processwire/processwire-issues#1711 2023-03-30 08:46:17 -04:00
Ryan Cramer
5c23e85a79 Fix issue processwire/processwire-issues#1705
Co-authored-by: matjazpotocnik <matjaz.potocnik@um.si>
2023-03-30 07:47:35 -04:00
Ryan Cramer
b7bec30fb7 Minor adjustment to preparation of table + column helper in WireDatabasePDO 2023-03-24 13:12:56 -04:00
Ryan Cramer
43aa000f02 Fix issue processwire/processwire-issues#1709 2023-03-24 11:33:10 -04:00
Ryan Cramer
16be65c454 Correct issue with all logs returning same mtime and size in ProcessLogger 2023-03-24 10:59:22 -04:00
Ryan Cramer
f7ee00d785 Fix issue with WireLog::getLogs() returning regular PHP array rather than associative array indexed by log name 2023-03-22 14:29:59 -04:00
Ryan Cramer
547fb4cf71 Bump version to 3.0.214 2023-03-17 14:46:13 -04:00
Ryan Cramer
504dd173a1 Minor code improvements to MarkupQA class 2023-03-17 14:43:43 -04:00
Ryan Cramer
e36742528f Fix issue processwire/processwire-issues#1703 PageFrontEdit and InputfieldTinyMCE 2023-03-17 12:15:51 -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
Ryan Cramer
42e56c5f3e Add PR #260 which makes improvements to MarkupPagerNav pagination
Co-authored-by: matjazpotocnik <matjaz.potocnik@um.si>
2023-03-09 11:14:53 -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
fb980f24c7 Additional update to previous commit that prevents field_repeater.count=0 from matching any pages that don't have field_repeater, even if template not specified in the selector. 2023-03-09 09:21:54 -05:00
Ryan Cramer
4f00c1f6f1 Add pages.find selector support for matching repeaters with no row present in field_repeater table. Examples: repeater_field.count=0, repeater_field.count<2, repeater_field.count!=1, repeater_field.count>=0, etc. Previously these would only match if the page having the repeater field had been saved at least once since the repeater field was added (and thus it had a DB row to match). Now it no longer needs a DB row present to match 0 count. Related to processwire/processwire-issues#1701 2023-03-09 09:02:14 -05:00
Ryan Cramer
09163d2a76 Attempt fix issue processwire/processwire-issues#1689 2023-03-08 11:40:09 -05:00
Ryan Cramer
1c8ac461f2 Fix issue processwire/processwire-issues#1697 2023-03-08 11:02:01 -05:00
Ryan Cramer
bd6fe70347 Fix issue processwire/processwire-issues#1699 2023-03-08 10:22:30 -05:00
Ryan Cramer
592a443bf1 Fix issue in InputfieldSelect where non-default language label for optional "Please select" label was not translated when options are added using a newline-separated string. 2023-03-08 07:59:02 -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
80f700096a Add support for Fieldtype::getFieldSetups() to ProcessField. Also add some additional grouping logic to the field Type selection when creating new fields. In addition to the new optgroups shown, it also shows an optgroup for uninstalled Fieldtypes. 2023-02-24 10:20:22 -05:00
Ryan Cramer
5855c8c8b6 Implement new getFieldSetups() method in these Fieldtypes: Datetime, File, Image, Options, Page, and Textarea. 2023-02-24 10:19:32 -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
5a4ac84301 Additional updates for ProcessPageEditLink module 2023-02-17 09:45:52 -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