Commit graph

100647 commits

Author SHA1 Message Date
Shamim Rezaie
029d6102ea MDL-70816 mod_choice: activity_dates implementation 2021-03-22 16:15:24 +11:00
Shamim Rezaie
dfbf50e18b MDL-70816 core: Activity date details base class
* Base class for fetching an activity module's important date for a user
2021-03-22 16:15:17 +11:00
Andrew Nicols
2014163f57 Merge branch 'MDL-71139-master-trademark' of git://github.com/mudrd8mz/moodle 2021-03-22 11:58:31 +08:00
Andrew Nicols
b171685d6e Merge branch 'MDL-70919-master' of git://github.com/marinaglancy/moodle 2021-03-22 07:44:26 +08:00
Eloy Lafuente (stronk7)
70acb15cbd MDL-71149 install: update the list of stale files for 3.11 2021-03-19 17:31:07 +01:00
Sara Arjona
a5558e1ae5 MDL-65776 libraries: Set moodle files after jsbeautify upgrade 2021-03-19 15:22:36 +01:00
Sara Arjona
84d8da8314 MDL-65776 libraries: Upgrade jsbeautify to 1.13 2021-03-19 15:22:35 +01:00
Sara Arjona
50e9e5b2bd MDL-69792 core_badges: deprecated backpack.js and BADGE_BACKPACKURL
Final deprecation for constant BADGE_BACKPACKURL (it has been removed)
and badges/backpack.js file (it has been removed too).
Besides, some methods have started the deprecation process too:
 - badges_check_backpack_accessibility
 - badges_setup_backpack_js()
 - badges_local_backpack_js()

Apart from that, string 'addbackpack' has been deprecated here
because it's not used anywhere.
2021-03-19 15:13:03 +01:00
Sara Arjona
2c8de780d5 MDL-71116 core_badges: Backpack URLs with more than 50 chars
Backpack URLs (web and API) can have up to 255. However, the form
for creating/editing them, doesn't allow URLs with more than 50
characters. This patch align limitation to DB value (255).
2021-03-19 15:08:12 +01:00
Eloy Lafuente (stronk7)
4c26696e7e weekly release 4.0dev 2021-03-19 14:06:19 +01:00
Eloy Lafuente (stronk7)
6b95768f5f NOBUG: Fixed file access permissions 2021-03-19 14:06:19 +01:00
Eloy Lafuente (stronk7)
49e8125aee Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2021-03-19 14:06:15 +01:00
Ilya Tregubov
56edf8c799 MDL-70318 core: Moodle customisations. 2021-03-19 10:19:10 +02:00
Ilya Tregubov
3dc634f2ee MDL-70318 core: Upgrade CFPropertyList to 2.0.2. 2021-03-19 10:19:10 +02:00
Andrew Nicols
61fca0e05c MDL-68496 grunt: Restructure grunt tasks into subdirectories
Prior to this change all Grunt features were in a single Gruntfile.js
but this has become difficult to manage and maintain.

This commit moves the existing dependencies for component calculation
and babel moduel definition into a new .grunt directory, and
restructures the existing tasks in Gruntfile.js into separate task
configuration files.

This improves the maintainability of the Grunt build system and allows
for easier future expansion.
2021-03-19 12:56:35 +08:00
sam marshall
c89ea6733c MDL-70537 Availability: Avoid recursive calls to $cm->name
These recursive calls didn't work in PHP 7.3 and below, but in PHP
7.4 they also cause a fatal error which means if you have invalid
availability data, the whole page might die.
2021-03-18 15:54:17 +00:00
Marina Glancy
c79e72085b MDL-70919 core_form: non-static method can not be called statically 2021-03-18 12:15:49 +01:00
Sujith Haridasan
c7a9ce8d08 MDL-70769 libraries: Upgrade mimetex to 1.77 version
Upgrade mimetex to version 1.77. The steps followed
remained the same described in readme_moodle.txt.
This time we have made support for 64 bit architecture.
Hence all the binaries created now work with 64 bit only.
Following are the binaries which are upgraded:
1. Linux
2. Arm(aarch64)
3. Windows(exe)
4. Freebsd
5. Mac(darwin)

Signed-off-by: Sujith Haridasan <sujith@moodle.com>
2021-03-18 16:27:46 +05:30
Sujith Haridasan
d7e059aaff MDL-70769 libraries: Upgrading mimetex binaries
Upgrading mimetex binaries to version 1.77

Signed-off-by: Sujith Haridasan <sujith@moodle.com>
2021-03-18 16:18:32 +05:30
Chris Brown
599e08db30 MDL-71139 trademark: Improve the trademark messaging 2021-03-18 10:33:04 +01:00
Jun Pataleta
d10edc787c Merge branch 'MDL-70992-master' of https://github.com/NashTechOpenUniversity/moodle 2021-03-18 12:23:48 +08:00
Adrian Greeve
8790de8fcf Merge branch 'MDL-70924' of git://github.com/paulholden/moodle 2021-03-18 11:53:58 +08:00
Jun Pataleta
54cc7804a8 Merge branch 'MDL-70198-master-2' of git://github.com/peterRd/moodle 2021-03-18 11:41:51 +08:00
Adrian Greeve
089afdfceb Merge branch 'MDL-71048' of https://github.com/paulholden/moodle 2021-03-18 11:11:46 +08:00
Adrian Greeve
4496a4e41c Merge branch 'MDL-70977' of git://github.com/paulholden/moodle 2021-03-18 10:49:42 +08:00
Jun Pataleta
8ab5344098 Merge branch 'MDL-70978-master' of git://github.com/aanabit/moodle 2021-03-18 09:55:44 +08:00
Adrian Greeve
0268bd5624 Merge branch 'MDL-71068-protectusername-confirmed' of https://github.com/brendanheywood/moodle 2021-03-18 09:53:44 +08:00
AMOS bot
f0e45a8a9d Automatically generated installer lang files 2021-03-18 00:07:48 +00:00
Eloy Lafuente (stronk7)
e3a46964dc Merge branch 'MDL-70901-master' of git://github.com/marinaglancy/moodle 2021-03-18 00:40:46 +01:00
Eloy Lafuente (stronk7)
ac086dcf23 Merge branch 'MDL-70896-master' of git://github.com/marinaglancy/moodle 2021-03-18 00:34:05 +01:00
Eloy Lafuente (stronk7)
4ee5fb3b5f Merge branch 'MDL-70968-master' of git://github.com/marinaglancy/moodle 2021-03-18 00:29:38 +01:00
Eloy Lafuente (stronk7)
cfba0366db Merge branch 'MDL-70893-master' of git://github.com/marinaglancy/moodle 2021-03-18 00:23:26 +01:00
Eloy Lafuente (stronk7)
3edac87e20 Merge branch 'MDL-70689-master' of git://github.com/sarjona/moodle 2021-03-17 23:20:37 +01:00
Jun Pataleta
ebf078458d Merge branch 'MDL-71036' of https://github.com/stronk7/moodle 2021-03-17 20:05:25 +08:00
Ilya Tregubov
11956f9fff MDL-70311 theme_boost: upgrade bootstrap to version 4.6.0 2021-03-17 12:26:45 +02:00
Brendan Heywood
7a825b659c MDL-71068 login: Fix edge cases with $CFG->protectusernames 2021-03-17 17:37:29 +11:00
Peter Dias
d589352f4f MDL-70198 core_navigation: Secondary nav unit tests 2021-03-17 13:32:54 +08:00
Peter Dias
683e7b2aaf MDL-70198 core_navigation: Implement secondary nav and curate nodes
Implement the new secondary nav and curate the nodes from flatnav and settingsnav
2021-03-17 13:32:53 +08:00
Peter Dias
23bb8a21c1 MDL-70198 core_navigation: Create new base view class 2021-03-17 12:44:13 +08:00
sangnguyen
edd37a6c07 MDL-70992 Folder: Unnecessary tab stops to the left of files 2021-03-17 09:30:04 +07:00
Eloy Lafuente (stronk7)
c9912e2c0e Merge branch 'MDL-70565' of git://github.com/paulholden/moodle 2021-03-16 22:48:57 +01:00
Eloy Lafuente (stronk7)
44c302a607 Merge branch 'master-MDL-71044_v3' of https://github.com/golenkovm/moodle 2021-03-16 22:38:48 +01:00
Paul Holden
50d3268a6c MDL-71128 mod_quiz: escape question idnumber on display. 2021-03-16 20:27:14 +00:00
Eloy Lafuente (stronk7)
f0733b2f41 Merge branch 'MDL-67748-master-managewebservices' of git://github.com/mudrd8mz/moodle 2021-03-16 19:02:10 +01:00
David Mudrák
4a9f864969 MDL-67748 admin: Add Behat tests for tokens filtering features
Credit goes to Andrew for Behat data generators for webservices.

Co-authored-by: Andrew Nicols <andrew@nicols.co.uk>
2021-03-16 10:51:39 +01:00
Sara Arjona
fe6d780d0d Merge branch 'MDL-44613-integration-master' of git://github.com/mihailges/moodle 2021-03-16 08:26:48 +01:00
Adrian Greeve
ab8b390b78 Merge branch 'MDL-69474' of https://github.com/stronk7/moodle 2021-03-16 12:54:21 +08:00
Adrian Greeve
c862a09c61 Merge branch 'MDL-70780-master' of git://github.com/andrewnicols/moodle 2021-03-16 10:54:46 +08:00
Mihail Geshoski
fcbd1605cb MDL-44613 mod_assign: Fix behat failure in classic
The link to the calendar page is missing in the navigation block in
classic which causes a behat failure in the 'Set availibility dates
for an assignment' feature. The fix includes adding the calendar block
to the Course page which can be used to navigate to the calendar page.
2021-03-16 10:26:09 +08:00
Eloy Lafuente (stronk7)
f35e3f09c2 MDL-69474 accessibility: page->url can be not set, protect against that
Both in unit tests, but also in other areas (say blocks, for example)
it's possible that page->url has not been set yet.

So, let's change current code to always check if we have something
(page->url) to compare.

Note the use of has_set_url() is needed, because page->url is magic
method and it doesn't work as expected. Hate magics!
2021-03-16 00:52:28 +01:00