vyshane
242a445fdf
Fix for MDL-6654
2006-09-22 07:08:43 +00:00
vyshane
1febf1a77a
Replaced isteacher & co. Fixed some issues.
2006-09-22 06:29:40 +00:00
moodler
a19beac32e
new tags for new functions
2006-09-22 06:27:51 +00:00
moodler
9f73cdabf7
renamed field in context table
2006-09-22 06:21:48 +00:00
moodler
aad2ba95d1
Upgrading table to rename the context->aggregatelevel field which was
...
really bugging me. Code should be a little bit more readable now.
Apologies to those with non-core code already using this field.
2006-09-22 06:19:32 +00:00
moodler
b988fe5f94
DOn't terminate upgrade if stats didn't work
2006-09-22 06:10:42 +00:00
mjollnir_
20c59467a5
schema files for stats changes (install.xml still to come). Credit: Nigel McNie <nigel@catalyst.net.nz>
2006-09-22 06:05:07 +00:00
moodler
82396e5b1f
Improved error messages for role_assign to be more helpful
2006-09-22 05:23:59 +00:00
moodler
9d829c681d
Removing some notices
2006-09-22 05:17:57 +00:00
moodler
6ed4afb351
Merged support for personal dictionaries in spellchecker
2006-09-22 04:38:32 +00:00
moodler
e84ea106f9
function_names() might not like the egg
2006-09-22 03:49:49 +00:00
moodler
1a030f5112
Fix for MDL-6319, to fix opposite-state links for unread tracking settings
2006-09-22 03:36:31 +00:00
vyshane
7ce56c1282
Removed mod/workshop:view
2006-09-22 03:28:56 +00:00
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