mjollnir_
29bbc6e730
As well as a credit to Nigel for the stats schema upgrade and data migration, the previous commit here should have had a HUGE credit to Geoff Cant <geoff@catalyst.net.nz> for NINJA SQL
2006-09-22 03:15:52 +00:00
vyshane
73ebd5e23a
Removed mod/wiki:view
2006-09-22 03:14:08 +00:00
vyshane
af94faf492
Removed mod/scorm:view
2006-09-22 03:07:29 +00:00
vyshane
b1e06f5fa0
Removed mod/resource:view
2006-09-22 03:05:46 +00:00
vyshane
94bcea7983
Removed mod/lesson:view
2006-09-22 02:58:39 +00:00
mjollnir_
e5d83d6fc1
stats rework: 1. upgrade schema and move data to new schema. (credit: Nigel McNie <nigel@catalyst.net.nz>). 2. Stats processing uses new schema. THIS NEEDS TESTING ON MYSQL. Still to do: schema files (install.xml,*.sql still to be committed), reports to use new schema.
2006-09-22 02:54:21 +00:00
vyshane
7949f21b5f
Removed 'mod/glossary:view' capability
2006-09-22 02:52:48 +00:00
moodler
2eb662d261
A real easter egg ;-)
2006-09-22 02:28:13 +00:00
toyomoyo
ef61c5f964
fixed a bug, override in user should not record userid as a capability
2006-09-22 02:17:59 +00:00
moodler
35cf8b7938
Some easter eggs :-)
2006-09-22 02:11:00 +00:00
toyomoyo
c58adde069
fixing bogus function calls
2006-09-22 01:49:23 +00:00
toyomoyo
5b5781f4f5
some new functions to help backuo
2006-09-22 01:46:45 +00:00
toyomoyo
ab1e2556ba
code to support roles (roleassignments and roleoverrides) for backup in all 4 roles course, mod, block, userid contexts. not working yet
2006-09-22 01:35:35 +00:00
moodler
ac4c51bef5
Make it easier to get out of a switched role in case viewing is not allowed
2006-09-22 01:29:11 +00:00
mits
e8928a65fd
Changed breadcrumb and blog tag color.
2006-09-22 01:23:49 +00:00
moodler
988ad08450
Use role sortorder when getting role lists
2006-09-22 01:21:01 +00:00
skodak
0c88b9acf7
improved coding style
2006-09-21 23:15:45 +00:00
skodak
f3245d0952
improved coding style
2006-09-21 23:08:58 +00:00
skodak
fa1fbbdc40
minor allignment change in role list
2006-09-21 23:00:48 +00:00
stronk7
cac97946d6
adjusting breadcrumb separator...
2006-09-21 23:00:45 +00:00
skodak
b5959f3071
partial rewrite of role manage script, improved notice_yesno(), other minor fixes and changes; I will work on assign and overide tomorrow ;-)
2006-09-21 22:34:45 +00:00
cap2501
e78a3505c5
MDL-6544
...
resolved issue by passing strings into new main.portal.strings for delocalization.
2006-09-21 18:38:54 +00:00
stronk7
94e65cc36c
Now all the insert_record() and update_record() calls under
...
Oracle DB use the oracle_dirty_hack() function to transform
empty strings into something different ' ' in order to avoid
the problems with the empty=NULL stupid norm of Oracle.
With this change, Oracle installation works completely.
Now we need to implement everywhere the opposite hack: transforming
all those ' ' (1 whitespace) back to the '' (empty string). Working
on it now.
2006-09-21 18:30:50 +00:00
stronk7
85f101fa26
SQL ANDs mus be, always, "AND" :-P
2006-09-21 17:18:56 +00:00
moodler
669d3ecd7c
Some fixes to move Javascript files to PHP script, so that we can
...
tweak the contents better.
This was supposed to fix MDL-6544 but it didn't work. Checking it in
because it will help a fix later.
2006-09-21 17:17:00 +00:00
stronk7
d7d05cf2f3
SQL ORs must be, always, "OR"
2006-09-21 17:09:28 +00:00
stronk7
7f5f956cf5
Allow to specify NULL clauses for some generators, mainly because
...
some mssql drivers use to create everything as NOT NULL by default.
2006-09-21 17:04:28 +00:00
moodler
f098f122ca
New string , used in registering
2006-09-21 16:49:15 +00:00
moodler
f8b0d22a5e
Fixes to make registering work ;-)
2006-09-21 16:48:46 +00:00
moodler
67171ec800
Fixed typo in capability name
2006-09-21 16:46:10 +00:00
skodak
f59208a745
fixed typos in capabiltiy names
2006-09-21 16:27:37 +00:00
moodler
8cb5bc2b26
People under switched roles should not be able to unenrol
2006-09-21 16:11:31 +00:00
moodler
861fdcaa28
Changing defaults for role assigning (teachers, coursecreators allowed)
2006-09-21 16:02:39 +00:00
moodler
2d07587b4c
Improvements to switchroles
...
1) You can have separate switchroles active in every course
2) Admins get a better view (doanything is supressed when switchroles active)
2006-09-21 15:58:59 +00:00
sam_marshall
fd2fff1e24
Changed the redirect() version with no message (that sends a redirect header) so that it sends an absolute URL as per HTTP spec, even if the argument to the function is a relative URL.
2006-09-21 15:13:27 +00:00
moodler
91ea292e65
Changed the login info string when a user is using 'switch roles'
2006-09-21 14:42:45 +00:00
moodler
09edb3794b
Fixed a capability name typo
2006-09-21 14:07:27 +00:00
moodler
b32c8ddadd
Fixed typos in capability names
2006-09-21 14:05:58 +00:00
moodler
0cef8a37fa
Changed logic slightly in switchrole_form
2006-09-21 14:04:32 +00:00
moodler
0c05b71f58
Fix typo
2006-09-21 13:11:05 +00:00
sam_marshall
a82e9bc3bb
Added feature to blocks (and restorelib) so that blocks get a method call (default does nothing) after they are restored. This allows blocks to change their settings if necessary in respect of the new course roll-forward 'restore and change start date' feature that Al implemented recently. The core blocks happen not to store dates anyway so don't need this, but contributed blocks may well do.
2006-09-21 12:07:15 +00:00
stronk7
db33348f53
When journal to assignment migration is performed, journal
...
upgrade hasn't been upgraded yet so the journal_entries->comment
field is still called "comment"
2006-09-21 10:04:49 +00:00
stronk7
0bc94c9990
Last reserved word is out now!
...
journal_entries->comment to entrycomment
Only 2 tables have reserved names but they aren't
a problem if we force $CFG->prefix always
2006-09-21 09:54:00 +00:00
stronk7
ea6432fede
Moved assignment_submission->comment to submissioncomment
...
(because comment is DB reserved word)
2006-09-21 09:35:20 +00:00
moodler
1888245ee6
More strings
2006-09-21 09:16:56 +00:00
moodler
3a52e764e4
New "Switch Role" functionality to replace the old "Student view".
...
It's not well-tested yet and probably doesn't quite work. I will keep debugging this tonight from home.
2006-09-21 09:16:41 +00:00
toyomoyo
01e52ac70a
changes to backups (where the roles info are stored)
2006-09-21 09:09:16 +00:00
vyshane
9222e72167
Removed capability mod/forum:viewforum. We will use moodle/course:viewhiddenactivities and hide/unhide forums instead.
2006-09-21 08:32:05 +00:00
vyshane
986dc51c00
Removed string for mod/forum:viewforum
2006-09-21 08:30:59 +00:00
skodak
fd98800ea2
another admin ui cleanup
2006-09-21 08:28:25 +00:00