102 Commits

Author SHA1 Message Date
Samuel Georges
733d783ada Clicking on a plugin redirects to plugin detail page
Upgrade guide can now be fetched from the server
2015-07-14 07:42:21 +10:00
Samuel Georges
6f4590404c Add logic to look for !!! in plugin updates - Fixes #785 2015-07-10 15:51:24 +10:00
Samuel Georges
adada0b4a5 Show plugin icon in update list 2015-06-30 15:46:46 +10:00
Samuel Georges
f4efcb455e Use fill()+save() instead of save() 2015-06-27 14:32:52 +10:00
Samuel Georges
6c6c7b9e1f Implement ComposerManager::autoload for plugins that use composer.
All packages are now added to a global pool to prevent double loading and the load order is respected.
Refs #1227
2015-06-27 13:37:34 +10:00
Samuel Georges
19e648cab8 Remove useless reference 2015-06-27 12:34:24 +10:00
Leonardo Shinagawa
171e5e2278 Small typo error in docblock 2015-06-24 09:14:44 -03:00
Samuel Georges
b81efa9c46 Might reconsider this, since the exact line in twig is lost 2015-06-04 17:37:29 +10:00
Samuel Georges
9ed73e0cba Updates for new symbolizePath API, requires latest rain lib code
Backend layouts can now be provided by plugins
2015-05-30 15:54:47 +10:00
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