Commit graph

23192 commits

Author SHA1 Message Date
skodak
6a1cfff27e Internal zipping broken on win32 MDL-7105 ; we are now using the new method to specify file names in zip archive because the old PCLZIP_OPT_REMOVE_PATH option is broken on win32 platforms 2006-10-19 22:13:03 +00:00
stronk7
b2ad03364b Adding support for the new mssql_n driver
Merged from MOODLE_17_STABLE
2006-10-19 22:07:21 +00:00
stronk7
ed4b4bf1d0 New ADOdb driver that extends the standard mssql one. All it does is
to prepend the 'N' char before any SQL literal sent to DB, mainly
because nobody (ODBTP, FreeTDS, ODBC, SQL*Server) seems to be doing
this task, and it prevents, in an high degree true cross-db compatibility.

Once we've moved to prepared statements and some of the developers for
any of the products above (hopefully MS, at server level) will avoid
the 'N', we'll be able to go back to another mssql drivers.

More info at:
  - http://docs.moodle.org/en/XMLDB_Problems (point 8)
  - http://tracker.moodle.org/browse/MDL-6877
2006-10-19 21:57:23 +00:00
stronk7
6d55d8538b Adding support for the new mssql_n driver
Two new strings added: mssql_n, databasesettingssub_mssql_n
One string modified: databasesettingssub_mssql

Merged from MOODLE_17_STABLE
2006-10-19 19:01:02 +00:00
stronk7
b9bc4d7460 Adding support for the new mssql_n driver
Merged from MOODLE_17_STABLE
2006-10-19 18:45:16 +00:00
stronk7
f9ec4d3722 Adding support for the new mssql_n driver
Merged from MOODLE_17_STABLE
2006-10-19 18:29:47 +00:00
stronk7
bf42ceed7f Addding support for the new mssql_n ADOdb driver that,
transparently, prepends the N char for all the string
literals being set to MSSQL (until MS Unicode - standard-
support will arrive).

Merged from MOODLE_17_STABLE
2006-10-19 17:29:37 +00:00
thepurpleblob
eb4cb4c51e Focus is now loaded into Name edit field 2006-10-19 13:06:06 +00:00
tjhunt
ef95c65ed1 Fix problem with multichoice question grading. Merged from MOODLE_17_STABLE. 2006-10-19 11:54:17 +00:00
tjhunt
f6bde593c7 Missing addslashes. Merged from MOODLE_17_STABLE. 2006-10-19 10:24:04 +00:00
jamiesensei
e995c46e24 fix for :
$this->_form->getElement('allowedmods')->
                        updateAttributes(array('disabled' => 'disabled')) ;
 that didn't work in PHP 4. (calling a method on a returned object)
2006-10-19 07:12:11 +00:00
toyomoyo
c345209c19 merged fix for MDL-6549, fix for wrong publish to menu 2006-10-19 06:41:49 +00:00
toyomoyo
b7cec865f4 merged, making the site context and site course context the same 2006-10-19 06:16:35 +00:00
vyshane
6f00683e98 Merged from 1.7 2006-10-19 04:33:56 +00:00
moodler
ebf75284ee Automatic installer.php lang files by installer_builder (20061019) 2006-10-19 02:58:51 +00:00
toyomoyo
c30f752c30 merged, adding addtional check to change_db_encoding to make sure db not already in unicode, upon successful conversion set the correct names 2006-10-19 02:14:43 +00:00
skodak
2b82319d94 Delete user fails if apostrophe in email address MDL-4762 ; found and solution provided by Inaki Arenaza - merged from MOODLE_17_STABLE 2006-10-18 21:46:14 +00:00
skodak
e38204d175 fixed access check when editting notes in advanced upload assignment type; merged from MOODLE_17_STABLE 2006-10-18 21:34:06 +00:00
skodak
70b5660a51 fixed Notices after assignment deletion in Recent Activity MDL-7089 ; merged from MOODLE_17_STABLE 2006-10-18 21:02:30 +00:00
skodak
efa0eb1dcd improved validation when deleting comments from glossary SC#325 ; merged from MOODLE_17_STABLE 2006-10-18 20:21:28 +00:00
skodak
4f93f5ba08 Notice when creating one forum... MDL-7063 ; merged from MOODLE_17_STABLE 2006-10-18 19:59:27 +00:00
skodak
95b451d5a9 changed email obfuscation character to * MDL-6935 ; merged from MOODLE_17_STABLE 2006-10-18 19:41:32 +00:00
thepurpleblob
07705e2fa6 put the cursor in the edit box rather than doing nothing for label 2006-10-18 13:03:50 +00:00
ethem
821267bccf Fixed merge chars: ======= 2006-10-18 12:45:28 +00:00
ethem
23741665cd Show results and send email to admin. Merged from 17stable. 2006-10-18 12:43:00 +00:00
skodak
1f8c654979 Deleting uploaded files when deleting an assignment instance + fixed quoting style + trailing whitespace MDL-6387 ; merged from MOODLE_17_STABLE 2006-10-18 11:14:48 +00:00
vyshane
c081fdcaca Merged from 1.7 2006-10-18 09:47:44 +00:00
skodak
20d55a1b7b fix course reset unenrollment in to work with roles MDL-7069 ; merged from MOODLE_17_STABLE 2006-10-18 09:20:16 +00:00
vyshane
01059829c2 Merged from 1.7 2006-10-18 08:41:24 +00:00
toyomoyo
6ccb764f32 merged fix for MDL-7066, proper capability check for forum attachments 2006-10-18 08:01:15 +00:00
toyomoyo
5f6fc25b43 merged fix for MDL-7066, users will replypost set to prohit can not edit own post 2006-10-18 07:50:22 +00:00
vyshane
fc2e40e30e Merged from 1.7 2006-10-18 07:42:44 +00:00
toyomoyo
a6eb09d977 merged added code to force mysql db to change default encoding during fresh installation 2006-10-18 07:26:04 +00:00
vyshane
8b8a8779dc Merged from 1.7 2006-10-18 07:05:21 +00:00
toyomoyo
819e5a70c3 merged fix for MDL-7055 - prohibts at site level not working 2006-10-18 06:45:38 +00:00
toyomoyo
2058a0a1b2 merged fix for MDL-7065, adding translated string to breadcrumb 2006-10-18 05:41:45 +00:00
moodler
fa266634a5 Automatic installer.php lang files by installer_builder (20061018) 2006-10-18 02:59:46 +00:00
stronk7
1afef7d9b3 Now insert/update/set of BINATY fields is supported by MSSQL
(and easier to add new DB in the furure) MDL-7062

Merged from MOODLE_17_STABLE
2006-10-17 23:37:58 +00:00
stronk7
b2b33a1fef Added 4 more tests to check CLOB/BLOB handling across all DBs. MDL-7062
Merged from MOODLE_17_STABLE
2006-10-17 23:31:49 +00:00
tjhunt
95ac8a4039 MDL-6315 - Manually grading a question 0 marks was not being registered. I took the opportunity to clean up the logic in this function a bit. Merged from MOODLE_16_STABLE. 2006-10-17 23:23:18 +00:00
tjhunt
9a8b42c981 MDL-6848 - Display problem with < > characters in shortanswer when outputting the correct answer. Merged from MOODLE_16_STABLE. 2006-10-17 22:17:17 +00:00
tjhunt
6a00f57926 MDL-6386 - stripslashes missing in multianswer qustions. Thank to Joseph Rezeau. Merged from MOODLE_16_STABLE. 2006-10-17 22:01:23 +00:00
tjhunt
bc649d80d5 MDL-7054 - Prevent creation of question categories with blank names. Merged from MOODLE_16_STABLE. 2006-10-17 21:45:19 +00:00
skodak
1bacd276a7 fixed role_capabilities table name typo; merged from MOODLE_17_STABLE 2006-10-17 21:41:24 +00:00
skodak
b9ecde8738 Fix forum reset - remove "DELETE .. USING ... " mysqlisms MDL-7053 ; merged from MOODLE_17_STABLE 2006-10-17 21:06:50 +00:00
skodak
8c18200652 Automatic deletion of users when deleteunconfirmed is setted to 'never' MDL-6726; merged from MOODLE_17_STABLE patch submitted by Jesús Torres 2006-10-17 20:47:12 +00:00
skodak
4090bcaee3 Activitynames filter case insensitive again for non-ascii languages MDL-6054 - I hope it will not be choking on invalid UTF-8 data; merged from MOODLE_17_STABLE 2006-10-17 19:46:35 +00:00
skodak
9de4787365 Broken longtimenosee option - PHP notice errors during cron MDL-7058; found and solution submitted by Jenny Gray; merged from MOODLE_17_STABLE 2006-10-17 19:16:38 +00:00
skodak
22fdde3941 moodle.php strings for log file restore needs some fix - xhtml compliance and removed \n - MDL-7056; merged from MOODLE_17_STABLE 2006-10-17 18:57:05 +00:00
stronk7
e45346f98e Fixed typo that was preventing correct BLOB storage under Oracle.
Merged from MOODLE_17_STABLE
2006-10-17 18:31:56 +00:00