4977 Commits

Author SHA1 Message Date
webmaxx
cc7d595fff Added maxFilesize option to the FileUpload FormWidget (#4077)
Credit to @webmaxx
2019-07-18 08:48:31 -06:00
Ayumi Hamasaki
ae5f1a4282 Clean up output of Twig dump() function (#4460)
Credit to @ayumihamsaki. Fixes #4446.
2019-07-17 22:54:24 -06:00
Alexander Guth
7557173df4 Fix text filter scope (#4445)
Credit to @alxy. Fixes https://github.com/octobercms/october/pull/4241#issuecomment-510140574
2019-07-17 15:12:32 -06:00
Ayumi Hamasaki
22847e7892 Improve backend accessibility (#4401)
Credit to @ayumihamsaki. Fixes #4400.

- Added WAI-ARIA to the layout templates files.
- Added Focus-ring polyfill to allow better keyboard navigation and screen reader support.
- Added WAI-ARIA to tabs and created keyboard arrow controls for tabs.
- Added event.key polyfill to allow removal of deprecated event.keyCode, event.charCode and event.which.
- Fixed all the whitespace, tabbing and indent issues with all the lang files.
- Keyboard navigation now allows the following key actions: Tab, Up Arrow, Down Arrow, Left Arrow, Right Arrow, Home and End buttons.
- Added keyboard navigation for tab panels.
2019-07-17 15:07:45 -06:00
Anita
e9665ab551 Fix layout of colorpicker for no custom color selected (#4457)
Credit to @anitaeisenhaber
2019-07-17 14:54:02 -06:00
Aleksey Sannikov
0df2e4e776 Update lang.php (Russian) (#4455)
Credit to @jexme.
2019-07-16 13:44:11 +03:00
Alexander Voronin
f4240d7e2c Fix: Disabled global AJAX events (#4282)
Credit to @VoroninWD.
2019-07-14 23:41:35 +03:00
Kallef Alexandre
94a71ff3da Improved Brazilian Portuguese translations (#4450)
Credit to @prhost
2019-07-13 16:42:43 -06:00
Luke Towers
c04b7faecc
Translate Inspector option titles 2019-07-12 09:42:22 -06:00
Dan Harrin
1089d8e763 Missing Spanish Translations (#4448)
Credit to @DanHarrin.
2019-07-12 11:02:39 +03:00
Long Wen
2613141870 Update zh-cn/lang.php file (#4447)
Credit to @wenlong-date.
2019-07-11 17:21:24 +03:00
Luke Towers
7782e04ef8
Fix typo
Credit to @alxy for spotting it
2019-07-09 09:52:30 -06:00
Luke Towers
e0e951dfcd
Disable searching and sorting on any_template
Fixes #4441. Make the new template and old template columns visible and sort by them instead if you need to sort by that column.
2019-07-09 08:38:30 -06:00
Luke Towers
029a299816
Remove support for invalid relation type column
Fixes #4443.
2019-07-09 08:25:08 -06:00
Luke Towers
f9f337e664
Only attempt to translate string values
Fixes #4398. Credit to @w20k for finding the issue.
2019-07-09 08:12:44 -06:00
Luke Towers
6f583b3920
Disable theme config cache when debug mode enabled 2019-07-08 16:25:25 -06:00
Ayumi Hamasaki
23282bbaa6 Accessibility enhancement for code editor icons (#4395)
Credit to @ayumihamsaki. Fixes #4392
2019-07-08 10:51:25 +03:00
Ben Thomson
be2a850787
Fix code quality errors in Lists widget 2019-07-07 14:49:56 +08:00
Ben Thomson
c1dcc62559
Increment column count when tree is shown
Fix centering of no record message in lists when tree is enabled.
2019-07-07 13:05:18 +08:00
Long Wen
07a852ed8a Fix selection issue for similar-named CMS objects (#4433)
CMS objects with the same name as another object (eg. "test.htm" for a page and "test.htm" for a partial) were unable to be selected (selecting the partial selected the page).

Credit to @wenlong-date.
2019-07-05 16:47:30 +08:00
Alexander Guth
7c6631f2d4
Fix error when $user is null
I have no idea why the $user variable can ever be null in the first place, but for me it happens if I remove all main menu items (including the settings). The same check is already in place at the navigation manager: https://github.com/octobercms/october/blob/master/modules/backend/classes/NavigationManager.php#L509-L511
The change shouldn't brake anything.
2019-07-03 22:17:36 +02:00
Luke Towers
217d52bc77
Add open collective link to support options 2019-07-02 23:55:35 -06:00
Tobias Kündig
604f0d060d Make plugin dependency checks case-insensitive (#4337)
Normalize the plugin identifier before lookup in the `hasPlugin` call, which should allow plugin dependencies to resolve if mis-cased in the Plugin `$require` property.

Credit to @tobias-kuendig.
2019-07-02 22:12:29 +08:00
Ben Thomson
5b80ad2501
Add additional test cases for PluginManager (#4427)
- Add dependency tests
- Add tests that check wrong casing in requirements
- Clean up current tests
- Provides test case for https://github.com/octobercms/october/pull/4337
2019-07-02 15:34:41 +08:00
Dan Harrin
7f29cbe13c Fix support for custom Select2 options via the AJAX framework (#4414)
Fixes #4413. Credit to @DanHarrin
2019-07-01 09:04:15 -06:00
Ben Thomson
3eac21219f
Clean up index functionality in Repeater widget (#4424)
- Remove $indexCount property, as it is no longer needed
- Determine highest key number in data, and increment when adding item
- Remove some old code and dependencies

Fixes #4402.
2019-06-29 13:42:45 +08:00
Luke Towers
315e2dcac5
Add links to sponsoring locations 2019-06-28 15:16:50 -06:00
Kallef Alexandre
31b6a1f471 Improved Brazilian Portuguese translation (#4415)
Credit to @prhost
2019-06-27 10:34:26 -06:00
Ayumi Hamasaki
884042952f Block off SW running in backend and reduce lookups (#4385)
Credit to @ayumihamsaki. Related #4384
2019-06-25 17:15:11 +03:00
Ben Thomson
53a825222d
Add exceptions to PHPCS as per developer guide 2019-06-25 17:42:40 +08:00
Ben Thomson
8d02c5e935
Fix code coverage test for single commits 2019-06-24 15:44:06 +08:00
Ben Thomson
95b9a8a9fd
Fix Travis CI file scope (#4408)
Original PR (#4394) was picking up changes from other branches as well as from `master`. This change should limit the scope of files to just the changed files in this PR.
2019-06-24 13:47:47 +08:00
Ben Thomson
6fb6e5f71c
Improve Travis CI build process (#4394) 2019-06-24 07:38:41 +08:00
Luke Towers
ae7da9f957 Retain support for PHP < 7.3, fixes #4405 2019-06-22 23:29:14 -06:00
Luke Towers
a1b1018083 Typo fix 2019-06-21 12:08:36 -06:00
fansaien
b1b9141dcc Improve support for protected files on S3 (#4390)
Credit to @fansaien. S3 supports generating temporaryUrls to files that don't exist yet so this adds a check to make sure temp URLs are only generated for valid files.
2019-06-21 00:24:08 -06:00
Petr Popov
ba0da07c46 Fix FormData initialization (#4391)
Credit to @Air-Petr.
2019-06-19 12:59:13 +03:00
Rike-cz
acf4577255 Add preview mode for taglist widget (#4349)
Credit to @Rike-cz.
2019-06-19 08:22:36 +08:00
Ayumi Hamasaki
f4e50ddd1a Add new Performance API's to October CMS (#4285)
PR adds a new Priority Hints API, Preload API and async to the October CMS AJAX injected code and a new Priority Hints API to the loaded assets in the head section.

Credit to @ayumihamsaki. Related #4277, #4030
2019-06-17 01:17:34 +03:00
Luke Towers
46c867e4b5 Improve API docs
Resolves #4214
2019-06-12 00:33:30 -06:00
Luke Towers
71241ee6d4 Fix error messages in RelationController
Fixes #4342
2019-06-12 00:26:55 -06:00
Denis Denisov
882f317cd8 Use default options when generating thumbnails for private files (#4353)
Fixes #4351. Credit to @w20k @redmarlin.
2019-06-11 23:15:19 -07:00
Ben Thomson
19846037f8 Hide popup loading indicator if an error/flash is thrown from an AJAX handler (#4364)
Fixes rainlab/builder-plugin#283. Credit to @bennothommo 

When using the popup widget with an AJAX handler, a loading indicator appears whilst the AJAX handler is being run. If an exception or error occurs at this point in time, the exception is shown, but neither the loading indicator nor the backdrop are removed as the popup is technically not 'open' at this stage. This fix should resolve this by tracking the loading state of the popup and removing the backdrop and loading indicator if needed.
2019-06-11 07:52:00 -07:00
Panagiotis Koursaris
8811c3dcd4 Fix: Hard-coded URL in ControllerTest::testThemeUrl (#4378) 2019-06-11 11:15:01 +03:00
Maria Vilaró
faf3069656 Add tests for optional wildcard (#3964)
Related: https://github.com/octobercms/library/pull/363
2019-06-11 11:08:08 +03:00
Alexander Voronin
c7cea9fd83 Update path to video-poster.png (#4240)
Now located in Backend module, not CMS module. Credit to @VoroninWD.
2019-06-10 00:24:34 +08:00
Ben Thomson
a777c44cb4
Remove typehints for database template methods.
Instead check the CmsObject class inheritence in the methods. Fixes #4376
2019-06-09 23:33:38 +08:00
Ben Thomson
6d283829c0
Store limited list widget configuration in user preferences (#4360)
Provides a new method of storing the list page count and visible column configs that survives a user logging out then logging back in to October. In addition, the users are provided with a "Reset to Default" button in the config modal allowing them to use the default list config if preferred.
2019-06-08 11:28:08 +08:00
Larry Barker
66776e0614 Fix empty menu item counter (#4374)
Remove empty counter from main menu items when set to false. Fixes #4371. Credit to @LarBearrr
2019-06-06 19:16:55 -07:00
Ben Thomson
8768e0a54c
Support environment variable for database templates 2019-06-06 21:22:05 +08:00