57055 Commits

Author SHA1 Message Date
Petr Škoda
f763b33dba MDL-36031 add unit tests for expiry notifications of manual enrolments 2012-10-13 21:21:53 +02:00
Petr Škoda
4c9e03f0ac MDL-36031 implement message redirection for unit testing 2012-10-13 20:00:54 +02:00
Petr Škoda
e0db105bab MDL-35917 fix cohort phpdocs
Credit goes to Brian Kremer, thanks!
2012-10-13 17:54:30 +02:00
Petr Škoda
fe67134eaa MDL-35854 fix username generator
This eliminates infinite loop and also fixes potentially invalid email derived from usernames created from unicode first/last name.
2012-10-13 09:57:35 +02:00
Petr Škoda
550790153a MDL-35904 send notifications from main admin and improve coding style 2012-10-13 09:52:45 +02:00
Petr Škoda
3ed5751685 MDL-35904 improve caching in get_admin() and fix order of records from get_admins() 2012-10-13 09:52:39 +02:00
Petr Škoda
83828a7725 MDL-35955 use built in spell checker if tinymce spelling plugin disabled 2012-10-13 09:49:58 +02:00
Tim Hunt
1c76fc96d1 MDL-35964 blocks: prevent undeletable blocks being deleted!
This commit simplifies the logic, so that $CFG->undeletableblocks
applies to all blocks, not just ones on certain page types in the
system context.

It also makes the setting apply to adding blocks, so you cannot
accidentally add a block that you cannot delete.
2012-10-12 20:36:02 +01:00
Andrew Robert Nicols
a0bef1fb08 MDL-34354 Set default width for all chooser dialogues 2012-10-12 10:21:28 +01:00
Damyon Wiese
26af81027f MDL-35726: Use a different form identifier for each form when using "Save and next"
This prevents a bug where the next student feedback will default to the values that
were on the last submitted form. This is a similar case to having multiple instances
of the same form on the same page - each one needs a unique identifier to distinguish
between them. In this case I include the $rownum which changes as you go to each student
in the list.
2012-10-12 12:03:40 +08:00
Damyon Wiese
1defeabf2c MDL-35710: Minor comment formatting fixes 2012-10-12 08:45:15 +08:00
Ruslan Kabalin
c14685e80f MDL-35710 mod_assign Add submission_editable paramenter to event object
This will allow to keep assessable_submitted event object structure consistent
throughout the system, while particular modules could define own parameters
within params variable.

This module defines submission_editable parameter to reflect if user can edit
submission before assessment has been done.
2012-10-12 08:40:42 +08:00
Ruslan Kabalin
f04523f07e MDL-35710 mode_assign Make submission event trigger name more precise 2012-10-12 08:40:42 +08:00
Jonathan Harker
f335bebd83 MDL-36015 lib/bennu: use static functions correctly. 2012-10-12 13:31:47 +13:00
Eloy Lafuente (stronk7)
2105f57590 Merge branch 'MDL-35858-master' of git://github.com/FMCorz/moodle 2012-10-12 02:15:34 +02:00
Rossiani Wijaya
2628edb110 MDL-33815 Online Users block: Add query condition to filter out deleted users and lastaccess date greater than now 2012-10-11 16:02:16 +08:00
Ankit Agarwal
89eee2f36d MDL-28965 administration: Updating description string for the setting navshowallcourses 2012-10-11 14:22:34 +08:00
Ankit Agarwal
0f357885b2 MDL-34274 book: adding restore log rules for the new actions 2012-10-11 13:32:00 +08:00
Ankit Agarwal
d3bf90ae04 MDL-34274 book: Adding ability to log chapter updates 2012-10-11 11:46:15 +08:00
Ankit Agarwal
131688cf94 MDL-34274 book: Adding ability to log chapter view and chapter print 2012-10-11 11:46:15 +08:00
Adrian Greeve
c0e98e83c8 MDL-25275 - mod/data - Added a check box to eliminate date searches if desired. 2012-10-11 11:27:26 +08:00
Ankit Agarwal
b512b9dee2 MDL-31010 comments: setup_course should update if passed courseid is different from the cached one 2012-10-11 10:55:37 +08:00
Eloy Lafuente (stronk7)
28990bbef4 Merge branch 'MDL-35715-master' of git://git.luns.net.uk/moodle 2012-10-11 01:48:53 +02:00
Andrew Robert Nicols
e4a8f00c03 MDL-35959 Correct footer for M.core.dialogue 2012-10-10 11:01:52 +01:00
Eloy Lafuente (stronk7)
566682e8e5 Merge branch 'w41_MDL-28980_m24_expirywarning' of git://github.com/skodak/moodle 2012-10-10 11:22:22 +02:00
Petr Škoda
9f4a3c73cd MDL-28980 fix notification defaults to use new expirynotify combo logic 2012-10-10 11:19:10 +02:00
Eloy Lafuente (stronk7)
05c301a109 Merge branch 'w41_MDL-35691_m24_intsizes' of git://github.com/skodak/moodle 2012-10-10 10:58:22 +02:00
Petr Škoda
633f324896 MDL-35691 fix bogus mysql integer size detection 2012-10-10 10:33:18 +02:00
Eloy Lafuente (stronk7)
f6bfcaf6b3 Merge branch 'master_MDL-34848' of git://github.com/danmarsden/moodle 2012-10-10 09:57:00 +02:00
Eloy Lafuente (stronk7)
be205a847a Merge branch 'w41_MDL-28980_m24_expirywarning' of git://github.com/skodak/moodle 2012-10-10 09:50:25 +02:00
Petr Škoda
da6cf13f00 MDL-28980 use correct instance when informing enroller 2012-10-10 09:45:16 +02:00
Petr Škoda
493057fd27 MDL-28980 fix repeated enroller expiry notification 2012-10-10 09:41:30 +02:00
Dan Marsden
828b6925c0 MDL-34848 SCORM: rewrite over complicated scorm_print_overview to use a single loop and make a single check for attemptstatus 2012-10-10 20:38:06 +13:00
Marina Glancy
43aadf0401 MDL-33857 Increase performance of queries for Server files repository (small improvements) 2012-10-10 15:21:27 +08:00
Marina Glancy
b8de262139 MDL-33857 Increase performance of queries for Server files repository
- file_info class now has new methods get_non_empty_children and count_non_empty_children; added default implementation;
- all core classes extending file_info have their implementation of those methods;
- class repository_local_file used for caching get_children() results is removed;
- class repository_local rewritten to use new methods from file_info;
- added caching of retrieved modules in file_browser::get_file_info_context_module() - this query is slow and executed multiple times on big servers
2012-10-10 15:21:26 +08:00
Sam Hemelryk
c2e899a444 MDL-22955 output: Forced SVG use in unit tests for pix to fix unit test fails 2012-10-10 14:14:50 +08:00
Aparup Banerjee
364ca5d216 Merge branch 'MDL-35231_master' of git://github.com/lazydaisy/moodle 2012-10-10 13:01:32 +08:00
Aparup Banerjee
e5dba28cca Merge branch 'w41_MDL-35839_m24_enroldeletecleanup' of git://github.com/skodak/moodle 2012-10-10 10:29:33 +08:00
AMOS bot
a43b1dae7c Automatically generated installer lang files 2012-10-10 00:34:18 +00:00
Eloy Lafuente (stronk7)
dbaf9d448d Merge branch 'wip-MDL-22955-m24' of git://github.com/samhemelryk/moodle 2012-10-10 00:35:11 +02:00
Eloy Lafuente (stronk7)
49b1c61e5e Merge branch 'w41_MDL-28980_m24_expirywarning' of git://github.com/skodak/moodle 2012-10-10 00:22:11 +02:00
Simon Coggins
98ce522494 MDL-35581 lib: Help popups misaligned for right-to-left languages 2012-10-10 08:54:50 +13:00
Eloy Lafuente (stronk7)
2beba29760 MDL-35898 test reset: tidyup comments (forgot to amend previous commit, grrr). 2012-10-09 11:56:42 +02:00
Eloy Lafuente (stronk7)
02c4953ea5 Merge branch 'w41_MDL-35898_m24_coursereset' of git://github.com/skodak/moodle 2012-10-09 11:54:15 +02:00
Aparup Banerjee
d022f63202 MDL-35587 fixed up whitespaces 2012-10-09 16:35:32 +08:00
Aparup Banerjee
832e5f5957 Merge branch 'MDL-35587' of git://github.com/rlorenzo/moodle 2012-10-09 16:27:28 +08:00
Petr Škoda
70cae08406 MDL-28980 improve expiry notification inline docs 2012-10-09 10:03:59 +02:00
Petr Škoda
13d5c93872 MDL-35898 include static course caches in test resets 2012-10-09 09:43:08 +02:00
Aparup Banerjee
cbc15c76ea Merge branch 'MDL-34819-master' of git://github.com/StudiUM/moodle 2012-10-09 15:40:20 +08:00
Aparup Banerjee
7b1c902acc Merge branch 'wip-MDL-30754-m24' of git://github.com/samhemelryk/moodle 2012-10-09 14:32:13 +08:00