665 Commits

Author SHA1 Message Date
Sam Hemelryk
d4449f2f17 Merge branch 'wip-MDL-44998-master' of git://github.com/marinaglancy/moodle 2014-04-16 09:46:54 +12:00
Marina Glancy
c733401634 Merge branch 'MDL-45035-master' of git://github.com/ankitagarwal/moodle 2014-04-15 14:34:36 +08:00
Marina Glancy
72aeb83a74 MDL-44998 log_standard: review indexes 2014-04-15 12:25:48 +08:00
Petr Škoda
5d2abe72a2 MDL-44910 enable new logging during upgrade and installation
The legacy logging is now enabled for reading only
if legacy log data older than one day exists.
2014-04-14 09:43:40 +08:00
Ankit Agarwal
3610ad436c MDL-45035 events: Fix @package and @since tags in Moodle 2.7 events 2014-04-11 13:45:33 +08:00
sam marshall
d3db4b037c MDL-44070 Conditional availability enhancements (2): subsystem, API
This commit defines the new /availability root folder, with
/availability/classes, /availability/tests, and
/availability/condition where the condition plugins will live.
Condition plugin prefix is availability_, e.g. availability_date.

Rationale for this organisation:

1. I was originally going to put this in /lib/availability but
   it has been pointed out that putting even more junk in lib
   is probably bad.
2. 'availability' and 'condition' are the two names used in code
   to refer to this system ($CFG->enableavailability).
3. The prefix has to be short enough to allow database tables
   (although in practice I assume that condition plugins will not
   normally contain database tables).

The new API includes a Boolean tree structure that controls the
availability of an item.

AMOS BEGIN
 CPY [availabilityconditions,core_condition],[restrictaccess,core_availability]
 CPY [enableavailability,core_condition],[enableavailability,core_availability]
 CPY [configenableavailability,core_condition],[enableavailability_desc,core_availability]
AMOS END
2014-04-07 20:11:33 +01:00
Sam Hemelryk
3ed2a4b2cc Merge branch 'w14_MDL-44824_m27_subplugins' of https://github.com/skodak/moodle 2014-04-02 13:04:46 +13:00
Petr Škoda
246230715e MDL-44733 add disabled class rows with disabled scheduled tasks 2014-03-31 15:48:19 +08:00
Petr Škoda
0a5aa65b53 MDL-44733 add support for disabling of scheduled tasks 2014-03-28 10:23:37 +08:00
Petr Škoda
c7e5683a7e MDL-44824 add missing subplugin type names 2014-03-27 11:59:26 +08:00
Ankit Agarwal
16e59c6af8 MDL-44596 logging: Refecator code to use component_callback() and get_plugin_list_with_function() 2014-03-26 09:50:41 +08:00
Ankit Agarwal
96c8d59dea MDL-44596 logging: Add some tests to log stores to test the new support methods 2014-03-26 09:12:43 +08:00
Ankit Agarwal
f0a0f3c2bd MDL-44596 logging: Improve management interfaces for reports and stores
This patch methods to the manager that uses callbacks from reports to determine how reports and stores are compatible with each other. This information is then displayed in the management pages.
2014-03-26 09:12:42 +08:00
Eloy Lafuente (stronk7)
c56e0192ef Merge branch 'w13_MDL-44510_m27_phpunit4' of https://github.com/skodak/moodle 2014-03-25 21:03:44 +01:00
Andrew Nicols
1f777e5c6c MDL-41987 Javascript: Tidy up YUI documentation 2014-03-25 17:01:37 +08:00
Marina Glancy
0029497ca5 Merge branch 'w13_MDL-44732_m27_clitask' of git://github.com/skodak/moodle 2014-03-25 16:49:14 +08:00
Marina Glancy
dd043de942 Merge branch 'w13_MDL-44106_m27_requestorig' of git://github.com/skodak/moodle 2014-03-25 14:15:19 +08:00
Marina Glancy
d11302b646 Merge branch 'wip-mdl-43681' of git://github.com/rajeshtaneja/moodle 2014-03-24 17:27:41 +08:00
Rajesh Taneja
877d5a3218 MDL-43681 logging: Invalid events are not added to get_events_select
If event is not restored then don't add it to returned list of
events in get_events_select
2014-03-24 17:26:42 +08:00
Marina Glancy
66cb56ade6 Merge branch 'w13_MDL-44639_m27_taskdocs' of git://github.com/skodak/moodle 2014-03-24 17:02:10 +08:00
Petr Škoda
454c7b5d39 MDL-44661 fix legacy log reader to ignore new anonymous field 2014-03-24 14:57:21 +08:00
Petr Škoda
7a82dcec41 MDL-44732 add cli script for execution of scheduled tasks 2014-03-24 09:46:51 +08:00
Petr Škoda
bc29320285 MDL-44661 implement event->anonymous property 2014-03-20 17:33:35 +08:00
Petr Škoda
5a1e6e355f MDL-44639 fix phpdocs in scheduled tasks tool 2014-03-20 17:32:56 +08:00
Petr Škoda
54f1423ecc MDL-44510 support PHPUnit 4.x
The old style PEAR installation is incompatible with PHPUnit 4,
nobody was supposed to use PEAR any more - composer
is the only supported library installation method now.
2014-03-20 17:30:42 +08:00
Petr Škoda
965a3c6621 MDL-44106 add origin info to $PAGE object and use it in logs 2014-03-20 17:28:32 +08:00
Marina Glancy
efd727063f Merge branch 'MDL-42892-master_42890' of git://github.com/ankitagarwal/moodle 2014-03-18 18:00:42 +08:00
Ankit Agarwal
e1b2a0b4ef MDL-42892 logging: Refactor logstore_legacy to group all legacy related changes together 2014-03-18 17:50:48 +08:00
Ankit Agarwal
536c0865ef MDL-42892 logging: Remove usage of logtable from can_delete_course 2014-03-18 17:35:59 +08:00
Sam Hemelryk
c961d9626e Merge branch 'w12_MDL-44609_m27_taskcomponent' of https://github.com/skodak/moodle 2014-03-18 09:16:09 +13:00
Petr Škoda
b2ad781349 MDL-44609 add component column to the scheduled task table 2014-03-14 15:48:25 +08:00
Ankit Agarwal
2523979821 MDL-42890 backup: Remove usage of log table in backup cron helper 2014-03-14 12:07:17 +08:00
Ankit Agarwal
dc06500559 MDL-42890 tool_log Default legacy reader should handle CRUD queries 2014-03-14 12:07:17 +08:00
Petr Škoda
a9336f676c MDL-44432 use new task scheduler in new logging plugins 2014-03-14 12:05:54 +08:00
Sam Hemelryk
e89fba41af MDL-44496 fixed renamed method ref in comment 2014-03-11 11:54:52 +13:00
Sam Hemelryk
509edd5624 Merge branch 'w11_MDL-44496_m27_eventbuffer' of https://github.com/skodak/moodle 2014-03-11 11:54:05 +13:00
Dan Poltawski
7f42ee92eb Merge branch 'MDL-44440_master' of git://github.com/dmonllao/moodle 2014-03-10 13:45:26 +08:00
David Monllao
1f631c7c63 MDL-44440 behat: Changing , for > as a navigation tree nodes separator
Using greater than as seems a more natural separator
than the comma when separating nodes which have a
hierarchy relation.
2014-03-10 13:35:40 +08:00
David Monllao
759b323e0e MDL-43236 behat: Updating references to deprecated methods 2014-03-07 16:05:21 +08:00
David Monllao
a542553d42 MDL-44440 behat: Refactoring features to use I navigate to
Replacing multiple "I expand node" steps by the
new "I navigate to". Also fixing few I navigate to
when dealing with non-JS.
2014-03-07 14:46:54 +08:00
David Monllao
370e88d4fe MDL-44440 behat: Other fixes to make clean work properly
- Update the step to follow links inside a treeview
  to work also when JS is disabled.
- Make regions accept header and footer.
- Change some locators refering to non-clean compatible
  regions.
- Restricting click to the table row in forum tracking
  because seems to conflict with the navigation bar when
  using narrow window sizes.
2014-03-07 14:27:52 +08:00
Petr Škoda
875f191963 MDL-44496 fix minor trait docs issue
The store trait is not necessary any more in bufferef_writer
because we define the required methods as abstract.
2014-03-07 11:06:17 +08:00
Petr Škoda
e23bd11010 MDL-44496 fix event buffering in log stores 2014-03-07 10:58:19 +08:00
Eloy Lafuente (stronk7)
170c87d808 Merge branch 'MDL-44425-en_fix' of git://github.com/mudrd8mz/moodle 2014-03-06 00:35:28 +01:00
Helen Foster
fcca760ae7 MDL-44425 Merge English strings from the en_fix language pack 2014-03-05 13:29:32 +01:00
Rajesh Taneja
24b293e45e MDL-41266 Logging: Added choose option for external database store 2014-03-04 15:55:50 +08:00
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