134 Commits

Author SHA1 Message Date
Samuel Georges
f45c04a3aa Minor logic error
Trash strict mode off during default migrations: this will occur as a one-time during the RC->stable since the code exists in the migration.
2016-04-30 06:01:51 +10:00
Samuel Georges
1c8de67610 Merge pull request #1964 from dshoreman/date-fixes
Date fixes
2016-04-30 05:21:32 +10:00
Samuel Georges
1608d80127 Reorganise code editor prefs
Fixes visual bugs
Update dashboard icon
Restyle flash messages
2016-04-30 04:53:33 +10:00
Dave Shoreman
e2b110a611 Disable strict mode before running migrations
This will ensure strict mode is not applied while running migrations
for both modules and plugins, either when installing or removing.

We don't need to call disableStrictMode from UpdateManager::uninstall()
as it is called within the plugin removal methods, which are run first.

To force strict mode to be enabled, set 'strict' => true in the database config.
2016-04-29 19:32:11 +01:00
Samuel Georges
87a4de40de Address serialize/unserialize issues
This will require a cache clear for the combiner
Ref https://davidwalsh.name/php-serialize-unserialize-issues
2016-04-16 08:22:31 +10:00
Samuel Georges
2a7dbdd74a Merge branch 'stable' into ui
Conflicts:
	modules/cms/classes/CmsObject.php
	modules/cms/widgets/MediaManager.php
2016-03-25 18:42:13 +11:00
Samuel Georges
4ddc8055c6 Merge branch 'develop' into stable 2016-03-25 18:39:16 +11:00
Samuel Georges
0950959904 Do not show disabled plugins in the update list
Fixes #1716
2016-03-25 12:37:15 +11:00
Samuel Georges
2a3a63857c text/javascript is obsolete. Fixes #1847 2016-03-21 19:13:01 +11:00
Samuel Georges
d76863a3ec Merge branch 'develop' into stable
Conflicts:
	composer.json
2016-02-27 14:55:52 +11:00
pawel
c38b841eb8 fix function output in accordance to phpdoc and function naming 2016-02-25 01:11:29 +03:00
alekseybobkov
d58b6d4d51 Fixed loading permissions from plugin.yaml 2016-02-15 17:23:10 -08:00
Samuel Georges
87f4cfc91f Use a dedicated hostname 2016-02-12 06:12:48 +11:00
Pásztor Gábor
537f637e47 Storage path 2016-01-15 10:07:39 +01:00
alekseybobkov
7d9d2176ef Merge branch 'builder-ui' into develop
Conflicts:
	modules/system/assets/ui/js/input.monitor.js
	modules/system/assets/ui/js/inspector.editor.object.js
	modules/system/assets/ui/storm-min.js
2015-12-24 14:36:31 -08:00
alekseybobkov
747ca4357f Set default focus in popup windows, minor style fix in the flash message, minor fix in YAML-based back-end navigation initialization. 2015-12-24 14:15:02 -08:00
Vojta Svoboda
3b4f915598 Update SettingsManager.php
I think that format is in Vendor.Modele format e.g. RainLab.User.
2015-12-08 11:54:38 +01:00
alekseybobkov
fd33be0932 Minor update in the form change monitor API. Minor updates in the version manager to support features required for the Builder. 2015-12-06 15:01:06 -08:00
alekseybobkov
5e454ee069 Minor update in the sidebar navigation client-side code. Plugins now can load navigation menus from plugin.yaml file. 2015-11-28 19:18:08 -08:00
alekseybobkov
30eedebed9 Added the ability to load plugin permissions from the plugin.yaml file. Minor improvement in the side panel behavior. 2015-11-19 21:02:10 -08:00
Joel Ekström Svensson
7dd0d76155 Allow plugins to be symlinks
This change makes sure that plugins can be loaded even though they are symlinks. The change makes it easier to have custom schemes to handle version control with zero-downtime deployment.
2015-10-24 23:39:18 +02:00
Vojta Svoboda
16eb704793 Add missing PHPDoc @return tag 2015-10-17 09:17:37 +11:00
Alwin Drenth
98dd952d4b Fix undefined variable $filePath
Also added proper phpDoc to the PluginBase class
2015-09-29 15:02:48 +02:00
Samuel Georges
933ea641cc Adds failed jobs table (from docs)
Allow closures to be passed to Form|ListController
Tidy up server detail payload
2015-09-23 05:45:55 +10:00
Samuel Georges
9812e1f4ec Fix protection level on formExtendFields
Improve styling on collapsible sections
2015-09-10 20:42:24 +10:00
Samuel Georges
b39837834b MySQL may fall asleep during core extraction, so always try to wake it up 2015-08-27 17:34:34 +10:00
Samuel Georges
6f414fe611 Default direction is ascending 2015-08-15 10:00:11 +10:00
Jérémy GAULIN
e65f5c3c04 Ensure versions history are retrieved by id - Refs issue #1356 2015-08-09 20:21:41 +02:00
Samuel Georges
2a26aa6889 Fixes combiner to only move ../css when in ./less 2015-07-29 19:14:54 +10:00
Peter Soots
08da2b0b81 Ensuring version order of database histroy. 2015-07-21 18:40:50 -07:00
alekseybobkov
33b8584ab9 Merge branch 'develop' into builder-ui
Conflicts:
	modules/backend/assets/css/october.css
2015-07-15 18:12:13 -07:00
alekseybobkov
5e3818a49d General plugin details can be loaded from plugin.yaml file. Minor updates in the back-end UI. 2015-07-14 18:01:55 -07:00
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