140 Commits

Author SHA1 Message Date
alekseybobkov
78ad303236 Merge branch 'develop' into media-manager
Conflicts:
	composer.json
	modules/backend/assets/css/october.css
	modules/backend/assets/less/controls/lists.less
	modules/backend/assets/less/october.less
	modules/backend/widgets/Form.php
	modules/backend/widgets/form/partials/_field.htm
2015-03-15 13:06:50 -07:00
alekseybobkov
18e058ad59 Added the Media tab, minor update in .htaccess to allow temporary public directory to be accessible; implemented the basic UI components and navigation; implemented grid, list and tiles view modes; implemented drag-select interface; implemented Media Library cache refreshing; implemented thumbnail generating for local and remote media files; fixed memory leak in third-party Flot Resize library; minor update in the AJAX framework - AJAX request cancelling is not considered as an error anymore; added back-end UI components for creating panels. 2015-03-15 12:52:03 -07:00
Samuel Georges
9b8e1ce3c1 Improve theme list to allow editing properties 2015-03-14 18:09:54 +11:00
Samuel Georges
3cdd390e38 Merge pull request #991 from ebuster/patch-1
Respect radio-button value in form triggers
2015-03-14 11:14:35 +11:00
Samuel Georges
a8389fb1aa Tooltip now auto initializes
initForm can now pass context
Various improvements and bug fixes
2015-03-12 20:50:16 +11:00
ebuster
539705dbdf Respect radio-button value in form triggers
When I tried to use form triggers for radio button I found that this is impossible:

    field1:
        type: radio
        options:
            val1: ...
            val2: ...
    field1:
        type: ...
        trigger:
            action: hide
            field: type
            condition: value[val2]

Propsed fix allows conditions like that.

* and of couse - we need rebuild october-min.js
2015-03-07 23:36:25 +03:00
Samuel Georges
ec14cd6bee Updates for new input preset /form field API 2015-03-07 11:20:54 +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
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
690ec1e5db Improvements made to the user menu in the back-end
Clicking your avatar will display a popover with settings links from the mysettings context.
2015-03-06 20:41:14 +11:00
Samuel Georges
2cf8ad8c27 Minor fixes, improvements to full screen rich editor 2015-03-06 18:54:45 +11:00
Samuel Georges
62796e08b6 Finish the dragvalue plugin 2015-03-06 18:53:04 +11:00
Samuel Georges
bc317ffbb8 Fixes a weird issue where a fixed sidebar cannot be accessed on small screens 2015-03-06 17:31:54 +11:00
Chris
b627bbbefb Added trigger on empty value 2015-03-05 11:03:20 +01: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
89434928f1 * Build 214 2015-03-03 18:45:37 +11:00
Samuel Georges
0a57f3a111 Fixes console error: The "title" has not been specified! 2015-03-03 18:39:07 +11:00
Samuel Georges
e48963b1e9 Improve mode detection for relations by using an event target 2015-02-28 19:33:11 +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
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
37a0a8290e Fixes popup loader appearing for "other" ajax requests 2015-01-29 20:04:47 +11:00
Samuel Georges
b313a29e3a Trigger api should fire on render 2015-01-23 20:50:08 +11:00
alekseybobkov
d850a795fd Minor updates in the components API and Inspector 2015-01-20 19:38:02 -08:00
alekseybobkov
8ff242c1d0 Fixed default options support in Inspector, minor improvement in the components API. 2015-01-18 19:20:33 -08:00
alekseybobkov
b25606ddd1 Merge branch 'develop' of github.com:octobercms/october into develop 2015-01-14 19:41:51 -08:00
alekseybobkov
f5aee22110 Improved default checkbox value handling in the Inspector. Imrpovements in the Redactor figure toolbar support. 2015-01-14 19:39:53 -08:00
Samuel Georges
dfee19a543 Introduce a delay on the CMS sidepanel tab 2015-01-14 17:34:47 +11:00
Samuel Georges
83cfb52d76 Recompile assets 2015-01-13 17:26:53 +11:00
Samuel Georges
c4cef299dd Fixes #828 - php artisan october:util compile assets 2015-01-12 20:08:53 +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
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
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
alekseybobkov
6440b718d8 Updates in the rich editor styling, minor improvements in the Inspector and CMS core. 2015-01-03 16:39:38 -08:00
alekseybobkov
3ac21e3c89 Merge branch 'develop' into table-widget 2014-12-17 22:15:23 -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
Samuel Georges
a03d0cc8b4 showExternalParameter -> showExternalParam 2014-12-16 15:16:31 +11:00
Samuel Georges
de9f6194a9 Style sweet alert so it matches the backend better 2014-12-15 20:28:04 +11:00
Samuel Georges
dfdb6259d8 Implement "sweet alert" for ajax errors and confirmations 2014-12-15 17:50:15 +11:00
Samuel Georges
3d903191ee Framework.js should throw an alert here, no need to do it again 2014-12-15 17:02:50 +11:00
gergo85
2a05c2346f Update jQuery files
Demo theme: v1.10.2 -> v1.11.1
Backend: v2.0.3 -> v2.1.1
Furthermore I renamed the jquery-2.0.3.min.js file because of easy to
update jQuery in future.
2014-12-01 22:35:58 +01:00
Samuel Georges
f0cb98e63c Fixes #145 - Plugin details now support "homepage" property 2014-11-27 17:21:30 +11:00
Samuel Georges
c6f46d1397 Merge pull request #767 from ImanMh/master
A delay added to CMS side menu tab change event to avoid the annoying tab changes
2014-11-15 15:11:02 +11:00
Iman Mohamadi
0afd8ec5b5 A delay added to CMS side menu tab change event to avoid the annoying unexpected menu changes while moving mouse arround 2014-11-12 13:14:58 +03:30
Sam Georges
f458fb7704 Overhaul Form layouts, adds FormTabs.php class for managing tab properties 2014-11-12 07:33:58 +11:00
Sam Georges
2f4603ef58 Close should trigger Hide events 2014-11-07 20:13:16 +11:00
Sam Georges
c0dc85eefb Add useAnimation to popover, refactor popup so it behaves more like popover 2014-11-07 19:39:13 +11:00