Tim Hunt
a02497f942
MDL-76614 quiz: clean up view.php script
2023-01-06 14:35:55 +00:00
Tim Hunt
ca7fb1eb02
MDL-76614 quizaccess_seb: rename access_manager & quiz_settings classes
...
This is to avoid confusion between the main mod_quiz classes and SEB's own.
2023-01-06 14:35:55 +00:00
Tim Hunt
58e4bc9a3e
MDL-76614 quiz: clean up the quiz_settings class
2023-01-06 14:35:54 +00:00
Tim Hunt
a9f8547599
MDL-76614 quiz: rename quiz => mod_quiz\quiz_settings
2023-01-06 14:35:54 +00:00
Tim Hunt
ae6a1c0391
MDL-76614 quiz: clean up the quiz_attempt class
2023-01-06 14:35:52 +00:00
Tim Hunt
5682c8c70e
MDL-76614 quiz: move class quiz_attempt => mod_quiz\quiz_attempt
...
I thought about renaming the class to just plain attempt, but I
acutally think quiz_attempt makes it clearer what this is. Also
not changing the name massively reduces the pain for everyone
updating their code (including me right now!)
2023-01-06 14:35:51 +00:00
Tim Hunt
79a29d243c
MDL-76614 quiz: remove unneeded MOODLE_INTERNAL
2023-01-06 14:35:51 +00:00
Tim Hunt
03116995d5
MDL-76614 quiz: move quiz_review_nav_panel to classes
2023-01-06 14:35:51 +00:00
Tim Hunt
ccbb5da784
MDL-76614 quiz: move quiz_attempt_nav_panel to classes
2023-01-06 14:35:51 +00:00
Tim Hunt
adbd0daddb
MDL-76614 quiz: clean up navigation_panel_base class
2023-01-06 14:35:50 +00:00
Tim Hunt
74c6823bac
MDL-76614 quiz: move quiz_nav_panel_base to classes folder
2023-01-06 14:35:50 +00:00
Tim Hunt
600b17db21
MDL-76614 quiz: move quiz_nav_section_heading to classes folder
2023-01-06 14:35:50 +00:00
Tim Hunt
6833a902df
MDL-76614 quiz: move quiz_nav_question_button to classes folder
2023-01-06 14:35:50 +00:00
Tim Hunt
89f97a7e2a
MDL-76614 quiz: code cleanup in mod_quiz\output\renderer
2023-01-06 14:35:50 +00:00
Tim Hunt
5ef8b6978e
MDL-76614 quiz: mod_quiz_renderer => mod_quiz\output\renderer
2023-01-06 14:35:49 +00:00
Tim Hunt
6c989eb24c
MDL-76614 quiz: Final deprecation of view_page::$startattemptwarning
...
This waas deprecated in Moodle 3.1 MDL-46091
2023-01-06 14:35:49 +00:00
Tim Hunt
abeeaef10a
MDL-76614 quiz: mod_quiz_view_object => mod_quiz\output\view_page
2023-01-06 14:35:49 +00:00
Tim Hunt
aceae3a4fa
MDL-76614 quiz: move mod_quiz_links_to_other_attempts => classes\output
2023-01-06 14:35:49 +00:00
Tim Hunt
581a3bc7e9
MDL-76614 quiz: quiz_add_random_form => mod_quiz\form\add_random_form
2023-01-06 14:35:49 +00:00
Tim Hunt
dd41b972c0
MDL-76614 quiz: clean up edit_override_form class
2023-01-06 14:35:49 +00:00
Tim Hunt
8af8ef3b9f
MDL-76614 quiz: clean up access_rule_base class
2023-01-06 14:35:48 +00:00
Tim Hunt
2ff112c688
MDL-76614 quiz: quiz_access_rule_base => mod_quiz\local\access_rule_base
2023-01-06 14:35:48 +00:00
Tim Hunt
dda9ba07f3
MDL-76614 quiz: quiz_override_form => mod_quiz\form\edit_override_form
2023-01-06 14:35:48 +00:00
Tim Hunt
f83181d397
MDL-76614 quiz: deprecate class moodle_quiz_exception
...
Code should just directly use moodle_execption.
Note, some of the existing uses (in web services) were passing a
literal message, not a language string identifier, but I decided
now was not the time to try to fix that.
2023-01-06 14:35:48 +00:00
Tim Hunt
f6ae83f40e
MDL-76614 quiz: clean up update_overdue_attempts class
2023-01-06 14:35:48 +00:00
Tim Hunt
4ae4d8d1b6
MDL-76614 quiz: merge mod_quiz_overdue_attempt_updater into task
...
The only place this code was used was in
mod_quiz\task\update_overdue_attempts so neater to combine them into one
class.
2023-01-06 14:35:48 +00:00
Tim Hunt
91c913debc
MDL-76614 quiz: move mod_quiz_preflight_check_form to classes & clean up
2023-01-06 14:35:47 +00:00
Tim Hunt
b3d59e5ad8
MDL-76614 quiz: clean up class access_manager
2023-01-06 14:35:47 +00:00
Tim Hunt
fed4a7fbd4
MDL-76614 quiz: move quiz_access_manager -> mod_quiz\access_manager
2023-01-06 14:35:47 +00:00
Paul Holden
e395dff081
Merge branch 'MDL-32114-master' of https://github.com/srobotta/moodle
2023-01-06 11:20:46 +00:00
Ilya Tregubov
db1b807270
MDL-76251 mod_forum: Fix illegal whitespace. Another try.
2023-01-06 16:41:59 +07:00
Ilya Tregubov
f6a3144275
MDL-76251 mod_forum: Fix illegal whitespace.
2023-01-06 16:08:17 +07:00
Ilya Tregubov
7349b04257
Merge branch 'MDL-76251-master' of https://github.com/aya-saad1/moodle
2023-01-06 15:37:20 +07:00
Stephan Robotta
4a31dd69d6
MDL-32114 form: markdown must be preserved on saving post
...
- Markdown is saved to the DB, no conversion to HTML to keep
ability to reedit the content without beaking it.
- Blockquote element is styled that it's distingishable from
normal text.
2023-01-05 18:34:44 +01:00
Paul Holden
2c57184251
MDL-69126 lang: final removal of deprecated 310 strings.
2023-01-05 14:38:37 +00:00
Aya Saad
7c074d8b8e
MDL-76251 mod_forum: fix responsive issues in discussion
2023-01-05 11:47:15 +02:00
Sara Arjona
0a27fcbcde
Merge branch 'MDL-76375-master' of https://github.com/lucaboesch/moodle
2023-01-04 16:21:30 +01:00
Luca Bösch
57682b43ae
MDL-76375 quiz generator: Allow more than one attempt by Behat tests.
2023-01-04 15:12:58 +01:00
Paul Holden
bb0085e1d9
MDL-76725 mod_wiki: avoid named arguments in real path callback.
...
See also f4fb91ae
. PHP8 now supports named arguments in calls to
the `call_user_func_array` method, which can result in differing
behaviour compared to PHP7, e.g. in this case it was throwing an
exception due to an unknown named parameter.
2023-01-04 14:08:20 +00:00
Sara Arjona
ae71d43924
Merge branch 'MDL-71506-master' of https://github.com/lucaboesch/moodle
2023-01-03 13:10:11 +01:00
Paul Holden
2f6ee403ef
Merge branch 'MDL-75877-master' of https://github.com/JBThong/moodle
2023-01-03 09:27:51 +00:00
Andrew Nicols
03b79c4921
MDL-32105 mod_glossary: Improve behat test
2023-01-03 15:31:48 +08:00
Peter
8ab91e47b9
MDL-32105 mod_glossary: Restrict glossary aliases by set of keywords
2023-01-03 13:45:18 +08:00
Thong Bui
c0903eade7
MDL-75877 workshop: Refactor outputs in view.php
2023-01-03 10:20:52 +07:00
Luca Bösch
3f489e2d2a
MDL-71506 mod_choice: suppress non respondents in downloads if set so.
2023-01-02 15:54:25 +01:00
Ilya Tregubov
e93d2b0cbe
Merge branch 'MDL-76399' of https://github.com/paulholden/moodle
2022-12-29 09:40:51 +07:00
Tim Hunt
7622b4a1f7
MDL-74609 Quiz: question number customisation - fixup Behat
2022-12-22 12:24:57 +07:00
Andrew Nicols
411d3730d9
Merge branch 'MDL-74609' of https://github.com/mkassaei/moodle
2022-12-22 12:24:57 +07:00
Paul Holden
88339b4e67
Merge branch 'MDL-75914-master' of https://github.com/meirzamoodle/moodle
2022-12-22 12:24:57 +07:00
Mahmoud Kassaei
2074448b34
MDL-74609 Quiz: allow the displayed question numbers to be customised
2022-12-21 12:04:30 +00:00