Commit graph

1351 commits

Author SHA1 Message Date
Dongsheng Cai
866354a905 MDL-21951, improve comments performance 2010-04-09 09:03:51 +00:00
Petr Skoda
98da60215e MDL-22033 groupings now enabled unconditionally, groupmembersonly kept as experimental - this simplifies groups code logic a bit, user interface changes should not be significant because the groupings are not visible much until at least one created; hopefully the new description of groupmembersonly will have to preventsome gradebook complaints 2010-04-07 07:37:12 +00:00
Petr Skoda
00b41d8fe1 MDL-21696 removing old translation UI which can not work any more + removing unused string_manager code 2010-04-06 11:34:10 +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
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
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
ef330d9533 MDL-22015 AMOS - making room for new string manager 2010-04-01 18:50:28 +00:00
Petr Skoda
62cebcc7a3 fixed code completion 2010-04-01 12:19:37 +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
David Mudrak
5f248e13fe MDL-21694 Reverted the order of the locations to search for strings
This reverts commit 57d8644758.
2010-03-29 22:21:34 +00:00
David Mudrak
57d8644758 MDL-21694 Changed the order of the locations to search for strings 2010-03-29 15:19:54 +00:00
David Mudrak
49da4a5fa8 MDL-18903 All outgoing emails can be diverted into a single address
This is highly useful when developing or debugging any emailing feature.
I am going to backport this after the end of the current Ice Age.
2010-03-25 01:29:02 +00:00
Dan Poltawski
ed28d08878 moodlelib MDL-20110 - allow remoteip_in_list to return true for cli access
Previously it always failed and restricted access for users blocking ips and
running cron from cli
2010-03-21 15:03:26 +00:00
Petr Skoda
9707279af6 MDL-21068 do not show admin usernames in cron logs 2010-03-18 22:00:09 +00:00
Andrew Davis
6c5fcef746 rating MDL-21657 changing from ratings (plural) to rating (singular) 2010-03-16 09:37:31 +00:00
Andrew Davis
a09aeee47b rating MDL-21657 first commit for rating library 2010-03-16 05:57:51 +00:00
Petr Skoda
00dadbe164 MDL-21742 fixed serious regressions - require_login(); could not be called after setting up themes (we need this in several places, this will be improved later) + it is too late to set up default local in require_login() because some scripts may not even call this - such as CLI 2010-03-02 11:51:36 +00:00
Dan Poltawski
ff297eca79 moodlelib: sync_metacourse MDL-20626 wasn't respecting hidden role assignments
This causes hidden role assignments to become public on metacourses

Many thanks to Daniel Neis for the patch

forward ported from MOODLE_19_STABLE
Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
2010-02-24 09:03:11 +00:00
Petr Skoda
9a9012dc8f MDL-21590 fixed icons in navigation lib + clean up of modinfo (planned removeal of legacy use of urlencode since 1.8 - we use serialize and utf8 is ok now) 2010-02-14 20:18:10 +00:00
jerome mouneyrac
79f1d9538a webservice MDL-12866 add PARAM_EMAIL 2010-02-11 09:04:39 +00:00
jerome mouneyrac
5a1861ee32 webservice MDL-21510 added two new DEFINE values: NULL_ALLOWED and NULL_NOT_ALLOWED 2010-02-08 03:49:52 +00:00
Petr Skoda
0bb38e8c04 MDL-21400 JS != ajax and page requirements are also CSS - making new special lib file for page requirements 2010-02-07 08:45:21 +00:00
jerome mouneyrac
382b9ceab3 webservice MDL-21510 added three defines for the description of ws optional value:
VALUE_REQUIRED - if the parameter is not supplied, there is an error
VALUE_OPTIONAL - if the parameter is not supplied, then the param has no value
VALUE_DEFAULT - if the parameter is not supplied, then the default value is used
2010-02-05 02:58:24 +00:00
Penny Leach
287efec6f6 mnet MDL-21276 get rid of all the $MNET* globals 2010-02-02 03:13:40 +00:00
Rossiani Wijaya
34d2b19a15 MDL-16919 - Convert uppercase to lowercase for param_username and updating test result in testmoodlelib. 2010-01-14 07:18:06 +00:00
jerome mouneyrac
eec99048c2 webservice MDL-20805 move token constant to moodlelib 2010-01-13 10:05:49 +00:00
Rossiani Wijaya
07ed083e4e MDL-16919 - Allow username to contain alphanumeric lowercase characters, underscore (_), hyphen (-), period (.) or at symbol (@) 2010-01-13 06:23:54 +00:00
Andrew Davis
24d38a6e6d moodlelib MDL-20918 usergetdate was returning an array in a different order depending on whether or not timezone was set 2010-01-08 06:56:29 +00:00
Petr Skoda
085f71b728 nobug: fixed code completion in eclipse 2010-01-05 17:54:15 +00:00
Petr Skoda
191b267bcd MDL-20790 more page layouts -see base theme for full list; also added new css body class for describing current layout; base layout is now default for beter BC; require_login() now sets 'incourse' layout automatically 2009-12-27 12:02:04 +00:00
Petr Skoda
73e504bca9 MDL-20799 renewed support for alternative theme dir location 2009-12-23 18:52:42 +00:00
Penny Leach
0a2a36f737 lib/moodlelib MDL-21130 added helper partial() function
this helps to create callbacks with partially bound arguments. woot!
2009-12-17 08:34:07 +00:00
Petr Skoda
2f67a9b3a5 MDL-20700 whitespace terror returns yet again 2009-12-16 22:22:37 +00:00
Petr Skoda
f44b10ed93 MDL-21139 replace all yui functions/methods with yui2 to make room for yui3 2009-12-16 20:25:14 +00:00
Petr Skoda
78946b9bdb MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks 2009-12-16 18:00:58 +00:00
Sam Hemelryk
862940c033 moodlelib MDL-21060 Editing require_course_login to properly set page vars for the front page course 2009-12-10 01:57:01 +00:00
Petr Skoda
edb5da8331 MDL-20934 'not cached' flag used in all auth plugins that do not need the password 2009-11-23 21:50:40 +00:00
Eloy Lafuente
451db46177 MDL-20941 store hashed username into user->email field for deleted users. Merged from 19_STABLE 2009-11-23 18:50:47 +00:00
Penny Leach
edf1fc350a portfolio: MDL-20892 moved portfolio/type/* plugins to portfolio/* 2009-11-18 13:27:38 +00:00
Eloy Lafuente
e58269e4fa MDL-20846 creating users on restore - part2 - hack login to inform and
allow 'restored' users to reset their password. Merged from 19_STABLE
2009-11-18 01:05:58 +00:00
Petr Skoda
4c1ba3ffc7 MDL-18006 MDL-18807 MDL-20853 merging sam's changes from MOODLE_19_STABLE, going to fix some more problems in this new code soon 2009-11-17 16:11:25 +00:00
Petr Skoda
d5a8d9aa71 MDL-20625 new delegated transaction support in DML 2009-11-07 08:52:56 +00:00
Dan Poltawski
8843e0bb3c lib/phpmailer MDL-20701 - Convert to moodle_phpmailer class
Stage 2 - We now extend phpmailer and do our customisations in our subclass
rather than directly in the original file.

Previously we modified SetLanguage(), but I have not carried that change over
because I could not see code paths where this gets executed.(See bug)

I tested the header/content of the old class vs this one and think the changes
are all carried over. (If anyone has clever thoughts for how to unit test this
mailing out it would be useful, especially for upgrading phpmailer).
2009-11-03 21:02:36 +00:00
Sam Hemelryk
76d9df3f1d calendar MDL-20601 Conversion of calendar to mforms and new html editor + file API 2009-11-02 03:50:56 +00:00
Petr Skoda
117bd74897 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 11:31:16 +00:00
Petr Skoda
10729aaaf2 MDL-20695 set_field does not return false any more, instead throws exception 2009-10-31 22:53:27 +00:00
Nicolas Connault
1c7b8b934b MDL-19676 MDL-14408 MDL-8776 Blog improvements 2009-10-30 07:25:50 +00:00