9521 Commits

Author SHA1 Message Date
Petr Skoda
a23f02ed50 fixed typo 2010-04-10 18:27:05 +00:00
Petr Skoda
e372f4c7c1 MDL-22050 removing moodle/langconfig duplicates
AMOS BEGIN
  MOV [thisdirection,core],[thisdirection,core_langconfig]
AMOS END
2010-04-10 18:26:20 +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
0a933ae65d MDL-22050 removing moodle/langconfig duplicates
AMOS BEGIN
  MOV [firstdayofweek,core],[firstdayofweek,core_langconfig]
AMOS END
2010-04-10 17:44:05 +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
53a78cef28 MDL-21695 help files replaced by standard strings - basic infrastructure in place, no strings converted yet 2010-04-10 09:10:08 +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
Dongsheng Cai
ba74f517e6 MDL-21146, default license will be locked to prevent from disable, move site default license from frontpage to license config page 2010-04-09 19:40:23 +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
Dongsheng Cai
535b4a51c1 MDL-21941, change language strings for comments api 2010-04-08 01:53:48 +00:00
Tim Hunt
59be14de39 questionlib: MDL-21828 Fix database query that does not work in Oracle.
Bug report and fix thanks to David Binney.
2010-04-07 09:47:19 +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
e8c2189d78 MDL-21655 marking groupid parameters as unused when assigning/unassigning roles because those were never implemented and are not planned to be ever implemented 2010-04-07 07:07:37 +00:00
Dongsheng Cai
4b201bc6f5 MDL-19118, comments api improvement 2010-04-07 06:42:17 +00:00
Petr Skoda
f46eba7e7d MDL-19917 it is now possible to recover installation when it stops on some blocks trouble 2010-04-06 19:52:45 +00:00
Petr Skoda
6f4f82f262 MDL-19157 adding missing all hosts mnet entry 2010-04-06 19:37:59 +00:00
Petr Skoda
199c198137 MDL-19928 adding unofficial support for the cherokee web server + adding some notes about other servers 2010-04-06 19:23:47 +00:00
Petr Skoda
f56af8884d MDL-21146 fixed install regression - copypasted the setting of active license setting from ugprade code 2010-04-06 18:52:38 +00:00
Petr Skoda
f0b9ee18e8 MDL-21146 fixed upgrade regression - we need to create all necessary "files" fields before we start the upgrade, it is too late to do that at the end; reshuffling the field order to mach the general convention of putting dates last; splitting upgrade blocks because we should cleanup the upgrade path right before releasing stable 2.0 2010-04-06 18:45:02 +00:00
Petr Skoda
4fb2306ee4 MDL-21146 $CFG can not be used in low level file operations - please set the defaults elsewhere if really necessary; removing the extra cleaning + undefined notices - please make sure all palces that actually output the strings are processed properly, there is no way around this, cleaning must be always done before output, not just storage; using real nulls where we do not know the value 2010-04-06 18:34:38 +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
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
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
3dcdf440d7 MDL-21657 frankenstyle fix for incorrect rating plurals 2010-04-01 20:33:15 +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
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
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
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
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
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
dee576ebba MDL-21694 Moving editors strings into plugin space 2010-03-29 20:47:57 +00:00
David Mudrak
e6cf48d42a MDL-21694 re-enabling all get_string() performance tests 2010-03-29 15:20:40 +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