Commit Graph

4233 Commits

Author SHA1 Message Date
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 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
Samuel Georges 5078578a04 Rollback 205f02b44a
This keeps it as generic copypasta
With or without this, an unauthorized page is shown if the user has no permission
2017-07-22 09:46:55 +10:00
Luke Towers 205f02b44a Improve unauthorized redirection trigger case 2017-07-21 14:47:18 -06:00
Luke Towers 151ed057e8 Improve support for #2985
Improves support for editing theme options by enabling the currently active theme's customizations to be saved without a dirname in the URL.
2017-07-21 14:45:51 -06:00
Alwin Drenth c1cd76d60a Update Dutch language files (#2987) 2017-07-21 09:27:27 -06:00
Samuel Georges 7a7a1186d6 Clean up imports 2017-07-21 15:42:49 +10:00
Samuel Georges 161a1fffbb Wording change 2017-07-21 15:40:02 +10:00
Samuel Georges 3f40a6dbaf Refactor solution from #2985 2017-07-21 15:38:53 +10:00
Luke Towers 647a656f67 Add more granular permissions for editing themes (#2985)
* Add more granular permissions for editing themes
* Fix component token parser exception message
2017-07-21 14:29:30 +10:00
Samuel Georges 4663531de2 Introduce mail partials + twig
Improve layout seeding
2017-07-19 21:14:08 +10:00
Samuel Georges 52e61f6a3b Make fields stretchy 2017-07-15 20:01:56 +10:00
Samuel Georges d7117f9cb2 Stetch + size improvements 2017-07-15 19:53:08 +10:00