24814 Commits

Author SHA1 Message Date
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
skodak
a5d3b07224 MDL-8096 - some more fixes and minor refactoring in custom profile fields 2007-01-26 13:49:32 +00:00
skodak
1bf65e5880 MDL-8096 - some more fixes for custom profile fields 2007-01-26 13:33:56 +00:00
skodak
0a5c8ca42c MDL-8096 - fixed mutilang in custom category header 2007-01-26 13:13:13 +00:00
skodak
bb6d3d3454 MDL-8096 - refactored and cleanedup custom profiles, user edit form fixes
TODO: fix comments and docs
2007-01-26 13:11:06 +00:00
moodler
0c2864c146 FIxed an annoying little artifact showing up on the second line of the last tab MDL-7782 2007-01-26 07:09:39 +00:00
moodler
0406113fa9 FIxed tabs for quizzes 2007-01-26 06:59:16 +00:00
moodler
5bc4ff92d9 Fixed a pass-by-reference notice 2007-01-26 06:50:34 +00:00
moodler
0f22ec3356 FIxed tabs on module edit pages 2007-01-26 06:32:53 +00:00
moodler
0b4f88a6d6 Improved documentation for print_tabs 2007-01-26 06:28:43 +00:00
moodler
65c8c79335 Some slight modifications to the css classes for one-tab lines MDL-7782 2007-01-26 06:23:53 +00:00
moodler
28b822fe5e Fixed up the tabs for roles 2007-01-26 06:18:43 +00:00
moodler
c5be5d2754 Latest tags 2007-01-26 05:48:33 +00:00
mits
eab4b70f30 Added some new settings to config.php based on /theme/standard change. 2007-01-26 02:16:31 +00:00
skodak
478caed8e1 MDL-8096 - fixed use of formslib in custom profile field gui 2007-01-25 19:36:47 +00:00
skodak
4332512e07 MDL-8096 - edit form session fix 2007-01-25 18:18:33 +00:00
skodak
29c7e08328 MDL-8096 - fixed set_user_preference() weirdness, you could not pass $USER->id as $otheruser parameter 2007-01-25 18:17:57 +00:00
skodak
d873478322 MDL-8096 - rewritten standard edit form and other fixes; new custom profile fields still missing 2007-01-25 18:02:48 +00:00
skodak
4af06ddad0 MDL-8281 hardFreeze now removes previously defined required status and all rules 2007-01-25 17:59:46 +00:00
bobopinna
8949f8df0e Fixed external manifest problems 2007-01-25 13:49:50 +00:00