3179 Commits

Author SHA1 Message Date
Samuel Georges
fc1adb937c Merge pull request #1961 from canthis/translations/lv-translation
Added missing backend/  translations for Latvian language
2016-05-08 11:18:32 +10:00
Samuel Georges
0aaf17c98a Merge pull request #1975 from gabsource/enhance/fr-translation
Translated news keys for french locale
2016-05-08 11:18:22 +10:00
Samuel Georges
05758ed507 Merge pull request #1943 from mcustiel/bugfix-components-autowiring
Bug: Fix for components that support autowiring
2016-05-08 11:17:32 +10:00
Samuel Georges
d69053481c Tweak some styles 2016-05-05 17:39:36 +10:00
Samuel Georges
a180e37b1d Maintain key integrity. Fixes #1969 2016-05-04 19:20:41 +10:00
Jérémy Gaulin
8e63060a11 Translated news keys for french locale v1.0.332 2016-04-30 12:00:20 +02:00
Samuel Georges
f33c3519c9 Minor style tweak 2016-04-30 07:51:01 +10:00
Samuel Georges
f5633c1bc6 SQL MODE code may fail in other drivers, use Dongle instead 2016-04-30 06:22:00 +10:00
Samuel Georges
f45c04a3aa Minor logic error
Trash strict mode off during default migrations: this will occur as a one-time during the RC->stable since the code exists in the migration.
2016-04-30 06:01:51 +10:00
Samuel Georges
1c8de67610 Merge pull request #1964 from dshoreman/date-fixes
Date fixes
2016-04-30 05:21:32 +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
Dave Shoreman
e2b110a611 Disable strict mode before running migrations
This will ensure strict mode is not applied while running migrations
for both modules and plugins, either when installing or removing.

We don't need to call disableStrictMode from UpdateManager::uninstall()
as it is called within the plugin removal methods, which are run first.

To force strict mode to be enabled, set 'strict' => true in the database config.
2016-04-29 19:32:11 +01:00
Dave Shoreman
48090351bd Convert current core timestamp columns to nullable
Adds migrations to switch all existing timestamp fields from being
NOT NULL DEFAULT 0, to NULL DEFAULT NULL, in order to get around
issues with new default modes in MySQL that cause errors in 0 dates.
2016-04-29 19:31:17 +01:00
Samuel Georges
d6a7fdc74c Reduce the wording on a bunch of messages 2016-04-29 17:36:52 +10:00
Samuel Georges
4511120cb6 Implement ArgonServiceProvider for detect locale
Refs #1968
v1.0.331
2016-04-28 17:58:35 +10:00
Samuel Georges
e52fa7bd33 Compat with CSV v8 2016-04-28 06:39:35 +10:00
Samuel Georges
0d451eaa78 Be less strict about formExtendModel returning a model 2016-04-28 05:47:14 +10:00
Samuel Georges
0d8a30730e Introduce scope "switch" type, allow options to be passed v1.0.330 2016-04-27 19:09:19 +10:00
Dave Shoreman
34f2aa7dcf Switch to custom Schema facade
Updates the Schema facade to point to the custom one added in the
library repo, and sets all existing migrations to use our own
Blueprint class instead of the one provided by the Laravel framework.
2016-04-27 08:31:58 +01:00
Samuel Georges
28a8f84692 Add "outline" buttons and restyle callouts 2016-04-27 06:54:21 +10:00
Samuel Georges
adbde0ad09 If the cache should fail, don't bring down the whole app 2016-04-27 05:44:32 +10:00
Samuel Georges
a5acbc7bff Add before/after events for component::onRun 2016-04-27 05:44:32 +10:00
Samuel Georges
589f6d1551 Restyle flash message animation 2016-04-27 04:44:02 +10:00
SlaviX.DnB
14bfaf00e8 One more string translated in import/export section.
Missed it in previous commit.
2016-04-26 17:54:26 +03:00
SlaviX.DnB
169a93e9d4 Backend Latvian translations
Added missing strings, fixed typos.
2016-04-26 17:44:55 +03:00
Mariano Custiel
aa08a83420 Fix for components that support autowiring
Removed unneeded null object and call App::make without arguments
2016-04-26 11:49:41 +02:00
Samuel Georges
ad484d56cf Fix tab styling inside preview container 2016-04-26 07:08:36 +10:00
Samuel Georges
94af417d8a Set default backend timezone to app value
Consider that some users may have already set app.timezone to their local timezone, so we don't want these values converted back to UTC
2016-04-26 07:00:08 +10:00
Samuel Georges
d3efc1af4c Make the datepicker preview mode show pretty dates
Improve styles of preview form controls
2016-04-26 06:59:02 +10:00
Alexander Shapoval
2f81d2fe0b Export with utf-8 characters (#1958) 2016-04-26 06:27:33 +10:00
Samuel Georges
41fe2407be Add support for TIME db columns
Tacks on todays date so it remains compatible with the datepicker control. Without this, it returns "Invalid date"
2016-04-26 06:18:04 +10:00
Samuel Georges
733c77c3f1 Improvements to clockpicker
AM/PM time now loads correctly
Updating the input field manually is reflected in the data locker
2016-04-26 06:12:16 +10:00
Samuel Georges
39e91575af Write docs for datepicker plugin v1.0.329 2016-04-24 09:43:26 +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
706f0637f4 Move menu mode to its own tab
This should get a fancy form field soon
2016-04-23 13:17:40 +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
4df7c6704e Introduce locale variants
Australia
Canada
UK
2016-04-23 13:13:52 +10:00
Samuel Georges
e75b01b878 Compiled client locale files now include moment config 2016-04-23 13:12:41 +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
7cb9087ffb DateTime throws an invalid arg exception to prevent Twig crashing
Remove rounded search style
2016-04-23 05:29:42 +10:00
Samuel Georges
0504da41f2 Add hasFields methods
formHasOutsideFields, formHasPrimaryTabs + formHasSecondaryTabs
2016-04-23 05:13:08 +10:00
Samuel Georges
72d3fe3ebd More styling updates 2016-04-23 05:11:02 +10:00
Samuel Georges
abaa65cc0e Cut back the design
Switch to hard lines
v1.0.328
2016-04-22 08:21:08 +10:00
Alwin Drenth
db9dc40ab0 Fix redirect to wrong url after creating layout #1905 2016-04-22 04:52:06 +10:00
Samuel Georges
76faef7c17 Sync styles on media picker and file upload 2016-04-21 06:11:31 +10:00
Alexander Guth
13276a500e Add conditions config to RecordFinder
Fixes #1524
2016-04-21 05:36:53 +10:00
Samuel Georges
f2d8fcaf14 Record finder now supports scopes and search options 2016-04-21 05:36:29 +10:00
Samuel Georges
51bef96db9 More styling changes and other minor improvements 2016-04-21 04:52:21 +10:00