1413 Commits

Author SHA1 Message Date
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
cc4245a3cd MDL-16483 - stopped using MoodleUnitTestCase in tests where $DB not needed 2009-01-10 13:23:37 +00:00
skodak
6bf25708b6 DML 2.0 regression 2009-01-05 23:42:51 +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
93f66983cc MDL-17773 new get_login_url() function - fixes missing httpslogin tweaks 2009-01-02 22:56:48 +00:00
skodak
6648265857 MDL-16262 recovery of broken single simple discussions after old reset 2009-01-01 22:53:43 +00:00
skodak
af53d23f68 MDL-16262 fixed resetting of single simple discussions 2009-01-01 22:43:00 +00:00
skodak
d1aa1e4855 MDL-17758 fixed hardcoded /admin/ links 2009-01-01 14:25:29 +00:00
moodler
6093af9bc4 MDL-15499 - Spacing fixes only 2008-12-18 02:46:25 +00:00
skodak
48dcaf5892 MDL-14876 fixed regressions in user subscriptions - $cm used incorrectly instead of $cm->id; merged from MOODLE_19_STABLE 2008-12-17 18:10:58 +00:00
tjhunt
081cce7325 forum subscriptions: MDL-14876 - followup - use the right table prefix on column names to avoid an ambiguous column name error. 2008-12-15 06:08:51 +00:00
dongsheng
73c763b75d "MDL-14129, update forum module language file" 2008-12-12 05:53:48 +00:00
dongsheng
12e57b92ea "MDL-14129, fix error() in forum module" 2008-12-12 02:30:56 +00:00
tjhunt
8d8d0bfaae forum subscriptions: MDL-14876 user of deprecated functions was breaking managing subscribers.
This was visible when, for example, unusual role definitions meant that someone could access a forum without being enrolled in a course.

Note that one of the places that was previously broken was front page forums. Since subscribers.php does not do paging at all, the fact that I have fixed this bug makes this page dangerous on large sites. A proper solution will have to wait until bug 17550 is fixed in HEAD.

This also fixes a minor problem introduced by MDL-12979.
2008-12-11 07:01:57 +00:00
dongsheng
ff9b4ea40a "MDL-17570,clean align property, merged from 1.9" 2008-12-10 07:24:11 +00:00
dongsheng
85db96c5b4 "MDL-17570, cleanup align property in div, merged from 1.9" 2008-12-10 06:48:54 +00:00
dongsheng
f956739ced "MDL-17391, use repository filter in forum module" 2008-12-08 05:23:31 +00:00
poltawski
a07e0af03a forum: Portfolio save button was adding an additional '|' when no plugins
available MDL-17467
2008-12-01 20:40:42 +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
stronk7
7a8d8f2247 Minor formatting 2008-11-20 13:09:45 +00:00
skodak
12fab7081e fooMDL-16698 formslib filenamager element: forum converted to use new filemanaer element (no JS/picker integration for now sorry) 2008-11-19 21:53:37 +00:00
stronk7
d44d02a28c MDL-17227 forum: seekey-ize forum prune (split). Merged from 19_STABLE 2008-11-16 22:46:23 +00:00
sam_marshall
cad56b17dd MDL-15648: minor bug with earlier patch 2008-11-14 13:34:39 +00:00
stronk7
1639731bf8 MDL-17227 forum: add sesskey to post/discussion deletion. Merged from 19_STABLE 2008-11-14 08:52:35 +00:00
mjollnir_
62e7195480 MDL-16587 portfolio export formats - support straight file export not just RICHHTML (html + attachments) , it doesn't make sense in things like box.net 2008-11-11 19:54:50 +00:00
skodak
cbc08f3bfc MDL-17130 dml: eliminated $CFG->dbfamily 2008-11-05 00:12:30 +00:00
stronk7
0e442226f3 MDL-14952 - roles: 'moodle/legacy:guest' was preventing admins to post
new discussions in fron page if $CFG->defaultfrontpageroleid = guest. Merged from 19_STABLE
2008-11-01 00:30:55 +00:00
stronk7
4436a63b64 MDL-14998 - roles: add mod/forum:viewdiscussion protection to forum_get_discussions() ; merged from 19_STABLE 2008-10-31 21:50:08 +00:00
nicolasconnault
ddaf465b57 MDL-16341 Fixed a missing $context in has_capability check for portfolio export, forum lib 2008-10-31 09:54:07 +00:00
skodak
fa6081b3d0 MDL-16903 mod/forum: undefined course context when forum subscription not allowed; merged from MOODLE_19_STABLE 2008-10-16 20:46:45 +00:00
mjollnir_
42579aeeb8 MDL-16587: mod/forum portfolio implementation: fixed warning. 2008-10-13 10:10:14 +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
scyrma
de2047e7a9 Forum/MDL-14558: Prevent users from subscribing or getting subscribed to forums where subscriptions are not allowed. (merge) 2008-10-07 09:28:47 +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
9971cc0ce1 MDL-16617 fixed forum name filtering - thanks Mark Nielsen; merged from mOODLE_19_STABLE 2008-09-25 07:12:27 +00:00
nicolasconnault
274e2947a2 MDL-16486 Only using one test $DB connection. Completed most of the implementation. Tests working well now. 2008-09-22 07:06:08 +00:00
poltawski
83199e454e MDL-16542 - missing global $USER 2008-09-16 21:32:09 +00:00
nicolasconnault
b9c639d6c2 MDL-16483 Refactored install/upgrade code into lib/adminlib. Created an intermediate MoodleUnitTestCase class that overrides simpletest's constructor, destructor and setup/teardown methods. All moodle unit tests must extend this class. 2008-09-16 12:19:43 +00:00
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
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_
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_
054dd03b80 MDL-15666 - adding extra test to forum portfolio caller 2008-09-11 14:03:41 +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_
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
nicolasconnault
d5849d59ae MDL-15666 Added database and forum caller unit tests 2008-09-09 09:17:49 +00:00
mjollnir_
adf0ff69fa MDL-15768 - fixing missing cap check in export whole forum discussion 2008-09-09 09:10:11 +00:00