31 Commits

Author SHA1 Message Date
Charles YVANES
458453cee0 MDL-29895 core: removed require_login() when not needed 2018-09-10 11:22:50 +02:00
Russell Smith
1fcf0ca8a5 MDL-35628 performance: Remove dirname() where possible.
dirname() is a slow function compared with __DIR__ and using
'/../'.  Moodle has a large number of legacy files that are included
each time a page loads and is not able to use an autoloader as it is
functional code.  This allows those required includes to perform as
best as possible in this situation.
2016-06-10 08:06:49 +10: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
Frederic Massart
ac5fc59534 MDL-37852 repository: Admins can't access user instances settings 2013-03-07 16:37:43 +08:00
Dan Poltawski
d1546151e3 MDL-33511 admin/repositoryinstance.php: incorrect url 2012-06-04 15:26:21 +08:00
Dan Poltawski
49957d3858 MDL-28666 admin/repository: use PARAM_BOOL for booleans. 2012-05-21 18:21:25 +08:00
Petr Skoda
9bd553b7b8 MDL-33015 fix invalid PAGE->url in repo instance config pages
Conflicts:

	admin/repositoryinstance.php
2012-05-21 11:57:55 +08:00
Dongsheng Cai
6723372514 MDL-28666 Extends repository to support references
1. Allow repository to create references to external contents
2. Extends files API to handle file references
3. Generic file caching
4. Backup/restore file references
5. Download external contents if repository uninstalled
6. Allow filepicker to display iframe
7. PHPUnit test suits
2012-05-21 11:57:51 +08: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
Eloy Lafuente (stronk7)
5973f0b53d MDL-26677 repositories - clean one debugging var_dump() 2011-06-23 02:04:30 +02:00
Dongsheng Cai
d55846d8bd MDL-26677 fixed undefined index usewatermarks in flickr plugin 2011-06-17 12:11:54 +08:00
Martin Dougiamas
7969834463 admin/repository MDL-15402 Checking in code from Mark Nelson @ Pukunui.com.au. Thanks, Mark and Shane! This patch updates the repository admin interface to look more like Filters management 2010-04-30 08:03:32 +00:00
Martin Dougiamas
eb0614be7a Removing a get_string that wasn't needed 2010-04-27 06:49:19 +00:00
Petr Skoda
fe9d7318b5 MDL-22054 fixed missing strings and some really annoying redirects 2010-04-11 09:41:25 +00:00
Petr Skoda
61ef8f9f88 MDL-20204 removing deprecated admin headers 2010-03-31 08:05:53 +00:00
Dongsheng Cai
7c5c69d6dc "MDL-13766, improve repository admin page" 2010-03-10 03:24:14 +00:00
Petr Skoda
24eb994795 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 11:14:50 +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
jerome
bff522352e repository MDL-15402 replace print_simple_box function call by new OUTPUT function 2009-08-14 08:08:01 +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
dongsheng
93e9aa2792 "MDL-18520, file system, supported choose a subdirectory" 2009-06-30 09:10:42 +00:00
dongsheng
a3d8df257b "MDL-13766, repository api, fixed typeid value" 2009-06-04 06:40:35 +00:00
skodak
d1aa1e4855 MDL-17758 fixed hardcoded /admin/ links 2009-01-01 14:25:29 +00:00
nicolasconnault
dbc0194458 MDL_13766 Refactoring of core repository code and added first unit tests 2008-11-26 07:03:10 +00:00
jerome
1e97f196a4 MDL-15402: when an instance is reaonly, the administrator cannot delete it but should be able to modify the name (only) 2008-09-19 06:43:06 +00:00
jerome
948c286025 MDL-15402: implement readonly repository instances (support flickr_public) 2008-09-16 09:08:36 +00:00
jerome
faaa613d99 MDL-15404: fix few bugs in repository administration, add a beta version of the course repository list 2008-09-05 06:30:18 +00:00
jerome
0d0999141b MDL-15402: fix some admin menu titles for repository 2008-09-04 07:36:53 +00:00
jerome
a660039578 MDL-15402: new version of repository administration 2008-09-02 08:58:53 +00:00