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