Samuel Georges
0d8a30730e
Introduce scope "switch" type, allow options to be passed
2016-04-27 19:09:19 +10:00
Samuel Georges
d3efc1af4c
Make the datepicker preview mode show pretty dates
...
Improve styles of preview form controls
2016-04-26 06:59:02 +10:00
Samuel Georges
02165a8a4a
Introduce a new localized date control
...
Added a helped Backend::DateTime() for rendering the appropriate HTML output as a <time /> tag
The meta now specifies the locale and timezone preference used here
Lists now take advantage of this to display dates relative to the timezone and language (awesome sauce)
@todo Still need to get apply this logic to the datepicker form widget
2016-04-23 13:17:04 +10:00
Samuel Georges
7cb9087ffb
DateTime throws an invalid arg exception to prevent Twig crashing
...
Remove rounded search style
2016-04-23 05:29:42 +10:00
Samuel Georges
0504da41f2
Add hasFields methods
...
formHasOutsideFields, formHasPrimaryTabs + formHasSecondaryTabs
2016-04-23 05:13:08 +10:00
Samuel Georges
72d3fe3ebd
More styling updates
2016-04-23 05:11:02 +10:00
Samuel Georges
51bef96db9
More styling changes and other minor improvements
2016-04-21 04:52:21 +10:00
Samuel Georges
788ffbb417
Minor fix to custom list search scope
2016-04-20 05:29:24 +10:00
Samuel Georges
bff35e5f1a
Lists can now define search scope or mode (see docs)
2016-04-19 19:54:22 +10:00
Samuel Georges
b15cdadd99
Restrict scrolling to thead
...
Fixes fluidity issue on Apple trackpad
We can now use combo scroll for Windows users / more obvious UX
2016-04-14 05:24:19 +10:00
Samuel Georges
6c30e542a7
Replace the mobile list control with drag scroll implementation
...
Disable dragging if there is nothing to drag to
Fixes accidental list.rowlink clicks when dragging
List headers no longer wrap
2016-04-13 18:18:29 +10:00
Samuel Georges
ba57dd8993
clearAssetDefinitions -> flushAssets
2016-04-12 18:04:15 +10:00
Samuel Georges
0aef151d9a
Add showSearch option to dropdown
...
This is a highly specific option, so we shouldn't add it to the FormField class itself
2016-03-25 18:21:58 +11:00
leocavalcante
f5f7ed08e4
Make available to extends Lists records
2016-03-18 21:05:23 -03:00
Samuel Georges
c244aef2f8
Clean up
2016-03-18 19:54:27 +11:00
Samuel Georges
e9c7e6b9d1
No it is not safe to share the alias and field name...
...
The field name could be nested, for example: user[data]
Using this as an alias is user[data]::onDoSomething
Resulting in an invalid AJAX handler name
2016-03-17 19:50:34 +11:00
Samuel Georges
1241f584d0
Merge remote-tracking branch 'remotes/origin/stable' into ui
2016-03-01 07:02:07 +11:00
Samuel Georges
98eb4f8239
Add support for "relation" with Tree models
...
- This makes the list slightly more efficient for small collections, less efficient for larger collections. If this becomes a problem in future we may need to look at a solution that grabs all the root nodes to start, then lazy loads any expanded nodes as secondary AJAX requests.
- Write tests for the Tree trait improvements
Fixes #1647
2016-02-27 11:29:07 +11:00
Samuel Georges
21f3ac93c1
Add support for HTML comments
...
Fixes #1808
2016-02-27 09:46:00 +11:00
alekseybobkov
b1770626d7
UI updates
2016-02-23 21:44:05 -08:00
Samuel Georges
202e542985
Oddly, JS may pass false as a string (@todo)
2016-02-20 17:15:21 +11:00
Samuel Georges
da71a21172
Add oc.tableUpdateData event and readOnly to string processor
...
Minor tidy
2016-02-20 15:38:29 +11:00
Samuel Georges
18194fa0f9
Complete Table server data source
...
Recompile assets
2016-02-20 12:45:36 +11:00
Samuel Georges
808c8f0ca4
Minor tidy and rollback from #1720
2016-02-13 14:41:17 +11:00
Joshua Wilson
6f3d7a58f2
Phpdoc cleanup for System\Traits
...
removed in WidgetMaker trait
phpdoc cleanup of backend traits and classes
Minor fix for cases when file is not found
2016-02-13 14:06:50 +11:00
Samuel Georges
e367febb93
Roll back some stuff from #1704
2016-02-13 13:18:48 +11:00
Alwin Drenth
386f958b6e
Code improvements and added proper PhpDoc
2016-02-13 13:08:30 +11:00
Samuel Georges
6d8ec9b4dc
Fixes data source polluting base proto
...
Recompile assets
2016-02-10 20:22:50 +11:00
Samuel Georges
acfb35cbed
Merge branch 'develop' into stable
2016-02-10 20:03:51 +11:00
alekseybobkov
f6dec96c86
Improved memory management in the table widget client-side scripts. Minor CSS fixes.
2016-01-22 21:43:45 -08:00
Samuel Georges
6828094252
Lay initial ground work for server data source
...
- The first server data source (ServerEventDataSource) is event based, so the implementing code is responsible for handling the data maintenance logic explicitly.
- The nature of the server side data source should show the data is maintained automatically with AJAX by individual events triggered on the client side. Records are maintained one-to-one, when you edit it, it updates on the server and so on.
- Only the READ events are implemented at this point.
2016-01-16 17:38:05 +11:00
Samuel Georges
f2699a7039
Fixes bug preventing pagination click
2016-01-16 16:20:33 +11:00
Samuel Georges
3cfc7b6a5d
Move widget classes that are exclusive to their own space
2016-01-16 16:02:28 +11:00
Samuel Georges
d34350a7b1
Merge branch 'develop' into stable
2016-01-16 10:20:21 +11:00
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