Commit Graph

326 Commits

Author SHA1 Message Date
Samuel Georges 3a7e1d6d31 Fixes #1480 - Allow postback key names to use dots 2015-10-05 12:11:25 +11:00
Samuel Georges f97b9a6831 Allows custom toolbar buttons to be injected
Removes the assumption that all anchors are pagination links
Make code easier to read in places
Sorry, had to use jQuery in some places too
2015-10-01 18:13:15 +10:00
Samuel Georges 97595a631e Adds the ability to inject custom buttons + icons 2015-10-01 17:24:12 +10:00
Samuel Georges a636dd1ad8 Form widgets returns data only if it has a field definition 2015-09-26 11:41:02 +10:00
Jakub Zych 0e3e19a685 string replaced with translation key
backend::lang.list.no_records exists in all language files
2015-09-23 15:14:10 +02:00
Samuel Georges 6b916cb554 Adds a timetense list column, inspired by FB
Also added |time_since and |time_tense Twig filters
2015-09-17 05:15:12 +10:00
Samuel Georges cf7585f79b Fixes formwidget logic leaking out of context
For example: a formwidget with no tabs can exist inside a set of preview content tabs
2015-09-10 20:51:02 +10:00
Samuel Georges ddf8ff09ff Fixes #1416 to include empty strings 2015-09-03 07:15:52 +10:00
Vojta Svoboda beb253a5c0 Fix evaluate zero value as null 2015-09-02 22:43:33 +02:00
Samuel Georges 2619de0ae7 Fixes bug in valueFrom when relation is null 2015-09-02 17:28:22 +10:00
Samuel Georges 275463996e When toggling empty tabs: if a hidden tab was selected, select the first visible tab
Induce tab overlap using negative right margin instead (first-child tab can be hidden)
Use a slightly cleaner approach than in #1401
2015-08-29 18:42:29 +10:00
Samuel Georges c5c56dd927 Merge pull request #1401 from gabsource/hide-formwidget-tab-on-toggle
Hide FormWidget tabs when they contain no fields or only hidden field
2015-08-29 17:21:42 +10:00
Jérémy Gaulin 6ec42da584 Hide FormWidget tabs when they contain no fields or only hidden fields after a toggle event on a field has occurred 2015-08-27 22:28:03 +02:00
Samuel Georges 793bf30c26 Decouple the toolbar from the layout system 2015-08-26 20:24:37 +10:00
Samuel Georges fc04bd1b4c Added new makeFormWidget() method to WidgetMaker for rendering form widgets individually 2015-08-07 19:06:04 +10:00
Samuel Georges f4890eec0c Add better support for pivot relations in lists 2015-08-05 19:53:05 +10:00
Samuel Georges 2c646878a0 Add $.oc.listGetChecked helper 2015-08-05 19:52:50 +10:00
Samuel Georges 23dc27e679 Ensure the models primary key is always available in the URL values
Fixes https://github.com/rainlab/forum-plugin/issues/74
2015-08-05 07:48:18 +10:00
Samuel Georges b010732796 These methods should be protected, update client lang 2015-08-04 10:01:17 +10:00
Samuel Georges f47b99d183 Move storm to its own build 2015-07-29 19:13:42 +10:00
Samuel Georges 93f7b7800b Merge pull request #1306 from Flynsarmy/numberPattern
Allow overriding number field pattern attribute
2015-07-25 15:28:46 +10:00
Samuel Georges 4781c703bb Fixes previewMode on checkboxlist and radio
Checkboxlist wasn't showing the placeholder for empty preview values
2015-07-25 09:22:22 +10:00
flynsarmy a5b41269e7 Allow overriding number field pattern attribute 2015-07-24 16:24:50 +10:00
Samuel Georges d9b98bccca Minor 2015-07-21 07:57:04 +10:00
Samuel Georges 846feb6a33 FileUpload now triggers dependsOn event
form.beforeRefresh event now uses dataholder pattern
Improve exception handling in ControllerBehavior
2015-07-18 08:50:31 +10:00
Samuel Georges e3ba89ba74 List columns don't support morphTo (yet) 2015-07-18 08:47:02 +10:00
Samuel Georges 3d91b7874c Fixes a bug in report container not loading defaults and ignoring context 2015-07-16 18:19:09 +10:00
Samuel Georges 8e3d3d5e30 Fixes a bug in report container not loading defaults and ignoring context 2015-07-16 13:34:53 +10:00
Samuel Georges ac9df4c076 Lists support appended attributes in url links 2015-07-14 07:42:45 +10:00
Samuel Georges e9ed9d14c8 Add $.oc.listToggleChecked helper
Other minors
2015-07-10 15:51:24 +10:00
Samuel Georges 84da7f3698 Improve tabs consistency, fix conflict with .primary
.primary -> .primary-tabs
.secondary -> .secondary-tabs
.master -> .master-tabs
2015-07-10 15:51:24 +10:00
Samuel Georges 4b36e1bd95 Merge pull request #1240 from alvaro-canepa/patch-5
Translate field value in preview mode
2015-07-04 10:25:35 +10:00
Samuel Georges a1e1b52d6e Fixes bug where select2 cannot be selected in a popup
OL and UL and sane rich editor elements
Disable search on list setup form
2015-07-04 09:33:05 +10:00
Samuel Georges 78cf62cff1 Add a note about October.Drivers for mail methods that use it
Trim field partials to allow :empty selector to work
2015-06-30 15:30:14 +10:00
Alvaro Cánepa 90c47b4e6f Translate field value in preview mode 2015-06-27 07:34:34 -03:00
Samuel Georges c9a9c6ea16 List columns now support specifying a default option used when the value would otherwise be null. 2015-06-27 10:39:07 +10:00
Samuel Georges 453d2fda56 Add the links handler to rich editor
Other small fixes
2015-06-24 17:36:59 +10:00
Samuel Georges 37e5b2328f Form text/password/number fields now support maxlength attribute - Fixes #1210 2015-06-20 12:00:37 +10:00
Samuel Georges 44a650ca72 Minor fix from #1204 2015-06-14 11:09:37 +10:00
Michał Płodowski fc6f479aaa Add global event for filter widget to extend model options query typo 2015-06-12 16:56:37 +02:00
Michał Płodowski 8ed463e2c9 Add global event for filter widget to extend model options query 2015-06-12 15:54:05 +02:00
Samuel Georges bed7d0825f Fixes loading animation in various places 2015-06-03 19:22:18 +10:00
Samuel Georges a002d5da92 Merge branch 'develop' into ui-breakout
Conflicts:
	modules/system/assets/ui/js/chart.bar.js
2015-05-30 13:01:35 +10:00
Samuel Georges c0fdee9923 Merge pull request #1146 from krisawzm/patch-1
Fixes #1129
2015-05-30 09:47:15 +10:00
Samuel Georges db39026df7 Move filter to UI lib 2015-05-29 19:24:49 +10:00
Samuel Georges a1291c3716 Restyle Administrator pages 2015-05-21 22:55:08 +10:00
Samuel Georges be05899a52 Outside fields don't use tabs 2015-05-21 22:55:08 +10:00
Scott Bedard d795d912d2 Solves issue #1140 2015-05-16 03:44:25 -04:00
Justin Lau 8ab2a5999b Removes local mousewheel jquery plugin. Fixes rainlab/translate-plugin#5. 2015-05-16 07:53:20 +08:00
krisawzm da0a7cbd86 Fixes #1129 2015-05-12 19:12:29 +02:00