Samuel Georges
c4f5a25193
Merge pull request #1687 from gpasztor87/stable
...
Remove deprecated code
2016-01-16 09:09:07 +11:00
Samuel Georges
d2561dcfd0
Merge pull request #1689 from CSNWEB/patch-2
...
Use Grammar from Query in Widget List
2016-01-16 09:02:29 +11:00
Pásztor Gábor
31457bd2ee
Cleanup
2016-01-15 10:20:57 +01:00
Samuel Georges
a3b338671d
Pass filter conditions thru dongle
...
Minor fix to new YAML syntax in demo theme
2016-01-12 21:17:07 +11:00
Samuel Georges
d8922c263f
Remove global scopes for join SQL
...
Fixes PostgreSQL strictness
Refs https://github.com/rainlab/blog-plugin/issues/171
2016-01-12 20:53:53 +11:00
CSNWEB
aa5f37aae6
Use Grammar from Query in Widget List
...
When using models with a different database software than the default, the old code produced a syntax error.
Using the Grammar from the query ensures that the alias is always wrapped correctly.
Suggestion: The code should be scanned for similar errors, produced by using DB Facade.
2016-01-10 14:10:49 +01:00
Pásztor Gábor
373c31a8e7
Remove deprecated DataGrid formwidget
2016-01-09 16:41:56 +01:00
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
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
Scott Bedard
7fd1d9e328
Solves #1077
...
Calling updateWidth() prior to redrawing solves issue #1077
2015-05-02 17:53:14 -04:00
Samuel Georges
dd8bf186a6
Minor
2015-05-02 10:50:19 +10:00
Gerard Arall
7877035dc4
Remove list columns
2015-05-01 09:09:56 +02:00
alekseybobkov
06e5dce96a
Fixed a conflict in framework.js. Closures in the script are named now, for the memory profiling needs.
...
Conflicts:
modules/system/assets/js/framework.js
2015-04-11 18:58:24 -07:00
Samuel Georges
ffd4b5a68a
Extract checkboxlist all/none JS to october.form.js
2015-04-11 10:35:04 +10:00
Samuel Georges
a9b9b916ca
Merge pull request #1036 from scottbedard/patch-2
...
Fixes issue #1035
2015-04-11 10:17:30 +10:00
Samuel Georges
0f630c80d9
Improve framework code to support $(this) in data attributes
2015-04-08 07:44:26 +10:00
Samuel Georges
93dd61efc7
Move the search term constraint under the same query group
...
Refs https://github.com/octobercms/october/pull/775
2015-04-06 16:25:43 +10:00
alekseybobkov
790b464679
Merge branch 'develop' into media-manager
2015-04-04 19:01:08 -07:00
Scott Bedard
035ebbbb68
Fixes issue #1035
...
Triggers a change event when the "all" or "none" checkboxlist helpers is clicked, enabling dependent fields be adjusted accordingly.
https://github.com/octobercms/october/issues/1035
2015-03-29 00:20:48 -04:00
alekseybobkov
f6cf7e9840
Added new back-end control Scrollpad. Added Element and Event utility functions to the Foundation library. Implemented file list scrolling in the Media Manager. Some minor fixes.
2015-03-28 11:42:40 -07:00
Samuel Georges
c4027b8bc6
Added a defaultFrom option to form fields
...
Default context of manage and pivot forms is now create and update respectively, instead of the old value relation
2015-03-28 16:14:22 +11:00
Samuel Georges
3eede4a7b7
Reorganise and improve RelationController
...
Fix bug in DataTable limited to 10 records
2015-03-27 22:20:52 +11:00
Samuel Georges
a743d78658
List Column of type switch now has text-center CSS
...
List Column now have getName and getId accessors
2015-03-25 19:35:00 +11:00
Samuel Georges
8d93c9ffab
List query is now AND where instead of OR where
...
Refs #775 to support soft deletes
2015-03-25 19:33:00 +11:00
Samuel Georges
3c2494aa83
Improve DataTable form widget, fixes vague error in RecordFinder
2015-03-24 20:10:45 +11:00
Samuel Georges
398177b006
Full pivot support added to RelationController
2015-03-19 20:01:08 +11:00
Samuel Georges
a1ac5edbf7
Various minor fixes and improvements
2015-03-18 19:28:14 +11:00
Samuel Georges
c6bfd5d01c
Move this logic to no longer depend on AR model
2015-03-10 09:34:59 +11:00
Samuel Georges
3ecdf2c74b
Fixes #977 - Look to related models for getting dropdown-type options
2015-03-07 13:14:13 +11:00
Samuel Georges
668457b4e6
Updated deprecated references
...
Str::evalHtmlId -> October\Rain\Html\Helper::nameToId
Str::evalHtmlArray -> October\Rain\Html\Helper::nameToArray
Str::stripHtml -> October\Rain\Html\Helper::strip
Str::limitHtml -> October\Rain\Html\Helper::limit
Str::cleanHtml -> October\Rain\Html\Helper::clean
2015-03-07 12:48:39 +11:00
Samuel Georges
9ff62d02b7
Minor clean of #986
2015-03-07 11:34:19 +11:00
Ariel Ponce
2cffe106b8
Allow to pass 0 as column value in List widgets
...
**Problem**: When overriden the columns value, if we pass 0 or '0', the condition is not met and therefore the column has a null value.
**Solution**: Check for not null in the condtion
2015-03-06 11:51:05 +01:00
Samuel Georges
507bfab768
!!! *BREAKING*: Form widget base class no longer takes a model as the 2nd argument, it should be passed as `model` in the configuration instead.
2015-03-06 20:37:05 +11:00
Samuel Georges
2561131f38
Allow balloon control markup to be used independently
2015-03-06 20:35:54 +11:00
Samuel Georges
561e969d2d
Extract controls to their own stylesheet
...
(So they can be used elsewhere; namely documentation)
Add indicator-center and clean up load indicator
Fancy layout should live with the other layouts, it isn't really a control
2015-03-04 18:23:02 +11:00
Samuel Georges
f869b8cc94
Gives FormWidgets the ability to say: "No labels, please"
...
ping @keiosweb
2015-03-03 20:24:14 +11:00
Samuel Georges
1ab8858271
Minor touch ups
2015-03-03 18:38:36 +11:00
Samuel Georges
81d0225928
Allow query to be completely swapped out using extendQuery
...
Add HTML array support to valueFrom (without relations)
2015-02-28 22:07:06 +11:00
Samuel Georges
49f6e64db0
Refactor the toolbar widget
2015-02-28 13:54:00 +11:00
Samuel Georges
4e1f704ae3
Minor clean up
2015-02-28 13:48:35 +11:00
Samuel Georges
a57505b227
Refactor Search widget
2015-02-28 13:45:14 +11:00
Samuel Georges
bb8292d883
Add warning about impending doom
2015-02-28 13:39:21 +11:00
Samuel Georges
f9e287e173
Refactor form widget to use an approach much like ReportContainer
2015-02-28 13:37:06 +11:00
Samuel Georges
6e54fea23f
Refactor filter widget to use an approach much like ReportContainer
2015-02-28 12:50:02 +11:00
Samuel Georges
85c47c4e01
public -> protected $defaultAlias
2015-02-28 12:43:53 +11:00
Samuel Georges
c035f81b0f
Refactor list widget to use an approach much like ReportContainer
...
This means widget properties are "filled" from the supplied config
2015-02-28 12:41:45 +11:00
Samuel Georges
932a40a025
Streamline the process of filling a widget with its config options
2015-02-28 12:12:22 +11:00
Samuel Georges
543686c8e0
Fixes #953 - ReportWidgets now initialize early and therefore support AJAX handling
2015-02-28 11:51:58 +11:00
Samuel Georges
5784417862
Document widget accepted config
...
These definitions don't serve a function other than helping developers
2015-02-28 11:50:27 +11:00
Samuel Georges
5c78140268
Adds compact column, explicit option for deferred binding in relation controller, fix to list head width
2015-02-27 21:54:58 +11:00
Samuel Georges
e487f075c4
Fixes issue in CodeParser where it tries to use a class that doesn't exist
...
Adds context to filterFields() model override
2015-02-26 23:08:38 +11:00
Samuel Georges
e6acb54d03
* Build 209
2015-02-25 19:10:42 +11:00
Samuel Georges
a748eb1b23
Merge pull request #961 from tresbach/develop
...
Allow setting 'options' for a scope in filter config
2015-02-25 19:07:49 +11:00
Samuel Georges
2bdc5aea78
Add section form field type, minor style fixes
2015-02-24 18:46:20 +11:00
Amanda Tresbach
d50e9e743f
Allow setting 'options' for a scope in filter config
2015-02-22 20:28:05 -03:00
flynsarmy
74cd856f8a
Accept any valid number, positive or negative
2015-02-22 13:45:40 +10:00
Pásztor Gábor
f8cb3900f0
Add validation rules for mail settings.
2015-02-21 19:55:37 +01:00
Samuel Georges
320f7bfb1a
List text values should be escaped, since they come directly from the model values
...
Fxies https://github.com/rainlab/user-plugin/pull/37
2015-02-21 19:16:44 +11:00
Samuel Georges
6bf72386ee
Can now prune event/request log records, add width definition to list columns
2015-02-21 13:49:32 +11:00
Samuel Georges
7145aac457
Prepare for CDN, config rename cms.plugins|themes|uploadsDir -> cms.plugins|themes|uploadsPath
...
Deprecate data-trigger-type on triggerapi
Fixes ref to Util class
2015-02-17 20:58:38 +11:00
Samuel Georges
6a2f64757b
*** REMOVED ALL DEPRECATED CODE **
2015-02-14 14:11:25 +11:00
Samuel Georges
2b32fc4718
Minor touch ups
2015-02-12 08:37:24 +11:00
Samuel Georges
77d0d25f64
Merge pull request #934 from Flynsarmy/removeFormField
...
Add support for removing form fields
2015-02-12 08:32:03 +11:00
flynsarmy
5805ddec5a
Add support for removing form fields
2015-02-07 19:52:34 +10:00
Samuel Georges
0fc489c7cb
Fixes for Paginator / setCurrentPage
...
remember() now works
2015-02-07 10:24:28 +11:00
Samuel Georges
4c29c5080d
Clean up, get front and backends operational again
2015-02-05 19:47:20 +11:00
Samuel Georges
03eb949e71
Add illuminate/html package, DB -> Db, HTML -> Html
2015-02-04 20:03:44 +11:00
Samuel Georges
beb818efa5
Merge branch 'develop' into laravel5
...
Conflicts:
modules/cms/classes/CmsCompoundObject.php
modules/system/ServiceProvider.php
2015-02-04 19:35:55 +11:00
Samuel Georges
125c189e19
When a form tab contains no visible form fields, the tab itself is hidden
2015-01-29 20:32:29 +11:00
Samuel Georges
167d113c12
depends -> dependsOn
...
Hidden fields now retain their container div (hidden when empty)
2015-01-29 20:32:24 +11:00
Samuel Georges
b1b700368f
Radical reorg of some classes
2015-01-28 11:49:54 +11:00
Samuel Georges
7c1de4f728
Add export action to ListController behavior
2015-01-27 20:02:20 +11:00
Samuel Georges
4a81e096fa
MArkup wise it's better to omit the toolbar item when the search is unavailable, need to address the issue of the overflow indicator being difficult to see using CSS perhaps?
2015-01-25 14:05:56 +11:00
Sergiy Litvinchuk
fcc93e9319
fix error on remove displayed list column
2015-01-20 23:48:38 +02:00
Samuel Georges
010dbb33d7
Fixes #895 - Persist query filter on paginate/list refresh
2015-01-18 11:45:25 +11:00
Samuel Georges
6f5e3c7682
Minor bug fix where first column is not sortable
2015-01-15 17:26:21 +11:00
alekseybobkov
3499bbf063
Compiled Table JavaScript files, removed old table-min.js
2015-01-13 21:05:45 -08:00
alekseybobkov
70d3778611
Minor changes in the Table widget validation
2015-01-13 18:44:20 -08:00
Samuel Georges
c4cef299dd
Fixes #828 - php artisan october:util compile assets
2015-01-12 20:08:53 +11:00
alekseybobkov
090264e3b9
Minor fixes in the Inspector and Scrollbar classes. Minor updates in the Table widget.
2015-01-11 20:56:17 -08:00
alekseybobkov
cbc808520d
Added JS source map extension to the white map in the .htaccess file. Minor fix in the forms styling. Implemented client-side validation for the Table widget. Updated the Table widget readme file.
2015-01-11 13:42:42 -08:00
alekseybobkov
bc287a9559
Minor fix in the drop-down cell procesor. Added some Validation documentation.
2015-01-08 20:39:44 -08:00
alekseybobkov
c26545913c
Improvements in the table widget, added new events to the CMS core, form styling, added support for the Table widget in in the CMS area.
2015-01-07 22:21:52 -08:00
Samuel Georges
b74b19741b
Unify the logic for getting field values from a dataset
...
Amongst Form Widgets and "the" Form widget
ping @alekseybobkov
2015-01-05 12:54:14 +11:00
Samuel Georges
0be582c42d
getSaveData -> getSaveValue
2015-01-05 09:43:39 +11:00
alekseybobkov
820ff72149
Automatically initialize a record when the dataset is empty
2015-01-03 18:00:34 -08:00
Samuel Georges
4852722ba1
Merge pull request #848 from nicolas-lescop/develop
...
Extend query of the filter options lists
2015-01-03 15:58:34 +11:00
Samuel Georges
54adc840cb
Allow key column to be a string value (like a code). ping @alekseybobkov
2015-01-03 12:07:04 +11:00
Samuel Georges
04c6fdc7f3
Minor
2015-01-03 12:06:12 +11:00
Samuel Georges
29b4f8bb17
Elaborate on client side data access
2015-01-03 11:49:25 +11:00
Samuel Georges
a2dec246e5
handler -> postbackHandlerName (doesn't do the same thing as traditional 'handler')
2015-01-03 11:30:02 +11:00
Samuel Georges
83223938b2
Minor
2015-01-03 11:25:08 +11:00
Samuel Georges
a6259ff915
depends_on -> dependsOn
2015-01-03 10:04:06 +11:00
Samuel Georges
433c4c07ff
key_column -> keyFrom
2015-01-02 13:53:56 +11:00
Samuel Georges
59a0e08cd0
data_source -> dataSource
2015-01-02 13:50:51 +11:00
Samuel Georges
89f79a7665
postbackHandlerName / postback_handler_name -> handler
2015-01-02 13:49:26 +11:00
Samuel Georges
b9c259c17f
records_per_page -> recordsPerPage
2015-01-02 13:35:27 +11:00
Samuel Georges
9cfe4ad8f4
Control CSS: table-control -> control-table
2015-01-02 13:24:09 +11:00
Nicolas Lescop
99d34789a4
Extend query of the filter options lists
2014-12-23 14:57:28 +01:00
Darek Magusiak
9bda36e441
Model field definitions and default value of '0'
...
#845
2014-12-22 21:02:46 -05:00
alekseybobkov
3ac21e3c89
Merge branch 'develop' into table-widget
2014-12-17 22:15:23 -08:00
alekseybobkov
1480303c4f
The options can now be set with the PHP configuration. Minor updates in the scrollbar widget. Implemented scrolling. Updated documentation.
2014-12-17 22:07:49 -08:00
alekseybobkov
f2e2862b06
Styled the pagination
2014-12-15 22:49:33 -08:00
Samuel Georges
25f9b7f63c
Default value might be an array
2014-12-16 12:22:58 +11:00
alekseybobkov
96bf61f0f2
Minor update in the documentation
2014-12-14 23:17:47 -08:00
alekseybobkov
831f28e84d
Implemented and styled the toolbar
2014-12-14 22:34:37 -08:00
alekseybobkov
c6eb544101
Implemented the server-side data access. Added automatic POSTing of client-memory data source data. Updated documentation. Minor fixes in the drop-down cell processor.
2014-12-11 22:12:43 -08:00
alekseybobkov
bffd4574b6
Documentation updates
2014-12-10 22:54:29 -08:00
alekseybobkov
23892f8733
Added the server-side data source foundation classes. Implemented the server-side client memory data source. Added more configuration options ot the client-side script. Updated documentation.
2014-12-10 22:46:17 -08:00
alekseybobkov
baee9edcd2
Implemented server-side drop-down event, updated documentation.
2014-12-10 19:49:50 -08:00
alekseybobkov
9377bcf7c1
Table widget dropdowns - dependent drop-downs and loading indicators
2014-12-09 22:37:52 -08:00
alekseybobkov
d880f1ffbd
Minor. Memory usage profiled.
2014-12-08 22:59:33 -08:00
alekseybobkov
f56bfe12d0
Implementing AJAX loading for drop-down options, in progress.
2014-12-08 22:50:25 -08:00
alekseybobkov
4b28ee8bcb
Custom drop-down control for the table widget. In progress.
2014-12-07 23:30:15 -08:00
Samuel Georges
e9c8107cc5
Checkbox list should support preview mode
2014-12-06 12:16:09 +11:00
Samuel Georges
67d9f82097
Merge pull request #813 from nicolas-lescop/patch-3
...
Allow to prepare list model from controller
2014-12-06 09:00:30 +11:00
alekseybobkov
a6d8ab20f7
More styling for the drop-down processor. Not finished. TODO: investigate and fix the memory leaking in the drop-down cell processor (detached DOM tree)
2014-12-04 22:48:25 -08:00
Samuel Georges
c485622f5b
FormController is now responsible for purging data from the set (NO_SAVE_DATA)
2014-12-05 16:48:27 +11:00
Samuel Georges
2533b4ab4d
ThemeData now applies default values, Theme object will proxy to ThemeData
2014-12-05 16:45:20 +11:00
alekseybobkov
e032fd682d
Table drop-down processor, in progress
2014-12-03 22:48:26 -08:00
Samuel Georges
89c878b439
Fixes checkboxlist ignoring empty data sets
2014-12-04 17:20:53 +11:00
nicolas-lescop
746a5749c7
Allow to prepare list model from controller
...
I need reach this method from the controller to create an export feature
2014-12-03 18:08:44 +01:00
alekseybobkov
d2e4225bae
Updates in the readme
2014-12-02 22:10:04 -08:00
alekseybobkov
d03370c5bf
Added the checkbox cell processor
2014-12-02 21:46:54 -08:00
alekseybobkov
a73ef52d36
Styling and column alignemnt
2014-12-01 22:31:11 -08:00
alekseybobkov
1f420c88fd
Minor refactoring in the navigation code. Implemented cell focusing on the record deletion with enabled pagination. The code profiled and checked for memory leaks.
2014-11-27 21:55:37 -08:00
Samuel Georges
78c5a6af5d
Fixes #761 - Widgets can support proxy fields too
2014-11-27 19:15:15 +11:00
alekseybobkov
839c686bb3
Implementing record deletion feature, in progress
2014-11-26 23:14:46 -08:00
alekseybobkov
8c5cd78143
Implemented adding row above and below the current row features
2014-11-25 21:47:37 -08:00
alekseybobkov
719d3831ec
Refactored navigation, implemented record adding and updating for the client-memory dataset
2014-11-24 22:36:55 -08:00
alekseybobkov
3fb9184b1f
Fixed typos
2014-11-20 22:16:00 -08:00
alekseybobkov
d8ad718f1d
Added pagination, improved the navigation code
2014-11-20 22:12:36 -08:00
alekseybobkov
2bd40037d1
The Table navigation functionality was factored out to the Navigation class. Minor table performance fixes.
2014-11-17 22:27:54 -08:00
alekseybobkov
917958bc4c
Added keyboard navigation
2014-11-16 21:48:40 -08:00
alekseybobkov
4e921aab7a
Minor performance changes in the core JS and CSS. Table widget, in progress.
2014-11-16 18:00:15 -08:00
alekseybobkov
228253fdf6
Merge branch 'develop' into table-widget
2014-11-11 19:50:16 -08:00
alekseybobkov
11be3fede3
Defining the table widget classes
2014-11-11 19:45:50 -08:00
Sam Georges
f458fb7704
Overhaul Form layouts, adds FormTabs.php class for managing tab properties
2014-11-12 07:33:58 +11:00
Sam Georges
c32ba4cbad
Minor code clean
2014-11-04 17:41:48 +11:00
Sam Georges
2011a21e6f
Minor
2014-11-01 12:03:38 +11:00
Sam Georges
c83797231d
Subsequent expressions are on a new line (see developer guide > PSR exceptions)
2014-11-01 12:00:45 +11:00
Sam Georges
167eb74474
Fixes logic bug
2014-10-21 20:22:04 +11:00
Sam Georges
23f6d75416
Peer review of #679
2014-10-19 10:58:18 +11:00
Stefan Talen
4fa6db3bd5
Fixing minor issue
2014-10-11 12:15:02 +02:00
Stefan Talen
61cf1ad710
Merge branch 'develop' of https://github.com/octobercms/october into feature/PSR-2
...
Conflicts:
modules/backend/behaviors/FormController.php
modules/backend/classes/AuthManager.php
modules/backend/lang/fa/lang.php
modules/backend/widgets/Form.php
modules/cms/classes/CmsCompoundObject.php
modules/cms/classes/ComponentHelpers.php
modules/cms/formwidgets/Components.php
2014-10-11 11:58:20 +02:00
Sam Georges
153fcfbb13
Refs #598 - Ignore phantom columns stored in preferences
2014-10-11 17:58:48 +11:00
Sam Georges
f03db8be5d
Fixes #669 - Labels in filter do not translate
2014-10-11 16:38:23 +11:00
Sam Georges
d92268b516
Oops, broke the switch
2014-10-11 14:32:30 +11:00
Sam Georges
71f9df8e13
Use HTML to pass unchecked checkboxes/switches. Refs #648
2014-10-11 14:31:09 +11:00
Samuel Georges
182bb01167
Merge pull request #648 from Flynsarmy/checkboxZeroVal
...
Send a 0 value when a checkbox is unchecked
2014-10-11 14:21:43 +11:00
Sam Georges
1dcaa0d1d6
Fixes #677 - use FQN for "instanceof Model" expressions
2014-10-11 12:13:25 +11:00
Sam Georges
4504d5bf4c
Improve translation handling
2014-10-11 10:37:48 +11:00
Stefan Talen
b64a744498
Updating modules/backend/widgets
2014-10-11 00:39:34 +02:00
Sam Georges
eff70e2342
Minor
2014-10-08 18:55:17 +11:00
Sam Georges
8d5253930d
Form fields can now be marked as hidden
2014-10-08 18:55:09 +11:00
alekseybobkov
dcf7bb7d4f
Merge branch 'develop' into misc-tmp
2014-09-27 23:29:41 -07:00
flynsarmy
7d8425538b
Send a 0 value when a checkbox is unchecked
2014-09-26 09:20:01 +10:00
Sam Georges
746f425d88
Added new containerAttributes property to form fields
2014-09-25 18:05:35 +10:00
alekseybobkov
a9e2e2d80f
Improvements in the CMS objects and back-end UI.
2014-09-18 20:34:24 -07:00
alekseybobkov
a77b290a8e
Improvements in the back-end widgets
2014-09-18 20:34:24 -07:00
Sam Georges
cc8d833ea8
Minor
2014-09-18 08:22:22 +10:00
Sam Georges
bbfc665e88
Minor
2014-09-17 17:18:44 +10:00
Sam Georges
a5f17edc45
Handle fields that differ by fieldName and valueFrom
2014-09-17 17:10:13 +10:00
Sam Georges
4f00fbdbc6
Minor. keyField -> keyFrom
2014-09-17 16:47:55 +10:00
Sam Georges
4763c9598a
Add valueFrom to form field, rename field->columnName to field->fieldName
2014-09-17 14:43:24 +10:00
Sam Georges
028339ec02
nameFrom -> valueFrom (lists)
2014-09-17 14:13:07 +10:00
Sam Georges
3b2b858b65
nameColumn -> nameFrom
2014-09-17 13:52:05 +10:00
Sam Georges
109df00340
nameColumn -> nameFrom
...
descriptionColumn -> descriptionFrom
2014-09-17 13:39:37 +10:00
Samuel Georges
d8bd36e2f5
Merge pull request #624 from Flynsarmy/balloonOptions
...
Add dynamic option support to balloon-selector fields
2014-09-13 21:44:54 +10:00
flynsarmy
635cb4f4d3
Add dynamic option support to balloon-selector fields
2014-09-13 21:43:43 +10:00
flynsarmy
60958efeed
Set number fields to null if no value entered
2014-09-13 18:29:10 +10:00
Samuel Georges
cb3083c17c
Merge pull request #620 from Flynsarmy/numberFieldValue
...
Correctly sanitize number fields
2014-09-13 17:21:45 +10:00
flynsarmy
0fd0b29772
Correctly sanitize number fields
2014-09-13 17:17:15 +10:00
Sam Georges
d4e28a62cc
Added new `hint` form field type (see Backend > Forms docs).
2014-09-13 15:14:03 +10:00
Sam Georges
8291dbf4d3
Widgets can now state that they contribute no data when the form is saved
...
Applied to FileUpload.php
2014-09-06 22:22:59 +10:00
Sam Georges
f3c6260c3e
Slightly different fix to #580 . Closes #580
2014-09-06 22:02:56 +10:00
Sam Georges
df26e201df
Alleviate the Search Widget of its need for a <form> tag
2014-09-06 14:03:37 +10:00
Sam Georges
2460e54028
Update changelog, move relation config under view/manage array respectively
2014-09-06 12:09:00 +10:00
Sam Georges
29b132a4a0
treeExpanded default is now false
2014-09-06 11:28:01 +10:00
alekseybobkov
324d0b11a5
Fixes dropdowns in the report widgets. Closes #588
2014-09-04 22:49:29 -07:00
Sam Georges
f829fbca3c
column-name -> field-name
2014-08-30 15:06:11 +10:00
Sam Georges
0243f47651
Fixes empty reference when using Form widget outside FormController
2014-08-30 09:49:48 +10:00
Samuel Georges
f6189053b2
Merge pull request #592 from planetadeleste/patch1
...
Fixes #591 - Use translations in filters
2014-08-29 19:30:11 +10:00
Alvaro Cánepa
12c9efbde6
Use translations instead of direct English word.
2014-08-29 00:47:05 -03:00
alekseybobkov
e72c30a3c8
Fixes drop-down fields in dashboard widgets. Closes #588
2014-08-29 14:19:20 +11:00
Sam Georges
c1bb7cec32
Typo
2014-08-23 21:52:35 +10:00
Sam Georges
4e4df36dad
Tidy up code
2014-08-23 21:46:03 +10:00
Samuel Georges
789d798eb1
Merge pull request #585 from Flynsarmy/listOrderColumn
...
Allow complex sortable columns
2014-08-23 21:16:44 +10:00
flynsarmy
9bf5821a3b
Allow complex sortable columns
2014-08-23 17:35:18 +10:00
Sam Georges
9cebf5fbb8
Make extend truly come last
2014-08-23 13:07:39 +10:00
Sam Georges
2adeb7de2d
Streamline partial usage in form fields and list columns
2014-08-23 11:11:49 +10:00
Denis Malinochkin
7104dec490
duplicate keys
2014-08-16 17:46:22 +04:00
Paul Wilde
2c46036d2c
Added a couple of missing translation strings. Fixed a translation typo for the request log empty button - It should be request_log not event_log.
2014-08-16 05:18:37 +01:00
Sam Georges
d52fe388db
Fixes #530 - No more joinWith() and groupBy(), align with Laravel to the best of our ability.
...
Adds new list column type "nameFrom" (take name from X attribute) as an alternative to "select".
2014-08-16 14:08:51 +10:00
Sam Georges
3b41b3e81f
Finish up basic Filter implementation
2014-08-13 21:23:19 +10:00
Sam Georges
21242b22b8
Fixes #543 - default fallback title isn't being translated inside the modal
2014-08-13 08:11:29 +10:00
Sam Georges
7d4e535165
Progress to filter widget, added animation less stylesheet
2014-08-13 07:52:46 +10:00
Paul Wilde
a3c94d6355
Escape unescaped translations. Add trans() function during output for the Balloon and Widget Selector.
2014-08-12 21:46:19 +01:00
Paul Wilde
1d038d3173
More translation strings.
2014-08-12 01:15:38 +01:00
Sam Georges
f1849c2ea0
Refs #5 - Progress to Filter widget
2014-08-11 21:46:29 +10:00
Sam Georges
13587f155c
Move trans from logic-less array to inside business logic. Convert tabs to spaces.
2014-08-09 12:21:17 +10:00
Paul Wilde
906370c6bd
Added translation strings for permission labels, mail template/layout column labels, editor fullscreen, list pagination and list setup modal.
2014-08-09 03:02:15 +01:00
Paul Wilde
de98451148
Allow the dashboard widget inspector and report widget to be translated.
2014-08-09 01:29:19 +01:00
Samuel Georges
4bf9da8b56
Merge pull request #528 from whsol/add_translation_to_backend
...
Add Translation to backend controls
2014-08-07 20:41:18 +10:00
felix
7fd9e267a9
add Translation to backend
...
switch
relation create_button
relation add_button
2014-08-07 12:58:17 +04:00
Sam Georges
e5830171f6
Fixes bug where dropdown are empty for non string values
2014-08-06 11:50:20 +10:00
Sam Georges
09106ff560
Improvements to logging screens and internals of List widget
2014-08-06 11:19:59 +10:00
Sam Georges
72dff8fdfa
Minor
2014-08-05 20:03:03 +10:00
Sam Georges
db18e3c828
Translate and improve dash widget popup
2014-08-05 16:54:39 +10:00
Sam Georges
d050cff3c6
Improved Grid widget
...
Grid widget now supports custom toolbar
Remove row is triggered as "data changed"
2014-08-05 16:54:39 +10:00
Sam Georges
f99bd0e427
Tidy up the Form widget object, allFields and formWidgets no longer public
2014-08-03 10:25:19 +10:00
alekseybobkov
fecfeee2ac
Fixed drop-down widget properties on the dashboard
2014-08-02 12:29:41 +11:00
Sam Georges
56d0c3351b
private -> protected
2014-08-01 14:54:16 +10:00
Sam Georges
6388ecef52
private -> protected
2014-08-01 13:58:59 +10:00
Sam Georges
8b7bbd1062
Add 'partial' type to list columns.
2014-08-01 10:42:14 +10:00
Sam Georges
b10b41f3bf
Improvements to List widget, CSS classes can now be passed through
2014-07-31 19:37:11 +10:00
flynsarmy
eea0a5e7c7
Support custom currency formats
2014-07-31 10:05:13 +10:00
flynsarmy
88fba61a78
Prioritize sourceHandler over dataLocker
2014-07-30 15:17:28 +10:00
Sam Georges
4fa00f1c7b
Fixes an issue where unfilled relations are not populated in forms
2014-07-28 17:01:54 +10:00
Sam Georges
49d40e77ad
Add deselect function to API
2014-07-25 15:57:00 +10:00
Samuel Georges
9f1b0415aa
Merge pull request #443 from jbh-/hotfix/NumberFieldValidation
...
Add pattern to number field to only allow for numbers
2014-07-19 09:14:35 +10:00
Sam Georges
05842b6cad
Fixes #444
2014-07-18 22:47:36 +10:00
Sam Georges
baec411fd3
Add change monitoring to Grid widget
2014-07-18 19:16:23 +10:00
Josh Hall
67437098cb
Add pattern to number field to only allow for numbers
2014-07-17 16:07:29 -05:00
Sam Georges
a2e755e439
Simplify grid widget data sources
2014-07-17 21:03:47 +10:00
Sam Georges
2aa13c685f
Wrapper for set data
2014-07-17 19:25:01 +10:00
Sam Georges
242a3a5cde
Buttons inside a popup support new `data-popup-load-indicator` attribute.
...
Other minor improvements
2014-07-17 16:42:49 +10:00
Sam Georges
f4c13092dd
Minor
2014-07-16 19:36:16 +10:00
Sam Georges
1a11f371d8
Remove native scroll from handsontable
2014-07-16 17:30:03 +10:00
Sam Georges
f6fffad37d
Convert DataGrid form widget in to Grid widget (no longer exclusive to forms)
2014-07-16 17:28:37 +10:00
Sam Georges
54cf043dea
Fixes #433
2014-07-15 17:16:06 +10:00
Sam Georges
62df6948b0
Required fields are now automatic from model validation
...
Make required asterisk more obvious
2014-07-12 16:56:26 +10:00
Josh Hall
6219c9ef1b
Adds an asterisk to required backend form fields
2014-07-11 11:21:20 -05:00