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
Petr Skoda
5cfe8aecb8
Merge branch 'MDL-25672' of git://github.com/samhemelryk/moodle
2011-01-17 20:45:53 +01:00
Petr Skoda
c6947dd878
Merge branch 'MDL-26029' of git://github.com/timhunt/moodle
2011-01-17 20:20:43 +01:00
Petr Skoda
673a8f7781
MDL-26031 purge timed-out sessions of guest user
2011-01-17 18:25:00 +01:00
Tim Hunt
c32256af45
MDL-20636 unit tests MDL-26029 fix notices from CheckSpecifie
...
dFieldsExpectation.
2011-01-17 16:30:09 +00:00
Tim Hunt
897fee6b6f
unit tests MDL-26029 fix notices from CheckSpecifiedFieldsExpectation.
2011-01-17 16:19:26 +00:00
Sam Hemelryk
9498654c1d
Merge branch 'MDL-17884_m20' of git://github.com/rwijaya/moodle
2011-01-17 16:00:20 +08:00
Sam Hemelryk
83be8fce3a
Merge branch 'MDL-25973_20_wip_charset' of git://github.com/skodak/moodle
2011-01-17 15:24:01 +08:00
Sam Hemelryk
c4592a2ac0
Merge branch 'MDL-25971' of git://github.com/timhunt/moodle
2011-01-17 15:12:18 +08:00
Sam Hemelryk
616e81cee9
Merge branch 'MDL-25962_20_wip_removeyui' of git://github.com/skodak/moodle
2011-01-17 13:17:04 +08:00
Sam Hemelryk
bec662a0f6
Merge branch 'MDL-25837_wip' of git://github.com/skodak/moodle
2011-01-17 11:35:06 +08:00
Sam Hemelryk
227d6da5d8
Merge branch 'MDL-25907_wip'
2011-01-17 10:53:24 +08:00
Sam Hemelryk
3b15d04013
sessions MDL-25907 Fixed typo prior to integration
2011-01-17 10:48:00 +08:00
Sam Hemelryk
0f13630691
Merge branch 'MDL-25836_wip' of git://github.com/skodak/moodle
2011-01-17 10:17:40 +08:00
Sam Hemelryk
c5ea8d0bcc
Merge branch 'MDL-25935-user_picture_fields' of git://github.com/mudrd8mz/moodle
2011-01-17 09:35:34 +08:00
Petr Skoda
5f01417372
MDL-26007 fix error message when can not found env data
2011-01-16 20:47:22 +01:00
Petr Skoda
3c1293fe97
MDL-25910 custom socket location for postgresql driver, improved config-dist.php info
2011-01-14 12:11:49 +01:00
Petr Skoda
79ac5a8cf2
MDL-25910 add support for custom mysql socket location
2011-01-14 10:20:04 +01:00
Petr Skoda
8a7703ce53
MDL-25973 add missing charset
2011-01-14 09:32:17 +01:00
Sam Hemelryk
6d02316093
lib-db MDL-25790 Added missing rating indexs on existing 2.0 sites
2011-01-14 16:19:12 +08:00
Sam Hemelryk
ffec817ed3
lib-db MDL-25789 Corrected discrepancies in old upgrade code and install.xml
2011-01-14 15:36:59 +08:00
Sam Hemelryk
15257dd181
lib-db MDL-25790 Added code to drop adodb_logsql if it exists
2011-01-14 15:26:48 +08:00
Rossiani Wijaya
2d572444e1
MDL-17884: Add test_download_file_content and componentlib to unittest. Credit goes to Tomasz Muras
2011-01-14 14:52:24 +08:00
Sam Hemelryk
43c984578a
lib-db MDL-25790 Fixed up version numbers now that 2.0.1 has been released
2011-01-14 14:22:46 +08:00
Sam Hemelryk
39f0ceb2cb
lib-db MDL-25790 Added conditional checks around upgrade code so that it is only executed if needed. See MDL-25789
2011-01-14 11:52:52 +08:00
Sam Hemelryk
2bddef731a
lib-db MDL-25790 Added upgrade code to fix database discrepancies between a fresh install and an upgrade
2011-01-14 11:52:52 +08:00
Sam Hemelryk
5dd7e903ff
lib-db-access MDL-25672 editingteacher can no longer delete courses by default.
2011-01-14 10:23:37 +08:00