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
nicolasconnault
9fa46707f3
MDL-11456 the .grade-report-grader table {} style was cascading down to the popups (which use tables, alas...), so I created a number of css classes which now control color, font etc for caption and feedback cells of the popup.
2007-09-27 18:00:25 +00:00
stronk7
b199b236ba
_new is _blank
2007-09-27 15:10:52 +00:00
jmg324
ef0bd87b3f
generate_email_supportuser needs to set maildisplay for email_to_user to include proper support details.
2007-09-27 12:38:40 +00:00
skodak
ae8adf77c0
MDL-10791 format_float() now supports non-localised output too (. decimal separator forced)
2007-09-27 09:58:40 +00:00
skodak
95aa0af862
MDL-11472 fixed harcoded mdl_ prefix in sql queries
2007-09-27 08:41:19 +00:00
skodak
42626376f3
MDL-11442 removed last instances of global $course
2007-09-27 08:18:28 +00:00
jamiesensei
11a6096775
fixed closing of popup on saving question which was broken and also added closing of popup on cancel.
2007-09-27 08:17:09 +00:00
jamiesensei
cb14dd6316
modifiedby and timemodified is now set when a question is created as well as createdby and timecreated instead of being left as zero
2007-09-27 07:41:58 +00:00
skodak
662a057c77
MDL-11451 adding default ipaddress restriction and 7 days lifetime for user key
2007-09-27 07:06:17 +00:00
skodak
d0cbeafbcb
MDL-11451 fixing silly typo in cap name
2007-09-27 06:56:51 +00:00
tjhunt
411efaee25
MDL-5327 - When making up a default question name from the question text, strip any HTML tags. Merged from MOODLE_18_STABLE.
2007-09-27 06:54:17 +00:00
skodak
0a3bdfaf79
MDL-11451 grade publishing security/privacy improved - new capabilities needed for publishing, by default allowed only for admins; added warning to publishing option
2007-09-27 06:51:54 +00:00
toyomoyo
349a4aea81
fixing a typo
2007-09-27 03:02:01 +00:00
toyomoyo
0893aa30e8
when no gradebook roles is set, there are lots of sql breakages so we should check gradebookroles first
2007-09-27 02:29:46 +00:00
toyomoyo
4d7e30b3d8
modifying get_user_by_capability to handle requests on frontpage courses and sub contexts. MDL-11143
2007-09-27 01:46:41 +00:00
tjhunt
3b0ee367a7
MDL-11466 - failing to check for the case $rs = false in the accesslib performance improvements. Credit for the fix goes to Gareth Morgan.
2007-09-26 21:31:54 +00:00
tjhunt
771b1a46f7
MDL-9331 - Problem with the tables on the quiz index page. Merged from MOODLE_18_STABLE.
2007-09-26 20:45:23 +00:00
tjhunt
2d8bfda03f
MDL-5086 - Improve the formatting of the question import and export help so that the code samples fit. Merged from MOODLE_18_STABLE.
2007-09-26 20:13:47 +00:00
tjhunt
4879c1ab03
Tweak the styles for <pre> tags in help files. These are mostly used for code samples, and they have a grey background and are shown in a different font, so the indent I am getting rid of is not necessarly to make the structure of the document clearn, and usually just means that the code sample does not fit. Merged from MOODLE_18_STABLE.
2007-09-26 20:10:08 +00:00