Commit graph

826 commits

Author SHA1 Message Date
tjhunt
8e2d826b15 file/link resource: Fix notice. 2008-10-23 09:05:37 +00:00
mjollnir_
96a38422e1 MDL-16541 - text resource portfolio implementation - send as .html since we're formatting that way 2008-10-22 10:45:05 +00:00
mjollnir_
6be1dcae99 MDL-16587 bit of a large refactor of the portfolio formats. still more to come. 2008-10-11 17:33:20 +00:00
tjhunt
b1bc88dbb3 XHTML strict. 2008-09-26 05:15:39 +00:00
tjhunt
16851b22ad MDL-16676 All references to the text.html and emoticons.html files need to be updated to point to text2.html and emoticons2.html 2008-09-25 10:04:01 +00:00
nicolasconnault
5d1381c2c3 MDL-16486 Implemented the proxy DB class. Sort of working, but still some issues to sort out, like fix_course_sort_order, which updates a record NOT inserted by the unit test. 2008-09-19 14:28:22 +00:00
nicolasconnault
31355d28c1 MDL-15666 MDL-16486 2008-09-16 07:33:16 +00:00
mjollnir_
759204f88d MDL-16517 - fix regression i introduced in resource mod portfolio implementation 2008-09-15 19:39:46 +00:00
mjollnir_
c50466705e MDL-15666 - fixing bugs in resource unit test implementation 2008-09-15 16:08:59 +00:00
nicolasconnault
795ad63034 MDL-15666 Testing a matrix of portfolio caller/plugin. Starting the new cleanup method in unit tests (max id) 2008-09-15 13:18: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_
e4af1deef4 MDL-15833 - added some commented out hints for upload resource (not implemented yet) 2008-09-10 09:36:42 +00:00
mjollnir_
8f95364733 MDL-16391 - plain text resources are now PORTFOLIO_FORMAT_TEXT. 2008-09-09 11:01:29 +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_
3bb8a2c75c MDL-16322 - switch calls to print_error to throw exceptions in portfolio callers 2008-09-04 10:38:44 +00:00
stronk7
7facd18e7d Prevent SQL error when forcing download. MDL-15921 ; merged from 19_STABLE 2008-08-26 23:02:58 +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_
600af1f9fe MDL-15768 - more cap checks in resource mod 2008-08-11 15:43:14 +00:00
mjollnir_
494e47e497 MDL-15768 - add capability check in mod/resource for portfolio export 2008-08-11 14:53:00 +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_
ffcfd8a777 MDL-15762 log portfolio transfers and notify the user when there are dups 2008-07-30 16:38:13 +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
mjollnir_
bb63fc3e0c MDL-15834 portfolio supported_formats doesn't need to be abstract 2008-07-29 12:10:14 +00:00
mjollnir_
654119b54e MDL-15758 - fixing assignment & resource bugs 2008-07-28 10:44:25 +00:00
mjollnir_
3efe78dfc4 MDL-15758 - added add to portfolio button to resource/text & html 2008-07-28 08:19:14 +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
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
skodak
559c9187f8 MDL-15387 fixing regression spotted by John Beedell; merged from MOODLE_19_STABLE 2008-07-01 22:26:38 +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
mudrd8mz
26198ebed0 MDL-15387 Always add_to_log() even in case blocks are showing. Merged from MOODLE_19_STABLE 2008-06-25 15:45:21 +00:00
jerome
d81f018f3a MDL-11461 all ressource types are now displayed in the ressource help popup, merged from 1.9 2008-06-17 02:00:54 +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
dongsheng
baa336f08e "MDL-14129, fix all print_error" 2008-06-12 10:55:23 +00:00
skodak
5f5cd33c1d MDL-15114 resource mod converted 2008-06-04 00:04:03 +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
cb141e5a67 MDL-14679 towards modform conversion - fixed regressions 2008-06-01 21:40:56 +00:00
skodak
c18269c7e5 MDL-14679 towards modform conversion 2008-06-01 21:36:11 +00:00
skodak
7cac0c4b2b MDL-14679 fixed references to mod.html 2008-06-01 19:09:13 +00:00
skodak
579d45b434 MDL-14679 converted some get courses 2008-06-01 18:12:24 +00:00
skodak
219f652b91 MDL-14679 upgrade $DB conversion 2008-05-31 18:05:42 +00:00
moodler
03af957a69 MDL-14865 Merged from 1.9 (Don't pass CFG to get_string) 2008-05-16 07:11:20 +00:00
scyrma
29cb9c5c8e MDL-11342: Urlencode the filepath in directory resource (merge from 1.9) 2008-05-02 08:18:11 +00:00
dongsheng
957f6fc9d2 "MDL-14460, fix all the other get_context_instance, merged from MOODLE_19_STABLE" 2008-05-02 04:37:02 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
stronk7
c691bebc56 Force download checkbox is not initialized properly, credit goes to skodak. MDL-14010 ; merged from 19_STABLE 2008-04-01 22:17:58 +00:00
dongsheng
55ac3d6f21 MDL-13151 add a new language string: phone2, thanks for your idea, Jams Ballard. 2008-03-26 02:58:16 +00:00