153 Commits

Author SHA1 Message Date
alekseybobkov
cb0c483857 Fixed a problem with duplicate proxy IDs in the base foundation class. Added a new event to the popup plugin. 2015-03-30 22:34:42 -07:00
alekseybobkov
9ed3d03484 jQuery in the back-end updated to v.2.1.3. Fixed several memory management issues in select2 (an event attached to the mask element is never unbound), framework.js (onunload event attached to window is never unbound and holds references to the Request instances). Added popup adaptive size option. Started media manager popup API. 2015-03-29 18:56:06 -07:00
alekseybobkov
16cb546f30 Tested and fixing the Media Manager dispose() method. Minor fixes in the DragScroll and Toolbar controls (memory management). 2015-03-28 17:18:07 -07:00
alekseybobkov
c299e3a7e7 Performance improvements in Media Manager drag-select implementation. 2015-03-28 13:36:01 -07:00
alekseybobkov
9be05a0488 Added comment to the scrollpad script, re-compiled controls LESS. 2015-03-28 12:15:33 -07: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
alekseybobkov
5731ad0db7 Merge branch 'develop' into media-manager 2015-03-26 18:37:24 -07:00
Samuel Georges
5f9acc2e8d Fixes #358 - Main menu / Tabs no longer use inverted scrolling when horizontal 2015-03-26 22:06:01 +11:00
alekseybobkov
ed2ca5308b Implemented (draft) support for touch devices. Minor fixes. Reworked the proxy implementation in the base class. The Media Manager JS class now uses the base class. 2015-03-24 20:47:49 -07:00
alekseybobkov
f7d08f1197 Implemented folder creation, fixed a minor issue with selecting items, added a new event to the Popup control. 2015-03-21 23:09:33 -07:00
alekseybobkov
331276c244 Implemented file and folder deletion 2015-03-18 22:20:53 -07:00
alekseybobkov
03c46012dc Merge branch 'develop' into media-manager 2015-03-17 19:30:57 -07:00
Samuel Georges
5648507e0c Adds soft copy directory support, minor fix to loadindicator 2015-03-18 05:38:25 +11:00
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