Commit Graph

1706 Commits

Author SHA1 Message Date
Ben Thomson a59d3b83eb Code quality clean up (#4449)
Credit to @bennothommo
2019-07-18 08:50:37 -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
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
Long Wen 2613141870 Update zh-cn/lang.php file (#4447)
Credit to @wenlong-date.
2019-07-11 17:21:24 +03: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
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
Kallef Alexandre 31b6a1f471 Improved Brazilian Portuguese translation (#4415)
Credit to @prhost
2019-06-27 10:34:26 -06:00
Luke Towers ae7da9f957 Retain support for PHP < 7.3, fixes #4405 2019-06-22 23:29:14 -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
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
Ben Thomson 8768e0a54c
Support environment variable for database templates 2019-06-06 21:22:05 +08: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 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 17cea816d8 enableDatabaseLayer -> databaseTemplates 2019-06-01 12:40:17 +10: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
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 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
Luke Towers a1e6849a71 Implemented easy impersonation of backend users controlled by the backend.impersonate_users permission 2019-05-09 10:36:46 -06:00
Klaas Poortinga de8004169a Improved Dutch translation (#4321)
Credit to @Klaasie.
2019-05-06 23:11:36 -06: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
joseph-d 7694865647 Fix backend list scrolling on mobile (#4304) 2019-04-30 15:36:36 +03:00
Samuel Georges 7a4052be60 Recompile assets
build-oc-plugins.js -> build-plugins.js
Refs #4075
2019-04-30 16:24:00 +10: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
Marc Jauvin 6c99aada0b Truncate URLs in the request log to 191 chars (#4287)
Credit to @mjauvin
2019-04-21 18:12:30 -06:00
Luke Towers 4abd74febc Improve support for PHP 7.2. Replaces #3440 2019-04-19 15:47:28 -06:00
Sajjad Servatjoo c5af51df25 Use the Model alias instead of a direct class reference (#3832)
Credit to @sajjad-ser
2019-04-19 15:21:44 -06:00
Jim Cottrell e2c89fb3a2 If using database, don't call plugin task scheduling until initial system migration runs. (#3712)
Fixes #3208. Replaces #3706. Credit to @jimcottrell
2019-04-19 14:54:48 -06:00
CSNWEB 044ae054f8 Wait until input is finished to fire requests fired by tracking input (#4238)
Fixes #4237. Credit to @CSNWEB
2019-04-19 10:52:50 -06:00
Ben Thomson 7b2a772525 Finish theme:sync command (#4276)
Credit to @bennothommo
2019-04-19 09:07:48 -06:00
Ayumi Hamasaki da2b0f6c5b Update jQuery from V3.3.1 to V3.4.0 (#4259)
Credit to @ayumihamsaki.
2019-04-18 23:04:12 -06:00
Luke Towers 4f0b237aad Use an embedded Form widget to process FileUpload properties
Fixes #2168, #3097. Related: https://github.com/rainlab/translate-plugin/pull/442
2019-04-17 18:48:32 -06:00
Rachasak Ragkamnerd 70cd444f8a Added support for 'cache' attribute to addJs() to disable CF RocketLoader (#4092)
Credit to @itpcc 

Due to CloudFlare Rocket Loader, CF will automatically try to optimize page loading speed by changing script type attribute. This breaks the script execution order and makes the user unable to upload the file(s) in the backend using "FileUpload" widget.

However, [CloudFlare allows adding "data-cfasync"](https://support.cloudflare.com/hc/en-us/articles/200169436-How-can-I-have-Rocket-Loader-ignore-specific-JavaScripts-) to prevent this. And it was used in the [commit #3841](https://github.com/octobercms/october/pull/3841/files).
2019-04-16 20:27:13 -06:00
Luke Towers 630d543959 Merge branch 'develop' into wip/halcyon-db-datasource 2019-04-11 12:30:29 -06:00
Szabó Gergő 7189cc7fcb Improved Hungarian translation (#4250)
Backend: Added new brand settings option label and no image message.
System: Added changelog and custom error messages.
Richeditor: Many correction (https://github.com/froala/wysiwyg-editor/blob/master/js/languages/hu.js).
2019-04-11 13:39:43 +03:00
Tobias Kündig 725253f601 Added overflow rules to preview form-control (#4236)
Credit to @tobias-kuendig
2019-04-05 09:20:53 -06:00
Marc Jauvin eaaf8a6b3d Added oc.inputPreset.beforeUpdate plugin hook (#4217)
Refs: https://github.com/rainlab/translate-plugin/issues/429
2019-04-02 08:48:53 -06:00
Siarhei Karavai 2e0d2d3888 Allow subdirectories in migration file names (#4225)
Credit to @GinoPane. Fixes #4224.
2019-03-31 08:46:33 -06:00
Tomasz Strojny 956a234920 Add ability to specify the connection used for running tests (#4159)
Credit to @czerwonyd
2019-03-31 06:28:24 -06:00
Aleksey Sannikov 8280047d30 Improved Russian Translation (#4221)
Credit to @jexme
2019-03-29 13:02:06 -06:00
Samuel Georges c5bc804d73 Remove redundant header_remove() call
The response is returned directly to the route so this is not needed, it was likely added as an artefact of a previous implementation

Refs #3773
Refs #3746
2019-03-29 06:02:06 +11:00
Samuel Georges 288d9543af Firefox testing
- 4K display fixes
- use doc.ready over win.load
- min-size can be 0.1px and still fix the table spacing issue
2019-03-29 04:33:18 +11:00
Luke Towers bb872f331c
Merge pull request #4218 from octobercms/fix/4209
Fixes #4209, replaces #4215
2019-03-28 09:43:09 -06:00
Samuel Georges f6a3d10dff Adjust styling of clear search button 2019-03-29 02:34:12 +11:00
Samuel Georges adc74ac02e Add changelog link to updates screen - Fixes #4101 2019-03-29 00:21:51 +11:00