Commit Graph

129 Commits

Author SHA1 Message Date
skodak 4ba2221a09 MDL-18910 full support for module intro editor with embedded images 2009-04-22 04:46:04 +00:00
skodak 6507d1a97e MDL-18910 normalised module intro and introformat 2009-04-20 19:10:05 +00:00
dongsheng aba28cbafe "FORUM/MDL-17709, replace p with div in forum summary, merged from 1.9" 2009-01-19 01:38:07 +00:00
dongsheng a6e13ccc26 "FORUM/MDL-17709, use css selector instead of inline style, merged from 1.9" 2009-01-16 04:52:30 +00:00
dongsheng 4cabf99f93 "MDL-6926, force language in forum module" 2009-01-14 05:01:11 +00:00
sam_marshall 4e781c7b50 MDL-15498: Completion system 2008-07-28 12:31:29 +00:00
dongsheng dde78cb8f2 MDL-14129, remove error() in forum mod. 2008-07-21 08:03:42 +00:00
nicolasconnault 4e44535526 MDL-15108 Upgrade finished, preliminary tests successful. Please continue testing. 2008-06-05 20:16:09 +00:00
skodak 8b79a625b6 MDL-13936 forum reply refactoring and bugfixing - the forum_user_can_post() did not have discussion parameter which was a problem because the login depends on discussion group - there was a hack in discussion.php and view.php working around this, but it was not present in cron; sorry for the change of API, but it was required; merged from MOODLE_19_STABLE 2008-04-19 10:49:53 +00:00
skodak 89d35c49e6 MDL-13936 fixed group handling when adding new discussions; merged from MOODLE_19_STABLE 2008-04-14 19:05:36 +00:00
skodak 62b04e088d MDL-14270 separate groups mode and single discussion forums == normal students can not reply; merged from MOODLE_19_STABLE 2008-04-14 09:38:50 +00:00
skodak 8675df6fd3 MDL-14270 workaround for FF alignment issue; merged from MOODLE_19_STABLE 2008-04-14 09:31:25 +00:00
skodak 90f4745c22 MDL-14113 patch for multiple issues - see tracker for subtasks; merged from MOODLE_19_STABLE 2008-04-13 19:15:02 +00:00
dongsheng 5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
skodak 525041df91 MDL-10990 5) eliminated reply related cap queries for guests and not-logged-in users because they can not post anyway, removed reply link for guests from news posts, they did not see Add discussion link already; merged from MOODLE_19_STABLE 2008-02-26 21:36:48 +00:00
skodak 65bcf17b95 MDL-13450 and MDL-13303 - sorry for changing forum API so late, but it was needed; major perf improvement for forum; fixed printing of user pictures; merged from MOODLE_19_STABLE 2008-02-13 17:03:25 +00:00
poltawski 5d49ff351d MDL-13149 - use correct capability checks to decide which forum subscribe
links to display
merged from MOODLE_19_STABLE
2008-01-27 17:01:12 +00:00
skodak 0bf0e3219e MDL-13050 Reverting, it's not working out as well as planned; merged from MOODLE_19_STABLE 2008-01-24 19:02:27 +00:00
nicolasconnault 406af084a3 MDL-13050 Modules were updated, and grades.php files were added to the lesson and hotpot modules 2008-01-18 14:44:45 +00:00
urs_hunkler 52ea8aa026 Merged from 1.9 and checked :: MDL-12221 :: I added changes to weblib and the forum and glossary view pages, the custom_corners and standard theme to get those pages working.
In the view pages I changed the container function call to a simple "echo 'div ...'" to avoid the custom_corners container overhead and page oddity.

In weblib I added "clearfix" handling to the function "print_box_start($classes ...". "clearfix" is handed over to the containing divs. This is a hack, but I didn't know how to handle it without rewriting too much areas.
2008-01-09 15:52:08 +00:00
skodak 9f7f1a74a0 MDL-12221 custom themes revisited - implemented container concept; merged from MOODLE_19_STABLE 2007-11-23 16:49:51 +00:00
urs_hunkler b80c78e325 merged from 1.9 :: MDL-12221 :: example: adding custom_corners to the info box on the forum page. 2007-11-16 14:21:58 +00:00
urs_hunkler a113acdda8 merged from 1.9 :: MDL-12195 :: added closing '>' in line 157. 2007-11-15 16:37:44 +00:00
tjhunt 38e179a4ed MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.

Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.

If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.
2007-10-12 15:55:49 +00:00
moodler 2c894bb92d Efficiency improvements to bring some SQL statements out of loops MDL-11606 2007-10-05 06:36:31 +00:00
moodler a365ee56cf Fix for subscription and tracking buttons to remove links and improve accessibility and reduce crawler problems http://tracker.moodle.org/browse/MDLSITE-263 2007-09-21 02:52:51 +00:00
toyomoyo 5080d619a3 changed subscription/unsubscription to links if javascript is enabled, and button if javascript is disabled 2007-08-21 04:12:03 +00:00
Martin Langhoff 13534ef716 cvsimport fixups 2007-08-29 13:10:11 +12:00
tjhunt 40ce63cbb7 MDL-10588 - refactor the code for printing the 'subscribe/unsubscribe from this forum' link into one place. 2007-07-24 17:06:29 +00:00
mattc-catalyst 01e3838853 MDL-9473: Initialise navlinks array before use
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:55:24 +00:00
mattc-catalyst 3b27b0fe21 MDL-9615: Correct incorrect use of term breadcrumbs
- $crumbs -> $navlinks


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:40:48 +00:00
mattc-catalyst 70c6c0ad70 MDL-9474: Updated build_navigation() to use global $COURSE
- Removed $course parameter from build_navigation()
- Updated all calls to build_navigation()


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-23 21:11:10 +00:00
mattc-catalyst e3f58dfb4e Breadcrumbs: mod/forum changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:12:29 +00:00
nicolasconnault cdfe4875ec MDL-8783: Added appropriate language strings to resolve this usability issue. 2007-03-15 06:26:52 +00:00
moodler 511ec76be0 Merged fixes from stable for MDL-8741 2007-03-05 02:15:32 +00:00
moodler c1afef8059 FIxed up the intro boxes XHTML Strict 2007-01-11 08:06:15 +00:00
moodler 0be4d8bf67 Removed more tables from forum display :-) Strrrrrict! 2007-01-08 06:56:15 +00:00
Martin Langhoff f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
moodler a321d42bcd Better handling for guest in forums MDL-7125 2006-10-23 04:55:20 +00:00
moodler 4c57e8e502 Merged XHTML fixes from stable 2006-10-22 08:14:20 +00:00
gustav_delius 549a78703b When javascript was turned off the group menu did not work because the Go button linked to course/view.php rather than mod/forum/view.php 2006-10-13 23:27:37 +00:00
vyshane 83da3d286c Fix for MDL-3975. Also added function in rsslib.php to delete cached RSS feeds for the source and destination forums when moving a discussion between 2 forums. 2006-09-26 08:37:56 +00:00
moodler 1a030f5112 Fix for MDL-6319, to fix opposite-state links for unread tracking settings 2006-09-22 03:36:31 +00:00
moodler b32c8ddadd Fixed typos in capability names 2006-09-21 14:05:58 +00:00
vyshane 9222e72167 Removed capability mod/forum:viewforum. We will use moodle/course:viewhiddenactivities and hide/unhide forums instead. 2006-09-21 08:32:05 +00:00
vyshane 49a0ba9438 Cleanups in view.php. Also moved logging of a forum view so that the event is not logged if the user does not have permission to view discussions in a forum (user never sees the discussions, so not counted as a view).
Tidy up of error display in discuss.php for when a user does not have permission to view the discussion.
2006-09-21 05:42:35 +00:00
vyshane 6adc1e975d Added more overrides during restore process for forums from 1.6. Plus some bug fixes. 2006-09-20 02:59:43 +00:00
vyshane 45c38eef4c Removed deprecated forum type teacher. 2006-08-22 07:38:01 +00:00
vyshane f0da6b858e Removed $forum->open, $forum->assesspublic from code. Fixed bug in upgrade
code, changed module config form to accomdate removal of forum.assesspublic
and forum.open.
2006-08-21 06:56:04 +00:00
moodler 0468976c9a SWEEPING CLEANUP
The API was changed slightly so that has_capability now takes the
whole $context object (we almost always have it anyway)

The $kill thing was removed.   If you want to assert a capability
then use:

    require_capability('capname', $context);

with optional variables to modify the error message

Misc bugs here and there also removed and code tidied
2006-08-14 05:55:40 +00:00