262 Commits

Author SHA1 Message Date
Jim Cottrell
1d91c221b0 Add scrolling to JS TreeView when dragging sortable elements 2016-08-02 16:08:17 -06:00
Samuel Georges
5af9fcbfdc Sidebar needs to sit above dropdown overlay
This prevents the mouseout event firing and ending the entire show
Recompile assets
Fixes #2190
2016-07-23 09:42:18 +10:00
Samuel Georges
4c50c23654 Refit the Predefined Page Links implementation
Refs #2005
2016-05-25 05:19:12 +10:00
Samuel Georges
e20c0126ee Revive string escape helper 2016-05-24 06:25:13 +10:00
Samuel Georges
5a63fb292a Combine media manager global with the core october.js file
This should save 1 extra request, although it is less modular we can address it again later
2016-05-21 12:37:21 +10:00
Samuel Georges
6bae91b411 Fix poor sorting UX on tree view
This should fix the RainLab.Pages plugin sorting UX once and for all 👌
2016-05-18 08:38:15 +10:00
Samuel Georges
83ebd24bcc Side panel should be fixed by default 2016-05-18 05:01:19 +10:00
Samuel Georges
d50c7591cf Move the datepicker to storm
Write docs on usage
2016-05-12 06:48:10 +10:00
Samuel Georges
e2647dcf64 Move moment + pickers to storm 2016-05-12 05:54:41 +10:00
Samuel Georges
1608d80127 Reorganise code editor prefs
Fixes visual bugs
Update dashboard icon
Restyle flash messages
2016-04-30 04:53:33 +10:00
Samuel Georges
e772e87de5 Complete rebuild of datepicker form widget
The datepicker now handles timezones and locale mainly on the client side. When a user selects a date/time, the value is chosen in their timezone preference, the script will then convert the value to the application timezone (UTC) for storage in the database. The reverse is true: when the value is loaded, it is converted from UTC to the user preference. The entire process is seamless. Dates are also formatted in the locale preference.

Example scenario: This fixes the issue when selecting the blog post published date. In some cases, the date could be set to 24th April but the server time is 23rd April, so the post appears unpublished against the user's intent.

There is still some issues around DATE and TIME column types stored in the database. It is best to always use TIMESTAMP/DATETIME to retain the timezone conversions. DATE will reset the time to 00:00 UTC which can cause issues and TIME does not play nicely with Carbon at all. We should still try to add support for these columns in the datepicker, even though they are not recommended.
2016-04-24 09:33:39 +10:00
Samuel Georges
d49cef2201 Pass the app timezone for conversions 2016-04-24 05:36:02 +10:00
Samuel Georges
02165a8a4a Introduce a new localized date control
Added a helped Backend::DateTime() for rendering the appropriate HTML output as a <time /> tag
The meta now specifies the locale and timezone preference used here
Lists now take advantage of this to display dates relative to the timezone and language (awesome sauce)
@todo Still need to get apply this logic to the datepicker form widget
2016-04-23 13:17:04 +10:00
Samuel Georges
13fb0e6388 Update moment, add moment.timezone library + locales 2016-04-23 13:11:26 +10:00
Samuel Georges
6c081d9265 Combine editor preferences and backend preferences
Add backend timezone setting used for converting display dates
2016-04-23 05:31:05 +10:00
Samuel Georges
51bef96db9 More styling changes and other minor improvements 2016-04-21 04:52:21 +10:00
Lucas Martín
e2566c36a0 update codeeditor with new features (#1863)
update ace v1.2.0 to v1.2.3
add codecompletion and live codecompletion(with documentation inline)
add snippets to lenguajes(php,javascript,html,css)
add translation to spanish
add search and replace buttons
2016-04-19 16:36:45 +10:00
Samuel Georges
03c7cbbeed Adds an API to the sidenav script for setting the active item
setActiveItem function
This will be useful for setting a custom active class
2016-04-05 20:02:25 +10:00
Samuel Georges
594f9958cb Rebuilt the mobile navigation. 2016-04-04 22:12:19 +10:00
Samuel Georges
9c59dd58d3 Trial tooltip nav, recompile assets 2016-03-01 08:59:20 +11:00
alekseybobkov
5e454ee069 Minor update in the sidebar navigation client-side code. Plugins now can load navigation menus from plugin.yaml file. 2015-11-28 19:18:08 -08:00
alekseybobkov
e358bb4b57 Added new list.sortable plugin. Minor fix in the scrollpad implementation. 2015-11-27 22:12:27 -08:00
alekseybobkov
30eedebed9 Added the ability to load plugin permissions from the plugin.yaml file. Minor improvement in the side panel behavior. 2015-11-19 21:02:10 -08:00
alekseybobkov
0e2e18af7f Added autocomplete column type to the Table widget 2015-11-17 21:26:03 -08:00
alekseybobkov
3217bf03d8 Minor fix in the flyout implementation 2015-11-11 20:18:38 -08:00
alekseybobkov
a5b217ff0b Merge branch 'develop' into builder-ui
Conflicts:
	modules/backend/widgets/table/assets/js/build-min.js
	modules/backend/widgets/table/assets/js/table.js
2015-10-15 17:32:19 -07:00
alekseybobkov
889a25f1c6 Added the autocomplete Inspector editor. Minor fixes in the Inspector memory management. Added destroy() method to the existing autocomplete control. 2015-10-05 20:56:35 -07:00
Samuel Georges
9a54db74ad Move docs out of JS file 2015-09-26 08:29:17 +10:00
Samuel Georges
7a2c0eea07 Update BS sweet alert to latest, recompile assets 2015-09-01 19:05:44 +10:00
alekseybobkov
268b918a51 Merge branch 'master' of github.com:octobercms/october into builder-ui 2015-08-27 18:30:45 -07:00
Samuel Georges
793bf30c26 Decouple the toolbar from the layout system 2015-08-26 20:24:37 +10:00
Samuel Georges
4c1db1d8db Tidy up backend alerts, make long text in alerts readable 2015-08-22 13:41:57 +10:00
Samuel Georges
4d04c5dda7 Sweet alert logic has grown large enough to warrant its own file 2015-08-15 09:53:55 +10:00
Samuel Georges
0e3403f1aa Use a nicer syntax for <html lang="" />
Recompile assets
2015-08-15 09:49:51 +10:00
Jérémy GAULIN
29a8ec1143 Ensure the client side language file is properly loaded
Switch widget needs short text. There is not really a 3 letters word or abreviation in french that is as understable as raw "On/Off".

Tidy up patch

Fix quote

https://github.com/octobercms/october/pull/1363/files#r36929168
2015-08-15 09:46:26 +10:00
Jérémy GAULIN
3f8d17995a Translate alert messages. Switched to sweetAlert.alert() instead of raw window.alert().
Override `swal` and `sweetAlert` functions to set translation on default buttons.

Changed `sweetAlert()` to `swal()` to be consistent with `mediamanager.js`
2015-08-15 09:46:24 +10:00
Samuel Georges
7f62725c1c Recompile assets for #1362 2015-08-15 09:34:29 +10:00
alekseybobkov
68ae32309c Merge branch 'develop' into builder-ui 2015-08-13 18:30:03 -07:00
alekseybobkov
c03124c53c Added the tab form expand controls JS class. Temporary update in the _head layout. 2015-08-13 18:27:14 -07:00
Samuel Georges
8cd97b27a6 Add prettify, update Ace, recompile assets 2015-08-03 19:00:45 +10:00
Samuel Georges
c6409a8680 Minor exception handling 2015-08-01 17:06:49 +10:00
Samuel Georges
3f58cd70fc And client-side locale messages 2015-07-29 19:17:38 +10:00
Samuel Georges
e6a17f8f2b Support multiple children inside .layout-cell.width-fix 2015-07-29 19:15:42 +10:00
Samuel Georges
f47b99d183 Move storm to its own build 2015-07-29 19:13:42 +10:00
Samuel Georges
f99f838faf Merge branch 'develop' into importexport 2015-07-19 10:14:45 +10:00
Samuel Georges
d9307ef4fe Fixes bug in sortable script + broken image ref
Conflicts:
	modules/backend/assets/css/october.css
2015-07-19 10:07:34 +10:00
Samuel Georges
142c8f7193 Finally get the column sorting working 2015-07-18 14:36:15 +10:00
alekseybobkov
88232c8345 Minor 2015-07-16 18:19:09 +10:00
alekseybobkov
33b8584ab9 Merge branch 'develop' into builder-ui
Conflicts:
	modules/backend/assets/css/october.css
2015-07-15 18:12:13 -07:00
alekseybobkov
e69be53317 Minor 2015-07-15 18:06:05 -07:00