1331 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
fc5c5306c9 MDL-61693 core_calendar: make results deterministic for better testing 2018-05-06 18:19:21 +02:00
Zig Tan
bdf271df80 MDL-61693 core_calendar: Simplified get calendar event details SQL 2018-05-04 13:01:37 +08:00
David Monllao
3128529784 Merge branch 'MDL-61693-master' of git://github.com/zig-moodle/moodle 2018-05-03 10:24:02 +02:00
Luca Bösch
0188d5b5b4 MDL-61956 calendar: allow to see hidden course with switch role 2018-05-02 09:37:32 +02:00
Zig Tan
49d6fb0379 MDL-61693 core_calendar: Implemented privacy providers 2018-04-26 21:10:49 +08:00
Helen Foster
970c1a4bf1 MDL-62181 lang: Merge English strings from the en_fix language pack
Significant string changes:

* sitepolicies, core_admin - 'Site policies' changed to 'Site security
  settings'
* processexpirationstask, enrol_paypal - more explanatory name
* sitepolicy_help and sitepolicyguest_help, core_admin - setting will
  only have an effect if the site policy handler is set to default
* sitepolicyhandler_desc,core_admin - improved wording
* pathtodot_help, core_admin - Windows and Mac paths
* debugstringids_desc, core_admin - improved explanation
2018-04-24 22:05:30 +02:00
Bas Brands
3ec69c2ece MDL-56511 theme_boost: Update to Bootstrap 4 stable
Behat fixes by David Monllao <davidm@moodle.com>
    - Blocks
    - Modals
    - Messaging styling
    - Breadcrumb
    - Pagination
    - Course & categories management
2018-04-18 09:31:53 +08:00
Eloy Lafuente (stronk7)
716e9deab7 Merge branch 'MDL-61673-fix-wrong-string-on-calendar-mustache_MASTER' of https://github.com/guillalva06/moodle 2018-04-05 00:35:49 +02:00
Eloy Lafuente (stronk7)
f287b7efbb Merge branch 'MDL-61665-master' of https://github.com/iamandrew/moodle 2018-04-04 00:39:10 +02:00
Guillermo Alvarez
8669d43a96 MDL-61673 calendar: Replace wrong string on mustache template 2018-04-02 10:32:07 -05:00
Andrew Davidson
e503ec17c0 MDL-61665 calendar: Added missing complete layout call for calendar page 2018-03-20 09:29:11 +00:00
Andrew Nicols
3f6ede91aa Merge branch 'MDL-61519-master' of https://github.com/MartinGauk/moodle 2018-03-20 13:53:36 +08:00
Martin Gauk
c4172077df MDL-61519 calendar: do not iterate through all categories
Replace calls to \coursecat::get_all() or cache the results.
2018-03-16 14:30:55 +00:00
Andrew Nicols
48c091e510 MDL-61597 calendartype: Implement the privacy API 2018-03-09 13:27:34 +08:00
Ryan Wyllie
4e0ac12efa MDL-60958 calendar: fix test helper action factory 2018-02-12 05:47:49 +00:00
Ryan Wyllie
28852998f6 MDL-60958 calendar: stop db query in repeat collection constructor
Stop loading the parent record in the constructor because it is an
unnecessary DB query for each event instantiation.

Return null on get_repeats() for events that don't have repeats.
2018-02-12 05:29:11 +00:00
David Monllao
5cce9a8fff Merge branch 'MDL-60836-master' of git://github.com/jleyva/moodle 2018-02-01 10:33:18 +08:00
Juan Leyva
e3c04bd98a MDL-60836 core_calendar: Return categoryid in get_calendar_events 2018-01-30 13:47:19 +01:00
Jun Pataleta
3894262a2f MDL-61152 calendar: Remove usage of undefined variable 2018-01-23 10:49:18 +08:00
David Monllao
09896c35f2 Merge branch 'MDL-60963-master' of git://github.com/ryanwyllie/moodle 2018-01-17 10:49:58 +01:00
Ryan Wyllie
3152de6a8d MDL-60963 calendar: use related cache for module instances in export 2018-01-17 03:23:36 +00:00
David Monllao
641e7d41a6 MDL-60967 calendar: Add argument for missing mini param 2018-01-16 13:30:14 +01:00
David Monllao
abf089f2a3 Merge branch 'MDL-60967-master' of git://github.com/ryanwyllie/moodle 2018-01-16 12:36:27 +01:00
Eloy Lafuente (stronk7)
3e9282d486 Merge branch 'MDL-60959-master' of git://github.com/ryanwyllie/moodle 2018-01-16 01:14:39 +01:00
David Monllao
2692af9032 Merge branch 'MDL-60960-master' of git://github.com/ryanwyllie/moodle 2018-01-15 12:10:20 +01:00
David Monllao
51673a3469 Merge branch 'wip-MDL-60742-master' of git://github.com/marinaglancy/moodle 2018-01-09 09:52:44 +01:00
Ryan Wyllie
60908b2187 MDL-60967 calendar: only load course filter when required 2018-01-09 05:57:38 +00:00
Ryan Wyllie
a606f2e2c5 MDL-60967 calendar: preload contexts in course_filter_selector 2018-01-09 03:04:41 +00:00
Ryan Wyllie
4e6c9ead6d MDL-60959 calendar: remove duplicate events export in weekday 2018-01-09 01:51:13 +00:00
Ryan Wyllie
6b02488559 MDL-60959 calendar: remove duplicate course export in event exporter 2018-01-09 01:51:13 +00:00
Ryan Wyllie
bb4691ec7b MDL-60959 calendar: use related course in calendar_event_exporter 2018-01-09 01:51:12 +00:00
Marina Glancy
099bca6de6 MDL-60742 calendar: allow customisation of 12/24h time format strings 2018-01-04 15:16:08 +08:00
Jun Pataleta
60236650d6 Merge branch 'MDL-60962-master' of git://github.com/ryanwyllie/moodle 2018-01-03 16:53:49 +08:00
Eloy Lafuente (stronk7)
708be473d6 Merge branch 'MDL-61055-master-v2' of git://github.com/lameze/moodle 2017-12-26 00:44:08 +01:00
Simey Lameze
39cda40590 MDL-61055 calendar: guest user cannot create events 2017-12-19 16:30:08 +08:00
Andrew Nicols
560ae357a0 Merge branch 'MDL-57564-master-courseorder' of git://github.com/mudrd8mz/moodle 2017-12-18 11:04:20 +08:00
Ryan Wyllie
08a7915551 MDL-60964 calendar: lazy load context for calendar_event
Stop loading the context in the constructor if it hasn't been provided.
There is no need to load it by default. We should lazily load it when it
is required.
2017-12-13 03:20:00 +00:00
David Mudrák
04985346a2 MDL-57564 enrol: Make use of the new default sort parameter
Now when enrol_get_my_courses(), enrol_get_users_courses() and
enrol_get_all_users_courses() methods automatically reflect the
navsortmycoursessort setting by default, we do not need to manually
compose the sorting any more.
2017-12-06 23:15:17 +01:00
Ryan Wyllie
0ef41ee07d MDL-60962 calendar: async load calendar 3 month block 2017-12-06 06:21:16 +00:00
Ryan Wyllie
7884ecf24f MDL-60962 block_calendar_month: load content after page render 2017-12-06 06:21:16 +00:00
Ryan Wyllie
9aeb909d2f MDL-60960 calendar: check enrolment at last chance in container
The enrolment check should only be done if all other checks fail before
it because it's a fairly expensive check to run.
2017-12-05 07:38:05 +00:00
Eloy Lafuente (stronk7)
8c9eecdea7 Merge branch 'MDL-60682' of git://github.com/timhunt/moodle 2017-11-28 20:37:59 +01:00
Eloy Lafuente (stronk7)
8edbd642b4 Merge branch 'MDL-60654' of https://github.com/joaociocca/moodle 2017-11-28 01:16:40 +01:00
Jun Pataleta
9ff02b52b2 Merge branch 'MDL-60813-master' of git://github.com/jleyva/moodle 2017-11-22 13:24:33 +01:00
David Monllao
5d96469c8c Merge branch 'MDL-60751-master' of git://github.com/lameze/moodle 2017-11-22 13:24:29 +01:00
Tim Hunt
223419d92c MDL-60682 forms: date/times should use step 1 minute by default 2017-11-21 14:50:28 +00:00
David Monllao
c39071d32a Merge branch 'MDL-60823-master' of git://github.com/lameze/moodle 2017-11-20 12:06:42 +01:00
David Monllao
087b3303a5 Merge branch 'MDL-60842-master' of git://github.com/lameze/moodle 2017-11-20 10:27:58 +01:00
Simey Lameze
2dc93a3769 MDL-60842 calendar: do not load all course fields 2017-11-20 16:49:45 +08:00
Simey Lameze
5e8e87aaee MDL-60806 core_calendar: return hidden categories 2017-11-20 12:06:47 +08:00