291 Commits

Author SHA1 Message Date
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