Commit graph

888 commits

Author SHA1 Message Date
skodak
e3ea4a75e9 MDL-15249 fixed installation warnings 2009-05-25 21:04:29 +00:00
skodak
4eef139962 MDL-14589 file browsing refactoring - moving url encoding to filelib.php for now 2009-05-20 22:32:02 +00:00
tjhunt
4e1132a8c5 forum: MDL-19119 missing requires now course/lib.php is not included everywhere.
Put in most of the obvious missing require_once($CFG->libdir . '/completionlib.php');
2009-05-08 09:00:41 +00:00
stronk7
74c288a100 MDL-18577 drop enums support - step2: enums out from install.xml files 2009-05-01 14:07:43 +00:00
stronk7
2a88f626f7 MDL-18577 drop enums support - step2: enums out from editor, dbmanager and all upgrade scripts. 2009-05-01 01:19:16 +00:00
skodak
9b010a102e MDL-18910 full support for module intro editor with embedded images 2009-04-21 21:33:08 +00:00
skodak
97498d1ec3 MDL-18910 full support for module intro editor with embedded images 2009-04-21 21:25:22 +00:00
skodak
dc5c2bd9eb MDL-18910 full support for module intro editor with embedded images 2009-04-21 21:17:21 +00:00
skodak
42f103be4c MDL-18910 moving modedit features to modname_supports() 2009-04-21 08:57:20 +00:00
skodak
63b0256797 MDL-18910 normalised module intro and introformat 2009-04-20 18:51:37 +00:00
skodak
c119057ae0 MDL-18910 normalised module intro and introformat 2009-04-20 18:28:49 +00:00
fmarier
316914bf6e MDL-17037 ran all GIF images through gifsicle and PNG through optipng 2009-04-05 23:33:00 +00:00
poltawski
041a1e4173 performance/mymoodle MDL-18241 - Assigments were very expensive
Reworked to take queries out of loops and let it scale. Unfortunately
I don't think we can get the get_users_by_capability() call out of the
loop on assignments.

Real query numbers before/after:
Teacher: 12,509 / 314
Student: 127 / 72
Admin: 718 / 133

Conflicts:

	mod/assignment/lib.php

Merged from 19_STABLE (with dmlib changes)
2009-02-16 13:14:30 +00:00
skodak
795a08adb7 MDL-17458 upgrade logging implemented + a lot more refactoring + exceptions implemented in install/upgrade code + lang pack cleanup + some more improvements 2009-01-31 20:07:32 +00:00
skodak
0cb93a7e45 MDL-17427 another round of refactoring of upgrade related functions - this should be final now I hope ;-) 2009-01-29 19:58:47 +00:00
skodak
9c82ff2acd MDL-17457 migrated all modules to new db/install.php; added upgrade.txt file for devs converting contrib modules 2009-01-12 21:13:28 +00:00
skodak
1045a0074c MDL-17849 sql queries not printed by default during upgrade anymore, there is a new config.php only setting $CFG->upgradeshowsql instead 2009-01-12 16:52:53 +00:00
skodak
e8b7114d5e MDL-17774 refactored USER switching in cron scripts - now standardised in cron_setup_user() 2009-01-03 13:16:59 +00:00
skodak
d1aa1e4855 MDL-17758 fixed hardcoded /admin/ links 2009-01-01 14:25:29 +00:00
dongsheng
0dfd9e97ea "MDL-17469, fix assignment date when restore course, merged from 1.9" 2008-12-11 04:39:33 +00:00
dongsheng
4faace3781 "MDL-17448, fix assignment due time, merged from 1.9" 2008-12-04 08:17:24 +00:00
skodak
214b1cf7a8 MDL-17428 Do not include in the middle of file in global scope 2008-11-27 22:46:34 +00:00
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_
bd2109dfc3 MDL-15666: assignment portfolio unit tests should not try and use file-ish assignment types yet 2008-10-13 10:18:43 +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
nicolasconnault
cc934d000b MDL-15871 Merging from MOODLE_19_STABLE 2008-10-08 08:25:16 +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
skodak
db4a3d8ffe MDL-16666 removing all use_html_editor() instances 2008-09-24 21:03:36 +00:00
jerome
92b2bd00f8 MDL-12297: improvement for fix "assignment view submission" link into "Profil/Activty Report/all logs, merged from 19 2008-09-23 07:47:43 +00:00
jerome
19002f9fcf MDL-12297: fix "assignment view submission" link into "Profil/Activty Report/all logs, merged from 19 2008-09-23 07:28:35 +00:00
nicolasconnault
31355d28c1 MDL-15666 MDL-16486 2008-09-16 07:33:16 +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_
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_
27dda89ffe MDL-15666 - changes to the portfolio caller tests
now that i changed the api again (adding load_data), rather than add a call to it to
all the callers, i abstracted the caller setup into the parent class (portfoliolib_test)
2008-09-11 13:47:40 +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_
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_
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
mjollnir_
3bb8a2c75c MDL-16322 - switch calls to print_error to throw exceptions in portfolio callers 2008-09-04 10:38:44 +00:00
skodak
1160eb5af2 MDL-15420 fixed wrong show submission to others test; merged from MOODLE_19_STABLE 2008-08-28 07:23:05 +00:00
skodak
fa686bc4e0 MDL-16220 allow deleting of all files attached to context 2008-08-27 11:46:48 +00:00
skodak
6b04ddc500 MDL-16075, MDL-16072, MDL-15094 fixing last commit, missed version bumps in upgrade.php 2008-08-18 22:36:33 +00:00
skodak
f7f71f83ba MDL-15904 fixed pg problem 2008-08-18 22:26:38 +00:00
scyrma
f8c81c01f0 MDL-16097: Missing $DB. Found by Joseph Morwick. 2008-08-18 06:33:26 +00:00