Commit Graph

275 Commits

Author SHA1 Message Date
Ayumi Hamasaki 567f415e1e Updated jQuery from V2 to V3.3.1, added jQuery Migrate (#3886)
Credit to @ayumihamsaki. Fixes #3230.
2018-10-30 19:36:44 -06:00
Viamage 667b82e6ce Replace keyup listener with input listener (#3567)
Fixes #1270. Credit to @viamage
2018-05-30 20:26:38 -06:00
tim0991 579803d7a6 Update mediamanager JS file path in october.js (#3224)
Updates the mediamanager.js file path in october.js to fix compiling assets. Credit to @tim0991
2017-11-08 09:30:09 -06:00
Luke Towers 9565565865 Add ignoreTimezone option to datepicker field and column types.
Adds the ability to specify an `ignoreTimezone: true` option on the config for a datepicker form widget or date column type. This will ignore both October's and the backend user's timezone settings to display the date exactly as it is stored.
2017-09-10 22:39:15 -06:00
Samuel Georges 08a710eb9a Update ace editor 1.2.3 to 1.2.6
Recompile assets
Refs #2570 (without the spam)
2017-06-24 09:01:07 +10:00
Samuel Georges ff04fbff35 Tighten up the look of extra small
Scales down the sidenav by converting px to em then dialing down the container font size
Made the list search less dominating over the primary buttons
2017-06-02 23:05:29 +10:00
Samuel Georges eadd889813 Improve mobile and settings page
Use native scroll on mobile devices (much better UX)
Stack settings menu items 2 column medium, 3 column large
The settings search is now forcibly focused
2017-06-02 17:39:26 +10:00
Samuel Georges cefa19af7d Backend UI improvements 2017-05-20 20:00:24 +10:00
Samuel Georges 4644218312 Move autocomplete to Storm UI
Rename select AJAX from "source" to "handler" (Refs #2836)
Document select handler usage
Recompile assets
2017-04-22 11:44:27 +10:00
Samuel Georges d642605f87 Remove old fix and spruce up code 2017-03-04 15:23:12 +11:00
Samuel Georges 380a71d7b9 IE11 will not honor height 100% when overflow is used on the Y axis
Fixes #2672
2017-03-04 14:55:19 +11:00
Samuel Georges 56ad25ec6f Remove code deprecations for 2017
Recompile assets
2017-01-26 11:26:53 +11:00
Pásztor Gábor bb5b20ed94 Fix backendPreferences live update script. 2017-01-05 18:42:03 +01:00
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