Jerome Mouneyrac
af03513f93
MDL-30268 add 'Can download files' field to service
2011-11-16 11:51:03 +08:00
Tim Hunt
da2fdc3f34
MDL-29474 update more of the admin code to use the admin renderer.
2011-10-20 11:13:35 +01:00
Petr Skoda
e922fe23b6
MDL-29602 accesslib improvements
...
Refactoring and improvements of the accesslib.php library including prevention of access for not-logged-in users when forcelogin enabled, improved context caching, OOP refactoring of contexts, fixed context loading, deduplication of role definitions in user sessions, installation improvements, decoupling of enrolment checking from capability loading, added detection of deleted and non-existent users in has_capability(), new function accesslib test, auth and enrol upgrade notes.
More details are available in tracker subtasks.
2011-10-16 14:05:18 +02: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
bd41bdd922
MDL-29029 move lang pack import to admin tools
...
Includes lang related language pack cleanup.
AMOS BEGIN
MOV [langpacks,core_admin],[pluginname,tool_langimport]
MOV [install,core_admin],[install,tool_langimport]
MOV [installedlangs,core_admin],[installedlangs,tool_langimport]
MOV [langimport,core_admin],[langimport,tool_langimport]
MOV [langimportdisabled,core_admin],[langimportdisabled,tool_langimport]
MOV [langpackinstalled,core_admin],[langpackinstalled,tool_langimport]
MOV [langpackremoved,core_admin],[langpackremoved,tool_langimport]
MOV [langpackupdateskipped,core_admin],[langpackupdateskipped,tool_langimport]
MOV [langpackuptodate,core_admin],[langpackuptodate,tool_langimport]
MOV [langupdatecomplete,core_admin],[langupdatecomplete,tool_langimport]
MOV [missinglangparent,core_admin],[missinglangparent,tool_langimport]
MOV [nolangupdateneeded,core_admin],[nolangupdateneeded,tool_langimport]
MOV [remotelangnotavailable,core_admin],[remotelangnotavailable,tool_langimport]
MOV [uninstall,core_admin],[uninstall,tool_langimport]
MOV [uninstallconfirm,core_admin],[uninstallconfirm,tool_langimport]
MOV [updatelangs,core_admin],[updatelangs,tool_langimport]
AMOS END
2011-09-17 20:58:26 +02:00
Tom Lanyon
7aa06e6ded
MDL-28701 Change all uses of $CFG->dataroot/temp to $CFG->tempdir
2011-09-10 10:35:39 +02:00
Rajesh Taneja
bb44ef990f
MDL-28580 Administration: Added sanity check to grab wrong usage of upgrade_main_savepoint
2011-08-19 07:37:48 +00:00
Jerome Mouneyrac
02ae44cf4e
MDL-27783 enabled status of a built-in service should never been updated on upgrade. It is only used during the installation. If a dev really needs to change the status, he can do it in lib/db/upgrade.php
2011-06-09 16:50:14 +08:00
Sam Hemelryk
96e0194c05
Merged branch 'MLD-27551' of git://github.com/mouneyrac/moodle.git with changes
2011-06-08 17:34:17 +08:00
Jerome Mouneyrac
c1b658832d
MDL-27551 add enable mobile feature (enable web services + mobile service - add mobile builtin service - add unique shortname for service)
2011-06-08 15:10:26 +08:00
Ruslan Kabalin
afed8d0f17
MDL-27652 messages: introduce message_update_processors
...
This function populates default message preferences for all existing providers
when the new message processor is added.
The change also includes update of message_set_default_message_preference to
make possible using it for particular message processor update.
install_populate_default_messaging_prefs() is no longer needed and depricted.
Signed-off-by: Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
2011-06-01 12:02:37 +01:00
David Mudrak
52deafc143
MDL-27317 Fixed incorrect variable names in the language pack update
...
This was introduced by copying & pasting the code during 74a4c9.
2011-05-06 23:38:02 +02:00
David Mudrak
74a4c9a9ee
MDL-26914 When installing a lang pack, install all the grandparents too
...
All places where a language pack is installed now use the new language
package installer that takes case of the parental dependencies.
2011-03-31 12:21:05 +02:00
David Mudrak
a9cbd19bff
MDL-26804 core_string_manager::get_list_of_translations() can use a cache again
...
This patch reimplements the internal cache that was used to store the
list of available translations in Moodle 1.x. By default, the method
get_list_of_translations() still uses the file
moodledata/cache/languages to store the list of available translations.
The location of that file can be redefined in config.php. The internal
format of the cache file is JSON now (used to be a plain text list).
The patch also fixes a usage of the global $CFG in translation_exists()
methods where the internal property should be used instead.
2011-03-24 21:51:30 +01:00
Petr Skoda
bb8b29715a
MDL-26219 fix borked upgrade logging and add new fileversion column
2011-02-07 20:00:20 +01:00
Petr Skoda
c1ddac83b3
MDL-26104 fix blocknameconflict component in get_string()
...
creadit goes to Howard Miller
2011-01-29 19:37:56 +01:00
Petr Skoda
3e858ea737
MDL-26035 more detection of invalid plugin dir names
2011-01-23 14:27:51 +01:00
Petr Skoda
8d33799d46
MDL-25543 fixed borked preupgrade script support
...
credit goes to Chris B Stones
2010-12-08 07:51:00 +00:00
David Mudrak
f4a2817ac5
MNet upgrade: missing required not null value
...
The column description in mnet_service table is set to not null and no
value is set for the insert_record(). We must explicitly provide the
empty string if the description is not defined in db/mnet.php file.
2010-11-10 16:01:23 +00:00
Petr Skoda
f6f06d6919
MDL-22878 fixed incorrect install flag name, patch by John Beedell
2010-10-26 14:37:23 +00:00
Petr Skoda
41209c1e0f
MDL-24751 upgrades may need more memory
2010-10-19 10:17:48 +00:00
Petr Skoda
6bdfef5da9
MDL-24321 switching to standard stdClass()
2010-09-21 08:54:01 +00:00
Petr Skoda
365a594107
MDL-24321 switching to stdClass in /lib/
2010-09-21 08:07:44 +00:00
Petr Skoda
f7e17018f9
MDL-24302 removing multiple field from block table in install.xml - it was already removed in upgrade once
2010-09-20 19:13:07 +00:00
Petr Skoda
17b7171655
initialised variables
2010-09-17 08:15:17 +00:00
Petr Skoda
96e1fdf426
missing global preventing full debug during upgrade as was planned
2010-09-17 08:14:29 +00:00
Petr Skoda
ef14c1e724
MDL-24090 new detection of plugins that were not upgraded to work with Moodle 2.x (uses $plugin->requires) + bumping ancient versions of plugins
2010-09-05 20:36:18 +00:00
Petr Skoda
d32fb55027
MDL-24090 fixed package info and added proper dates and authors in class copyrights
2010-09-05 20:15:41 +00:00
Petr Skoda
c6d75bffa5
MDL-23628 improved log action support - now similar to handling of capabilities
2010-08-03 10:07:18 +00:00
David Mudrak
63891a7cae
MDL-23200 Upgrade does not download uninstalled lang pack even if it remains set in admin's SESSION
2010-07-29 09:38:08 +00:00
Petr Skoda
78bfb562a0
MDL-21249 improved php docs and adding direct access prevention in core libs
2010-07-25 13:35:05 +00:00
jerome mouneyrac
72f68b51e6
webservice MDL-23341 add required capabilities to the service function declaration (lib/services.php), display missing capaibilities for users linked to a token and for authorised users, display function capabilities, refactor service add function page
2010-07-23 06:17:06 +00:00
David Mudrak
d5bd0b0169
MDL-22787 MNet: implementation of enrol_mnet server-side service methods
2010-07-17 22:29:28 +00:00
Petr Skoda
f87eab7e71
MDL-23167 basic "purge all caches" button
2010-07-13 15:09:44 +00:00
Petr Skoda
63bfc7d6c0
resetting more filters in each upgrade
2010-07-06 17:20:43 +00:00
Petr Skoda
2e5eba8560
MDL-19776 make sure contexts are fully initialised after each core upgrade, it is relatively cheap, so it should not cause any problems
2010-07-06 17:14:36 +00:00
Petr Skoda
8571833f0b
MDL-23069 moving version and cron info into standard version.php - finally, yay!
2010-07-04 12:18:22 +00:00
Petr Skoda
df997f841f
MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
...
AMOS START
MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
MOV [enrolenddate,core],[enrolenddate,enrol_self]
CPY [welcometocourse,core],[welcometocourse,enrol_self]
CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
MOV [notenrollable,core],[notenrollable,core_enrol]
MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
MOV [coursemanager,core_admin],[coursecontact,core_admin]
MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
MOV [enrolme,core],[enrolme,core_enrol]
MOV [unenrol,core],[unenrol,core_enrol]
MOV [unenrolme,core],[unenrolme,core_enrol]
MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
MOV [enrolments,core],[enrolments,core_enrol]
MOV [enrolperiod,core],[enrolperiod,core_enrol]
MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +00:00
Martin Dougiamas
dcf9be7f56
MDL-22622 Reset caches before and after the core upgrade. Seems to fix the problems we were having.
2010-05-31 05:34:16 +00:00
David Mudrak
af8d4d9128
MDL-18797 current language pack updated during upgrade
...
Also fixes langimport.php to use the new function to get parent language
of a given language.
2010-05-26 00:29:33 +00:00
Petr Skoda
b921b6eeba
some comment typos
2010-05-22 20:24:28 +00:00
David Mudrak
9b3af74c35
MDL-22015 clear string_manager caches on upgrade
2010-05-16 19:37:19 +00:00
Petr Skoda
3a915b0667
MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs
2010-04-10 07:24:56 +00:00
Petr Skoda
f46eba7e7d
MDL-19917 it is now possible to recover installation when it stops on some blocks trouble
2010-04-06 19:52:45 +00:00
Petr Skoda
4f0c2d0009
MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too
2010-03-31 07:41:31 +00:00
Petr Skoda
81634f036d
MDL-21993 somebody needs to fix the chicken-egg mnet problem during install/upgrade
2010-03-30 19:51:34 +00:00
Andrew Davis
67e4713ca7
rating MDL-21657 changes based on Petr's feedback
2010-03-22 02:59:06 +00:00
Andrew Davis
d2086d65db
rating MDL-21657 shifted upgrade_module_ratings()
2010-03-19 08:54:20 +00:00
Penny Leach
677b6321af
mnet MDL-21098 fixed quite a few issues in the mnet installer and testclient. Rebumped all plugin versions that use mnet to get the services reinstalled
2010-02-18 04:55:34 +00:00
Petr Skoda
0139ec3fe6
MDL-21400 finally, gzip for JS files and proper caching - without admin UI for now (off by default)
2010-02-07 12:50:53 +00:00