491 Commits

Author SHA1 Message Date
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
Samuel Georges
18398a8318 Add touch events back to modernizer 2019-11-25 16:59:20 +11: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
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
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
Luke Towers
c9df45a87d Fixed typo 2019-11-06 16:55:16 -06: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
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
Ayumi Hamasaki
c627e8a0dd Update mustache.js to 2.3.2 (#4644)
Credit to @ayumihamasaki2019
2019-09-27 13:04:46 -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
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
Ayumi Hamasaki
6942e38615 Remove the IE5 - IE7 Holly Hack support (#4594)
Credit to @ayumihamsaki
2019-09-04 09:32:29 -06:00
Ben Thomson
199407f1a0
Revert #4401 for build 458.
Reverts commit 22847e7892a2054da91bd85ec183ba6e7bc52094. Will be redeployed in build 459.
2019-08-09 16:07:32 +08: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
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
Rike-cz
acf4577255 Add preview mode for taglist widget (#4349)
Credit to @Rike-cz.
2019-06-19 08:22:36 +08: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
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
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
joseph-d
7694865647 Fix backend list scrolling on mobile (#4304) 2019-04-30 15:36:36 +03: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
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
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
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
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
Samuel Georges
f6a3d10dff Adjust styling of clear search button 2019-03-29 02:34:12 +11:00