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

2927 Commits

Author SHA1 Message Date
Ryan Cramer
9c14e27576 Minor pasteFilter update in InputfieldTinyMCE.js 2024-02-23 09:35:55 -05:00
Ryan Cramer
d5116166d0 Phpdoc documentation updates in RepeaterPageArray.php file 2024-02-23 09:34:04 -05:00
Ryan Cramer
47c639617c Fix issue processwire/processwire-issues#1878 2024-02-21 11:08:07 -05:00
Ryan Cramer
1f2d597f52 Fix issue processwire/processwire-issues#1886 2024-02-21 10:09:47 -05:00
Ryan Cramer
c6dc986f9c Fix issue in PagesPathFinder where it could return a 200 rather than 301 in some cases for multi-language URLs that were missing the leading language segment and 'verbose' mode was disabled. 2024-02-21 09:31:59 -05:00
Ryan Cramer
b5d8a91e49 Fix issue processwire/processwire-issues#1882 2024-02-20 11:08:58 -05:00
Ryan Cramer
f3e614640b Fix issue processwire/processwire-issues#1881 2024-02-20 09:31:26 -05:00
Ryan Cramer
3e90cb74fa Fix issue processwire/processwire-issues#1879 2024-02-20 09:03:47 -05:00
Ryan Cramer
71a1e9c9d9 Bump version to 3.0.236 2024-02-16 08:31:41 -05:00
Ryan Cramer
a53b4e5310 Update inputfields.js dependences so that they can work with Page selection fields (PageAutocomplete, PageListSelect, etc.) when used outside of an InputfieldPage, such as in a module config, field config, etc. Related to processwire/processwire-issues#1873 2024-02-15 12:39:16 -05:00
Ryan Cramer
3ab315dca4 Add an update for processwire/processwire-issues#1873 2024-02-15 12:34:09 -05:00
adrianbj
94653012be Add PR #255 - updates inputfields.js to add support for repeater 'forpage' selectors in showIf dependencies 2024-02-15 10:50:19 -05:00
erikmh
f801fef42b Add PR #279 which fixes a ParseDown extra PHP 8.2 deprecation notice 2024-02-15 10:26:00 -05:00
Ryan Cramer
caa8e7e421 Some upgrades to Repeater and RepeaterMatrix: Added processwire/processwire-requests#474 which enables open/close for family groups of repeater items together, so that when using depths, and you open (or close) a repeater item, items that are visually children of it also open (or close). To enable, see the field "Details" tab setting in "Repeater depths/indents" > "Open/close items as a family?". Also added a configuration setting that enables you do disable the automatic scrolling to newly added items, as requested by @hiboudev 2024-02-14 12:13:54 -05:00
Ryan Cramer
a5f6cabbcf Fix for processwire/processwire-issues#1873 2024-02-13 11:26:02 -05:00
Ryan Cramer
db358ee4db Add loading="lazy" option for <img> tags in Textarea fields (TinyMCE, CKEditor) that is inserted at runtime when output formatting enabled. To turn this on, edit your Textarea field and on the Details tab, see the HTML options. This was added for processwire/processwire-requests#455 2024-02-09 14:28:59 -05:00
Ryan Cramer
215010386f Page::render() and PageRender::renderPage() documentation updates per processwire/processwire-requests#459 2024-02-09 13:23:59 -05:00
Ryan Cramer
97db8e8783 Add hookable InputfieldPage::renderPageLabel() method for processwire/processwire-requests#460 2024-02-09 12:09:45 -05:00
Ryan Cramer
9fe7e95840 Add processwire/processwire-requests#466 which fixes template order in InputfieldSelector. While there, I also updated it to correct field and option order in a couple other spots. 2024-02-09 10:40:50 -05:00
Ryan Cramer
d2fccd84af Update to Page API for getting/setting multi-language values. Added $page->setLanguageValues() and $page->getLanguageValues() for setting and getting values from multiple languages at once. Added $page->setLanguageStatus() and $page->getLanguageStatus() for setting/getting the active status of a language or multiple languages at once (replaces odd calls like $page->status1234 = true). Added $page->setLanguageName() and $page->getLanguageName() for setting/getting the name of a page in a particular language or languages (replaces odd calls like $page->name1234 = 'page-name-in-spanish'). See the method descriptions in the Page class for details on usage. There are also examples of usage in the hook method implemenations in LanguageSupport.module and LanguageSupportPageNames.module. This was added for processwire/processwire-requests#475 but ended up taking it a little further. 2024-02-08 13:15:57 -05:00
Ryan Cramer
660ea79496 Add a few new LazyCron methods: getTimeFuncs(), getTimeFuncName($seconds), adn getTimeFuncSeconds($timeFuncName) for processwire/processwire-requests#485 2024-02-07 10:39:24 -05:00
Ryan Cramer
0a926b58fa Additional updates for ProcessModule README viewer for processwire/processwire-requests#498. Now if you have a ModuleName.README.md file, it will display automatically above the module config settings. This update also makes any relative <a href=/url/> or <img src=file.jpg automatically point to the module's /site/modules/ location, so that an <img src="file.jpg"> automatically updates to <img src="/site/modules/ModuleName/file.jpg">. Links to README.md or CHANGES.md are updated to use the built in-viewer. Other links are converted to target=_blank links, so that they don't take over the iframe used by the modal. You can use {MODULE_INFO.NAME}, {MODULE_INFO.TITLE}, and so on for any module info property, to have it convert automatically to the appropriate value (this was requested by Bernhard). Lastly, this update also adds support for text-only files like README.txt, CHANGELOG.txt, LICENSE.txt. 2024-02-06 12:06:38 -05:00
Ryan Cramer
a3f884146f Add README markdown viewer to ProcessModule per request processwire/processwire-requests#498 2024-02-02 15:07:17 -05:00
Ryan Cramer
8c80c524b1 Add OPTIONS, CONNECT and TRACE to alowed HTTP methods in WireHttp class per processwire/processwire-requests#505 2024-02-02 13:55:42 -05:00
Toutouwai
f02393e538 Add PR #278 which adds new imSaveReady() hookable method to ImageSizerEngineIMagick module 2024-02-02 13:02:20 -05:00
Ryan Cramer
9af0aaf2b2 Add support for <hr> elements in InputfieldSelect/InputfieldSelectMultiple per processwire/processwire-requests#508 2024-02-02 12:50:38 -05:00
Ryan Cramer
ddbbbcc4e6 Optimization in MarkupFieldtype to prevent triggering WireClassLoader unnecessarily 2024-02-02 10:53:04 -05:00
Ryan Cramer
ef3ee4645f Improve error messages in PageValues class when given Page does not have a template assigned. When in debug mode, it also becomes a non-fatal error so that you can more easily fix it. 2024-01-26 14:30:07 -05:00
Ryan Cramer
b41c0dd098 Fix issue processwire/processwire-issues#1870 2024-01-26 14:07:35 -05:00
Ryan Cramer
95e10b89b9 InputfieldTinyMCE: Add support for new "remove all style attributes" option to the Markup Toggle settings. Plus refactoring of the pasteFilter JS in attempt to fix processwire/processwire-issues#1866 which should improve pasting from MS Word. 2024-01-26 13:45:08 -05:00
Ryan Cramer
d37b2d40d7 Bump version to 3.0.235 2024-01-19 16:09:33 -05:00
Ryan Cramer
db04f2d2e6 Reverse CKEditor version change as the new one seems to have some issues and it attempts outbound http requests to ckeditor.com (presumably version checks but may be tracking) 2024-01-19 15:01:05 -05:00
Ryan Cramer
091d875f50 Upgrade CKEditor version from 4.19.0 to 4.22.1 (for InputfieldCKEditor module) 2024-01-19 14:55:17 -05:00
Ryan Cramer
bc888f8b52 Update TinyMCE version from 6.4.1 to 6.8.2 (for InputfieldTinyMCE module) 2024-01-19 14:34:12 -05:00
Ryan Cramer
91eff3074d Add DB socket support to PW installer per request processwire/processwire-issues#1850 2024-01-19 13:53:08 -05:00
Ryan Cramer
511f237429 Add note about default timeout value in WireHttp per processwire/processwire-issues#1868 2024-01-19 10:39:53 -05:00
Ryan Cramer
a3aa5c4dd0 Attempt fix for issue processwire/processwire-issues#1867 2024-01-19 10:31:41 -05:00
Ryan Cramer
3856a200ea Update ProcessPageEdit to show what Page class is being used on the Settings tab > Info fieldset. 2024-01-18 11:26:58 -05:00
Ryan Cramer
1647690bc8 phpdoc updates in FieldtypeRepeater 2024-01-18 11:26:03 -05:00
Ryan Cramer
50a7b4c7c4 Additional update for custom page classes for repeater page items. processwire/processwire-requests#239 2024-01-18 11:24:37 -05:00
Ryan Cramer
1216340a46 Update to previous commit 2024-01-14 11:54:25 -05:00
Ryan Cramer
3717a85f3b Fix issue in InputfieldInteger where it could show an unnecessary error message when using min/max settings and no value has yet been set 2024-01-14 10:25:39 -05:00
Ryan Cramer
bad69efd8e Fix typo in phpdoc since tags 2024-01-12 13:25:47 -05:00
Ryan Cramer
275651bb5a Add support for custom page classes for repeaters (RepeaterPage items). See instructions in the new getCustomPageClass() and setCustomPageClass() methods in FieldtypeRepeater.module. This also is in response to processwire/processwire-requests#239 though a little different than what was discussed in that thread 2024-01-12 13:23:05 -05:00
Ryan Cramer
52da051446 Fix issue in ProcessTemplate where importing fields from another template didn't also import their field-template context customizations 2024-01-12 12:12:16 -05:00
Ryan Cramer
9dec9782e1 Fix issue in file/image fieldtypes presets where default textformatters weren't defined properly 2024-01-12 11:53:05 -05:00
Ryan Cramer
32d425aead Update copyright date in installer footer 2024-01-12 11:52:43 -05:00
Ryan Cramer
baf05a8777 Improvements and fixes to ProcessPageSort module. This should also fix processwire/processwire-issues#1848 2024-01-12 11:51:48 -05:00
Ryan Cramer
8a1f706be9 Add new $pages moveReady(), restoreReady(), and renameReady() hooks. Add option for callback hook on $pages->save(). Improvements to PagesTrash class. Update $pages class so restored() hook does not ever need to be called manually, and update ProcessPageEdit to reflect that. 2024-01-12 11:49:51 -05:00
Ryan Cramer
98fe7f94a0 Add support for a $page->sortPrevious property, which is populated with the old value when a page's sort value is changed at runtime. 2024-01-12 11:45:31 -05:00