5155 Commits

Author SHA1 Message Date
Luke Towers
c87e6545a9 Use form_ajax in the demo component instead of hardcoded form tags 2019-10-06 23:44:13 -06: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
Burak Özdemir
64d02b77cc Added Mailgun endpoint to services config (#4667)
Fixes #3846. Credit to @ozdemirburak.
2019-10-06 19:27:10 -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
Harmen Janssen
83d14c8503 Add support for order option on relation FormWidget (#4654)
Credit to @harmenjanssen. Documented in https://github.com/octobercms/docs/pull/406
2019-10-06 00:24:31 -06:00
Luke Towers
479fa09606
Fix bulk actions on plugins (#4660)
Fixes #4647
2019-10-03 09:23:43 -06:00
Ben Thomson
c3d99b2acf
Remove void return types in PreferenceMaker
Maintains PHP 7.0 compatibility. Will likely be re-added once rebased to Laravel 6.

Fixes #4659.
2019-10-03 22:07:37 +08:00
Saifur Rahman Mohsin
f6c789f716 Added getConfig helper method to get config values (#4653)
Credit to @SaifurRahmanMohsin 

Added getConfig to make it easier for developers to fetch the config data from a list column while overriding the list items through extension. This also makes the class more compatible with [FormField](https://github.com/octobercms/october/blob/master/modules/backend/classes/FormField.php) which already has the same helper function.
2019-10-02 16:33:14 -06:00
Luke Towers
8ee94cc059 Merge branch 'master' into develop 2019-10-02 09:13:01 -06:00
Ben Thomson
72986dbb1d
Add auto-archive action for stale PRs/issues (#4646) 2019-09-30 23:50:11 +08: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
Samuel Georges
c23d671f91 New templates must have a unique widget alias 2019-09-30 20:17:02 +10:00
Ayumi Hamasaki
c627e8a0dd Update mustache.js to 2.3.2 (#4644)
Credit to @ayumihamasaki2019
2019-09-27 13:04:46 -06:00
Samuell
5d6fe72619 Update delete buttons in user controllers (#4640)
Credit to @Samuell1
2019-09-26 14:58:07 -06:00
罗光盛
c19ccb4f60 Update zh-cn backend translations (#4635)
Credit to @everyx.
2019-09-26 12:38:22 +08:00
Vojta Svoboda
bafd057f8c Optimize theme recognition (#3220)
Credit to @vojtasvoboda. Will avoid asking the database for the currently active theme if there is only one theme present and its code matches the code set in cms.activeTheme
2019-09-25 12:26:54 -06: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
Tomasz Strojny
815ec1a174 Typo fix for Polish language file (#4634)
Credit to @tomaszstrojny.
2019-09-24 15:42:01 +08:00
Ben Thomson
c9b4402f13 Replace Travis with GitHub Actions workflows (#4633)
Credit to @bennothommo
2019-09-23 09:28:48 -06:00
Dan Harrin
919835e5de Add method removePermission() for AuthManager (#4522)
Allows programmatic removal of permissions being listed in Permission selection widget.

Credit to @DanHarrin.
2019-09-21 23:42:11 +08: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
b37641e94d Lazyload top navigation icons - refs #4562 2019-09-21 13:12:49 +10:00
Samuel Georges
b60adf2952 This stops tabnabbing apparently
Refs #4550
Refs https://en.wikipedia.org/wiki/Tabnabbing
2019-09-21 12:44:04 +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
Ben Thomson
e2f23eb184
Fix Travis unzip and mv Rain library 2019-09-20 08:40:09 +08:00
Ben Thomson
f951f92b1c
Diagnose Travis mv issue 2019-09-20 08:34:20 +08:00
Ben Thomson
bbdad61555
Use develop branch of Rain library in Travis CI 2019-09-20 08:21:32 +08:00
Luke Towers
7e6c1aed84 Added ability to specify a LESS file to be used as a default backend brand CSS override with the config item "brand.customLessPath" 2019-09-18 18:27:18 -06:00
Luke Towers
fafd05f7c0 Cleaning up spacing 2019-09-14 06:27:24 -06: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