Jun Pataleta
b2279ec1d7
MDL-78674 calendar: No need to call get_course_and_cm_from_instance()
...
The course ID and CM id can already be fetched from the event object.
2023-08-10 09:37:37 +08:00
Santosh Nagargoje
51267e5590
MDL-78674 calendar: Added fix to rebuild module cache in calendar
2023-08-10 09:34:51 +08:00
Angelia Dela Cruz
09d654b3fe
MDL-78158 behat: Behat cleanup and optimisation
2023-07-04 07:01:27 +08:00
Angelia Dela Cruz
9f101a30b2
MDL-78158 Behat: Use data generators to add blocks
2023-07-03 17:41:21 +08:00
Andrew Nicols
406623116c
MDL-78306 core: Convert calendar modals to ESM
2023-06-14 21:41:50 +08:00
Andrew Nicols
48c5f01497
MDL-78306 calendar: Remove unused dependencies
2023-06-14 21:41:50 +08:00
Meirza
00bea84ed6
MDL-77350 calendar: Added class properties that are not declared
...
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.
2023-05-16 00:33:20 +07:00
Paul Holden
8a6065f5fc
MDL-77858 javascript: correct core/notification
exception imports.
2023-04-24 10:44:07 +01:00
Ilya Tregubov
1c25a0cc2f
Merge branch 'MDL-77577-master' of https://github.com/andelacruz/moodle
2023-04-20 12:33:23 +08:00
Jun Pataleta
02ba4ceefa
Merge branch 'MDL-77940' of https://github.com/stronk7/moodle
2023-04-19 17:43:23 +08:00
Eloy Lafuente (stronk7)
061c9d7ba0
MDL-77940 versions: bump all versions and requires near release
...
version = 2023042400 release version
requires= 2023041800 current rc1 version
2023-04-18 18:08:09 +02:00
Jun Pataleta
4df52460b5
MDL-77898 calendar: Add iconclass for upcoming_mini template
...
The icon's iconclass context data adds additional CSS class(es) to
calendar event icons to better control how the event icon is displayed.
e.g. without filtering for activity events that don't hae monologo
versions of their icons.
2023-04-18 15:58:09 +08:00
Marina Glancy
8fc1486d36
MDL-77164 various: fix incorrect phpdocs
2023-04-13 11:35:06 +01:00
Marina Glancy
4d765cd699
MDL-77164 privacy: typehint test content writer
2023-04-13 09:43:15 +01:00
Marina Glancy
9ffbcce0ac
MDL-77164 various: fix mustache template name
2023-04-13 09:43:15 +01:00
Marina Glancy
04f8fdd021
MDL-77164 various: fix javascript AMD module name
2023-04-13 09:43:15 +01:00
Andrew Nicols
faa68960ad
MDL-76866 calendar: Make test more specific
2023-03-29 20:33:47 +08:00
Jun Pataleta
97215704d3
MDL-77105 block_timeline: Add 'nofilter' class when necessary
...
Add the `.nofilter` class for activity icons when the icon URL's
`filtericon` parameter is not set, so they get rendered as they are on
the timeline block.
2023-03-27 13:54:36 +08:00
Stephan Robotta
06872a4ebd
MDL-77392 calendar: calendar items are hidden because of settings
2023-03-23 12:39:15 +01:00
Angelia Dela Cruz
374b6d8e0e
MDL-77577 Behat: Replaced the use of "Install selected language pack(s)
...
Evaluated usage of "Install selected language pack(s)" in Behat and
replaced the steps to use generator to install language packs as part
of test setup.
2023-03-21 11:58:30 +08:00
Mark Sharp
4e99fe48bc
MDL-72533 core_calendar: improve calendar event table peformance
...
- Filter searchable courses if set.
- Sites with large groups should now experience better performance.
- Applies and optimises query against a proper date range.
Co-authored-by: Mark Sharp <mark.sharp@solent.ac.uk>
Co-authored-by: Peter Sistrom <petersistrom@catalyst-au.net>
Co-authored-by: Kevin Pham <keevan.pham@gmail.com>
2023-03-20 12:15:14 +11:00
Jun Pataleta
8441270181
Merge branch 'MDL-77559-master-2' of https://github.com/andrewnicols/moodle
2023-03-09 16:02:01 +08:00
Andrew Nicols
511401f4f6
MDL-77559 js: Rebuild all JS with Node 16
2023-03-09 09:53:19 +08:00
Mathew May
e5ca7766e7
MDL-52805 core: Remove legacy log calls
2023-03-07 13:08:46 +08:00
Andrew Nicols
33b1e41f13
MDL-75012 js: Full build of all grunt things
2023-03-02 11:55:32 +08:00
Laurent David
fc72a1d7b1
MDL-75337 core: Single button - core changes
...
* Change all core calls toward single_button to use single_button::BUTTON_PRIMARY
when needed
2023-01-24 06:01:35 +01:00
Jun Pataleta
317af68140
Merge branch 'MDL-76537' of https://github.com/stronk7/moodle
2023-01-19 11:24:04 +08:00
Jun Pataleta
fad05d7929
Merge branch 'MDL-76583-master-withoutrename' of https://github.com/andrewnicols/moodle
2023-01-19 09:44:48 +08:00
Andrew Nicols
a3cc26f8bb
MDL-76583 core: Update uses of external_* classes
2023-01-19 07:34:09 +08:00
Paul Holden
af8da7c737
MDL-70070 phpunit: correct data provider method names.
...
They should not be prefixed `test_` because that's how actual
test methods containing assertions are identified by PHPUnit.
2023-01-16 08:28:37 +00:00
Eloy Lafuente (stronk7)
357f784091
MDL-76537 behat: Month and day names are lang-dependent correct utf-8
...
Just verify that calendars are always displayed with correct UTF-8
and in the language the user is currently using.
2023-01-13 09:57:28 +01:00
Philipp Memmel
b84005ef9f
MDL-76061 core_calendar: Fix changing event type from 'user'
2023-01-09 14:49:50 +01:00
Paul Holden
a6e45197ca
MDL-72523 calendar: return original focus from event modals.
2022-12-28 11:14:38 +00:00
Jackson D'souza
3d05ebca36
MDL-75571 calendar: Activity icon
...
* Use Activity get_icon_url helper method to fetch icon.
2022-12-09 15:53:23 +00:00
Andrew Nicols
6982caf746
Merge branch 'MDL-76491' of https://github.com/paulholden/moodle
2022-12-08 08:08:19 +08:00
Sara Arjona
d5b3abde3c
Merge branch 'MDL-76166-username-logging' of https://github.com/brendanheywood/moodle
2022-12-05 12:44:17 +01:00
Paul Holden
077a30b7ff
MDL-76491 javascript: add missing core/notification
imports.
2022-12-02 10:05:28 +00:00
Simey Lameze
1531541451
MDL-76507 behat: change step to use 'Recent and next 60 days' option
...
It was detected that 'This month' option may cause failures in builds in between months
so using the 'Recent and next 60 days' still fixes the weekend scenario and also the
in between months issue.
2022-12-01 08:50:58 +01:00
Simey Lameze
4be0e3541e
MDL-76507 behat: use 'This month' option when exporting
...
This is necessary because 'This week' option is conditionally
hidden on weekends making behat builds to fail on those days.
Also, the last two steps had to be split because Bennu library
adds days with leading zero and moodle removes it by default.
2022-11-30 19:57:35 +08:00
Brendan Heywood
d3789541ab
MDL-76166 calendar: Ensure user is in server access logs
2022-11-30 13:25:21 +11:00
Jun Pataleta
00bae8b8a4
MDL-76403 versions: bump all versions and requires near release
2022-11-23 09:45:23 +08:00
Marina Glancy
7bbb5434bf
MDL-75100 core: replace function strftime deprecated in PHP 8.1
2022-11-21 11:41:12 +01:00
Sara Arjona
ae18f35f27
Merge branch 'MDL-75627_master_v2' of https://github.com/sbourget/moodle
2022-11-17 17:22:23 +01:00
Marina Glancy
55b9fa4b32
MDL-76333 calendar: add test for calendar export
2022-11-16 16:51:19 +01:00
Sara Arjona
e4789c87db
Merge branch 'MDL-76253-master' of https://github.com/justusdieckmann/moodle
2022-11-10 17:17:45 +01:00
Sara Arjona
5e73ae6f44
Merge branch 'MDL-71951-master' of https://github.com/stevandoMoodle/moodle
2022-11-10 16:37:23 +01:00
Jun Pataleta
c404193823
Merge branch 'MDL-75966-master' of https://github.com/andrewnicols/moodle
2022-11-10 20:28:14 +08:00
Simey Lameze
a512ba0b3c
MDL-75282 behat: Use more precise step definitions
...
Note: This should possibly be broken out into its own issue and applied
to stables.
Part of MDL-75966.
2022-11-10 19:54:31 +08:00
Sara Arjona
0b9df38302
Merge branch 'MDL-75876-master' of https://github.com/praxisdigital/moodle
2022-11-10 12:47:10 +01:00
Justus Dieckmann
31ef87de8c
MDL-76253 calendar: Use activities monologo pix
2022-11-09 15:23:29 +01:00