Commit Graph

179 Commits

Author SHA1 Message Date
Samuel Georges 6679aa6557 Increase default flash message interval
The data-validate-error container does not necessarily need to reside inside a form, but give it priority if it does.
2016-11-28 20:48:05 +11:00
Samuel Georges 0a8f169cc3 Improvements to framework extras
- Form validation
- Button loader
- Flash messages
2016-11-18 07:41:02 +11:00
Samuel Georges 5c5ffb7950 Merge pull request #2483 from henrydinhh/master
Add Vietnamese Map
2016-11-15 07:48:21 +11:00
Samuel Georges f4f7355bf2 A nested tab plugin's tabs are leaking in to the parent tab plugin.
Fixes #2481
2016-11-14 08:46:32 +11:00
Henry Dinh 4c34b798ce Add Vietnamese Map 2016-11-12 21:02:32 +07:00
Samuel Georges 46c473e2f2 Fixes fetching multi tiered pivot relation values
Refs https://github.com/daftspunk/oc-crm-plugin/issues/3
Minor code clean on select.js
2016-11-08 07:02:31 +11:00
Samuel Georges 4aca2d40ff Remove "allowClear" and tidy up #2459
Allow clear is not necessary, equivalent of allowClear false is "placeholder" and allowClear true is "emptyOption".
2016-11-07 08:43:52 +11:00
Joseba Juániz 1ee0250441 Dropdown can support either placeholder / emptyOption
The difference between a placeholder and an emptyOption is that the placeholder cannot be reselected,whereas the emptyOption can.
Fixes #2450
2016-11-07 08:29:49 +11:00
Pásztor Gábor 98315b0f72 JS fixes and typo 2016-11-06 17:14:12 +01:00
Samuel Georges 88196fb660 Allow passing an explicit format to datepicker
Refs #1919
Recompile assets
2016-10-20 08:44:14 +11:00
Samuel Georges 2f8d8ffea6 Update select2 4.0.2 -> 4.0.3
This fixes the native focus event echoing to the select2 control, our workaround removed
2016-10-17 09:15:30 +11:00
Samuel Georges d788b7e03f Use select2 on touch devices
This is a relic from when select2 v3 had no mobile support, we use select2 v4 now that has been tested with mobile/touch devices.
Refs #108
Clean up some white spaces
2016-10-17 08:38:01 +11:00
Samuel Georges 89e390edcc Popup will now shake when an error occurs
Improve memory management / garbage collection
2016-08-26 20:01:04 +10:00
Samuel Georges 58ed3e12d2 Improvements to row link script
If data-control="popup" or data-request="onSomething" is attached to the anchor, utilize that functionality when clicking the row
2016-08-26 19:11:38 +10:00
Samuel Georges 4a88e32bbb Add rowlink docs 2016-08-26 18:49:37 +10:00
Samuel Georges 72095c3982 Merge pull request #2219 from Herlevsen/input_preset_normal
Add 'normal' field preset type
2016-08-06 08:52:56 +10:00
Cătălin Georgescu b01f4728a5 Added ROMANIAN_MAP to modules/system/assets/ui/js/input.preset.js for proper slug generation 2016-07-31 19:11:55 +03:00
Jens Herlevsen fe24864d87 Add 'exact' field preset type to input.preset.js 2016-07-24 13:10:38 +02:00
Samuel Georges 422098c9c7 Fixes inconsistency in popup.js API
Fixes #1685
2016-07-23 13:54:56 +10:00
Samuel Georges 04c4fe9633 Fixes logic error in filter search
The search was using !$.inArray when the expression should be $.inArray === -1 since it returns the index of the value in the array.
Also tidied up the code so it is easier to read.
Fixes #1918
2016-06-11 15:09:08 +10:00
Samuel Georges d1b765fa5e Definition of a drag is now 3 pixels
Fixes #1554
2016-06-11 14:28:15 +10:00
Jérémy Gaulin 5bfc6e63eb Prevent NaN errors when rendering charts with no values, removed trailing ; 2016-06-06 17:57:19 +02:00
Samuel Georges cd5a579c04 Disable clock picker AM/PM time for now
Restyle clock picker
Fixes #1989
Remove debug code
Recompile assets
2016-06-02 06:52:27 +10:00
Samuel Georges b171407382 Adds "dropup" variant to dropdown
Popup trigger event allows event propagation
2016-05-28 14:10:19 +10:00
Samuel Georges 46480e2262 Add some notes about logic decisions
Refs #1933
2016-05-26 06:27:20 +10:00
Samuel Georges 7177013bc9 Merge pull request #1933 from rsobon/master
UI fix for multiple dropdowns inside the same context
2016-05-26 06:24:44 +10:00
Jérémy Gaulin 09fd6ff74b Add missing LATIN_MAP preset chars and allow specific map based on configured locale (#2031)
Allow specific maps to override the defaults one based on configured backend locale.
Fixes #2026
2016-05-22 09:31:35 +10:00
Samuel Georges 6bae91b411 Fix poor sorting UX on tree view
This should fix the RainLab.Pages plugin sorting UX once and for all 👌
2016-05-18 08:38:15 +10:00
Jérémy GAULIN c43a460064 Allow specifying half bound daterange filter values (treat the missing one as "infinty", ie 0000-00-00 for min and 2999-12-31 for max) 2016-05-15 01:22:28 +02:00
Jérémy GAULIN 02c000530c Display dates with backend timezone. Manipulate date with app timezone. 2016-05-14 04:14:42 +02:00
Jérémy GAULIN 578319a204 - Fix submitting null dates.
- Allow scope functions for date and date range with Carbon instances at 00:00:00 (date / daterange after) and 23:59:59 (daterange before).
 - Introduced after / before (Y-m-d 00:00:00 / 23:59:59) for date widget. Kept filtered at Y-m-d
 - Introduced afterDate / beforeDate (Y-m-d) for daterange. Kept after / before at Y-m-d 00:00:00 / 23:59:59
2016-05-14 04:14:41 +02:00
Jérémy GAULIN 7170c1460e Streamline daterange popup buttons 2016-05-14 04:14:41 +02:00
Samuel Georges 75003fb877 Fix arg / var mismatch
Refs #2001
2016-05-12 08:21:17 +10:00
Samuel Georges f3f8676479 The date format should be sourced from moment
Streamline JS formatting
Refs #1651
2016-05-12 07:02:29 +10:00
Samuel Georges 5ce890ba4a Cannot use default as a variable
Add missing date scope partials
2016-05-12 06:48:30 +10:00
Samuel Georges d50c7591cf Move the datepicker to storm
Write docs on usage
2016-05-12 06:48:10 +10:00
Samuel Georges 37403f3ad4 Reorganise some code from #1651
Add getLang helper - Storm cannot depend on Backend
Recompile assets
2016-05-12 05:48:04 +10:00
Samuel Georges cdd280b6e1 Merge pull request #1651 from gabsource/feature/list-scope-filter-by-dates
Feature to allow filtering lists by date scopes (single date or range)
2016-05-12 04:46:06 +10:00
Samuel Georges f900ed8f62 Reshuffle the base color scheme again
Restyle the component area in the CMS
2016-05-12 04:33:01 +10:00
Jérémy Gaulin 51ac38dff7 Minor refactoring to match latest develop version 2016-05-11 17:27:52 +02:00
Jérémy Gaulin 99dba21c97 Translate filter group dropdown 'all' reset text 2016-05-11 16:13:52 +02:00
Jérémy GAULIN b08c215b72 Filter lists by dates with two new scope types (date and range) 2016-05-11 16:13:52 +02:00
Samuel Georges 5400ec7d2d Complete taglist form widget 2016-05-10 06:02:35 +10:00
Samuel Georges 5d27682f25 Create new TagList form widget (Experimental)
Update Select2 to latest
2016-05-08 17:43:21 +10:00
Samuel Georges 0d8a30730e Introduce scope "switch" type, allow options to be passed 2016-04-27 19:09:19 +10:00
Samuel Georges 589f6d1551 Restyle flash message animation 2016-04-27 04:44:02 +10:00
Samuel Georges 51bef96db9 More styling changes and other minor improvements 2016-04-21 04:52:21 +10:00
Samuel Georges b15cdadd99 Restrict scrolling to thead
Fixes fluidity issue on Apple trackpad
We can now use combo scroll for Windows users / more obvious UX
2016-04-14 05:24:19 +10:00
Rafał Soboń 7ed50690a2 UI fix for multiple dropdowns inside the same context 2016-04-13 15:21:30 +02:00
Samuel Georges 6c30e542a7 Replace the mobile list control with drag scroll implementation
Disable dragging if there is nothing to drag to
Fixes accidental list.rowlink clicks when dragging
List headers no longer wrap
2016-04-13 18:18:29 +10:00