Commit graph

4816 commits

Author SHA1 Message Date
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
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
Damyon Wiese
63e604f8b1 Merge branch 'w08_MDL-42889_m27_vir' of https://github.com/skodak/moodle 2014-02-25 10:32:44 +08:00
Damyon Wiese
dea614e493 Merge branch 'MDL-44108_master' of git://github.com/dmonllao/moodle 2014-02-24 15:42:32 +08:00
Damyon Wiese
ccc2966709 Merge branch 'wip-MDL-44139-master' of git://github.com/ds125v/moodle
Conflicts:
	theme/bootstrapbase/style/moodle.css
2014-02-24 15:28:51 +08:00
Damyon Wiese
164ad1a30a Merge branch 'MDL-18633' of https://github.com/danielneis/moodle 2014-02-24 13:16:41 +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
Daniel Neis Araujo
9d9361e82d MDL-18633 User profile: add last ip field to user view 2014-02-18 09:42:28 -03: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
Tim Hunt
e4c20157c0 MDL-44118 new environment check are all quiz attempts upgraded.
In Moodle 2.1, there was a major DB upgrade relating to questions, and
it was possible to delay some of that upgrade. Now, those DB tables are
changing again, and the time has come to insist that all the updata has
been upgraded (or deleted).
2014-02-18 11:55:17 +00:00
Petr Škoda
114e3209b1 MDL-42889 cleanup obsolete clam relatd code
Since 2.0 all uploaded files need to go through the file picker which does the scanning,
the idea is that it is more important to warn users that their computer is crawling
with viruses. All teachers are supposed to have local up-to-date antivirus software!

Since 2.0 we are not scanning existing files on server, in future we might use the
status flag in files table to indicate the file is problematic, but still we should
never detele anthing from the filedir...
2014-02-18 09:22:30 +08:00
Eloy Lafuente (stronk7)
a6d5288e41 Merge branch '44104-27' of git://github.com/samhemelryk/moodle 2014-02-18 01:46:47 +01:00
Dan Poltawski
a24ef7d7cd Merge branch 'MDL-33099-master' of git://github.com/andrewnicols/moodle 2014-02-17 14:40:36 +08:00
Damyon Wiese
8053854592 Merge branch 'MDL-23514-master' of https://github.com/danielneis/moodle
Conflicts:
	lang/en/admin.php
2014-02-17 14:12:16 +08:00
Andrew Nicols
af64bc6179 MDL-33099 Javascript: Deprecate the ajaxenabled function 2014-02-17 14:11:21 +08:00
Sam Hemelryk
1f6ba1809d MDL-44104 admin, grade: fixed use of @params 2014-02-16 12:14:30 +13:00
David Scotson
7f52dbd8d5 MDL-44139 admin: standardise warning renderer use
Take three handcoded warnings and convert them to calling
the 'warning' renderer like rest of the file.

Then remove redundant CSS and/or move specific CSS to generic
places so it's shared.
2014-02-14 11:39:04 +00:00
Sam Hemelryk
3f5827459e MDL-39617 backup: language improvements to cli/backup.php 2014-02-04 09:04:01 +13:00
Sam Hemelryk
6bdf77c191 Merge branch 'MDL-39617-master' of https://github.com/lucisgit/moodle 2014-02-04 08:41:37 +13:00
apsdehal
23f9ff903f MDL-41647 WebServices: Changed notification CSS class 2014-02-02 15:20:21 +05:30
David Monllao
7e3f5e79d0 MDL-43450 behat: Checking the ->behat_* vars contents before showing the steps list 2014-01-29 14:28:37 +08:00
Ruslan Kabalin
d00951b585 MDL-39617 Add cli backup script for a single course backing up.
Useful for backing up a single course. Accepts parameters:

--courseid=INTEGER        Course ID for backup
--courseshortname=STRING  Course shortname for backup.
--destination=STRING      Path where to store backup file. If not set, the backup
                          will stored within the same course backup area.
2014-01-28 13:40:03 +00: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
Eloy Lafuente (stronk7)
7d4c752e31 Merge branch 'w02_MDL-43524_m27_textcaching' of https://github.com/skodak/moodle 2014-01-14 22:08:46 +01:00
Eloy Lafuente (stronk7)
da47e297da Merge branch '35597-27' of git://github.com/samhemelryk/moodle 2014-01-14 16:39:00 +01:00
Damyon Wiese
718f42ae68 Merge branch 'MDL-43584_master' of git://github.com/dmonllao/moodle 2014-01-14 16:21:21 +08:00