8375 Commits

Author SHA1 Message Date
Petr Skoda
56cbc53b76 MDL-21143 theme renderers related refactoring, it should detect more problems now, there is also a list of core renderer subtypes, hopefully the api changes are improvements 2009-12-17 13:45:54 +00:00
Andrew Davis
f69815f938 feedback MDL-21064 Hardcoded string in /mod/feedback/index.php 2009-12-17 06:02:46 +00:00
Petr Skoda
50397e43ff MDL-20792 fixing forgotten moodle_ prefixes in renderers 2009-12-16 22:33:49 +00:00
Petr Skoda
2f67a9b3a5 MDL-20700 whitespace terror returns yet again 2009-12-16 22:22:37 +00:00
Petr Skoda
4454447d56 MDL-20700 whitespace terror returns 2009-12-16 22:14:17 +00:00
Petr Skoda
b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00
Petr Skoda
47ce714bc0 MDL-21142 minor cleanup in out() default params 2009-12-16 21:33:01 +00:00
Petr Skoda
683c01d2c8 MDL-20787 removed mod_icon_url() completely 2009-12-16 20:30:24 +00:00
Petr Skoda
f44b10ed93 MDL-21139 replace all yui functions/methods with yui2 to make room for yui3 2009-12-16 20:25:14 +00:00
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
0a4abb7306 mod-lesson MDL-21006 Huge refactoring of the lesson code
The following are notable changes made in this commit
* Lesson page type are now class based and extend an abstract class. This includes a class for the page type and a class for the creating/editing a instance of this page.
* Converted all forms to mforms
* Action script located in mod/action/* were worked into the above so far less switch statements and the action directory will be removed.
* Implements a custom renderer
* Converted everything to use page, output, and custom renderer methods
* Replaced all deprecated methods incl. print_textarea conversions
* Tried to cut down on excessive DB calls.
Things worth noting:
* The focus of this patch was on cleaning up the module not rewriting it, as such I have organized NOT rewritten. There are still many areas in the module where the code could be greatly improved however to do so would require a rethink/rewrite
2009-12-16 02:00:48 +00:00
Sam Hemelryk
fb1ee4d548 mod-assignment MDL-21106 Changed itemid for online assignment from assignment->id to user->id 2009-12-16 01:48:48 +00:00
Andrew Davis
a6ffb8eeb8 quiz MDL-18896 small efficiency improvement 2009-12-16 00:52:57 +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
Penny Leach
56e20c3416 portfolio/glossary NOBUG added some phpdocs 2009-12-14 16:01:35 +00:00
Penny Leach
b9be87b3e8 portfolio/glossary NOTABUG improved some phpdocs 2009-12-14 15:43:25 +00:00
Penny Leach
ff284987c7 online assignment / send_file: MDL-21104 fixed two missing variables 2009-12-14 10:18:31 +00:00
Penny Leach
e032f29d92 portfolio MDL-21079 fixed a regression caused by massive refactoring of where portfolio callers live 2009-12-12 14:18:34 +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
8f685009b3 forum MDL-21086 cleaned up boilderplates and php doc packages 2009-12-10 03:11:18 +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
Dan Poltawski
124e506566 glossary/navigation MDL-21080 - linking to incorrect location 2009-12-09 15:42:46 +00:00
Sam Hemelryk
5633445f59 glossary MDL-19809 Fixed deprecated call to error 2009-12-07 06:06:58 +00:00
Sam Hemelryk
89b8211e5a chat MDL-19804 Fixed deprecated event calls 2009-12-07 06:04:53 +00:00
Sam Hemelryk
8a87691355 forum MDL-19808 Fixed minor regressions caused by upgrades 2009-12-07 04:00:38 +00:00
Eloy Lafuente
d3c68b087d MDL-21029 glossary - fix display of entries belonging to site/course global glossaries ; merged from 19_STABLE 2009-12-05 17:46:58 +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
Dongsheng Cai
2367795674 "MDL-20587, chat module, show sessions with just one users, based on Daniel Neis' patch, thanks" 2009-12-04 03:57:48 +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
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
Dongsheng Cai
d31629c6e1 "MDL-14818, fixed database module search in head" 2009-11-27 05:24:08 +00:00
Eloy Lafuente
1f1cae8311 MDL-20982 glossary - make print view to respect current theme ; merged from 19_STABLE 2009-11-26 11:35:25 +00:00
Dongsheng Cai
bb8024536a "MDL-8677, fixed mimetype name" 2009-11-25 06:40:25 +00:00
Dongsheng Cai
9452219941 "MDL-20345, improve glossary comments migrate script" 2009-11-25 05:58:13 +00:00
Sam Hemelryk
9f42276c59 mod-feedback MDL-16090 Fixed recent regressions and converted htmleditor instance 2009-11-25 01:46:12 +00:00
Dan Marsden
ad97538d8a SCORM MDL-20955 fix bad use of update_record - thanks Petr 2009-11-24 21:03:46 +00:00
Petr Skoda
e8f1ec0f77 NOBUG - more upgrade details 2009-11-23 16:12:25 +00:00
Andrew Davis
c4f1e62c76 forums MDL-20578 no longer using like in queries so removed retrieval of db like keyword 2009-11-23 05:07:25 +00:00
Petr Skoda
b3e229f979 MDL-20930 fixed input validation 2009-11-22 12:42:51 +00:00
Petr Skoda
afb6f77dd9 MDL-20929 fixed input validation 2009-11-22 11:09:11 +00:00
Petr Skoda
e657980dfd MDL-20928 fixed glossary entry access control 2009-11-22 10:35:20 +00:00
Petr Skoda
afc9bd4ea3 MDL-20927 fixed module login issue 2009-11-21 23:50:14 +00:00
Petr Skoda
1797784624 MDL-20901 fixed input validation 2009-11-21 22:23:32 +00:00
Petr Skoda
c66bbb3021 MDL-20901 fixed input validation 2009-11-21 15:33:10 +00:00
Petr Skoda
441bef0f7a MDL-20901 fixed input validation 2009-11-21 15:26:54 +00:00
Petr Skoda
adef30995b MDL-20901 fixed input validation 2009-11-21 15:16:09 +00:00
Petr Skoda
dba386b573 MDL-20901 fixed input validation 2009-11-20 08:50:12 +00:00
Petr Skoda
c2dcbfe3a6 MDL-20901 fixed input validation 2009-11-20 08:33:33 +00:00