83572 Commits

Author SHA1 Message Date
Simey Lameze
4f580aa7a9 MDL-57446 block_myoverview: add methods to query data by course
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Mark Nelson
12cbce0aa3 MDL-57888 core_calendar: moved functions from calendar/lib.php
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Cameron Ball
e46efe3a72 MDL-57599 core_calendar: Add action event class
This patch adds a "regular" calendar event class, and a simple extension
of it which we are calling an action event.

Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Simey Lameze
f7ce6eab7e MDL-57545 core_calendar: add missing record snapshots
This commit adds missing add_record_snapshot() calls everywhere calendar_event_updated is triggered.

Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Simey Lameze
a22fa7cb68 MDL-57545 core_calendar: remove visibility fields from calendar events
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Mark Nelson
c45266d115 MDL-57545 core_calendar: trigger update event when toggling visibility
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Cameron Ball
10a8ea172b MDL-57445 block_myoverview: refactor event_list render
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Ryan Wyllie
ed9c238cae MDL-57445 block_myoverview: remove timeline_view_dates.js
Removed the JS for the timeline_view_dates template as it is no longer
required.

Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Ryan Wyllie
1d0cbd7746 MDL-57445 block_myoverview: timeline view sort-by-date event list
The list of calendar events on the sort-by-date view of the timeline is
now treated as a single long list of calendar events where the groupings
(today, next 7 days etc) are purely for display purposes.

Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Ryan Wyllie
42f80a9acf MDL-57445 block_myoverview: templates for theme clean
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Ryan Wyllie
b858d66699 MDL-57445 block_myoverview: add aria-describedby to event list
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Ryan Wyllie
5081983215 MDL-57445 block_myoverview: add example contexts to tempaltes
Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Ryan Wyllie
6103ce8b82 MDL-57445 block_myoverview: change event list loading icon
Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Ryan Wyllie
0fa82f8463 MDL-57445 block_myoverview: javascript docs
Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Ryan Wyllie
e03d5d4790 MDL-57445 core: allow context variables in pix helper
Allow the user of context variables in the id and component section of
the pix helper.

Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Cameron Ball
992c63043a MDL-57445 block_myoverview: Add courses view to myoverview block
Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Cameron Ball
6a12232581 MDL-57445 block_myoverview: Add course view to timeline
Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Cameron Ball
38c795b2ce MDL-57445 block_myoverview: Add timeline sort by dates
This patch adds a basic timeline view for the events sorted by date.
The events data is stubbed in the calendar events repository.

Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Ryan Wyllie
41b571a1ea MDL-57445 block_myoverview: Add renderer
Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Cameron Ball
1c68e83b1f MDL-57445 block_myoverview: Add timeline by date templates
Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Mark Nelson
ca622fd9fa MDL-57435 core: added additional columns to 'event' table
Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Mark Nelson
5019e69588 MDL-57578 core_calendar: removed the function calendar_event_hook()
Part of MDL-55611 epic.
2017-04-03 11:33:55 +08:00
Mark Nelson
e057f279e4 MDL-57497 core_calendar: added new calendar event class
Moved calendar_event class to new location using replaceclasses.php

Part of MDL-55611 epic.
2017-04-03 11:33:55 +08:00
Mark Nelson
e9dfeec94e MDL-57434 core: deprecated xxx_print_overview() and related functions
Part of MDL-55611 epic.
2017-04-03 11:33:55 +08:00
Mark Nelson
4c5cde3134 MDL-57433 block_course_overview: removed block from core
Part of MDL-55611 epic.
2017-04-03 11:33:55 +08:00
Mark Nelson
932f299bc0 MDL-57437 core: upgrade code for introduction of block_myoverview
Part of MDL-55611 epic.
2017-04-03 11:32:57 +08:00
Mark Nelson
1c69e1994d MDL-57436 core: added 'myoverview' block to list of standard plugins
Part of MDL-55611 epic.
2017-04-03 11:31:32 +08:00
Mark Nelson
3a37efa87f MDL-57436 block_myoverview: added infrastructure for new block
Part of MDL-55611 epic.
2017-04-03 11:31:32 +08:00
Dan Poltawski
bf919ddf02 weekly release 3.3dev 2017-03-31 09:16:27 +01:00
Dan Poltawski
0e4530f0fd Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2017-03-31 09:16:24 +01:00
Dan Poltawski
acfab4cc7b Merge branch 'MDL-58450_master' of git://github.com/dmonllao/moodle 2017-03-31 09:12:16 +01:00
David Monllao
1535cd5bad MDL-58450 mod_forum: Force groups to be returned as they are created
Long history resumed: The test relies on the first group
being the first that is created, the first group is
actually the first one ordering by name. If  is
group-999 and  is group-1000  is returned
as the first group.
2017-03-31 01:44:21 +02:00
Juan Leyva
b0f3e6d618 MDL-57924 mod_data: Fix get_entry call
It was using the pre-integration version where a group was mandatory
2017-03-30 09:29:08 +02:00
Juan Leyva
8cc04bcc67 MDL-57920 mod_data: Fix var dynamic creation (failing in php7) 2017-03-30 09:26:27 +02:00
Juan Leyva
57ab070e01 MDL-57925 mod_data: Implement check_updates_since callback 2017-03-30 03:41:55 +02:00
Juan Leyva
01b7ec36d1 MDL-57925 mod_data: Support new search criteria 2017-03-30 03:19:45 +02:00
Juan Leyva
4ca2890d8e MDL-57924 mod_data: New WS mod_data_update_entry 2017-03-30 02:36:32 +02:00
Juan Leyva
df0c549f88 MDL-57924 mod_data: Move update record code to new function 2017-03-30 02:35:59 +02:00
Juan Leyva
61c640c13a MDL-57923 mod_data: New WS mod_data_add_entry 2017-03-30 02:28:54 +02:00
Juan Leyva
b376f55e59 MDL-57923 mod_data: Move entry creation code to function 2017-03-30 02:26:11 +02:00
Juan Leyva
67bb168e1f MDL-57922 mod_data: New Web Service mod_data_delete_entry 2017-03-30 02:15:46 +02:00
Juan Leyva
229158fe74 MDL-57921 mod_data: New WS mod_data_approve_entry 2017-03-30 02:12:53 +02:00
Juan Leyva
b8e0e64455 MDL-57921 mod_data: Move approval code to new function 2017-03-30 02:11:46 +02:00
Juan Leyva
56b8edcb1e MDL-57920 mod_data: New WS mod_data_search_entries 2017-03-30 01:53:46 +02:00
Juan Leyva
c8a804ff68 MDL-57920 mod_data: Refactor search array creation 2017-03-30 01:53:35 +02:00
Eloy Lafuente (stronk7)
4f164a3e2d Merge branch 'MDL-57919-master' of git://github.com/jleyva/moodle 2017-03-29 13:03:53 +02:00
David Monllao
85384d44c7 MDL-57757 mod_lesson: Check that there is an object 2017-03-29 12:56:33 +02:00
David Monllao
f9b99736f4 Merge branch 'MDL-57757-master' of git://github.com/jleyva/moodle 2017-03-29 12:51:46 +02:00
David Monllao
9653e19b7e Merge branch 'MDL-57754-master' of git://github.com/jleyva/moodle 2017-03-29 12:37:35 +02:00
Juan Leyva
a934c89639 MDL-57919 mod_data: New WS mod_data_get_fields 2017-03-29 11:38:39 +02:00