1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-28 17:10:04 +02:00

2594 Commits

Author SHA1 Message Date
Ryan Cramer
808ba2ddb3 Rewrite/refactor ProcessPageView module so that it now uses the new core PagesRequest/PagesPathFinder classes. 2021-10-01 13:43:22 -04:00
Ryan Cramer
59c8880dc1 Add new $pages->getInfoByPath() method which is a shortcut to the new $pages->pathFinder()->get($path) method. Also add a new $pages->getOneById() method which is a shortcut to the $pages->getById() method with the 'getOne' option assumed (so it returns a Page rather than a PageArray). 2021-10-01 13:41:56 -04:00
Ryan Cramer
38b06b36f7 Several upgrades to the LanguageSupportPageNames module, with more on the way. Also adds a new module config option (and hook) for letting you specify what should happen when a page is accessed in a language it is not available in (redirect or 404). Note that this update drops existing pages table indexes used by this module and re-creates them in a manner that significantly improves performance. For a large site, there may be a significant delay following upgrade as it creates the new table indexes. Remember to do a Modules > Refresh so that PW sees the version change. 2021-10-01 13:35:40 -04:00
Ryan Cramer
8994317163 Add a new $pages->loader()->findByName() method plus performance improvements to the $pages->findByPath() method 2021-10-01 13:32:47 -04:00
Ryan Cramer
742e3e683d Add a $languages->pageNames() shortcut method for accessing the LanguageSupportPageNames module directly, when installed. 2021-10-01 13:26:25 -04:00
Ryan Cramer
45bffa6f72 Add new Template::isValidUrlSegmentStr($value) method that validates if given URL segment string $value matches the rules defined for that template. 2021-10-01 13:25:11 -04:00
Ryan Cramer
41bc9700e6 Upgrade the core PagePathHistory module with a powerful new getPathInfo() method (used by PagesPathFinder class when installed) 2021-10-01 13:24:21 -04:00
Ryan Cramer
27e2c226f3 Add $user->setLanguage() method for quietly setting a user language at runtime 2021-10-01 13:23:11 -04:00
Ryan Cramer
d0f7961d89 Upgrade core PagePaths module for multi-language page name support. Previously it asked you to uninstall it if you had multi-language, but now it has full support! 2021-10-01 13:21:00 -04:00
Ryan Cramer
fc1b252d04 Add $input->setUrlSegments() convenience method to WireInput 2021-10-01 13:19:38 -04:00
Ryan Cramer
62a64de93b Add PagesRequest class to core 2021-10-01 13:18:47 -04:00
Ryan Cramer
c02a9d6f4d Add PagesPathFinder class to core 2021-10-01 13:17:44 -04:00
Ryan Cramer
8cb157abbb Bump version to 3.0.185 2021-09-17 15:50:07 -04:00
Ryan Cramer
75db68ef06 Several additions to $database API var: Add option to $database->getColumns() method to get the column type as used in a CREATE TABLE statement. Add $database->renameColumns() and $database->renameColumn() methods that enable you to rename columns without having to know the column type (something that MySQL versions prior to 8.x require). Add a $getNumberOnly argument to $database->getVersion() method to return the version number without vendor suffix. Add a $database->getServerType() method that returns the MySQL server type: MariaDB, MySQL, Percona, etc. 2021-09-17 15:49:15 -04:00
Ryan Cramer
f5c3fada32 Minor code updates in $modules plus a small documentation update for WireMail 2021-09-17 15:44:17 -04:00
Ryan Cramer
82342089bc Fix issue processwire/processwire-issues#1437 2021-09-17 09:27:29 -04:00
Ryan Cramer
ba14fbde0a Fix issue processwire/processwire-issues#1436 where $pages->findJoin() used on file/image fields was resulting in them being blank in returned pages 2021-09-17 08:14:54 -04:00
Ryan Cramer
976ca7ab25 Fix issue processwire/processwire-issues#1438 2021-09-13 14:34:33 -04:00
Ryan Cramer
5fc01ef102 Minor refactoring/updates in PageRender, plus remove the template!=admin exclusion for the field rendering 2021-09-10 12:00:08 -04:00
Ryan Cramer
429e43506c Refactoring in PageFinder to support new features such as OR values for status (i.e. "status=hidden|unpublished"), updating limit to support both start and limit in one (i.e. "limit=5|10" is shorthand for "start=5, limit=10"), updating sort to support multi-value (i.e. "sort=date|title" is shorthand for "sort=date, sort=title"), plus other related minor improvements. 2021-09-10 11:05:18 -04:00
Ryan Cramer
70ff49dfc4 Update WireDatabasePDO::pdoType() to fix issue in reader/writer detection when query had leading whitespace or newlines in unexpected locations 2021-09-10 08:57:09 -04:00
Ryan Cramer
d78276e2c2 Fix small typo in phpdoc fix per @matjazpotocnik 3.0.184 2021-08-27 13:48:48 -04:00
Ryan Cramer
0632599385 Bump version to 3.0.184 2021-08-27 07:00:31 -04:00
Ryan Cramer
fb32ed605b README updates and related 2021-08-27 07:00:11 -04:00
Ryan Cramer
25e89c35c9 Add in-progress items that need more work or testing as to-do’s for next dev branch 2021-08-26 08:11:03 -04:00
Ryan Cramer
e6e08ad3fb Fix issue processwire/processwire-issues#1335 - inserting <figure><img> nodes in Safari deleting content after the <figure> 2021-08-25 13:46:41 -04:00
Ryan Cramer
212406b173 Fix issue processwire/processwire-issues#1431 2021-08-25 07:37:19 -04:00
Ryan Cramer
9ba7844a5d Fix "OR-condition not allowed" error introduced from a change related to processwire/processwire-issues#1428 2021-08-22 08:25:45 -04:00
Ryan Cramer
1043e73ab8 Add support for an Inputfield "changed" JS event in inputfields.js 2021-08-20 13:47:46 -04:00
Ryan Cramer
a00e89d0ed Minor improvements in SessionHandlerDB and ProcessSessionDB 2021-08-20 13:45:17 -04:00
Ryan Cramer
616c388f29 Various minor updates 2021-08-20 13:41:25 -04:00
Ryan Cramer
46a8ace31d Add exception to warn of unsupported OR condition in PageFinder per processwire/processwire-issues#1428 2021-08-20 13:19:25 -04:00
Ryan Cramer
c2db767863 Fix issue processwire/processwire-issues#1423 wording adjustment in FieldtypePage.module 2021-08-20 11:14:10 -04:00
Ryan Cramer
6c8d35f18d Fix issue processwire/processwire-issues#1426 2021-08-20 10:52:26 -04:00
Ryan Cramer
4123181bd5 Upgrades to MarkupRSS module, add support for xmlns:content for option to include full HTML of content, plus fix processwire/processwire-issues#1427 2021-08-20 10:41:42 -04:00
Ryan Cramer
6871035292 Upgrade InputfieldRadios and InputfieldCheckboxes to support a 'optionWidth' configuration property per processwire/processwire-issues#1327 2021-08-19 12:49:12 -04:00
Ryan Cramer
6fdf82ba16 Fix JS notice appearing from a recent update to ProcessPageEdit.js 2021-08-19 10:40:16 -04:00
Ryan Cramer
bcb699a50e Fix issue processwire/processwire-issues#892 2021-08-19 10:31:29 -04:00
Ryan Cramer
d691f8e5ea Fix issue processwire/processwire-issues#956 - Add/fix support for CKEditor context-specific settings when in Repeater item 2021-08-19 09:26:35 -04:00
Ryan Cramer
2862114021 Fix issue processwire/processwire-issues#1116 - MarkupQA handling of abstracted URLs that also contain URL segments appended to them. 2021-08-18 11:14:31 -04:00
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
77fbeccb59 Update ProcessForgotPassword for IPv6 address suppport 2021-08-13 15:05:49 -04:00
Ryan Cramer
035e947a5a Fix issue processwire/processwire-issues#1134 2021-08-13 14:26:31 -04:00
Ryan Cramer
b606349c08 Fix issue processwire/processwire-issues#1303 PageFrontEdit limit to single-line input on 1-line text fields 2021-08-13 13:58:54 -04:00
Ryan Cramer
f1150127ea Fix issue with PageEdit <h1> title not supporting update-as-you-type feature when editing in non-default language 2021-08-13 10:27:04 -04:00
Ryan Cramer
4b7400f20c Fix issue processwire/processwire-issues#1094 2021-08-13 10:13:57 -04:00
Ryan Cramer
5282e5d737 Fix issue processwire/processwire-issues#1220 2021-08-12 13:10:55 -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