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

Improve installation script and various small fixes #161

Merged
merged 24 commits into from
Apr 24, 2024
Merged

Improve installation script and various small fixes #161

merged 24 commits into from
Apr 24, 2024

Conversation

gartens
Copy link
Contributor

@gartens gartens commented Nov 21, 2023

Improvements to the installer:

  • Drop unused variable $output.
  • Add a wrapper around the clone calls and display stderr on error.
  • Pass the desired revision directly to the clone command instead of executing a second command.
  • Get rid of superfluous single quotes and add them where required.
  • HTML escape error messages.
  • Keep already entered form values when the installation fails except for passwords.
  • Remove option to clone repository via Mercurial. Only Git is supported now.
  • Update README.md
  • Disable FTP upload for local clients by default
  • When successful, redirect the user to index.php

Improvements to Chronos:

  • Use the O_EXCL flag for opening lock files
  • Factor multiple instances of file_exists and file_get_contents into a helper
  • Replace a PNG with a SVG
  • Make the .htaccess files stricter
  • Display a 404 page when non-existent controllers/actions are accessed
  • Fix various warnings and typos

@gartens gartens changed the title Improve installation script Improve installation script and various small fixes to Chronos Dec 6, 2023
@vogti vogti changed the title Improve installation script and various small fixes to Chronos Improve installation script and various small fixes Dec 10, 2023
gartens and others added 24 commits April 24, 2024 13:19
 - Drop unused variable $output.
 - Add a wrapper around the clone calls and display stderr on error.
 - Pass the desired revision directly to the clone command instead of
   executing a second command.
 - Get rid of superfluous single quotes and add them where required.
 - HTML escape error messages.
 - Keep already entered form values when the installation fails except
   for passwords.
Dynamically setting properties is deprecated, so give weeks a bit of a
special treatment.
Without this the default configuration created by convertResults won't
be displayed the first time the system page is shown after creating
a new system.
Copy link
Member

@vogti vogti left a comment

Choose a reason for hiding this comment

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

Thx, @gartens, for this PR!

@vogti vogti merged commit 4b96de7 into Chronos-EaaS:master Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants