Commit graph

3919 commits

Author SHA1 Message Date
Damyon Wiese
ca0361084b Merge branch 'w10_MDL-41266_m27_logging' of https://github.com/skodak/moodle 2014-03-04 13:32:43 +08:00
Petr Škoda
993d8d838f MDL-41266 improve naming of log reader interfaces 2014-02-28 14:52:30 +08:00
Petr Škoda
43d91d7665 MDL-42891 fix $interface parameter in dummy log manager and add unit tests 2014-02-28 14:52:30 +08:00
Ankit Agarwal
e083efe0ac MDL-42891 logging: Add support for getting readers that implement a specific interface in log manager 2014-02-28 14:52:29 +08:00
Ankit Agarwal
8bae0d0d80 MDL-43759 logging: Rename trait writer to buffered_writer 2014-02-28 14:52:29 +08:00
Michael de Raadt
ff2990ab9c MDL-41266 improve log store strings 2014-02-28 14:52:29 +08:00
Petr Škoda
ce8a372a31 MDL-41269 use courseid index instead of contextid because new events are going to use courseid 2014-02-28 14:52:28 +08:00
Petr Škoda
0532c5852e MDL-41269 add standard log table indexes 2014-02-28 14:52:28 +08:00
Petr Škoda
35adf145dd MDL-41268 keep full backwards compatibility when installing new logging subsystem 2014-02-28 14:52:28 +08:00
Petr Škoda
bdae738e38 MDL-41266 add new is_logging() method to log readers
This will be useful in live logs report where we want only readers that have latest data.
2014-02-28 14:52:28 +08:00
Petr Škoda
0852f9c625 MDL-41266 fix coding style issues 2014-02-28 14:52:27 +08:00
Petr Škoda
0d9d9efb65 MDL-41268 fix cron execution in new log manager 2014-02-28 14:52:27 +08:00
Petr Škoda
bdaf91fd13 MDL-43931 add logging unit tests 2014-02-28 14:52:27 +08:00
Ankit Agarwal
ed8f7c308b MDL-39933 logging: Get external dabatabase working. 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 Škoda
30e55e9ac6 MDL-41269 add standard log life time and add missing lang strings 2014-02-28 14:52:26 +08:00
Ankit Agarwal
ae0770513f MDL-43759 logging: Update stores to remove duplicated code 2014-02-28 14:52:26 +08:00
Ankit Agarwal
f7b2b1fb7a MDL-43759 logging: Add helper traits for stores and add support for buffering 2014-02-28 14:52:25 +08:00
Rajesh Taneja
b1e7be7318 MDL-37658 logging: convert all standard log fields to legacy log fields 2014-02-28 14:52:25 +08:00
Ankit Agarwal
c154abd095 MDL-41266 logging: Legacy reader should convert passed courseid to course in sql queries 2014-02-28 14:52:25 +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
Marina Glancy
53dd210aff MDL-37658 logging: fixed bug in legacy logging 2014-02-28 14:52:24 +08:00
Petr Škoda
7eaca5a810 MDL-37658 add new logging API with basic implemenation 2014-02-28 14:52:24 +08:00
David Monllao
decf1e14c8 MDL-43738 behat: More info about how to get/set fields 2014-02-27 18:22:06 +08:00
David Monllao
f083d6145e MDL-43738 behat: Updating features files
The following used steps were replaced by the ones
added in this issue:
- I fill the moodle form with
- I fill in with
- I select from
- I select radio button
- I check
- I uncheck
- the field should match

Also removing test for deprecated steps:
- the ASD checkbox should be checked
- the ASD checkbox should not be checked
2014-02-27 18:22:05 +08:00
David Monllao
a525414125 MDL-43738 behat: Updating steps definitions and deprecating methods 2014-02-27 18:22:05 +08:00
David Monllao
becb7e5118 MDL-43738 behat: Functional tests for fields management
We are cheating with this .feature file as this
is not a behaviour and we are just testing the
framework, but in this case I think that everybody
will agree on the need of doing it, as every browser
behaves differently and minor changes in the getters
and setters can easily end up breaking the behaviours.

All credit goes to Eloy Lafuente (stronk7).
2014-02-27 18:21:43 +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
Damyon Wiese
494afb8180 Merge branch '44315-27' of git://github.com/samhemelryk/moodle 2014-02-25 11:09:53 +08:00
Sam Hemelryk
2ef8ff9e05 MDL-44315 phpdoc: fixed up typos and made up tags 2014-02-24 09:13:31 +13:00
David Monllao
702851c071 MDL-44108 behat: Adding a roles data generator 2014-02-21 13:25:44 +08:00
Damyon Wiese
6071a209fe Merge branch 'MDL-44118_2' of git://github.com/timhunt/moodle
Conflicts:
	version.php
2014-02-19 09:08:42 +08:00
Tim Hunt
4e8a07d28b MDL-44118 remove the qeupgradehelper tool
and associated code that was only used by it.
2014-02-18 11:55:21 +00:00
Sam Hemelryk
1f6ba1809d MDL-44104 admin, grade: fixed use of @params 2014-02-16 12:14:30 +13:00
David Monllao
7e3f5e79d0 MDL-43450 behat: Checking the ->behat_* vars contents before showing the steps list 2014-01-29 14:28:37 +08:00
David Monllao
b8c4d91ca0 MDL-43450 behat: Improving error messages 2014-01-24 16:45:27 +08:00
Dan Poltawski
1f931e2928 Merge branch 'MDL-43670' of git://github.com/timhunt/moodle 2014-01-21 11:25:38 +08:00
Tim Hunt
dc4a3ea1ee MDL-43670 quiz_question_instances to match coding guidelines.
Some columns needed to be renamed:
* quiz     -> quizid
* question -> questionid
* grade    -> maxmark

Then all the places that refer to those needed to be fixed.
2014-01-17 10:56:07 +00:00
David Monllao
561e9bb92e MDL-43480 behat: Switching @_only_local and @_alerts to @_file_upload and @_alert 2014-01-17 10:41:37 +08:00
David Monllao
81ad5438c7 MDL-43480 behat: Removing @_only_local tags from steps where it is not necessary 2014-01-17 10:41:37 +08:00
Damyon Wiese
7508094a87 Merge branch 'MDL-43461_master' of git://github.com/dmonllao/moodle 2014-01-15 09:39:03 +08:00
David Monllao
19a40b1468 MDL-43461 behat: Using linux-style directory separators when using cygwin 2014-01-14 13:10:40 +08:00
Eloy Lafuente (stronk7)
577432283c Merge branch 'MDL-43590-en_fix' of git://github.com/mudrd8mz/moodle 2014-01-10 10:08:34 +01:00
Helen Foster
480fca77b3 MDL-43590 Merge English strings from the en_fix language pack 2014-01-09 01:06:01 +01:00
Eloy Lafuente (stronk7)
45f6a8340b Merge branch 'm27_MDL-43508_Invalid_String_Identifier' of https://github.com/scara/moodle 2014-01-08 00:45:51 +01:00
Petr Škoda
3e5226ab6e MDL-43528 remove all traces of magic quotes hacking from moodle core 2014-01-02 10:15:06 +08:00
Matteo Scaramuccia
7a66ddb63b MDL-43508 Quiz Invalid get_string() identifier. 2013-12-28 11:12:29 +01:00
Petr Skoda
9bb80d2005 MDL-43213 fix init regression and remove $checkphp parameter 2013-12-19 13:11:25 +08:00
Petr Škoda
60129d5d1f MDL-43213 try to simplify behat config and init code
1/ always require 3 behat settings - $CFG->behat_wwwroot, $CFG->behat_dataroot and $CFG->behat_prefix
2/ cleanup init code
3/ do not require $CFG->wwwroot and $CFG->dataroot on test sites
4/ remove switch completely - the most confusing part for me
5/ print out behat_wwwwroot in init script so that you can test the test site manually
2013-12-13 14:03:04 +08:00
Eloy Lafuente (stronk7)
ebc77165a4 Merge branch 'MDL-42625_master' of git://github.com/dmonllao/moodle 2013-12-10 23:29:06 +01:00