2445 Commits

Author SHA1 Message Date
tjhunt
9c3ea65295 XHTML strict 2009-04-23 06:25:51 +00:00
tjhunt
d040f78d6d Fix trailing whitespace 2009-04-17 02:50:21 +00:00
tjhunt
9434fef401 filters: MDL-18879 filter data not deleted when a context is deleted
Missed when implementing MDL-7336

Also, fix minor issues with deleting filters
2009-04-17 02:49:07 +00:00
tjhunt
109bce7971 filtering capability lists: MDL-16605 - followup - make it case-insensitive 2009-04-16 10:44:40 +00:00
nicolasconnault
653a86489e MDL-18083 Committing gradebook improvements to head 2009-04-16 07:16:44 +00:00
dongsheng
4440330936 "MDL-18540, add 512 mo options to extramemeorylimit, merged from 1.9" 2009-04-15 03:53:03 +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
6246de9526 filters: MDL-7336 settings page for setting the local enabled/disabled state
- managed to missed this bit when transferring my changes from git.
2009-04-13 08:24:20 +00:00
tjhunt
dcdf3b2918 filters: MDL-7336 separate out manage filters and common filter settings 2009-04-13 07:15:50 +00:00
tjhunt
86b455cfc7 filters: MDL-7336 finish implementing delete on the admin page 2009-04-13 07:15:19 +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
6b037e0420 filters: MDL 7336 Remove remaining references to ->filters 2009-04-13 07:04:32 +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
skodak
c6b4179c38 MDL-18338 option for hiding of groups in user profile 2009-04-09 08:29:51 +00:00
tjhunt
0e329b2a43 fix variable name typo 2009-04-07 05:20:16 +00:00
tjhunt
df244bbc3f qtype admin: operator precedence bug when deleting qtypes 2009-04-07 05:17:04 +00:00
mudrd8mz
4c0e52f0d6 MDL-18797 string_manager::instance()->get_registered_plugin_types() does not return "__exceptions" as places_to_search_for_lang_strings() used to do. 2009-04-06 13:06:04 +00:00
fmarier
b3a3a552ac password policy: MDL-17602 disable consecutive identical characters check by default 2009-04-05 23:46:32 +00:00
nicolasconnault
da2f44111a MDL-17272 merged from MOODLE_19_STABLE 2009-04-03 08:14:01 +00:00
tjhunt
d09ef2a0ef Fix XHTML strict problems in XMLDB. 2009-04-03 05:47:59 +00:00
fmarier
c65ab2be95 Password policy: MDL-17602 new "max consecutive identical characters" setting 2009-04-03 02:22:52 +00:00
tjhunt
d8413bf3d2 lang editing: MDL-18776 fix regression from MDL-18669. 2009-04-02 09:37:29 +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
dongsheng
ebb1a1e847 "MDL-13224, select how many courses can be shown in mymoodle page" 2009-04-01 07:32:57 +00:00
dongsheng
8ef19a1ede "REPOSITORY/MDL-17466, display which plugin is valid" 2009-04-01 05:47:14 +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
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
dongsheng
1ed8e660fd "MDL-18540, change the uses of option" 2009-03-30 10:07:24 +00:00
dongsheng
5977e635a1 "MDL-18540, change option name to extramemorylimit" 2009-03-30 09:42:28 +00:00
dongsheng
408278ba12 "MDL-18540, use admin_setting_configselect to set option" 2009-03-30 09:17:44 +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
dongsheng
c3935adbe7 "MDL-18540, fixed default value of memorylimit" 2009-03-30 04:42:55 +00:00
skodak
1619d1098f MDL-18676 auth plugins should run before enrol because it may create new users - proposed by Jason Hardin 2009-03-26 19:56:11 +00:00
poltawski
ffeadcd485 course overview report: MDL-18286 - verson number bump wasn't merged properly
Grrrrrrrrrrrrrrrrr Petr! ;-)
2009-03-26 10:57:18 +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
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
tjhunt
9654643e88 switch roles: MDL-18132 Refactor role allow assign page
This is ready to eliminate the duplication between this and role allow override, and the soon-to-be-written role allow switch page.
2009-03-25 01:50:55 +00:00
tjhunt
ffdd703a99 MDL-18637 fix Moodle 1.9-style {$CFG->prefix}tablename in HEAD, and a few missing $DB->s.
I did not fix all the DB problems in search, there are too many there for me to be prepared to clean up other people's mess.

(For once, it was not me making this mistake ;-))
2009-03-23 05:19:53 +00:00
tjhunt
f68cb08bbe unit tests: MDL-18607 new way to do unit tests involving the database.
This is not as ambitious as the abortive FakeDBUnitTests scheme, but this one works for simple cases.

There is a new test case class UnitTestCaseUsingDatabase to inherit from. I hope it is sufficiently well documented in its PHPdocs.
* It users $CFG->unittestprefix.
* You can access that database using $this->testdb.
* That database is empty by default, you have to call create_test_table to create the ones you want, and drop_test_table to clean them up in the end. The table definitions are read from the XMLDB file.
* When you are ready to call real Moodle code that users $DB, call switch_to_test_db and then revert_to_real_db when you are done.
* If you forget to call drop_test_table or switch_to_test_db, the class will attempt to clean up after you, but will also print rude developer debug messages telling you not to be stupid.
* There is also a load_test_data method for populating a table from an array.

The is an example of its use in lib/simpletest/testunittestusingdb.php.
2009-03-23 04:12:37 +00:00
tjhunt
02193ad706 accesslib: MDL-18620 - followup - remove the one case of external code using one of the accesslib private globals. 2009-03-23 04:02:28 +00:00
stronk7
36fa17855f MDL-18541 replace script - now also replaces within well known html blocks. Merged from 19_STABLE 2009-03-12 19:04:53 +00:00
Francois Marier
200164446a Fix drift with CVS 2009-03-11 13:16:54 +00:00
stronk7
1263a0ff1d MDL-18518 user firstaccess - added suport to display user->firstaccess. Credit goes to Anthony Borrow!
Merged from 19_STABLE
2009-03-11 11:22:55 +00:00
tjhunt
cc3209769e Unit tests: Override xmlstrictheaders for unit tests, it causes unnecessary grief here. 2009-03-10 07:54:15 +00:00
jerome
9c000a991f web service MDL-12886 if the groupid doesn't exist, groups_remove_member and groups_add_member return now exception (not a boolean as before) 2009-03-09 04:49:50 +00:00
dongsheng
60c366e8a6 "REPOSITORY/MDL-13766, improve create function" 2009-03-05 05:40:56 +00:00