Commit Graph

345 Commits

Author SHA1 Message Date
Samuel Georges 0762e5cf53 Remove dependency on illuminate\html 2016-01-02 14:59:59 +11:00
Samuel Georges 188351a82a Merge pull request #1675 from gpasztor87/patch-1
Minor fix
2016-01-02 11:55:54 +11:00
Pásztor Gábor e1a9d8d393 Minor fix
It does not worked for me in popup window.
2015-12-30 19:32:14 +01:00
alekseybobkov 7d9d2176ef Merge branch 'builder-ui' into develop
Conflicts:
	modules/system/assets/ui/js/input.monitor.js
	modules/system/assets/ui/js/inspector.editor.object.js
	modules/system/assets/ui/storm-min.js
2015-12-24 14:36:31 -08:00
Samuel Georges 04e61adac3 Add official support for "nolink" columns - Fixes #1599
To make a row non-clickable, use the `clickable` option in the list column definition
2015-12-05 10:05:42 +11:00
alekseybobkov c72920029e Minor extension in the table widget client-side API. 2015-11-20 21:02:45 -08:00
alekseybobkov 0e2e18af7f Added autocomplete column type to the Table widget 2015-11-17 21:26:03 -08:00
Samuel Georges af657e9399 Fixes #1042 - remove fillable constraint on models when saving
Form fields are already constrained by their fields.yaml definition (values not defined in the yaml will not be saved) so we don't need to double dip by enforcing fillable too.
2015-10-17 11:41:40 +11:00
Samuel Georges ef22ac934d DRY up code from #1504 2015-10-17 10:16:49 +11:00
Samuel Georges 5c12d99cc9 Minor revision to #1469 2015-10-17 08:41:10 +11:00
Samuel Georges 7543daa976 Merge pull request #1469 from Notuom/localize-backend-list-widget-switch
Add localization for the backend list Switch widget
2015-10-17 08:22:50 +11:00
alekseybobkov a5b217ff0b Merge branch 'develop' into builder-ui
Conflicts:
	modules/backend/widgets/table/assets/js/build-min.js
	modules/backend/widgets/table/assets/js/table.js
2015-10-15 17:32:19 -07:00
Samuel Georges b7505a2cd7 Returning save data now depends on form fields, so they should always be defined 2015-10-05 18:00:01 +11:00
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
Karl Thibault d9e85380af Add localization for the backend Switch widget 2015-09-26 22:03:05 -04: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
alekseybobkov fea5d8389f Minor fixes and improvements. 2015-09-10 20:45:07 -07: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
alekseybobkov 268b918a51 Merge branch 'master' of github.com:octobercms/october into builder-ui 2015-08-27 18:30:45 -07: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
alekseybobkov c38126ce65 Implemented the oc.tableCellChanged event for the table widget. Added readonly mode support in the code editor widget. 2015-08-25 21:34:21 -07:00
alekseybobkov 35c9e753f4 Table validation messages are translatable now. Fixed a bug where clicking a checkbox in a table row doesn't change its status. 2015-08-14 20:11:55 -07:00
alekseybobkov a253d6fc57 Added customization options for the Table widget toolbar button labels 2015-08-13 20:26:11 -07: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