295 Commits

Author SHA1 Message Date
Samuel Georges
9b8e1ce3c1 Improve theme list to allow editing properties 2015-03-14 18:09:54 +11:00
Samuel Georges
e479ccbda6 Tab options can now specify 'defaultTab' 2015-03-14 17:06:03 +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
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
8c41bc181e Model can now resolve this for us 2015-03-07 12:28:50 +11:00
Samuel Georges
8ca1f8b7a3 Discovered an undoc feature "data-input-preset-prefix-input"... added to API as "prefixInput" 2015-03-07 11:14:03 +11:00
Samuel Georges
69542c311c Form field "preset" options can be a string that just specifies the other field, defaults to url type 2015-03-07 11:02:16 +11:00
Samuel Georges
f8c3eac9c6 Streamline data-input-preset in to FormField API 2015-03-07 10:45:22 +11:00
Samuel Georges
7e3cf98a75 Adds data-trigger-closest-parent to Trigger API
Test code:

<form id="form1">
    <input
        type="text" name="aa" value="aaa"
        data-trigger-action="show"
        data-trigger="input[name=bb]"
        data-trigger-condition="checked"
        data-trigger-closest-parent="form"
     />

    <input type="checkbox" name="bb" />
</form>

<form id="form2">
    <input
        type="text" name="aa" value="aaa"
        data-trigger-action="show"
        data-trigger="input[name=bb]"
        data-trigger-condition="checked"
        data-trigger-closest-parent="form"
     />

    <input type="checkbox" name="bb" />
</form>
2015-03-07 09:47:44 +11: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
f869b8cc94 Gives FormWidgets the ability to say: "No labels, please"
ping @keiosweb
2015-03-03 20:24:14 +11:00
Samuel Georges
a3f3084924 Implement AjaxException 2015-03-03 18:41:09 +11:00
Samuel Georges
85c47c4e01 public -> protected $defaultAlias 2015-02-28 12:43:53 +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
5784417862 Document widget accepted config
These definitions don't serve a function other than helping developers
2015-02-28 11:50:27 +11:00
Amanda Tresbach
d50e9e743f Allow setting 'options' for a scope in filter config 2015-02-22 20:28:05 -03:00
Pásztor Gábor
f8cb3900f0 Add validation rules for mail settings. 2015-02-21 19:55:37 +01:00
Samuel Georges
c746ba5c2b Disabled property on form fields should work 2015-02-21 17:09:21 +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
536a391754 Add basic trigger implementation to Form Field
Implement trigger on Mail Settings page
2015-02-18 18:12:20 +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
7b52e07b65 Overhaul exceptions, rename triggerapi display -> show 2015-02-16 21:16:43 +11:00
Samuel Georges
6a2f64757b *** REMOVED ALL DEPRECATED CODE ** 2015-02-14 14:11:25 +11:00
Samuel Georges
e50a220fae Fixes an issue where unix users get locked out of the backend 2015-02-12 21:02:47 +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
Samuel Georges
439f9a05c2 Merge pull request #941 from Flynsarmy/getAllConfig
Add support for getting all config
2015-02-11 20:53:07 +11:00
Samuel Georges
0a6e14f4d2 Popup control now supports several sizes via data-size attribute: giant, huge, large, small, tiny.
Fixes various bugs in RC version
2015-02-11 14:36:00 +11:00
Samuel Georges
b4c49ca0fd Move backend helper to its own directory 2015-02-11 14:34:37 +11:00
Samuel Georges
9f34db8c56 Merge pull request #936 from Flynsarmy/setConfigRequiredFix
Incorrect requried argument default value
2015-02-10 17:51:50 +11:00
Samuel Georges
610ea932fc Fixes #856 - Implement a linking policy, defaults to relative 2015-02-09 21:52:17 +11:00
flynsarmy
a3272956e3 Incorrect requried argument default value 2015-02-09 20:45:53 +10:00
flynsarmy
5805ddec5a Add support for removing form fields 2015-02-07 19:52:34 +10:00
flynsarmy
1d2a1478cc Add support for getting all config 2015-02-07 16:30:55 +10:00
Samuel Georges
fbf46519b4 Implement plugins_path() usage 2015-02-07 15:37:07 +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
ed22cc9186 Migrate bootstrap process 2015-02-04 19:31:41 +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
n.kolesnichenko
3013935374 Bug fix. There is no Aliasing to Model class in FormField class. 2015-01-19 10:47:43 +03:00
Samuel Georges
e7b0c3ae2c Typo 2015-01-18 15:30:09 +11:00
Samuel Georges
47cd204686 Add event for backend, before running a controller 2015-01-18 15:23:19 +11:00
Samuel Georges
5bbb248ffa Minor 2015-01-18 14:49:09 +11:00
Samuel Georges
eb8f4ec1a8 Removed generic permission "Manage settings", these should be more granular to the tool
Fixes #831 - Fixes dashboard redirect, add "Manage mail settings" permission
Fixes bug in Settings permissions, they now work!
2015-01-18 13:16:18 +11:00
Samuel Georges
7e7d77c5e6 Fixes #869 - Constructor doesn't have static. ping @alekseybobkov 2015-01-12 20:08:52 +11:00
Samuel Georges
f4487076b7 Remove some legacy code, no need to pipe WidgetMaker thru WidgetManager 2015-01-05 13:12:48 +11: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
5d2a177646 getModelArrayAttribute -> resolveModelAttribute 2015-01-05 11:18:43 +11:00