Samuel Georges
5c12d99cc9
Minor revision to #1469
2015-10-17 08:41:10 +11:00
Karl Thibault
d9e85380af
Add localization for the backend Switch widget
2015-09-26 22:03:05 -04: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
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
f4890eec0c
Add better support for pivot relations in lists
2015-08-05 19:53:05 +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
e3ba89ba74
List columns don't support morphTo (yet)
2015-07-18 08:47:02 +10:00
Samuel Georges
ac9df4c076
Lists support appended attributes in url links
2015-07-14 07:42:45 +10: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
krisawzm
da0a7cbd86
Fixes #1129
2015-05-12 19:12:29 +02: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
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
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
398177b006
Full pivot support added to RelationController
2015-03-19 20:01:08 +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
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
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