Commit Graph

187 Commits

Author SHA1 Message Date
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 329a275f10
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
Samuel Georges 17d0d5dc6b Merge pull request #2562 from sw-double/feature/tables-config
Respect database tables config.
2017-01-13 06:08:27 +11:00
Konstantin L 2b5cf64ddf Use Config::get() instead of config() helper. 2017-01-10 15:51:26 +01:00
Samuel Georges 6af6ebe733 Added config backendForceSecure used to force HTTPS
Refs https://security.googleblog.com/2016/09/moving-towards-more-secure-web.html
2016-12-17 10:16:02 +11:00
Konstantin L f10de2fc10 Respect database tables config. 2016-12-15 20:57:17 +01:00
Samuel Georges e8ba7fef5b Plugin dependency definitions no longer case sensitive
Dependency checking is disabled for the front end to increase performance
2016-12-10 10:59:45 +11:00
Pásztor Gábor 94ab13cd8b Fix exception message, remove some unneded imports. 2016-12-07 21:33:05 +01:00
Samuel Georges 329a275f10 Prevent code eval on cached assets
When the request tells the server that the asset is cached, there is no point firing up the combiner, computing the contents and affecting performance. This change should result in a nice boost in secondary page load times.

Thanks to @zerkms for pointing this out

Fixes #2474
2016-11-23 08:42:47 +11:00
Pásztor Gábor cf1fda7437 Allow combine scss files from command. 2016-11-16 20:09:46 +01:00
Samuel Georges f9dd5b2f57 Plugins can now define custom list column types 2016-10-21 07:15:08 +11:00
Scott Bedard 544a8c38cd Fixing a typo 2016-09-05 08:35:43 -07:00
Samuel Georges 58c669bf1e Exception handling when disabled.json returns null
Fixes #2341
2016-09-03 12:19:22 +10:00
Samuel Georges b02e4d7ecf Resolve paths correctly when deep hashing
Fixes #2270
2016-08-05 07:51:15 +10:00
Jérémy Gaulin 2be29e6d48 Fix missing sprintf in exception message (wrong signature) 2016-07-30 10:14:21 +02:00
Samuel Georges b1a86b5f9f Performance enhancement
Don't use deep handing lastMod check if we don't have to
2016-07-30 16:14:54 +10:00
Samuel Georges 3a6bf35f06 Only need to pasa a single asset now 2016-07-30 16:06:37 +10:00
Samuel Georges cf76e4c64a Performance enhancement 2016-07-30 16:05:37 +10:00
Samuel Georges b08e2c4912 Introduce deep hashing on asset combiner
Added cms.enableAssetDeepHashing config item, disabled by default
Recompile assets
Refs #2248
Refs https://github.com/octobercms/library/pull/225
2016-07-30 15:06:50 +10:00
Samuel Georges a50d3c1387 Merge pull request #2248 from christianWilling/fix-asset-cache
Fix asset cache
2016-07-30 13:01:20 +10:00
Christian Willing 2b71055677 change spaces 2016-07-27 11:49:16 +02:00
Joel Ekström Svensson 5f7b7d8c6d Escapes exception output
Fixes #2198
2016-07-11 17:32:30 +02:00
Christian Willing 743d2d1b4e added scss to core 2016-07-10 19:44:54 +02:00
Christian Willing c343758d7c asset cache fix 2016-07-06 11:21:15 +02:00
Samuel Georges d7ef9b1738 Apply chmod rules to combiner cache 2016-06-18 09:23:16 +10:00
Pavel c34b2afd9c Removes hardcoded "Misc" settings group translation.
This pull request allows to properly show "Misc" setting group in other languages.
2016-06-12 14:23:42 +03:00
Samuel Georges 744d5654b3 ThemeData model now busts the [front-end] combiner cache
Separation of concerns, move the combiner asset variable injection logic to the cms module
Tweak readme
2016-06-03 07:22:05 +10:00
Samuel Georges 27dc84c59b ThemeData can now pass variables to the combiner
Add support for fileuploads to ThemeData
Fixes #1539
2016-06-02 05:23:05 +10:00