mjollnir_
276378e6b0
MDL-15777 - updated data file and picture field types to export files using file api.
...
There's still something about this I don't like - documented in MDL-16493 and code
2008-09-16 15:48:24 +00:00
skodak
8429163db9
MDL-16493 file and picture element migrated; waiting for file picker to mature, presets not finished yet
2008-09-14 08:22:44 +00:00
mjollnir_
0d06b6fda7
MDL-16423 - big refactor of the way callers interact with the portfolio code
...
added two new contract methods to the caller class, load_data and expected_callbackargs (static)
this means that the base class is the only place that needs a constructor
and that no data loading happens in the constructor
this in turn means we can check callback argument validity much more lightly
also completely remoted portfolio_add_button function and replaced with a class
as the argument list was getting out of control. it's now much more readable.
2008-09-11 13:42:58 +00:00
mjollnir_
d8606b2078
MDL-15833 - make the portfolio callers use the helper functions to detect expected time.
2008-09-09 09:32:16 +00:00
mjollnir_
ea0de12f10
MDL-16360 - added support for mime-style subformat detection for portfolio supported formats
...
works well with flickr plugin (tested by uploading an image as a forum attachment and being offered flickr plugin but not for normal attachments)
2008-09-05 17:07:22 +00:00
mjollnir_
988fc25546
MDL-14591 - added some debugging to something that isn't implemented to make sure it gets fixed later
2008-09-02 16:37:37 +00:00
mjollnir_
313f21cef0
MDL-14591 - adding my name next to todos so I can find them later
2008-08-19 14:30:49 +00:00
mjollnir_
3403520190
MDL-16134 - exception handling in portfolio code
2008-08-19 14:20:32 +00:00
skodak
775f811a66
MDL-16002 rewritten upgrade locking and better upgrade progress tracking; MDL-16070 Do not use $a[0] syntax in lang packs + various other upgrade improvements and fixes
2008-08-16 12:16:01 +00:00
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_
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
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
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
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
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
9c00b5d7d0
MDL-15106 towards data mod dml conversion
2008-06-06 08:04:22 +00:00
skodak
a656d95103
MDL-15106 towards data mod dml conversion
2008-06-05 19:26:57 +00:00
skodak
c18269c7e5
MDL-14679 towards modform conversion
2008-06-01 21:36:11 +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
robertall
b8b554ac48
[MDL-8407] Last obligate commit to support exporting records of a database activity as a CSV, XLS, or ODS file. Merged from MOODLE_19_STABLE.
2008-05-31 00:30:00 +00:00
robertall
98f67312c1
[MDL-14816] Escape special regex characters before applying perl compatible regex substitution of field names for database activity's advanced search. Merged from MOODLE_19_STABLE
2008-05-24 11:09:42 +00:00
stronk7
05ac14ca68
Prevent wrong data->notifications to be stored. Default to 0 if empty. MDL-14540 ; merged from 19_STABLE
2008-04-24 17:11:40 +00:00
skodak
b4c8d1ea9c
MDL-14424 approve icon now bigger + css class added; merged from MOODLE_19_STABLE
2008-04-22 13:35:51 +00:00
skodak
3239b0104e
MDL-14458 - optgroups Fields and Other in search menu; removed unused search code, html labels, added option to sort by time modified; merged from MOODLE_19_STABLE
2008-04-21 14:17:02 +00:00
skodak
eaa3081807
MDL-14336 defaultsort now stored as field name in preset.xml; merged from MOODLE_19_STABLE
2008-04-20 19:22:06 +00:00
skodak
8528bf260b
MDL-12861 overriding of database settings now optional when using presets; merged from MOODLE_19_STABLE
2008-04-20 10:09:28 +00:00
skodak
2dc6be3f77
MDL-13188 asearchtemplate.htlm in presets implemented; merged from MOODLE_19_STABLE
2008-04-20 09:29:57 +00:00
skodak
bb5740f4c8
MDL-14424 - approval icon is bigger again, it is possible to sort by Approved status now; merged from MOODLE_19_STABLE
2008-04-19 20:48:48 +00:00
skodak
bc16bd57ac
MDL-9907 xhtml strict; merged from MOODLE_19_STABLE
2008-04-19 16:44:08 +00:00
skodak
eeeb4f2ad9
MDL-12089 several search related problems fixed in data module; merged from MOODLE_19_STABLE
2008-04-19 15:33:06 +00:00
dongsheng
81d3eded3a
MDL-14137, use addslash in get_settings() and remove the second parameter of htmlspecialchars()
2008-04-18 02:12:30 +00:00
dongsheng
046dd7dcf6
MDL-11511, revert the changes, see tracker
2008-04-17 08:11:23 +00:00
dongsheng
4840980a9b
MDL-11511, make logic more clear, merged from MOODLE_19_STABLE
2008-04-17 05:58:29 +00:00
dongsheng
f752e2fd72
MDL-11511, two new caps are introduced, see tracker, merged from MOODLE_19_STABLE
2008-04-17 05:42:13 +00:00
dongsheng
afdadf7b6c
MDL-14137, donot filter single and double quote anymore, see tracker, merged from MOODLE_19_STABLE
2008-04-17 02:59:33 +00:00
skodak
de8ff5813d
MDL-9907 searching/sorting by author name fixed when paging, MDL-14389 more transition fixes; merged from MOODLE_19_STABLE
2008-04-16 13:54:01 +00:00
skodak
714bec7418
MDL-9907 searching/sorting by author name; merged from MOODLE_19_STABLE
2008-04-16 11:51:50 +00:00
skodak
02007b01b8
MDL-14346 database preset throws Fatal error; merged from MOODLE_19_STABLE
2008-04-13 23:02:31 +00:00