29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-07-02 18:13:43 +00:00
Commit Graph

47263 Commits

Author SHA1 Message Date
brian teeman
450f239ee6
[4.1] s/toogle/toggle
Note there is a change in js here as well
2022-01-24 20:23:34 +00:00
Harald Leithner
33d80d2ace
Temporary remove php 8.1 test 2022-01-24 11:10:45 +01:00
beat
e712ad7b8e
[3.10] [PHP 8.1] Fixes Router/Route.php deprecated null to string in strpos() (#36798)
* [3.10] [PHP 8.1] Fixes Router/Route.php deprecated null to string in strpos()

Fixes `Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in libraries/src/Router/Route.php on line 124`

* [PHP 8.1] Better fix to avoid deprecation proposed by @zero-24

Co-authored-by: Tobias Zulauf <zero-24@users.noreply.github.com>

* Revert previous commit for different fix in mod_breadcrumbs/helper.php

* [PHP 8.1] Better fix for #36798 mod_breadcrumbs with null link in last item

Co-authored-by: Tobias Zulauf <zero-24@users.noreply.github.com>
2022-01-23 20:56:12 +01:00
joomla-translation-bot
463803934b
Merge branch 'joomla:4.1-dev' into translation 2022-01-23 20:08:44 +01:00
Harald Leithner
c375260c2d Merge branch '4.0-dev' into 4.1-dev 2022-01-23 20:01:12 +01:00
Harald Leithner
661fd2622f
Switch translation bot to 4.1-dev branch 2022-01-23 19:58:02 +01:00
beat
5ed8cddf8b
[3.10] [PHP 8.1] Fixes com_finder/indexer/query (#36796)
* [3.10] [PHP 8.1] Fixes com_finder/indexer/query

Fixes `Deprecated: html_entity_decode(): Passing null to parameter #1 ($string) of type string is deprecated in administrator/components/com_finder/helpers/indexer/query.php on line 733`

* Better fix for #36796 as suggested by @zero-24
2022-01-23 19:32:33 +01:00
beat
0a1c48fed0
[3.10] [PHP 8.1] Fixes mod_menu/menu.php type null instead of string (#36773)
* [3.10] [PHP 8.1] Fixes mod_menu/menu.php type null instead of string

Fixes Deprecated: trim(): `Passing null to parameter #1 ($string) of type string is deprecated in administrator/modules/mod_menu/menu.php on line 383`

* [PHP 8.1] admin mod_menu: Slightly cleaner fix for #36773
2022-01-23 19:31:45 +01:00
beat
b90fb91e44
[3.10] [PHP 8.1] Fix Editor Passing null to $string line 258 (#36777)
* [3.10] [PHP 8.1] Fix Editor Passing null to $string line 258

Fixes `Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/src/Editor/Editor.php on line 258`

* [PHP 8.1] Editor in backend: Better fix for #36777

Co-authored-by: Tobias Zulauf <zero-24@users.noreply.github.com>

Co-authored-by: Tobias Zulauf <zero-24@users.noreply.github.com>
2022-01-23 19:28:44 +01:00
Elisa Foltyn
e5e13294f2
backport #35574 (Fix wrong error message for user activation) (#36051)
* backport #35574

This PR is to Backport #35574 - I hope it's done correctly

* Apply suggestions from code review

Co-authored-by: Quy <quy@fluxbb.org>

* Update components/com_users/controllers/registration.php

Co-authored-by: Tobias Zulauf <zero-24@users.noreply.github.com>
Co-authored-by: Quy <quy@fluxbb.org>
Co-authored-by: Benjamin Trenkle <bembelimen@users.noreply.github.com>
2022-01-23 18:36:14 +01:00
beat
a03c3f17bc
[3.10] [PHP 8.1] Mysqli database driver escape function fix (#36787)
* [3.10] [PHP 8.1] Mysqli database driver escapt function fix

Fixes `Deprecated: mysqli_real_escape_string(): Passing null to parameter #2 ($string) of type string is deprecated in libraries/joomla/database/driver/mysqli.php on line 254`

* Fix also the other db drivers

Co-authored-by: Richard Fath <richard67@users.noreply.github.com>
2022-01-23 18:21:35 +01:00
beat
3de1ce142c
Update BaseController.php (#36797)
Fixes `Deprecated: ucfirst(): Passing null to parameter #1 ($string) of type string is deprecated in /home/beat/www/j/libraries/src/MVC/Controller/BaseController.php on line 286`
and fixes `Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /home/beat/www/j/libraries/src/MVC/Controller/BaseController.php on line 684`
2022-01-23 18:19:16 +01:00
beat
d19bbe0dad
[3.10] [PHP 8.1] Fixes Table User for Date/Date.php warning on login (#36799)
Fixes `Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /home/beat/www/j/libraries/src/Date/Date.php on line 112` error on login
2022-01-23 18:07:40 +01:00
Brian Teeman
3762535631
[4.1] com_finder maps hint (#36801)
* [4.1] com_finder maps hint

Missing hint on the number of maps

* id aria
2022-01-23 17:07:58 +01:00
Benjamin Trenkle
a51eaa8c62
[4.0] Avoid exception on wrong validation code and just redirect to login (#35574)
* Avoid exception on wrong validation code and just redirect to login

* CS

* Update components/com_users/src/Controller/RegistrationController.php

Co-authored-by: Tobias Zulauf <zero-24@users.noreply.github.com>

* Update components/com_users/src/Controller/RegistrationController.php

Co-authored-by: Tobias Zulauf <zero-24@users.noreply.github.com>

* Update components/com_users/src/Controller/RegistrationController.php

Co-authored-by: Tobias Zulauf <zero-24@users.noreply.github.com>

Co-authored-by: Tobias Zulauf <zero-24@users.noreply.github.com>
2022-01-23 17:06:51 +01:00
Hannes Papenberg
df0a0126b8
Fix custom field calendar value when changing category (#36327) 2022-01-23 16:39:23 +01:00
beat
7021322339
[3.10] [PHP 8.1] Fix HtmlDocument preg_split(): Passing null to $limit of type int (#36775)
Fixes `Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in libraries/src/Document/HtmlDocument.php on line 595`
2022-01-23 16:02:58 +01:00
beat
c0286f0505
[3.10] [PHP 8.1] Fixing mod_search Passing null to type string (#36792)
Fixes `Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /home/beat/www/j/modules/mod_search/mod_search.php on line 44`
2022-01-23 15:18:36 +01:00
beat
61396f74a9
[3.10] [PHP 8.1] Make templates/system/html/modules.php PHP 8.1 compatible (#36794)
* [3.10] [PHP 8.1] Make templates/system/html/modules.php PHP 8.1 compatible

Fixes `Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /home/beat/www/j/templates/system/html/modules.php on line 101` and a few more (line 35, line 53, line 115)

* [3.10] [PHP 8.1] Fixes protostar modules.php null string param

Fixes `Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /home/beat/www/j/templates/protostar/html/modules.php on line 47`

* [3.10] [PHP 8.1] Fixes beez modules.php null string param

Fixes errors like `Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in templates/beez/html/modules.php on line 42`
2022-01-23 15:18:04 +01:00
beat
e02d637b53
[3.10] [PHP 8.1] fixes all modules Deprecated: htmlspecialchars(): Passing null to type string (#36795)
* [3.10] [PHP 8.1] fixes mod_tags_popular

Fixes `Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /home/beat/www/j/modules/mod_tags_popular/mod_tags_popular.php on line 29`

* [3.10] [PHP 8.1] fixes mod_breadcrumbs

Fixes `Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /home/beat/www/j/modules/mod_breadcrumbs/mod_breadcrumbs.php on line 21`

* Update mod_custom.php

Fixes `Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in modules/mod_custom/mod_custom.php on line 18`

* [3.10] [PHP 8.1] Fixes mod_menu.php

Fixes `Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in modules/mod_menu/mod_menu.php on line 23`

* [3.10] [PHP 8.1] mod_stats

* [3.10] [PHP 8.1] fixes mod_articles_archive.php

* [3.10] [PHP 8.1] mod_articles_categories.php

* [3.10] [PHP 8.1] fixes mod_articles_category

* [3.10] [PHP 8.1] fixes mod_articles_latest

* [3.10] [PHP 8.1] fixes mod_articles_news

* [3.10] [PHP 8.1] fixes mod_articles_popular

* [3.10] [PHP 8.1] fixes mod_banners

* [3.10] [PHP 8.1] fixes mod_feed

* [3.10] [PHP 8.1] fixes mod_footer

* [3.10] [PHP 8.1] fixes mod_languages

* [3.10] [PHP 8.1] fixes mod_random_image

* [3.10] [PHP 8.1] fixes mod_related_items

* [3.10] [PHP 8.1] fixes mod_syndicate

* [3.10] [PHP 8.1] fixes mod_tags_similar

* [3.10] [PHP 8.1] fixes mod_users_latest

* [3.10] [PHP 8.1] fixes mod_whosonline

* [3.10] [PHP 8.1] fixes mod_wrapper

* [3.10] [PHP 8.1] fixes admin mod_privacy_dashboard

* [3.10] [PHP 8.1] fixes admin mod_feed

* [3.10] [PHP 8.1] fixes admin mod_stats_admin
2022-01-23 15:14:57 +01:00
Fedir Zinchuk
c7cf2dc7ef
Fix open_basedir warning when creating a menu item (#36789) 2022-01-23 15:13:33 +01:00
beat
aae1bb8a58
[3.10] [PHP 8.1] Fixes Table User for Date/Date.php warning on login (#36804)
Fixes `Fixes `Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in libraries/src/Date/Date.php on line 112` error on login`
2022-01-23 14:51:48 +01:00
Benjamin Trenkle
f412e13529
Merge branch '4.0-dev' of github.com:joomla/joomla-cms into 4.1-dev 2022-01-23 09:15:56 +01:00
joomla-translation-bot
4d40850d89
Translation Update (#36764)
* Language update

* Language update

* Language update

* Language update

* Language update

* Language update

* Language update

* Language update

* Language update

* Language update

* Language update

* Language update
2022-01-23 07:18:56 +01:00
Benjamin Trenkle
c10424a24c
Merge pull request #35086 from alikon/patch-121
[4][webservices] - patch article strip html tags
2022-01-23 07:11:30 +01:00
Benjamin Trenkle
81175d3eaa
Merge pull request #36793 from bembelimen/4.1/upmerges/2022-01-22
[4.1] Upmerge from 4.0 to 4.1
2022-01-23 01:51:04 +01:00
Benjamin Trenkle
ecc13bc269
Merge branch '4.0-dev' of github.com:joomla/joomla-cms into 4.1-dev
# Conflicts:
#	plugins/editors/tinymce/tinymce.php
2022-01-22 23:30:42 +01:00
Allon Moritz
a92676cd0d
Remove duplicate code in fieldsplugin (#36434) 2022-01-22 21:48:13 +01:00
Shubhamverma2796
f5bda2eb12
Removed hard limit of 20 to the module tags (#36732)
* Removed hard limit of 20 to the module tags

* fixed space errors

* added $query inside if for the inner query

* removed whitespaces at 134
2022-01-22 21:44:04 +01:00
pritam825
0c1e1c2a78
[4.0] Fix RTL for Sample Data Module (#36784)
* bootstrap utilities

* Update administrator/modules/mod_sampledata/tmpl/default.php

Co-authored-by: Quy <quy@fluxbb.org>

* Update administrator/modules/mod_sampledata/tmpl/default.php

Co-authored-by: Richard Fath <richard67@users.noreply.github.com>

Co-authored-by: Quy <quy@fluxbb.org>
Co-authored-by: Richard Fath <richard67@users.noreply.github.com>
2022-01-22 21:42:42 +01:00
Benjamin Trenkle
f963334506
Backport test fix (#36785)
Co-authored-by: Allon Moritz <allon.moritz@digital-peak.com>
2022-01-22 18:56:49 +01:00
Allon Moritz
6185157e5d
[4.1] Do not double lock assets (#36776)
* Do not double lock assets

* db update

* Remove double asset lock (#19)

* Remove double asset lock

* Only remove lock

Co-authored-by: Benjamin Trenkle <bembelimen@users.noreply.github.com>
2022-01-22 13:40:44 +01:00
Translation
8e93d82f99 Language update 2022-01-22 07:31:04 +00:00
Translation
2ed2e19a30 Merge remote-tracking branch 'upstream/4.0-dev' into translation 2022-01-22 07:30:42 +00:00
Tuan Pham Ngoc
7afe61389a
[4.0] Convert relative to absolute urls to for HTML Email Body (#36088)
* Convert relative to absolute urls to absolute urls for HTML Email Body

* cs

* Apply suggestions. Thanks @PhilETaylor

Co-authored-by: Quy <quy@fluxbb.org>
2022-01-21 23:05:20 +01:00
Brian Teeman
3bd24fc6a2
[4.1] Install from Web css and invisible badges (#36547)
* [4.0] Install from Web css

This PR corrects a bug with the border radius of the search box in rtl (as shown below) and completely removes all the RTL specific css and uses logical properties instead.

Also removes a few bits of css that are just not needed at all

* bg

* cs
2022-01-21 15:48:12 +01:00
Dimitris Grammatikogiannis
a17ef734eb
Fix it (#35883) 2022-01-21 14:16:22 +01:00
Phil E. Taylor
05d3b14388
[4] Delete lots of code (#36415)
* Delete lots of code ;-)

* 'continue' is unnecessary as the last statement in a loop

* Update libraries/src/Document/FeedDocument.php

Co-authored-by: Quy <quy@fluxbb.org>

* Update libraries/src/Form/Form.php

Co-authored-by: Quy <quy@fluxbb.org>

* Short array syntax

* Update libraries/src/Feed/FeedParser.php

Co-authored-by: Quy <quy@fluxbb.org>

Co-authored-by: Quy <quy@fluxbb.org>
2022-01-21 14:03:27 +01:00
Benjamin Trenkle
a2931bfca2
Merge pull request #36432 from aDaneInSpain/patch-3
Ensure returned getAuthorisedViewLevels array has only unique values
2022-01-21 14:01:57 +01:00
Benjamin Trenkle
bb31dee243
Merge pull request #36570 from pjdevries/fix-library-uninstall-error
[4.0] - Fixes location where manifest script is looked for when uninstalling library
2022-01-21 14:00:40 +01:00
Benjamin Trenkle
3644a7b156
Merge pull request #36672 from PhilETaylor/sbinarystring
[4] s/binary/string - Binary is not a valid PHPDoc type
2022-01-21 13:58:28 +01:00
Benjamin Trenkle
c8942ba26a
Merge pull request #36673 from PhilETaylor/20220113-4.0-returntypes
[4.0] Return value type is not compatible with declared
2022-01-21 13:56:55 +01:00
Benjamin Trenkle
d332afe08e
Merge pull request #36683 from dgrammatiko/patch-13
[4.0] Module "Show full description ..." Link doesn't work
2022-01-21 13:56:02 +01:00
Benjamin Trenkle
3569bc1f6a
Merge pull request #36717 from beat/patch-9
Fix PHP Warning: Undefined array key 0 in lugins\system\debug\src\DataFormatter.php on line 54 and line 79 #36716
2022-01-21 13:54:23 +01:00
Benjamin Trenkle
bdd29beda9
Merge pull request #36746 from heelc29/heelc29-patch-listmodel
[4.0] Implement FormFactoryAwareInterface in ListModel
2022-01-21 13:53:33 +01:00
Benjamin Trenkle
edad23c6a2
Merge pull request #36754 from Shubhamverma2796/issue_36302
Included the title attribute to the image area and image name in media manager.
2022-01-21 13:52:46 +01:00
Translation
717f73465b Language update 2022-01-21 07:31:26 +00:00
Shubham Verma
652fd45bba Included the title attribute to the image area and image name in media manager 2022-01-20 14:03:02 +05:30
Benjamin Trenkle
2398e1f221
Merge pull request #36706 from brianteeman/flags_alt
[4.1] Flags (alternate)
2022-01-20 04:02:11 +01:00
Benjamin Trenkle
dd08805d00
Merge pull request #36736 from nikosdion/fix/36734-media-in-subform
Media fields in non-repeatable subforms are broken
2022-01-20 03:59:59 +01:00