1314 Commits

Author SHA1 Message Date
Petr Skoda
38c253f9aa MDL-15252 string manager improvements - it is possible to specify custom lang locations in config.php 2010-04-10 20:35:52 +00:00
Petr Skoda
cae07b1cdc MDL-22052 pruning pre-amos string related code 2010-04-10 19:28:34 +00:00
Petr Skoda
3554590cc8 MDL-22050 removing old langconfig automatic redirection + adding missing string debug (disabled for now) 2010-04-10 19:02:11 +00:00
Petr Skoda
a23f02ed50 fixed typo 2010-04-10 18:27:05 +00:00
Petr Skoda
9006ded3a7 MDL-22050 dear 'thischarset', we did not need you since 1.7, time to say good bye, RIP 2010-04-10 18:20:54 +00:00
Petr Skoda
6cf9b98a4a MDL-22050 removing moodle/langconfig duplicates
AMOS BEGIN
  MOV [strftimedate,core],[strftimedate,core_langconfig]
  MOV [strftimedatefullshort,core],[strftimedatefullshort,core_langconfig]
  MOV [strftimedateshort,core],[strftimedateshort,core_langconfig]
  MOV [strftimedatetime,core],[strftimedatetime,core_langconfig]
  MOV [strftimedatetimeshort,core],[strftimedatetimeshort,core_langconfig]
  MOV [strftimedaydate,core],[strftimedaydate,core_langconfig]
  MOV [strftimedaydatetime,core],[strftimedaydatetime,core_langconfig]
  MOV [strftimedayshort,core],[strftimedayshort,core_langconfig]
  MOV [strftimedaytime,core],[strftimedaytime,core_langconfig]
  MOV [strftimemonthyear,core],[strftimemonthyear,core_langconfig]
  MOV [strftimerecent,core],[strftimerecent,core_langconfig]
  MOV [strftimerecentfull,core],[strftimerecentfull,core_langconfig]
  MOV [strftimetime,core],[strftimetime,core_langconfig]
AMOS END
2010-04-10 18:15:30 +00:00
Petr Skoda
c9042db5c7 MDL-22050 removing moodle/langconfig duplicates
AMOS BEGIN
  MOV [parentlanguage,core],[parentlanguage,core_langconfig]
AMOS END
2010-04-10 18:01:49 +00:00
Petr Skoda
bf69b06d1b MDL-22050 removing moodle/langconfig duplicates
AMOS BEGIN
  MOV [locale,core],[locale,core_langconfig]
  MOV [localewin,core],[localewin,core_langconfig]
  MOV [localewincharset,core],[localewincharset,core_langconfig]
  MOV [oldcharset,core],[oldcharset,core_langconfig]
AMOS END
2010-04-10 17:54:39 +00:00
Petr Skoda
3c7e56c4b8 MDL-22050 removing moodle/langconfig duplicates
AMOS BEGIN
  MOV [decsep,core],[decsep,core_langconfig]
  MOV [listsep,core],[listsep,core_langconfig]
  MOV [thousandsep,core],[thousandsep,core_langconfig]
AMOS END
2010-04-10 17:40:58 +00:00
Petr Skoda
61bb07c257 MDL-22050 removing moodle/langconfig duplicates
AMOS BEGIN
  MOV [alphabet,core],[alphabet,core_langconfig]
AMOS END
2010-04-10 17:30:00 +00:00
David Mudrak
30c8dd34f7 MDL-15252 Re-committing all English strings exported from AMOS
From now on, all English strings use the new syntax. They are not
eval()'ed any more and the only valid placeholders are {$a} and
{$a->foobar}. No extra quotes escaping, dollar sign escaping and putting
double percent signs.

The modified files were exported from AMOS database repository in the
new syntax and were re-ordered by stringid. Standard GNU/GPL and PHPdoc
blocks are added. Where there was no copyright note so far, I added the
default one with Martin Dougiamas as the copyright holder.

Live long and prosper.
2010-04-10 14:01:45 +00:00
Petr Skoda
3a915b0667 MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs 2010-04-10 07:24:56 +00:00
Petr Skoda
c7f4e3e246 MDL-21951 reverting changes in moodlelib.php, most probably forgotten debug stuff 2010-04-09 09:43:21 +00:00
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 57d864475860cd437a2aa1a1cef0059df53f9594.
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