11193 Commits

Author SHA1 Message Date
Sam Hemelryk
1e4cb18940 lib-modinfolib MDL-26264 cm_info and course_modinfo classes both now extend stdClass 2011-02-04 16:22:57 +08:00
Petr Skoda
e27b5b6b29 Merge branch 'MDL-26237' of git://github.com/stronk7/moodle 2011-02-02 13:49:16 +01:00
Eloy Lafuente (stronk7)
bd654f0ced MDL-26237 code coverage - prevent execution of not used stuff 2011-02-02 11:21:01 +01:00
Petr Skoda
5a6094137d MDL-25942 fix another Oracle compatibility issue 2011-02-02 09:59:56 +01:00
Petr Skoda
46df3c6059 Merge branch 'MDL-25981' 2011-01-31 22:44:17 +01:00
Petr Skoda
4714815123 MDL-25981 fix inverted instanceof in require_login 2011-01-31 22:35:17 +01:00
Petr Skoda
d6f4508c36 MDL-25981 add missing global DB when fetching course modinfo 2011-01-31 22:23:34 +01:00
Petr Skoda
d4fb0e26e2 MDL-25981 make sure cm is defined 2011-01-31 22:19:36 +01:00
Petr Skoda
b6f3e4f8f0 Merge branch 'MDL-26098' of git://github.com/timhunt/moodle 2011-01-31 19:25:41 +01:00
Eloy Lafuente (stronk7)
e030faee3e Take out debugging & merge branch 'w05_MDL-26198_20_completion' of git://github.com/skodak/moodle 2011-01-31 17:43:22 +01:00
Eloy Lafuente (stronk7)
d98c661428 Merge branch 'w05_MDL-26104_20_blockconflick' of git://github.com/skodak/moodle 2011-01-31 16:02:51 +01:00
Eloy Lafuente (stronk7)
e89a57dc10 Fixed conflicts & merge branch 'MDL-17201_index' of git://github.com/andyjdavis/moodle 2011-01-31 15:34:40 +01:00
Eloy Lafuente (stronk7)
9700d6835d Merge branch 'w05_MDL-26172_20_groupupgrade' of git://github.com/skodak/moodle 2011-01-31 15:17:33 +01:00
Petr Skoda
8afc38bd39 Merge branch 'MDL-25708' of git://github.com/stronk7/moodle 2011-01-31 14:21:53 +01:00
Eloy Lafuente (stronk7)
43bbf28849 Merge branch 'w05_MDL-26182_20_nginx' of git://github.com/skodak/moodle 2011-01-31 12:33:16 +01:00
Petr Skoda
cb3c4b448e Merge branch 'MDL-25942' of git://github.com/stronk7/moodle 2011-01-31 09:38:51 +01:00
Sam Hemelryk
d44d6448db Merge branch 'w05_MDL-26069_20_filecheck' of git://github.com/skodak/moodle 2011-01-31 16:28:28 +08:00
Petr Skoda
ff03c5b6b5 MDL-26198 make user_has_role_assignment() check parent contexts too 2011-01-30 21:49:22 +01:00
Eloy Lafuente (stronk7)
62d3738246 MDL-25942 upgrade - fix use of reserved word in binding 2011-01-30 19:59:13 +01:00
Petr Skoda
28ec73dc5b MDL-26182 add detection of misconfigured nginx server 2011-01-30 11:38:16 +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
73af286bc8 MDL-26172 skip invalid group records during upgrade 2011-01-29 19:20:34 +01:00
Petr Skoda
893fe4b6b2 MDL-26069 detect missing file postprocessing 2011-01-29 17:50:12 +01:00
Tim Hunt
3708abd0f2 javascript MDL-26098 make the review this question in a previous state popup work. 2011-01-29 13:59:51 +00:00
Tim Hunt
1db6b9b886 javascript MDL-26098 close_window and close_window_reloading_opener were both broken. 2011-01-29 13:55:47 +00:00
Sam Hemelryk
7e90d3a450 navigation MDL-25291 Added a session variable so that admin tree is skipped if it is found to be empty. 2011-01-27 15:54:11 +08:00
sam marshall
0d8b6a69ce lib MDL-25981 Improved modinfo
This commit:
a) moves modinfo code into new library modinfolib.php
b) uses classes instead of stdClass objects, allowing a huge amount of documentation (and IDE completion)
c) adds hooks so that plugins other than forum can display messages like forum's 'unread', and plugins other than label can display html (apart from/as well as their view.php link) on the course view page
d) removes current hacks for forum and label (mainly in print_section but also across the code), replacing with new 'content' and similar variables [this is the reason for the changes in blocks, etc]
e) reduces size of modinfo in database (only when rebuilt) by excluding empty fields

The change is intended to be backward compatible and does not affect the format of modinfo in database.
2011-01-26 10:29:16 +00:00
Sam Hemelryk
ac36bda238 PULL-157, MDL-26116 Fixed merge conflicts 2011-01-25 12:18:05 +08:00
andyjdavis
0d92d04f2e profiles MDL-17201 added an index on the table user_info_data 2011-01-25 11:58:35 +08:00
Dongsheng Cai
b1db1b6e8a MDL-26116, added default value to tag_instance.tiuserid field 2011-01-25 11:24:03 +08:00
Eloy Lafuente (stronk7)
29650825ad PULL-99, MDL-25929 progresstrackedroles out. Fixed conflicts and whitespace 2011-01-24 11:55:57 +01:00
Eloy Lafuente (stronk7)
a81d26ac36 NOBUG: Fix whitespace 2011-01-24 11:43:59 +01:00
Eloy Lafuente (stronk7)
21c91e2e11 Merge branch 'wip-MDL-26044' of git://github.com/sammarshallou/moodle 2011-01-24 10:48:08 +01:00
Sam Hemelryk
c9b2e8bf61 Merge branch 'w04_MDL-26035_20_installtest' of git://github.com/skodak/moodle 2011-01-24 15:05:55 +08:00
Petr Skoda
99d19c13ae MDL-25855 some more missing filelib includes 2011-01-23 18:34:41 +01:00
Petr Skoda
3e858ea737 MDL-26035 more detection of invalid plugin dir names 2011-01-23 14:27:51 +01:00
Eloy Lafuente (stronk7)
1b42e67747 MDL-25708 recordsets - fix lib/grade/xxx stuff 2011-01-25 19:59:00 +01:00
Eloy Lafuente (stronk7)
be981316f4 MDL-25708 recordsets - fix file_storage 2011-01-25 19:59:00 +01:00
Eloy Lafuente (stronk7)
5a4a7b425b MDL-25708 recordsets - fix upgradelib and dml stuff 2011-01-25 19:59:00 +01:00
Eloy Lafuente (stronk7)
419178d713 MDL-25708 recordsets - fix completion 2011-01-25 19:59:00 +01:00
Eloy Lafuente (stronk7)
b967c54185 MDL-25708 recordsets - fix events/grade/group/moodle libs 2011-01-25 19:58:59 +01:00
Eloy Lafuente (stronk7)
afa559e9bc MDL-25708 recordsets - fix accesslib and datalib uses 2011-01-25 19:58:59 +01:00
sam marshall
89b4ffe617 completion MDL-25929 Added upgrade change to remove unused setting 2011-01-18 12:55:58 +00:00
sam marshall
27d6ab5712 lib MDL-26044 Optimise moodle_url based on profiler data 2011-01-18 12:39:51 +00:00
Sam Hemelryk
13738840b2 Merge branch 'MDL-26031_20_wip_guestsession' of git://github.com/skodak/moodle 2011-01-18 15:40:50 +08:00
Sam Hemelryk
07d4c7ac6e Merge branch 'MDL-26007_20_wip_enverror' of git://github.com/skodak/moodle 2011-01-18 15:34:43 +08:00
Sam Hemelryk
dcad74e406 Merge branch 'MDL-25910_20_wip_mysqlsocket' of git://github.com/skodak/moodle 2011-01-18 14:18:24 +08:00
Sam Hemelryk
e5654cad1e Merge branch 'MDL-25754_20_wip' of git://github.com/skodak/moodle 2011-01-18 13:47:31 +08:00
Petr Skoda
e565c9baf7 Merge branch 'MDL-25789' of git://github.com/samhemelryk/moodle 2011-01-17 21:22:43 +01:00
Petr Skoda
696a6ee12f Merge branch 'MDL-25790' of git://github.com/samhemelryk/moodle 2011-01-17 21:13:07 +01:00