1244 Commits

Author SHA1 Message Date
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 &nbsp characters MDL-7179 2006-10-23 13:42:23 +00:00
skodak
da259fa10a Checkbox value not saved when saving changes from admin search page MDL-7177 + other fixes to make it behave more like settings.php; merged from MOODLE_17_STABLE 2006-10-23 12:05:33 +00:00
stronk7
789ab3ff24 Killing all sql_paging_limit() uses
Merged from MOODLE_17_STABLE
2006-10-22 22:49:54 +00:00
stronk7
e0251aea34 Added two more tests:
- To check adding numerial fields not null + default = 0
- To test set_field() with TEXT data

Merged from MOODLE_17_STABLE
2006-10-21 17:25:44 +00:00
moodler
e4814bbcdc Merged sitecontext fix from stable 2006-10-20 05:18:24 +00:00
skodak
82a4eee1a2 fixed rolesactive notice during installation; merged from MOODLE_17_STABLE 2006-10-19 22:18:22 +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
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
toyomoyo
a6eb09d977 merged added code to force mysql db to change default encoding during fresh installation 2006-10-18 07:26:04 +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
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
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
stronk7
ba4aa5ec72 Added one more XMLDB test for find_sequence_name()
Merged from MOODLE_17_STABLE
2006-10-16 17:58:01 +00:00
skodak
23a97d83e8 reverting moved $SITE reinitialisation into setting method, it was not a good idea after all; merged from MOODLE_17_STABLE 2006-10-16 08:54:37 +00:00
skodak
b27b0d5a03 MDL-6985 Role Short name cannot be modified; merged from MOODLE_17_STABLE 2006-10-16 08:34:44 +00:00
skodak
6192fd6860 fixed error message when empty site full or short name - moved $SITE reinitialisation into setting method; merged from MOODLE_17_STABLE 2006-10-16 07:54:22 +00:00
skodak
b89639f9ef fixed error message when empty site full or short name; merged from MOODLE_17_STABLE 2006-10-16 07:37:41 +00:00
moodler
47bc16f607 It is now no longer possible to upgrade to 1.8 or later from non-Unicode
Moodle.   Admins get a message explaining they need to upgrade to 1.7.x first.

MDL-6857
2006-10-16 07:32:05 +00:00
skodak
e268cc4a5d moved header after the redirects and require_logout; merged from MOODLE_17_STABLE 2006-10-16 06:52:01 +00:00
stronk7
1037988787 Now admin/index.php checks for proper prefixes (MDL-6230)
Merged from MOODLE_17_STABLE
2006-10-13 23:49:48 +00:00
moodler
854792457c Merged tooltips from stable 2006-10-12 04:02:22 +00:00
moodler
c6d33fce5b Merged fixes from stable 2006-10-12 03:31:48 +00:00
toyomoyo
55656968b3 do not write inherit into db! 2006-10-10 09:22:38 +00:00
stronk7
97ab73aad4 Add odbc_msql dbtype to a bunch of places. 2006-10-09 22:55:55 +00:00
stronk7
2d31c39397 Not necessary to set unicodedb for each admin/index.php invocation
because setup.php saves it if needed.
2006-10-09 16:33:31 +00:00
stronk7
9b3bacf077 Raising MSSQL min req. to 2005 (9.0)
Merged from MOODLE_16_STABLE
2006-10-09 16:19:29 +00:00
skodak
badc7070cd removed obsoleted backup configuration scripts 2006-10-08 09:51:22 +00:00
skodak
b15d469ec2 Error when adding Recent activity as a sticky block MDL-6801 2006-10-08 08:44:32 +00:00
skodak
14df27ad3c fixed wrong redirect when editing blocks in stickyblocks page 2006-10-08 08:36:45 +00:00
moodler
95056a03f9 Fix some doc links 2006-10-06 06:26:06 +00:00
moodler
010b211f51 Fixes for naming of forms to make them XHTML compatible 2006-10-06 06:02:17 +00:00
moodler
e32fb9a4f7 Fixed a misplaced form tag MDL-6861 2006-10-06 05:57:07 +00:00
gustav_delius
6ac0909983 Incomplete user record (the one where the username is still 'changeme') should not be included in user listing. See bug 4570. For some reason this script is not using get_users() but is instead constructing its own sql, so the change to get_users() had to be duplicated here. 2006-10-05 22:45:01 +00:00
stronk7
1db1336bd4 Avoid some notices. Part of MDL-6854 2006-10-05 19:51:47 +00:00
moodler
36832f4d41 Moved sticky blocks to Appearance section 2006-10-05 07:01:28 +00:00
stronk7
cc0bf61676 Now blocks deletion looks both for tables without and with the
"block_" part in table names.
This is an interim situation until "block_" will be required. See:
http://docs.moodle.org/en/Development:Coding#Database_structures
http://tracker.moodle.org/browse/MDL-6786

Also, it's the FIRST use of XMLDB DDL functions inside Moodle! B-)
2006-10-02 23:06:36 +00:00
stronk7
f8ca405052 re-enabling the rename_field() test 2006-10-02 17:42:31 +00:00
moodler
44abaca047 Added another s() to the query strings. Thanks Petr! 2006-10-02 17:09:18 +00:00
stronk7
3033991184 Set debug off on tests 2006-10-02 16:26:34 +00:00
moodler
8eed3b30cf Strip slashes from admin search string (it's ok, it never gets near a database) 2006-10-02 13:35:28 +00:00
moodler
86a1dca773 Fixed overzealous cleaning MDL-6779 2006-10-02 13:26:02 +00:00
moodler
455065f9ed Bring Sticky Blocks into the admin fold 2006-10-02 06:58:46 +00:00
moodler
80ee828de3 Fixed typo in capability name 2006-10-02 06:39:55 +00:00
moodler
36e5266fc1 Added search box for searching admin settings 2006-10-02 06:16:50 +00:00
vinkmar
e32df7aab1 links added to section titles 2006-10-02 06:02:52 +00:00
vinkmar
e898f2b731 changes made for admin search page 2006-10-02 05:53:39 +00:00
vinkmar
1857cd7ff5 Admin search function.
Takes a "query" parameter... will be written into admintree block
2006-10-02 05:52:39 +00:00
stronk7
cba6b7049a Enabling rename_field() test 2006-10-01 23:06:35 +00:00