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
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
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
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
Dan Poltawski
ffd95d4420
Revert "Merge branch 'patch-1' of https://github.com/jrchamp/moodle "
...
This reverts commit d61ecfffe5
, reversing
changes made to e04cf8d83f
.
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
jrchamp
efa2b9b35c
MDL-48591 calendar: Mini Cal Display DST Events
2014-12-18 09:32:46 -05:00
Jetha Chan
08a4f93f1b
MDL-48088 calendar: normalize DTEND, add romance standard time
...
Thanks to Cedric Mortiers (cmortiers@stjohns.be ) for providing the patch.
2014-12-15 12:08:20 +08:00
Oleg Demeshev
741063b41c
MDL-47993 calendar: Fix ical import Microsoft calendar issue
2014-11-14 10:32:54 +13:00
Dan Poltawski
62e965c9b8
Merge branch 'MDL-47466-master' of https://github.com/tehanuyor/moodle
2014-11-05 16:24:14 +00:00
Marina Glancy
a0ef87de1f
MDL-46517 calendar: adjust display for DST
...
Thanks to Jo Matthews for providing a patch
2014-10-29 10:31:28 +08:00
Corey Wallis
91465b5095
MDL-46517 calendar: adjust dates for DST
...
Change-Id: I269382031e4ffa714396f3d9ce2315a5c96d929c
2014-10-29 10:31:28 +08:00
gdharris
ee19ae694a
MDL-46853 calendar: fix import of no duration events
2014-10-24 11:48:20 +02:00
Yolanda Ordóñez Rufat
c3f51a3c79
MDL-47466 calendar: fixed error ORA-01795 in calendar_get_events
2014-10-14 14:58:05 +02:00
Dan Poltawski
9438c6412e
NOBUG: Fixed file access permissions
2014-10-02 15:18:51 +01:00
Yolanda Ordóñez Rufat
a2ed10a5e7
MDL-47466 calendar: use get_in_or_equal() in function calendar_get_events to fix problem with ORA-01795
2014-09-30 13:23:33 +02:00
Stephen Bourget
accc3ced1a
MDL-46084 Calendar: Fix importing of full day events from Google
2014-09-25 09:42:10 -04:00
Brian Barnes
1d3972adcc
MDL-47186 calendar: Changed month name to h2 from h1
2014-09-10 15:34:15 +12:00
Jean-Philippe Gaudreau
b8ad1728d8
MDL-45765 Calendar import: Fix undefined variable in cron when updating calendar subscriptions
2014-07-10 16:09:28 -04:00
Dan Poltawski
abc5f84539
MDL-44605 calendar: improved returnurl validation
...
Now we will only redirect to a local url (though sesskey was
already preventing this redirect from being open)
2014-07-09 01:05:51 +02:00
sam marshall
8270f0d0bd
MDL-44070 Conditional availability enhancements (9): wider changes
...
Changes to arbitrary areas of code that are necessary after the new
API (mostly to replace deprecated function calls).
2014-04-07 20:11:59 +01:00
Ankit Agarwal
9cb5d05f2f
MDL-40915 events: Replace add_to_log with events in calendar
2014-03-21 16:33:19 +08:00
Ankit Agarwal
0f1e1313a5
MDL-42079 calendar: Update core apis to support ical imports with rrule repeats
2014-03-05 09:48:07 +08:00
Damyon Wiese
40cb48792a
MDL-33952 Assignment - bon voyage!
...
mod_assignment has been replaced with a stub that only exists to support restoring and
auto upgrading to mod_assign. If you require mod_assignment for some old plugin, then
overwrite with the 2.6 version manually.
2014-01-08 14:51:06 +08:00
sam marshall
3ef7279f26
MDL-42084 Core: Change set_time_limit to core_php_time_limit::raise everywhere
...
Exceptions (places where set_time_limit is still left) are:
Third-party libraries:
ADODB
PHPMailer
Moodle core:
PHPUnit - not relevant (CLI mode)
2013-11-06 16:40:01 +00:00
Ankit Agarwal
9c7f855b49
MDL-42239 calendar: Fix missing ids issue with mouseover panels
2013-10-22 10:39:32 +08:00
Mark Nelson
1032966cee
MDL-41792 core_calendar: fixed issues when using multiple calendar types
...
1) No longer assume that the end of the current month in Gregorian will be
the end of the month for the calendar type being used.
2) Need to take into account the hours and minutes a calendar type may vary
in order to generate timestamps.
3) When generating the previous and next month links start at the beginning
of the month, not the current day.
4) Need to convert to Gregorian when creating timestamps during calendar
exports.
2013-10-11 16:28:04 +08:00
Mark Nelson
da3041379a
MDL-41792 core_calendar: refactored the calendar to allow the use of multiple calendar types
2013-10-04 16:17:02 +08:00
Ankit Agarwal
ee74a2a19e
MDL-41485 calendar: Replace value of action buttons on managesubscription page with int
2013-08-29 14:55:43 +08:00
Damyon Wiese
74df2951d1
Revert "MDL-39876 Change get_record('course') calls to get_course"
...
This reverts commit ab7632b74c
.
2013-08-21 13:42:30 +08:00
Sam Hemelryk
6eee89bc8f
Merge branch 'MDL-39876-master' of git://github.com/sammarshallou/moodle
...
Conflicts:
course/lib.php
2013-08-21 12:08:46 +12:00
Sam Hemelryk
ead9cce340
Merge branch 'MDL-41157-master' of git://github.com/danpoltawski/moodle
2013-08-21 10:48:02 +12:00
sam marshall
ab7632b74c
MDL-39876 Change get_record('course') calls to get_course
2013-08-15 11:31:20 +01:00
Dan Poltawski
d20b0aa567
MDL-41157 calendar: improve calendar_get_course_cached
...
The function get_course() introduced in 2.5.1 will use $COURSE and
$SITE to avoid an uncessary DB query, simplifying the logic of this
function and improving perf.
2013-08-14 11:05:27 +08:00
Dan Poltawski
f37c923d14
MDL-19171 fix trailing whitespace
2013-08-13 10:06:34 +08:00
Henning Bostelmann
f6a5ffe802
MDL-19171 Calendar: show course links in more places
2013-08-08 17:55:01 +01:00
Frederic Massart
2e4c0c9181
MDL-40424 libraries: Deprecate context_instance_preload_sql()
2013-07-12 17:41:49 +08:00
Ankit Agarwal
0601e0eef6
MDL-40402 libraries: Replace get_system_context() with context_system::instance() in core
2013-07-04 15:41:06 +08:00
Ankit Agarwal
ab37339d09
MDL-37562 calendar: Remove all hardcoded updating of calendar subscriptions, use calendar_update_subscription() instead
2013-04-08 15:03:31 +08:00
Ankit Agarwal
1f7981e079
MDL-37562 calendar: Adding a api calendar_update_subscription() to update calendar events
2013-04-08 13:45:24 +08:00
Tim Hunt
658b9372ee
MDL-38212 cron: display time and memory usage before each task.
...
This helps diagnose problems.
Also, call gc_collect_cycles between tasks, which may reduce the
frequency of out-of-memory errors.
2013-03-08 10:24:41 +00:00
Frederic Massart
769c73ae6c
MDL-25853 calendar: Fixed broken previous/next links
2013-01-30 08:59:11 +08:00
Aparup Banerjee
46112c0277
Merge branch 'MDL-37100-master' of git://github.com/ankitagarwal/moodle
...
Conflicts:
version.php
2013-01-23 14:57:45 +08:00
Sam Hemelryk
8af97c2c2e
Merge branch 'wip-MDL-35826-master' of git://github.com/phalacee/moodle
...
Conflicts:
calendar/upgrade.txt
2013-01-23 10:03:42 +13:00
Jason Fowler
512edd65d8
MDL-35826 - Calendar - Creating a caption containing the month name for mini-calendars
2013-01-22 13:51:09 +08:00