Commit Graph

1498 Commits

Author SHA1 Message Date
Christian Heel 4e1e1656ce
[4.4] Fix showon for list field (no multiple) (#39546)
* [4.2] Fix showon for list field

* duplicate id if multiple

* apply for layout fancy-select
2024-03-01 07:18:24 +01:00
Brian Teeman 955e4d6c4e
[4.3] Colour fields doc blocks (#41128) 2023-07-14 16:53:33 -04:00
Juri Hahn 5be7121ef9
fix on change JavaScript event on color form field with layout advanced (#41126) 2023-07-14 14:56:22 -04:00
Benjamin Trenkle 6f2cec29a1
[4.3] Deprecation reviews (#38657) 2023-04-09 00:06:01 -04:00
Brian Teeman 8ff02676e0
[4.3] Remove unused layout (#39933) 2023-03-02 21:47:26 -05:00
SD Danico b9453908eb Merge branch '4.2-dev' into upmerge-20230224
# Conflicts:
#	administrator/components/com_config/src/Helper/ConfigHelper.php
#	administrator/components/com_finder/src/Response/Response.php
#	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
#	components/com_contact/layouts/field/render.php
#	installation/language/en-GB/langmetadata.xml
#	language/en-GB/install.xml
#	language/en-GB/langmetadata.xml
#	libraries/src/Application/SiteApplication.php
#	libraries/src/Application/WebApplication.php
#	libraries/src/Client/FtpClient.php
#	libraries/src/Helper/LibraryHelper.php
#	libraries/src/Installer/InstallerExtension.php
#	libraries/src/Installer/Manifest.php
#	libraries/src/Installer/Manifest/LibraryManifest.php
#	libraries/src/Installer/Manifest/PackageManifest.php
#	libraries/src/Log/Logger/DatabaseLogger.php
#	libraries/src/Version.php
#	plugins/content/loadmodule/loadmodule.php
2023-02-24 17:56:54 -06:00
Fedir Zinchuk 5fd5edfc45
Fix for the title of a loaded module is not visible (#39839)
* Fix default style for "load module" plugin

* Fix default style for "load module" plugin

* Fix default style for "load module" plugin, performance

* Fix default style for "load module" plugin, deprecation

* Fix default style for "load module" plugin, remove unused

* phpcs

* Update plugins/content/loadmodule/loadmodule.xml

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

---------

Co-authored-by: Brian Teeman <brian@teeman.net>
2023-02-22 19:34:55 +01:00
Fedir Zinchuk 7dd6e16c9e
Fix tooltip for subform table layout, #39848 (#39894) 2023-02-22 16:29:04 +01:00
Dimitris Grammatikogiannis 5fbdbab517
List views onclick (#39730) 2023-02-12 23:01:19 -05:00
Dimitris Grammatikogiannis a346030844
[4.3][csp] Reduce inline onchange usage [searchtools] (#39726) 2023-01-29 16:54:08 -05:00
Brian Teeman 9d09c9010a
[4.3] Use the Web Asset Manager (#38328) 2023-01-28 15:27:02 -05:00
heelc29 b9730d52dc
[4.3] Convert missing files to PSR-12 code style (#39197)
Co-authored-by: Harald Leithner <leithner@itronic.at>
Co-authored-by: Allon Moritz <allon.moritz@digital-peak.com>
2023-01-27 15:15:17 +01:00
Olivier Buisard c608616220 Merge branch '4.2-dev' into upmerge-2023-01-20
# Conflicts:
#	administrator/components/com_admin/script.php
#	administrator/components/com_categories/src/Model/CategoryModel.php
#	administrator/components/com_config/src/Model/ApplicationModel.php
#	administrator/components/com_config/src/Model/ComponentModel.php
#	administrator/components/com_fields/src/Model/FieldModel.php
#	administrator/components/com_fields/src/Model/GroupModel.php
#	administrator/components/com_finder/src/Indexer/Query.php
#	administrator/components/com_finder/src/Service/HTML/Filter.php
#	administrator/components/com_finder/src/Service/HTML/Query.php
#	administrator/components/com_joomlaupdate/src/Model/UpdateModel.php
#	administrator/components/com_languages/src/Model/StringsModel.php
#	administrator/components/com_menus/tmpl/items/modal.php
#	administrator/components/com_tags/src/Table/TagTable.php
#	administrator/components/com_users/src/Model/LevelsModel.php
#	administrator/components/com_users/src/Model/MailModel.php
#	administrator/components/com_users/src/Model/UserModel.php
#	administrator/modules/mod_quickicon/src/Helper/QuickIconHelper.php
#	components/com_config/src/Controller/ConfigController.php
#	components/com_content/src/Model/ArchiveModel.php
#	components/com_finder/src/Controller/SuggestionsController.php
#	components/com_tags/src/Model/TagModel.php
#	components/com_tags/src/Service/Router.php
#	components/com_tags/src/View/Tag/FeedView.php
#	components/com_tags/src/View/Tag/HtmlView.php
#	components/com_users/src/Controller/ProfileController.php
#	components/com_users/src/Controller/UserController.php
#	composer.lock
#	installation/src/Model/SetupModel.php
#	layouts/joomla/form/field/text.php
#	libraries/namespacemap.php
#	libraries/src/Component/Router/Rules/NomenuRules.php
#	libraries/src/Form/Field/TextField.php
#	libraries/src/Helper/ModuleHelper.php
#	libraries/src/MVC/Model/ListModel.php
#	libraries/src/Object/CMSObject.php
#	libraries/src/Table/ContentType.php
#	plugins/authentication/cookie/src/Extension/Cookie.php
#	plugins/behaviour/versionable/src/Extension/Versionable.php
#	plugins/editors/tinymce/src/Field/TinymcebuilderField.php
#	plugins/extension/namespacemap/src/Extension/NamespaceMap.php
#	plugins/quickicon/extensionupdate/src/Extension/Extensionupdate.php
#	plugins/quickicon/overridecheck/src/Extension/OverrideCheck.php
#	plugins/quickicon/privacycheck/privacycheck.php
#	plugins/user/joomla/joomla.php
2023-01-20 20:32:33 -05:00
Allon Moritz bdf34768d1
Do not hardcode the media manager API url to select an image (#39647) 2023-01-19 19:16:25 -05:00
Allon Moritz 10f250f418
Changes the code base to short array syntax (#39616) 2023-01-14 10:54:47 +01:00
Olivier Buisard 184819b2aa Merge branch '4.2-dev' into upmerge-2023-01-13 2023-01-13 17:01:39 -05:00
Tuan Pham Ngoc a1a135dcec
Fix radio form field required validation (#39578) 2023-01-09 19:34:12 +01:00
Brian Teeman 3a115086ed
[4.3] Workflow Transitions (#39325) 2022-12-14 15:58:25 -05:00
SD Williams 5fdbe68560 Merge branch '4.2-dev' into upmerge-20221202
# Conflicts:
#	package.json
2022-12-02 11:37:11 -06:00
Octavian Cinciu d47813c011
Add a prefix (editor name) to buttons modal id (#39287) 2022-11-29 23:25:48 +01:00
Olivier Buisard 1d09ada93b Merge branch '4.2-dev' into upmerge-2022-11-18 2022-11-18 17:50:13 -05:00
ReLater 9c7ac19876
Adapt $caption direction (#39106) 2022-11-11 16:04:08 +00:00
Allon Moritz 7f20b06fd1
[4.3] Change application input access to getInput (#39029)
Co-authored-by: Harald Leithner <leithner@itronic.at>
2022-10-23 10:53:04 +02:00
Jan 599fda33ef
Adding "pattern" attribute to "tel" form field (#38852)
According to this documentation: https://docs.joomla.org/Tel_form_field_type is "tel" form field is an alias for "text", but it does not contain "pattern" attribute. This means, XML form field types "tel" will not include pattern attribute when rendering.
2022-10-15 11:24:04 +02:00
Benjamin Trenkle f19fa756cc
[4.0] Implement char counter for input field, too (#35678) 2022-09-23 21:14:03 -04:00
Brian Teeman 3502094d6c
Codestyle indent (#38399)
* Codestyle indent

Small change to fix codestyle indent

code review

* Update default.php

* more
2022-09-05 12:15:06 +01:00
Brian Teeman 5bd9f1ba9f
[4.2] Actions Dropdown (#38644)
There were two bugs addressed

1. The dropdown scripts was only being loaded on a split button - it was needed for both
2. Instead of using the htmlhelper it should have been using trhe web asset manager

To test disable the User Status Module and apply this pr

Go to any list view and check that the actions dropdown works as expected
2022-09-05 12:03:18 +01:00
Harald Leithner f520c98c64
Re-add jexec or die (#38615) 2022-08-28 09:39:05 +02:00
heelc29 be0f306796
fix webauth table (#38320) 2022-07-29 20:27:11 +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
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
Harald Leithner 37435f2ff3 PSR-12 Preparation 2022-06-25 12:35:39 +02:00
Roland Dalmulder 5cb109f1c4
Make the Tags RouteHelper language aware (#37721) 2022-06-20 21:17:17 +01:00
Brian Teeman 5a6a55f9b1
[4.2] user profile dob field (#38065)
* [4.2] user profile dob field

To test enable the user profile plugin and update the date of birth field for your user account

* layouts

* Update script.php
2022-06-16 17:50:25 +02:00
Roland Dalmulder 7151a0765f
Merge branch '4.1-dev' into 4.2-dev
# Conflicts:
#	administrator/components/com_finder/src/Field/ContentmapField.php
#	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-06-12 18:24:46 +02:00
Brian Teeman e1ca39e0c6
[4.1] webauthn rename/delete (#37676) 2022-06-10 16:16:14 +02:00
Christiane Maier-Stadtherr a5bf02f6ce
Add icon to parent category in article details (#38017) 2022-06-10 16:12:41 +02:00
Roland Dalmulder 3eba8c75a9
Merge branch '4.1-dev' into 4.2-dev
# Conflicts:
#	administrator/manifests/files/joomla.xml
#	libraries/src/Version.php
2022-05-20 08:57:41 +02:00
Cyril Rezé dd25b968e4
FIX #37772 - inlineHelp Toggle Button control (#37819)
* Add inlineHelp toggle button check

* Add inlineHelp toggle button control

* Add inlineHelp toggle button control
2022-05-18 21:14:15 +02:00
Roland Dalmulder ac2b317a32
Merge branch '4.1-dev' into 4.2-dev
# Conflicts:
#	.drone.yml
#	installation/language/af-ZA/langmetadata.xml
#	installation/language/bg-BG/langmetadata.xml
#	installation/language/ca-ES/langmetadata.xml
#	installation/language/en-CA/langmetadata.xml
#	installation/language/en-NZ/langmetadata.xml
#	installation/language/fa-AF/langmetadata.xml
#	installation/language/fi-FI/langmetadata.xml
#	installation/language/he-IL/langmetadata.xml
#	installation/language/lv-LV/langmetadata.xml
#	installation/language/zh-CN/langmetadata.xml
2022-05-18 19:24:01 +02:00
Christiane Maier-Stadtherr a8adadf982
Fix deprecated warning in chrome html 5 (#37817) 2022-05-17 15:10:48 +01:00
Roland Dalmulder 1c4a39a631
Merge branch '4.1-dev' into 4.2-dev
# Conflicts:
#	administrator/components/com_admin/script.php
#	administrator/components/com_templates/src/Model/TemplateModel.php
#	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/Toolbar/Button/InlinehelpButton.php
#	libraries/src/Version.php
#	plugins/system/debug/debug.php
2022-05-04 20:49:40 +02:00
Brian Teeman 36c99e0e1f
[4.1] inline-help hidden by default (#37699) 2022-05-01 13:28:34 +02:00
Dimitris Grammatikogiannis f6c9aa8f8a
[4.2] Allow typing in media field (#37654)
* [4.2] Allow typing in media field

* Update media.php

* Media manager is always  them valid

* Media manager is always valid

* Update joomla-media-select.w-c.es6.js

* Update joomla-media-select.w-c.es6.js

* Decouple the validation

* use the setValue instead of sneaking the value

Fixes the events inconsistency

* oops width is passed also to height

Co-authored-by: Roland Dalmulder <contact@rolandd.com>
2022-04-27 15:37:04 +02:00
Shubhamverma2796 fe5c81759a
Changed the "Start Update" button state on the basis of checkbox value (#37270)
* changing button state on the checkbox value

* build errors

* Using js to disabled button instead of disabled attribute

* build errors

* build errors

* Using classlist instead of hardcoding

* updated single quotes for string

Co-authored-by: Franciska Perisa <9084265+fancyFranci@users.noreply.github.com>
Co-authored-by: Allon Moritz <allon.moritz@digital-peak.com>
Co-authored-by: Roland Dalmulder <contact@rolandd.com>
2022-04-26 20:05:07 +02:00
kapetanov 5551636afd
Update link.php (#35771)
* Update link.php

the pagnation in has an misuse of the aria-label. i fixed it with two span tags.

* Update layouts/joomla/pagination/link.php

Co-authored-by: Brian Teeman <brian@teeman.net>
2022-04-23 10:28:31 +02:00
Brian Teeman cd9c48a406
[4.1] webauthn table accessibility (#37464)
This pr adds the required table caption and column/row scope to the table.

There are no visual changes and brings this table into line with all other admin tables.

As webauthn requires https this PR cannot be tested on a site without https.

Co-authored-by: Quy <quy@fluxbb.org>
2022-04-03 12:13:29 -07:00