Commit graph

1448 commits

Author SHA1 Message Date
jerome mouneyrac
6d153e67b4 webservice MDL-18655 add new capability moodle/user:viewalldetails allowing to see all user information. This capability is set up copying the current moodle/user:update assignations 2010-11-05 06:55:43 +00:00
Dongsheng Cai
f776e221e5 MDL-24888, fixed tags itemtype in lib/db/upgrade.php 2010-11-02 03:26:10 +00:00
Petr Skoda
0ed7146b02 MDL-22584 fixed non standard space char breaking file upgrades 2010-11-01 16:00:47 +00:00
David Mudrak
f8392c810c MDL-24960 emoticon admin settings: fixed a bug in the upgrade path
I forgot to unset the $CFG->emoticon from the memory so the upgrade
process still had the old emoticons format loaded in the memory which
led to coding exception.
2010-11-01 09:35:57 +00:00
Sam Hemelryk
3b59524d31 blogs MDL-24875 Increased uniquehash field size to 255 and added a str length check to external blog syncing. 2010-10-27 05:25:00 +00:00
Petr Skoda
d217b95068 MDL-22584 detect file paths that are too long to fit into 255 char db field 2010-10-26 19:14:22 +00:00
Petr Skoda
fad1178612 MDL-24694 fixing broken upgrade once more - this step was skipped because two blocks had the same version number 2010-10-26 13:04:33 +00:00
Andrew Davis
018f4f996d message MDL-24771 moved the upgrade code 2010-10-26 08:45:51 +00:00
Andrew Davis
14a0e7ddff message MDL-24771 another big commit of messaging fixes 2010-10-26 08:00:29 +00:00
Aparup Banerjee
39e171ac93 assignment MDL-24694
- added message provider to manage assignment's messaging
- user_preferences.name length changed form 50 to 255 due to long messaging preference names.
2010-10-26 06:46:01 +00:00
Andrew Davis
a813a74843 message MDL-24771 a big commit that fixes a whole bunch of small issues with messaging 2010-10-25 09:29:34 +00:00
David Mudrak
f61b376873 MDL-24777 upgrade the emoticons settings into the new format, using the default values 2010-10-23 18:44:04 +00:00
Petr Skoda
e76ed293bb MDL-24772 fixed a theoritical problem with sites that do not have any enrollable roles with moodle/course:view, credit goes to Tim Lock 2010-10-23 10:48:25 +00:00
Andrew Davis
d3dbcf5b58 gradebook MDL-24721 new installs of Moodle 2.0 were missing the hidden column from grade_categories 2010-10-19 07:17:45 +00:00
jerome mouneyrac
daff57fb3b registration MDL-24641 get language code from the full language list codes, not from the Moodle language package code 2010-10-13 09:13:23 +00:00
Petr Skoda
96e890bbf5 MDL-24520 use different name if manager role already exists 2010-10-05 08:25:58 +00:00
Sam Hemelryk
7f38a28d41 lib-db-upgrade MDL-24490 user description now big text 2010-10-03 09:42:19 +00:00
Sam Hemelryk
20770c9f51 db-upgrade MDL-24487 Fixed incorrect parentcontext when upgrading. 2010-10-03 07:45:03 +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
582bae08ff MDL-24148 several course delete improvements and fixes:
* fixed order of deleting in course adn context
 * adding course context to event data because it is not available alter and some stuff may depend on old context id
 * adding option for context purging (keeps the context record because it might be still referenced later and it would be recreated)
 * new course enrol cleanup
 * removing content from some course fields that were referencing deleted content
 * coding style and phpdocs improvements
2010-09-19 13:09:48 +00:00
David Mudrak
0eadebb1f6 MDL-24187 mnet: fixed sso_jump_url for moodle application 2010-09-17 14:10:20 +00:00
Petr Skoda
565adcaa66 MDL-24211 fixing my previous sloppy commit 2010-09-15 16:02:14 +00:00
Petr Skoda
650462dfac MDL-24211 events subsystem cleanup and improvements
* handlers can be defined as internal or external
* external handlers are not called instantly when inside DB transaction
* code cleanup
* more robust detection of broken handlers
* refixed unit tests
* removing all pending events from 1.9 - these can not be processed due to encoding changes
* finally using real 'component' in handlers table
2010-09-15 15:55:18 +00:00
Tim Hunt
488706558f blocks upgrade MDL-22693 We also need to drop another old index, on sites that were upgraded from 1.9 2010-09-15 10:25:09 +00:00
jerome mouneyrac
56c6138029 community hub MDL-24215 change the site secret key for get_site_identifier in the registration process => increase the DB field size + change the confirmation form to the get_site_identifier TEXT format 2010-09-15 08:50:32 +00:00
Petr Skoda
4be6e404d2 MDL-24116 dropping tables that were used in old xmldb test suite, the tests will be moved to functional db tests in subsequent commits 2010-09-13 17:33:01 +00:00
Tim Hunt
39c763645e blocks upgrade MDL-22693 Forgot to change the precision of the block_instances.pagetypepattern column to 64 chars. Do it now.
You have to drop and re-create the associated index, otherwise this will not work, at least on Postgres.
2010-09-13 13:01:34 +00:00
Eloy Lafuente
7efd488e76 MDL-23437 backup - move restore:restoreactivity cap from module to course context 2010-09-05 16:58:30 +00:00
Petr Skoda
19e7a19289 NOBUG install.php cleanup + fixed recent siteguest regression + more diagnostics when creaeting users 2010-08-28 11:39:03 +00:00
Petr Skoda
d0b6f92a23 MDL-23885 flattening filepool directory structure - hopefully this will lower the number of directories but still keep a reasonable number of files in each directory on large installs; see tracker for more details 2010-08-25 21:45:34 +00:00
David Mudrak
2134a91dd5 MDL-21696 Getting rid of legacy language customization stuff 2010-08-24 23:17:19 +00:00
Dongsheng Cai
fe6ce23489 MDL-16094 File storage conversion Quiz and Questions 2010-08-10 09:56:48 +00:00
jerome mouneyrac
6bb31e404e webservice MDL-13129 add moodle_course_get_courses and moodle_course_create_courses 2010-08-06 15:22:27 +00:00
Petr Skoda
d3da2ae51b fixed typos 2010-08-04 09:45:21 +00:00
Petr Skoda
3ec8f360cf MDL-23628 removed log_display upgrade leftovers 2010-08-04 09:44:25 +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
Petr Skoda
5b4a78e281 improved docs and license headers, adding direct access protection 2010-08-03 08:07:49 +00:00
Dongsheng Cai
52082e5bd8 MDL-13766, fixed repository instance name and configplugin language string 2010-08-03 07:58:59 +00:00
Sam Hemelryk
0d6b8715cd log MDL-23604 Fixed hard coded use of CONCAT func in log_display table 2010-08-03 03:45:47 +00:00
Petr Skoda
35716b8682 MDL-22001 filter_text() and filter_string() now use context parameter instead of courseid, PAGE->context is used only as a fallback; moved comment stuff away from format_text() because it does not belong there; filterlib is not using courseid except for legacy filters; fixed coding style in filters;Êimproved php docs; fixed upgrade of filters (should be in plugins, not core) 2010-07-30 20:51:01 +00:00
Eloy Lafuente
6c4a3a8c1e MDL-22179 backup - speed up decoder access by adding new index 2010-07-27 15:16:31 +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
Martin Dougiamas
e4f413b4b3 MDL-23302 Credit to Aparup. New cap moodle/user:manageownfiles to control private user files area 2010-07-22 09:05:13 +00:00
Eloy Lafuente
8bc29d46b4 MDL-21840 backup - table for files handling on restore. Big thanks to MySQL for being so... limited? 2010-07-18 11:03:07 +00:00
Petr Skoda
3db2ddbd53 MDL-23361 fixed sloppy upgrade logic, sorry 2010-07-18 08:21:21 +00:00
David Mudrak
ac61800289 MDL-22787 Drop legacy MNet enrolment tables defined in main install.xml
The tables were used for caching of XML-RPC results only, no upgrade is
needed. The functionality of these tables is now handled by new tables
defined by mnetservice_enrol plugin.
2010-07-17 22:18:32 +00:00
Eloy Lafuente
d1c1105248 MDL-21432 backup - make itemname bigger so it can store file component/area named 2010-07-17 11:23:52 +00:00
Petr Skoda
985acc939b MDL-23204 fixed conversion of new core text formats 2010-07-16 10:21:53 +00:00