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

1598 Commits

Author SHA1 Message Date
Ryan Cramer
51117dbea8 Update $pages->getByPath() to support new options such as allowing URL segments to appear in given path, disabling partial path matching, and supporting paths that might have a root subdirectory url in it. Related to processwire/processwire-issues#1116 2021-08-18 11:11:48 -04:00
Ryan Cramer
5ac7c127eb Fix issue processwire/processwire-issues#1349 2021-08-17 10:55:53 -04:00
Ryan Cramer
695a39b281 Fix issue processwire/processwire-issues#1135 2021-08-16 11:10:34 -04:00
Ryan Cramer
48a37bcc5c Fix issue processwire/processwire-issues#957 add IPv6 address support for $session->getIP() method 2021-08-12 12:02:07 -04:00
Ryan Cramer
572dc0b7ea Fix issue processwire/processwire-issues#1419 2021-08-12 10:17:04 -04:00
Ryan Cramer
31524d7a5a Bump version to 3.0.183 2021-08-06 14:26:43 -04:00
Ryan Cramer
f39d836bf1 Minor unrelated updates 2021-08-06 14:21:27 -04:00
Ryan Cramer
67df29ba87 Attempt fix for processwire/processwire-issues#1308 2021-08-06 09:49:01 -04:00
Ryan Cramer
29c58f836b Minor updates/improvements to PagesEditor class, plus add 'user' option for $pages->touch() method 2021-08-05 08:44:23 -04:00
Ryan Cramer
a6cd45ccff Fix issue processwire/processwire-issues#1313 WireArray::prepend(WireArray $items) adding in unexpected order 2021-08-04 12:44:40 -04:00
Ryan Cramer
e4eed8358d Minor housecleaning in User.php plus resolve issue processwire/processwire-issues#1293 User::isLoggedin() improvement/phpdoc 2021-08-04 11:21:30 -04:00
Ryan Cramer
cee6a51579 Fix issue processwire/processwire-issues#114 2021-08-03 10:56:43 -04:00
Ryan Cramer
4d86d4e3f2 Fix issue processwire/processwire-issues#920 2021-07-30 14:15:58 -04:00
Ryan Cramer
003c7f91b0 Add a WireHttp::setUserAgent() method to accompany existing getUserAgent() method 2021-07-28 10:42:23 -04:00
Ryan Cramer
9e318c9688 Add $database->getTime() method for getting current ISO-8601 or unix timestamp from database 2021-07-28 10:37:52 -04:00
Ryan Cramer
1890b68505 Minor improvements and refactoring in PageArray and WireArray, plus this should also fix processwire/processwire-issues#1416 2021-07-28 09:55:24 -04:00
Ryan Cramer
0839ab77fe Bump version to 3.0.182 2021-07-23 15:40:29 -04:00
Ryan Cramer
2ab7180d65 Attempt fix for processwire/processwire-issues#1351 2021-07-23 14:42:15 -04:00
Ryan Cramer
7048296a08 Add support for feature requested in processwire/processwire-issues#1408 - make ProcessPageType labels indicate page status (hidden, unpublished) in admin drop down menus 2021-07-23 12:15:17 -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
119ee9ab8c Add support to accept array value for Fieldtype::getMatchQuery(), plus documentation improvements to that method 2021-07-23 09:51:42 -04:00
Ryan Cramer
916ac6f5c5 Add option to force use of LIKE in DatabaseQuerySelectFulltext class, for when operating on columns that lack fulltext indexes 2021-07-23 09:50:35 -04:00
Ryan Cramer
be825ce98b Add new $database methods getIndexes(), indexExists() and getPrimaryKey(), plus updates/improvements to existing getColumns() and columnExists() methods 2021-07-23 09:49:16 -04:00
Ryan Cramer
785d66a4b5 Fix issue processwire/processwire-issues#1255 where rename didn't work for 1-image allowed image field, plus a related issue where rename of image could leave some variations unrenamed. 2021-07-16 14:34:53 -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
e610d863e7 Update for multi-instance to cover the case where someone might do something like new User() (or Permission, Role, Language) and have its template instance be from the wrong ProcessWire instance. This ensures that gets corrected as soon as the new object is wired to the instance. But we also have to account for the case where they never end up wiring the object for whatever reason, which is why there is some redundant code between construct() and wired() 2021-07-09 15:09:51 -04:00
Ryan Cramer
ca0b7ef5f3 Fix issue processwire/processwire-issues#1406 2021-07-09 14:23:03 -04:00
Ryan Cramer
405b80e54b Add Field::getContexts() method. Update ProcessField and ProcessTemplate to improve their main listing screen, particularly the 'flags' column which now shows more details and also now uses contextual links to relevant flags. 2021-07-09 10:59:46 -04:00
Ryan Cramer
498010ad8f Add a new FieldtypeHasFiles interface and update FieldtypeFile and FieldtypeImage to implement it. This interface is intended to be implemented by any Fieldtype that works with files to provide a common interface among them. 2021-07-08 11:36:19 -04:00
Ryan Cramer
a87e774aaf Add check for potential race condition in Pageimage.php when multiple requests trying to generate same image variation 2021-07-08 11:33:39 -04:00
Ryan Cramer
64758ebdcc Add clarity to ProcessTemplate fields section to make it clear that you have to save newly added fields before they become editable in context. Also add note about how to drag to adjust column width of individual fields. 2021-07-08 11:29:36 -04:00
Ryan Cramer
f851c63842 Bump version to 3.0.181 2021-07-02 15:45:50 -04:00
Ryan Cramer
ccc3d1f5bb Add @LostKobrakai PR #52 - Implement a way for modules to supply translations, plus some related updates
Co-authored-by: LostKobrakai <benni@kobrakai.de>
2021-07-02 12:38:22 -04:00
Ryan Cramer
4167f17235 Various minor optimizations to Page class and its helper classes 2021-07-02 12:32:04 -04:00
Ryan Cramer
4aebc4a203 Add __debugInfo() method to Inputfield class 2021-07-02 12:30:18 -04:00
Ryan Cramer
48a80058e4 Add $sanitizer->textdomain() method 2021-07-02 12:29:51 -04:00
Ryan Cramer
9ea37575ad Update SystemNotifications module to provide instructions on uninstall requirements, as some have reported the module won't uninstall unless notifications are first disabled. 2021-06-25 13:47:34 -04:00
Ryan Cramer
ac626a5794 Add additional clarification to a couple of Page class exception error messages 2021-06-25 13:46:00 -04:00
Ryan Cramer
5e663ccf13 Make $modules->isUninstallable() method hookable and update the $modules->isInstallable() method to detect when module doesn't implement required 'Module' interface. 2021-06-25 13:45:09 -04:00
Ryan Cramer
bb6e7f79b8 Bump version to 3.0.180 2021-06-18 13:07:22 -04:00
Ryan Cramer
99e89fe0fb Update InputfieldWrapper class so that you can now get new Inputfield object instances from it directly and in a manner that IDEs know what Inputfield module you are working with, so that phpdoc'ing it isn't necessary. This works from accesses to InputfieldWrapper, InputfieldForm, InputfieldFieldset. i.e. $f = $inputfields->InputfieldText; is equivalent to $modules->get('InputfieldText'); but more understandable to the IDE (like PhpStorm). 2021-06-18 11:50:09 -04:00
Ryan Cramer
7465f5339d Add new 'hidden' option to $files->copy() method (WireFileTools) 2021-06-18 11:29:56 -04:00
Ryan Cramer
d38931cb26 Add new $database->getColumns('table'); method in WireDatabasePDO 2021-06-18 11:28:30 -04:00
Ryan Cramer
91d96a0317 Fix issue processwire/processwire-issues#1398 2021-06-17 15:32:48 -04:00
Ryan Cramer
b087149c40 Optimization to use direct $fuel access in ProcessWire class (only), plus add new 'exited' status so that requests that perform a manual 'exit();' call can still be identified and routed through the shutdown maintenance process. 2021-06-11 14:03:01 -04:00
Ryan Cramer
c81aa1a82a Various minor adjustments 2021-06-11 14:00:55 -04:00
Ryan Cramer
3229d2371e Upgrades and improvements to $files->find() method and add $files->exists() 2021-06-11 13:56:39 -04:00
Ryan Cramer
8e9d2f80e8 Fix issue processwire/processwire-issues#1388 2021-06-01 11:35:04 -04:00
Ryan Cramer
91cb5c0e21 Fix issue processwire/processwire-issues#1389 2021-06-01 11:31:44 -04:00