skodak
9d9c5f15b5
only whitespace beautification
2007-10-02 21:45:49 +00:00
skodak
0b7a912035
MDL-11143 unimportant change
2007-10-02 21:45:02 +00:00
skodak
8e5da17a44
MDL-11562 supportname and supportemail are are now initialized after admin user setup
...
MDL-11566 only site shortname, fullname and desc are required/displayed during installation
MDL-11567 fixed upgradesettings redirects if error in settings
MDL-11143 defaultfrontpageroleid moved to Frontpage settings page (easier to find), speedup
2007-10-02 21:38:53 +00:00
tjhunt
75afe0e7e4
PHP docs for choose_from_menu function. Merged from MOODLE_18_STABLE.
2007-10-02 18:49:04 +00:00
whchuang
3838d99a86
added missing string definition for sectionerror. Fixed MDL-10766
2007-10-02 17:59:06 +00:00
skodak
c57be126c4
DONAL, PLEASE START USING OUR DB EDITOR! the last commit did have invalid XML, incorrect next/prev attributes, different data in install.xml and upgrade.php; the main reason to have this editor was to prevent this type of critical errors ;-)
2007-10-02 16:50:43 +00:00
skodak
266f6b5900
MDL-11555 temporary patch for too long index on mysql - in mysql the limit is 333 unicode chars
...
move the gradebook cleanup to the end of upgrade.php - please keep it there
2007-10-02 16:20:45 +00:00
donal72
1ce61506e5
Version bump for roaming themes. Mods are to mnet_host table. MDL-11545
2007-10-02 16:15:14 +00:00
donal72
1673e13423
Choose the correct theme for SSO-authenticated users. Roaming themes
2007-10-02 16:14:39 +00:00
donal72
22882b6617
Add force_theme and theme attributes to peer class for Roaming Themes
2007-10-02 16:12:41 +00:00
donal72
fcf24328ca
New files for config of MNet roaming themes
2007-10-02 16:10:19 +00:00
donal72
d53b8d4bbb
Display new tabs for the 'Themes' config page in mnet
2007-10-02 16:09:17 +00:00
donal72
2aa1f9bdd9
Instantiate some new strings for roaming themes
2007-10-02 16:08:46 +00:00
donal72
5859f9bbd4
Some strings for roaming themes
2007-10-02 16:07:10 +00:00
donal72
38d507af71
Fix for version no. (date) in upgrade.php
2007-10-02 15:44:36 +00:00
donal72
ac4e96fccd
New database fields in mnet_host for roaming themes
2007-10-02 15:43:11 +00:00
skodak
777b7ed2d1
adding caps for new gradebook settings into has_admin_caps() perf hack in block_admin_tree
2007-10-02 15:33:09 +00:00
skodak
78fa15afc1
fixed typo in last commit - undefined $sql
2007-10-02 15:24:19 +00:00
tjhunt
325898c61e
MDL-11552 - Oops, I missed one bit when merging from OU Moodle.
2007-10-02 13:32:51 +00:00
tjhunt
aad9f920b1
MDL-11552 - Look for the name of an admin report inside the plugin's own lang dir before falling back to the main admin.php lang file.
2007-10-02 13:30:51 +00:00
moodler
38cb976c80
Removing un-needed DISTINCT here actually solves MDL-11546
...
(after discussion with Martin Langhoff in Skype)
2007-10-02 09:45:00 +00:00
nfreear
806ebc150c
Fixes MDL-11161, Activity type text ... beginning of activity links in Screen Reader...moved to end (also MDL- 7436)
2007-10-02 09:36:47 +00:00
martinlanghoff
5903fbf5e7
accesslib: dirty context handling now uses cache_flags
...
get_dirty_contexts() and mark_context_dirty() now use cache_flags
infrastructure. Remove deprecated cleanup_dirty_contexts() - this is
now handled by gc_cache_flags() in a more generic way.
2007-10-02 08:46:27 +00:00
martinlanghoff
bafd7e78e9
moodlelib: Introducing the cache_flags functions
...
These are functions for handling the volatile entries in the
cache_flags table.
get_cache_flags() - get array of current flags
set_cache_flag() - set a single flag
unset_cache_flag() - unset a single flag
gc_cache_flags() - garbage-collect expired flags
2007-10-02 08:39:44 +00:00
martinlanghoff
e4a5c864b5
version bump: introducing cache_flags table to store volatile time-bound flags
...
We are intending to use them for dirty context paths, lightweight
session entries for auth/ldap, and other similar uses...
MDL-11347
2007-10-02 08:38:19 +00:00
martinlanghoff
ba2984bf2b
dmllib: more consistent err handling for execute_sql() and others
...
Silent errors in execute_sql() have been causing us lots of grief.
Turns out that if you have dblogerror set, it _will_ write it to the
logs.
DMLlib wasn't consistent. Most "modern" codepaths were calling both
debugging() and the dblogerror idiom. So we make all calls to
$db->Execute() consistent.
(Some exceptions remain, mostly for hardcoded SQL, such as the SET
statements when we connect...)
2007-10-02 08:34:10 +00:00
gbateson
caf971045a
added 4 new functions for Moodle 1.9 gradebook: "hotpot_get_user_grades", "hotpot_update_grades", "hotpot_grade_item_update" and "hotpot_grade_item_delete"
2007-10-02 07:46:49 +00:00
moodler
0719c922ef
Fixed a notice relating to customcorners not being initialised
2007-10-02 07:16:09 +00:00
donal72
e945004fd1
Bugfix caused by typo in /mnet/lib.php: This issue will have broken mnet for many users.
2007-10-02 06:45:40 +00:00
moodler
5f2a203fa0
Applied DISTINCT as per Martin Langhoff's solution in MDL-11381
...
user/index: ensure each user appears only once in participants list
Regardless of the number of enrolments, ensure we list a single entry
per user using DISTINCT. Much easier to manage than a GROUP BY.
2007-10-02 06:18:30 +00:00
toyomoyo
165088f687
change participants of frontpage course to display all users, if current user has capability MDL-11143
2007-10-02 03:37:30 +00:00
mattc-catalyst
f476ae28eb
MDL-11538: lib/olson - bugfix, olson time-zone import doesn't deal with rule changes in the future
...
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-10-02 01:43:07 +00:00
gbateson
b2ae61320b
use new function "hotpot_stripslashes()" instead of PHP's "stripslashes()" to remove slashes after preg_replace with "e" modifier, because when MSSQL Server is installed, PHP's "stripslashes()" does not remove slashes, even if the Moodle database is not MSSQL
2007-09-30 04:21:52 +00:00
skodak
8df73369ce
MDL-11517 reserved word MOD used in table alias in questions backup code
2007-09-29 16:26:13 +00:00
skodak
446f9d888a
MDL-11516 removed Call-time pass-by-reference when using get_question_options()
2007-09-29 16:18:01 +00:00
skodak
b5116f2afd
MDL-11510 added missing fields in new gradebook backup
2007-09-29 16:07:52 +00:00
skodak
b0dcd1288f
MDL-10383 added new subarray into $SESSION->activegroup which store active group in groupings for users with accessallgroups permission - defaults to 0 on first use; this should solve the problem when user has accessallgroups only in one activity
2007-09-29 13:48:41 +00:00
skodak
41b7618ba2
MDL-11462 fixed PARAM_URL inline focs, uncommented old regex in URL validation library - official TLD not required anymore
2007-09-29 11:01:34 +00:00
skodak
5cf5e181dd
MDL-11504 added grade_letter -> grade_letters migration - will not be executed on dev sites where grade_letters already exists :-(
2007-09-28 21:58:02 +00:00
skodak
d926630485
MDL-11504 fixed defaults in grade_items/display; added decimals and display to grade_items_history
2007-09-28 21:00:31 +00:00
skodak
284abb0925
MDL-11495 grade letter setting improvements:
...
* in_null for decimals defaults checks
* store letter settings only in database - no cfg settings
* separate configuration page for letters only - pluginselector+admin tree
* new capability to manage grade letters - similar to scales and outcomes
* added grade_letters db index
* grade letters related minor bugfixing
2007-09-28 20:12:43 +00:00
nfreear
5f5faac04a
Fixes MDL-11496, SQL error when deleting a unit via the (ou) Publisher - delete groupings.
2007-09-28 12:57:15 +00:00
skodak
dafbc521ba
MDL-11495 removed GRADE_DECIMALS_DEFAULT null constant, is_null() used instead for tests, -1 used in menu options
2007-09-28 11:08:44 +00:00
nicolasconnault
34d6a78987
MDL-11406 Removed lang files from block folder, and put them in en_utf8 and fr_utf8
2007-09-28 08:46:25 +00:00
nicolasconnault
e9096dc2ca
MDL-11480 Reviewed, tested, and pplied Petr's patch.
2007-09-28 07:55:51 +00:00
toyomoyo
84b6310d00
adding a fieldset
2007-09-28 07:25:09 +00:00
toyomoyo
db4ff7f8bc
minor fixes/typo for notes
2007-09-28 07:21:48 +00:00
toyomoyo
667e08ef42
minor fixes for bulk user actions, adding ?>, using delete_user() function to delete users, etc
2007-09-28 03:07:03 +00:00
toyomoyo
e5ea84faba
MDL-11478, fixing a notice
2007-09-28 01:53:45 +00:00
stronk7
6bb919860b
Passing $course to require_login() provides correct and
...
automatic navlinks to the course. MDL-11452
2007-09-27 23:37:42 +00:00