763 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
1abca11e0a MDL-54638 versions: bump all versions and requires near release
version = 2016052300 release version
requires= 2016051900 current rc1 version
2016-05-19 02:16:15 +02:00
Juan Leyva
871988b0b4 MDL-54049 core_message: Add missing external format text 2016-05-04 12:52:45 +02:00
Nick Phillips
7bdc3ba6e6 MDL-53757 core_calendar: always show whole day's events in 'day' view 2016-04-20 11:34:19 +08:00
Rajesh Taneja
eb9ca848fa MDL-53381 behat: Replaced chained steps with api.
Behat 3.x doesn't support chained steps and hence
this is first step to get rid of chained steps in core.
2016-04-06 11:32:49 +08:00
Rajesh Taneja
42ad096fdb MDL-46891 Behat: Added support for behat 3 2016-03-11 10:51:15 +08:00
Andrew Nicols
f758ad33e4 MDL-49897 calendar: mktime => usergetmidnight 2016-03-09 13:18:09 +08:00
Andrew Nicols
540394e1db Merge branch 'MDL-49897' of https://github.com/rushi963/moodle 2016-03-08 15:05:50 +08:00
Juan Leyva
39b8513763 MDL-52808 calendar: Do not return events for hidden activities 2016-03-07 22:36:31 +01:00
Rushikesh
f68d8a4151 MDL-49897 Calendar : Calendar day view showing past events 2016-03-01 20:05:51 +05:30
David Balch
02c8a8366b MDL-53027 calendar: Fix false empty result from calendar_get_events(). 2016-02-24 18:38:25 +08:00
Stephen Bourget
a721339193 MDL-52383 Calendar: Allow users to set lookahead to 1 year 2016-01-15 13:14:56 -05:00
Adrian Greeve
03af7e696e MDL-52697 calendar: Fixed notice for $name not being defined. 2016-01-08 11:42:20 +08:00
Juan Segarra Montesinos
6349d1e062 MDL-52258 calendar: show event duration on block
Add class .duration_finish to days when an event with duration
finishes. Removes the .muted class from weekend days. Adds
$daytime for the popup title. Tests duyrationbyday too in order
to report no events for a day. Adds endtime suffix to the finish
date of an event with duration.
2016-01-04 09:40:13 +01:00
Ryan Wyllie
4f2ff25ed1 MDL-52258 calendar: show event duration on block
Highlight the days on the calendar for the entire duration
of the event, not just the start day. The days are highlighted
with the same colour as the starting day and will also show
the event popup on hover.
2015-12-10 11:17:25 +01:00
Eloy Lafuente (stronk7)
fdca1a1dd3 Merge branch 'MDL-51495' of https://github.com/NeillM/moodle 2015-11-11 16:56:27 +01:00
Neill Magill
f11fdf9c98 MDL-51495 calendar: E_WARNING in core_calendar_get_calendar_events
If a user does not have the 'moodle/calendar:manageentries' capability then an E_WARNING
can be generated by the core_calendar_external::get_calendar_events() method, that an
expected array is null

This patch creates an array that is missing when a user does not have the capability.
2015-11-11 15:24:31 +00:00
Neill Magill
11dc7c1c3d MDL-51495 calendar: Unit test to get an individual course event
If is user requests a single event on a course via the web service they should be able to retrieve it.
2015-11-11 15:18:37 +00:00
Eloy Lafuente (stronk7)
47a445e442 Merge branch 'wip-mdl-52066' of https://github.com/rajeshtaneja/moodle 2015-11-10 23:27:50 +01:00
Eloy Lafuente (stronk7)
2e144835bb MDL-52059 versions: bump all versions and requires near release
version = planned 2015111600 release version
requires= current 2015111000 rc3 version
2015-11-10 12:33:52 +01:00
Rajesh Taneja
27c99f5007 MDL-52066 unittest: Use ics file from external repo 2015-11-10 13:27:00 +08:00
Mark Nelson
6ae33efccb MDL-49561 core_lib: added info to bennu readme
Also did some minor tweaks to existing code.
2015-09-04 19:38:55 -07:00
Lars Anderson
2be327dca9 MDL-49561 core_calendar: Fix ical export for events with no duration 2015-09-04 19:33:53 -07:00
David Monllao
78af7dae54 Merge branch 'MDL-50637' of git://github.com/sk-unikent/moodle 2015-08-17 13:56:18 +08:00
Marina Glancy
10c82ca307 MDL-50881 calendar: do not throw exception without sesskey 2015-08-11 12:50:41 +08:00
Ankit Agarwal
2149326b8c MDL-50049 deprecation: Remove usage of deprecated api and cleanup 2015-06-29 17:15:50 +05:30
Skylar Kelty
f936c2a9fa MDL-50637 calendar: Fix subscription table layout 2015-06-18 13:21:33 +01:00
Rajesh Taneja
f0b48270d3 MDL-50179 behat: Use %d for windows compatibility 2015-06-09 09:34:10 +08:00
Eloy Lafuente (stronk7)
26ea380d24 MDL-50102 versions: bump all versions and requires near release
version = planned 2015051100 release version
requires= current 2015050500 rc1 version

Note: On purpose, the course format social wrong version (2015102100)
has been kept unmodified. Looking forward a solution right now.
2015-05-05 17:43:19 +02:00
Rajesh Taneja
0fe86bbdbb MDL-49799 behat: replaced asd.com with example.com
asd.com is a valid domain, we should use reserved domain names for testing
2015-04-20 11:21:20 +08:00
David Monllao
89a6290fb9 Merge branch 'MDL-45131-master' of git://github.com/jleyva/moodle 2015-04-16 17:04:34 +08:00
Juan Leyva
e2c851575f MDL-45131 calendar: Add validation for returned parameters in WS tests 2015-04-13 16:37:18 +02:00
Simey Lameze
ef67967293 MDL-49412 core_calendar: Fix behat failures on blog and calendar
Part of MDL-45774
2015-04-10 17:18:24 +08:00
Dan Poltawski
234e929e2b MDL-49684 calendar: fix timezone reseting. 2015-04-08 12:24:44 +01:00
Petr Skoda
d6e7a63d9a MDL-49684 timezones: rewrite timezone support
This patch replaces all homegrown timezone
stuff with standard PHP date/time code.

The main change is the introduction of core_date
class that returns normalised user and server
timezones. From now on nobody should be using
$CFG->timezone or $user->timezone directly!

Other new features and fixes:
* admins are prompted for timezone during install
* editing of other users is finally fixed
* timezones are displayed in user profile
* new $this->setTimezone() in phpunit
* time locale is now automatically reset in phpunit
* timezone is now automatically reset in phpunit
* phpunit has Australia/Perth as default timezone
2015-04-06 13:53:51 +12:00
Dan Poltawski
bd65120bff Merge branch 'wip_MDL-49631_29_utfregex' of https://github.com/skodak/moodle 2015-03-24 11:10:19 +00:00
Petr Skoda
e737c2ff89 MDL-49631 fix incorrect whitespace remplacements 2015-03-23 17:40:15 +13:00
Marina Glancy
c96534600d MDL-27074 calendar: display group name for group events 2015-03-23 10:16:55 +08:00
Andrew Nicols
f4042b73f2 MDL-48943 calendar: Remove aria-live when showing 2015-03-12 09:41:26 +08:00
Eloy Lafuente (stronk7)
ce1be0e738 MDL-48943 calendar: des@arn-izating acceptance tests 2015-03-11 12:46:23 +01:00
Eloy Lafuente (stronk7)
3fb98d64e2 Merge branch 'MDL-48943-master' of git://github.com/andrewnicols/moodle 2015-03-11 12:02:49 +01:00
Andrew Nicols
dc3b2524a1 MDL-48943 calendar: Add behat tests for the calendar popup 2015-03-04 13:46:58 +08:00
Andrew Nicols
17488fd31a MDL-48943 calendar: Rewrite calendar popup JS
Single instance model to support popup of calendar overlay information in a
more memory-efficient, and less DOM-heavy fashion. This also allows for
future expansion - e.g. easier loading of new calendar content.
2015-03-04 10:43:33 +08:00
Ankit Agarwal
575e27f31e MDL-38485 calendar: Carry over line breaks on imports
Thanks to Matthias Schwabe for the patch suggestion
2015-02-19 14:15:22 +05:30
Dan Poltawski
53018f5fc4 Merge branch 'm29_MDL-49052' of https://github.com/totara/moodle 2015-02-10 09:24:42 +00:00
Dan Poltawski
6cc38fb64d MDL-48960 output: use nofollow attribute to stop crawling invalid links
Both the calendar set url and switch theme links are displayed to
non-logged in users which mean they get crawled by search bots. This
prevents the search bots following these links.
2015-02-05 08:13:19 +00:00
Brian Barnes
136f8f09a4 MDL-49052 core_calendar: Improved headings on upcomming events pages 2015-02-05 14:58:59 +13:00
Dan Poltawski
0aa2c4e9c2 Merge branch 'm28_MDL-46814' of https://github.com/totara/moodle 2015-01-06 11:45:23 +00:00
Simey Lameze
76aea854f6 MDL-48017 core_calendar: add context validation to get_calendar_events 2015-01-05 14:17:09 +00:00
Dan Poltawski
ffd95d4420 Revert "Merge branch 'patch-1' of https://github.com/jrchamp/moodle"
This reverts commit d61ecfffe5a568bf1e6cb7684264272413ff5766, reversing
changes made to e04cf8d83fa0f392f9ce8ee50d94610b7073e73d.
2014-12-23 10:42:47 +00:00
Dan Poltawski
d61ecfffe5 Merge branch 'patch-1' of https://github.com/jrchamp/moodle 2014-12-22 13:37:52 +00:00