Commit Graph

231 Commits

Author SHA1 Message Date
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
Sam Georges 5370fff189 Update permissions 2014-11-01 16:27:03 +11:00
alekseybobkov 3a806b7ee0 Improvement in the Inspector external parameters support 2014-10-31 22:01:27 -07:00
Sam Georges afcf50a585 noExternalParameter -> showExternalParameter 2014-10-31 19:57:07 +11:00
Sam Georges 832a92e925 Revert change 2014-10-30 17:39:08 +11:00
alekseybobkov f3ab4595b2 Merge branch 'develop' of github.com:octobercms/october into develop 2014-10-29 23:36:20 -07:00
alekseybobkov 85df6bfb62 Fix in the Inspector 2014-10-29 23:36:07 -07:00
Sam Georges 9c253a7d67 Wording change 2014-10-30 17:24:57 +11:00
alekseybobkov 3deb4ee654 Minor fix in the Inspector code 2014-10-29 23:09:13 -07:00
alekseybobkov 2a771190ea Merge branch 'develop' into dynamic-partials 2014-10-29 22:14:31 -07:00
alekseybobkov 9a05a408c9 Added support for components in partials 2014-10-29 22:12:42 -07:00
Sam Georges 1c6d48ffa8 Fixes a strange issue where a <button> inside a nested <form> will trigger the event twice (1 for button, 1 for form) 2014-10-27 17:59:53 +11:00
Sam Georges a9eecfecd5 Remove blueimp uploader, replaced with dropzone.js 2014-10-20 18:55:31 +11:00
Sam Georges ed552f1591 Minor code clean 2014-10-18 15:52:44 +11:00
alekseybobkov 12175b29db Multiple updates in the back-end widgets and styles 2014-10-16 20:47:23 -07:00
alekseybobkov 0b8af1f505 Merge branch 'develop' into static-pages-support 2014-10-10 22:27:01 -07:00
Sam Georges 4504d5bf4c Improve translation handling 2014-10-11 10:37:48 +11:00
alekseybobkov 26e8d5bda5 Minor updates in the back-end UI 2014-10-05 22:21:03 -07:00
Sam Georges f89f3416d4 Adds nested option used for isolating containers 2014-09-29 17:13:05 +10:00
Sam Georges 4d54160e16 Update fork ref 2014-09-29 16:26:21 +10:00
Sam Georges 88d67a7100 Fixes #359 - Sorting should work for hybrid touch/mouse devices now 2014-09-29 16:21:56 +10:00
Sam Georges b37ba3ccfd Fixes flaw in JS, custom dropdowns now focus when invalid 2014-09-29 14:15:49 +10:00
Sam Georges 6363205f34 Fixes validation on Tabs and Cms pages 2014-09-29 14:04:05 +10:00
Sam Georges 27708f7fa8 Fixes #633 - Return to previous keymap 2014-09-29 09:56:49 +10:00
alekseybobkov dcf7bb7d4f Merge branch 'develop' into misc-tmp 2014-09-27 23:29:41 -07:00
alekseybobkov 6b42055184 Fixes in the rich editor, improved the content block rendering code, minor fixes in the popover and form styling. 2014-09-27 23:28:38 -07:00
Sam Georges a4379e89b1 Add empty type to triggerapi 2014-09-25 18:51:40 +10:00
Sam Georges 6cc36d39f2 Refs #623 - Add persian map to inputpreset 2014-09-20 10:15:01 +10:00
alekseybobkov a9e2e2d80f Improvements in the CMS objects and back-end UI. 2014-09-18 20:34:24 -07:00
alekseybobkov a77b290a8e Improvements in the back-end widgets 2014-09-18 20:34:24 -07:00
alekseybobkov 8c08b9ccbb Minor fix 2014-09-07 12:59:08 -07:00
alekseybobkov 904b855778 Fix for the checkbox field in the Inspector 2014-09-04 19:03:33 -07:00
alekseybobkov df55946b61 Merge branch 'misc-tmp' into develop 2014-09-03 20:01:17 -07:00
alekseybobkov 9572c17253 Minor changes in the back-end UI. The front-end router now triggers an event allowing to override the default routes. The CMS back-end UI now supports view bags in content files. 2014-09-03 19:58:21 -07:00
alekseybobkov 012d5a4d1c Merge branch 'develop' of github.com:octobercms/october into develop 2014-08-29 14:16:33 +11:00
alekseybobkov fdd83b53c9 Updates in the back-end UX 2014-08-28 19:03:47 +11:00
Sam Georges 4db38b1650 Improve october.hotkey.js 2014-08-22 21:02:32 +10:00
alekseybobkov e7767176ce Updated the treeview control, updated Redactor scripts, the CMS Content is now a compound object 2014-08-22 18:45:05 +11:00
Samuel Georges e73f82bffe Merge pull request #570 from Flynsarmy/popupErrors
Refs #568 - Inherit the parent framework error function
2014-08-21 08:12:43 +10:00
flynsarmy 80b10bd45b Refs #568 - Inherit the parent framework error function 2014-08-20 15:37:10 +10:00
Sam Georges 5df02a3eb9 Refs #568 - Inherit the parent framework success function 2014-08-20 10:12:44 +10:00
alekseybobkov 176f41f0f1 Merge branch 'develop' of github.com:octobercms/october into develop 2014-08-14 16:51:49 +11:00
alekseybobkov 4f55def792 Implementing the treeview element 2014-08-14 16:51:31 +11:00
Sam Georges 3b41b3e81f Finish up basic Filter implementation 2014-08-13 21:23:19 +10:00
Samuel Georges 09369ea7f5 Merge pull request #538 from marininicola/develop
Add italian translation to the backend and fix a bug in the backend toolbar
2014-08-11 21:59:50 +10:00
Nicola Marini 7db69a1d02 Update october.dragscroll.js 2014-08-11 13:57:42 +02:00
Sam Georges f1849c2ea0 Refs #5 - Progress to Filter widget 2014-08-11 21:46:29 +10:00
Nicola Marini 1cb3345deb Visual bug in backend toolbar
In IE 11 / Chrome browsers (i tested with them) in the toolbar menu appears a '>' on the left side of the menu even if there is no need to scroll the toolbar to see other elements.
2014-08-11 13:43:40 +02:00
Sam Georges 13587f155c Move trans from logic-less array to inside business logic. Convert tabs to spaces. 2014-08-09 12:21:17 +10:00
alekseybobkov a6f157ea03 Minor fix in the pie chart 2014-08-06 20:49:19 +11:00
alekseybobkov bdd9d02fdc Minor fixes in the main menu 2014-07-28 16:41:08 +11:00
alekseybobkov e562d1eb05 The Settings area is responsive now 2014-07-28 15:09:01 +11:00
alekseybobkov 7eed305000 Updated the settings pages UX 2014-07-27 15:07:22 +11:00
alekseybobkov bfc59c9007 Updating the Settings pages 2014-07-27 11:11:16 +11:00
Sam Georges 1d90ae25f7 Add support for values to trigger API 2014-07-24 19:55:27 +10:00
Sam Georges 242a3a5cde Buttons inside a popup support new `data-popup-load-indicator` attribute.
Other minor improvements
2014-07-17 16:42:49 +10:00
alekseybobkov a2e83f3b0c Fixes the tabs in the CMS area 2014-07-15 13:46:16 +11:00
alekseybobkov ee27a39276 Merge branch 'develop' of github.com:octobercms/october into develop 2014-07-15 01:23:36 +11:00
alekseybobkov e8c6d25038 New tabs design 2014-07-15 01:23:10 +11:00
Sam Georges 6f72cbf969 Callout should actually close when clicked
Improve animation of flash messages
Move callout to its own space
2014-07-14 14:55:51 +10:00
Sam Georges 223f3025f0 Adds a hint system to the backend 2014-07-11 18:50:11 +10:00
alekseybobkov 8d64a97278 Fixes the title tooltip overlapping component HTML tooltip in the Inspector. Closes #231 2014-07-03 20:16:12 +11:00
Sam Georges bd8137ea97 Fix to rowlink, hide the link instead of trashing it from the DOM 2014-07-03 18:37:50 +10:00
Sam Georges ddb6337efe EditorSettings -> EditorPreferences (System has settings, User has preferences, App has configuration)
Create a My Settings page, now linked when clicking a User
Create backend preferences form for setting locale
Dropdown options now support an image or icon in their options
2014-07-01 17:17:53 +10:00
Sam Georges 4a9fe06d50 Form fields can now define "depends" to refresh individual fields when they are changed
Form field options can now be deferred using a closure
2014-06-29 13:36:25 +10:00
alekseybobkov 478ddabeca Added the property grouping support to the Inspector 2014-06-29 14:28:07 +11:00
alekseybobkov cfbfd8ce3e Added the website preview icon 2014-06-27 21:39:38 +11:00
alekseybobkov 4e2d6b5da8 Implemented the content tabs style, minor fixes in the back-end styling. 2014-06-27 00:17:22 +11:00
Sam Georges 7802213bcc Fixes #55 - Assets are now referenced correctly as Assets instead of URLs 2014-06-26 17:29:07 +10:00
alekseybobkov 7755714981 Fixed a bug where clicking a tab in the CMS area doesn't activate the tab pane. Closes #126. 2014-06-26 18:25:50 +11:00
alekseybobkov 92bab3a0e1 Fixed a problem with pinning the sidebar in the CMS area on MacOS. 2014-06-26 17:39:55 +11:00
alekseybobkov aee0777032 Display a correct CMS object name in the page title. Fixes #28. Fixes #354. 2014-06-26 15:29:38 +11:00
Sam Georges a37d9008fa Autcomplete source can also be { something: 'Something', else: 'Else' } 2014-06-21 17:06:45 +10:00
Sam Georges 9399bc2090 Modify autocomplete so it can handle objects { value: 'something', label: 'Something' } 2014-06-21 14:51:04 +10:00
Sam Georges 1487925945 Convert handsontable css to less
Add autocomplete to head + 4 spaces
2014-06-21 10:15:10 +10:00
Sam Georges 5c68abf02d Add autocomplete plugin (forked from when typeahead was simple)
Add more information to sortable plugin
2014-06-21 09:08:47 +10:00
Sam Georges 833c752bae Added 'camel' mode for inputpreset as per #325 2014-06-20 20:22:25 +10:00
Sam Georges c3c1e1b6f6 Widgets now no longer include their alias in getId() if it matches the default alias 2014-06-20 19:29:39 +10:00
Sam Georges 784faed606 Minor JS fixes 2014-06-16 17:58:46 +10:00
Sam Georges 4b18c50849 Simplelist control now supports scrollbars and selectable lists 2014-06-15 15:49:06 +10:00
Sam Georges ef1c91c10d Complete code editor customization 2014-06-12 11:30:21 +10:00
Sam Georges a38d85c1e1 Complete editor config UI 2014-06-11 22:18:46 +10:00
Sam Georges c393114c07 Improve form styling so checkboxes sit more snugly
Style code editor page
2014-06-11 21:19:26 +10:00
Sam Georges 2b820a20d6 Convert all boolean table columnns to use is_ prefix
Add email template/layout system
2014-06-06 21:39:20 +10:00
Sam Georges 296e66fc28 Fixes #234 - [Suggestion] Increase width of "ocPopover" panel to 400px 2014-06-05 22:34:32 +10:00
Sam Georges 40507f12f0 Adds transliteration for slugs in JS 2014-06-05 08:37:57 +10:00
Samuel Georges 863ee7222a Merge pull request #247 from chesterx/master
Better url slugify method / Datepicker right alignment problem
2014-06-05 08:18:04 +10:00
sercan 648fa6674c URL Slug format method changed for language spesific chars with django's method. 2014-06-04 16:02:47 +03:00
Sam Georges d808409099 Fixes issue where sort order is lost on inspector dropdown field types 2014-05-29 18:22:48 +10:00
Sam Georges 87f5079a23 Remove the cookie.js, no longer used 2014-05-24 15:17:11 +10:00
Sam Georges 71a5dd67ab Welcome to the world, October :-) 2014-05-14 23:24:20 +10:00