90 Commits

Author SHA1 Message Date
Tomasz Muras
7cdd97b252 MDL-50325 core: Use plugins API to check module status. 2018-07-18 16:54:31 +02:00
Damyon Wiese
663640f5b3 MDL-40759 icons: convert uses of pix_url to pix_icon
Also change filepicker to use scaled svgs instead of sets of custom pngs. The svgs are taken from font-awesome.
2017-03-17 15:52:17 +08:00
Petr Škoda
e87214bda7 MDL-42078 multiple uninstall improvements and cleanup
Includes:
* update checker refactored to \core\update\ namespace
* plugininfo classes refactored to \core\plugininfo\ namespace
* plugin_manager renamed to core_plugin_manager
* redirect back to original page after plugin uninstall
* fixed assign subplugin uninstall
* move assign subplugins under the assignment in admin tree
* fixed plugininfo for all question related plugin types
* auth uninstall support
* added missing block dependencies
* added theme uninstall
* subplugin types are following the plugin on plugin overview page
* several performance improvements in plugin manager
* new warnigns when plugininfo are outdated or missing
* multiple fixes and other improvements
2013-10-07 13:10:36 +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
Marina Glancy
4a3fb71c4f MDL-41436 Removing references to fields course.modinfo, sectioncache
Also add the field cacherev to the lists of default fields in course retrieval functions
2013-09-10 14:11:51 +10:00
Petr Škoda
dd24dd37ee MDL-39088 use word "Uninstall" consistently in plugin administration UI 2013-06-27 22:20:36 +02:00
Petr Škoda
cd79930e4d MDL-39088 migrate module uninstallation to plugin_manager 2013-06-27 22:20:35 +02:00
David Mudrák
ad3ed98b05 MDL-34401 Replace ad-hoc plugin request caches with proper application caches
Data cached in these caches change only at well defined places (during
need for upgrade checks, at the plugin management screen etc). So it
makes sense to use proper application caches instead of request caches.

This saves couple of database queries at almost every page in Moodle.
2013-03-11 12:48:53 +01:00
Frederic Massart
fa9c0aab13 MDL-36633 usability: Styling over the admin pages 2012-11-21 17:29:13 +08:00
Petr Skoda
b85b25ebb8 MDL-31006 fix various notices in PHP54
PHP54 compatibility
2012-01-18 01:03:20 +01:00
Petr Skoda
aff24313be MDL-29401 introduce new frankenstyle PARAM types
New PARAM_COMPONENT, PARAM_AREA and PARAM_PLUGIN + fixing of hopefully all current incorrect parameter types. This should help with diagnosing of incorrectly named 3rd party plugins too.
2011-09-25 09:59:55 +02:00
Petr Skoda
c259e5f636 MDL-25921 show error when module table is missing 2011-01-30 13:02:42 +01:00
Sam Hemelryk
f36b47efa0 admin blog comment course MDL-22856 Minor cleanups and improvements to styles 2010-08-19 05:56:57 +00:00
Petr Skoda
ecd7978c05 MDL-22015 fixed more string_manager encapsulation issues 2010-04-14 14:38:33 +00:00
Petr Skoda
d9a8e12d8e MDL-22054 improving module management UI 2010-04-11 12:17:43 +00:00
Petr Skoda
61ef8f9f88 MDL-20204 removing deprecated admin headers 2010-03-31 08:05:53 +00:00
Petr Skoda
b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00
Petr Skoda
683c01d2c8 MDL-20787 removed mod_icon_url() completely 2009-12-16 20:30:24 +00:00
Petr Skoda
e4e03fa631 MDL-20720 fixed notices when deleting modules 2009-11-02 16:13:22 +00:00
Petr Skoda
20207b827a MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 10:57:00 +00:00
mudrd8mz
ed996ede96 MDL-20191 Subplugins are uninstalled together with the parent plugin
This is a first working implementation I have. I need to so I can
continue with the Workshop development. I think the performance can be
significantly improved here as the location of the subplugins is
evaluated atr least twice, I guess.
2009-08-31 15:23:02 +00:00
nicolasconnault
414a4a91b1 MDL-19787 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:39:07 +00:00
nicolasconnault
8fbce1c8c8 MDL-19878 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 04:28:40 +00:00
nicolasconnault
73d6f52f6a MDL-19787 Converted all print_footer() calls 2009-08-06 14:12:46 +00:00
nicolasconnault
2fff8846f2 MDL-19787 Migrated calls to print_heading 2009-08-06 08:17:12 +00:00
tjhunt
e63f88c9a6 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url
and $CFG->modpixpath to $OUTPUT->mod_icon_url
2009-07-02 12:07:58 +00:00
tjhunt
4096752d1d MDL-19690 - first 53 $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:06:39 +00:00
tjhunt
df2e8971ff accesslib: MDL-17626 admin/modules.php should call delete_context when a module is uninstalled. 2009-01-09 05:34:49 +00:00
skodak
973d2660e6 MDL-16613 sesskey cleanup 2009-01-02 10:51:26 +00:00
skodak
34a2faed92 MDL-16613 sesskey cleanup 2009-01-02 10:43:12 +00:00
skodak
73f27e1656 MDL-17251 foxed incorrect set_field 2008-11-17 07:55:10 +00:00
tjhunt
4b600aa005 MDL-16410 Implement the delete question type functionality on the question type administration screen. 2008-09-11 11:01:20 +00:00
tjhunt
e6b6b2bb73 MDL-14129 missing language string. 2008-09-11 08:49:42 +00:00
tjhunt
0a82a1bbc4 MDL-14637 Allow modules to have a settingstree.php when they want to do something more complex that just settings.php - needs to be supported in modules.php too.
Also remove support for the old config.php here, since it has been removed everywhere else too.
2008-09-09 08:30:54 +00:00
skodak
b1f93b1512 MDL-15246 moving all remaining ddl function to adminlib, keeping old lib/ddllib.php only for BC withexisting code; fixed inline docs related to ddl 2008-06-15 10:32:50 +00:00
skodak
655b09ca8a MDL-15117 wiki converted and other regressions fixed 2008-06-04 21:34:14 +00:00
skodak
b9a6636029 MDL-14679 towards /admin conversion 2008-05-31 10:43:51 +00:00
skodak
ac42d5c653 MDL-14621 indicate missing modules on modules admin page 2008-04-30 13:07:58 +00:00
dongsheng
4fd532ea9d MDL-14129, creating error string 2008-04-10 02:56:25 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
skodak
8a0a6046a3 MDL-13085 delete grades and items when uninstalling module; merged from MOODLE_19_STABLE 2008-01-21 23:36:19 +00:00
skodak
0806f57068 MDL-13080 delete calendar events when uninstalling modules; merged from MOODLE_19_STABLE 2008-01-21 07:08:31 +00:00
tjhunt
dba21d4a19 Use the locale to sort the list of activites everywhere. This matches a change a made in one place before christmas. If you don't do this, the PHP sorts by ASCII order, so mixed case names, or special characters, get sorted wrongly. Merged from MOODLE_19_STABLE. 2008-01-07 16:46:35 +00:00
skodak
8293c75198 MDL-6786 Improved dropping of block and module tables during uninstall; merged from MOODLE_19_STABLE 2008-01-03 15:03:32 +00:00
skodak
220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00
stronk7
6030279805 Adding the ability to perform custom uninstall tasks in modules. MDL-12520
Merged from MOODLE_19_STABLE
2007-12-11 23:39:32 +00:00
martinlanghoff
6b6eea5575 admin/modules: Avoid calling rebuild_course_cache()
rebuild_course_cache() over all courses is extremely expensive,
not suitable for interactive calling. Better to clear modinfo
and let course/view.php repopulate it as needed.

With this patch we clear out modinfo _only_ for courses affected
by the module we show/hide/delete.
2007-09-12 02:56:50 +00:00
stronk7
6b0caaee81 Now module confguration (records from config) is deleted
when a module is deleted. MDL-11056
2007-08-29 15:14:18 +00:00
skodak
d46306de6a MDL-9848 eventslib improvements and cleanup 2007-05-22 10:26:29 +00:00
skodak
1ae083e424 MDL-9647 simplify dealing with headers/footers in admin sections 2007-04-30 17:08:34 +00:00