Commit Graph

1996 Commits

Author SHA1 Message Date
Samuel Georges adb303a53c Always sort plugins by key, then dependencies
This has been benchmarked and appears to have minimal impact on performance and solves unnecessary randomness and race conditions during the app's registration and boot cycle

Fixes #4826
2019-12-21 20:50:28 +11:00
Samuel Georges 21f8c5f272 Fixes styling issue when quick select is forced
Replaces #4827
2019-12-21 13:46:06 +11:00
Ben Thomson a53cc52752
Correctly display HTML entities in event log (#4566)
This changes the event log to use a partial for the log message which double-encodes the data. When using formatted view in the log viewer widget, the HTML entites are allowed by decoding back a step. When in raw view, the HTML entities are kept double-encoded.

Fixes #4558.
2019-12-17 22:43:44 +08:00
Samuel Georges 5839b6869a Recompile assets 2019-12-10 20:41:19 +11:00
Blaž Oražem 8abed1794f Slovenian language added (#4796)
* Add Slovenian language
2019-12-10 20:17:42 +11:00
Samuel Georges 70e57120d0 ApplicationException -> SystemException
This appears to be a typoe. It doesn't make sense to ever log "user errors", only "system errors"

Fixes #4569
2019-12-10 19:59:49 +11:00
Larry Barker 2b05d01c6c Support additional file name and path characters in media manager (#4564)
* Support additional file name and path characters in media manager

When working with abstract file names that may contain additional characters, such as quotes or ampersands, the media manager would throw an error. This PR adds two additional characters to the character whitelist.

* Add unicode filename to tests
2019-12-05 19:44:04 +11:00
Samuel Georges ee4078ac44 Tweak chart markup to not depend on an external class
This fixes the rendering of the example markup. The line chart has no styles but just needs to know the display height
2019-12-04 08:25:44 +11:00
Ben Thomson 1283121069
Trigger "change" event when time picker is changed
This allows dependent fields (ie. dependsOn) to trigger correctly when a time field, or the time part of a datetime field, is changed.

Fixes #4268
2019-11-30 00:09:49 +08:00
Luke Towers 7e98e199a4 Revert #4567, fixes #4648.
If including the asset extension is important, this can be done by listening to the `system.assets.beforeAddAsset(&$type, &$path, &$attributes)` event introduced in Build 460.
2019-11-28 10:32:34 -06:00
Ben Thomson 9b72c2d181
Number range filter improvements (#4789)
- Allow minimum or maximum to be unspecified, meaning you want everything up to maximum, or everything above minimum.
- Allow for zero values to work
- Tweak display of infinite values

Fixes #3982.
2019-11-28 22:23:28 +08:00
Samuel Georges 566f138eab Fixes touch events in sortable plugin
Refs #4791
Refs #4777
Refs #3755
2019-11-28 21:03:32 +11:00
Ben Thomson e9abdf7783
Parenthesise some double ternary conditions in Asset Combiner.
Improve compatibility with PHP 7.4, where "Unparenthesized `a ? b : c ?: d` is deprecated"

Fixes #4790.
2019-11-28 09:21:03 +08:00
Samuel Georges 18398a8318 Add touch events back to modernizer 2019-11-25 16:59:20 +11:00
Marc Jauvin 992e84e602 Add missing documentation comment blocks for fired events (#4788)
Credit to @mjauvin.
2019-11-24 23:59:00 -06:00
Luke Towers 106756d656 Fixed conflict between JS input trigger plugin & JS filter plugin.
Related: https://github.com/octobercms/october/issues/3202#issuecomment-556042766
2019-11-22 18:39:25 -06:00
Ben Thomson 7e3136564f
Merge branch 'develop' into wip/laravel-5.9 2019-11-21 23:18:25 +08:00
Jim Cottrell b5ed0b313a Restore support for Select2 data format in custom select control (#4712)
Credit to @jimcottrell. Refs: #4413
2019-11-19 15:13:08 +08:00
Marek Erben 1b4147212d Improved Czech translations in /modules/system/lang (#4773)
Credit to @maraerben.
2019-11-19 11:49:05 +08:00
Luke Towers 19ce51ba4a Implemented client side refresh of dependent options & server side checking of valid filter values before applying them to the query 2019-11-13 13:55:06 -06:00
Luke Towers 70107c6376 Initial WIP on implementing dependsOn support for filter scopes.
Still need to resolve an issue where if the slave filter has values set when the master filter updates, thus triggering a change of the available options to the slave, the original values are still set on the slave but not actually visible in the popup as options because they're no longer valid options. To fix this we'll need the ability to get the browser to refresh the slave filter's selected values (count icon basically since it already forces the options popup to refresh) when its masters update; while at the same rechecking the slave's scope values set on the server to ensure that they're all valid and there aren't values left over from the previous request that are no longer valid but are still being applied to the query.
2019-11-12 17:02:25 -06:00
Christophe Vuagniaux f0db465f46 Avoid array_intersect error if argv is not defined (#4751)
Credit to @ChVuagniaux. Can be triggered when attempting to run Laravel HTTP tests on OctoberCMS (https://laravel.com/docs/6.x/http-tests)
2019-11-10 10:52:36 -06:00
Luke Towers 615c4cdb04 Change default of cms.backendForceSecure to reflect the config default that's been in place since 2016. 2019-11-07 12:14:32 -06:00
Luke Towers c9df45a87d Fixed typo 2019-11-06 16:55:16 -06:00
Samuel Georges 63f65a3f25 Add XSRF to backend, simplify CMS controller run() method
runInternal has been removed because we do not want to blanket our response logic over every single response, only the happy path. This is because it is impossible to remove. So it is better to take the inverted approach, where if you want the CMS' headers in your custom response, add them yourself. This becomes easy via the new makeResponse() method
2019-11-02 19:14:45 +11:00
Samuel Georges 9d120ad66b Add header and cookie support to ResponseMaker 2019-11-02 18:57:32 +11:00
Samuel Georges ff8f899fbe Move response common functions to ResponseMaker trait 2019-11-02 18:21:22 +11:00
Samuel Georges b1fa45ee3a Combine common CSRF logic to a trait 2019-11-02 15:15:18 +11:00
Luke Towers 096ccf875d Implement suggestions from @bennothommo 2019-10-28 12:58:07 -06:00
Samuel Georges f542ca8e90 Implement XSRF checking for AJAX handlers
Refs #4699
Refs #4701
2019-10-24 20:19:20 +11:00
Ben Thomson df65861aff Add clear classes for fields (#4706)
Credit to @bennothommo. Added `clear-full`, `clear-left`, and `clear-right` CSS classes that can be used to apply clearfixes to form fields by adding them to the field's `cssClass` property
2019-10-20 15:47:37 -06:00
Valentijn Evers d52c59254a Improved email client support for branded mails (#4663)
Improves compatibility with Outlook mail clients, preventing harsh word breaks. Credit to @vevers.
2019-10-14 15:33:43 +08:00
Szabó Gergő 04f0b176a4 Improved Hungarian translation (#4682)
Credit to @gergo85
2019-10-11 09:48:21 -06:00
nameewgeniy af571ed918 Update ru/validation.php (#4687)
Credit to @nameewgeniy
2019-10-11 14:59:42 +03:00
Luke Towers e246427463 Provide system.assets.beforeAddAsset event to modify asset attributes
Fixes octobercms/october#4611 (when combined with a PR to https://github.com/heathdutton/cloudflare)
Related: octobercms/october#4092, octobercms/october#3841, octobercms/october#3839
2019-10-09 11:51:06 -06:00
Ben Thomson 07d74ebb1b Fix sync command, minor cleanup (#4645)
Fixes #4642, adds some unit testing for the AutoDatasource. Credit to @bennothommo
2019-10-09 08:54:13 -06:00
Alwin Drenth b2dcd3c9fd Update Dutch (NL_nl) translation (#4676)
Credit to @adrenth
2019-10-09 13:08:31 +03:00
Damien MATHIEU f09c05d31b Update French translations (#4668)
Credit to @damsfx
2019-10-06 23:26:15 -06:00
Luke Towers d31006ae1a Return 403 response on CSRF fail instead of silently failing
Also moved backend::lang.page.invalid_token.label to system::lang.page.invalid_token.label. Fixes
2019-10-06 23:21:08 -06:00
Luke Towers 17f3c6f74b Added 'email' field type 2019-10-06 16:15:29 -06:00
Luke Towers ad35d83323 Fix styling for switch fields that are required 2019-10-06 12:24:32 -06:00
Luke Towers 3b74a8f248 Add support for inline-options to radio field 2019-10-06 08:15:36 -06:00
Tobias Kündig 4f34ac5f4a Prevent flash of unstyled tabs on page load (#4666)
Credit to @tobias-kuendig.
2019-10-06 14:42:40 +08:00
Luke Towers 479fa09606
Fix bulk actions on plugins (#4660)
Fixes #4647
2019-10-03 09:23:43 -06:00
Luke Towers fffe14a0d1 Remove extra framework.parser.js file
We don't use this anywhere except for framework.js where it is already included. We will not be supporting it as a standalone library so there is no need for it to be in its own file.
2019-09-30 08:57:59 -06:00
Ayumi Hamasaki c627e8a0dd Update mustache.js to 2.3.2 (#4644)
Credit to @ayumihamasaki2019
2019-09-27 13:04:46 -06:00
罗光盛 c19ccb4f60 Update zh-cn backend translations (#4635)
Credit to @everyx.
2019-09-26 12:38:22 +08:00
Samuell 33d149fe1a Replace caching of Theme config with generic YAML caching (#4526)
Credit to @Samuell1. Fixes issues related to complexity of the existing approach / cache invalidation by just using the caching built in to YAML::parseFile().
2019-09-25 11:36:35 -06:00
Luke Towers 744263eb4b Minor code formatting improvement 2019-09-25 11:17:59 -06:00
morph85 811b431474 Added support for SparkPost mail configuration (#4151)
Credit to @morph85
2019-09-25 10:28:17 -06:00
Ben Thomson 5f15ed54f9 Initial unit tests for front-end framework (#4576)
Credit to @bennothommo
2019-09-25 10:23:17 -06:00
Samuel Georges f1eab843f8 Apply hand grab icon to "scroll before" cases - Refs #4629 2019-09-21 13:45:38 +10:00
ayumihamasaki2019 c4cdd4d44d Show table scrolling a bit clearer - ux fix (#4629)
* Show scrolling a bit cleaer - ux fix
2019-09-21 13:42:20 +10:00
Samuel Georges 1b22b851f6
Merge pull request #4428 from alxy/patch-27
Fix error when $user is null
2019-09-21 13:36:30 +10:00
Samuel Georges 8d511e0ce5 Fixes broken hotkey implementation - Refs #4489 2019-09-21 13:16:45 +10:00
Samuel Georges 6daea258b9 Tidy up checkbox list - refs #4599
Also had to revert the 100vw improvement on tabs because it causes unnecessary scroll/drag activation. Also reverted change in form.base.less that had no reasoning.
2019-09-21 12:36:31 +10:00
Samuel Georges 202d1f6b04
Update the checkbox list widget (#4599) 2019-09-21 11:57:53 +10:00
Samuel Georges db20bb3359
Fix the Primary tabs overflow error (#4587)
* Fix the overflow on the primary tabs
2019-09-21 10:39:46 +10:00
Samuel Georges 99db7132e6
Add a working checkbox list doc code example to october website (#4600) 2019-09-21 10:07:01 +10:00
Dan Harrin 7b8fecaa51 Replace use of parseJSON with JSON.parse (#4517)
Credit to @DanHarrin
2019-09-14 06:25:18 -06:00
Samuel Georges 2962f75221 Include the JSON parser natively in framework.js
We've also included it as a separate framework.parser.js file in case its needed by some external lib, such as Storm UI
2019-09-14 17:56:18 +10:00
Samuel Georges 68f0cd640d Recompile assets 2019-09-14 17:41:13 +10:00
Samuel Georges 2e6347718a
Update jQuery mousewheel from v3.1.9 to v 3.2.0 (#4574)
* Update jQuery mousewheel
2019-09-14 17:38:52 +10:00
Samuel Georges ebcb7ee6fd
Add a small JSON Parser to October framework lib (#4527)
* Add a small JSON Parser to October framework lib
2019-09-14 17:29:31 +10:00
Samuel Georges 35a6fb99b8 Add keyboard support to list items 2019-09-14 16:33:21 +10:00
Samuel Georges 8471c73054 Fixes keyboard support on checkboxes
The keydown/keyup/input events were not working correctly. Also the $cb selector was not specific enough and was picking up on the hidden input used to define the default state.
2019-09-14 16:11:16 +10:00
Ben Thomson 5f0da7e6f6
Revert c5d0a467 (#3834)
Reported issues with tables with constrained widths breaking content too much.

Refs: https://github.com/octobercms/october/issues/4618
2019-09-12 22:34:54 +08:00
Samuel Georges 52e2a838eb Fixes typo, recompile assets 2019-09-11 21:42:02 +10:00
Samuel Georges 3291e07191
Update Deprecated code in October into (event.key) (#4489)
Update Deprecated code in October into (event.key)
2019-09-11 21:35:18 +10:00
Samuel Georges 72123943de
Merge pull request #4352 from ghost/modernizr3.7.1
Update Modernizr V3.6.0 to V3.7.1
2019-09-11 21:30:39 +10:00
Samuel Georges 96537033c8 Recompile assets 2019-09-11 20:02:43 +10:00
Samuel Georges 3212fc5b35
Merge pull request #4503 from ghost/role-form
Add role-form to all forms
2019-09-10 17:55:40 +10:00
Ayumi Hamasaki 6942e38615 Remove the IE5 - IE7 Holly Hack support (#4594)
Credit to @ayumihamsaki
2019-09-04 09:32:29 -06:00
Larry Barker 0766be8ecb Move translations for plugin author to system module (#4583)
Credit to @LarBearrr
2019-09-03 11:10:42 -06:00
Luke Towers 02d894f52b Fix use of Storage::url() for local disks that haven't been configured correctly. Fixes #4581 2019-09-02 12:33:36 -06:00
alekseyp 5afb1ee04f Include file extension in combiner URLs (#4567)
Credit to @alekseyp.
2019-08-25 19:52:14 -06:00
Mohamed Ali Behiry e0e23c1fdf Improved Arabic translation (#4555)
Credit to @mabehiry
2019-08-19 09:14:00 -06:00
Ben Thomson a67ccfe993
Allow decompiled Backend JS assets (#4549)
This change will allow the individual JS assets that are compiled into a full compilation file to be loaded individually instead, allowing the developer to see their changes immediately. It introduces a new configuration variable, `cms.decompileBackendAssets`, that controls this functionality. By default, it is false and not tied to the debug value, requiring it to be explicitly enabled.
2019-08-16 16:19:16 +08:00
Dan Harrin 9521dd795c Minor Formatting Corrections in Usage Comments (#4541)
Credit to @DanHarrin
2019-08-15 09:14:54 -06:00
Samuell 60a235e000 Add warning in status widget when debug mode is enabled (#4500)
Debug mode is now shown as a warning in the Status report widget to indicate that its use is discouraged for production websites.

Credit to @Samuell1.
2019-08-15 11:44:22 +08:00
Dan Harrin 67c9decb20 Standardise use of [] vs array() (#4548)
Credit to @DanHarrin
2019-08-14 20:46:36 -06:00
Ben Thomson 199407f1a0
Revert #4401 for build 458.
Reverts commit 22847e7892. Will be redeployed in build 459.
2019-08-09 16:07:32 +08:00
Ayumi Hamasaki 432dd5d91a Add role-form to all forms 2019-07-31 15:46:20 +01:00
Anurat Chapanond 02ba765a9e Added Thai translation (#4472)
Credit to @anurat.
2019-07-26 14:52:52 -06:00
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
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
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
Luke Towers 2fc515e2a5 Updated environment file generation command to match what laravel is calling the variable now 2019-06-12 02:34:28 -06:00
Luke Towers 627c0aa643 Replaced JSMin with JSqueeze 2019-06-12 02:33:53 -06:00
Luke Towers 1aff1e0a1e Changed calls to the Cache to use DateTime instances instead of integers representing minutes as 5.8 changed integers into meaning seconds instead. 2019-06-12 02:33:26 -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
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
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
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
Luke Towers c86bec7f08 Replace deprecated Twig class references, refs: #4209. 2019-03-27 13:15:17 -06:00
Daniel Ramirez cb24d817ad Fix popup loading indicator sometimes not closing after load (#4169)
Fixes #4168. Credit to @drmzio
2019-03-25 10:07:33 -06:00
Siarhei Karavai 8606db9e77 Add support for file names with multiple dots (#4211)
Fixes #4210. Credit to @GinoPane
2019-03-25 09:57:06 -06:00
Filip Iulian Pacurar a2315624df Fix issue with list filters when more filters appear on page. (#4154)
Credit to @filipac.
2019-03-20 11:18:15 -06:00
Luke Towers 639339d55e Stop automatically creating camel case versions of top level configuration keys
This would cause issues with repeaters in grouped mode that have an underscore in one of the groups as it would duplicate that group entry.
2019-03-18 14:08:47 -06:00
alekseyp 8ea36eac9c Return 500 on exception during asset combining (#4142)
Credit to @alekseyp
2019-02-27 14:33:48 -06:00
Luke Towers 7f3fb06945 Support custom 500 page when debug mode disabled and CMS module not present 2019-02-26 14:26:56 -06:00
Filip Iulian Pacurar 6e798079ca Defer plugin installs from october:install until October is installed (#4156)
Fixes #4155. Credit to @filipac.
2019-02-22 16:40:47 -06:00
LucasZdv 44cc080769 Added plugin:list, plugin:disable, & plugin:enable artisan commands (#4127)
Credit to @LucasZdv. Documented by https://github.com/octobercms/docs/pull/356
2019-02-22 12:50:01 -06:00
Siarhei Karavai 9581b23d1e Allow multiline changelog messages, preserve correct order of updates (#4083)
Credit to @GinoPane
2019-02-19 11:11:43 -06:00
Filip Iulian Pacurar cb981eb82d Add popup-allow-focus for the second range input (#4140)
When list filters are in a modal, you cannot select the second field because it does not have  popup-allow-focus class. Credit to @filipac
2019-02-15 13:29:18 -06:00
Jonas Søndergaard ca33b97692 Reimplemented infinite loading bar with transforms instead of widths (#4124)
Fixes #4118. Credit to @Josniii
2019-02-15 13:22:39 -06:00
Luke Towers a97a17c4c3 Recompiled assets 2019-02-13 14:55:44 -06:00
Mahmut Namli 7077a1cef3 Improved Turkish translation (#4121)
Credit to @mahony0
2019-02-07 09:18:42 -06:00
fansaien 680c729f90 Set the datetime value with time 00:00:00 when using the date mode (#4111)
Credit to @fansaien
2019-02-06 10:23:50 -06:00
Szabó Gergő 6dbe9be615 Improve the Hungarian translation (#4112)
Credit to @gergo75
2019-02-05 16:27:32 -06:00
fansaien 331c8f4383 Change filter.js to fire requests on the control element (#4094)
Changed filter.js to fire its internal AJAX requests on the control's element instead of the closest form element. Previous behavior would fire the requests on a non-existant form element (as filter widgets are typically not located within a form element) and it looks like that was copy-paste oversight from the inspector javascript that the filter was originally based on. Credit to @fansaien
2019-01-30 14:09:34 -06:00
Siarhei Karavai 3118660d83 Improve support for dropdowns with placeholders (#4060)
Fixes #4053. Credit to @GinoPane
2019-01-27 16:13:02 -06:00
Alexander Voronin 174f37b604 Fixed repeater add group popover in a popup context (#4058)
Credit to @VoroninWD.
2019-01-27 11:52:46 -06:00
Rike-cz c0e01c0f0d Add support for `data-request-url` in the data attributes AJAX API (#4012)
Credit to @Rike-cz. Documented in https://github.com/octobercms/docs/pull/353
2019-01-25 10:29:49 -06:00
Denis Denisov 880d614bc5 Fixes bugs with 'collapsed' saved to cookies (#4080)
Credit to @w20k. Fixes #4047
2019-01-23 01:30:53 -06:00
Adam Sandström d5eca59dc6 Remove application root relative to domain root from $mediaFinder->storagePath (#4055)
This gets added later through the use of Url::to(). Credit to @adsa95. Fixes #4065, fixes #4039
2019-01-23 01:25:16 -06:00
dzava a539a36b30 Override the Paginators defaultSimpleView (#3652)
Credit to @dzava. Fixes #3355.
2019-01-21 23:49:25 -06:00
Denis Denisov ec2a0d5fb0 Tabs and tabels scrolling fix (#4069)
Fixes #4037. Credit to @w20k
2019-01-21 23:35:27 -06:00
vosco88 a4f4a71fc3 Fix reset search button issues (#4068)
Fixes #4067
2019-01-17 13:33:59 -06:00
Luke Towers f53caf9a75 Formatting improvement 2019-01-16 12:29:28 -06:00
Luke Towers 44db59cba1 Ensure thumb is generated for protected files before getting URL to the Files controller 2019-01-15 15:11:29 -06:00
Luke Towers 4f7c5cc1e7 Get the URL of protected assets through the Backend Files controller if available. 2019-01-15 14:25:26 -06:00
Luke Towers 2d6b9c76a9 Recompile assets 2019-01-15 13:35:12 -06:00
Luke Towers a9a0544ab0 recompiled stylesheets, retaining newlines for improved diff readability 2019-01-14 11:52:16 -06:00
Luke Towers 119d2e5f2b Improved UI Popup docs 2019-01-11 14:27:14 -06:00
Aleksey Bobkov d701e65652 Minor improvement in the update gateway API calls. 2019-01-09 17:24:25 -08:00
Aleksey Bobkov 4fa237eadf Added update gateway client name. 2019-01-05 15:39:46 -08:00
Aleksey Bobkov bff2f1d59e Minor improvement in the update gateway API calls. 2019-01-05 15:18:04 -08:00
Luke Towers 064daa2d2e Compiled assets, minor docblock update 2019-01-03 16:26:30 -06:00
fansaien 2dcd84c4f2 Fix the input trigger API where a form element doesn't exist (#4033)
There are no `form` elements in the preview context of a form, so this adds an alternative selector to use when no common `form` elements are found for the Input Trigger API to use. Credit to @fansaien
2019-01-03 16:24:43 -06:00
Gonzalo Henríquez 9f304d2ef8 Improvements to Spanish translation (#4004)
Credit to @bombozama
2018-12-23 11:06:31 -06:00
Luke Towers a2708ee0f5 Added backend.manage_default_dashboard permission to lock down who has access to change the default dashboard for the system. Fixes #2176 2018-12-20 17:26:49 -06:00
Luke Towers 301b09070d Compiled assets 2018-12-20 17:09:42 -06:00
fansaien 6a6ab8fc88 added the event to the callback (#4001)
Credit to @fansaien
2018-12-20 16:30:04 -06:00
Luke Towers ed226e0b09 Recompiled hotkey JS 2018-12-20 13:41:32 -06:00
Luke Towers 44ac62abeb Recompiled LESS using new CSS minification 2018-12-20 13:41:09 -06:00
fansaien 27c604abb2 Added option as alias for alt (#4000)
Credit to @fansaien
2018-12-20 13:35:00 -06:00
Luke Towers 5f78fd4df9 Initial implementation attempt for theme:sync command 2018-12-16 09:43:33 -06:00
vosco88 a11868169e Add reset search (X) to toolbar search input (#3975)
Credit to @vosco88
2018-12-14 09:04:01 -06:00
Denis Denisov 465cbec241 Fix 'hide()' called for a closed popup (#3970)
Credit to @w20k
2018-12-08 13:10:53 -06:00
Ben Thomson 2002fd6b4b Prevent plugins that cannot be instantiated from being loaded (#3956)
Credit to @bennothommo
2018-12-04 11:22:07 -06:00
Denis Denisov 9ce6b4fbc8 Add Moments.js TimeZone Data (#3960)
Fixes issues when timezone data is needed on initialization. Credit to @w20k. Refs: #3867
2018-12-04 11:10:48 -06:00
Teranode 18a8e2f840 Revert changes made to self.hide after ajax (#3950)
This is needed as it removes leftover control-popover backdrops in any plugin backend that utilizes ajax in a popup modal (which is any of them that has relations or nested relations), so we will need to take a look at the dashboard widgets again. Credit to @ayumihamsaki.
2018-12-02 12:01:58 -06:00
Adam Sandström bd2f14d510 Make media URLs in accordance with the Link Policy (#3536)
Credit to @adsa95
2018-12-01 15:08:04 -06:00
Oliver Buchmann cd275554f2 Add october:util set project --projectId=id console command (#3946)
Implements #3944. Credit to @obuchmann.
2018-11-29 13:26:21 -06:00
Ayumi Hamasaki 41b8bb84f1 Update Raphaël 2.1.2 to 2.2.7 and Eve 0.4.2 to Eve 0.5.4 (Combined File) (#3930)
Credit to @ayumihamsaki. Refs: #3867
2018-11-29 10:36:10 -06:00
Sebastiaan Kloos 9c2bb8469e Minor documentation updates to input.hotkey.js (#2721)
Credit to @SebastiaanKloos
2018-11-23 01:09:45 -06:00
Teranode 900753db52 Fix zindex of popup on mobile (#3890)
Fixes #3506. Credit to @Teranode
2018-11-23 00:52:45 -06:00
Romaldy Minaya cca3c704a3 Fixes #3119 (#3163)
Added readOnly support to RecordFinder, Switch widget and relation widget including dropdown Fixes #3119. Credit to @romaldyminaya
2018-11-23 00:33:01 -06:00
Filip Iulian Pacurar dcd309ffb0 Add option to install developer plugins from the october:install command (#2974)
Credit to @filipac. Initially requested in https://github.com/octobercms/october/pull/2694
2018-11-23 00:24:45 -06:00
Antonie Hogewoning e481206b49 Add file specific aliases for framework.extras (#3936)
This commit adds two new aliases for the files associated with `framework.extras`. One to load the CSS (`framework.extras.css`) and for JS (`framework.extras.js`). Credit to @CptMeatball. Resolves #3909. Related: https://github.com/octobercms/docs/pull/334
2018-11-22 09:25:51 -06:00
Denis Denisov 445c549062 Add TimePicker.placement = auto (only supports: top/bottom position) (#3927)
Fixes #3903. Credit to @w20k
2018-11-19 09:29:56 -06:00
Ayumi Hamasaki c5bad06510 Update the Moments and TimeZone Library from 2.13.0 to 2.22.2 (#3906)
Fixes #3808. Credit to @ayumihamsaki. Related to #3867.
2018-11-17 16:31:54 -06:00
Antonie Hogewoning 0e9b3ce786 Combine jQuery and migrate into the same file (#3919)
Fixes #3917. This fixes the double alias that was introduced when jquery was updated and migrate was added. Credit to @CptMeatball
2018-11-17 16:22:51 -06:00
Nathan van der Werf 6fb6211c56 Escape output to prevent XSS injections (#3924)
Credit to @nathan-van-der-werf
2018-11-15 15:05:44 -06:00
Siarhei Karavai ff8b967b75 Add support for placeholder in TagList widgets (#3453)
Credit to @GinoPane.
2018-11-15 13:32:59 -06:00
Nathan van der Werf 8ae863f5e7 Escape output to minimize potential XSS opportunities (#3916)
Credit to @nathan-van-der-werf.
2018-11-13 15:51:31 -06:00
Luke Towers bba42c36e9 Added outline of theme:sync command 2018-11-05 14:35:41 -06:00
Teranode 7c919e01bc Fix hide event firing twice (#3898)
The setTimeout fires after the modal already hides so it ends up firing twice which causes an error because the element is no longer there:
```
Uncaught TypeError: Cannot read property 'get' of null
    at Popup.triggerEvent (storm-min.js?v443:3732)
    at Popup.hide (storm-min.js?v443:3741)
    at storm-min.js?v443:3730
```
Credit to @Teranode for the fix.
2018-11-01 10:32:37 -06:00
Tobias Kündig bfd726f173 Fix filter popovers in modals (#3844)
Since popovers and modals currently share the same z-index (600) a popover that gets created for a filter inside a modal is invisible. It is hidden below the modal. This commit adds a check to see if a filter is created from within a modal window. If yes, the popover will be added to the modal container. Otherwise the default container value `false` is used. Credit to @tobias-kuendig
2018-11-01 08:31:16 -06:00
Ayumi Hamasaki 4d4ac92d2f Update the Modernizr library - from 2.8.3 to 3.6.0 (#3902)
Credit to @ayumihamsaki
2018-11-01 08:29:46 -06:00
Luke Towers e726165554
Add Tab icons functionality (#3901)
Credit to @ayumihamsaki for the original proposal, @Teranode for the initial work. Related #3888, #3856.
2018-10-30 20:06:33 -06:00
Ayumi Hamasaki 567f415e1e Updated jQuery from V2 to V3.3.1, added jQuery Migrate (#3886)
Credit to @ayumihamsaki. Fixes #3230.
2018-10-30 19:36:44 -06:00
Luke Towers 454c625718 Recompiled assets 2018-10-30 18:20:30 -06:00
Teranode 8383f555ed Add action buttons to filter popups (#3882)
Adds action buttons ("Apply" & "Clear") to filter popups for UX improvement (past experience was click out of the popup to apply the selected filters and manually remove all applied filters). Credit to @Teranode. Fixes #3304.
2018-10-30 18:18:42 -06:00
Luke Towers 5e877ea2ba Use a public property for the cache key for settings models that cache rendered CSS
This enables developers to modify what the cache key is for a given instance of a settings model so that they can do things like load user dependent settings values and have those values affect the rendered CSS. Previously the key being static across all instances of a given setting model would prevent that from being feasible without clearing the cache for every request.
2018-10-30 16:21:57 -06:00
Teranode 6fb08f3e1a Fix resize event after element removal (#3897)
This prevents an error from popping up after the popover is hidden/removed `this.$container.remove()` is no longer available after removal so we need to check for the presence of `this.$container`. Credit to @Teranode
2018-10-29 16:35:12 -06:00
Alwin Drenth 00122108b1 Update Dutch (NL) translation (#3895)
Credit to @adrenth
2018-10-26 09:14:56 -06:00
Christian 4ccf91feca Make popovers resize dynamically on page resize (#3891)
Related #3603. Credit to @Teranode
2018-10-25 12:40:34 -06:00
Christian d21ae831c0 Text Display issue (#3889)
Credit to @Teranode. Fixes an issue present on Firefox and Chrome where the "Yes" text cuts off because of the width limit of the span
2018-10-24 22:20:18 -06:00
vosco88 d8a67aa63c Minor translation improvements (#3881)
Credit to @vosco88
2018-10-20 18:29:09 -06:00
Szabó Gergő 9522deff4e Add filters to log pages (#3815)
Credit to @gergo85. Thanks to @petehalverson for octodock to test this with
2018-10-16 09:09:41 -06:00
Szabó Gergő b61b330ec4 Improve the System Status dashboard widget (#3866)
Improves the System Status dashboard widget by adding a warning icon whenever the specific log is disabled. Credit to @gergo85. Thanks to @petehalverson for Octodock making testing easier.
2018-10-15 08:51:12 -06:00
Denis Denisov daf3a5c7cd Stop Ctrl+F marking code editor as "dirty" (#3857)
Credit to @w20k. Fixes #946. Thanks to @petehalverson for Octodock for making testing these easy!
2018-10-11 10:19:41 -06:00
Szabó Gergő ef32d45cd4 Change the delete buttons style to danger (#3852)
Credit to @gergo85
2018-10-10 08:40:03 -06:00
Tobias Kündig 7b4e293074 Added registerMailLayouts method to PluginBase (#3850)
Fixes #3820. Credit to @tobias-kuendig
2018-10-08 08:18:43 -06:00
Tobias Kündig 0415e4133d Allow plugins to register their own mail partials (#3847)
Credit to @tobias-kuendig 

* Added registerMailPartials method to PluginBase
2018-10-06 22:00:43 -06:00
Tobias Kündig 6a84533bab Fixed scoreboard label in mail partial update view (#3848)
Credit to @tobias-kuendig
2018-10-06 21:56:10 -06:00
Denis Denisov ae20bb629f Revert of 'loader.less', based on the issue #3792 (#3840)
Fixes #3792. Credit to @w20k
2018-10-04 14:10:43 -06:00
matthew188 c5d0a467d8 Improve table column width handling on Chrome (#3834)
Credit to @matthew188
2018-09-30 18:11:07 -06:00
Luke Towers 5b7d9041fd
Integrate flag-icon-css (#3797)
Replaced the existing PNG flag icons with the flag-icon-css library that uses SVGs, has more flags, and is more active (i.e well maintained). Credit to @mariavilaro & @w20k. Thanks to @petehalverson for Octodock for easy testing of this.
2018-09-25 08:23:18 -06:00
Levente Huszko edcc4af68a Properly utilize the plainOnly flag in mail.beforeAddContent (#3479)
Credit to @hlev
2018-09-24 16:54:16 -06:00
Nicolas Da Mutten aeb7616d06 Automatically use local asset path when attempting to combine injected assets (#3802)
Credit to @cleverer. Fixes #3264.
2018-09-24 14:17:00 -06:00
TimFoerster 51d79ffaba Make auto inline brand CSS for email layouts optional (#3192)
Fixes #3133. Credit to @TimFoerster. Thanks to all the reviewers from #3192.
2018-09-23 20:49:19 -06:00
Rike-cz a03a76ee52 Finish implementing localPath in combineToFile (#3727)
Fixes #3721. Credit to @Rike-cz
2018-09-23 14:38:59 -06:00
Jim Cottrell 6f2ed028b3 Fix input trigger on source field types with multiple selected values (#3798)
Credit to @jimcottrell. Tested by https://github.com/octoberrain/test-plugin/pull/55
2018-09-18 22:54:57 -06:00
chrisbethelepb 0ffdbc5efd Relax restrictions on MediaLibrary filenames (#3778)
Fixes #3741. Credit to @chrisbethelepb
2018-09-12 11:37:21 -06:00
Samuel Georges 7a8867f00b Improve Event log formatting for emails
If an email is seen (Message-ID:) then convert newlines to <br> unless within <html> tags. Also place the contents inside an iframe so the CSS rules don't leech out.
Fixes #3032
2018-08-31 11:09:20 +10:00
Nathan van der Werf 8fd16d4db6
Merge branch 'develop' into feature/cleanup
# Conflicts:
#	modules/backend/formwidgets/FileUpload.php
2018-08-24 19:52:54 +02:00
Nathan van der Werf 0f0d108da0
Remove unused imports 2018-08-24 19:51:59 +02:00
Nathan van der Werf 66fa03f17e
Revert "Remove unused imports"
This reverts commit 742a5f415b.
2018-08-24 19:40:40 +02:00
Luke Towers 787c2244bf Improved inline-options CSS for checkboxlist fields 2018-08-23 10:00:51 -06:00
Luke Towers 3011c39d2b Add inline-options css class for checkboxlist fields
Documented by f4440ced6c
2018-08-22 16:39:02 -06:00
Samuel Georges bf841b4340 Minor peer review 2018-08-21 13:24:59 +10:00
Samuel Georges ab4074cec1 Extra table check
Fixes #3706
2018-08-18 12:52:05 +10:00
Szabó Gergő bf0f1faa4f Change the Status reportwidget icons (#3693)
Credit to @gergo85
2018-08-16 08:19:49 -06:00
Maria Vilaró 5c72ad1474 Add translations for Catalan (#3694)
Credit to @mariavilaro.
2018-08-16 08:14:26 -06:00
Samuel Georges ab7dda260b User disabled plugins now stay disabled after sign in
Fixes #1795
Fixes #3691
2018-08-16 14:11:05 +10:00
Nathan van der Werf ee9414f3fd Simplify ternary operators 2018-08-15 19:26:20 +02:00
Nathan van der Werf 8b6f11e6ac Extract child instructions 2018-08-15 19:25:42 +02:00
Nathan van der Werf fbca3bea92 Remove redundant variables 2018-08-15 19:23:12 +02:00
Nathan van der Werf 2cdbb37a36 Remove duplicate array keys in language files 2018-08-15 19:18:26 +02:00
Nathan van der Werf 62c59a4903 Refactor ternary operators to null coalescing operators 2018-08-15 19:15:13 +02:00
Nathan van der Werf a3d7a028b4 Replace is_null with "=== null" comparison 2018-08-15 18:54:46 +02:00