1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-09 16:26:59 +02:00

1598 Commits

Author SHA1 Message Date
Ryan Cramer
03acb77306 Fix issue processwire/processwire-issues#1595 2022-07-08 12:13:59 -04:00
Ryan Cramer
2e76df1a89 Fix issue processwire/processwire-issues#1593 2022-07-08 11:24:29 -04:00
Ryan Cramer
6a9dfe654d Update in WireHttp to correct issue where curl POST method sometimes did not work due to 'expect' header that CURL adds to some requests, plus an extra boundary CURL adds to content-type 2022-07-08 09:43:14 -04:00
Ryan Cramer
d4e2a39940 Update PagesPathFinder to provide 301 redirect for paths ending with "/index.php" rather than responding with a 404 code 2022-07-08 09:30:11 -04:00
Ryan Cramer
31ede89079 Minor updates in Debug class including documentation additions and removeSavedTimer methods 2022-07-08 09:28:26 -04:00
Ryan Cramer
e6a29cb051 Fix issue in WireInput where setUrlSegments() didn't reset all segments when given array of segments smaller than what was previously set. 2022-07-08 09:26:57 -04:00
Ryan Cramer
818b78a42c Fix issue in WireHttp where it didn't reset the HTTP code description text (like "OK" or "Page Not Found" or "Internal Server Error" between multiple requests. 2022-06-24 13:30:22 -04:00
Ryan Cramer
356cde2d5c Add empty check to Page::get() method to avoid potential illegal offset-type error 2022-06-20 16:03:32 -04:00
Ryan Cramer
73a31ef2f9 Add processwire/processwire-requests#445 - Add usage fieldset/info on field edit page primary tab 2022-06-03 14:55:45 -04:00
Ryan Cramer
f0d06cbf8a Bump version to 3.0.201 2022-05-27 13:09:14 -04:00
Ryan Cramer
8d57d0c126 Fix typo in $page->getMultiple() method phpdoc 2022-05-27 11:20:04 -04:00
Ryan Cramer
f0bc888355 Fix issue processwire/processwire-issues#1576 2022-05-27 11:00:58 -04:00
Ryan Cramer
6667caa1d0 Add new page editor Inputfield visibility mode 'Tab' which makes any Inputfield display as a page editor tab. Options included for 'Tab', 'Tab (AJAX)', and 'Tab (locked)'. 2022-05-27 10:40:58 -04:00
Ryan Cramer
23a4cb455d Add a new $page->getMultiple($keys); method where $keys can be array or CSV string of properties/fields to return in an array. Returns non-associative array by default, specify $page->getMultiple($keys, true); get to get can associative array indexed by given key names. 2022-05-27 10:35:12 -04:00
Ryan Cramer
c84a21a9a2 Fix issue processwire/processwire-issues#1568 2022-05-20 10:49:51 -04:00
Ryan Cramer
761e83a5f3 Add @netcarver PR #226 to fix unintentional assignment in conditional, plus minor phpdoc update in InputfieldWrapper
Co-authored-by: netcarver
2022-05-20 08:42:39 -04:00
Ryan Cramer
a0adc207de Fix issue processwire/processwire-issues#1567 2022-05-17 11:25:04 -04:00
Ryan Cramer
3f8e1f6a7a Bump version to 3.0.200 2022-05-13 13:43:43 -04:00
Ryan Cramer
5636a81d15 Various pre-merge documentation and housekeeping updates 2022-05-13 10:34:30 -04:00
Ryan Cramer
5a63b7eed7 Fix issue processwire/processwire-issues#1566 2022-05-10 09:46:45 -04:00
Ryan Cramer
bf80df04e9 Various minor code updates 2022-05-10 08:24:50 -04:00
Ryan Cramer
14a9b92c70 Additional updates for processwire/processwire-issues#1467 2022-05-09 11:56:53 -04:00
Ryan Cramer
d3a5b4170a Fix typos in documentation per processwire/processwire-issues#797 2022-05-09 11:05:55 -04:00
Ryan Cramer
fa3fb8ec89 Various minor code improvements to several core classes primarily aimed at improved IDE inspection and debugging 2022-05-06 14:04:14 -04:00
Ryan Cramer
5651742660 Bump version to 3.0.199 2022-04-29 15:06:33 -04:00
Ryan Cramer
15ae6b938d Refactor of $sanitizer->pagePathName() to make consistent with pageName() per processwire/processwire-issues#1160 2022-04-28 11:37:13 -04:00
Ryan Cramer
f9f29d2663 Update for processwire/processwire-issues#1467 2022-04-27 10:25:14 -04:00
Ryan Cramer
311a2c9e79 Fix issue processwire/processwire-issues#1560 2022-04-27 10:23:05 -04:00
Ryan Cramer
4ced00d0f9 Attempt fix for issue processwire/processwire-issues#1550 2022-04-27 10:06:17 -04:00
Ryan Cramer
cde0f53ad6 Fix issue processwire/processwire-issues#1536 2022-04-27 08:38:46 -04:00
Ryan Cramer
6001475a3c Update PageFinder to allow partial text matching in default language page paths in multi-language environment 2022-04-25 11:01:48 -04:00
Ryan Cramer
662cf5eee5 Add option to WireHttp for setting cookies to use in an http request (currently supported only by the curl http get/post methods) 2022-04-22 14:13:15 -04:00
Ryan Cramer
7159279ac8 Additional updates for processwire/processwire-issues#1467 2022-04-22 10:36:03 -04:00
Ryan Cramer
89d46632b3 Bump version to 3.0.198 2022-04-15 14:33:46 -04:00
Ryan Cramer
cd35d103dd Various minor updates and code improvements 2022-04-15 14:32:34 -04:00
horst-n
b1457698c8 Add @horst-n ImageSizer fixes for image orientation/rotation 2022-04-15 12:42:56 -04:00
Ryan Cramer
3c28ecd16c Fix issue processwire/processwire-issues#1554 2022-04-15 10:45:16 -04:00
Ryan Cramer
cf2f209f8c Add support for a nulls option to $pages->findRaw(). This makes it populate null values for fields not present, rather than omitting them completely. Requested in processwire/processwire-issues#1553 2022-04-15 10:40:08 -04:00
Ryan Cramer
0d2b570454 Updates for processwire/processwire-issues#1552 2022-04-15 08:59:34 -04:00
Ryan Cramer
047ffb1c20 Add support for runtime page cache groups. This enables pages to be cached as a group, or more importantly, uncached as a group. It was added primarily to add efficiency to $pages->findMany(), so that it can cache supporting pages (like parents of pages returned by findMany). Previously, it would have to load a fresh copy of each supporting page used by findMany(), for every returned page, since findMany() used no in-memory caching, otherwise you could run out of memory on large results. So if you iterated a $pages->findMany() result and output the URL of each page (which loads parents), then it would have to reload all those parents for each iteration. Now it can cache them for each chunk of 250 pages, offering a significant potential performance improvement in many cases. 2022-04-14 08:11:19 -04:00
Ryan Cramer
f05943baaa Add support in PagesPathFinder for default pagination prefix (pageNumUrlPrefix) even when overridden by default language setting in LanguageSupportPageNames module. Previously, it could potentially break pagination in some places (in admin) if you overrode the default language pagination prefix in that module. 2022-04-14 07:48:45 -04:00
Ryan Cramer
47f2742b72 Updates for processwire/processwire-issues#1467 2022-03-29 08:22:13 -04:00
Ryan Cramer
527f844403 Fix issue processwire/processwire-issues#1549 2022-03-28 08:46:00 -04:00
Ryan Cramer
fa3d463d3b Bump version to 3.0.197 2022-03-25 14:50:33 -04:00
Ryan Cramer
af451350a4 Add feature request processwire/processwire-requests#346 - add support for Inputfield::collapsedNoLocked and add a separate collapsedBlankLocked constant 2022-03-25 13:58:05 -04:00
Ryan Cramer
c4f2385e72 Add processwire/processwire-requests#400 Add CSV read helper methods $files->getCSV() and $files->getAllCSV() 2022-03-25 10:49:01 -04:00
Ryan Cramer
3f1f2ee4fb Add phpdoc "see" notes in Pages.php per processwire/processwire-issues#1547 2022-03-24 11:08:33 -04:00
Ryan Cramer
da060996ec Improvements to WireTextTools::markupToText() method with new options: The 'clearTags' removes inner content of specified tags, in addition to the tags themselves, default value removes inner content of script, styel and object tags (this is to accommodate feature requested in processwire/processwire-issues#1546). The 'linksToMarkdown' option converts HTML links to Markdown style links like "[text](url)" rather than the existing "text (url)" style links that it uses by default. This version also has additional logic to prevent empty list items and links. 2022-03-24 09:44:04 -04:00
Ryan Cramer
a5e397d005 Additional updates for processwire/processwire-issues#1467 2022-03-18 13:49:01 -04:00
Ryan Cramer
fd538897d0 Fix issue processwire/processwire-issues#1542 2022-03-18 08:57:19 -04:00