1125 Commits

Author SHA1 Message Date
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
Petr Skoda
f5d7298dc0 MDL-23204 fixed course section format upgrade 2010-07-16 09:37:01 +00:00
Martin Dougiamas
ad0ae2610f MDL-23187 Generic ratings and comments permissions now appear on course pages, AND are added to authenticated user role. You need these PLUS specific module permissions to actually be able to do any ratings/comments, so it makes sense to show them. Not happy about usability of needing two permissions to switch it on but it does give a lot of extra control. 2010-07-16 07:47:23 +00:00
Petr Skoda
2eeade8174 unset old htmleditor just once 2010-07-16 07:13:52 +00:00
David Mudrak
2a27240585 NOMDL Do not try to rename the moodledata/lang if it does not exist 2010-07-15 12:45:55 +00:00
Petr Skoda
2a6dcb72a2 MDL-23237 new timecreated field in user_emrolments and adding timestart to enrol plugins that know it 2010-07-13 20:58:17 +00:00
Petr Skoda
e88dd87685 MDL-23202 group icons now stored in file storage pool 2010-07-11 13:07:24 +00:00
Petr Skoda
c7744f122d MDL-14589 remove old user icons after upgrade 2010-07-11 11:44:00 +00:00
Petr Skoda
edfd6a5e73 MDL-14589 user icons now stored in file storage pool 2010-07-11 11:43:15 +00:00
Petr Skoda
a919ae896b MDL-22800 stats code using new enrol tables, I did not test it much because I do not have any test data :-( 2010-07-10 14:45:07 +00:00
Petr Skoda
20e5da7d91 MDL-19211 back to the old text format preferences logic + minor refactoring and improvements 2010-07-10 12:12:59 +00:00
Petr Skoda
6693bd8494 whitespace fix 2010-07-10 10:52:29 +00:00
Petr Skoda
d0942f6d3a MDL-19211 reverting to old style editor preferences, the actual code that uses the prefs will be in next commit; fixed version 2010-07-10 10:52:06 +00:00
Petr Skoda
c3ed4a5ab9 MDL-19211 reverting to old style editor preferences, the actual code that uses the prefs will be in next commit 2010-07-10 10:50:51 +00:00
Dan Marsden
c5c0d2ff98 Increase length of City field MDL-19629 - Taumata­whakatangihanga­koauau­o­tamatea­turi­pukakapiki­maunga­horo­nuku­pokai­whenua­kitanatahu doesn't actually fit in 100 chars - we need 105 - increasing further to 120 2010-07-08 11:15:49 +00:00
Dan Marsden
ba0c097216 Increase length of City field MDL-19629 - longest place name in NZ is Taumata­whakatangihanga­koauau­o­tamatea­turi­pukakapiki­maunga­horo­nuku­pokai­whenua­kitanatahu which doesn't fit in 20 chars, I figure 100 chars should be enough 2010-07-08 07:55:20 +00:00
Martin Dougiamas
9645a4843a MDL-16203 Updated the mod_created, mod_updated and mod_deleted events to be more generic and easier to handle 2010-07-08 02:27:58 +00:00
Petr Skoda
018187da22 fixed borked insatll.xml, thanks Dan Marsden! 2010-07-07 08:50:32 +00:00
Petr Skoda
be7edd27b6 MDL-23106 there is no CFG->style and CFG->template - removing them 2010-07-06 17:36:34 +00:00
Petr Skoda
c0002023b1 comment typo 2010-07-06 17:31:16 +00:00
Petr Skoda
936a54ca05 MDL-23106 removing unused ratings upgrade code 2010-07-06 17:29:55 +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
79adebe9a4 fixed typo 2010-07-06 17:00:37 +00:00
Petr Skoda
c1312d890e MDL-23106 no need for reverting of standardold theme any more 2010-07-06 16:59:34 +00:00