moodler
cf36da6429
FIxed problem which was unenrolling some assigns at the site level! MDL-7189
2006-10-24 07:07:54 +00:00
vyshane
929089e754
Merged from 1.7
2006-10-24 03:26:55 +00:00
stronk7
422770d8cb
Moving deprecated uses of sql_paging_limit() to the new $limitfrom,
...
$limitnum parameters in all the get_recordXXX() functions. MDL-7167
Merged from MOODLE_17_STABLE
2006-10-23 23:00:18 +00:00
skodak
ce5ce1369f
Excel export returns a zero bytes file when system temp not writable MDL-7176; merged from MOODLE_17_STABLE
2006-10-23 19:26:20 +00:00
skodak
6a57abf8f7
error message when adding a link in editor MDL-7180 ; merged from MOODLE_17_STABLE
2006-10-23 18:31:08 +00:00
stronk7
92602651dc
Now insert_record() is using $db->GenID() to retrieve
...
sequence numbers for Oracle. Just wondering if the same
function should be used by PostgreSQL too. MDL-7183
Merged from MOODLE_17_STABLE
2006-10-23 17:46:08 +00:00
stronk7
37c47abaca
Suppress all the uses of LIMIT in the get_field_sql() calls. MDL-7173
...
Merged from MOODLE_17_STABLE
2006-10-23 16:03:52 +00:00
moodler
2f1a42481d
This new function called load_all_capabilities() should be used whenever
...
you want to completely reload the capabilities for the current user.
Basically it will deal nicely with the default site-wide permissions
depending on the current user.
More background in the comments on MDL-6963
Merged from stable
2006-10-23 15:17:31 +00:00
moodler
18894ee462
Fixed   characters MDL-7179
2006-10-23 13:42:23 +00:00
stronk7
f96a5db1c4
strip "old" harcoded "limit" clauses from the sql passed and
...
debug about them. MDL-7173
Merged from MOODLE_17_STABLE
2006-10-23 07:46:10 +00:00
moodler
b1f318a67f
Merged guest key enrolment fix from stable MDL-6881
2006-10-23 06:38:15 +00:00
stronk7
b9c3b8c734
Prevent MSSQL to return from insert_record() before
...
trying to execute the updating of LOBs.
Merged from MOODLE_17_STABLE
2006-10-23 00:01:57 +00:00
stronk7
c1bf1b0073
Debugging sql_paging_limit() as deprecated and
...
enforcing get_field_sql() to return 1 record max
Merged from MOODLE_17_STABLE
2006-10-22 23:21:59 +00:00
stronk7
55d3af6f3a
Killing all sql_paging_limit() uses
...
Merged from MOODLE_17_STABLE
2006-10-22 22:58:29 +00:00
stronk7
cb4c207832
Adding limitfrom and limitnum parameters to a bunch of
...
rarely executed functions...
Merged from MOODLE_17_STABLE
2006-10-22 22:37:30 +00:00
moodler
721d14cbfe
Merged fixes for recent activity from stable MDL-7134
2006-10-22 07:42:04 +00:00
skodak
013f2e7cd9
fix has_capability() to work when $nomoodlecookie = true; MDL-7156 - needed for RSS file.php that is serving feeds; merged from MOODLE_17_STABLE
2006-10-21 20:42:50 +00:00
stronk7
8914508a4b
Prevent add_field() to work if we are adding one not null field
...
to one non-empty table without specifying its default value.
Merged from MOODLE_17_STABLE
2006-10-21 18:19:47 +00:00
moodler
81cc8046c4
Merged My Courses fixes from stable
2006-10-21 16:36:31 +00:00
stronk7
04c9f8dcc2
One typo (!==) was preventing defaults to be properly calculated for integers.
...
Thanks to Nigel McNie for being on that!
Merged from MOODLE_17_STABLE
2006-10-21 16:36:16 +00:00
moodler
49e6751073
Make sure LAMS is off if we don't need it (merged from stable)
2006-10-21 16:14:27 +00:00
moodler
2176adf169
Merged some checks from stable
2006-10-21 14:53:47 +00:00
vyshane
286e1f0e18
Merged from 1.7
2006-10-20 03:18:06 +00:00
toyomoyo
ac57f76122
merged fox for MDL-7113, removing DISTINCT on TEXT field
2006-10-20 02:44:22 +00:00
toyomoyo
207355b438
merged, setting $CFG->unicodedb after converting db to unicode. Chaning the order of if clause to same some sqls
2006-10-20 02:08:21 +00:00
mjollnir_
722c3bfede
error reporting for xmldb (credit: Nigel McNie <nigel@catalyst.net.nz>)
2006-10-19 23:30:28 +00:00
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
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
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
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
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
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
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
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
skodak
1bacd276a7
fixed role_capabilities table name typo; merged from MOODLE_17_STABLE
2006-10-17 21:41:24 +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
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
tjhunt
ad6e05238f
MDL-6760 - cannot insert the string 'null' into the database. You can now. Merged from MOODLE_17_STABLE.
2006-10-17 15:58:09 +00:00
cap2501
4006726277
Disabled debug flag to improve performance
...
(the flags are set per 'class' on class.prototype.debug)
2006-10-17 15:53:48 +00:00
cap2501
9569653d63
Disabled logging of Debug Messages to improve performance
2006-10-17 15:52:05 +00:00
skodak
a32a53d2a4
RSS update and caching broken for some feeds MDL-7045; merged from MOODLE_17_STABLE
2006-10-17 07:09:18 +00:00