40426 Commits

Author SHA1 Message Date
Martin Dougiamas
dcc779cca4 lib/accesslib MDL-21655 Added useful function count_enrolled_users() to help counting all participating users in a context 2010-04-05 07:34:50 +00:00
Moodle Robot
725b420dd1 Updated the HEAD build version to 20100405 2010-04-05 00:42:13 +00:00
Petr Skoda
fb6b53724c MDL-22015 new amos string manager - needs new lang format and removal of '_utf8' suffix from dir names; caching is not implemented yet 2010-04-04 21:18:57 +00:00
Petr Skoda
2098e5180a MDL-16487 frontpage now properly detects all kinds of plugin upgrades and redirects to admin page - previously only main upgrade and modules forced the redirect + performance improvements (for admin account only) 2010-04-04 20:32:21 +00:00
Petr Skoda
846e4e177e MDL-16438 separating subplugin detection from the plugin_supports code because it was running into infinite loops in get_string() which is often incorrectly used in lib.php files, but the get_string() itself needs to know about subplugins 2010-04-04 19:58:03 +00:00
Moodle Robot
b9dd2a2e56 Updated the HEAD build version to 20100404 2010-04-04 00:42:32 +00:00
Moodle Robot
826b340c08 Updated the HEAD build version to 20100403 2010-04-03 00:43:16 +00:00
Andreas Grabs
69f6d0b4b2 convert old dml syntax in the new one in feedback_get_recent_mod_activity() 2010-04-02 22:09:00 +00:00
Andreas Grabs
b6f2600152 correction of $cm, $course, $feedback setup 2010-04-02 21:26:17 +00:00
Andreas Grabs
53ba55eca2 insert calls to require_capability() 2010-04-02 20:38:17 +00:00
Helen Foster
3b9cc3e0ec MDL-21218 new help file thanks to David Mudrak for help with wording 2010-04-02 12:38:28 +00:00
Helen Foster
b13a608582 lang string MDL-21218 small rewording 2010-04-02 12:03:56 +00:00
Andreas Grabs
c987dbad0e removed all calls to feedback_load_capabilities() 2010-04-02 11:34:28 +00:00
David Mudrak
2ecf267ccb MDL-21845 user profile: Fixed missing multilang support
Merged from 1.9
2010-04-02 09:45:36 +00:00
Petr Skoda
6682cf1813 MDL-22019 fixed notices caused by deleting blocks without unisntalling 2010-04-02 08:26:59 +00:00
Petr Skoda
593c913d94 MDL-22015 moving legacy stuff into the get_string() and making the function get_string() the public api, no other code should call the string_manager->get_string() 2010-04-02 08:23:08 +00:00
Moodle Robot
2cb6d1b530 Updated the HEAD build version to 20100402 2010-04-02 00:42:35 +00:00
Petr Skoda
20e0ad6cde MDL-22015 more advances in frankenstyle usage needed for new amos_string_manager - fixed configurable admin dir 2010-04-01 20:56:08 +00:00
Petr Skoda
88623be168 MDL-22015 more advances in frankenstyle usage needed for new amos_string_manager 2010-04-01 20:54:27 +00:00
Petr Skoda
3dcdf440d7 MDL-21657 frankenstyle fix for incorrect rating plurals 2010-04-01 20:33:15 +00:00
Petr Skoda
b3130713af MDL-21694 moving message processor strings to correct plugin location 2010-04-01 19:43:07 +00:00
Petr Skoda
a845d68b9f MDL-21694 moving filters strings to correct plugin location 2010-04-01 19:27:30 +00:00
David Mudrak
4d84db2725 Fixed incorrect getting of Exception message 2010-04-01 19:06:02 +00:00
Petr Skoda
ef330d9533 MDL-22015 AMOS - making room for new string manager 2010-04-01 18:50:28 +00:00
Petr Skoda
c80e7a15be MDL-22006 fixed problems with E_ALL in PHP 5.3., thanks Mauno Korpelainen for the report 2010-04-01 17:14:55 +00:00
Tim Hunt
9baf267016 tablelib: MDL-22011 refactor flexible_table::get_sql_sort into several smaller methods.
Also, change assignemnt to use a separate static method, rather than overloading get_sql_sort.
2010-04-01 13:09:24 +00:00
Petr Skoda
62cebcc7a3 fixed code completion 2010-04-01 12:19:37 +00:00
Dongsheng Cai
489d8a755c "MDL-13766, check if plugin file existed before displayed in admin page" 2010-04-01 06:09:53 +00:00
jerome mouneyrac
a8dd0325b9 web service MDL-21999 web service support optional parameter now (not only optional array/object key) 2010-04-01 03:17:34 +00:00
Moodle Robot
f81806aadc Updated the HEAD build version to 20100401 2010-04-01 00:42:50 +00:00
Tim Hunt
26e3ae92f2 grade import: MDL-21987 Problem with repeated imports of the same grade.
The thanks to Petr (skodak).

Here is what I learned while working on this:

1. when explicitly setting the final grade (manual edit or import),
   it is important that ->overridden gets set, and it should get set
   to the time when the override was done.

2. but only on certainly sorts of grade item, and the condition for
   setting the flag is different when it is the feedback being changed
   or the grade being changed, hence the two different tests
   is_overridable_item and is_overridable_item_feedback.

3. but, if the grade and feedback is not actually changed, then the ->overridden
   timestamp should not be changed. (That was the bit that was buggy.)
2010-03-31 13:50:56 +00:00
Dongsheng Cai
34e20eb422 "MDL-19118, improve comments management" 2010-03-31 09:53:05 +00:00
jerome mouneyrac
610a447ebe web service MDL-13126 little change into create user description (it was not correct and also breaking a test into the external function). 2010-03-31 09:25:59 +00:00
Sam Hemelryk
df42bd2c03 pix MDL-21996 Added missing filter icon 2010-03-31 09:08:51 +00:00
Petr Skoda
a8bad673aa MDL-21655 improved access control 2010-03-31 08:42:36 +00:00
Petr Skoda
413ba14194 MDL-21655 whitespace fixed 2010-03-31 08:34:36 +00:00
Petr Skoda
cc3c90ac40 MDL-21655 whitespace fixed, better access control and moodle_url cleanup 2010-03-31 08:33:17 +00:00
Petr Skoda
86758a5c60 MDL-21655 improved access control 2010-03-31 08:23:33 +00:00
Petr Skoda
61ef8f9f88 MDL-20204 removing deprecated admin headers 2010-03-31 08:05:53 +00:00
Petr Skoda
4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
Dongsheng Cai
d1d4813ff2 "MDL-21146, improve file license code" 2010-03-31 03:08:05 +00:00
Moodle Robot
1e9bbac81f Updated the HEAD build version to 20100331 2010-03-31 00:43:33 +00:00
Petr Skoda
50dea1b791 fixed incorect docs that were breaking install of mnet stuff 2010-03-30 20:02:56 +00:00
Petr Skoda
b64b465ca1 MDL-21146 adding missing license install code 2010-03-30 19:59:54 +00:00
Petr Skoda
81634f036d MDL-21993 somebody needs to fix the chicken-egg mnet problem during install/upgrade 2010-03-30 19:51:34 +00:00
Dongsheng Cai
5aaa76eaef "MDL-21943, remove hardcoded css" 2010-03-30 09:18:34 +00:00
Dongsheng Cai
a0e68ffc81 "MDL-21945, do not pass by reference to plugin_callback" 2010-03-30 07:49:21 +00:00
Dongsheng Cai
b9a689e8e3 "MDL-21952, comments api, fixed delete_record" 2010-03-30 07:38:47 +00:00
Dongsheng Cai
2057b5ef50 "MDL-21959, comments api, fixed javascript events" 2010-03-30 03:59:58 +00:00
Moodle Robot
be87881fd0 Updated the HEAD build version to 20100330 2010-03-30 00:43:33 +00:00