29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-05-28 07:53:37 +00:00
Commit Graph

12879 Commits

Author SHA1 Message Date
Riekelt Brands
2964ee6e57
MediaHelper: proper check if file is an image (#42105) (#43345) 2024-05-17 15:31:35 +02:00
AlterBrains
e11bd13a7e
Update InputFilter.php (#43377) 2024-05-08 18:26:55 +02:00
Chris Davenport
7b48c5b7a2
[4.4] Untranslated string for warning message in update:extensions:check CLI (#43208)
* Untranslated string for warning message in update:extensions:check CLI

* Move language load to command.

---------
2024-04-26 17:44:52 +02:00
Dimitris Grammatikogiannis
bd6ca75b4e
[4.4] [bug] Media manager misbehaves on files with capitalized extensions (#43336)
* a

* b

* Update LocalAdapter.php
2024-04-26 16:10:26 +02:00
Martin Kopp
43293d0603
Revert to dev
Signed-off-by: Martin Kopp <kopp05@infotech.ch>
2024-04-16 22:22:44 +02:00
Martin Kopp
92f2ffb3c6
Joomla! 4.4.4 Stable 2024-04-14 12:13:18 +02:00
Martin Kopp
45adb61f83
Revert to dev
Signed-off-by: Martin Kopp <kopp05@infotech.ch>
2024-04-09 22:00:26 +02:00
Martin Kopp
42cc96d2b6
Joomla! 4.4.4 Rc 2 2024-04-09 21:23:46 +02:00
Martin Kopp
896fa4b553
Revert to dev
Signed-off-by: Martin Kopp <kopp05@infotech.ch>
2024-04-02 18:00:17 +02:00
Martin Kopp
a7b4aecff8
Joomla! 4.4.4 Rc 1 2024-03-28 20:47:32 +01:00
Harald Leithner
8eefbf2375
Allow to use filter.state for delete button in ListView (#38797) 2024-03-22 13:02:57 +01:00
Allon Moritz
3db2bf32bf
CMSObject should extend stdClass (#43020) 2024-03-20 11:25:38 +01:00
David Jardin
069d85829a
[4.x] Fix JHTTP socket transport http version (#43001)
* Fix socket driver http version

* updated jhttp to patched version
2024-03-13 19:27:30 +01:00
Hannes Papenberg
0a912a8d4f
[4.4] Feed: Fixing link selection of AtomParser (#42706)
* Feed: Fixing link selection of AtomParser

* Update libraries/src/Feed/Parser/AtomParser.php

Co-authored-by: Allon Moritz <allon.moritz@digital-peak.com>

---------
2024-03-04 17:01:39 +01:00
AlexanderCkm
15eaa4345b
"Serialization of 'Closure' is not allowed" fix (#42819) 2024-03-04 14:06:06 +01:00
Roland Dalmulder
708b1eaa8a
Use a sensible default if none is found (#36692)
* Use a sensible default if none is found

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

* Phase 1 convert BRANCH to PSR-12

* Phase 2 convert BRANCH to PSR-12

---------

Signed-off-by: Roland Dalmulder <contact@rolandd.com>
2024-02-28 18:58:22 +01:00
Denitz
3277eb82ef
[4.4] JTable::store(true) to update NULLs fails if assets are tracked (#37993)
* fix

* Phase 1 convert BRANCH to PSR-12

* Phase 2 convert BRANCH to PSR-12

---------
2024-02-26 16:33:02 +01:00
Martin Kopp
b0663caf26
Revert to dev
Signed-off-by: Martin Kopp <kopp05@infotech.ch>
2024-02-20 16:16:39 +01:00
Martin Kopp
55f2082f32
Joomla 4.4.3 Stable 2024-02-19 15:44:22 +01:00
skillet-actual
fa6fd0ad16
Update Nested.php to support aliasing the 'checked_out' column. (#42697)
Removed hard-coded references to the 'checked_out' database column and replaced them with variables containing the column alias, obtained through a $this->getColumnAlias() call. Now, the 'checked_out' column references mirror the 'published' column references in their respect for column aliasing.
2024-02-05 21:08:50 +01:00
Hannes Papenberg
deae2f0dea
Atom Feed: Prevent notice from empty description (#42670) 2024-01-19 15:42:14 +01:00
Irata
6da6c6dbcf
[4.4] Fix missing 'separator' lines between sub menus in Admin Components (#42588)
* Implement the ability to have 'separator' lines between sub menu items of a component in the Components menu of the Admin area.

* Add ability to provide alias value to support multiple sub menu separators.

---------
2024-01-14 23:44:27 +01:00
Richard Fath
59eeabadad
Fix parameter type for whereIn query (#42638) 2024-01-10 19:22:31 +01:00
Stefan Bauer
9839f6dca8
Update SiteRouter.php - check $force_ssl non type safe (#42615)
* Update SiteRouter.php - check $force_ssl non type safe

### Summary of Changes
When updateing joomla from joomla 3 to joomla 4.4 the value in cofiguration.php is still saved with `public $force_ssl = '2'` instead of `public $force_ssl = 2`. If set as string, the force_ssl setting has no effect, the redirection to https is not working.

Furthermore, the cli command '/cli/joomla.php config:set force_ssl=2' also sets the configuration.php to `public $force_ssl = '2'`.

The change should have no further effect, everywhere else in the code force_ssl is checked non type-safe.


### Testing Instructions
Joomla 4.4.1
Run '/cli/joomla.php config:set force_ssl=2' and you will get `public $force_ssl = '2';` in configuration.php


### Actual result BEFORE applying this Pull Request
redirection to https is not wotking, site loads with http://...


### Expected result AFTER applying this Pull Request
Force SSL ist working, when opening with http://... the site is redirected to https://...


### Link to documentations
Please select:
- [ ] Documentation link for docs.joomla.org: <link>
- [x] No documentation changes for docs.joomla.org needed

- [ ] Pull Request link for manual.joomla.org: <link>
- [x] No documentation changes for manual.joomla.org needed

* Update libraries/src/Router/SiteRouter.php

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

---------
2024-01-10 18:16:20 +01:00
Christian Heel
14a1ad4279
[4.4] check for valid referrer (#42599) 2024-01-10 12:48:30 +01:00
Martin Kopp
26cf45c21c
Revert to dev
Signed-off-by: Martin Kopp <kopp05@infotech.ch>
2024-01-09 16:51:01 +01:00
Martin Kopp
f5c559ee01
Joomla! 4.4.2 Stable 2024-01-05 11:49:39 +01:00
Martin Kopp
56221633dc
Revert to dev
Signed-off-by: Martin Kopp <kopp05@infotech.ch>
2024-01-03 15:34:48 +01:00
Martin Kopp
a31a19c007
Joomla! 4.4.2 Rc 1 2024-01-03 15:00:20 +01:00
Richard Fath
80751a6b4a
[4.4] Fix SQL error "1104 The SELECT would examine more than MAX_JOIN_SIZE rows" when checking for core updates (#42576)
* Use concat of columns for getting core extensions

* Fix PHPCS

* Remove wrong quotes
2023-12-31 13:45:13 +01:00
Richard Fath
e125943d68
Better message on package uninstallation (#42570)
Better message on package uninstallation when an extension from that package is missing. Fixes issue #42537 .
2023-12-27 12:26:35 +01:00
George Wilson
58ccc936d2
Fixes to form validation process (#42560)
Fixes hardening measure introduced in https://github.com/joomla/joomla-cms/pull/23716
2023-12-23 17:52:04 +01:00
Richard Fath
1b4fea43a7
[4.4] Add information about reasons to Joomla Update when an update was found which doesn't fulfil PHP or DB requirements (#42489)
* Add information on reasons if no suitable update was found

* Change technical requirements link

* PHP CS

Co-authored-by: Quy <quy@nomonkeybiz.com>

* Apply suggestion from code review

Co-authored-by: Quy <quy@nomonkeybiz.com>

* Better English (1)

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

* Better English (2)

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

---------
2023-12-20 10:47:09 +01:00
Elfangor
291c565135
[4.4] File::delete() throws error and terminates installation/update/uninstall (#42533)
* fix issue by checking if is_file()

Before calling File::delete(), the file path gets checked for existence with the PHP build in function is_file(). Only if the provided path is an existing file, it gets deleted using File::delete().

* remove \ for consistency
2023-12-19 09:25:42 +01:00
Denitz
c4260cb6f9
[4.4] json_decode of NULL in InstallerScript::getItemArray() (#40527)
* json_decode of NULL

* Check for name in Installer Script
2023-12-07 16:05:04 +01:00
Martin Kopp
1354da155f
Revert to dev
Signed-off-by: Martin Kopp <kopp05@infotech.ch>
2023-11-28 15:47:16 +01:00
Martin Kopp
4ee38101e1
Joomla! 4.4.1 Stable 2023-11-23 11:16:58 +01:00
Martin Kopp
ac9aa34077
Joomla! 4.4.1 Rc 2 2023-11-23 10:57:58 +01:00
Martin Kopp
b7c1fc9cd3
Revert to dev
Signed-off-by: Martin Kopp <kopp05@infotech.ch>
2023-11-18 15:45:27 +01:00
Martin Kopp
16681afbd4
Joomla! 4.4.1 Rc 1 2023-11-18 15:26:09 +01:00
Fedir Zinchuk
0b6137699f
Fix a bug of web assets file joomla.asset.json registration/parsing (#41431)
* Make sure that all registry files parsed

* Make sure that all registry files parsed

---------
2023-11-16 13:05:42 +01:00
Fedir Zinchuk
874f23122d
Text::script should update existing script strings (#41543)
* Text::script should update existing script strings

* Text::script should update existing script strings

* comment
2023-11-15 10:34:55 +01:00
Octavian Cinciu
fa832ac9db
Fix multi-factor migration when updating from J3 to J4 (#42253)
* Update MultiFactorAuthenticationHandler.php

* Remove unuised MfaTable

---------
2023-11-05 15:46:58 +01:00
Sven Schultschik
6ad3c41071
fix #42191 Unknown column 'id' in 'field list' (#42199)
In this method it tries to load the field 'id' from the extensions table. But there isn't any field called id in this table. The id field for the extenions table is called extension_id
2023-11-03 14:05:15 +01:00
kochinc
3b13b2433b
[4.4] Proposed fix for Workflow transition error (#42036)
* Update UsersModel.php for 'GROUP BY' fix

* Update administrator/components/com_users/src/Model/UsersModel.php

Conform to coding style

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

* Update Workflow.php for issue #42031

Proposed fix for the reported error at #42031:
An error has occurred.
42601 42601, 7, ERROR: syntax error at or near "WHERE" LINE 5: WHERE "t"."id" = $1 AND "t"."workflow_id" = "w"."id" AND "t"... ^

* Revised update Workflow.php for #42031

Corrected join() call.

* Update Workflow.php for code style

Remove a space which caused phpcs complained.

---------

Co-authored-by: Richard Fath <richard67@users.noreply.github.com>
Co-authored-by: Quy <quy@nomonkeybiz.com>
2023-10-30 22:27:09 +01:00
Martin Kopp
04c9945ae6
Revert to dev
Signed-off-by: Martin Kopp <kopp05@infotech.ch>
2023-10-17 18:06:33 +02:00
Martin Kopp
874cf40178
Joomla! 4.4.0 Stable 2023-10-14 14:42:04 +02:00
Martin Kopp
cb0a826a79
Revert to dev
Signed-off-by: Martin Kopp <kopp05@infotech.ch>
2023-10-03 18:01:23 +02:00
Martin Kopp
4b89519792
Joomla! 4.4.0 Rc 1 2023-10-03 13:36:15 +02:00
Fedir Zinchuk
b9561c3916
Fix deprecated null, in ModuleAdapter (#41617)
Co-authored-by: Quy <quy@nomonkeybiz.com>
2023-09-28 19:46:01 +02:00