21642 Commits

Author SHA1 Message Date
mark-nielsen
3466ae4f14 Cleaned up output to user. Still needs a lot of work. 2006-09-09 02:10:40 +00:00
mark-nielsen
f15eb92c2c Removed essay grading code from view.php into essay.php. 2006-09-09 01:58:48 +00:00
mark-nielsen
e6bfc97018 Added a few lang entries and modified one or two 2006-09-09 01:55:57 +00:00
mark-nielsen
6e1ff5c8fb MDL-6477: Added roles support.
Also added lesson_set_message() and lesson_print_message() to locallib.php
Also fixed problem in continue.html with not printing nextpageid
2006-09-08 23:17:18 +00:00
stronk7
ccfc5ecca1 Only send contexts to cache if the aren't empty. At initial installations
some empty contexts were being cached and used later, causing insertion
of null values to every DB but MySQL.
2006-09-08 19:28:03 +00:00
skodak
a13d2157f4 fixed wrong placement of comma 2006-09-08 15:53:24 +00:00
skodak
cbba1191ed fixed typo - trailing backslash 2006-09-08 15:51:11 +00:00
thepurpleblob
04d677f2e9 Merged from STABLE 2006-09-08 10:27:48 +00:00
toyomoyo
51792df056 adding capabilities 2006-09-08 08:46:26 +00:00
vyshane
46943f7b78 Seems that the unassign_capability function signature was changed without updating the call to that function in capabilities_cleanup(). Fixed. 2006-09-08 02:33:02 +00:00
mchampan
0d46c846da Fixed couple bugs in query, and improved logic of querylib. 2006-09-08 01:18:48 +00:00
stronk7
3a27bb0575 Modify a bunch of INSERTs to avoid using empty fields
to allow Oracle to avoid the NULLs = empty problem.
2006-09-07 23:50:47 +00:00
stronk7
e20d180c11 DIRTY HACK to convert back all the ' ' (1 space) field contents
back to '' (empty string) in order to allow Oracle to work, more
or less until all the not real NOT NULL DEFAULT '' fields were out!

TODO: Apply the same hack to some more functions...
2006-09-07 23:48:48 +00:00
stronk7
42ac3ecffc Solving one string concatenation typo (please, test it's ok) and
stripping the AS keyword from table aliases. You cand find more at:
http://docs.moodle.org/en/XMLDB_Problems#Table_and_column_aliases_-_the_AS_keyword
2006-09-07 20:17:46 +00:00
skodak
42d6be31d1 double redirect prevention - if both 'meta http-equiv' and javascript redirects are used, javascript delay is 3 seconds longer to prevent accidental double redirects. The target page can still be loaded twice in case user clicks the link before the target page gets fully loaded. 2006-09-07 19:40:57 +00:00
skodak
5d3e0e837a removed redirect message, because it was sometimes breaking upgrades due to double redirects 2006-09-07 19:18:48 +00:00
stronk7
3a8c55c3fb Typos + drop table fully supported. 2006-09-07 18:39:43 +00:00
stronk7
8830218f53 Initial support for DROP TABLE adedd. 2006-09-07 17:28:46 +00:00
stronk7
8bb7147620 If one course, hasn't teaches, both under roles and no-roles
installations, default to admin language.
2006-09-07 17:25:06 +00:00
vinkmar
0f4a73b0dd Fixed bug (sectionname mismatch) similar to MDL-6475 2006-09-07 16:15:35 +00:00
moodler
26f9c81507 Fixed a typo (thanks Eclipse) 2006-09-07 15:46:48 +00:00
vinkmar
502871b479 Fixed MDL-6475. 2006-09-07 14:53:07 +00:00
nfreear
22a3b7ccef Fixes bug MDL-6478 "Unit tests (not) working.." 2006-09-07 09:11:55 +00:00
toyomoyo
ec7a8b7999 adding capabilities 2006-09-07 08:57:56 +00:00
moodler
f43ce1ad1d Added moodle/role:unassignself which replaces $CFG->allowunenroll 2006-09-07 08:35:30 +00:00
stronk7
05a43ba36c Initial RenameTable caller to generators. Not ended by I needed it in CVS now. 2006-09-06 23:05:12 +00:00
stronk7
d05babe913 Initial, unfinished, not working, simple version of rename_table generator.
More coming soon, but I needed it in CVS now!
2006-09-06 23:04:13 +00:00
stronk7
386c23c9da PHP code for dropping and renaming tables added. Note that the DDL
functions doesn't exist yet. ;-)
2006-09-06 22:34:09 +00:00
stronk7
3ab430fbc5 The XMLDBEditor is generating automatic PHP code for create_table 2006-09-06 19:49:13 +00:00
stronk7
aed4e52713 Now indexes are able to return their PHP specs. 2006-09-06 19:47:50 +00:00
stronk7
989a41af6f Now keys are able to return their PHP specs. 2006-09-06 19:43:38 +00:00
stronk7
7b31a94e08 Now fields are able to return their PHP specs. 2006-09-06 19:31:03 +00:00
ethem
6cf30eae96 all static functions in enrolment_plugin_authorize moved to localfuncs.php. So, no need enrol.php. 2006-09-06 15:39:32 +00:00
stronk7
428aa337b8 Disable regexp searches for MSSQL and Oracle 2006-09-06 15:30:11 +00:00
stronk7
8289a52ff0 Now forum searches are working both under MSSQL and Oracle
(in a case-sensitive behaviour for Oracle, see code comments and
http://docs.moodle.org/en/XMLDB_Problems#Case-insensitive_searches)
2006-09-06 15:29:26 +00:00
skodak
43149d3a9f fixed description of configprotectusernames 2006-09-06 11:36:00 +00:00
skodak
e91f3c2d6b fixed missing if (! 2006-09-06 10:15:05 +00:00
skodak
6a5a62b096 allow less verbose operation of forget_password.php SC#282 2006-09-06 10:11:24 +00:00
toyomoyo
d02eededf7 adding capabilities 2006-09-06 08:55:23 +00:00
vyshane
180f410694 Merged fix for bug MDL-5866. 2006-09-06 08:54:56 +00:00
skodak
6b9a1fec8f initial conversion of workshop to new roles and capabilities framework; groups are not functional yet (did they ever work properly ?) 2006-09-06 08:41:47 +00:00
moodler
b649a19e20 Some tidying up of admin blocks 2006-09-06 05:24:35 +00:00
mark-nielsen
c5a2e12f08 Added $Id$ to files
Header is not printed for all actions.  Related to MDL-5403
Some redundant code removed
First attempt at separating logic and presentation in action continue (continue.html)
2006-09-06 04:04:42 +00:00
mark-nielsen
9fcf51d9bf Added function for printing a standard header for lesson
Added function for fetching course module, course and lesson based on course module id or lesson id
2006-09-06 04:02:02 +00:00
vinkmar
7683a0377d removed pause during redirect when there are no new settings 2006-09-06 02:36:38 +00:00
vinkmar
8f89a26c21 * removed hard-coded language strings (MDL-6448)
* replaced some remaining tabs with spaces
2006-09-06 02:23:23 +00:00
vinkmar
7f35bd73b4 removed hard-coded language strings (MDL-6448) 2006-09-06 02:20:16 +00:00
vinkmar
dad4a3ff0b added strings for MDL-6448 2006-09-06 02:18:51 +00:00
moodler
6d0bd10c0a A temporary icon for roles (needs work!) 2006-09-06 02:16:48 +00:00
toyomoyo
26663a2386 replacing isteacher with viewfullname capability 2006-09-06 02:14:20 +00:00