stronk7 [Thu, 19 Oct 2006 21:57:23 +0000 (21:57 +0000)]
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
stronk7 [Thu, 19 Oct 2006 17:29:37 +0000 (17:29 +0000)]
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).
jamiesensei [Thu, 19 Oct 2006 07:12:11 +0000 (07:12 +0000)]
fix for :
$this->_form->getElement('allowedmods')->
updateAttributes(array('disabled' => 'disabled')) ;
that didn't work in PHP 4. (calling a method on a returned object)
tjhunt [Tue, 17 Oct 2006 23:23:18 +0000 (23:23 +0000)]
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.
skodak [Tue, 17 Oct 2006 19:46:35 +0000 (19:46 +0000)]
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
thompson697 [Tue, 17 Oct 2006 10:05:41 +0000 (10:05 +0000)]
Apply modularity to the creation of the log file during restore to a new course.
Remove the responsibility for loging the application of the course start date offset, from activity modules to the backup module.
Merged from stable branch
tjhunt [Mon, 16 Oct 2006 15:23:54 +0000 (15:23 +0000)]
Make things a bit more robust. Sorry, I can't remember exactly what the problem was that this fixed any more. It has been sitting around for a couple of weeks and I had forgotten to commit it.
tjhunt [Mon, 16 Oct 2006 11:05:45 +0000 (11:05 +0000)]
MDL-6650 - Previewing individual random questions from the quiz editing screen was not working, and anyway, I'm not sure it makes any sense, so I removed that preview link. Merged from MOODLE_17_STABLE.
ethem [Mon, 16 Oct 2006 09:53:03 +0000 (09:53 +0000)]
+ New consts for authorize_action() function:
* AN_RETURNZERO: No connection was made on authorize.net.
* AN_APPROVED: The transaction was accepted.
* AN_DECLINED: The transaction was declined.
* AN_REVIEW: The transaction was held for review.
+ Fix: Speacial handling for echecks: REVIEW; 'Under Review', 'Approved Review', 'Review Failed'
+ New feature: Upload a CSV file for echecks (capability: enrol/authorize:uploadcsv level: user)
+ New feature: Search payments by orderid and transid
+ New function: send_welcome_messages()
ethem [Mon, 16 Oct 2006 09:39:08 +0000 (09:39 +0000)]
+ New consts for authorize_action() function:
* AN_RETURNZERO: No connection was made on authorize.net.
* AN_APPROVED: The transaction was accepted.
* AN_DECLINED: The transaction was declined.
* AN_REVIEW: The transaction was held for review.
+ Fix: Speacial handling for echecks: REVIEW; 'Under Review', 'Approved Review', 'Review Failed'
+ New feature: Upload a CSV file for echecks (capability: enrol/authorize:uploadcsv level: user)
+ New feature: Search payments by orderid and transid
+ New function: send_welcome_messages()
ethem [Mon, 16 Oct 2006 09:30:25 +0000 (09:30 +0000)]
+ New consts for authorize_action() function:
* AN_RETURNZERO: No connection was made on authorize.net.
* AN_APPROVED: The transaction was accepted.
* AN_DECLINED: The transaction was declined.
* AN_REVIEW: The transaction was held for review.
+ Fix: Speacial handling for echecks: REVIEW; 'Under Review', 'Approved Review', 'Review Failed'
+ New feature: Upload a CSV file for echecks (capability: enrol/authorize:uploadcsv level: user)
+ New feature: Search payments by orderid and transid
+ New function: send_welcome_messages()