Samuel Georges
73cf4b7050
If a version.yaml file contains no array, then treat it as empty - fixes #1104
2015-05-09 10:56:11 +10:00
Samuel Georges
d02d9ba674
Minor improvement to error handling
2015-05-07 18:00:57 +10:00
Samuel Georges
58ace7ee6c
The Twig runtime error is not very useful
...
Use the previous exception to provide more information
2015-05-02 18:11:26 +10:00
Samuel Georges
1a037bad04
Add the ability to include middleware in CMS / Backend controllers
...
Add init.php script to plugins
Fixes https://github.com/octobercms/library/issues/106
2015-04-21 20:07:34 +10:00
Samuel Georges
f0c7b66576
Adds minor safeguard to #1044
...
^- For objects that can be cast as strings and do not interface Symfony's Response
2015-04-11 11:19:53 +10:00
Samuel Georges
ebcf57e8e3
Merge remote-tracking branch 'remotes/matiss/patch-1' into develop
2015-04-11 11:08:44 +10:00
Samuel Georges
c54821f175
Overhaul the plugin installation process in the back-end
...
Themes can now be installed via the back-end
2015-04-04 17:28:51 +11:00
Matīss Jānis Āboltiņš
26d92d282f
Fixed custom error pages outputting headers
...
If we don't have this method called, then the controller returns an object. From then on, [Symfony converts this object in to a string](https://github.com/symfony/HttpFoundation/blob/master/Response.php#L406 ). This string is **not just the content of the view**, but the headers as well.
After attaching this method, `handleCustomError()` returns a string and everything works as expected.
2015-04-02 09:59:07 +03:00
Samuel Georges
2e949216ab
Autoloader before ->register()
2015-03-03 14:34:38 +11:00
Samuel Georges
3cff8caa15
Plugins now support elevated privileges
2015-02-28 14:45:54 +11:00
Samuel Georges
05dc7dfa00
Adds registerSchedule() to PluginBase class
2015-02-25 22:58:10 +11:00
Samuel Georges
f7ba386156
Missing NS ref
2015-02-23 19:55:06 +11:00
Samuel Georges
c559db0de6
Extract the updater JS to its own file, add helper to find missing dependencies
2015-02-21 22:59:09 +11:00
Samuel Georges
cf9231466c
bindSoftDependencies -> bindContainerObjects
2015-02-21 12:03:50 +11:00
Samuel Georges
3d898c6bde
Minor
2015-02-21 11:43:17 +11:00
Samuel Georges
9f17c7add0
Add support for unit testing
2015-02-21 11:41:43 +11:00
Samuel Georges
0abc2de0d1
ApplcationException -> ApplicationException
2015-02-19 00:35:14 +11:00
Samuel Georges
7145aac457
Prepare for CDN, config rename cms.plugins|themes|uploadsDir -> cms.plugins|themes|uploadsPath
...
Deprecate data-trigger-type on triggerapi
Fixes ref to Util class
2015-02-17 20:58:38 +11:00
Samuel Georges
7b52e07b65
Overhaul exceptions, rename triggerapi display -> show
2015-02-16 21:16:43 +11:00
Samuel Georges
c678c965ea
Plugin manager can now load, register and boot individual plugins
2015-02-12 21:04:27 +11:00
Samuel Georges
8eaedb3d5c
Makes it easier to clear the cache
2015-02-11 20:40:48 +11:00
Samuel Georges
ce14c0c926
The command to clear the CMS cache has changed
2015-02-11 20:39:25 +11:00
Samuel Georges
b794a74762
Pass along the build number when updating
2015-02-10 17:49:15 +11:00
Samuel Georges
610ea932fc
Fixes #856 - Implement a linking policy, defaults to relative
2015-02-09 21:52:17 +11:00
Samuel Georges
9dba058fe5
Remove PATH_APP + PATH_BASE constants
2015-02-07 15:43:49 +11:00
Samuel Georges
8e1b4c2f68
Remove cms.tempDir - use temp_path()
2015-02-07 15:42:20 +11:00
Samuel Georges
fbf46519b4
Implement plugins_path() usage
2015-02-07 15:37:07 +11:00
Samuel Georges
9a616b6174
Fix clear cache, update storage paths
2015-02-07 14:50:03 +11:00
Samuel Georges
4c29c5080d
Clean up, get front and backends operational again
2015-02-05 19:47:20 +11:00
Samuel Georges
03eb949e71
Add illuminate/html package, DB -> Db, HTML -> Html
2015-02-04 20:03:44 +11:00
Samuel Georges
beb818efa5
Merge branch 'develop' into laravel5
...
Conflicts:
modules/cms/classes/CmsCompoundObject.php
modules/system/ServiceProvider.php
2015-02-04 19:35:55 +11:00
Samuel Georges
b504128d61
Pass edge flag along with update requests
2015-01-31 13:30:29 +11:00
Samuel Georges
b1b700368f
Radical reorg of some classes
2015-01-28 11:49:54 +11:00
Samuel Georges
eb8f4ec1a8
Removed generic permission "Manage settings", these should be more granular to the tool
...
Fixes #831 - Fixes dashboard redirect, add "Manage mail settings" permission
Fixes bug in Settings permissions, they now work!
2015-01-18 13:16:18 +11:00
Samuel Georges
c4cef299dd
Fixes #828 - php artisan october:util compile assets
2015-01-12 20:08:53 +11:00
Samuel Georges
415f07eb1d
Fixes various unit tests so they pass (Tested in Windows)
2015-01-05 12:37:04 +11:00
Samuel Georges
2160ddf3e5
Fixes unit test - normalize plugin paths for Win systems
2015-01-05 11:46:33 +11:00
Samuel Georges
59c9146b4f
Merge pull request #861 from gergo85/master
...
Cleanup
2015-01-05 09:21:09 +11:00
gergo85
f0005d196b
Cleanup
...
Remove whitespaces.
2015-01-03 12:41:23 +01:00
Samuel Georges
8cdb24c40a
Might be a good idea to just always set the not modified header if we can
2014-12-17 14:55:16 +11:00
Samuel Georges
512e91118f
Improved asset caching, when enabled the server will send a 304 Not Modified header
2014-12-17 13:46:08 +11:00
Samuel Georges
d3000ca51a
Unify the handling of detailed exception messages
2014-12-16 12:21:55 +11:00
Samuel Georges
48b90e86b6
Config item `cms.enableAssetMinify` can now be set to **null**, in which case assets are only minified if debug mode (`app.debug`) is disabled.
2014-12-06 13:43:06 +11:00
Samuel Georges
33be75af10
Config item `cms.customErrorPage` is deprecated, the setting `app.debug` should be used instead.
2014-12-06 13:22:57 +11:00
gergo85
2a05c2346f
Update jQuery files
...
Demo theme: v1.10.2 -> v1.11.1
Backend: v2.0.3 -> v2.1.1
Furthermore I renamed the jquery-2.0.3.min.js file because of easy to
update jQuery in future.
2014-12-01 22:35:58 +01:00
Samuel Georges
48e2dddc66
Fixes #783 - Logic error
2014-11-21 08:29:40 +11:00
Sam Georges
2011a21e6f
Minor
2014-11-01 12:03:38 +11:00
Sam Georges
c83797231d
Subsequent expressions are on a new line (see developer guide > PSR exceptions)
2014-11-01 12:00:45 +11:00
Sam Georges
7d0a210fac
When cms.disableCoreUpdates is set to true the Backend will no longer display updates for the core.
2014-11-01 11:33:33 +11:00
Sam Georges
f8c2fa30b4
Fixes an issue where new Themes attached to a project were not being installed on update.
2014-10-21 19:21:17 +11:00
Sam Georges
ab712f44fb
Fixes omitted visibility
2014-10-20 18:54:28 +11:00
Sam Georges
23f6d75416
Peer review of #679
2014-10-19 10:58:18 +11:00
Stefan Talen
f85087eac6
Updating modules/system
2014-10-18 11:58:50 +02:00
Stefan Talen
06890d711a
Merge branch 'develop' of https://github.com/octobercms/october into feature/PSR-2
...
Conflicts:
modules/backend/behaviors/UserPreferencesModel.php
modules/cms/classes/Controller.php
modules/system/classes/CombineAssets.php
2014-10-16 18:44:18 +02:00
Sam Georges
8d618d4e29
Fixes #684 - Plugins still load language, routes, etc when noInit is enabled
2014-10-16 19:49:30 +11:00
Sam Georges
9f5646d273
BackendSettings -> BrandSettings
...
pageTitle is now translated at the end of the line
Fixed unit tests so they pass
SettingsModels are now cached
2014-10-15 19:53:44 +11:00
Sam Georges
57ec5c7261
Moved asset combiner to the system module
2014-10-15 08:09:46 +11:00
Sam Georges
d78dadafd0
Check for CLI or system/updates route and disable any plugin initialization
2014-10-09 17:46:23 +11:00
Sam Georges
5c46dbec32
Plugins are now updated according to their dependency definitions
2014-10-04 15:59:43 +10:00
Sam Georges
e9f5f13646
Closes #660
2014-10-04 09:56:38 +10:00
Sam Georges
45811dfb95
Lean code
2014-09-20 17:56:59 +10:00
Sam Georges
5cd9f30ea2
Exception handling when plugins/ dir missing
2014-09-19 17:23:10 +10:00
Sam Georges
e2921472f8
Create allocated Settings category constants for translation
2014-08-06 11:44:31 +10:00
Sam Georges
56d0c3351b
private -> protected
2014-08-01 14:54:16 +10:00
Sam Georges
6388ecef52
private -> protected
2014-08-01 13:58:59 +10:00
alekseybobkov
bfc59c9007
Updating the Settings pages
2014-07-27 11:11:16 +11:00
alekseybobkov
1085d20f8c
Merge branch 'develop' into ux
2014-07-25 16:19:11 +11:00
Sam Georges
936ff26371
Prevent constant theme reinstalling
2014-07-24 21:32:09 +10:00
Sam Georges
ecf026d1df
Add logic for downloading themes
2014-07-24 20:07:52 +10:00
Sam Georges
f9a68456ae
Add initial theme support to update process
2014-07-24 19:16:19 +10:00
alekseybobkov
98eb3e2e84
System page navigation improvements, not finished
2014-07-24 15:19:00 +11:00
Sam Georges
c3cef219fa
Bug fixes to settings page ordering
2014-07-19 15:51:43 +10:00
Sam Georges
3c7c87b338
Fixes #254 add Laravel helper functions to Twig environment
2014-07-16 10:30:39 +10:00
Sam Georges
3617a7fea8
Important! All references to *Email* have been changed to *Mail*
...
(This change might hurt a little, sorry!)
2014-07-04 19:14:15 +10:00
Sam Georges
ddb6337efe
EditorSettings -> EditorPreferences (System has settings, User has preferences, App has configuration)
...
Create a My Settings page, now linked when clicking a User
Create backend preferences form for setting locale
Dropdown options now support an image or icon in their options
2014-07-01 17:17:53 +10:00
Sam Georges
5c005f79d0
System Twig environment is now extended by plugins
...
Move the markup manager to system
2014-06-28 21:23:13 +10:00
Sam Georges
070667ebe0
Improve CMS Exception handler.
...
Previously Twig syntax errors inside a component partial would show the incorrect file and line number. This is fixed.
Also simplified the approach so the stack trace is not hidden inside a closure.
2014-06-24 14:58:46 +10:00
Philip Manavopoulos
2561a234e5
Fix DocBlock
...
Being in a namespace of it's own, the type hint for $closure should be \closure (otherwise it assumes that it belongs in the ```System\Classes``` namespace)
2014-06-22 19:54:26 +01:00
Sam Georges
a866c39ec3
Fixes #316 manually (unable to merge)
2014-06-17 19:14:44 +10:00
Sam Georges
9ee04d701c
Minor
2014-06-16 08:48:26 +10:00
Sam Georges
2b820a20d6
Convert all boolean table columnns to use is_ prefix
...
Add email template/layout system
2014-06-06 21:39:20 +10:00
Sam Georges
cf000a905b
Can now remove, refresh and disable plugins via the Back-end GUI
2014-06-05 21:51:58 +10:00
Sam Georges
f44b203e44
Removing plugins can now be purged from the db, orphaned plugins are visible, don't concat single list relations, add more events to Cms controller.
2014-06-05 18:52:53 +10:00
Sam Georges
1728295f3f
Fixes an issue where success is still called when AJAX validation fails
2014-06-02 18:16:39 +10:00
Sam Georges
3c84337da7
Fixes #222 - Plugin commands are now case insensitive
2014-05-29 17:33:02 +10:00
Sam Georges
25fefb6ec8
Reorg class
2014-05-21 16:39:28 +10:00
Sam Georges
08bc886d1b
Plugins with missing dependancies are disabled by the system.
...
Plugins can now be disabled manually by config (see config cms.disablePlugins).
2014-05-21 16:36:05 +10:00
Sam Georges
5aa17ae0bc
Fixes for using paid plugins
2014-05-21 10:05:39 +10:00
Sam Georges
969299b495
Fixes #135 - Can now specify a temp directory
...
Better error reporting
2014-05-20 16:25:34 +10:00
Sam Georges
7d468475c0
Better logging
2014-05-19 18:18:02 +10:00
Pascal Borreli
459c8e0cfa
Fixed typos
2014-05-17 18:08:01 +02:00
Sam Georges
851a12c7b3
Log these errors
2014-05-16 21:27:40 +10:00
Sam Georges
71a5dd67ab
Welcome to the world, October :-)
2014-05-14 23:24:20 +10:00