Commit graph

694 commits

Author SHA1 Message Date
stronk7
28271c7205 Second pass. Some more default comments are out. MDL-11385 2007-09-24 22:10:13 +00:00
skodak
535c0080c3 MDL-10781 reimplemented tags upgrade code: uses recordsets; no calls to tag/lib.php functions - those would break if we changed db structure; no ordering in blog tags - we did not respect the tag order before, this way it is much faster 2007-09-24 19:18:48 +00:00
stronk7
7529139a8d First pass. Deleting some default comments. MDL-11385 2007-09-24 19:08:00 +00:00
ikawhero
540286f1f2 Fixing typo. 2007-09-24 03:02:16 +00:00
skodak
3f2b0c8aba MDL-11363 merged tables grade_grades with grade_grades_text - it is now possible to define fields as required and optional
finally fixed formula validation in calculation edit form
2007-09-22 11:39:59 +00:00
stronk7
d5d2f8a6f0 Adding the new context_temp permanet table to be used
by build_context_path() . MDL-11347
2007-09-21 08:48:51 +00:00
moodler
0b9dcf3df4 Bumping the date and the context path upgrade in case anyone was stuck from yesterday MDL-11347 2007-09-20 06:47:14 +00:00
martinlanghoff
dd14fecfa4 accesslib upgrade: remove stray build_context_rel(), force path rebuild
Fixes problems during upgrades from 1.7x/1.8.x to mdl19-perf.
2007-09-19 07:53:00 +00:00
martinlanghoff
c24f4599c3 accesslib rework: Upgrade block to populate context.path and friends
Note: this upgrade changes how accesslib works.
2007-09-19 07:42:42 +00:00
martinlanghoff
5f38222405 accesslib: remove insert_context_rel(), build_context_rel() and others
The context_rel table is not used anymore. Get rid of all references
to it.

TODO: Drop the orphaned table - but we'll do that on HEAD.
2007-09-19 07:23:15 +00:00
nicolasconnault
e480c18cf1 MDL-11312 Added new grade_letters table, and new grade_items.display field. 2007-09-18 14:26:15 +00:00
nicolasconnault
a5b8be622c MDL-11275 added (submissions). Also fixed :
Issue:
    Teachers can edit grader report preferences (including switches for quickgrading and
    quickfeedback), but do not have access to the "Turn editing on/off" button, so they
    can't do quickgrading.
Solutions:
    1.Decouple the quickgrading and quickfeedback modes from the editing mode,
        and turn them on/off through the preferences page. New capability: moodle/grade:edit
        * preferences: don't show quickgrading if no capability grade:edit
        * If quickgrading is switched off as a preference and user doesn't have manage cap, show edit icons around grades when in editing mode
2007-09-17 17:31:48 +00:00
stronk7
4a039315d7 Dropping one UNIQUE index over NULLable columns. It isn't
cross-db at all. So we make the composite index not unique
to get speed benefits but the unique constraint is
controlled programatically.
2007-09-06 18:31:13 +00:00
skodak
c2efb50142 MDL-11130 added aggregation inside all subcategories + added graded/all aggregation option 2007-09-05 19:15:21 +00:00
moodler
d61d8c09ce Removed hardcoded string 'course grades category' 2007-09-05 09:17:19 +00:00
stronk7
6db368e117 PostgreSQL doesn't like aliases in update statements.
Changing to the whole name as prefix.
2007-09-04 17:51:51 +00:00
stronk7
abd3025272 Fix a bunch of SIGNED fileds that should be UNSIGNED. Credit goes to Petr.
Part of MDL-11038
2007-08-31 19:27:04 +00:00
skodak
f4d30b222b MDL-11082 Improved groups upgrade performance 1.8x -> 1.9; thanks Eloy for telling me how to do it correctly with SQL ;-) 2007-08-31 12:43:15 +00:00
stronk7
4149e289b6 Fix mnet_hosts->applicationid (from 1 to 10). MDL-11042 2007-08-28 18:27:00 +00:00
skodak
61c6071f40 MDL-10984 support for user private keys when accession scripts without normal sessions 2007-08-28 08:29:40 +00:00
toyomoyo
c4956945c1 MDL-11016, MDL-11015 improvements to the tag, tag_instance and tag_correlation tables 2007-08-28 04:11:58 +00:00
toyomoyo
0e80ffb293 dropping tables in xml 2007-08-27 09:14:19 +00:00
toyomoyo
bd1f4559f7 MDL-10956, convert blogs to use the same tags (and convert old tags) 2007-08-27 08:46:00 +00:00
toyomoyo
a4232e9500 adding timemodified to tag_instance table (to get blog blocks working) 2007-08-27 04:21:59 +00:00
toyomoyo
3e6e529fa4 MDL-10911, setting tag:create and tag:edit to allow for user role and admin role 2007-08-24 05:39:37 +00:00
moodler
1acd661d07 Committing Luiz's code for MDL-10968 to add ordering for the tags 2007-08-24 03:20:12 +00:00
poltawski
25a7d98066 MDL-10573 - moodle/block:view wasn't working with switch roles or block_list class 2007-08-22 10:35:28 +00:00
toyomoyo
0f07c40e01 MDL-10911, setting moodle/tag:create to allow as default for the authenticated user role 2007-08-22 03:27:57 +00:00
skodak
2524b0f24c MDL-10383 - major groups patch - see bug i ntracker for more details - authors: Nick, Matt, Enrique and me 2007-08-14 00:50:00 +00:00
poltawski
7e874772a3 MDL-10573 - Added a capability for viewing blocks, this allows role-based control of block
display.

Changed context capability check so that CONTEXT_BLOCK capabilities can also come from the
moodle core capability definitions
2007-08-13 10:08:15 +00:00
toyomoyo
f37cc4bb35 MDL-10817, adding unique key courseid-coutcomeid during creation of grade_outcomes_courses 2007-08-13 02:11:59 +00:00
luizlaydner
98b5789d43 - added tag:editblocks capability 2007-08-11 03:25:23 +00:00
stronk7
efd261ce5b XMLDB_TYPE_CHAR + XMLDB_NOTNULL must not have any default applied. 2007-08-11 00:55:21 +00:00
jamiesensei
ddaff15dfc removing TODO type comment that was already done. 2007-08-10 07:58:48 +00:00
jamiesensei
271e6decda merging MOODLE_19_QUESTIONS with HEAD 2007-08-09 21:51:09 +00:00
skodak
6c9f672529 MDL-10757 adding some more table indexes for grades code 2007-08-09 12:29:05 +00:00
skodak
90274c7329 MDL-10757 adding some more table indexes for grades code 2007-08-09 12:07:16 +00:00
skodak
173403cf4f MDL-10757 adding table indexes needed in grade cron 2007-08-09 11:11:56 +00:00
skodak
45d670f7ab adding forgotten aggregateoutcomes changes 2007-08-09 07:34:56 +00:00
martinlanghoff
c7c57cfbf2 Add context.path and context.depth fields for accesslib optimisation 2007-08-09 06:14:21 +00:00
stronk7
341426f0ac Changing course->shortname to 100c under all DBs. Part of MDL-10026 2007-08-08 09:06:09 +00:00
skodak
29d509f59a MDL-10109 optional aggregation of outcomes together with grades 2007-08-06 12:05:45 +00:00
skodak
f615fbaba0 MDL-10711 adding deleting of grade data when deleting module or course 2007-08-03 19:25:22 +00:00
moodler
1a85d89a0b Fixed index upgrade 2007-08-02 14:25:58 +00:00
moodler
32ef914951 Recreate index as unique 2007-08-02 14:20:37 +00:00
skodak
8942ac90ff MDL-10105 fixed cm idnumber in gradebook upgrade 2007-08-02 11:22:13 +00:00
toyomoyo
c345bb584a MDL-10679, improvement to context_rel table and load_user_capability 2007-08-02 08:28:29 +00:00
moodler
9610a4fae3 Added new settings supportname and supportemail MDL-10529 Admin is no longer to be used as main contact 2007-08-01 08:05:55 +00:00
toyomoyo
1f496dedfe enforcing unique constraint on (courseid, shortname) pair on outcomes 2007-08-01 03:17:00 +00:00
skodak
678a79caa5 adding grade_outcomes description;
fixing field lengths in outcome and scale forms
2007-07-31 21:10:20 +00:00