Commit Graph

4786 Commits

Author SHA1 Message Date
Luke Towers 25511bfd34 Added storage/framework/cache/data folder required by 5.6. 2019-06-12 02:25:50 -06: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
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
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. 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
Luke Towers 9f08086c27 Open `rowlink` rows in a new tab when the Command or Ctrl key is held down (previously only did it for the Ctrl key) 2019-05-10 17:46:20 -06:00
Marc Jauvin 8448d4b972 Fix media manager access (#4305) 2019-05-10 20:59:57 +03:00
Luke Towers a1e6849a71 Implemented easy impersonation of backend users controlled by the backend.impersonate_users permission 2019-05-09 10:36:46 -06:00
Jim Cottrell 7fc01bb9ca Disable in-memory cache repository when running in CLI by default (#4323)
Fixes #4057. Related https://github.com/octobercms/library/pull/401. Credit to @jimcottrell
2019-05-07 12:34:46 -06:00
Klaas Poortinga de8004169a Improved Dutch translation (#4321)
Credit to @Klaasie.
2019-05-06 23:11:36 -06:00
Alexander Guth ee8287e598 Add "onUpload" AJAX handler to FileUpload widget (#4311)
Run an AJAX handler on uploading and processing a file as opposed to using a post() data check in the widget initialization, as the widget may initialize several times in certain circumstances - eg. inside a relation widget.

Credit to @alxy. Refs: https://github.com/octobercms/october/issues/4300
2019-05-07 11:44:25 +08:00
Alexander Guth 4e92686c1a Add support for filters in the RelationController configuration (#4241)
Credit to @alxy. Docs: https://github.com/octobercms/docs/pull/368
2019-05-04 09:08:12 +08:00
HOOP Mediaclinic 5055c830e9 Finnish language update (#4177)
* Finnish language update
* Fixed missing ] and added 'scopes'
* Tabs to spaces, removed comma
* Translation file fixes
Removed tabs, fixed indentation
2019-05-03 18:51:44 +03:00
Pindagus 4fd5bf5140 Prevent subject and password from being HTML encoded in the invite email (#4301)
Credit to @Pindagus. Related: ac5bc866ff
2019-04-30 09:13:55 -06:00
joseph-d 7694865647 Fix backend list scrolling on mobile (#4304) 2019-04-30 15:36:36 +03:00
Samuel Georges 3e5449c855 Include CSRF token in uploads to richeditor
Fixes #4302
2019-04-30 16:27:55 +10:00
Samuel Georges 7a4052be60 Recompile assets
build-oc-plugins.js -> build-plugins.js
Refs #4075
2019-04-30 16:24:00 +10:00
Marc Jauvin edf6e135e2 Seperate proprietary and ocms js asset bundles (#4075)
* register a new bundle

* add the new bundle target asset

* remove the non-proprietary source file from the proprietary bundle definition

* create a new build target for the non-proprietary asset files

* remove the non-proprietary code from the compiled proprietary asset

* add compiled and minified build-ocms file

* add missing line at the end

* use better asset file names
2019-04-30 16:19:17 +10:00
Patrik Nemeček b345191b3f Add escaping of values to more backend fields (#4296)
Credit to @patriknemecek
2019-04-26 12:05:08 -06:00
Denis Denisov bb37068b1a Remove functionality to swipe between tabs on mobile (#4103)
Fixes #4037. Credit to @w20k
2019-04-25 01:48:12 -06:00
Hoang Stark 6f1b94a67b Fix input preset converter for Vietnamese (#4290)
- Ơ/ơ -> o
- Ư/ư -> u
- Đ/đ -> d (updated in Serbian's map)
2019-04-22 21:57:00 +03:00
Samuell 0fdd3c32cb Properly isolate theme's config cache (#4284)
Fixes support for switching between themes. Credit to @Samuell1 and @w20k
2019-04-21 18:16:29 -06:00
Marc Jauvin 6c99aada0b Truncate URLs in the request log to 191 chars (#4287)
Credit to @mjauvin
2019-04-21 18:12:30 -06:00