108664 Commits

Author SHA1 Message Date
Petr Skoda
05ffcf0579 MDL-78505 Revert "MDL-32114 form: markdown must be preserved on saving post"
This partially reverts commit 4a31dd69d6d89818f676ece916e573aa894d49d6.
2023-08-15 14:27:07 +02:00
Shamim Rezaie
b156b18c72 Moodle release 4.1.5 v4.1.5 2023-08-11 23:20:36 +10:00
Jun Pataleta
88459bba94
MDL-78983 core: Preserve default behaviour of flipping question icon
Introduce a lang string `questioniconfollowlangdirection` that will
allow the current behaviour of displaying the question mark icon
in RTL languages in the same manner as the current language.
2023-08-11 16:11:05 +07:00
Huong Nguyen
b201bcb878
Merge branch 'MDL-78983-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE 2023-08-11 12:53:50 +07:00
Jun Pataleta
b504d19c12
MDL-78983 core: Fix question mark icon direction flipping
This fixes the changes made in MDL-75047:
* Change `thisicondirection` langconfig string to a more specific one
  like `questionicondirection`.
* Use existing direction string value `ltr` for the value of
  `questionicondirection`. Also add a comment to at least provide some
  form of documentation for it.
* Improve the logic for applying the horizontal flipping class for the
  question icon:
  - Check first if the icon is a question icon
  - Flip the icon if `questionicondirection` is set to `rtl`.
2023-08-11 11:48:10 +08:00
Huong Nguyen
1c13aba0a2
weekly release 4.1.4+ 2023-08-10 22:50:53 +07:00
Huong Nguyen
8a2c1509d7
Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE 2023-08-10 22:50:51 +07:00
meirzamoodle
033f742e4a
MDL-78685 auth_oauth2: Added logged-in status check 2023-08-10 18:44:29 +07:00
Jun Pataleta
9e665137d4
Merge branch 'MDL-78962_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE 2023-08-10 18:44:29 +07:00
Jun Pataleta
53b33f7b0e
Merge branch 'MDL-77817-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE 2023-08-10 18:44:27 +07:00
Jun Pataleta
7d7c342a2c
Merge branch 'MDL-78674-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE 2023-08-10 18:44:14 +07:00
Sara Arjona
ce77250706
Merge branch 'MDL-76123-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-08-10 18:44:14 +07:00
Jun Pataleta
770b11c3d9
Merge branch 'MDL-77378_401_v3' of https://github.com/TomoTsuyuki/moodle into MOODLE_401_STABLE 2023-08-10 18:44:14 +07:00
Michael Hawkins
a18da528cc
MDL-78763 tool_policy: Initialise returnurl as a moodle_url in viewall 2023-08-10 18:44:14 +07:00
Paul Holden
d4cec28c30
MDL-78792 message: access checks in processor fragment callback. 2023-08-10 18:44:14 +07:00
raortegar
48dc9e6582
MDL-74289 lib: Improve the proxy bypass matching 2023-08-10 18:44:10 +07:00
Jun Pataleta
8390f1a03d
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:38:07 +08:00
Santosh Nagargoje
2713f2ea17
MDL-78674 calendar: Added fix to rebuild module cache in calendar 2023-08-10 09:38:07 +08:00
Tim Hunt
e726198d4d MDL-78962 core/loadingicon: remove jQuery requirement in the API 2023-08-09 21:20:32 +01:00
Paul Holden
a11938293e MDL-78647 files: safer unserializing of file reference data. 2023-08-09 04:50:21 +00:00
Shamim Rezaie
cfe33b82e3 MDL-66212 tool_lpimport: properly check capabilities
The moodle/competency:competencymanage capability should be checked
before showing the import and export pages.
2023-08-09 04:50:21 +00:00
Matt Porritt
cd95c30cb5 MDL-78340 Blocks: Dashboards now respect block permission overrides
Patch makes user dashboard respect permission overrides
that have been set on individual blocks on the system
dashboard (indexsys.php). When a user dashboard is created
either when the user visits their dashboard for the first
time or after an admin reset. When blcoks are copied to
the new dashbaord overriden permissions are also copied.
2023-08-09 04:50:21 +00:00
Rajneel Totaram
da05f15e3b MDL-71728 mod_quiz: check if user can access this page 2023-08-09 04:50:21 +00:00
Huong Nguyen
efdf0e48c8
Merge branch 'MDL-78904-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE 2023-08-09 11:43:24 +07:00
Huong Nguyen
00e6ac4ad8
Merge branch 'MDL-75047-MOODLE_401_STABLE' of https://github.com/SysBind/moodle into MOODLE_401_STABLE 2023-08-09 11:30:49 +07:00
Jun Pataleta
4de338f002
Merge branch 'MDL-78872-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-08-09 12:10:16 +08:00
Ilya Tregubov
4732fa0b13
Merge branch 'MDL-78714-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE 2023-08-09 12:05:24 +08:00
Huong Nguyen
93ab65454a
Merge branch 'MDL-78235-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE 2023-08-09 10:43:35 +07:00
Andrew Nicols
d8c911ccb4
MDL-78714 editor_tiny: Disable HTML Sanitisation in TinyMCE
This is in keeping with other Editors such as Atto and resolves an issue
where DOM Purification incorrectly identifies HTML-like string content
as an HTML tag with a JS variable.

Moodle already performs XSS sanitisation using HTML Purifier in PHP.
2023-08-09 10:21:39 +08:00
Andrew Nicols
e8eb8943e1
MDL-78714 editor_tiny: Add xss_sanitize option to TinyMCE
To address a potential data loss issue, a feature introduced in TinyMCE
6.4.0 to disable client-side XSS sanitisation must be backported.
2023-08-09 10:21:39 +08:00
Andrew Nicols
737f657bad
MDL-78714 editor_tiny: Move TinyMCE import instructions to correct path 2023-08-09 09:05:23 +08:00
Huong Nguyen
8ce08d5cd1
Merge branch 'MDL-78492_aurora_mysql_rowformat_401' of https://github.com/mark-webster-catalyst/moodle into MOODLE_401_STABLE 2023-08-08 21:43:36 +07:00
Sara Arjona
e250a61e40
Merge branch 'MDL-78770-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE 2023-08-08 13:55:40 +02:00
Sara Arjona
bc9138ecba
Merge branch 'MDL-77658-MOODLE_401_STABLE' of https://github.com/SysBind/moodle into MOODLE_401_STABLE 2023-08-08 13:29:53 +02:00
Sara Arjona
fe7a12a9fd
Merge branch 'MDL-78559-401' of https://github.com/rmady/moodle into MOODLE_401_STABLE 2023-08-08 13:02:06 +02:00
Paul Holden
75de5704de
MDL-76123 course: multilingual module icon alt text attribute. 2023-08-08 08:29:27 +01:00
Jun Pataleta
1347048659
Merge branch 'MDL-78896-401-enfix' of https://github.com/vmdef/moodle into MOODLE_401_STABLE 2023-08-08 15:29:26 +08:00
AMOS bot
86ff18c9fe Automatically generated installer lang files 2023-08-08 00:10:31 +00:00
Rodrigo Mady
961c7ef3e0 MDL-78559 mod_chat: Fix chat report loading with TeX filter 2023-08-07 09:55:16 -03:00
Helen Foster
7b4d19308e MDL-78896 lang: Import fixed English strings (en_fix) 2023-08-07 11:31:43 +01:00
Ilya Tregubov
c9143efd7e
Merge branch 'MDL-78800_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE 2023-08-07 16:58:26 +08:00
Ilya Tregubov
52b234d69a
Merge branch 'MDL-78550-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE 2023-08-07 11:34:49 +08:00
chen levy
896e87228c MDL-77658 theme: Fixed RTL manage course categories menu
fixed course checkboxes that appears on the categories menu on RTL
2023-08-06 09:54:23 +03:00
Eloy Lafuente (stronk7)
772236e08c
MDL-78800 composer: Bump dependencies to current ones
This bumps direct dependencies to current ones:

- phpunit: 9.5.x No updates here, there is the 9.6.x series
  available but a lot of deprecation warnings have been
  introduced there without any alternative to use. See:
  - https://github.com/sebastianbergmann/phpunit/issues/5160
  - https://github.com/sebastianbergmann/phpunit/issues/5062
  - ...
  While that will be handy to prepare ourselves to PHPUnit 10
  in some months... we cannot force everybody to jump to 9.6.x
  because that will make a lot of tests to start emitting
  warnings.
  So we stay with PHPUnit 9.5.x for the life of this branch.
- mink-phpwebdriver: 1.2.1 No updates here, just changed the
  constraint because we cannot advance to 1.3.x yet, there is
  a change there causing some app tests to fail. See:
  - https://github.com/oleg-andreyev/MinkPhpWebDriver/pull/81
  So we stay with 1.2.x until that issue is fixed/clarified,
  only then we'll review the status.
- behat: 3.12.x => 3.13.x

And also, automatically, a bunch of 2nd and deepest dependencies.

Generated with php74 that is the lowest php version supported
by this branch and, also, by some of the dependencies, as per
documented @ https://moodledev.io/general/development/tools/composer

Worth mentioning behat/mink-goutte-driver, that we should move
to mink-browserkit-driver, but that's out from this issue scope.
2023-08-05 11:17:10 +02:00
Sara Arjona
614563082b
weekly release 4.1.4+ 2023-08-04 12:40:10 +02:00
Jun Pataleta
0975a83b7a
MDL-78904 user: Remove non-existent require
* And enclose context parameter in an array.
2023-08-04 14:42:49 +08:00
meirzamoodle
f8691f2e28 MDL-77817 editor_tiny: Fix menu and dialogue window position
The boost theme makes the TinyMCE editor rendered in a scrollable container,
scrolling the editor’s container will cause TinyMCE UI elements to be detached from the anchor.
Therefore, to keep the tinyMCE menu in the correct position,
adjustments must be made on the page drawers style.

When using TinyMCE editor in Safari browsers, a problem may occur where the dialogue
windows (such as modal dialogs) overlap with page drawers due to a specific behavior
in Safari's rendering. This function addresses the issue by adjusting the CSS overflow
property of the page drawers, ensuring they do not obscure the dialogue windows.
2023-08-03 11:40:12 +07:00
Jun Pataleta
d25c0c5448
MDL-78498 mod_forum: Prevent race condition in forum recent activity
* Using the generator to create the forum discussions, the timecreated
of a discussion can be set before the user's last course access which
will prevent forum_print_recent_activity() from including this generated
discussion in the recent activity results. To work around this, generate
the forum discussion 1 second after the current time to make sure that
the user's last course access will always be before the discussion's
creation time.
* This patch also includes some optimisations by:
  - Removing the unnecessary @javascript tag for the
    `Time limit expires` scenario
  - Bringing the discussion generation to each scenario to allow each
    scenario to customise the data passed to the generator like for the
    `Time limit expires` scenario.
  - Navigating directly to the forum instance.
2023-08-03 11:33:32 +08:00
Ilya Tregubov
cf393e9aae
Merge branch 'MDL-78866-401' of https://github.com/danghieu1407/moodle into MOODLE_401_STABLE 2023-08-03 09:39:17 +08:00
Ilya Tregubov
e3dd019685
Merge branch 'MDL-78742-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-08-03 09:25:28 +08:00