636 Commits

Author SHA1 Message Date
mjollnir_
866d543fde MDL-15758 - slight change to the portfolio_add_button contract to be more flexible. 2008-08-14 16:01:12 +00:00
mjollnir_
8185aeb609 MDL-15758 - added export to portfolio for single database entry
still to do - files stuff for entries (rest of module not converted)
2008-08-14 10:37:40 +00:00
mjollnir_
7cbe6eed1f MDL-15768 - bump mod/data version and requires properly - requires portfolio code 2008-08-11 14:44:56 +00:00
mjollnir_
adbf3cd005 MDL-15768 - further capability check in mod/data portfolio export 2008-08-11 14:14:39 +00:00
mjollnir_
07028cd91f MDL-15768 - add new capabilities to mod/data for portfolio export 2008-08-11 13:45:41 +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_
d67bfc32a1 MDL-15777 - updated most of the portfolio code to use files api.
Not done:

- forum (the rest of the module isn't using files api yet)
- database mod (touches other parts of the code (ods and excel libs)
- portfolio download plugin (needs discussion with petr about userfiles)

all of these have been disabled in the meantime.
2008-08-09 14:24:58 +00:00
mjollnir_
84a449853f MDL-15777 - move all portfolio storage to portfolio_tempdata rather than session.
This allows us to always have a unique id for a portfolio export which can be used as itemid for files api.
Also it makes the session smaller :)
2008-08-06 15:27:42 +00:00
mjollnir_
0266393737 MDL-15934 - migrate mod/data to not store giant things in session 2008-08-05 13:31:14 +00:00
mjollnir_
18fbaf2e28 added a todo about converting to files api 2008-08-04 12:40:15 +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
sam_marshall
18a2a0cb3a MDL-15498: Completion: added support for basic completion-on-view and on grade (where applicable) to assignment, choice, data, glossary, lesson, and resource. 2008-07-29 17:22:47 +00:00
skodak
8eb1d25ffe MDL-11844 new option for conditional stripping of tags from activity names 2008-07-26 15:15:25 +00:00
skodak
f432bebff2 MDL-11421 context levels fixed in capability definitions, sorting of caps by name, plug-ins may report used core caps, fixed some risks; merged from MOODLE_19_STABLE 2008-07-24 21:59:13 +00:00
moodler
4ea69f88f3 MDL-15702 SQL efficiency fix Merged from 1.9 2008-07-18 07:52:36 +00:00
scyrma
5a254a2938 MDL-14279: use get_file_url instead of checking $CFG->slashargument manually (merge from 1.9) 2008-07-10 09:55:11 +00:00
robertall
30f54a9c16 [MDL-15426] Distinguish latlong value being zero from no value. Merged from MOODLE_19_STABLE. 2008-07-02 12:53:26 +00:00
robertall
0721309f29 [MDL-15423] Remove useless latlong formatting operations. Merged from MOODLE_19_STABLE. 2008-06-26 08:07:05 +00:00
robertall
9c1ae6fc65 [MDL-14440] Show latlong field at list and single view in a prettier way. Merged from MOODLE_19_STABLE. 2008-06-26 06:15:55 +00:00
Francois Marier
6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
robertall
674b6ace0f [MDL-14129] s/invild/invalid/ from previous commit 2008-06-25 17:31:23 +00:00
dongsheng
29c1bb159a "MDL-14129, fix print_error" 2008-06-25 14:52:39 +00:00
robertall
242b238c2a [MDL-15298] Avoid printing a warning if debugging is enabled 2008-06-25 10:20:01 +00:00
skodak
04264aeda4 MDL-15343 mod upgrade savepoints implemented (the xmldb generator is not updated yet) 2008-06-22 23:35:52 +00:00
skodak
eee5d9bb85 MDL-14956 DDL exceptions 2008-06-22 16:51:55 +00:00
robertall
5d0f79e1b2 [MDL-15308] Automatically download exported preset. Merged from MOODLE_19_STABLE. 2008-06-18 17:45:09 +00:00
robertall
a4736e2808 [MDL-15300] Remove temporary files created while exporting a preset as ZIP file. Merged from MOODLE_19_STABLE. 2008-06-18 14:49:44 +00:00
robertall
933c129603 [MDL-15298] Don't create preset ZIP always in the same directory, as the same file name. Merged and ported from MOODLE_19_STABLE. 2008-06-18 11:53:15 +00:00
robertall
45d4986761 [MDL-15258] Clean up data_presets_export() function. 2008-06-16 18:33:26 +00:00
robertall
7c6a0735b5 [MDL-15258] Move data_presets_export() function out from common module specific library. Merged and ported from MOODLE_19_STABLE. 2008-06-16 14:02:27 +00:00
robertall
efe056922b [MDL-15069] Change filename of exported preset to ensure downloading the latest version. Merged and ported from MOODLE_19_STABLE. 2008-06-15 15:35:27 +00:00
skodak
b1f93b1512 MDL-15246 moving all remaining ddl function to adminlib, keeping old lib/ddllib.php only for BC withexisting code; fixed inline docs related to ddl 2008-06-15 10:32:50 +00:00
robertall
a7e35395aa [MDL-8407] Re-added one line of code from v 1.176 needed by tabs.php and export.php to make the default role required to export database records weaker. Sorry for the messup in merging at the previous commit. 2008-06-12 15:18:13 +00:00
skodak
b572ce19dd MDL-8407 reverting last commit - needs to be merged properly 2008-06-12 14:13:51 +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
245ac55791 MDL-14679 last forgotten bits of dml conversion 2008-06-09 19:48:24 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
e348793639 MDL-15106 towards data mod dml conversion 2008-06-06 08:39:44 +00:00
skodak
9c00b5d7d0 MDL-15106 towards data mod dml conversion 2008-06-06 08:04:22 +00:00
skodak
3223bc9e9b MDL-15106 towards data mod dml conversion 2008-06-06 07:36:17 +00:00
skodak
a656d95103 MDL-15106 towards data mod dml conversion 2008-06-05 19:26:57 +00:00
skodak
cd655b33f9 MDL-15095 towards restore lib dml conversion 2008-06-03 23:35:50 +00:00
skodak
9db7dab2ca MDL-15095 towards restore lib dml conversion 2008-06-03 22:36:54 +00:00
skodak
c18269c7e5 MDL-14679 towards modform conversion 2008-06-01 21:36:11 +00:00
skodak
579d45b434 MDL-14679 converted some get courses 2008-06-01 18:12:24 +00:00
skodak
c6307ef24d MDL-14679 removed all instances of get_records_sql_menu() 2008-06-01 16:08:16 +00:00
skodak
fd0e6640cc MDL-14679 fixed some more $db's 2008-05-31 22:18:41 +00:00
robertall
7f008c0502 [MDL-8407] Don't offer the semicolon in the CSV delimiter selection menu. Merged from MOODLE_19_STABLE. 2008-05-31 15:05:57 +00:00
robertall
668fc89a88 [MDL-14334] Export fields in preset.xml in the order as shown in the Fields tab. Merged from MOODLE_19_STABLE. 2008-05-31 09:51:48 +00:00