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

Accept bespoke certificates, hide full path and set upload mode #67

Open
wants to merge 61 commits into
base: master
Choose a base branch
from

Conversation

felmoltor
Copy link

@felmoltor felmoltor commented Oct 18, 2024

I modified the arguments and a bit the calls to werkzeug to accept bespoke certificates, such as LetsEncrypt.
Now the certificate and private key files can be specified with the argument -C/--cert.
E.g.

updog --ssl -C cert.pem key.pem 

Additionally, in this merge I've added the argument --fullpath, which will show the full path the the folder of you wish. Else, the default behaviour is to show only the relative path.

A new flag --upload [only, enabled, disabled] has also been added. The three options are self explanatory, but:

  • only: will not allow visualise de content of the folder and allow only to upload files
  • enabled: default behaviour. Upload and downloads allowed.
  • disabled: only downloads.

@felmoltor
Copy link
Author

Added also the option to hide the full path and show only the relative path to the folder it is being uploaded to as suggested in #36

@felmoltor felmoltor changed the title Accept bespoke certificates Accept bespoke certificates, hide full path and set upload mode Oct 21, 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.

1 participant