Commit Graph

51 Commits

Author SHA1 Message Date
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 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 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 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 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
Sergiy Litvinchuk fcc93e9319 fix error on remove displayed list column 2015-01-20 23:48:38 +02:00
Samuel Georges 6f5e3c7682 Minor bug fix where first column is not sortable 2015-01-15 17:26:21 +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
Samuel Georges 2533b4ab4d ThemeData now applies default values, Theme object will proxy to ThemeData 2014-12-05 16:45:20 +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
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
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
Stefan Talen b64a744498 Updating modules/backend/widgets 2014-10-11 00:39:34 +02:00
Sam Georges 028339ec02 nameFrom -> valueFrom (lists) 2014-09-17 14:13:07 +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
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
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 09106ff560 Improvements to logging screens and internals of List widget 2014-08-06 11:19:59 +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
Sam Georges d912b73aab Clean up event parameters to dev standards 2014-07-04 19:14:14 +10:00
Sam Georges b09b6d6863 Improved naming onReload -> onRefresh
Improved Record finder
2014-07-03 18:37:51 +10:00
Sam Georges 5ce21e2fae List widget now supports injecting cssClasses 2014-06-30 16:58:10 +10:00
Sam Georges 893f7746f7 Improvements to naming standards 2014-06-30 13:27:28 +10:00
Sam Georges a8371264dc Improve efficiency of List widget, empty relations now no longer try to load themselves and show empty JSON array "[]" 2014-06-29 09:12:11 +10:00
Sam Georges 433cf85bd4 All DateTime fields now validated in Lists 2014-06-20 19:30:37 +10:00
Sam Georges 8359baa719 Fixes issue where default value on form fields is not set 2014-06-08 10:58:39 +10:00
Sam Georges de47b6c6a4 Adds new event backend.list.extendColumns 2014-06-08 10:52:46 +10:00
Sam Georges f44b203e44 Removing plugins can now be purged from the db, orphaned plugins are visible, don't concat single list relations, add more events to Cms controller. 2014-06-05 18:52:53 +10:00
Sam Georges 4f7a88d748 Fixes #221 - Relational search ambiguous column name problem 2014-05-29 19:40:02 +10:00
Sam Georges 2ea21ae2ac Fixes #213 - use a more friendly error when dates are not defined properly 2014-05-27 13:44:28 +10:00
Sam Georges 9e2a76d821 Add core build tag to core assets 2014-05-24 16:57:38 +10:00
Sam Georges a6cd797b22 Another fix for SQLite 2014-05-20 19:06:56 +10:00
Sam Georges cca27a77d6 Fixes #124 using DbDongle 2014-05-20 15:45:20 +10:00
Sam Georges bcf6d1a2bc Add custom SQL for SQLite 2014-05-16 11:49:08 +10:00
Sam Georges bdff075058 Improve event emitter trait 2014-05-15 17:23:46 +10:00
Sam Georges fd5d176f60 Tighten up events 2014-05-15 16:22:22 +10:00