Commit graph

10801 commits

Author SHA1 Message Date
Dongsheng Cai
e281f544f0 "MDL-17381, improve wikimedia repository plugin and supports thumbnail, credits to Raul Kern, thanks" 2009-12-17 07:31:01 +00:00
Petr Skoda
4454447d56 MDL-20700 whitespace terror returns 2009-12-16 22:14:17 +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
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
jerome mouneyrac
886e3bfbd5 webservice MDL-20803 added REST POST parameters documentation 2009-12-14 06:01:13 +00:00
jerome mouneyrac
360e9415b4 webservice MDL-20803 fix xml-rpc documentation, now show the real sent PHP structure + response. REST POST parameters coming soon... 2009-12-14 05:30:12 +00:00
jerome mouneyrac
d4c6ef705c webservice MDL-20803 add web service documentation generator 2009-12-13 10:48:22 +00:00
Dan Poltawski
194702f99b lang/portfolio MDL-20897 Add missing lang strings
For new portfolio formats
2009-12-12 13:21:59 +00:00
Eloy Lafuente
b72db8b348 MDL-20961 customize notices showed when user information is not included in backup ; merged from 19_STABLE 2009-12-07 11:42:18 +00:00
David Mudrak
fcd3f5bf63 Escaping variable in string 2009-12-07 10:09:04 +00:00
Tim Hunt
01346fb813 Typo in calculated qtype lang file. 2009-12-04 19:02:12 +00:00
Dongsheng Cai
6c33f53253 "MDL-20125, added configurable setting to section_links block, credits to Jason Hardin, merged from 1.9" 2009-12-04 09:01:50 +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
Martin Dougiamas
640bb8c1b6 repository/flickr_public MDL-15488 Make the search form a lot simpler and friendlier 2009-12-02 13:01:58 +00:00
Dongsheng Cai
5363905a51 "MDL-13766, improve user instances list" 2009-12-02 10:04:04 +00:00
Andrew Davis
064e3330dc mnet MDL-21019 Removed hard coded strings 2009-12-02 09:57:43 +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
2319bdedd6 MDL-21007 UnitTestCaseUsingDatabase misconfigured unit tests now reported as skipped 2009-11-30 23:18:34 +00:00
David Mudrak
02281852c8 Fix: only $a placeholders allowed in language strings 2009-11-26 13:45:53 +00:00
Martin Dougiamas
dbec9afd01 security report MDL-20834 Merged 'report_security_check_riskbackup' check from 1.9 2009-11-26 08:32:48 +00:00
Eloy Lafuente
c211560381 Fix lang string breaking XHTML in admin/index.php page 2009-11-25 00:10:44 +00:00
Helen Foster
45e6ecdae1 admin lang string: MDL-18807 small rewording 2009-11-24 13:13:35 +00:00
Eloy Lafuente
a805123bda MDL-20849 - improved lang string, thanks, Helen. Merged from 19_STABLE 2009-11-20 17:48:47 +00:00
David Mudrak
30d75d407b Fixed wording. Optional things can not be required.
Also, the word "extension" should be used instead of "library" as the
library can be installed on the server but it does not automatically
mean PHP can use it.
2009-11-20 08:12:18 +00:00
Eloy Lafuente
f6459d125e MDL-20849 moodle/restore:userinfo - new cababilty to allow/deny
permissions to restore any (users, messages, modulesactivity...)
user-level information. Merged from 19_STABLE
2009-11-20 00:32:16 +00:00
Tim Hunt
85edde5c90 question bank - MDL-20545 need a separate language string for edit question category, as opposed to edit course category. 2009-11-19 17:46:15 +00:00
Penny Leach
65909966e1 portfolio MDL-20905 updated box.net docs to explain new returnurl 2009-11-19 07:31:43 +00:00
Penny Leach
40d6bc4825 portfolio NOBUG added some more helpful debugging information about common formats 2009-11-19 07:02:15 +00:00
Andrew Davis
2e2a707902 mnet MDL-20208 Added the string 'allhosts_no_options' 2009-11-19 04:50:58 +00:00
Petr Skoda
5552c5cc9d MDL-20900 iconv now required in 2.0 2009-11-18 22:26:16 +00:00
Penny Leach
8a709ecfc1 portfolio MDL-20639 mahara plugin: update to mnet requirements after stricter mnet dispatcher checking 2009-11-18 13:35:58 +00:00
Penny Leach
5d0dbf130d portfolio MDL-20872 elegant handling of cleanup/display race condition
lots of work to elegantly resolve the issue between interactive browser
sessions and "pull" portfolio plugins that cause a race condition where we lose
the ability to display information to the user if the pull cleans up the export
first.  this also improves the portfolio transfer log display for later
2009-11-18 12:27:15 +00:00
Petr Skoda
621c646403 MDL-20885 PHP soap lib now recommended 2009-11-18 10:12:53 +00:00
Sam Hemelryk
e019158c7d security MDL-18807 Changed language strings: Thanks for the new strings Helen 2009-11-18 09:55:03 +00:00
Dongsheng Cai
e998effa3d "MDL-20346, comments api for data module" 2009-11-18 06:00:48 +00:00
Eloy Lafuente
3af6f43a77 MDL-20846 creating users on restore - new strings. Merged from 19_STABLE 2009-11-18 01:25:33 +00:00
Petr Skoda
99fd6ddec3 MDL-18006 MDL-18807 MDL-20853 tried to explain that admin must copy old main solat to alternative salt list, otherwise all passwords with old salt are invalidated 2009-11-17 16:45:57 +00:00
Petr Skoda
5cc1e1eb75 MDL-18006 MDL-18807 MDL-20853 suggest some longer and better salt 2009-11-17 16:30:39 +00:00
Petr Skoda
4c1ba3ffc7 MDL-18006 MDL-18807 MDL-20853 merging sam's changes from MOODLE_19_STABLE, going to fix some more problems in this new code soon 2009-11-17 16:11:25 +00:00
Penny Leach
c95a609597 Portfolio MDL-19356 removal of session reliance completely.
For plugins that don't support it, we can work around the external
redirect issue by returning to a special url.

This also adds on selective cancelling/continuing of current exports.

It needs a lot of testing, but seems to be working reasonably well.

Some plugins need updating now, however
2009-11-17 14:01:25 +00:00
Anthony Borrow
8f6ba17fcf MDL-19608 - adding bulk user action to force password change, credit to Iñaki Arenaza for the patch 2009-11-16 17:16:03 +00:00
Penelope Leach
384ba38af4 portfolio - MDL-19356 - rename allows_multiple to allows_multiple_instances
this disambiguates, so we can have a function called allows_multiple_exports
2009-11-16 12:57:59 +00:00
Penelope Leach
086831a67c NOBUG - Added a bunch more phpdocs to the portfolio code 2009-11-16 12:57:15 +00:00
Dongsheng Cai
9b1ebc5dc0 "MDL-20648, merlot.org repository plugin, support basic search only" 2009-11-13 08:43:18 +00:00
Andrew Davis
1e252026e8 report backup MDL-19903 Fixed backup report table header 2009-11-13 06:09:54 +00:00
Dongsheng Cai
7d9cb3b51a "MDL-20824, use php exception to processs the file which excess the maximum file size" 2009-11-13 05:31:02 +00:00
Martin Dougiamas
c917f4ec7b lang/repository upgraded description for repositoryallowexternallinks 2009-11-11 07:14:24 +00:00
Martin Dougiamas
0b7df3454a Added some ellipses to some new strings 2009-11-11 07:05:31 +00:00