Commit graph

21559 commits

Author SHA1 Message Date
stronk7
428aa337b8 Disable regexp searches for MSSQL and Oracle 2006-09-06 15:30:11 +00:00
stronk7
8289a52ff0 Now forum searches are working both under MSSQL and Oracle
(in a case-sensitive behaviour for Oracle, see code comments and
http://docs.moodle.org/en/XMLDB_Problems#Case-insensitive_searches)
2006-09-06 15:29:26 +00:00
skodak
43149d3a9f fixed description of configprotectusernames 2006-09-06 11:36:00 +00:00
skodak
e91f3c2d6b fixed missing if (! 2006-09-06 10:15:05 +00:00
skodak
6a5a62b096 allow less verbose operation of forget_password.php SC#282 2006-09-06 10:11:24 +00:00
toyomoyo
d02eededf7 adding capabilities 2006-09-06 08:55:23 +00:00
vyshane
180f410694 Merged fix for bug MDL-5866. 2006-09-06 08:54:56 +00:00
skodak
6b9a1fec8f initial conversion of workshop to new roles and capabilities framework; groups are not functional yet (did they ever work properly ?) 2006-09-06 08:41:47 +00:00
moodler
b649a19e20 Some tidying up of admin blocks 2006-09-06 05:24:35 +00:00
mark-nielsen
c5a2e12f08 Added $Id$ to files
Header is not printed for all actions.  Related to MDL-5403
Some redundant code removed
First attempt at separating logic and presentation in action continue (continue.html)
2006-09-06 04:04:42 +00:00
mark-nielsen
9fcf51d9bf Added function for printing a standard header for lesson
Added function for fetching course module, course and lesson based on course module id or lesson id
2006-09-06 04:02:02 +00:00
vinkmar
7683a0377d removed pause during redirect when there are no new settings 2006-09-06 02:36:38 +00:00
vinkmar
8f89a26c21 * removed hard-coded language strings (MDL-6448)
* replaced some remaining tabs with spaces
2006-09-06 02:23:23 +00:00
vinkmar
7f35bd73b4 removed hard-coded language strings (MDL-6448) 2006-09-06 02:20:16 +00:00
vinkmar
dad4a3ff0b added strings for MDL-6448 2006-09-06 02:18:51 +00:00
moodler
6d0bd10c0a A temporary icon for roles (needs work!) 2006-09-06 02:16:48 +00:00
toyomoyo
26663a2386 replacing isteacher with viewfullname capability 2006-09-06 02:14:20 +00:00
moodler
d4649c76cc Removed some tabs 2006-09-06 01:43:54 +00:00
skodak
c3768dfc70 testing forced conversion to proper numeric type in _adodb_column_sql() SC#259 2006-09-05 23:59:25 +00:00
stronk7
9eabd190c1 Now forum_get_discussions() is using $limitfrom and $limitnum 2006-09-05 22:37:56 +00:00
skodak
c5836b7814 fixed typo 2006-09-05 22:34:25 +00:00
stronk7
b66458257d Adding support for MSSQL and Oracle in this select. Not really sure why we need one OUTER
join there, if every discussion has one usermodified but.....not time now.
2006-09-05 22:31:13 +00:00
stronk7
3c4f35e645 Mark as deprecated the sql_paging_limit_function() 2006-09-05 21:42:20 +00:00
stronk7
93a89227fd One less use of old LIMIT clause. Now logs are working properly. 2006-09-05 21:40:17 +00:00
skodak
dbe7e58274 I spent 2 hours looking for this typo :-D 2006-09-05 20:45:57 +00:00
stronk7
5de6e614d4 No need to specify DISTINCT because u.* guarantees unique ids.
Also, DISTINCT clauses cannot be used with TEXT/BINARY columns
on MSSQL and Oracle.
2006-09-05 19:04:33 +00:00
stronk7
405bc45cf6 No need to specify DISTINCT because u.* guaranties distinct by id. 2006-09-05 19:01:41 +00:00
stronk7
270643ca72 Modified get_users_by_capability() call to use the new limit
parameters and cleanup a bit of code.
2006-09-05 18:57:37 +00:00
stronk7
0441764040 Changed the get_users_by_capability() function to work with
1.7 DB compatible limit sentences.
2006-09-05 18:55:16 +00:00
stronk7
3c242a66f5 Now get_records_sql() supports limitfrom and limitnum.
Required to kill all those hardcoded LIMIT x,y clauses.
2006-09-05 18:53:08 +00:00
stronk7
e4697bf7dc Both Oracle and MSSQL don't like double quotes for literals. 2006-09-05 18:06:53 +00:00
stronk7
bc942ab58a Added support to retrofit tables without prefix 2006-09-05 17:55:59 +00:00
stronk7
415280bfc3 Added the adodb_logsql table to the XMLDB schema. It's a bit
exceptional because it hasn't prefix and originaly it hasn't
any PK, although we have added it here to be more Moodle-like.
Tested and seems to work properly with the new field.
2006-09-05 17:20:24 +00:00
stronk7
2e2a396ca3 Added to the generators the ability of prevent adding prefix for some tables.
(needed by adodb_logsql)
2006-09-05 17:17:49 +00:00
stronk7
88ab6ab46b Deleted duplicate table label2 from XMLDB schema 2006-09-05 16:09:15 +00:00
stronk7
ea7f147ef5 Now the sessions2 table is UTF8 migrated ok. 2006-09-05 16:04:50 +00:00
moodler
957861f785 Better robustness and basic checking for get_parent_contexts 2006-09-05 09:30:40 +00:00
moodler
43c5b272af New string for blocks 2006-09-05 09:16:19 +00:00
moodler
dbed4286da Cleaned up headers when editing roles for blocks 2006-09-05 09:15:52 +00:00
toyomoyo
3924b9884b adding capabilities 2006-09-05 08:50:23 +00:00
skodak
e778a40617 minor include cleanup 2006-09-05 08:27:14 +00:00
moodler
91be52d78e Get the block name correctly 2006-09-05 06:30:12 +00:00
moodler
ccbdfdc720 Just changed the order around a bit 2006-09-05 06:13:53 +00:00
moodler
2244c22d72 Use the new config variable as a default for paging 2006-09-05 06:11:48 +00:00
moodler
42093cca5c Added coursesperpage so paging can be controlled 2006-09-05 03:28:25 +00:00
moodler
61647ccb92 Use the defaultsetting if the variable isn't set yet 2006-09-05 03:27:08 +00:00
moodler
75e8eaebe7 Merged MDL-6431 into HEAD 2006-09-05 03:15:09 +00:00
vyshane
4729012f4c Fixed warning 2006-09-05 03:07:56 +00:00
cap2501
c572cc4dc6 updates to accommodate changes to commands.php 2006-09-05 00:50:08 +00:00
cap2501
5be392bd10 Updated so nothing in the database is being manipulated directly except for the block position. look into moving this functionality into the blocks_execute_action. 2006-09-05 00:47:47 +00:00