Commit graph

4529 commits

Author SHA1 Message Date
stronk7
b7a0ea8781 Fixing one little-little bug about user->ajax being nullable. MDL-8421
Merged from MOODLE_17_STABLE
2007-02-04 20:11:32 +00:00
crbusch
fc9f2d26b9 Added scripts 2007-02-02 18:38:05 +00:00
sam_marshall
24c66531b3 MDL-8216 Smartpix support (under 'experimental') for searching images in theme, parent theme, etc 2007-02-02 12:19:58 +00:00
vyshane
a194510a9c print_header now calls require_js() to print out html that loads JavaScript libraries. 2007-02-02 06:40:22 +00:00
vyshane
f72f94a257 Reworked require_js() so that it will not load libraries more than once.
Related to MDL-7682 and MDL-8374.
2007-02-02 06:35:25 +00:00
moodler
c830f3e3aa Added help title for switchrole help button MDL-8378 2007-02-02 06:21:44 +00:00
skodak
6349a3ba48 MDL-8384 debugdisplay does not respect original value of display_errors 2007-02-01 21:11:50 +00:00
skodak
ebce32b5dd (MDL-8367) Add configuration option to select role for guest - guestroleid 2007-02-01 10:24:26 +00:00
moodler
a2b6ee758e Merged switchroles fixes from stable 2007-02-01 08:14:08 +00:00
moodler
f522d310fd Add some robustness to the tabs so we can use tabs named '0' 2007-02-01 07:02:28 +00:00
skodak
9fec4e331b MDL-8376 Course list option missing in frontpageloggedin when there are more than 200 courses 2007-01-31 22:38:27 +00:00
skodak
c785d40ac3 MDL-8373 Add new predefined role "Authenticated user" for all logged in users 2007-01-31 21:05:32 +00:00
skodak
39de90acd5 MDL-8223 allow also numeric string '1' as site id in require_course_login() 2007-01-30 21:23:29 +00:00
jamiesensei
bc9ec4a604 more clean fix to safari issue with fieldsets 2007-01-30 18:44:23 +00:00
jamiesensei
f60feba579 fix for bug in Safari displaying fieldsets when the last element is textarea in which case textarea tended to overlap fieldset boundary. 2007-01-30 16:55:18 +00:00
tjhunt
a95cd8a650 Get the alt text for the question type icon in a better way. 2007-01-30 11:09:32 +00:00
skodak
01e85af9cc MDL-8343 reorganize frontpage settings in admintree - I hope fixed last installation bug 2007-01-30 10:33:09 +00:00
nfreear
3c13f52413 Follow-up fix for bug MDL-8223 "require_course_login() cleanup" 2007-01-30 10:10:39 +00:00
skodak
8ba412dab0 MDL-8352 Fully separate CONTEXT_COURSE, SITEID from COURSE_SYSTEM - now instanceid of system context is always 0 (originally it was SITEID which would cause major trouble is somebody tried to change SITEID) 2007-01-30 10:10:25 +00:00
skodak
3ab00a0f6d fixed warning with undefined rcache during install 2007-01-30 09:11:19 +00:00
jamiesensei
9bf930bd07 fix related to MDL-8282 - "show advanced" button doesn't work under IE7 2007-01-30 07:45:15 +00:00
vyshane
446d6e7dd0 *** empty log message *** 2007-01-30 04:55:59 +00:00
stronk7
d3fca5cba8 nothing interesting, just a comment. 2007-01-30 00:22:21 +00:00
stronk7
bcf88cbbe2 Applying new rs_xxx() functions everywhere. MDL-8134
Merged from MOODLE_17_STABLE
2007-01-29 22:23:58 +00:00
skodak
84c8ede022 MDL-8343 reorganize frontpage settings in admintree - admin tree now allows to specify context together with required capability for each entry
MDL-8352 Fully separate CONTEXT_COURSE, SITEID from COURSE_SYSTEM - first part of cleanup related to frontpage
2007-01-29 21:29:27 +00:00
stronk7
0f5dafffe9 Applying new rs_xxx() functions everywhere. MDL-8134
Merged from MOODLE_17_STABLE
2007-01-29 11:24:18 +00:00
stronk7
2ac48f4811 Applying new rs_xxx() functions everywhere. MDL-8134
Merged from MOODLE_17_STABLE
2007-01-29 10:55:22 +00:00
vyshane
15c331b2e8 Merged from 1.7. 2007-01-29 07:58:47 +00:00
moodler
326e563a43 Prevent an rcache-related notice 2007-01-29 06:12:18 +00:00
vyshane
c4ca9cb3b2 Merged from 1.7. 2007-01-29 02:22:18 +00:00
stronk7
b5eb752394 First real test of the new rs_fetchXXX() functions. Applying it
to get_my_courses(). MDL-8134

Merged from MOODLE_17_STABLE
2007-01-29 00:17:25 +00:00
stronk7
1e15c0fdad Added Oracle DIRTY HACK to both rs_fetchXX functions.
Detecting of EOF in rs_fetch_record()
Big improvement of rs_fetch_next_record() by using FethRow()
with speeds near native fields[]. MDL-8134

Merged from MOODLE_17_STABLE
2007-01-28 23:15:16 +00:00
skodak
9152fc9938 MDL-8323 finished full conversion to proper $COURSE global - no more $CFG->coursetheme, $CFG->courselang - improved course_setup(), current_language() and current_theme(); and Chameleon theme fixes needed for global $COURSE
MDL-7962 chat seems to be completely broken in head (fixed wrong JS)
* reworked chat themes support
MDL-8338 Cron does not need cookies
MDL-8339 forum cron capabilities problems
* minor deprecated function current_encoding() cleanup
2007-01-28 21:18:08 +00:00
skodak
8d2b18a886 MDL-8337 has_capability() ignores default roles for $userid and does not detect changed $USER and other minor fixes (this is needed for global $COURSE cleanup and fixed+improved cron.php) 2007-01-28 20:52:57 +00:00
stronk7
d9e10456ba Initial commit of the new rs_XXX() functions to fetch, advance and close
ADOdb recordsets in a standard way. Not finished yet but I need them in CVS.
MDL-8134

Merged from MOODLE_17_STABLE
2007-01-28 20:14:09 +00:00
stronk7
3b34bc7f39 Now MSSQL naming of objects introspects to avoid duplicates. MDL-7376 2007-01-28 18:18:28 +00:00
stronk7
c5e065f817 Clarify a bit getNameForObject correct usage. 2007-01-28 11:46:17 +00:00
stronk7
5a08ca80ed Oracle now introspects DB to fetch names of
sequences and triggers. MDL-6880
2007-01-28 11:42:10 +00:00
stronk7
3e7dab97e7 And finally I've found the annoying bug that was causing Oracle to
execute strange SQL statements! Argh! Now I can go to sleep...
2007-01-28 01:07:52 +00:00
stronk7
2a82cacf0b getting tired of restore my test Oracle DB. Typo! 2007-01-28 00:30:22 +00:00
stronk7
fec5fe881e Quote field names in rename in order to allow renaming of reserved words. 2007-01-28 00:20:54 +00:00
stronk7
a54d16ef2e CHAR fields NOT NULL must not have any empty default specified!
Oracle breaks with empty defaults because they are = NULL.

Leaving them as NULL, XMLDB will apply defaults for each DB properly.
2007-01-28 00:12:32 +00:00
stronk7
ad88038fdb Fixing silly (like me) typo. 2007-01-27 23:39:57 +00:00
stronk7
358b1e9359 Oracle PL/SQL blocks can end by ";". Prevent that to be trimmed. 2007-01-27 23:37:22 +00:00
skodak
1e94fe068c Editor related fixes:
MDL-7545 HTML Editor does not send http headers for character encoding;
MDL-8323 added proper require_course_login()
+ fixed javascript in coursefiles broken by XHTML strict
+ general cleanup and fixing in coursefiles (themes, javascript, obsoleted functions, etc.)
2007-01-27 23:23:44 +00:00
stronk7
6210ae1d43 Now Oracle naming of objects introspects to avoid duplicates. MDL-7376 2007-01-27 22:11:04 +00:00
skodak
083c3743d3 MDL-7977 - updated guest and loggedin detection in login block; removed obsolted $USER->loggedin (now tested with empty($USER->id) in isloggedin()) and $USER->site (replaced by session test cookie)
MDL-5429 - skip https login for guestlogins
2007-01-27 21:28:26 +00:00
stronk7
42b9540e01 When renaming tables, check that the new one doesn't exist. 2007-01-27 20:13:23 +00:00
stronk7
d21a42d7cf Small improvement. One less iteration pero object name requested. 2007-01-27 20:08:19 +00:00
skodak
dcf6d93c9c MDL-8323 Add proper setup of course $CFG variables, fix use of global $COURSE
new function course_setup() thats does proper $CFG-> , locale and themes setup much sooner than print_header() originally (needed for MDL-8067), cleanup of forgotten global $course issues

MDL-8067 Fixed several $HTTPSREQUIRED issues - html editor now loads from https (the old hack did not wotk with IE7, new hack is uglier but works), fixed formlibs images (we can not set them in library global scope, we must wait for httpsrequired() and require_login() and od that in function), fixed links in meta.php, fixed help images

fixed setting of new $USER values in user edit forms
2007-01-27 19:56:08 +00:00