Petr Skoda
b2ad1a3aea
MDL-15252 fixed docs
2010-04-14 09:18:13 +00:00
Petr Skoda
9f9193f623
MDL-22061 new string_exists() method - this can be used in some corner cases
2010-04-13 20:14:31 +00:00
David Mudrak
d19e47031c
MDL-22015 Fixing get_string regression
...
The passed $a placeholder object can be some advanced object like $USER for example.
If such object contained other objects or arrays as properties, casting
to string in the loop throws error. This patch just skips all arrays and
objects when trying to find $a property value.
Thanks to Sam H. for spotting this.
2010-04-13 06:22:57 +00:00
David Mudrak
71d2465de9
MDL-15252 renaming the default implementation string_manager
...
We should not use the term 'amos' in Moodle core. core_string_manager
follows the naming style we already have in renderers.
2010-04-12 12:55:42 +00:00
Petr Skoda
f496ada583
MDL-22061 fixed recent regression
2010-04-11 21:13:45 +00:00
Petr Skoda
3518913cc8
MDL-21694 simplified tinymce string handling
2010-04-11 20:37:13 +00:00
Petr Skoda
c2ed166e6d
MDL-22061 workaround for special handling of parentlanguage string
2010-04-11 20:30:58 +00:00
Petr Skoda
ef44fbedb6
MDL-22061 workaround for missing alttext of some emoticons
2010-04-11 20:22:07 +00:00
Petr Skoda
d8fa5a1377
MDL-22059 fixing install_string_manager to work with new installer language formats
2010-04-11 18:26:19 +00:00
Petr Skoda
df973cf57d
MDL-21693 hiding legacy languages with _utf8 in our UI
2010-04-11 14:37:12 +00:00
Petr Skoda
ff67afbd95
MDL-22054 converting course formats to have own lang packs
...
AMOS START
MOV [formatscorm,core],[pluginname,format_scorm]
MOV [formatsocial,core],[pluginname,format_social]
MOV [formattopics,core],[pluginname,format_topics]
MOV [formatweeks,core],[pluginname,format_weeks]
AMOS END
2010-04-11 12:46:14 +00:00
Petr Skoda
150135ab08
MDL-22054 the last blockname removed
2010-04-11 11:57:46 +00:00
Petr Skoda
bac6e62eba
MDL-22054 starting to switch blocks to pluginname
2010-04-11 10:09:59 +00:00
Petr Skoda
49503e5a41
MDL-22054 turning on detection of missing strings + hunting them down
2010-04-11 09:21:18 +00:00
Petr Skoda
fc61cecd6a
MDL-22054 skip loading of missing modules
2010-04-11 08:59:27 +00:00
David Mudrak
a264a47b4e
MDL-15252 Fixing a typo in a function name and param type for array_merge()
2010-04-11 07:42:51 +00:00
Petr Skoda
ae58632885
MDL-22053 removing relative paths from get_plugin|component_directory() because we can be only sure that the absolute paths exists such as in case of $CFG->themedir outside of dirroot; commeting out some simpletes_ stuff which does not seem to be used any more
2010-04-10 23:21:18 +00:00
Petr Skoda
2357ab4921
MDL-15252 language list refactoring
2010-04-10 21:22:15 +00:00
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 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