885 Commits

Author SHA1 Message Date
mjollnir_
b2a9505b22 MDL-16514 - adding format to forum mod_form and fixing regression in single forum type add instance 2008-09-15 15:55:11 +00:00
mjollnir_
37f03ea00b MDL-15666 - change all the portfolio plugins and callers to use exceptions
rather than relying on return values (send_package and prepare_package)

move zipping of temporary files into the exporter class so it can be overridden during unit tests

fix a small todo in mahara plugin
2008-09-12 11:22:15 +00:00
moodler
81de8d8e64 MDL-16474 Make counts of posts look nicer, and use the scale to show the results, not just a number 2008-09-12 07:26:56 +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_
b4fecea22d MDL-16391 - forum posts with no attachments get to be PORTFOLIO_FORMAT_HTML 2008-09-09 11:25:45 +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
moodler
30a9aff589 MDL-14722 Added new maxattachments setting at admin and forum level to
set the maximum number of attachments for forum posts.   Default: 1.

Works, but still needs a bit of polishing to deal with re-editing posts (to stop people going above maxattachments)

Also fixed documentation for attachments.
2008-09-08 05:46:42 +00:00
skodak
7e55d513a1 MDL-16072 fixed area browsing 2008-09-07 23:22:23 +00:00
skodak
a060b744e8 MDL-16072 adding missing lang strings 2008-09-07 22:37:32 +00:00
skodak
d6f7cbfd98 MDL-16374 support for file browsing in modules 2008-09-06 17:00:43 +00:00
mjollnir_
1e14c62f10 MDL-16360 - better forum implementation 2008-09-05 17:23:22 +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
scyrma
927ce88759 MDL-15405: Add support for relinking of inline media 2008-09-04 01:56:50 +00:00
mjollnir_
c9e745468f MDL-15758 - added back full forum exports 2008-09-03 12:05:31 +00:00
moodler
ad78615cb3 MDL-15405 Final bit to make forum attachments work with filepicker 2008-09-03 06:07:36 +00:00
dongsheng
94eff36397 "MDL-16284, fix mismatch tracking state title, merged from MOODLE_19_STABLE" 2008-09-03 03:01:09 +00:00
skodak
b229ac31b1 MDL-12224 no more {$CFG->prefix} in HEAD 2008-09-02 22:10:11 +00:00
mjollnir_
43c90ed1f8 MDL-16232 - fix bad link in portfolio breadcrumbs 2008-09-02 16:10:51 +00:00
jerome
c38965fbfa MDL-12224: preload ratings for the specific user and only for his discussions, merged from 19 2008-09-02 09:51:11 +00:00
stronk7
493f08200b Add missing $DB 2008-08-28 18:04:16 +00:00
skodak
455a8fede8 MDL-15497 fixed notice when deleting forum 2008-08-27 15:50:33 +00:00
skodak
fa686bc4e0 MDL-16220 allow deleting of all files attached to context 2008-08-27 11:46:48 +00:00
nicolasconnault
dbf4d660f4 MDL-16182 Loosening the api a bit, solves the issue. 2008-08-23 07:01:44 +00:00
mjollnir_
be48dec2d2 MDL-15768 - fix forum permission checking for portfolio export 2008-08-22 16:34:44 +00:00
mjollnir_
3342790c70 fixing error caused by $DB migration 2008-08-22 12:31:16 +00:00
mjollnir_
349242a31d MDL-16127 - smarter handling of supported formats in callers 2008-08-20 13:30: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
mjollnir_
f98b13a650 MDL-15758 and MDL-15768
- updated forum portfolio code to use files api and added forum export caps.
2008-08-18 18:31:17 +00:00
skodak
2a2a731a43 MDL-16072 fixed html type attachemnt embedding 2008-08-17 18:33:25 +00:00
skodak
de7295a032 MDL-16072 converted forum reset 2008-08-17 12:06:52 +00:00
skodak
b6774c8837 MDL-16072 converted forum reset 2008-08-17 12:00:38 +00:00
skodak
1f0e77025d MDL-16072 memory related improvements 2008-08-17 09:31:11 +00:00
skodak
4644167932 comment typo 2008-08-16 21:28:30 +00:00
skodak
0faf6791f4 MDL-16072 File storage conversion Forum 2008-08-16 21:24:05 +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
jerome
5e7f2b0b25 MDL-12224: complete activity report: fix warning display + display the rating, merged from 19 2008-08-14 13:49:28 +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_
6b4d90cd58 MDL-15758 - bring back full forum post export 2008-08-04 16:08:50 +00:00
lfrodrigues
2044a2b26f MDL-10107 - Removed old email_to_user with we still arround and added default message processor for user,
adminuser and on messagelib
2008-08-02 00:04:29 +00:00
moodler
1c04ad9985 MDL-10107 Fixed event name for digests 2008-07-31 08:04:07 +00:00
moodler
120b375891 MDL-10107 Fixed the definition of message providers ... it now works through files very similar to those for events and capabilities, which makes them easy to add/remove/change as necessary 2008-07-31 08:01:46 +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
mjollnir_
bb63fc3e0c MDL-15834 portfolio supported_formats doesn't need to be abstract 2008-07-29 12:10:14 +00:00
sam_marshall
49f6e5f476 MDL-15498: Fixes to problems Petr identified with completion system checkin 2008-07-28 15:58:50 +00:00
sam_marshall
4e781c7b50 MDL-15498: Completion system 2008-07-28 12:31:29 +00:00
mjollnir_
cbe8184c52 MDL-15758 fixed a bug in the return to url in forum 2008-07-28 10:23:51 +00:00
mjollnir_
64994e291b MDL-15758 - commenting out some forum calls until the portfolio is ready 2008-07-28 10:17:09 +00:00