29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-26 07:13:21 +00:00
Commit Graph

4767 Commits

Author SHA1 Message Date
Olivier Buisard
21ce3a9f38 Merge branch '4.2-dev' into upmerge-2022-10-08 2022-10-08 15:26:24 -04:00
Brian Teeman
11c7f0771e
[4.2] Missing Folder message (#38867) 2022-10-07 15:43:54 +02:00
Brian Teeman
faeebba431
[4.2] codemirror full screen (#38863)
* [4.2] codemirror full screen

In com_templates if you display the original file as well as the override then you have two instances of codemirror with the original file as readonly. Both have the message "Press xx to toggle Full Screen editing"  which not only doesnt make sense on a readonly instance of the editor and not surprisingly doesnt work.

This PR removes the message and associated options from the codemirror layout if the editor is defined as readonly in the xml

* caps
2022-10-07 15:08:06 +02:00
Olivier Buisard
61eafc5dd9 Merge branch '4.2-dev' into upmerge-2022-30-9
# Conflicts:
#	administrator/language/en-GB/install.xml
#	administrator/language/en-GB/langmetadata.xml
#	administrator/manifests/files/joomla.xml
#	administrator/manifests/packages/pkg_en-GB.xml
#	api/language/en-GB/install.xml
#	api/language/en-GB/langmetadata.xml
#	installation/language/en-GB/langmetadata.xml
#	language/en-GB/install.xml
#	language/en-GB/langmetadata.xml
#	libraries/src/Version.php
2022-09-30 18:18:45 -04:00
Hannes Papenberg
3c184fce17
Updating project dependencies (#38858) 2022-09-28 12:28:28 -04:00
Fedir Zinchuk
b0b8546e3b
PHP8 fix Debug plugin setMediaVersion use String (#38848) 2022-09-28 09:13:58 +02:00
Fedir Zinchuk
691cc0e642
Fix DataFormatter::formatCallerInfo to handle Closure (#38581) 2022-09-06 11:27:32 +01:00
Brian Teeman
f49411d06e
Pagination Only child (#38612)
Pull request for #38512

When there is only a next button it is no longer on the right as intended. this was due to a change in the markup.

As this a change in the scss you will need to either `npm run build:css` or use one of the prebuilt packages
2022-09-06 11:02:39 +01:00
Davide Tampellini
7467cea240
Fix PHP notices in CLI coming from the WebAuthn plugin (#38340) 2022-09-05 12:16:56 +01:00
Roland Dalmulder
c2191a79bc
Joomla! 4.2.2 Stable 2022-09-02 21:41:35 +02:00
Nicholas K. Dionysopoulos
205c7a5f7f
Fix/38233 webauth preload fido (#38664)
* Use cached FIDO metadata

Places a copy of fido.jwt in the plugin's directory

* Use cached FIDO metadata

Use the cached FIDO metadata in the plugin

* Use cached FIDO metadata

Remove unused local file fallback

* Use cached FIDO metadata

Simplify

* Use cached FIDO metadata

Update Joomla build script

* Use cached FIDO metadata

Let's not break the build if the FIDO server is down

* Use cached FIDO metadata

Do not include the fido.jwt in the repo

* Use cached FIDO metadata

Make sure not to re-fetch the fido.jwt file if it already exists.

* Use cached FIDO metadata

Move the check for the fido.jwt file right after composer install, do not try to fetch the file twice

* Use cached FIDO metadata

Update lang string

* Use cached FIDO metadata

Set the attestation support to disabled by default

* Update deleted files to PR #38664

Co-authored-by: Richard Fath <richard67@users.noreply.github.com>
2022-09-02 21:37:25 +02:00
Stefan Wendhausen
7f72d6c1da
fix shortcut Home Dashboard (#38632) 2022-09-02 21:11:02 +02:00
Konstantin Kolos
29d1f41db6
Constant instead of encoded "My Blog" (#38313) 2022-09-01 00:18:48 +02:00
Brian Teeman
8bd655118d
Template Overrides message on update (#38449)
* Template Overrides message on update

Adds a link

* Update message

* Update administrator/language/en-GB/plg_installer_override.ini

Co-authored-by: Konstantin Kolos <k0nstantinkolos88@gmail.com>

Co-authored-by: Konstantin Kolos <k0nstantinkolos88@gmail.com>
2022-09-01 00:11:09 +02:00
Brian Teeman
f8bd1327d8
User Profile Terms of service (#38619)
* User Profile Terms of service

In the user profile plugin there is a Terms of Service field that is required on registration. It has an optional accompanying field to link to an article.

* Update profile.php
2022-08-31 23:13:25 +02:00
Harald Leithner
f520c98c64
Re-add jexec or die (#38615) 2022-08-28 09:39:05 +02:00
Roland Dalmulder
79db83a400
Joomla! 4.2.1 Release Candidate 2 2022-08-21 13:31:04 +02:00
Nicholas K. Dionysopoulos
63f9f9c8d1
Stats collection must not be shown in captive MFA pages (#38533)
Co-authored-by: Franciska Perisa <9084265+fancyFranci@users.noreply.github.com>
2022-08-20 20:06:20 +02:00
Brian Teeman
1107a88bfa
[4.2] s/validatng/validating (#38494)
Typo code review

this is a redo of #38482
2022-08-18 07:53:37 +02:00
Brian Teeman
3c2d802341
[4.2] s/TJoomla/Joomla (#38493)
code review This is a redo of #38481
2022-08-17 16:05:44 +01:00
Brian Teeman
ab6d2f8a22
[4.2] hotkeys (#38334)
* [4.2] hotkeys

In the past there were some issues with folders with a . in them. I forget what the issue was. As a result choices.js was stored in choicesjs to avoid this.

This pr does the same for hotkeys.js

* .
2022-08-15 19:40:32 +02:00
Roland Dalmulder
31a2677816
Revert "[4.2] Menu item custom field (#38244)"
This reverts commit 32ef564a

Signed-off-by: Roland Dalmulder <contact@rolandd.com>
2022-08-14 13:32:16 +02:00
Roland Dalmulder
7ef0a6254e
Revert "Fix empty default_value check in fields plugin (#38426)"
This reverts commit 19a2b79ea6.
2022-08-14 13:30:04 +02:00
Roland Dalmulder
0110c04e28
Set a default for events to email (#38439)
Signed-off-by: Roland Dalmulder <contact@rolandd.com>

Signed-off-by: Roland Dalmulder <contact@rolandd.com>
2022-08-12 09:27:25 +02:00
Harald Leithner
19a2b79ea6
Fix empty default_value check in fields plugin (#38426) 2022-08-09 09:18:42 +02:00
Roland Dalmulder
b219703567
Do not show the webauthn form on the registration page (#38341)
* Do not show the webauthn form on the registration page

Signed-off-by: Roland Dalmulder <contact@rolandd.com>

* Changed tabs to spaces

Signed-off-by: Roland Dalmulder <contact@rolandd.com>
2022-07-31 21:42:45 +02:00
FancyFranci
b80822b347
Bump to version 4.2.0-rc1 2022-07-19 17:54:59 +02:00
Brian Teeman
32ef564a55
[4.2] Menu item custom field (#38244)
* [4.2] Menu item custom field

* Update menuitem.php

* Thanks @richard67

* less haste more speed
2022-07-13 19:39:58 +02:00
Brian Teeman
592c0a4508
[4.2] Page navigation focus ring (#38236) 2022-07-07 20:10:46 +02:00
Nicholas K. Dionysopoulos
de9a5d0b29
Fix gh-38233 (#38234) 2022-07-06 11:03:43 +01:00
Roland Dalmulder
5dece6700b
Bump to version 4.2.0-beta3 2022-07-05 17:46:47 +02:00
Roland Dalmulder
32bbd29e46
Revert "[4.2] Smart Search: Index custom fields (#36747)"
This reverts commit f001c84a

Signed-off-by: Roland Dalmulder <contact@rolandd.com>
2022-07-05 15:02:11 +02:00
Brian Teeman
8cf4ccbbb6
[4.2] codemirror update (#38156)
update codemirror to v 5.65.6
2022-07-03 16:14:27 +02:00
Brian Teeman
81da883826
[4.2] Workflow Notification no recipient (#37747)
* [4.1] Workflow Notification no recipient

* cs

* Phase 1 convert BRANCH to PSR-12

* Phase 2 convert BRANCH to PSR-12
2022-07-03 14:02:11 +02:00
Allon Moritz
fd3dbc91c6
[4.2] Convert the checkfiles plugin to service provider (#38072)
* redo

* Update plugins/task/checkfiles/checkfiles.xml

Co-authored-by: heelc29 <66922325+heelc29@users.noreply.github.com>

* Update plugins/task/checkfiles/src/Extension/Checkfiles.php

Co-authored-by: heelc29 <66922325+heelc29@users.noreply.github.com>

* Update tests/Unit/Plugin/Task/Checkfiles/Extension/CheckfilesPluginTest.php

Co-authored-by: heelc29 <66922325+heelc29@users.noreply.github.com>

* Update tests/Unit/Plugin/Task/Checkfiles/Extension/CheckfilesPluginTest.php

Co-authored-by: heelc29 <66922325+heelc29@users.noreply.github.com>

* Update tests/Unit/Plugin/Task/Checkfiles/Extension/CheckfilesPluginTest.php

Co-authored-by: heelc29 <66922325+heelc29@users.noreply.github.com>

* Update tests/Unit/Plugin/Task/Checkfiles/Extension/CheckfilesPluginTest.php

Co-authored-by: heelc29 <66922325+heelc29@users.noreply.github.com>

* Update tests/Unit/Plugin/Task/Checkfiles/Extension/CheckfilesPluginTest.php

Co-authored-by: heelc29 <66922325+heelc29@users.noreply.github.com>

* Update tests/Unit/Plugin/Task/Checkfiles/Extension/CheckfilesPluginTest.php

Co-authored-by: heelc29 <66922325+heelc29@users.noreply.github.com>

* Update tests/Unit/Plugin/Task/Checkfiles/Extension/CheckfilesPluginTest.php

Co-authored-by: heelc29 <66922325+heelc29@users.noreply.github.com>

* Update tests/Unit/Plugin/Task/Checkfiles/Extension/CheckfilesPluginTest.php

Co-authored-by: heelc29 <66922325+heelc29@users.noreply.github.com>

* Update tests/Unit/Plugin/Task/Checkfiles/Extension/CheckfilesPluginTest.php

Co-authored-by: heelc29 <66922325+heelc29@users.noreply.github.com>

* Update tests/Unit/Plugin/Task/Checkfiles/Extension/CheckfilesPluginTest.php

Co-authored-by: heelc29 <66922325+heelc29@users.noreply.github.com>

* Update tests/Unit/Plugin/Task/Checkfiles/Extension/CheckfilesPluginTest.php

Co-authored-by: heelc29 <66922325+heelc29@users.noreply.github.com>

* translate

* cs

Co-authored-by: heelc29 <66922325+heelc29@users.noreply.github.com>
2022-07-03 14:01:25 +02:00
Allon Moritz
dd5fb682c2
[4.2] Use the app language translate function in plugins (#38203)
* Revert the translate function in the CMSPlugin class

* remove tests
2022-07-03 09:56:56 +02:00
heelc29
197723fe86
cs (#38191) 2022-06-30 23:10:40 +02:00
Allon Moritz
ccea8d2fa4
[4.2] Cleanup some inline phpcs:ignore (#38171)
* Remove some cs ignore blocks

* inline

* dso
2022-06-30 08:30:27 +02:00
Brian Teeman
88d6adfe1a
copyright and licence (#38159)
Co-authored-by: Richard Fath <richard67@users.noreply.github.com>
2022-06-28 08:20:47 +02:00
Harald Leithner
2f45696d28 cs 2022-06-27 21:34:43 +02:00
Harald Leithner
dd91072a95 Phase 2 convert CMS to PSR-12 2022-06-27 20:21:30 +02:00
Harald Leithner
e7f5cc182b Phase 1 convert CMS to PSR-12 2022-06-27 20:18:44 +02:00
Harald Leithner
6d9cc0fe73
Merge pull request #37681 from HLeithner/4.2-psr12-preparation
PSR12 transformation preparation
2022-06-27 20:06:36 +02:00
Nicholas K. Dionysopoulos
170f91a637
Refactored WebAuthn with Windows Hello support (#37910)
* Refactored WebAuthn plugin

* Fix the WebAuthn management page which was broken in https://github.com/joomla/joomla-cms/pull/37464

* Fix wrong `@since` doc tag

* Fix docblock typo

* Fix docblock typo

* Fix docblock typo

* Fix docblock typo

* Fix docblock typo

* Fix broken management interface

* Make unnecessarily static method back into non-static

* Replace static helper with injected object

* Come on, commit the ENTIRE file!

* Use the user factory

* Fix error when going through the user factory

* Fix: cannot add WebAuthn authenticator right back after deleting it

* Remove useless switch branch

* Remove useless exception

* Display make and model of the authenticator, if possible

* Add missing JWT signature algorithms

* Fix copyright date

* Fix for PHP 8 using FIDO keys and Android phones

* Reactivate the tooltips after adding an authenticator

* Option to disable the attestation support

* The Windows Hello icon was invisible on white background

* Attempt to fix Appveyor not having Sodium in the Windows build

* Work around third party library bug...

* Create events in a forwards-compatible manner

* Concrete events

* Fix event woes

* Update plugins/system/webauthn/webauthn.xml

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update administrator/language/en-GB/plg_system_webauthn.ini

Co-authored-by: Brian Teeman <brian@teeman.net>

* Improve the layout for editing an authenticator

It now follows the Bootstrap 5 form aesthetic. Moreover,
there are gaps between the text input and the Save and
Cancel buttons.

* Confirm deletion of authenticators

* Make the bots happy again

* Code polishing

* Marking classes final
* Use setApplication / getApplication in the plugin class
* Remove unused `$db` from the plugin class

* Blind fix

Currently #38060 has broken everything it seems?

* Bring application injection in sync with core

* Remove whitespace

* Add use statement

* Fix wrong event creation in AjaxHandlerLogin

* License change

Co-authored-by: Richard Fath <richard67@users.noreply.github.com>
Co-authored-by: Brian Teeman <brian@teeman.net>
Co-authored-by: Roland Dalmulder <contact@rolandd.com>
Co-authored-by: Allon Moritz <allon.moritz@digital-peak.com>
Co-authored-by: Harald Leithner <leithner@itronic.at>
Co-authored-by: George Wilson <georgejameswilson@googlemail.com>
2022-06-27 19:16:07 +02:00
Allon Moritz
10188debea
[4.2] Move demo tasks to service provider (#38098)
* Move demo tasks to service provider

* Update plugins/task/demotasks/services/provider.php

Co-authored-by: heelc29 <66922325+heelc29@users.noreply.github.com>

Co-authored-by: heelc29 <66922325+heelc29@users.noreply.github.com>
2022-06-27 14:28:32 +02:00
Tuan Pham Ngoc
3e649ba0df
Fix fatal error on webauthn plugin (#38132)
Co-authored-by: Richard Fath <richard67@users.noreply.github.com>
2022-06-26 14:47:37 +02:00
Fedir Zinchuk
681c8c061c
[4.x] Fix TinyMCE ext-buttons options (#38138)
Pull Request for Issue #38127

Add options with better check
2022-06-26 13:24:31 +02:00
Harald Leithner
cc5e55e982 CS on switch statements 2022-06-25 12:35:39 +02:00
FancyFranci
7cdcb04552
Bump to version 4.2.0-beta2 2022-06-22 17:03:52 +02:00
Franciska Perisa
febdab6158
[4.2] [GSoC 21] Keyboard-Shortcut Plugin (#38092)
* Keboard Shortcuts Plugin

Co-authored-by: Krshivam25 <49578630+Krshivam25@users.noreply.github.com>
Co-authored-by: Harald Leithner <leithner@itronic.at>
Co-authored-by: Benjamin Trenkle <bembelimen@users.noreply.github.com>
Co-authored-by: Brian Teeman <brian@teeman.net>
Co-authored-by: heelc29 <66922325+heelc29@users.noreply.github.com>
Co-authored-by: Richard Fath <richard67@users.noreply.github.com>
Co-authored-by: Quy <quy@fluxbb.org>
2022-06-22 16:42:52 +02:00