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
73b82462fc Add PR #190 - FieldtypeMulti: orderby sort only if schema supports it
Co-authored-by: pine3ree <pine3ree@gmail.com>
2021-06-01 09:41:05 -04:00
Ryan Cramer
3fe499899b Add PR #124 - Add hookable method to PageImage variation creation
Co-authored-by: karltdev <karl@assembly.com.hk>
2021-06-01 09:33:02 -04:00
Ryan Cramer
48d8569a1e Bump version to 3.0.179 2021-05-28 15:30:45 -04:00
Ryan Cramer
e156e1e4a6 Some phpdoc consistency updates in /wire/core/Config.php 2021-05-27 13:23:56 -04:00
Ryan Cramer
71a2e38f9e A couple of minor optimizations for queries in debug logs 2021-05-21 14:34:34 -04:00
Ryan Cramer
e6a79dbbdf Make Fields::getTags() and Templates::getTags() hookable per @outflux3 processwire/processwire-issues#1369 2021-05-19 09:32:14 -04:00
Ryan Cramer
ff0a66821d Optimizations to WireArray::get(), plus add support for get('a|b|c') where it returns value for first matching key, consistently with WireData. This also provides a solution for PR #109 @bernhardbaumrock 2021-05-19 08:57:13 -04:00
Ryan Cramer
335ad1cefe Add ConfigModule interface as alternative to ConfigurableModule interface for modules that want to maintain non-interactive configuration data 2021-05-18 12:49:36 -04:00
Ryan Cramer
e028d9f7b6 Bump version to 3.0.178 2021-05-14 15:27:45 -04:00
mirzadabeer
4d5950f5fe Add PR #100 - Replace unnecessary in_array() call in /wire/core/admin.php 2021-05-13 10:48:26 -04:00
Ryan Cramer
5a5d4e5830 Add support for scheme and host to be manually specified in $page->url() and $page->httpUrl() methods in $options array argument. This is related to the request in PR #116 2021-05-13 09:56:48 -04:00
Ryan Cramer
79b952753c Add PR #106 - Add “since” versions for $files API var find() and includeOnce() methods
Co-authored-by: happy-kaseem <kaseem@meisterkonze.ch>
Co-authored-by: matjazpotocnik <matjaz.potocnik@um.si>
2021-05-12 14:58:11 -04:00
Ryan Cramer
143ae7535b Add support for multi-dimensional arrays in $input with a $config->wireInputArrayDepth setting. This was requested in prior feature requests and in PR #161 but ended up writing it in a different way than the PR to allow for control over the allowed max dimension and consistency with multidimensional arrays in $_GET or $_POST. To enable multi-dimensional array support add $config->wireInputArrayDepth = 2; to /site/config.php and use a value of 2 (or higher) to indicate the number of dimensions you want to support.
Co-authored-by: porl <porl42@gmail.com>
2021-05-12 09:05:28 -04:00
pine3ree
d29ed3eb96 Add PR #187 - add cookie SameSite support and settings (session and other cookies) 2021-05-10 14:46:37 -04:00
jmartsch
a7c85f11d9 Add PR #125 - make AdminThemeFramework::getPrimaryNavArray hookable 2021-05-07 15:23:57 -04:00
Ryan Cramer
1a71b77010 Add PR #163 small fixes in PWPNG class
Co-authored-by: horst-n <info@nogajski.de>
2021-05-07 14:57:29 -04:00
tiefenb
9ed333c187 Add PR #177 for page.meta documentation update 2021-05-07 14:00:53 -04:00
Notanotherdotcom
c8efbdfe4b Add PR #113 for page ID supported as page name format 2021-05-07 13:16:27 -04:00
Ryan Cramer
2190a6ef37 Add PR #134 which expands CURL options that can be specified in WireHttp $options array. Some of the PR was already added for the sendCURL in a prior commit, so this commit adds the remaining part in downloadCURL(). Slightly modified to read $options['curl']['setopt'] rather than $options['curl'], for compatibilty with what's already in sendCURL().
Co-authored-by: chriswthomson <chris.thomson@nbcommunication.com>
2021-05-07 12:57:28 -04:00
Ryan Cramer
f290da2a7f Add a couple of WireTextTools methods for later use 2021-05-07 10:33:07 -04:00
Ryan Cramer
6d285b0784 Fix issue processwire/processwire-issues#1288 2021-05-07 08:33:25 -04:00
Ryan Cramer
3485aa8763 Update to add support for user-view-[role] permissions for cases where people may be implementing a user.php (or related) template file @adrianbj 2021-05-06 10:07:47 -04:00
Ryan Cramer
644f0fb3fd Improvements to FieldtypeMulti::savePageFieldRows method 2021-05-05 13:57:11 -04:00
Ryan Cramer
8d9a66fc38 Minor optimizations to Wire class 2021-05-05 13:55:59 -04:00
Ryan Cramer
1906d94a9c Improvements and clarifications with the WireTempDir class 2021-05-05 13:55:02 -04:00
Ryan Cramer
6cf998c3a0 Improvements to WireFileTools, lots with error message handling and logging, addition of a renameCopy() method, and other minor improvements. 2021-05-05 13:53:07 -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
47871422b5 Bump version to 3.0.177 2021-04-30 14:57:20 -04:00
Ryan Cramer
d9d6440d43 Typo fix 2021-04-30 14:56:52 -04:00
Ryan Cramer
25a3477b67 Add a field rename option to $pages->findRaw() 2021-04-28 13:58:37 -04:00
Ryan Cramer
c6f735b306 Add interface for Inputfields that accept page selector 2021-04-28 13:50:58 -04:00
Ryan Cramer
94d8cae85a Additional updates to InputfieldTextTags 2021-04-26 15:31:11 -04:00
Ryan Cramer
1b1dcc85db Add tag helper methods to Template class (to work with existing 'tags' property similar to the one in Field class) 2021-04-22 12:49:43 -04:00
Ryan Cramer
54c49f37f8 Add new interfaces for Inputfield modules 2021-04-22 10:33:33 -04:00
Ryan Cramer
8644ab7b57 Fix issue processwire/processwire-issues#1365 2021-04-19 10:51:47 -04:00
Ryan Cramer
ace2dafb29 Fix issue processwire/processwire-issues#1361 2021-04-19 10:18:59 -04:00
Ryan Cramer
dbfd01a472 Fix issue processwire/processwire-issues#1366 2021-04-19 10:01:40 -04:00
Ryan Cramer
4c50447e61 Add support in AdminThemeFramework for interactively (in module config) converting users to use the admin theme 2021-04-19 09:49:08 -04:00
Ryan Cramer
00bcf2c3f7 Add $users->setAdminThemeByRole() method 2021-04-19 09:48:36 -04:00
Ryan Cramer
7f91cad42f Add support for multiple randomly selected DB readers (config.php file updates) 2021-04-19 09:48:04 -04:00
Ryan Cramer
fb0e7f2ecf Add support for multiple randomly-selected DB readers 2021-04-19 09:47:14 -04:00
Ryan Cramer
6c9f3ab547 Fix documentation formatting issue in WireTextTools 2021-04-16 10:39:46 -04:00
Ryan Cramer
eb3dd355b0 Minor adjustments 2021-04-09 16:23:31 -04:00
Ryan Cramer
7918780af1 Fix trailing slash redirect issue with path hooks @bernhardbaumrock 2021-04-09 16:22:06 -04:00
Ryan Cramer
c3f07f9460 Bump version to 3.0.175 2021-04-02 16:19:24 -04:00
Ryan Cramer
6fa201c522 Refactor of WireDatabasePDO to add support for separate read-only database connection 2021-04-02 16:18:44 -04:00
Ryan Cramer
4283cafb07 Improvements to the $config->requestUrl(), $config->requestPath() and $config->requestMethod() functions 2021-03-31 10:18:37 -04:00
Ryan Cramer
a16cb528dc Update TemplateFile class with a clearAll() static method and update ProcessPageView to use it when a 404 is thrown. This ensures that a 404 thrown after some output has already been sent can't get interpreted as a non-404 by the client 2021-03-31 10:13:18 -04:00
Ryan Cramer
a3616cebfb Updates to improve WireShutdown class error emails. This should also fix processwire/processwire-issues#1317 2021-03-31 10:12:06 -04:00
Ryan Cramer
7f450dedc7 Add $session->hasLoginCookie() method 2021-03-30 08:08:07 -04:00