Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin - Display if the installation is not complete according to versions in installed modules #5478

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Gustry
Copy link
Member

@Gustry Gustry commented Feb 26, 2025

It's checking the version in project.xml against all "core Lizmap" modules thanks to the installer.ini.php.

image

It's to avoid some possible migrations issues

It will be manually backported to 3.9 and 3.8 due to Bootstrap 5.

@Gustry Gustry added administration pages run end2end If the PR must run end2end tests or not labels Feb 26, 2025
@Gustry Gustry requested review from laurentj and rldhont February 26, 2025 10:53
@github-actions github-actions bot added this to the 3.10.0 milestone Feb 26, 2025
@Gustry Gustry force-pushed the installation-not-complete branch from 5529dc1 to 2ff8b0d Compare February 27, 2025 11:35
@Gustry Gustry requested a review from nworr March 3, 2025 10:06
Copy link
Contributor

@nworr nworr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice Addition !

$data['info']['date'] = $projectInfos->versionDate;
$data['info']['commit'] = \jApp::config()->commitSha;

$modules = new ModulesChecker();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is not necessary to call ModulesChecker in the class Server,

If we want the installation_complete info in the json returned by index.php/view/app/metadata
, we can call the class in the controller view/app controller

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
administration pages run end2end If the PR must run end2end tests or not
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants