Commit graph

104908 commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
a2e4be3620 Merge branch 'MDL-73728-master' of https://github.com/andrewnicols/moodle 2022-02-03 14:59:00 +01:00
Paul Holden
002077952a MDL-73605 mod_forum: add label/help to the subscription mode options. 2022-02-03 13:25:34 +00:00
Ilya Tregubov
2b4f9d3c40 Merge branch 'MDL-69088' of https://github.com/jacdsouza/moodle 2022-02-03 14:56:11 +02:00
Amaia Anabitarte
0023f63772 MDL-73664 lib: Set Moodle files after ADODB upgrade 2022-02-03 13:56:02 +01:00
Sara Arjona
b841a811be Merge branch 'master_MDL-71696-versioning-integration' of https://github.com/catalyst/moodle-MDL-70329 2022-02-03 13:25:27 +01:00
Jun Pataleta
a772f13eba Merge branch 'MDL-73632-master-2' of https://github.com/bmbrands/moodle 2022-02-03 19:27:56 +08:00
Safat Shahin
bf55e5a481 MDL-71696 core_question: class autoload changes
This commit implements some class autoloading
fixes to align with core question structure.
2022-02-03 22:22:50 +11:00
Safat Shahin
3008edd366 MDL-71696 core_question: Implement question status change
This commit implements the status change pop up for a question
in the base view. This feature update will allow the change of
status of a question without creating a new version.
This commit also implements the status as a char rather than
an int value.
2022-02-03 22:22:50 +11:00
Marc-Alexandre Ghaly
b1ad75aef5 MDL-71696 qbank_preview: previewquestion plugin update
This commit implements versioning and associated features
in the previewquestion plugin. There have been some major
changes in the random question and version selection for
questions. This commit made those changes as well as added
some more features in the preview for version selection
and adds more behat coverage.
2022-02-03 22:22:50 +11:00
Safat Shahin
111951d861 MDL-71696 mod_quiz: quiz updates and behat coverage
The versioning changes will require some major changes
in the backup and restore of question bank and its
elements. This change introduces those changes to make
it compatible with the new world of versioning in question
bank. This commit also removes quiz_slots fields and
quiz_slot_tags table.
This commit will also introduce the versioning db
structure and some major changes to the quiz
and quiz attempts for the question, random
question and the view.
This commit implements the behat changes for versioning
in core question and associated locations.
2022-02-03 22:22:44 +11:00
Guillermo Gomez
c6cfca2a08 MDL-71696 core_question: Changes for versioning
This commit adds the changes in questiontype base
to work with new question tables and the new structure in the
databse. Also needed for versioning.
This implementation will also introduct the question status
which allows a question to be in draft and ready status.
I also introduces changes to the base view where it shows
the latest version of the questions. The view of versions
for a question is not implemented in this commit.
This implementation will also introduce changes in the core
qtype plugins to support versioning and the changed
db schema.
2022-02-03 22:22:44 +11:00
Safat Shahin
7547f3e9f0 MDL-71696 tool_brickfield: accessibility changes for versioning
This implementation will introduce changes in the admin tools plugin brickfield to support versioning and the changed db schema.
2022-02-03 22:22:44 +11:00
Safat Shahin
fc4c108f5b MDL-71696 core_question: question instance report
This commit implements changes in the question
instance report to support the new db structure
for versioning. I considers each question as a
an entity rather than counting each versions.
2022-02-03 22:22:44 +11:00
Guillermo Gomez
c34b89a3c2 MDL-71696 core_question: Implement new database schema
This commit implements the new database structure for
versioning in question. It also does the migration of
current data to the new structure.

Co-Authored-By: Safat Shahin <safatshahin@catalyst-au.net>
Co-Authored-By: Guillermo Gomez Arias <guillermogomez@catalyst-au.net>
2022-02-03 22:22:38 +11:00
Andrew Nicols
fc082d349c MDL-73728 admin: Move adminpresets to admin/presets
This commit moves the presets subsystem to a location within the admin
folder, which is more appropriate given its purpose and reduces
developer frustration with tab completion of the admin directory.
2022-02-03 19:14:28 +08:00
Jun Pataleta
4e1a6e6830 Merge branch 'MDL-73646-master-v2' of https://github.com/sharidas/moodle 2022-02-03 19:09:37 +08:00
Jackson D'souza
18de3388f8 MDL-69088 cache: Make file cache store purge async 2022-02-03 10:30:09 +00:00
Eloy Lafuente (stronk7)
02747f07d3 Merge branch 'MDL-73682' of https://github.com/paulholden/moodle 2022-02-03 10:59:56 +01:00
Ilya Tregubov
20cbf048bc Merge branch 'MDL-73543-master' of https://github.com/lameze/moodle 2022-02-03 10:52:25 +02:00
Jake Dallimore
b6e9d54a38 MDL-73758 availability: fix info::is_available_for_all()
Should only return true early when the config setting is disabled,
not when it's enabled.
2022-02-03 16:41:44 +08:00
Paul Holden
108feb6ffa MDL-73631 reportbuilder: singular, pivoted Behat data generators. 2022-02-03 08:31:01 +00:00
Andrew Nicols
5b730e1149 Merge branch 'MDL-72783-master-test' of https://github.com/rezaies/moodle 2022-02-03 15:30:59 +08:00
Shamim Rezaie
78b7fbb390 Merge branch 'MDL-73538-master' of https://github.com/ferranrecio/moodle 2022-02-03 15:24:04 +11:00
Jun Pataleta
8c7285040b Merge branch 'MDL-73649-master' of https://github.com/bmbrands/moodle 2022-02-03 12:11:06 +08:00
Jun Pataleta
0ca2ed3432 Merge branch 'MDL-73741-master' of https://github.com/sarjona/moodle 2022-02-03 12:06:26 +08:00
Jun Pataleta
454ee3852e Merge branch 'MDL-73594-master' of https://github.com/bmbrands/moodle 2022-02-03 11:51:35 +08:00
Jun Pataleta
5914c8ced2 Merge branch 'MDL-73452-master' of git://github.com/mickhawkins/moodle 2022-02-03 11:44:31 +08:00
Jun Pataleta
b3d83d0ea4 Merge branch 'MDL-73390-master' of https://github.com/bmbrands/moodle 2022-02-03 11:36:58 +08:00
Jun Pataleta
6e9d9a5905 Merge branch 'MDL-73711' of https://github.com/stronk7/moodle 2022-02-03 11:14:30 +08:00
Eloy Lafuente (stronk7)
011251f229 Merge branch 'MDL-71724-master' of https://github.com/sarjona/moodle 2022-02-02 19:03:24 +01:00
Sara Arjona
5b0ff32841 MDL-73741 adminpresets: Remove duplicates from breadcrumbs 2022-02-02 16:51:37 +01:00
Eloy Lafuente (stronk7)
9f2fb75e77 Merge branch 'MDL-73730' of https://github.com/paulholden/moodle 2022-02-02 16:30:12 +01:00
Ilya Tregubov
f079bd0626 Merge branch 'MDL-73623-master' of https://github.com/bmbrands/moodle 2022-02-02 15:41:20 +02:00
Simey Lameze
0074bd7338 MDL-73507 course: make current activity highlight darker 2022-02-02 20:36:37 +08:00
Jun Pataleta
ee7b119943 Merge branch 'MDL-73363-master' of https://github.com/peterRd/moodle 2022-02-02 19:14:39 +08:00
Simey Lameze
005b6269c3 MDL-73543 theme: add left margin to move block icon 2022-02-02 19:11:52 +08:00
Eloy Lafuente (stronk7)
5aa93e3066 Merge branch 'MDL-72466-master' of https://github.com/bmbrands/moodle 2022-02-02 12:10:18 +01:00
Ferran Recio
7c249a7d84 MDL-73538 core_courseformat: fix course index manual completion
The current manual completion button triggers an event to alert the page
of any completion change. This event is capture in the course page by
the core_courseformat/local/content module but it was ignored when this
happens in an activity page. Now the activity header has its own
component to capture this event and support possible future reactive
actions.
2022-02-02 11:54:12 +01:00
Jun Pataleta
ac9c2e1bc0 Merge branch 'MDL-73310-master' of https://github.com/aanabit/moodle 2022-02-02 18:40:57 +08:00
Eloy Lafuente (stronk7)
55b7ac9064 Merge branch 'MDL-73674' of https://github.com/paulholden/moodle 2022-02-02 11:23:47 +01:00
Paul Holden
85f2c044c0 MDL-73730 calendar: more precise matching of calendar day partial. 2022-02-02 10:19:26 +00:00
Paul Holden
a73d989a65 MDL-73682 reportbuilder: allow columns to define how they're sorted. 2022-02-02 10:17:56 +00:00
Eloy Lafuente (stronk7)
e1c2faca85 Merge branch 'MDL-73075' of https://github.com/paulholden/moodle 2022-02-02 11:11:16 +01:00
Paul Holden
99fa14185c MDL-73075 lang: move deprecated strings to correct component.
Fix deprecated version. See original change from f9e1c258 for context.
2022-02-02 09:59:45 +00:00
Paul Holden
f37b67564a MDL-73682 reportbuilder: move active columns method to datasource.
This is consistent with similar methods for retrieving the active
filters and conditions of a given custom report.
2022-02-02 09:30:00 +00:00
Ferran Recio
d7df919a2c MDL-73697 core_courseformat: fix weeks format this week badge 2022-02-02 09:25:37 +01:00
Amaia Anabitarte
2cd5c61049 MDL-73310 course: Add course index to all non-site course pages 2022-02-02 09:22:42 +01:00
Sujith Haridasan
3eda637c44 MDL-73646 navigation: Fix breadcrumbs for site admin
Fix the breadcrumbs for site administration page.
Created a new public method get_active_method for the same.
2022-02-02 10:56:16 +05:30
Mihail Geshoski
f8cc5c8f8e MDL-73633 quiz: Set 'Overrides' to link to user overrides by default 2022-02-02 10:34:29 +08:00
Mihail Geshoski
a50dd96c0d MDL-73633 lesson: Set 'Overrides' to link to user overrides by default 2022-02-02 10:34:29 +08:00