Commit Graph

155 Commits

Author SHA1 Message Date
tjhunt 9101efd312 cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
For something that has been deprecated for over two years, they were still used in a lot of places!
2008-11-13 08:40:57 +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
poltawski 26087ac5d2 MDL-16461 - default wasn't being set on send for marking due to
incorrect element name

thanks to Brian Gray
2008-10-09 11:24:11 +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
mjollnir_ 9d7432f650 MDL-16423 - changed button->set_formats to respect more general formats (for later when we have richer export formats that aren't mostly based on mime) 2008-09-15 13:13:21 +00:00
nicolasconnault 617ac19bd2 MDL-16423 Adding a missing $ sign 2008-09-12 19:17:53 +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
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_ 0b88fedf88 MDL-16423 - upload assignment types get mime detection (and fixed earlier related regression) 2008-09-10 09:38:04 +00:00
mjollnir_ a97bcd684c MDL-15758: fixing regressions i introduced in lib.php v 1.359 2008-09-09 21:06:19 +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_ 797b81d956 MDL-15758 - remove dependence on 'userid' callback parameter in assignment portfolio caller as it's handled by the parent class 2008-09-05 12:44:46 +00:00
nicolasconnault eb32c6ca84 MDL-15666 minor fixes to assignment portfolio callers, additional param for generator (assignment type), and unit tests for sha1 2008-09-04 13:25:16 +00:00
skodak 591e205fb6 MDL-15904 oops - fixed assignment upgrade migration 2008-08-16 18:13:38 +00:00
skodak 43c60e88af comment typo 2008-08-16 15:54:54 +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_ 899ffdfbdd MDL-15758 - fixing bugs nico found in testing 2008-08-14 12:40:20 +00:00
mjollnir_ 728e1931a2 MDL-15768 - mod/assignment upgraded to check caps before portfolio export 2008-08-11 15:31:55 +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
skodak 172dd12c63 MDL-14589 initial file storage implementation, temporary file manager, migration of course files; blog conversion MDL-15905; assignment conversion MDL-15904; fromslib related file improvements MDL-15906 2008-07-31 22:15:30 +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_ 5071079cb2 MDL-15830 & MDL-15832: added a new intermediate abstract caller class for modules & removed PORTFOLIO_FORMAT_HTML 2008-07-25 15:17:23 +00:00
mjollnir_ ed1fcf794b MDL-14591: changed the definition of portfolio_add_button
to support passing the callbackfile explicitly if necessary
        and added my name next to some TODOs so I can find them later
2008-07-25 10:31:10 +00:00
mjollnir_ 67a87e7db2 portfolio checkin-
see http://git.catalyst.net.nz/gw?p=moodle-r2.git;a=shortlog;h=refs/heads/portfolio for changelog

commit point is this hash on that branch: f9642af4e8bd319d4ecdfd83589db61a8fa6fef2

This comes with two plugins, box.net & download
2008-07-25 08:14:11 +00:00
skodak d854aaa6b6 MDL-15804 yet more space for editor area; merged from MOODLE_19_STABLE 2008-07-24 11:13:01 +00:00
skodak 9da321f728 MDL-15804 smaller online assignment text box size; merged from MOODLE_19_STABLE 2008-07-24 06:02:31 +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
skodak 294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak 74d7d73538 MDL-15103 towards assignment dml conversion 2008-06-05 13:12:00 +00:00
thepurpleblob 6d2d4228d0 MDL-14045
Now respects mod/assignment:view
2008-06-03 13:59:41 +00:00
skodak 579d45b434 MDL-14679 converted some get courses 2008-06-01 18:12:24 +00:00
jerome 91d8d9a020 MDL-14765 Assignments email teachers on any submission (only if Alert teacher = Yes AND Send for making = No), merged from 19 2008-05-28 02:07:06 +00:00
dongsheng a939f681bb "MDL-14129, fix print_error call" 2008-05-22 07:20:45 +00:00
thepurpleblob 74da63289f Wasn't checking for empty due date. 2008-05-13 15:19:31 +00:00
thepurpleblob 7a3f8bf4b7 Small tidy up - left in some stuff, and now use proper error function. 2008-05-13 15:10:36 +00:00
thepurpleblob 3b0d5ca301 MDL-14045:
Add ability to list all online assignments in a course.
Rather like what Journal used to do.
2008-05-13 14:46:10 +00:00
moodler cb59ca286e MDL-4485 Merged from 1.9 2008-04-15 03:42:32 +00:00
scyrma 74369ab567 MDL-13792 - Commiting Patch by Skodak, fixing problem with japanese characters under some conditions. This has been reported to work, if nobody else
comes foward with bugs related to this, it will need to be changed everywhere else where there is no urlencoding done at this time. (merge from 1.8
and 1.9)
2008-04-08 03:04:52 +00:00
dongsheng 5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
skodak 12dce2534f MDL-13899 assignments should be now sending proper submissions and grading dates into gradebook; merged from MOODLE_19_STABLE 2008-03-19 22:35:24 +00:00
nicolasconnault 44d6ecc32b MDL-12854 Added required rule for submission text. Merging from MOODLE_19_STABLE 2008-03-07 09:18:08 +00:00
skodak ba9ad04975 MDL-13741 Incorrect max size shown when using course upload limit; patch by Jason Meinzer; merged from MOODLE_19_STABLE 2008-03-03 20:49:54 +00:00
skodak 03076be407 MDL-6591 inverted checkbox for email notification; MDL-9657 - fixed date issues in drafts; merged from MOODLE_19_STABLE 2008-02-26 19:27:43 +00:00
moodler 0de80bcfe6 Merged MDL-12294 Fixed more missing strings 2008-02-26 08:27:19 +00:00
skodak 42f50aec59 MDL-9657 advanced upload assignment draft tracking now available as activity setting; merged from MOODLE_19_STABLE 2008-02-25 13:34:17 +00:00
skodak 39bc9fbbbb MDL-9657 better dealing with drafts in assignment; merged from MOODLE_19_STABLE 2008-02-25 12:39:48 +00:00
skodak d9cf732316 MDL-6591 moving the disable notification from fg prefs; merged from MOODLE_19_STABLE 2008-02-21 08:14:30 +00:00
skodak 2dc5d980ad MDL-6591 Optional assignment graded email notification - based on patch by Gary Anderson; merged from MOODLE_19_STABLE 2008-02-20 17:50:32 +00:00
skodak ad1e3409a2 MDL-9657 assignment submission finalisation now independent from grade; merged from MOODLE_19_STABLE 2008-02-12 10:52:58 +00:00
poltawski 577d233d53 MDL-12400 - superfluous required_param causing problems in upload
assignment user report.
2008-01-11 11:46:16 +00:00