Mark Nelson
6324517209
MDL-40909 core_enrol: removed 'unenrol' add_to_log calls
...
Before each of these calls a call to unenrol_user() is made, which
triggers the event 'user_enrolment_deleted'. Nothing more is needed.
2014-01-27 19:52:55 -08:00
Petr Škoda
32f906b677
MDL-43661 use new edulevel in all existing events
2014-01-21 16:12:35 +08:00
Petr Škoda
3345e24f4b
MDL-43661 change event property level to edulevel
...
Level is a reserved word in sql, sorry.
2014-01-21 15:54:56 +08:00
Mark Nelson
362b9a0465
MDL-40051 core_lib: replaced add_to_log call when failing to send email with an event
2014-01-19 18:30:40 -08:00
Mark Nelson
0b7422f366
MDL-40051 core_mnet: replaced add_to_log calls with events
2014-01-19 18:30:40 -08:00
Mark Nelson
d86c7206aa
MDL-40912 coursecat: replaced 'move' add_to_log calls with an event
2014-01-14 19:24:14 -08:00
Mark Nelson
c4cea8cb5d
MDL-40912 coursecat: replaced 'update' add_to_log call with an event
2014-01-14 19:24:14 -08:00
Mark Nelson
03ea10e6d3
MDL-40912 coursecat: replaced 'add' add_to_log call with an event
2014-01-14 19:24:08 -08:00
Damyon Wiese
de47c9c81b
Merge branch 'wip-mdl-43293' of https://github.com/rajeshtaneja/moodle
2014-01-07 12:22:49 +08:00
Rajesh Taneja
184afb6b73
MDL-43238 events: Added event other information in event php doc block
2014-01-03 15:03:48 +08:00
Rajesh Taneja
a55eaf0351
MDL-43293 Events: Added comments event in modules supporting comments
2013-12-23 09:22:14 +08:00
Rajesh Taneja
86b0e3b308
MDL-40058 Events: Replaced add_to_log for page comments to event
2013-12-11 13:53:00 +11:00
Marina Glancy
907b98204b
MDL-43044 fix trailing whitespace
2013-12-10 11:52:42 +11:00
Marina Glancy
013620aad3
Merge branch 'MDL-43044-master' of git://github.com/ankitagarwal/moodle
2013-12-10 11:40:54 +11:00
Adrian Greeve
49ff134227
MDL-43175 events: Changed JSON encoding decoding comparison to be less strict.
...
Debugging messages would be sent when other contained a float that is a whole number.
When encoding and decoding using JSON the number is changed to an integer and the
comparison fails.
2013-12-09 09:21:37 +08:00
Ankit Agarwal
c4b0d6dca5
MDL-43044 events: Deprecate course_module_instances_list_viewed abstract class
2013-12-06 15:59:49 +08:00
Ankit Agarwal
bad8b60009
MDL-43044 events: Add a course_module_instance_list_viewed abstract class
2013-12-06 13:18:50 +08:00
Ankit Agarwal
b6c7ab22db
MDL-43044 events: Move component declartion to construct
2013-12-06 13:18:50 +08:00
Ankit Agarwal
df2ac49f72
MDL-42962 events: Add a abstract class course_module_viewed
...
AMOS BEGIN
CPY [eventcoursemoduleviewed,core],[eventcoursemoduleviewed,mod_feedback]
AMOS END
2013-12-03 14:24:31 +08:00
Ankit Agarwal
164931570f
MDL-40040 events: Add blog events
...
Added blog_entries_viewed
Added blog_association_created
2013-12-02 12:06:32 +08:00
Marina Glancy
1637827d75
Merge branch 'wip-mdl-42584' of https://github.com/rajeshtaneja/moodle
...
Conflicts:
lib/classes/event/user_deleted.php
2013-11-01 13:04:29 +11:00
Damyon Wiese
574c1699a7
Merge branch 'MDL-42558-master' of git://github.com/ankitagarwal/moodle
2013-11-01 08:55:25 +08:00
Petr Škoda
fc4365d0fe
MDL-42555 fix moodle_url typo in namespaces
2013-10-29 17:03:58 +08:00
Rajesh Taneja
aa13929988
MDL-42584 Events: modified get_description in events
...
blog_entry_created - Removed summary field
blog_entry_deleted - Removed summary field and unwanted entry record
blog_entry_updated - Fixed single quotes and removed summary field
course_module_created - Removed subject
course_module_updated - Removed subject
user_deleted - Removed user firstname and last name
course_module_viewed - Fixed description
2013-10-29 15:24:23 +08:00
Dan Poltawski
7d3cdcc90d
Merge branch 'wip-mdl-42557' of https://github.com/rajeshtaneja/moodle
2013-10-29 13:16:44 +08:00
Rajesh Taneja
abedc1a84c
MDL-42556 Events: passing modified user info to user_deleted event
...
Deleting user modifies few fields and leave rest as un-modified
So passing modified data to event, to keep it small
2013-10-28 16:37:56 +08:00
Rajesh Taneja
726a3be81a
MDL-42557 Events: Removed timemodified hack from course_deleted event
2013-10-28 13:01:14 +08:00
Ankit Agarwal
a993b0b93a
MDL-42558 events: Enrollment actions are administration not teaching
2013-10-28 11:51:39 +08:00
Mark Nelson
f2f694f399
MDL-40045 user: replaced add_to_log call when the user list is viewed with an event
2013-10-21 11:53:31 +08:00
Mark Nelson
c76318d338
MDL-40045 user: replaced add_to_log call when a user profile is viewed with an event
2013-10-21 11:53:31 +08:00
Mark Nelson
5991cabfd7
MDL-40045 auth: removed unnecessary add_to_log calls
...
Both LDAP and Shibboleth call complete_user_login which triggers
a user_loggedin event that handles the legacy call to add_to_log.
2013-10-21 11:53:30 +08:00
Ankit Agarwal
c4f9401ce4
MDL-40053 events: Replace add_to_log() with new events in core_notes
2013-10-08 15:12:20 +08:00
Ankit Agarwal
3cc4cc68e4
MDL-40053 events: write events for core_notes
...
Following events were added in this commit :-
core\event\note_created
core\event\note_deleted
core\event\note_updated
core\event\notes_viewed
2013-10-08 15:12:20 +08:00
Marina Glancy
0880a52c9a
Merge branch 'MDL-40050-master' of git://github.com/FMCorz/moodle
2013-10-02 16:54:59 +10:00
Frederic Massart
ee2df1a8b2
MDL-40050 webservice: Remove token from events
2013-10-02 13:00:28 +08:00
Eloy Lafuente (stronk7)
268f4cb503
Merge branch 'MDL-42021-master' of git://github.com/FMCorz/moodle
2013-10-01 21:36:13 +02:00
Eloy Lafuente (stronk7)
94211c02c3
Merge branch 'MDL-40050-master' of git://github.com/FMCorz/moodle
2013-09-30 21:55:41 +02:00
Frederic Massart
31e571cdf0
MDL-42021 events: Debug message when objecttable set without an objectid
2013-09-27 14:29:21 +08:00
Eloy Lafuente (stronk7)
18ccaca2e2
Merge branch 'MDL-41726-master-2nd' of git://github.com/FMCorz/moodle
...
Conflicts:
lang/en/moodle.php
2013-09-24 23:13:50 +02:00
Frederic Massart
d733a8ccc3
MDL-40050 webservice: Replace add_to_log() with new events
2013-09-24 15:20:18 +08:00
Sam Hemelryk
c99fcebded
Merge branch 'MDL-40048-master' of git://github.com/FMCorz/moodle
2013-09-24 08:51:41 +12:00
Frederic Massart
481753eca6
MDL-40048 events: New abstract event for old 'view all' log
2013-09-23 10:58:28 +08:00
Petr Škoda
d79d5ac276
MDL-31501 rework user session architecture
...
List of changes:
* New OOP API using PHP namespace \core\session\.
* All handlers now update the sessions table consistently.
* Experimental DB session support in Oracle.
* Full support for session file handler (filesystem locking required).
* New option for alternative session directory.
* Official memcached session handler support.
* Workaround for memcached version with non-functional gc.
* Improved security - forced session id regeneration.
* Improved compatibility with recent PHP releases.
* Fixed borked CSS during install in debug mode.
* Switched to file based sessions in new installs.
* DB session setting disappears if DB does not support sessions.
* DB session setting disappears if session handler specified in config.php.
* Fast purging of sessions used in request only.
* No legacy distinction - file, database and memcached support the same functionality.
* Session handler name included in performance info.
* Fixed user_loggedin and user_loggedout event triggering.
* Other minor bugfixing and improvements.
* Fixed database session segfault if MUC disposed before $DB.
Limitations:
* Session access time is now updated right after session start.
* Support for $CFG->sessionlockloggedinonly was removed.
* First request does not update userid in sessions table.
* The timeouts may break badly if server hosting forces PHP.ini session settings.
* The session GC is a lot slower, we do not rely on external session timeouts.
* There cannot be any hooks triggered at the session write time.
* File and memcached handlers do not support session lock acquire timeouts.
* Some low level PHP session functions can not be used directly in Moodle code.
2013-09-21 13:11:56 +02:00
Frederic Massart
11b0c8e0e6
MDL-41726 mod_quiz: Replace handlers with observers for group events
...
This also implements a filtering of the events to be handled when
a course reset has been started.
2013-09-20 12:25:38 +08:00
Ankit Agarwal
0158650f59
MDL-39959 events: Add course module events
...
Added event course_module_created
Added event course_module_updated
Added event course_module_deleted
2013-09-16 13:42:37 +08:00
Sam Hemelryk
214816fb19
Merge branch 'MDL-40742-master' of git://github.com/ankitagarwal/moodle
2013-09-11 10:13:29 +12:00
Eloy Lafuente (stronk7)
a13f06aec0
Merge branch 'MDL-41619_master' of https://github.com/markn86/moodle
2013-09-10 23:45:20 +02:00
Sam Hemelryk
994009ddfe
Merge branch 'MDL-41599-master' of git://github.com/ankitagarwal/moodle
2013-09-11 08:54:26 +12:00
Dan Poltawski
4bdabf5968
Merge branch 'MDL-41565-master' of git://github.com/FMCorz/moodle
2013-09-10 15:21:49 +08:00
Ankit Agarwal
32dea43930
MDL-40742 blogs: Replace blog_entry_updated with events2
...
AMOS BEGIN
MOV [entryupdated,core_blog],[evententryupdated,core_blog]
AMOS END
2013-09-06 11:43:01 +08:00