Commit Graph

251 Commits

Author SHA1 Message Date
Petr Škoda
394372b7da MDL-41437 fix plugin install issues
This patch prevents inclusion of settings from plugin that or not yet installed or upgraded,
this matches the original logic where we were using the modules table.
2013-09-24 22:43:46 +02:00
Petr Škoda
bde002b81a MDL-41437 rework plugin_manager caching and version info in blocks and modules
This patch includes:

* version column removed from modules table, now using standard config, this allows decimal version for modules
* version column removed from block table, now using standard config, this allows decimal version for blocks
* module version.php can safely use $plugins instead of module
* new plugin_manager bulk caching, this should help with MUC performance when logged in as admin
* all missing plugins are now in plugin overview (previously only blocks and modules)
* simplified code and improved coding style
* reworked plugin_manager unit tests - now using real plugins instead of mocks
* unit tests now fail if any plugin does not contain proper version.php file
* allow uninstall of deleted filters
2013-09-22 21:25:26 +02:00
Mark Nelson
5989677e0f MDL-18375 calendar: added the Gregorian calendar type to the standard list of plugins 2013-09-05 18:32:16 +08:00
Damyon Wiese
f6c2af867f Merge branch 'master_MDL-40122' of git://github.com/danmarsden/moodle
Conflicts:
	lib/db/upgrade.php
	version.php
2013-08-27 13:16:55 +08:00
Damyon Wiese
c90641facb MDL-41098 Atto Text editor: Add new text editor to core
This is an alternative to the TinyMCE text editor that is based on HTML5
content editable regions.

It has been designed to "gel" with Moodle and uses YUI for javascript,
Moodle standard dialogs and standard moodle buttons. It has also been designed
to work well on mobile devices and can collapse down to a narrow column if required.

Imported from the plugins database here:
https://moodle.org/plugins/view.php?plugin=editor_contenteditable

Original git repository here:
https://github.com/damyon/contenteditable
2013-08-26 22:16:43 +08:00
Dan Marsden
3d1808c6e2 MDL-40122 SCORM: replace SCORM course format with singleactivity 2013-08-21 20:26:06 +12:00
Frederic Massart
cbb3990bcb MDL-41071 core: plugininfo_mod caches in plugininfo_mod definition 2013-08-07 20:55:22 +08:00
Eloy Lafuente (stronk7)
154bc6b240 Merge branch 'w30_MDL-40642_m26_umask' of https://github.com/skodak/moodle 2013-07-23 23:42:11 +02:00
Marina Glancy
9e88661e58 MDL-28019 Added plugin tinymce_managefiles 2013-07-23 14:12:55 +08:00
Marina Glancy
1d94557373 MDL-28019 Added plugin repository_areafiles 2013-07-23 14:12:45 +08:00
Dan Poltawski
82d1dc3f17 Merge branch 'wip-MDL-40121-master' of git://github.com/marinaglancy/moodle 2013-07-22 14:36:29 +08:00
Petr Škoda
eb459f7192 MDL-40642 set more restrictive umask and use proper permission for new dirs and files 2013-07-19 09:18:44 +02:00
Eloy Lafuente (stronk7)
07e045b844 MDL-39926 SCORM: objetives report now core plugin 2013-07-17 11:06:05 +02:00
Petr Škoda
56da374e1e MDL-40220 use new core_component::normalize_component() 2013-07-16 22:41:00 +02:00
Petr Škoda
1c74b26090 MDL-40220 use new core_component::get_plugin_directory() 2013-07-16 22:38:38 +02:00
Petr Škoda
bd3b3bba9f MDL-40220 use new core_component::get_plugin_list() 2013-07-16 22:36:11 +02:00
Petr Škoda
46f6f7f224 MDL-40220 use new core_component::get_plugin_types() 2013-07-16 22:31:48 +02:00
Marina Glancy
ff2ca3ef3d Merge branch 'MDL-13114-master' of git://github.com/FMCorz/moodle 2013-07-16 13:07:17 +10:00
Marina Glancy
50d1d9949b Merge branch 'MDL-30740-master' of git://github.com/danpoltawski/moodle 2013-07-16 12:16:27 +10:00
Marina Glancy
9af02a3b36 MDL-40121 Added format_singleactivity in standard package 2013-07-15 21:42:04 +10:00
Dan Poltawski
562525dcc9 MDL-30740 Add repository_skydrive to standard plugins 2013-07-15 17:57:43 +08:00
Frederic Massart
c122e7845d MDL-13114 tool_uploadcourse: Adding to standard plugins 2013-07-15 11:45:34 +08:00
Marina Glancy
3fd0ea3c1e Merge branch 'MDL-28466-master' of git://github.com/danpoltawski/moodle 2013-07-15 13:07:37 +10:00
Dan Poltawski
fdb0dfe7c0 MDL-28466 pluginlib: Add enrol_authorize as standard deleted plugin
This means we won't bother our users about it in the plugin list

thanks Marina for picking it up!
2013-07-15 10:25:22 +08:00
Dan Poltawski
317638a3d6 MDL-28466 remove enrol_authorize from standard list of plugins 2013-07-15 10:25:22 +08:00
Marina Glancy
929a0ddd73 MDL-40658 Include tinymce_pdw and tinymce_wrap in the list of standard plugins 2013-07-15 11:49:54 +10:00
Petr Škoda
02a541ee8e MDL-39088 fix incorrect module count SQL 2013-07-03 09:40:07 +02:00
Petr Škoda
3601c5f09c MDL-26943 implement subplugin support for local plugins 2013-06-30 09:18:35 +02:00
Petr Škoda
958b0af64f MDL-39088 migrate admin tool uninstallation to plugin_manager 2013-06-27 22:20:36 +02:00
Petr Škoda
0a53e5c5ae MDL-39088 migrate report uninstallation to plugin_manager 2013-06-27 22:20:36 +02:00
Petr Škoda
142f9d5087 MDL-39088 migrate plagiarism uninstallation to plugin_manager 2013-06-27 22:20:35 +02:00
Petr Škoda
cd79930e4d MDL-39088 migrate module uninstallation to plugin_manager 2013-06-27 22:20:35 +02:00
Petr Škoda
5643f932e9 MDL-39088 migrate enrol uninstallation to plugin_manager 2013-06-27 22:20:35 +02:00
Petr Škoda
b07526e8de MDL-39088 migrate editor uninstallation to plugin_manager 2013-06-27 22:20:35 +02:00
Petr Škoda
8a953d629f MDL-39088 migrate course format uninstallation to plugin_manager 2013-06-27 22:20:35 +02:00
Petr Škoda
6584d8a861 MDL-39088 migrate block uninstallation to plugin_manager 2013-06-27 22:20:35 +02:00
Petr Škoda
2f87bb0315 MDL-39088 add new general uninstall url support to plugin manager 2013-06-27 22:20:34 +02:00
Sam Hemelryk
aae402010b Merge branch 'MDL-35666-master' of git://github.com/mouneyrac/moodle 2013-06-12 10:14:14 +12:00
Petr Škoda
c2140b5d95 MDL-39356 add ca certificate bundles for cURL
This is necessary because PHP in Windows does not have any certificates and some *nix systems have outdated or missing ca bundles too.

The order is:
1/ dataroot/moodleorgca.crt always wins - needs to be added manually by admin
2/ php.ini setting "curl.cainfo" is next
3/ on Windows libdir/cacert.pem is used because it does not have any default cert bundles
4/ system default is the last - the previous value, ok for properly configured *nix systems
2013-04-28 20:58:58 +02:00
Damyon Wiese
4f1008202d MDL-39341 Themes Rename bootstrap to bootstrapbase 2013-04-26 13:01:06 +08:00
David Mudrák
e18597fa15 MDL-39358 Mark the new theme_clean as a standard plugin 2013-04-25 22:23:58 +02:00
Dan Poltawski
789ce8202b Merge branch 'MDL-39148-uninstall' of git://github.com/mudrd8mz/moodle
Conflicts:
	theme/bootstrap/style/generated.css
2013-04-22 14:33:28 +01:00
Jerome Mouneyrac
3f308ae916 MDL-35666 remove uninstall protocol option 2013-04-22 12:02:39 +08:00
David Mudrák
7b1e0645c1 MDL-39249 Fix typo in available_update_deployer class
I have accidentally spotted this typo while working on this branch. It
has never caused any harm as both parameters callerurl and returnurl are
always passed. Blame copy/pasting of code blocks.
2013-04-20 03:01:36 +02:00
David Mudrák
5d7a4bab3f MDL-39249 Return to the correct page after successful update deployment
The method available_update_deployer::make_execution_widget() used to
have hard-coded return URL. Now it accepts the return URL as the second
parameter and passes it to the mdeploy.php utility.

The callerurl parameter is now correctly passed and used.
2013-04-20 03:00:19 +02:00
David Mudrák
badf464792 MDL-39148 Non-installed plugins cannot be uninstalled
If the plugin has been only deployed to the disk without installing into
the database, do not allow going through the uninstallation procedure.
Not only it does not have much sense. But it can also lead to some
tricky situation due to dependencies. Better to block it and wait till
the plugin is either fully installed or removed from the disk.
2013-04-19 11:24:43 +02:00
Dan Poltawski
73f5a0d864 MDL-39021 pluginlib: theme_simple is a core plugin
Don't list as an add-on.
2013-04-17 12:27:24 +01:00
Dan Poltawski
c6101ef441 Merge branch 'MDL-39087-plugins-uninstall' of git://github.com/mudrd8mz/moodle 2013-04-17 12:09:20 +01:00
Petr Škoda
ca117d1e5b MDL-34674 add CTRL+right click hint to tinymce context menus 2013-04-16 08:37:21 +02:00
David Mudrák
3ca1b54642 MDL-39087 Use progress_trace class to display uninstallation progress
This is much better API than using the array passed by reference. At the
moment, it is pretty hacky as it abuses text_progress_trace to output
raw HTML echoed by uninstall_plugin() but that will be improved later
while moving the logic out of that function into the plugin_manager.
2013-04-12 04:02:28 +02:00