Petr Škoda
0852f9c625
MDL-41266 fix coding style issues
2014-02-28 14:52:27 +08:00
Petr Škoda
81fbecc049
MDL-41269 add separate ip column to standard log table
2014-02-28 14:52:26 +08:00
Petr Skoda
ecf9a0c5a6
MDL-41266 move reader access control out from manager
...
We need to let reports decide if they want to use capability to access readers.
2014-02-28 14:52:25 +08:00
Petr Škoda
7eaca5a810
MDL-37658 add new logging API with basic implemenation
2014-02-28 14:52:24 +08:00
Damyon Wiese
76e4de31cc
MDL-25505 Tasks: Fix for scheduled task bug on the last day of the month.
...
On the last day of the month, the scheduled task next time calculation was wrapping
to the 0th day of the month (which is not a valid day).
2014-02-28 13:14:58 +08:00
Damyon Wiese
309ae8921f
MDL-25499: Centralise management of all types of cron tasks
...
Centralise management of all types of cron tasks with registration, scheduling,
parallel task conflicts(blocking) and running once off tasks, all using an
administration screen.
This is a combination of several issues:
MDL-25502: Added "black magic" task allocator for cron
MDL-25503: Add step to cron to run all scheduled tasks
MDL-25504 cron: Refactor to use scheduler
MDL-25505: Add an admin interface to schedule tasks via cron.
MDL-25507: Add support for adhoc tasks.
2014-02-26 12:03:46 +08:00
Ankit Agarwal
df9a6c0114
MDL-44272 events: Fix incorrect urls in course module events
2014-02-24 15:08:22 +08:00
Sam Hemelryk
3ec0946e10
Merge branch 'MDL-43027-master' of git://github.com/jamiepratt/moodle
2014-02-05 11:44:49 +13:00
Marina Glancy
e5fd05a368
Merge branch 'MDL-41754-master' of git://github.com/jamiepratt/moodle
2014-02-04 15:44:51 +08:00
Oleg Sychev
0b5157363f
MDL-42456: add Mercurial vcs support to plugin_external_source
2014-02-04 13:42:33 +13:00
Sam Hemelryk
7c8c6aa76b
Merge branch 'wip-mdl-40911' of https://github.com/rajeshtaneja/moodle
2014-02-04 09:53:16 +13:00
Rajesh Taneja
140118e3e8
MDL-40911 events: replaced add_to_log with events for login failed
2014-01-30 12:12:02 +08:00
Marina Glancy
7c4044a54f
Merge branch 'MDL-25500-master-fix1' of git://github.com/damyon/moodle
2014-01-29 12:01:33 +08:00
Damyon Wiese
37b2c56569
MDL-25500 Lock: Unit tests have found that MySQL locks are broken
...
Removing the MySQL lock factory, the only safe way to use this MySQL API
would be to open a new DB connection for every lock. Record locking is a decent
fallback.
2014-01-29 11:52:51 +08:00
Rajesh Taneja
fdc729ea57
MDL-43736 Events: event->contextinstanceid should be used where possible
...
While restoring event context might not be present (deleted)
So before using context api's check context or use event properties
2014-01-29 11:39:44 +08:00
Eloy Lafuente (stronk7)
fefcd9abab
Merge branch 'MDL-43040'
2014-01-29 01:52:49 +01:00
Eloy Lafuente (stronk7)
994e566256
MDL-43040 Note the deprecation and add some TODOs
2014-01-29 01:40:30 +01:00
Sam Hemelryk
34027f1563
MDL-25500 lock: post integration trivial cleanup
...
* A couple of misc comment typo's
* Added missing $CFG required global in file_lock_factory::is_available
* Removed unused $CFG global from file_lock_factory::get_lock
* A couple of trivial phpdoc tweaks
* Removed unused $DB global from postgres_lock_factory::get_index_from_key
* Added global namespace \ to exceptions in get_index_from_key (tested and found they didn't resolve)
2014-01-29 13:22:16 +13:00
Sam Hemelryk
453d66b782
Merge branch 'MDL-25500-master-squashed' of git://github.com/damyon/moodle
2014-01-29 13:21:00 +13:00
Damyon Wiese
d551112566
MDL-25500 Lock: Do not use file locking if $CFG->preventfilelocking is set
...
(And file_lock_dir is not prefixed with the dataroot).
2014-01-28 20:14:05 +08:00
Mark Nelson
f1f4f4fd7b
MDL-40909 core_enrol: removed 'enrol' add_to_log calls
...
Before each of these calls a call to enrol_user() is made, which
triggers the event 'user_enrolment_created'. Nothing more is needed.
2014-01-27 19:52:55 -08:00
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
James Pratt
eb50c6e198
MDL-43027 core progress : new method keeps track of progress internally
2014-01-27 17:51:09 +07:00
James Pratt
ef81a7c30e
MDL-41754 (3) quiz statistics : need to escape core_php_time_limit
...
after MDL-42084 was merged into upstream, introducing
core_php_time_limit, this branch that moved a reference to
core_php_time_limit to a new namespace was broken.
2014-01-27 17:45:50 +07:00
James Pratt
8da6fc9d57
MDL-41754 (2) quiz statistics : using Sam's new progress classes
2014-01-27 17:45:50 +07:00
James Pratt
809fdb83b1
MDL-41754 (1) Progress tracking : moved from backup and restore to core
2014-01-27 17:45:50 +07:00
Damyon Wiese
9843e5ece5
MDL-25500 lock: New locking framework.
...
This locking system is designed to be used everywhere requiring
locking in Moodle. Each use of the locking system can be configured
to use a different type of locking (or the same type with a different
configuration).
The first supported lock types are memcache, memcached, file (flock),
db (specific handlers for pg, mysql and mariadb).
2014-01-27 10:04:18 +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
Petr Škoda
cac367e4a4
MDL-42973 fix MUC caching issue when fetching available updates
2013-12-12 11:43:35 +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
e762d5a7f2
Merge branch 'm27_MDL-43082_IE9_Compat_View_SVG_Say_No' of https://github.com/scara/moodle
2013-12-10 14:47:08 +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
Sam Hemelryk
830299fe4f
Merge branch 'm27_MDL-43159_Wrong_Naming_Convention_For_Variable' of https://github.com/scara/moodle
2013-12-10 09:21:10 +13:00
Marina Glancy
95971ae99e
Merge branch 'wip-MDL-43175-master' of git://github.com/abgreeve/moodle
2013-12-09 18:54:53 +11:00
Marina Glancy
645cd2fe77
Merge branch 'w50_MDL-42973_m27_addonupd' of https://github.com/skodak/moodle
2013-12-09 18:26:39 +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
Petr Škoda
fc28111316
MDL-42973 fix multiple addon update issues
2013-12-06 09:36:38 +08:00