Petr Skoda
adf176d711
MDL-22479 removed all get_admin calls from upgrade script, fixed regessions in get_users_from_config() and reimplemented admin support in admin_setting_users_with_capability(), switch non-unique usernames in admin settings to user ids and upgraded existing settings + some more validation
2010-05-18 16:59:08 +00:00
Martin Dougiamas
e641b745ee
MDL-22015 Added a new setting langstringcache to enable/disable the string caching. Developers will want to switch this off. :)
2010-05-17 09:26:17 +00:00
David Mudrak
f53fde9f47
MDL-22015 core_string_manager cache can be disabled by setting $CFG->disablelangdiskcache
2010-05-16 19:58:47 +00:00
David Mudrak
9b3af74c35
MDL-22015 clear string_manager caches on upgrade
2010-05-16 19:37:19 +00:00
David Mudrak
2eebde6e5f
MDL-22015 core_string_manager: caching and performance logging improved
...
The results of merged en + en_local + parentlang + parentlang_local +
lang + lang_local are now saved into disk cache in dataroot/cache/lang/.
The number of get_string() calls, and number of mem cache and disk cache
hits are part of performance logging.
Disk cache must be removed whenever the language packs or their local
customizations are deleted. Disk cache is rebuilt automatically.
2010-05-16 11:45:33 +00:00
Sam Hemelryk
4766a50c19
navigation MDL-22425 Restructured navigation for the nth time plus performance tweaking and course display limit
2010-05-13 09:57:43 +00:00
Andrew Davis
842cd18bc9
rss MDL-22204 added ability for user to reset their rss token
2010-05-13 02:07:57 +00:00
Tim Hunt
14f3ad159d
moodlelib MDL-19418 fix bugs introduced when converting clean_param to preg.
...
Aumusingly, one of the bugs was detected by a unit test that was in Moodle 1.9, but
which for some reason was not in HEAD. I have tidied up the clean_param unit tests
and added a few more.
2010-05-12 12:05:59 +00:00
Andrew Davis
ffa3bfb36f
rss MDL-22204 added library functions to allow the user to get a new rss token
2010-05-12 06:48:59 +00:00
David Mudrak
7d73574c6f
MDL-22406 CLI installer now switches to core_string_manager() after the lang pack has been fetched
2010-05-10 14:46:59 +00:00
Martin Dougiamas
35f7287f7f
MDL-11601 Get rid of leading spaces in days
2010-05-06 06:29:02 +00:00
Martin Dougiamas
03d9401e7d
My Moodle MDL-19124 New version of My Moodle, User profiles and Course profiles, all with block support
...
Thanks very much to Remote Learner Canada, especially Hubert Chathi and Olav Jordan, for their work on the bulk of this code, and also Mike Churchward for supporting them. I worked on it after that (actually simplified it by removing a feature temporarily: multiple pages) to bring it more to what I was imagining, and to provide a base to build on and get all the navigation perfect.
There's still work to do. Some blocks don't quite work as expected, and some of the code still needs upgrading to bring it fully into line with 2.0. We also could use a much better course overview block and better CSS styling of the profile pages. But it's definitely more usable this it was, I think.
2010-05-04 13:04:35 +00:00
Andrew Davis
fcce139aa3
RSS MDL-22204 committing new RSS code. Uses a token to ID the user. RSS feeds also generated/updated as needed rather than by cron.php
2010-05-02 11:43:57 +00:00
Sam Hemelryk
1904e9b35b
backup MDL-22142 This is the user interface for backups, several minor/cosmetic issues still to be ironed out. See the tracker for details
2010-05-01 09:51:39 +00:00
jerome mouneyrac
07ab0c80ec
hub MDL-19309 new site registration form + course publication + community block
2010-05-01 05:05:55 +00:00
David Mudrak
a48bf07993
Fixing Chat event type + handling illegal eventtype displaying
...
Without this fix, chat created events with eventtype set to boolean.
Such value was then used by calendar block to get a string, which
now produces coding_exception.
2010-04-30 10:53:39 +00:00
Martin Dougiamas
323f61de71
MDL-22015 Sort the list of localised country names alphabetically by name, not code.
2010-04-29 07:43:19 +00:00
Martin Dougiamas
fe67f49251
MDL-22204 Adding get_user_key() as a convenience function for user keys
2010-04-29 05:29:51 +00:00
Dan Marsden
30b5ee6b06
Plagiarism Lib MDL-13680 - reverting commit for now.
2010-04-28 02:47:25 +00:00
David Mudrak
fe6a248f5a
MDL-22015 String identifiers are now validated, coding exception thrown otherwise
2010-04-28 00:06:43 +00:00
Dan Marsden
cc3b3fae5d
Plagiarism Lib MDL-13680 - add Plagiarism lib support for modules. - initially including the assignment module and Turnitin service - Backup deliberately excluded at this stage and I expect some of the file handling to change slightly before 2.0 release.
2010-04-27 21:52:07 +00:00
Petr Skoda
832d2d29a6
MDL-21781 removing user from cohorts during delete
2010-04-23 09:18:12 +00:00
Petr Skoda
5fa30fb7a6
MDL-21781 adding cohort as new core subsystem
2010-04-23 09:09:34 +00:00
David Mudrak
f66e44f26c
MDL-15252 Fixed regression: timezone name string may not be defined
2010-04-23 00:11:54 +00:00
David Mudrak
664e45028c
MDL-21694 documenting get_core_subsystem() purpose plus one typo
2010-04-22 19:40:22 +00:00
Petr Skoda
6d16792cf2
MDL-21694 usin new core_subsystesm() in renderers too; adding more docs
2010-04-22 08:45:36 +00:00
Eloy Lafuente
4bfdcfcf60
MDL-21432 backup 2.0 - initial commit. Enable forum backup
2010-04-21 14:17:11 +00:00
Petr Skoda
25346879b7
MDL-22085 support for iso-639-1
2010-04-20 08:36:22 +00:00
Petr Skoda
db975a46c0
MDL-22015 fixed recent regression
2010-04-14 14:37:56 +00:00
Petr Skoda
0aa759b01c
MDL-22015 more get_list_of_countries() refactoring
2010-04-14 14:27:10 +00:00
Petr Skoda
42b702a627
MDL-22015 list of pix names is not used any more
2010-04-14 14:05:39 +00:00
Petr Skoda
97b7d149b6
MDL-22015 deprecated get_list_of_currencies() method - improved string_manager encapsulation
2010-04-14 14:04:21 +00:00
Petr Skoda
f6907ba954
MDL-22015 fixed php docs
2010-04-14 13:37:59 +00:00
Petr Skoda
ef686eb5c8
MDL-22015 new translation_exists() method - improved string_manager encapsulation
2010-04-14 13:16:20 +00:00
Petr Skoda
c11575dbe7
MDL-22015 improved get_string method - it can now fetch strings from any language, not just the current one
2010-04-14 12:51:53 +00:00
Petr Skoda
adea0621fa
MDL-22015 improved country lists
2010-04-14 12:42:48 +00:00
Petr Skoda
b7db66cb09
MDL-22085 language name lists - implementation of iso-639-2 support
2010-04-14 12:14:18 +00:00
Petr Skoda
36f069fd6b
MDL-22084 new API - making a clear distinction between list of our translations and list of all languages defined in ISO 639-3
2010-04-14 10:02:05 +00:00
Petr Skoda
1f96e907ea
MDL-22084 making a clear distinction between list of our translations and list of all languages defined in ISO 639-2
2010-04-14 09:45:49 +00:00
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