5155 Commits

Author SHA1 Message Date
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
Sebastiaan Kloos
f921af4199 Fix menus not being displayed with database templates (#4362)
Credit to @SebastiaanKloos.
2019-06-06 21:05:38 +08:00
Szabó Gergő
0d76ac9584 Fix: Apply custom secondary color to Pages list (#4355)
Credit to @gergo85.
2019-06-04 11:22:25 +03:00
Marc Jauvin
30f4d4c5af Fix: Restore FroalaEditor extendability (#4356)
Credit to @mjauvin.
2019-06-03 14:15:47 +03:00
Luke Towers
15e3bd131a
Merge pull request #4358 from octobercms/wip/file-improvements
Use temporaryUrls for protected files if the storage driver supports them. Related: octobercms/library#406
2019-06-02 20:49:12 -06:00
Samuel Georges
1ad43554d4 Compile rich editor with inline style and class
Fixes #3883
2019-06-01 14:43:07 +10:00
Samuel Georges
e7ec0be0c1
Merge pull request #3908 from octobercms/wip/halcyon-db-datasource
Database layer for the CMS objects
v1.0.456
2019-06-01 14:28:34 +10:00
Samuel Georges
6f021d5f20 Refactor ThemeSync console command 2019-06-01 13:42:29 +10:00
Samuel Georges
8c398e7ad5 cms_theme_contents -> cms_theme_templates 2019-06-01 12:45:29 +10:00
Samuel Georges
17cea816d8 enableDatabaseLayer -> databaseTemplates 2019-06-01 12:40:17 +10:00
Luke Towers
e87184d2bd Fix for installs that don't use the cloud drivers 2019-05-31 01:03:07 -06:00
Luke Towers
ef4f1e49ee Added temporaryUrlTTL configuration option, switched is_a() to instanceof 2019-05-31 00:53:27 -06:00
Luke Towers
aea4857eba Use temporaryUrls for protected files if the storage driver in use supports them 2019-05-30 17:47:01 -06:00
Ayumi Hamasaki
48a78bd918 Remove the extra head info
Remove these extra lines of code - not needed
2019-05-27 17:12:52 +01:00
Ayumi Hamasaki
6b5eaf42df Fixed the CSP Issue
Have removed all the Data: elements and will now pass with a basic CSP Policy
2019-05-27 16:52:08 +01:00
Scott Bedard
85c7ba34c9 Default to full width (12cl) dashboard widgets (#4348) 2019-05-26 09:07:47 +03:00
Rike-cz
83e48c9625 Media Manager with SVG preview (#4011) 2019-05-25 15:51:50 +03:00
SeriousKen
a9e198c8b4 Add check to make sure event result is an array in Form widget (#4331)
Wildcard listeners will add null responses to the event result array and causes an error when they are merged into the result. This PR adds a check to see if each event result is an array before adding it to the result array.

Credit to @SeriousKen. Fixes https://github.com/OFFLINE-GmbH/oc-clockwork-plugin/issues/1
2019-05-20 13:32:29 +08:00
Luke Towers
019b0a3a6c Added maintenance mode view.
Refs: https://github.com/octobercms/october/issues/2830
2019-05-15 19:20:25 -06:00
Luke Towers
7590dfd30f Respect ignoreTimezone in the datepicker 'date' mode. v1.0.455 2019-05-14 13:09:48 -06:00
Luke Towers
bcd5156497
Merge pull request #4336 from octobercms/master
Fix group index mapping in Repeater widget (#4334)
2019-05-14 12:29:09 -06:00
datune
a8d9dcf985 Fix group index mapping in Repeater widget (#4334)
Fixes a bug which causes grouped repeaters to lose data when repeater items are re-ordered and saved, due to the data indexes not being correctly mapped to the corresponding form widget.

Credit to @datune.
2019-05-14 23:34:12 +08:00
Luke Towers
f861b2ca5d Added disabled style for switch field types 2019-05-10 18:30:52 -06:00