1146 Commits

Author SHA1 Message Date
Samuel Georges
f264d73b18 Merge pull request #879 from scottbedard/patch-3
Patch 3
2015-01-10 11:48:19 +11:00
Scott Bedard
4d66734cc3 Update october.inspector.js
Reused validationMessage, and now allowing for string zero
2015-01-09 19:25:01 -05:00
Scott Bedard
f628eaf666 Adds "required" component properties
Adds a "required" and "requiredMessage" key to component properties. If a required field does not have a requiredMessage, a default message of "Required fields were left blank." will be used.

Example usage...
```php
public function defineProperties()
{
    return [
        'maxItems' => [
             'title'             => 'Max items',
             'description'       => 'The most amount of todo items allowed',
             'type'              => 'string',
             'required'          => true,
             'requiredMessage'   => 'You must set the maximum todo items allowed!'
        ]
    ];
}
```
2015-01-09 19:12:21 -05:00
Samuel Georges
ddaceb5ad7 Merge pull request #875 from scottbedard/patch-2
Adds isHidden check to backend components widget
2015-01-10 10:52:41 +11:00
Samuel Georges
aa11693117 Merge pull request #867 from mahony0/patch-2
Update lang.php
2015-01-10 10:41:51 +11:00
Samuel Georges
6ffccd9e4e Merge pull request #866 from mahony0/patch-1
Update lang.php
2015-01-10 10:41:32 +11:00
Samuel Georges
dd6233e81d Clean up code 2015-01-10 10:41:02 +11:00
Samuel Georges
c2b6b4be5f Merge pull request #865 from gergo85/master
Add plugin counter
2015-01-10 10:30:54 +11:00
alekseybobkov
bc287a9559 Minor fix in the drop-down cell procesor. Added some Validation documentation. 2015-01-08 20:39:44 -08:00
Scott Bedard
3ca540ac61 Adds isHidden check to backend components widget
Allows components to be hidden from the backend components widget by checking their isHidden value
https://github.com/octobercms/october/blob/master/modules/cms/classes/ComponentBase.php#L41
2015-01-08 09:42:41 -05:00
alekseybobkov
e1ebfac575 Merge branch 'develop' of github.com:octobercms/october into develop 2015-01-07 22:22:38 -08:00
alekseybobkov
c26545913c Improvements in the table widget, added new events to the CMS core, form styling, added support for the Table widget in in the CMS area. 2015-01-07 22:21:52 -08:00
Mahmut
d1676ae8ad Update lang.php
Added translate for unconverted strings and some of them optimized for successful converting.
2015-01-05 21:58:06 +02:00
Mahmut
722a5bd2b7 Update lang.php
Added translate for unconverted strings and some of them optimized for successful converting.
2015-01-05 21:49:49 +02:00
Samuel Georges
9ea6940e6a Add {{ this.session }} 2015-01-05 21:08:30 +11:00
gergo85
720cd0ac71 Add translate and remove unnecessary commas 2015-01-05 10:05:03 +01:00
gergo85
faf7e3df70 Add plugin counter 2015-01-05 10:03:07 +01:00
alekseybobkov
e3216614a9 Added code comments 2015-01-04 20:32:34 -08:00
Samuel Georges
b08020fd4c Update CHANGELOG 2015-01-05 15:02:22 +11:00
Samuel Georges
55a68be13b Check for the presence of validation errors in the session, and add it to the view 2015-01-05 14:57:17 +11:00
Samuel Georges
dc6098c089 Create unit tests for WidgetMaker trait 2015-01-05 13:22:40 +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
415f07eb1d Fixes various unit tests so they pass (Tested in Windows) 2015-01-05 12:37:04 +11:00
Samuel Georges
2160ddf3e5 Fixes unit test - normalize plugin paths for Win systems 2015-01-05 11:46:33 +11:00
Samuel Georges
5d2a177646 getModelArrayAttribute -> resolveModelAttribute 2015-01-05 11:18:43 +11:00
Samuel Georges
d91d4112a5 getLoadData -> getLoadValue 2015-01-05 09:45:04 +11:00
Samuel Georges
0be582c42d getSaveData -> getSaveValue 2015-01-05 09:43:39 +11:00
Samuel Georges
59c9146b4f Merge pull request #861 from gergo85/master
Cleanup
2015-01-05 09:21:09 +11:00
alekseybobkov
820ff72149 Automatically initialize a record when the dataset is empty 2015-01-03 18:00:34 -08:00
alekseybobkov
7e5ce04a79 Merge branch 'develop' into dynamic-partials 2015-01-03 16:41:25 -08:00
alekseybobkov
6440b718d8 Updates in the rich editor styling, minor improvements in the Inspector and CMS core. 2015-01-03 16:39:38 -08:00
gergo85
f0005d196b Cleanup
Remove whitespaces.
2015-01-03 12:41:23 +01:00
Samuel Georges
4852722ba1 Merge pull request #848 from nicolas-lescop/develop
Extend query of the filter options lists
2015-01-03 15:58:34 +11:00
Samuel Georges
8f8ac2dd02 Merge pull request #860 from gergo85/master
Improve multilanguage support and cleanup
2015-01-03 15:56:09 +11:00
Samuel Georges
85b97c5419 Refs #850 - Minor code clean 2015-01-03 15:48:07 +11:00
Samuel Georges
735ede7d47 Merge pull request #850 from scottbedard/patch-2
Valid strtotime() format when time is left empty
2015-01-03 15:45:01 +11:00
Samuel Georges
df3e66246f Fixes #839 - When rendering partials from component PHP code, be firm about the context 2015-01-03 15:15:57 +11:00
Samuel Georges
ae8289735c Rem unneeded file 2015-01-03 15:15:52 +11:00
Samuel Georges
be702900d7 Rem debug code 2015-01-03 13:20:40 +11:00
Samuel Georges
fa250927d0 New events for components: runAjaxHandler + beforeRunAjaxHandler 2015-01-03 12:51:09 +11:00
Samuel Georges
03bf0c8206 These are useful helpers, make them public 2015-01-03 12:33:32 +11:00
Samuel Georges
54adc840cb Allow key column to be a string value (like a code). ping @alekseybobkov 2015-01-03 12:07:04 +11:00
Samuel Georges
04c6fdc7f3 Minor 2015-01-03 12:06:12 +11:00
Samuel Georges
7dd147a62a Create initial DataTable form widget 2015-01-03 11:57:50 +11:00
Samuel Georges
29b4f8bb17 Elaborate on client side data access 2015-01-03 11:49:25 +11:00
Samuel Georges
a2dec246e5 handler -> postbackHandlerName (doesn't do the same thing as traditional 'handler') 2015-01-03 11:30:02 +11:00
Samuel Georges
83223938b2 Minor 2015-01-03 11:25:08 +11:00
Samuel Georges
a6259ff915 depends_on -> dependsOn 2015-01-03 10:04:06 +11:00
Samuel Georges
433c4c07ff key_column -> keyFrom 2015-01-02 13:53:56 +11:00