Commit Graph

784 Commits

Author SHA1 Message Date
Samuel Georges 7e7d77c5e6 Fixes #869 - Constructor doesn't have static. ping @alekseybobkov 2015-01-12 20:08:52 +11:00
alekseybobkov 090264e3b9 Minor fixes in the Inspector and Scrollbar classes. Minor updates in the Table widget. 2015-01-11 20:56:17 -08:00
alekseybobkov ac758b91c8 Merge branch 'develop' of github.com:octobercms/october into develop 2015-01-11 13:44:13 -08:00
alekseybobkov cbc808520d Added JS source map extension to the white map in the .htaccess file. Minor fix in the forms styling. Implemented client-side validation for the Table widget. Updated the Table widget readme file. 2015-01-11 13:42:42 -08:00
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 6ffccd9e4e Merge pull request #866 from mahony0/patch-1
Update lang.php
2015-01-10 10:41:32 +11:00
alekseybobkov bc287a9559 Minor fix in the drop-down cell procesor. Added some Validation documentation. 2015-01-08 20:39:44 -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 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
alekseybobkov e3216614a9 Added code comments 2015-01-04 20:32:34 -08: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 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 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 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
Samuel Georges 59a0e08cd0 data_source -> dataSource 2015-01-02 13:50:51 +11:00
Samuel Georges 89f79a7665 postbackHandlerName / postback_handler_name -> handler 2015-01-02 13:49:26 +11:00
Samuel Georges b9c259c17f records_per_page -> recordsPerPage 2015-01-02 13:35:27 +11:00
Samuel Georges 9cfe4ad8f4 Control CSS: table-control -> control-table 2015-01-02 13:24:09 +11:00
Scott Bedard 8286880148 Valid strtotime() format when time is left empty
Date-type laravel validation ("date", "before", and "after") may not be used with datetime widgets containing empty time fields because they are not in a valid strtotime() format (example: 2014-12-27 :00).

This extra check ensures a valid strtotime() format by only adding the ":00" seconds value when a time value is present.
2014-12-27 17:33:27 -05:00
Samuel Georges 9c8fcd148c Merge pull request #843 from jtherczeg/develop
Hungarian language files updated
2014-12-27 15:55:57 +11:00
Nicolas Lescop 99d34789a4 Extend query of the filter options lists 2014-12-23 14:57:28 +01:00
Darek Magusiak 9bda36e441 Model field definitions and default value of '0'
#845
2014-12-22 21:02:46 -05:00
jtherczeg 242bac4ce8 Hungarian language files updated
Hungarian translations updated for the latest build, some corrections
made.
2014-12-22 19:06:15 +01:00
gergo85 c43680b2ef Improve multilanguage support and cleanup 2014-12-19 10:28:27 +01:00
alekseybobkov 3ac21e3c89 Merge branch 'develop' into table-widget 2014-12-17 22:15:23 -08:00
alekseybobkov 1a73b38ff5 Re-added back-end JS assets 2014-12-17 22:13:28 -08:00
alekseybobkov 1480303c4f The options can now be set with the PHP configuration. Minor updates in the scrollbar widget. Implemented scrolling. Updated documentation. 2014-12-17 22:07:49 -08:00