vyshane
1466926adf
Merged from 1.7.
2007-01-29 06:02:17 +00:00
moodler
d14d6f7903
FIxed a style typo that made login page look odd
2007-01-29 02:45:48 +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
bc0dc07cba
MDL-8323 fixed global $COURSE in chameleon theme footer
2007-01-28 22:29:24 +00:00
donal72
fb5c773965
Auth: Documentation update to reflect changes in signature of user_update_password method
2007-01-28 22:08:59 +00:00
skodak
ef72b77694
MDL-6128 special chars and messaging system
2007-01-28 21:43:39 +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
urs_hunkler
c15816ce95
'set sideblock left and right min/max width with values set in theme/config.php'
2007-01-28 17:11:05 +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
donal72
da249a3028
Auth: Fix for error creating admin user (if you choose a new username). Also addresses an issue in the user_update_password method.
2007-01-28 10:27:05 +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
gbateson
845f45ec19
correct the display of the "Update this Hot Potatoes Quiz" button in Danish (da_utf8) and German (de_utf8) - see mdl-8322
2007-01-28 00:25:57 +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
urs_hunkler
e331bccf75
'preferred_width changed to 210 because with lower values column width changes when block is closed by user'
2007-01-27 20:56:55 +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
urs_hunkler
cce6f1bd1a
'IE7 bug - not handling sidblocks correctly with long words. overflow and word-wrap corrects the sideblock width in most cases.'
2007-01-27 19:34:54 +00:00
skodak
d3787db022
added missing $course
2007-01-27 19:14:23 +00:00
stronk7
d65980452a
Updated comment.
2007-01-27 17:41:31 +00:00
stronk7
a1b2780c8e
Now Postgres naming of objects introspects to avoid duplicates. MDL-7376
2007-01-27 17:37:39 +00:00
moodler
d8e2ae94d8
Automatic installer.php lang files by installer_builder (20070127)
2007-01-27 03:15:10 +00:00
stronk7
f2daac4e62
Delegate to the isNameInUse() function the request to
...
see if one object name is in use in the DB (to avoid
duplicates 100%) MDL-7376 (the rest will come tomorrow)
2007-01-27 01:12:18 +00:00
skodak
8e1f75acfb
MDL-8096 loginhttps fixes for new advancededit form
2007-01-26 21:45:50 +00:00
skodak
3cb03e47ee
MDL-8096 user edit form - reintroduced httpsrequirequired()
2007-01-26 21:37:56 +00:00
stronk7
7039d93c31
Adding two helper functions and modify upgrade to
...
work properly under MSSQL and Oracle. MDL-8303
Merged from MOODLE_17_STABLE
2007-01-26 21:28:48 +00:00
stronk7
db21b7a28c
Adding two helper functions and modify upgrade to
...
work properly under MSSQL and Oracle. MDL-8303
Added one simple hack to execute_sql() in order
to avoid and debug about trailing ;
2007-01-26 21:27:44 +00:00
stronk7
4218c9b21e
Silly conditions produce silly results, please. :-P
...
(WHERE 1 is not cross-db at all)
2007-01-26 21:19:07 +00:00
skodak
186282cdaa
MDL-8308 placement of load_all_capabilities() in login page
2007-01-26 21:09:21 +00:00
skodak
9e7cd813e7
MDL-8277 userid field now PARAM_CLEAN
2007-01-26 20:20:27 +00:00
skodak
9d85247dab
MDL-8319 avatar image is now deleted from disk, user/pix.php redirects to default picture if user picture not present(===deleted)
2007-01-26 20:15:54 +00:00
stronk7
77b09448b3
Oracle doesn't like ; at the end of execute_sql()
2007-01-26 19:28:40 +00:00
skodak
14a6b7e197
MDL-8096 user edit form - some more refactoring and fixes
2007-01-26 18:42:47 +00:00
tjhunt
09f7fa1183
Missing serf_default on decimal points field.
2007-01-26 17:52:23 +00:00
skodak
e61f870151
MDL-8096 - fixed default values
2007-01-26 17:17:21 +00:00
skodak
e2cfb488be
MDL-8096 - added proper trimming of usernames; site:config capability is now neede to change definition of custom profile fields
2007-01-26 16:19:34 +00:00
skodak
04f639a0f4
MDL-8096 - added proper trimming of usernames; site:config capability is now neede to change definition of custom profile fields
2007-01-26 16:19:33 +00:00