Marina Glancy
69d570c130
MDL-45466 forum: performance improvement for mass (un)subscriptions
2014-05-19 13:37:05 +08:00
John Okely
9c94ca5843
MDL-45296 events: Fix objecttable and ids
...
Various events had them incorrectly set or missing:
- submission_locked
- submission_unlocked
- subscription_created
- subscription_deleted
2014-05-08 15:30:03 +02:00
Mark Nelson
02a5a4b2ff
MDL-43557 events: fixed minor issues in existing events
2014-04-29 19:16:11 -07:00
Andrew Nicols
8e6775d8f9
MDL-45075 mod_forum: Move user subscription to an observer
...
The forum subscription function is called in some cases on forum creation
(specifically the case of an automatically subscribed forum).
Since the forum subscription requires both the course_module instance, and
the context these must both be present when subscribing users to the forum,
however these are not fully set up until after the forum has been created.
By moving the subscription to a subscriber, we are able to hook into the
module creation event after the course_module and context have been linked
to the forum instance.
2014-04-22 11:50:52 +08:00
Rajesh Taneja
b2b4ec308e
MDL-41283 report_participation: Added phpdoc about function not used
...
In new logging api, xxx_get_view_actions() and xxx_get_post_actions()
will not be used to identify the paticipation of user. Event's crud
and edulevel status will define user's participation.
2014-04-15 13:31:03 +08:00
sam marshall
8270f0d0bd
MDL-44070 Conditional availability enhancements (9): wider changes
...
Changes to arbitrary areas of code that are necessary after the new
API (mostly to replace deprecated function calls).
2014-04-07 20:11:59 +01:00
Henning Bostelmann
013e85bbcc
MDL-44505 mod_forum: Make mailing subject a configurable language string
2014-03-14 11:39:15 +00:00
Marina Glancy
cd5be9a504
MDL-44321 events: make sure the full object is passed to add_record_snapshot()
2014-02-28 16:37:36 +08:00
Eloy Lafuente (stronk7)
6a586f0036
Merge branch '44157-27' of git://github.com/samhemelryk/moodle
2014-02-18 00:51:33 +01:00
Sam Hemelryk
01030f1be6
MDL-44157 mod_forum: unified @package use
2014-02-18 11:15:10 +13:00
Dan Poltawski
de2770501e
MDL-40062 mod_forum: subscription events
...
Events for forum mail subscriptions
* subscription_created
* subscription_deleted
* subscribers_viewed
2014-02-17 14:05:54 +08:00
Dan Poltawski
33c40cc633
MDL-40062 mod_forum: remove invalid add_to_log() calls
...
* debugging add_to_log() calls - the Moodle log is not the
place for these kind of messages
* subscribeall/unsusbcribeall - now individual subscriptions
will fire events, there is no need for a catch all.
* remove read tracking log entries - read tracking individual
log entries do not provide enough reliable information, as
the posts can be marked as read automatically after emailing
or an expiry period.
2014-02-17 10:03:23 +08:00
Kevin Wiliarty
1ec8b1c7ea
MDL-39942: invite only users who can post to discuss
2014-01-27 22:30:47 -05:00
Dan Poltawski
b901d0e9dd
Merge branch 'MDL-43178_forum' of https://github.com/andyjdavis/moodle
2014-01-14 15:26:52 +08:00
Andrew Davis
2b860793a6
MDL-43178 mod_forum: fixed the digest setting confirmation message
2014-01-10 08:33:03 +08:00
Dan Poltawski
73ee2fda6b
MDL-41690 course: remove use of deprecated functions
2014-01-06 10:45:59 +08:00
Sam Hemelryk
a59a423926
Merge branch 'MDL-42084-master' of git://github.com/sammarshallou/moodle
2013-12-03 11:12:34 +13:00
Adrian Greeve
e351bed5c1
MDL-42812 libraries: Update username_load_fields_from_object to add the prefix to everything.
2013-11-12 11:30:16 +08:00
Adrian Greeve
5b1944bbba
MDL-40612 libraries: Tidy up and improvement of the code for additional name fields.
...
Includes an update to get_all_user_name_fields() and the inclusion of set_user_name_object()
2013-11-11 11:01:14 +08:00
sam marshall
3ef7279f26
MDL-42084 Core: Change set_time_limit to core_php_time_limit::raise everywhere
...
Exceptions (places where set_time_limit is still left) are:
Third-party libraries:
ADODB
PHPMailer
Moodle core:
PHPUnit - not relevant (CLI mode)
2013-11-06 16:40:01 +00:00
Damyon Wiese
3b4ace3ec8
Merge branch 'MDL-41251_c' of git://github.com/rwijaya/moodle
2013-11-01 08:55:24 +08:00
Frederic Massart
268bd2fe77
MDL-42534 mod_forum: Fix issue because cm_info is read only
2013-10-25 11:34:10 +08:00
rwijaya
5639454509
MDL-41251 forum_mod: add aria label and role to forum discussion page for accessibility purpose.
...
Thanks to Nate Baxley for creating the original patch.
2013-10-23 12:43:35 +08:00
Andrew Davis
54eb02a45c
MDL-26170 RSS: fixed RSS cache clearing when items are deleted
2013-10-22 10:29:05 +07:00
Adrian Greeve
dda60f88cd
MDL-42238 - mod_forum: Alternate name sql update to forum_print_recent_activity.
2013-10-10 14:02:23 +08:00
Eric Merrill
bd8f5d459d
MDL-29663 forum: Replace constant FORUM_TRACKING_ON with FORUM_TRACKING_FORCED
...
Commit for MDL-29663 that renames the FORUM_TRACKING_ON constant
to FORUM_TRACKING_FORCED to allow easier and more consistant reading.
FORUM_TRACKING_ON retained but marked depreciated.
2013-10-08 08:04:55 -04:00
Eric Merrill
20e6782f10
MDL-29663 forum: Option to allow Forced for read tracking.
...
Converts the use of Read Tracking On to Forced. Adds new admin setting
forum_allowforcedreadtracking. If set, Forced will be available when
adding or editing forums. In this state the forced forum overrides the
user preference of off.
With forum_allowforcedreadtracking not set (default) behavior is the
same as now, except forums previously set in the On state are treated
as Optional.
The side effect of forum_allowforcedreadtracking being on, is that users
cannot speed up the loading of course pages with lots of forums by
setting their personal forum read tracking option to off.
2013-10-08 08:03:54 -04:00
Frederic Massart
6ee51daf6b
MDL-42003 mod_forum: Convert handlers to observers
2013-09-26 16:08:13 +08:00
Damyon Wiese
bfcc07504e
MDL-23335 forum: Fix whitespace
2013-09-10 12:59:49 +08:00
Damyon Wiese
6aca3fc419
Merge branch 'wip-mdl-23335-master' of https://github.com/deraadt/moodle
2013-09-10 12:56:40 +08:00
Petr Škoda
5e95223e86
MDL-28094 keep subdirs in content upgraded from 1.x
2013-09-07 11:30:19 +02:00
Michael de Raadt
02d10ca0ba
MDL-23335 mod_forum: allow multi-lang filtering of shortened messages
2013-09-03 13:42:06 +08:00
Rajesh Taneja
bb78e249cd
MDL-39961 Events: Replace Legacy events - User
...
This change includes:
* Added user_updated event, replacing old event
* Added user_created event, replacing old event
* Added user_deleted event, replacing old event
* Added user_loggedout event, replacing old event
* Added user_enrolment_created event, replacing old event
* Added user_enrolment_deleted event, replacing old event
* Added user_enrolment_updated event, replacing old event
2013-09-02 16:10:05 +08:00
Damyon Wiese
52ec2a60f6
Merge branch 'MDL-41191-duplicaterecords' of git://github.com/danpoltawski/moodle
2013-08-21 15:43:23 +08:00
Dan Poltawski
a9e6a73173
MDL-41191 mod_forum: avoid DISTINCT on TEXT columns
...
It is not supported by all db engines
2013-08-21 14:38:22 +08:00
Damyon Wiese
74df2951d1
Revert "MDL-39876 Change get_record('course') calls to get_course"
...
This reverts commit ab7632b74c
.
2013-08-21 13:42:30 +08:00
Sam Hemelryk
6eee89bc8f
Merge branch 'MDL-39876-master' of git://github.com/sammarshallou/moodle
...
Conflicts:
course/lib.php
2013-08-21 12:08:46 +12:00
Dan Poltawski
c161e4687c
Merge branch 'MDL-41143-master' of git://github.com/FMCorz/moodle
...
Conflicts:
version.php
2013-08-20 18:21:17 +08:00
Frederic Massart
2ecd284779
MDL-41143 mod_forum: Prevent unnessary loading of formslib
2013-08-20 17:50:07 +08:00
sam marshall
ab7632b74c
MDL-39876 Change get_record('course') calls to get_course
2013-08-15 11:31:20 +01:00
Dan Poltawski
cc8c7eaebd
MDL-41191 forum: convert use of deprecated function
2013-08-15 11:50:08 +08:00
Sam Hemelryk
0b7e4a1474
Merge branch 'MDL-4908-m' of git://github.com/andrewnicols/moodle
...
Conflicts:
version.php
2013-08-14 09:15:00 +12:00
Andrew Nicols
b28118f673
MDL-4908 Forum: Add a digest option link to outgoing forum mails
2013-08-13 14:46:11 +01:00
Andrew Nicols
8e08c731eb
MDL-4908 Forum: per-forum digests
2013-08-13 14:46:10 +01:00
Frederic Massart
62b3b99784
MDL-39954 mod_forum: Replacing old-style events_trigger
2013-08-12 17:35:29 +08:00
Marina Glancy
2c1bbbc58e
MDL-29731, MDL-40843 Correctly access course_modinfo->get_groups()
2013-07-24 21:43:56 +10:00
Marina Glancy
2511a97fd6
MDL-29731 Bugs in recent activity when using separate groups
2013-07-24 21:39:26 +10:00
Andrew Nicols
26f1e036e3
MDL-40787 Forum: Remove old commented-out code from forum
2013-07-19 15:04:13 +01:00
Frederic Massart
2e4c0c9181
MDL-40424 libraries: Deprecate context_instance_preload_sql()
2013-07-12 17:41:49 +08:00
Adrian Greeve
ec71acb798
MDL-31776 - lib: mod/forums - Fixed discussion sql query.
2013-07-10 15:26:05 +08:00