213 Commits

Author SHA1 Message Date
Samuel Georges
669a4cee6e Merge branch 'maintenance-mediamanager' into develop 2017-10-16 17:56:34 +11:00
Samuel Georges
2a1234d21c Update MM lang refs 2017-10-16 17:52:50 +11:00
James Allen
a697970b92 fix documentation #3160 2017-10-10 21:24:56 -04:00
Harmen Janssen
a2a91a38e6 Added PluginManager::unregisterAll() (#3156) 2017-10-08 12:14:17 -06:00
Luke Towers
a24da988ae Moving MediaLibrary and MediaLibraryItem classes to the System module 2017-09-27 22:10:20 -06:00
Peter Halverson
dc50b34c7b Edge support for october:util set build 2017-08-15 17:02:57 -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
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
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
b2b82588f2 Implement CSS to inline styles
Refit system layout
2017-07-22 21:49:48 +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
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
4663531de2 Introduce mail partials + twig
Improve layout seeding
2017-07-19 21:14:08 +10:00
Samuel Georges
e1629a9413 Remove system dependency on cms module
Refit #2970
2017-07-15 10:14:15 +10:00
BenjaVR
c2d99e6d92 UpdateManager runs without Cms module 2017-07-15 10:11:23 +10:00
Samuel Georges
81b28e3938 Render order should be Twig -> Markdown -> Html
Use unrendered markdown as defaul text template
2017-07-15 00:55:56 +10:00
Samuel Georges
78d722adf0 Set last build number, updating via composer 2017-07-14 22:01:11 +10:00
Samuel Georges
5a4e2b6b11 Email templates now use Markdown
Move mail template management to MailManager
2017-07-14 16:20:53 +10:00
Samuel Georges
1db67af8e8 Merge remote-tracking branch 'remotes/origin/develop' into l55upgrade
Conflicts:
	modules/system/lang/en/lang.php
2017-07-11 10:48:54 +10:00
Sevdin Filiz
3dba1a8f61 Make SettingsManager more like NavigationManager (#2954)
Enables partial modification of Setting Items just like is currently supported in Menu Items
2017-07-04 08:30:48 -06:00
Samuel Georges
87f8f8feb1 Fixes inconsistency in component partial folder names
This is a breaking change that will require further attention - refs #1854

Eg: myComponent, the default component partial would use lower case folders
- /plugins/acme/test/components/mycomponent/default.htm

The theme component partial override would use case sensitive folders
- /themes/foobar/partials/myComponent/default.htm

This is fixed as
- /themes/foobar/partials/mycomponent/default.htm

Minor code fix to ModelBehavior class
2017-06-27 05:34:13 +10:00
Samuel Georges
f3de51e992 Add backend and notifications settings category
URL -> url
Move mail settings below mail templates
2017-06-05 17:36:44 +10:00
Samuel Georges
bab7976331 Merge branch 'develop' into l55upgrade 2017-05-20 09:08:09 +10:00
Samuel Georges
25bcc35020 Stream notes to console 2017-05-20 09:03:58 +10:00
Samuel Georges
6136e89a54 share -> singleton 2017-05-20 00:32:34 +10:00
Samuel Georges
8a95fec188 Refit october:down 2017-05-13 20:43:44 +10:00
Samuel Georges
5ea79489af pluck -> value
This is an odd one from Laravel, pluck is now value and lists is now pluck. We'll need a release note about this one.
2017-05-12 07:19:06 +10:00
Luke Towers
68e874dc97 AssetMaker Improvements (#2847)
* Check if asset file exists before symbolizing path

Adds a check to see if the asset file exists before attempting to symbolize it, this will allow the asset combiner to be passed assets with complete paths instead of only relative paths.

* Implement combiner business logic

* Improve handling of bad inputs
2017-04-27 00:17:05 -06:00
Quezler
cc17b679f1 Code dusting (#2826)
Code cleaning according to PSR-2 w/ exemptions (mostly dust).
2017-04-24 21:38:19 +10:00
Samuel Georges
8aa9d25a91 Broadcast combined assets as static
Follow on from 329a275f102e3a06d504bcd2dd0ac82af5fdf9e8
Fixes #2474 (again)
2017-03-31 13:02:16 +11:00
Samuel Georges
a40357cec9 Added a check for missing dependencies in two places
- System dashboard now lists missing dependencies
- Installing a plugin with missing dependencies will also attempt to install those dependencies at the same time
Fixes #36
2017-03-21 17:42:56 +11:00
Samuel Georges
0a981a25f7 API docs progress
Controller -> SystemController for consistency
2017-03-16 17:08:20 +11:00
Samuel Georges
b841f9e066 {@inheritDoc} -> @inheritDoc 2017-03-16 06:26:14 +11:00
Samuel Georges
ec18697ae2 Cannot use Cms\Classes\Controller as Controller because the name is already in use
Remove test code
2017-03-14 19:42:37 +11:00
Luke Towers
03fc5cb78e Merge pull request #2742 from firemankurt/master
Allows Settings to be defined in YAML
2017-03-10 14:37:02 -06:00
Kurt Jensen
0710418df7 Converted all indents to spaces
Converted all indents to spaces
2017-03-10 12:08:42 -08:00
Kurt Jensen
c6d3780d10 Allows Settings to be defined in YAML
Allow settings array to be defined in the plugin.yaml file instead of just in php file.
2017-03-09 21:33:35 -08:00
Samuel Georges
462c9cd4e8 Introduce theme logging + log settings
CmsObject changes can now be tracked (disabled by default)
Request logging is now disabled by default (security vector)
2017-02-08 05:44:04 +11:00
Samuel Georges
f7e80b2cb6 Added a $force flag to bootAll and registerAll method for unit tests
Fixes #2592
2017-02-05 07:09:27 +11:00
Samuel Georges
22bc5fce68 Bust OP cache for CMS template cache files
Fixes #2385
2017-01-20 07:20:08 +11:00
Samuel Georges
1a267b8d03 Code clean up from #2562 2017-01-13 06:15:59 +11:00