4294 Commits

Author SHA1 Message Date
Luke Towers
0b7170ac26 Add support for sorting direction to the MediaManager (#3007)
* Remove redundant returns

`$this->putSession()` in `Backend\Traits\SessionMaker` doesn't return anything, and the return values of these methods are not used; so returning the value of `putSession()` in these methods is redundant.

* Add support for sort direction to MediaLibrary

Adds support for switching the direction that item lists get sorted by the media library. This necessitates the changing of the default direction of Last Modified and Size to Ascending, previously their sorting direction was Descending while Title was sorted in Ascending order. This shouldn't change anything as the user still has the power to sort by either direction. Fully backwards compatible with any calls to `sortItemList`.

* Support sorting direction in the MediaManager widget

Adds further support for specifying a sorting direction to the MediaManager widget itself

* Display sorting direction options

* Improving styles for sorting direction

* Send sorting information to the MediaManager

* Add translations for sorting feature

* Removing strange ghost whitespace
2017-08-05 12:45:01 -06:00
Luke Towers
c4e3387752 Pull datepicker yearRange from defined scope data 2017-08-05 12:41:22 -06:00
Luke Towers
e41f047722 Support yearRange property on the daterange scopetype 2017-08-05 12:40:15 -06:00
Luke Towers
67fb168e6c Support yearRange property on the date scopetype 2017-08-05 12:39:20 -06:00
Luke Towers
962aa32a60 Improve flexibility of scope type properties
Improves the flexibility of scope type properties by removing conditional logic specific to the date and daterange scope types and laying the groundwork for scopes to define their own custom properties that can be loaded from the scope configuration defined by the developer.
2017-08-05 12:38:20 -06:00
Sevdin Filiz
c129b94b46 Add translation for "Signed in as" (#3018)
Credit to @angelside
2017-08-04 13:17:49 -06:00
samorai
d36c5ca4e8 Made hardcoded texts as translatable 2017-08-02 00:16:17 +03:00
Luke Towers
d7334315a8 Remove redundant returns
`$this->putSession()` in `Backend\Traits\SessionMaker` doesn't return anything, and the return values of these methods are not used; so returning the value of `putSession()` in these methods is redundant.
2017-08-01 12:08:01 -06:00
Luke Towers
dac45c1df8 Fix component token parser exception message (#3006) 2017-08-01 12:04:46 -06:00
Jan Vince
881edd48de Update Czech translation (#3003)
Credit to @jan-vince, reviewed by @chesio
2017-08-01 07:28:09 -06:00
samorai
a718941ec9 Added translation for pageTitle into MailBrandSettings 2017-08-01 15:38:03 +03:00
Luke Towers
3b7a8f3123 Make extension comparisons case insensitive
Make extension comparisons done in `getFileType()` case insensitive to support audio/visual file types being correctly recognized when the file being uploaded has an uppercase extension as is occasionally the case. I.e. `.JPG` is the same as `.jpg`, this just tells October to consider them the same.
2017-07-31 21:03:28 -06:00
Samuel Georges
11abddf0b6 Errors not written to database events log
Fixes #2998
2017-07-31 17:21:48 +10:00
Oleg Samorai
2cc492f7dc Enable displaying jsonable properties in backend lists (#2995) 2017-07-29 14:24:54 -06:00
Samuel Georges
5a417d72d3 Sending raw markdown emails
If raw == (string) content, then it is a markdown email (html/text are ignored -- markdown sets them)
If raw == (bool) true, then it is true raw (html/text must be supplied)
2017-07-30 00:25:11 +10:00
Samuel Georges
96d0535d09 Add generic onAjax handler that does nothing 2017-07-29 22:55:58 +10:00
Samuel Georges
d8df4f6c18 extractCore no longer needs args 2017-07-29 16:21:34 +10:00
Samuel Georges
1a365b10b7 Decouple extracting core and set build number
There is an unfortunate workflow issue when updating from Build 419 -> Build 420 via the back-end, which seems unavoidable. The first update will fail because there is some logic that occurs after the core zip is extracted, this results in a half 5.1 / half 5.5 version of the app running and it chokes. Refreshing the page and performing the update again fixes it.
2017-07-29 16:10:37 +10:00
Samuel Georges
3abd61244a Code dusting 2017-07-29 15:33:51 +10:00
Samuel Georges
5346617a91 Archive unlink comes last to allow retry
If the file is deleted and subsequent logic fails, clicking Retry is a show stopper
2017-07-29 15:18:46 +10:00
Samuel Georges
e32e8d1390 Test new validation logic v1.0.420 2017-07-29 10:55:21 +10:00
Samuel Georges
b732f70c59 Adds support for single file uploads
...when used without a form tag
Refs #2857
2017-07-29 09:21:49 +10:00
Samuel Georges
bc46520e3f This prevents &foo=bar on empty forms 2017-07-28 09:38:39 +10:00
Alexander Shapoval
26ee634ffb Updated Ukrainian and Russian translations (#2988)
* Small changes in Ukrainian and Russian languages
2017-07-28 08:53:40 +10:00
Samuel Georges
97508c3953 Rem code sample 2017-07-28 01:50:37 +10:00
Samuel Georges
72eb48cf2e Add support for AJAX file uploads
Refs #2857
2017-07-28 01:45:26 +10:00
Samuel Georges
a5377b5018 Replace missing permissions 2017-07-28 00:05:35 +10:00
Samuel Georges
9cadea9b19 Code doc improvements 2017-07-27 17:35:14 +10:00
Samuel Georges
06f4b44878 Fixes styling found in Pages plugin 2017-07-27 14:03:50 +10:00
Samuel Georges
e9884522ea Missing forward slash 2017-07-27 14:01:27 +10:00
Samuel Georges
5555b98799 Fixes deprecated Twig API
Refs https://github.com/kriswallsmith/assetic/pull/819
2017-07-26 22:16:52 +10:00
Samuel Georges
ef191d64e4 l55upgrade -> develop 2017-07-26 21:03:52 +10:00
Samuel Georges
9bb639b19f Merge branch 'l55upgrade' into develop 2017-07-26 20:59:58 +10:00
Samuel Georges
5eddd13fe2 Rem debug code 2017-07-26 17:49:05 +10:00
Samuel Georges
18b9253bcb Change to mail partial syntax 2017-07-26 17:48:00 +10:00
Samuel Georges
f1ac7eea3b Typo 2017-07-25 17:46:21 +10:00
Samuel Georges
3f0e6d8b29 Register appName as global view variable
Minor mail template improvements
2017-07-23 17:20:53 +10:00
Samuel Georges
e6b191bd94 Typo 2017-07-22 22:24:31 +10:00
Samuel Georges
9287d926f7 Refit invite and restore mail templates
Fixes {% partial %} node for mail templates
Trim body var for text emails
Style code nodes
2017-07-22 22:23:22 +10:00
Samuel Georges
b2b82588f2 Implement CSS to inline styles
Refit system layout
2017-07-22 21:49:48 +10:00
Samuel Georges
0a06582ce7 Layouts can be reset to default 2017-07-22 21:32:16 +10:00
Samuel Georges
261760e4c8 Reset mail brand settings to default
UX fixes to mailtemplates controller, active tab now remains active and redirects leverage active tab setting
2017-07-22 21:20:25 +10:00
Samuel Georges
744bf6af6e Consolidate methods 2017-07-22 20:19:03 +10:00
Samuel Georges
28c30daa4f Use safe md parsing for mail
Ensure backward compatibility by disabling indented code blocks for mail templates
Tweak mail brand colors to match October
2017-07-22 19:01:20 +10:00
Samuel Georges
d9e2fbe386 Apply all vars to mail brand css 2017-07-22 18:18:30 +10:00
Samuel Georges
4e5ac44999 Create remaining mail partials
Improve mail partial lookup method
2017-07-22 18:03:58 +10:00
Samuel Georges
31ffadbc4c Introduce mail branding settings 2017-07-22 17:20:48 +10:00
Samuel Georges
181be5979a More meaningful mail views 2017-07-22 17:19:47 +10:00
Samuel Georges
8e0279e45e Trigger color picker change event 2017-07-22 17:18:45 +10:00
Samuel Georges
cd6a7c75dc Refresh colorpicker form widget
Replace colpick with spectrum plugin
Recompile client lang
2017-07-22 11:40:59 +10:00