9685 Commits

Author SHA1 Message Date
moodler
c159f28b6b filter/mediaplugin MDL-19006 Add auto-embedding of images that are linked to. 2009-04-29 07:30:41 +00:00
jerome
f83dfcf686 web services MDL-12886 fix REST/SOAP/XMLRPC test clients (function names are not called tmp_ anymore) 2009-04-28 07:04:50 +00:00
stronk7
e37cd84ad4 MDL-18577 drop enums support - step1: transforming all enums to nomal varchar + prevent creation of new ones 2009-04-27 20:29:01 +00:00
skodak
5b36bcba00 MDL-18985 improved group access control in gradebook exports 2009-04-27 08:51:22 +00:00
tjhunt
54cb131f96 XMLDB: MDL-18980 add missing error message lang strings 2009-04-27 04:05:28 +00:00
nicolasconnault
10f5c0460b MDL-18942 Fixed user selector lang string. Merged from MOODLE_19_STABLE 2009-04-24 07:30:57 +00:00
dongsheng
db523de37d "MDL-18830, add license names strings" 2009-04-24 04:57:24 +00:00
dongsheng
3a1f7a96bf "MDL-13766, improve file picker login interface" 2009-04-24 03:19:22 +00:00
skodak
7ac88172fc MDL-18942 user selection and group support in gradebook user overview report; merged from MOODLE_19_STABLE 2009-04-23 20:29:30 +00:00
dongsheng
7b58fb4179 "webdav plugin/MDL-16908, fix header check code, reformat code" 2009-04-23 09:50:30 +00:00
skodak
db008d6feb MDL-18929 fixed double colons, in fact we stopped using colons long time ago; merged from MOODLE_19_STABLE 2009-04-22 20:05:16 +00:00
skodak
3268cf9921 MDL-18910 full support for module intro editor with embedded images 2009-04-22 06:48:15 +00:00
skodak
dc5c2bd9eb MDL-18910 full support for module intro editor with embedded images 2009-04-21 21:17:21 +00:00
mits
4446e39974 MDL-18909 Fixed a typo. 2009-04-20 17:42:05 +00:00
sam_marshall
e7c6bf0eab MDL-18297: Changed date conditions so that the text and behaviour is more natural. 2009-04-17 16:06:29 +00:00
sam_marshall
e8e509865e MDL-17816: Changes to the way availability conditions are displayed when viewing course 2009-04-17 11:07:59 +00:00
gbateson
afa44721ba MDL-17426: removing superflous link to "Selecting a report" 2009-04-17 02:27:04 +00:00
jerome
a3a1708f63 category MDL-18876 replace error notice by exception, move success notice into index.php 2009-04-16 07:48:34 +00:00
nicolasconnault
653a86489e MDL-18083 Committing gradebook improvements to head 2009-04-16 07:16:44 +00:00
skodak
ccde17c3eb MDL-16075 adding support for embedded Glossary images 2009-04-16 06:36:11 +00:00
dongsheng
5430f05b37 "MDL-18848, curl_cache is not specific to repository module any more" 2009-04-14 02:34:38 +00:00
tjhunt
dcdf3b2918 filters: MDL-7336 separate out manage filters and common filter settings 2009-04-13 07:15:50 +00:00
tjhunt
604eb7be03 filters: MDL-7336 code to let people edit local filter config 2009-04-13 07:14:27 +00:00
tjhunt
0f74bb01ff filters: MDL-7336 settings page for setting the local enabled/disabled state 2009-04-13 07:12:41 +00:00
tjhunt
5b8fa09b00 filters: MDL-7336 Finish admin settings page. 2009-04-13 07:04:07 +00:00
tjhunt
456c8cc738 filters: MDL-7336 redo global settings page to use the new libs
Note: ->stringfilters update not done yet.
2009-04-13 07:03:32 +00:00
tjhunt
9421125080 filters: MDL-7336 create new moodle/filter:manage capability 2009-04-13 06:54:11 +00:00
tjhunt
a8be3f4287 qtype admin: sort lang file properly 2009-04-07 05:16:38 +00:00
dongsheng
8af334cd22 "MDL-17261, add language string, see details on tracker" 2009-04-03 02:26:43 +00:00
fmarier
c65ab2be95 Password policy: MDL-17602 new "max consecutive identical characters" setting 2009-04-03 02:22:52 +00:00
dongsheng
f54217e0c5 "MDL-13224, language string for mymoodle options" 2009-04-02 03:32:10 +00:00
tjhunt
0c34c7eb50 translation: MDL-18766 reverting. I guess it was not yet ready for prime-time.
I'll commit the patch to contrib in case anyone wishes to experiment further.
2009-04-02 02:42:11 +00:00
stronk7
c66158102e MDL-18766 Towards improved translation 2009-04-01 09:04:21 +00:00
dongsheng
3a90e17e41 "REPOSITORY/MDL-17466, display which plugin is valid" 2009-04-01 05:40:37 +00:00
tjhunt
b4cf937102 translation: MDL-18766 Prototype automatic translation system for Moodle.
If Google can do something like http://translate.google.com/, surely we
can do something just as good in Moodle. Here is a first attempt. It is
a bit rough around the edges, and only a couple of target lananguages
have been implemented so far. (More and better attempts welcome!)

In order to ensure that this gets adequate testing, I have made sure that
it gets turn on by default. However, if you really don't like it, you can
turn it off under Administration > Development -> Experimental settings.
2009-04-01 00:39:17 +00:00
skodak
c94985efb1 MDL-18552 different TeX trouble fix 2009-03-31 10:03:10 +00:00
jerome
f7631e7397 web service MDL-12886 administration: implement settings for servers (add amf debug option) 2009-03-31 03:29:01 +00:00
skodak
c6e1d6af3f MDL-18540 fixing "extra" memory strings 2009-03-30 17:09:39 +00:00
tjhunt
b810a4d3c9 filters: MDL-17684 Look for the filter name in filter_myfilter.php first.
This makes filters more plugginable, becuase with this lang file name, get_string will look for the filter name in filter/myfilter/lang/en_utf8/filter_myfilter.php.

To do this, there is a new function filter_get_name in filterlib that contains the logic.

Also, a new function filter_get_all_installed to replace the logic for getting all filters that was duplicated in three places.

filter_get_name no longer does such a nice fall-back if the name is missing, to encourage people to supply the right string. The fallback now looks like '[[filtername]] (filter/tidy)'.
2009-03-30 08:33:13 +00:00
gbateson
d6cbe5f546 MDL-18409: new message required for "Remove grade item" form element 2009-03-30 07:09:56 +00:00
tjhunt
bb45fe62c4 get_string: Refactoring, performance improvements, bug fixes and unit tests
MDL-18669 get_string refactored to elimiate duplicate code and make it easier to understand.
MDL-17763 parent language not processed correctly when getting a plugin string.
MDL-16181 more intelligent caching to avoid repeated file_exists checks.
MDL-12434 move values to array keys to improve lookup times.

The main part of the refactoring is to create a singleton string_manager class to encapsulate the cached data and the processing, while breaking the code up into more smaller methods.

Other performance improvements include:
* Cache results of plugin name -> locations to search array.
* Cache parent lang lookup.
* Skip eval if the string does not contain $ \ or %.
* Remove the unnecessary sprintf from the eval.

There is a performance testing script in lib/simpletest/getstringperformancetester.php. For now this script has the old get_string implementation copied and pasted to the end, and renamed to old_get_string to allow for comparitive timings.

There are now some unit tests for get_string in lib/simpletest/teststringmanager.php. I think I have managed to cover most of the tricky cases.
2009-03-30 02:21:27 +00:00
stronk7
0c156fe05e MDL-18552 TeX filter - add string ; merged from 19_STABLE 2009-03-26 21:34:59 +00:00
dongsheng
7022dd3930 "MEMORY/MDL-18540,remove hard-coded php memory limit, added system setting for it, create a function reduce_memory_limit to reduce memroy limit and respect php.ini setting in the meanwhile, merged from 1.9" 2009-03-26 02:09:28 +00:00
poltawski
3ad2bfedfc Fix 'progile' typo MDL-18312
merged from MOODLE_19_STABLE
2009-03-25 09:46:12 +00:00
poltawski
db935a79f0 Fix 'drow-down' typo MDL-18320
merged from MOODLE_19_STABLE
2009-03-25 09:43:19 +00:00
poltawski
a786341bb9 documentation/workshop MDL-2605 - bad helpfile link
merged from MOODLE_19_STABLE
2009-03-25 09:33:06 +00:00
tjhunt
c468795ce9 switch roles: MDL-18132 New Role allow switches page finished.
I also set up a reasonable set of default allows, including setting up some sensible allow_overrides, whatever the rant in MDL-15841 says.
2009-03-25 04:20:57 +00:00
tjhunt
91eb445ca0 switch roles: MDL-18132 Convert allow override page to use the shared code. 2009-03-25 02:17:14 +00:00
jerome
71b77297a9 web service MDL-12886 add standard Course web service functions 2009-03-20 06:53:03 +00:00
danmarsden
caab877486 MDL-18564 choice - fix grammar - thanks to Ray Lawrence for the report 2009-03-18 23:04:30 +00:00