1
0
mirror of https://github.com/processwire/processwire.git synced 2025-09-02 03:02:46 +02:00

1567 Commits

Author SHA1 Message Date
Ryan Cramer
c80ae0acd8 A few minor phpdoc/code comments 2019-02-22 17:45:20 -05:00
Ryan Cramer
c6410c6478 Update MarkupFieldtype to auto-link page references when page is viewable 2019-02-22 16:34:37 -05:00
Ryan Cramer
41e2bbd22b Some updates for processwire/processwire-issues#126 plus some improvements to ProcessLanguage and add a refresh link in the language translation phrase live-search 2019-02-22 07:43:47 -05:00
Ryan Cramer
f968137514 Apply additional fix for processwire/processwire-issues#539 2019-02-21 15:32:36 -05:00
Ryan Cramer
0326b1c67d Fix issue processwire/processwire-issues#773 2019-02-21 11:21:55 -05:00
Ryan Cramer
1aa2c55b9f Add support for children.custom_field=value selectors per processwire/processwire-requests#174 and processwire/processwire-issues#809 2019-02-21 11:10:57 -05:00
Ryan Cramer
5483804d49 Improve __debugInfo() in Selector and Selectors classes 2019-02-21 11:08:25 -05:00
Ryan Cramer
774c2152ee Update $sanitizer->selectorValue() method to also accept array for its value argument. When array ['a','b','c'] is present, it converts to a sanitized a|b|c string. 2019-02-21 09:58:31 -05:00
Ryan Cramer
65e283055a Update PaginatedArray::getPaginationString() to allow specifying an alternate label (zeroLabel) when there are zero items available. 2019-02-21 09:57:42 -05:00
Ryan Cramer
0c150eec42 Update Pageimage::render() method to accept manually defined alt or class attributes 2019-02-21 09:57:10 -05:00
Ryan Cramer
d49df28641 Fix issue processwire/processwire-issues#513 2019-02-21 05:31:00 -05:00
Ryan Cramer
16b69f4a10 Some improvements and fixes to the multi-language support in Lister (also affects ListerPro) 2019-02-16 10:16:33 -05:00
Ryan Cramer
2c3e949d6e Bump version to 3.0.126 plus some other minor adjustments 2019-02-15 14:31:26 -05:00
Ryan Cramer
33bac98b83 Fix issue processwire/processwire-issues#599 2019-02-15 10:16:02 -05:00
Ryan Cramer
126c1392d4 Fix additional phpdoc typos per processwire/processwire-issues#797 2019-02-14 08:01:39 -05:00
Ryan Cramer
a993a14de9 Additional adjustment for processwire/processwire-issues#811 2019-02-14 06:02:09 -05:00
Ryan Cramer
3f5773e674 Add new $page->if(condition, yes, no) convenience method 2019-02-13 14:53:59 -05:00
Ryan Cramer
b499aad60e Fix issue processwire/processwire-issues#811 2019-02-12 10:53:54 -05:00
Ryan Cramer
82d513ec54 Update for processwire/processwire-issues#358 to prevent port 443 from being appended to undefined $config->httpHost when scheme is HTTPS. 2019-02-12 09:14:44 -05:00
Ryan Cramer
feb071b006 Make WireDateTime::relativeTimeStr() hookable per processwire/processwire-issues#793 2019-02-12 08:27:40 -05:00
Ryan Cramer
a47c6102f7 Some updates to the Pageimage::render() method plus add a Pageimages::render() method to accompany it. 2019-02-12 06:13:00 -05:00
Ryan Cramer
6c8d0e5eff Move implementation for wirePopulateStringTags() function into WireTextTools class. Add new WireData() shortcut function for consistency with existing WireArray() and PageArray() functions. 2019-02-12 05:25:37 -05:00
Ryan Cramer
839d9325cc Fix issue processwire/processwire-issues#331 2019-02-08 15:21:25 -05:00
Ryan Cramer
09a7d8e7ed Add $sanitizer->fieldSubfield() method for sanitizing "field.subfield" strings. 2019-02-08 14:46:48 -05:00
Ryan Cramer
65454985b1 Various minor adjustments 2019-02-08 14:46:20 -05:00
Ryan Cramer
5b45d17991 Attempt fix for issue processwire/processwire-issues#304 2019-02-07 11:34:35 -05:00
Ryan Cramer
ea62d73215 Fix issue processwire/processwire-issues#807 2019-02-07 09:35:07 -05:00
Ryan Cramer
ac0f4f0017 Fix issue processwire/processwire-issues#805 2019-02-05 09:27:56 -05:00
Ryan Cramer
09c936dba9 Attempt to fix processwire/processwire-issues#801 2019-02-05 08:46:10 -05:00
Ryan Cramer
1215e706e1 Fix issue processwire/processwire-issues#787 2019-02-05 08:39:21 -05:00
Ryan Cramer
69bd63eb4c Fix issue processwire/processwire-issues#779 where $pages('/') wasn't working 2019-02-05 08:32:39 -05:00
Ryan Cramer
733780f8f6 Fix phpdoc typos per issue processwire/processwire-issues#797 2019-02-04 15:19:08 -05:00
Ryan Cramer
7d79864dc9 Fix issue processwire/processwire-issues#790 plus add Pageimage::render() method 2019-02-04 14:53:49 -05:00
Ryan Cramer
c6cb728b60 Fix issue processwire/processwire-issues#788 2019-02-04 12:07:16 -05:00
Ryan Cramer
0ac9046b28 Add error message to resolve issue processwire/processwire-issues#786 2019-02-04 11:58:51 -05:00
Ryan Cramer
4348ca746a Fix issue processwire/processwire-issues#785 2019-02-04 11:20:47 -05:00
Ryan Cramer
0be324b4d5 Fix issue processwire/processwire-issues#781 2019-02-04 10:51:31 -05:00
Ryan Cramer
debb1cd511 Add $sanitizer->chars() method and update phpdoc at top of Sanitizer class for documentation purposes on API reference site. 2019-02-04 10:32:36 -05:00
Ryan Cramer
6ad5239666 Bump version to 3.0.125 2019-01-25 15:00:32 -05:00
Ryan Cramer
1aad2430d5 Update WireInput/WireInputData to optimize for sanitizer updates 2019-01-25 11:58:26 -05:00
Ryan Cramer
e879baf189 Add new $sanitizer methods: range(), min(), max(), bit(), maxLength(), maxBytes(), methodExists(), validate() and valid(). Also added support for executing multiple sanitizers in one call with the new sanitize() method. 2019-01-25 11:42:38 -05:00
Ryan Cramer
4a7919c9a9 Update the __('text') translation function to support setting of options with a __(true, 'optionName', 'optionValue') call. Added support for an entityEncode option and translations option for setting predefined fallback translations. Also made major updates to the phpdoc for the translation functions. 2019-01-25 11:33:17 -05:00
Ryan Cramer
02f9220529 Some minor 1-line tweaks to various files 2019-01-25 11:32:47 -05:00
Ryan Cramer
411cce0418 Update the $input->get(), $input->post(), and $input->cookie() methods to support new arguments for support of auto-sanitization, validation and fallback values. 2019-01-18 11:51:59 -05:00
Ryan Cramer
7bbb97e6e4 phpdoc improvements to WireFileTools, FunctionsWireAPI, FunctionsAPI and Functions files. 2019-01-18 11:50:22 -05:00
Ryan Cramer
97adac20ed Bump version to 3.0.124 2019-01-11 15:53:43 -05:00
Ryan Cramer
52e20c489d Add new $sanitizer->trim() method that can trim of all known UTF-8 whitespace types (or given chars) from beginning and ending of string. This is something I discovered PHP's trim() fucntion does not do. 2019-01-11 09:30:51 -05:00
Ryan Cramer
f9ded64ba3 Improve the WireHttp class by adding a CURL-based get(), post(), head() or send() fallback that is used (if CURL available) when the fopen() method fails. It can also be f orced from the new $options argument added to all the sending methods. 2019-01-11 09:29:32 -05:00
Ryan Cramer
2735ee397e Update PW's error handler to recognize failed functions API calls when functions API isn't enabled, and provide instruction on how to enable it 2019-01-11 09:13:40 -05:00
Ryan Cramer
1a94578b1e Make the functions API automatically enabled by default in core site profiles 2019-01-11 09:10:43 -05:00