Commit graph

9091 commits

Author SHA1 Message Date
Petr Skoda
78946b9bdb MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks 2009-12-16 18:00:58 +00:00
Sam Hemelryk
e09ef36a4c lib-navigation MDL-21113 Fixed minor javascript error when positioning sidepanel tabs for display 2009-12-16 02:08:53 +00:00
Penny Leach
5fb2911515 portfolio MDL-21079 updated a few more portfolio_callers
fixed a few more that were pointing to lib.php rather than locallib.php
2009-12-15 12:37:06 +00:00
Penny Leach
521a6ab04d portfolio MDL-20896 added the ability to set mime info for "intended" files
This means for places in Moodle that are going to write a file, like a
CSV file, they can set the intended mimetype of the generated file.

Previously you had to use a stored_file object.

This also gets rid of portfolio_fake_add_url function and replaces the
data module implementation with a button.  I also refactored
portfolio_add_button::to_html to use moodle_url so it's easy to return
the same parameters to hidden form fields, an escaped url (for a link),
and a non escaped url (to redirect to, which is what the data module
does)
2009-12-15 12:36:49 +00:00
Dongsheng Cai
ecea942368 "MDL-21103, fixed regex filter in tinymce plugin, and overwriten uploaded file with the same filename by default" 2009-12-15 09:19:04 +00:00
Sam Hemelryk
75b1018cd3 navigation MDL-20735 Activities added to the front page topic section were not being included in nav 2009-12-15 04:13:21 +00:00
Sam Hemelryk
a9da131e0b navigation MDL-20735 Activities added to the front page topic section were not being included in nav 2009-12-15 01:38:40 +00:00
Sam Hemelryk
d54343ef28 portfolio MDL-21079 Fixed missing requirement in portfolio simpletests 2009-12-14 05:56:55 +00:00
Sam Hemelryk
477969b6b4 portfolio MDL-21079 Fixed missing requirement in portfolio simpletests 2009-12-14 02:23:36 +00:00
Penny Leach
24ba58ee9a portfolio MDL-21079 be more selective about including libraries.
this involves moving all formslib includes to where they're actually needed.
it also moves the portfolio stuff from assignment,data,chat,forum and glossary
into a locallib.php which involved creating it for many of those modules.
2009-12-12 11:27:07 +00:00
Sam Hemelryk
460232f302 navigation MDL-14632 Attempting to fix navigation simpletests 2009-12-11 02:40:57 +00:00
Sam Hemelryk
c2a0b3adaa weblib MDL-17550 Added code to convert arrows set in themes from entities to UTF8 chars 2009-12-11 02:19:12 +00:00
Sam Hemelryk
8b7463e766 weblib MDL-17550 Added code to convert arrows set in themes from entities to UTF8 chars 2009-12-11 02:05:39 +00:00
Sam Hemelryk
417a273d1a navigation MDL-20735 Fixed issue with unset cm contexts for front page course 2009-12-10 03:33:30 +00:00
Andrew Davis
496e3ccdd2 quiz MDL-10128 popup checker no longer requests a non-existent file which was causing messages in server logs 2009-12-10 02:29:53 +00:00
Sam Hemelryk
c23c90093e mod-forum MDL-17550 Converted subscribers.php to use the new user_selector control
At the same time I also converted weblib.php::check_theme_arrows to use UTF8 arrows rather than entities.
2009-12-10 02:11:28 +00:00
Sam Hemelryk
8379764371 navigation MDL-20735 Patch to properly display front page actitivies on the navigation 2009-12-10 02:05:12 +00:00
Sam Hemelryk
862940c033 moodlelib MDL-21060 Editing require_course_login to properly set page vars for the front page course 2009-12-10 01:57:01 +00:00
Dongsheng Cai
2da47842d2 "MDL-16597, remove firebug debug code" 2009-12-09 04:16:34 +00:00
Rossiani Wijaya
2b32850e0d MDL-20095 add 1 minute delay time to display the tooltip windows. 2009-12-09 01:55:39 +00:00
jerome mouneyrac
7ca825b148 flash upgrader MDL-20841 change phpdoc for flashdetect.js 2009-12-08 03:06:48 +00:00
Dongsheng Cai
494bf5c8cf "MDL-16597, added more docs, clean up code and added maxbytes support" 2009-12-07 05:01:09 +00:00
jerome mouneyrac
976c007ff3 flash upgrader MDL-20841 fix swfobject javascript bug related to http://code.google.com/p/swfobject/issues/detail?id=332, merged from 1.9 2009-12-07 03:24:49 +00:00
Penny Leach
bce9a8198f portfolio/leap2a MDL-21036 & MDL-21034 : use proper date format in leap2a, and updated forum to use it 2009-12-05 09:42:42 +00:00
jerome mouneyrac
50f9599130 flash upgrader MDL-20841 move the send the flashupgrader from filelib.php to pluginfile.php 2009-12-04 04:11:01 +00:00
Dongsheng Cai
553baa8f76 "MDL-20819, sometimes, modules return non-array which can break stats processing, added more error checking, merged from 1.9" 2009-12-04 03:06:03 +00:00
Penny Leach
59dd457e4b portfolio: MDL-21030 - leap2a portfolio format support.
This commit includes:

- leap2a portfolio format, and xml writer
- proof of concept implementation in forum and assignment modules
- a lot of refactoring of the portfolio formats in general:
    - addition of "abstract" formats - this is necessary for plugins to be able to support groups of formats
    - addition of the idea of portfolio formats conflicting with eachother - eg richhtml & plainhtml

it touches modules other than assignment and forum, because the format api
changed and now each place in moodle that exports portfolio content has to deal
with the formats it supports slightly differently.

At the moment the Mahara portfolio still doesn't support this format, because I
haven't done the Mahara side yet. The "file download" plugin supports it
though.

Still todo:

- Add support for the other places in Moodle (glossary, data, etc)
- Write tests, once the rest of the portfolio tests have been updated to use the new DB mocking stuff
- Fix a bunch of TODOs
2009-12-03 14:26:37 +00:00
jerome mouneyrac
674b3d3b11 flash upgrader MDL-20841 update phpdoc, merged from 1.9 2009-12-03 02:39:18 +00:00
Andrew Davis
658790e9e1 componentlib MDL-20966 Added a guard to prevent a php warning during upgrade 2009-12-03 01:02:19 +00:00
Petr Skoda
7e4763ef61 MDL-21026 improved entity handling 2009-12-02 21:08:45 +00:00
Sam Marshall
6c37c4c6c8 MDL-2684: kses strips out CSS from style tags unless the first property is on 'allowed' list, this is silly 2009-12-02 17:59:43 +00:00
jerome mouneyrac
cf7491465f flash upgrader MDL-20841 replace yui calls by correct ones. Kudo to Sam H. 2009-12-02 08:39:22 +00:00
Sam Hemelryk
c7e4c7b785 outputcomponents MDL-21020 Fixed error if html_select_option text = 0 2009-12-02 07:41:01 +00:00
jerome mouneyrac
b5bbeaf02c flash upgrader MDL-20841 New config setting excludeoldflashclients will set a minimum version for flash clients. A check in the standard_head_html is run once, and will set a session variable with the current flash version. If the current flash version is lower than the minimum requirement, then Moodle will serve alternate content whenever a flash file is requested. The alternate file will ask the user to upgrade flash, merged from 1.9 2009-12-02 06:38:16 +00:00
Eloy Lafuente
8eb321419f MDL-21015 migrate testsimpletestlib to UnitTestCaseUsingDatabase 2009-12-01 23:00:45 +00:00
Eloy Lafuente
2d786d9bfb MDL-21015 migrating conditionlib test from FakeDBUnitTestCase to UnitTestCaseUsingDatabase 2009-12-01 22:31:22 +00:00
Eloy Lafuente
320bb66ea1 NOBUG switch to new header comments + delete some usused Mockup objects 2009-12-01 18:58:07 +00:00
Eloy Lafuente
3d90fbc498 MDL-21015 grade tests migrated to UnitTestCaseUsingDatabase 2009-12-01 18:42:49 +00:00
Eloy Lafuente
de3940e794 MDL-21015 copy/paste typo spreaded over various grade classes fixed 2009-12-01 18:32:53 +00:00
Eloy Lafuente
c6adec25bb MDL-21015 enable xmldb_structures cache for UnitTestCaseUsingDatabase.
Example: Yay, grade tests 40 mins down to 50 secs!
2009-12-01 18:30:21 +00:00
Eloy Lafuente
a97c0dd598 MDL-21015 - add optional xmldb_structure cache in the install_one_table_from_xmldb_file()
method. 100x speedup for UnitTestCaseUsingDatabase tests. Defaults to false (old behaviour)
2009-12-01 18:10:51 +00:00
Sam Marshall
3d99b4ac2e MDL-21015 Completion lib unit test fix for FakeDBUnitTestCase (didn't need it) 2009-12-01 16:29:36 +00:00
Eloy Lafuente
7401a7cd25 MDL-21015 - typo detected when working on grade tests... 2009-12-01 14:47:14 +00:00
Eloy Lafuente
04aa2fd6c6 MDL-21015 - prevent dead end under uncontrolled situations where cleanup doesn't happen on destruct 2009-12-01 14:27:39 +00:00
Eloy Lafuente
2319bdedd6 MDL-21007 UnitTestCaseUsingDatabase misconfigured unit tests now reported as skipped 2009-11-30 23:18:34 +00:00
Eloy Lafuente
776b85474d MDL-21007 FakeDBUnitTestCase unit tests now reported as exceptions 2009-11-30 21:36:28 +00:00
Sam Marshall
f1035deb97 MDL-21009 Group selector must use absolute links in order to work with javascript off 2009-11-30 17:12:48 +00:00
Sam Marshall
41ff27d0cc MDL-20498 User pictures should not have 'generic' alt text 2009-11-30 16:55:03 +00:00
Eloy Lafuente
ff8c7b2ac8 MDL-19057 DML tests - prevent CLOB/BLOB contents to be in error/pass output 2009-11-30 16:45:07 +00:00
Eloy Lafuente
08061aa277 MDL-21007 exclude log files from tests as far as some drivers/extensions
are prone to save own log files into working dirs
2009-11-30 16:24:44 +00:00