[4.0] Show changelog - GSoC Expand Extensions Manager #17536 redo#24026
[4.0] Show changelog - GSoC Expand Extensions Manager #17536 redo#24026wilsonge merged 75 commits intojoomla:4.0-devfrom
Conversation
The modal must have a title - I would suggest Changelog - component_name For the title it is better to present the component_name before the version number |
|
@roland-d i'm done with merge conflicts for a bit so coming back to this. Can you fix the conflict here and address the a11y point raised by brian and i'll try and get this tested :) |
# Conflicts: # libraries/src/Installer/Adapter/LibraryAdapter.php
Signed-off-by: Roland Dalmulder <contact@rolandd.com>
|
@wilsonge All updated and modal title changed as well. I have kept the version number though, I do think this is useful information. As such it now looks like this: The title is a language string now, so it can be translated as people wish. |
|
@roland-d I created roland-d#13 which makes the modal responsive. Feel free to close if you believe it outside the scope of this PR. |
Make modal responsive
|
@ciar4n I think it looks great. Thank you. |
|
Javascript code style issues to solve |
Signed-off-by: Roland Dalmulder <contact@rolandd.com>
Signed-off-by: Roland Dalmulder <contact@rolandd.com>
|
@wilsonge Yay, all green :) |
| @@ -0,0 +1,2 @@ | |||
| ALTER TABLE "#__extensions" ADD COLUMN "changelogurl" text AFTER "element"; | |||
There was a problem hiding this comment.
please remove
AFTER "element"
AFTER `infourl` Signed-off-by: Roland Dalmulder <contact@rolandd.com>
|
I have tested this item ✅ successfully on 775e102 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/24026. |
|
There's a test and there's a merge :) Thanks @roland-d and @NunoLopes96 for all the hard work on this! |
|
Rolands written docs for this here https://docs.joomla.org/Adding_changelog_to_your_manifest_file so removing the docs required tag |


Redo
This is a continuation of issue #17536 as I can no longer push to that repo, starting a new PR.
Introduction
At this time, users have to look for external sources of information about changes in an extension, when they are going to update their extensions. In most cases, users install an extension without checking the changelog due to the difficulty to find the associated changelog. With this new feature, users can review the changelog of the extensions when they are about to install an update (granted that the changelog is provided by the extension's developer), and after the extension is installed.
Summary of Changes
Added a new parameter on the xml updateserver files 'changelogurl' and adding it to #__updates table.
Testing Instructions
npm cito compile the JavaScriptList of Students0.0.2Manage ViewUpdate ViewChangelog format
The changelogurl is supported for all extensions, you just need to add tags in your installation xml with a valid url.
<changelogurl>https://rolandd.com/24026/changelog.xml</changelogurl>The format of the XML file is as follows:
This file contains 2 changelogs:
Update View
Install the List component https://github.com/roland-d/component_joomla/releases/tag/v0.0.2
By default you will have always an update from 0.0.2 to 4.0.0 just for testing
If the changelog is not available it will show N/A like in the Folder column
It will open a modal window that loads the changelog via AJAX from the given changelog URL.
The title of the modal is version ' - ' component_name
Manage View
On the manage view the changelog is triggered by clicking on the version number.
Expected result
In Updates View you will have a new column that will show a changelog button to open a modal if there is a changelogurl in the #__updates table.
In Manage View you will have an tag in the version with a info icon on the right side if your extension has a changelogurl in the #__extensions table.
Documentation Changes Required
Add changelogurl parameter on updatesite information and in extension.
Add changelog XML format to updatesite information