Commit Graph

30 Commits

Author SHA1 Message Date
Andrew Hancox 04f7b079bc MDL-57455 mod_data: Import and export tags 2017-10-12 16:59:15 +08:00
Sam Hemelryk 002a2a44a7 MDL-44154 mod_data: unified @package use 2014-02-18 11:22:41 +13:00
Andrew Davis 66e2b9f8c2 MDL-38856 reposition activity group control and fixed titles in chat, database and forum 2013-09-02 11:49:39 +07:00
Adrian Greeve f7a00e9dbf MDL-39040 - mod_data: Database description available in single view tab. 2013-04-30 09:06:02 +08:00
Henning Bostelmann 4f304eeb3d MDL-22773 Database module export: include internal fields
Fields included:
 * User details (fullname, username, email)
 * Time added/modified
 * Approval status
2012-08-14 11:14:07 +01:00
David Monllao 0b3b8c30e2 MDL-34464 mod_data Replace all instances of get_context_instance() with respective context_XXXX class in mod/data 2012-07-27 09:13:57 +08:00
Dan Poltawski 19a8646822 MDL-33624 lang - remove incosistent use of placeholder 2012-07-12 13:10:52 +08:00
Petr Skoda cdbea7eed1 MDL-31607 use full course object for require_login() if already available
This eliminates 1 db query.
2012-04-22 17:41:47 +02:00
Adrian Greeve 834686037c MDL-25185 - data - Allowing data from the database to be exported according to group roles. 2012-02-09 09:26:08 +08:00
Andrew Davis b133c4bbb8 data MDL-23573 made database activity export only include the requested fields 2010-07-29 06:24:47 +00:00
Rossiani Wijaya 91bc072a31 MDL-20447 - add heading to the page 2010-05-28 02:30:14 +00:00
Penny Leach 5fcbdc6bf0 portfolio MDL-22272 remove portfolio stuff from export tab 2010-05-02 06:38:59 +00:00
Petr Skoda a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Sam Hemelryk 92059c7ee5 mod MDL-21169 Removed update this module button and ensured there was a link in the settings block for it. 2009-12-23 01:57:55 +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 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
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
Petr Skoda 1adbd2c350 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 14:55:15 +00:00
samhemelryk 6111b2b030 mod-data MDL-19806 Added set_url calls, replaced deprecated functions, and added boilerplates 2009-09-24 04:25:40 +00:00
samhemelryk 29b64a2272 mod-data MDL-20253 Updated database activity module to make use of the new navigation structure 2009-09-11 03:14:42 +00:00
samhemelryk b0ff558ccb notes MDL-19806 Updated print_header and build_navigation to OUTPUT and PAGE equivalents 2009-09-07 05:43:15 +00:00
nicolasconnault 7b30ba8b68 MDL-19806 Converted all print_footer() calls 2009-08-06 14:14:39 +00:00
nicolasconnault b2dc6880e4 MDL-19806 Migrated calls to print_heading 2009-08-06 08:21:01 +00:00
mjollnir_ adbf3cd005 MDL-15768 - further capability check in mod/data portfolio export 2008-08-11 14:14:39 +00:00
mjollnir_ 1bf8c6b2cb MDL-15777 - whole database module export rejigged to use files api.
disabled ods and excel export for now until those libraries work with files api.
reverted a previous patch I had in this area.
2008-08-11 10:40:04 +00:00
mjollnir_ ecd06483a5 MDL-15758 - add export whole database activity to portfolio (still one entry to do) 2008-08-01 12:30:26 +00:00
mjollnir_ 209881523a MDL-15894 - move data_export_* functions to mod/data/lib.php for re-use 2008-07-31 12:21:25 +00:00
robertall 86be772077 [MDL-8407] Make the default role required to export database records weaker (use the 1.9 mod/data capability "viewalluserpresets"). Merged from MOODLE_19_STABLE. 2008-06-12 13:55:46 +00:00
skodak a656d95103 MDL-15106 towards data mod dml conversion 2008-06-05 19:26:57 +00:00
robertall 2096fcf9ad [MDL-8407] Add two new files that contain the core CSV/XLS/ODS export code. 2008-05-30 22:19:44 +00:00