Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Adds feature to Edit Custom certificates.#4425

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
rumansaleem wants to merge2 commits intoNginxProxyManager:develop
base:develop
Choose a base branch
Loading
fromrumansaleem:feature/edit-custom-certificates

Conversation

rumansaleem
Copy link

@rumansaleemrumansaleem commentedMar 8, 2025
edited
Loading

Closes#1618 &#1911

  • Adds a PUT API to update certificate data (using only nice_name for now). The method to call this API already existed in client-side.
  • Updates the existing Form UI & Logic:
    • Conditionally calls updating or creating a certificate.
    • Makes certificates non-required in case of editing
    • Existing API call to upload files to existing certificate, replaces the existing files, in case files already exists.

Screenshots

image
Edit Menu (only for custom certificates)

image
Edit Form (re-uses existing form)

Rdiger-36, spcqike, ebertek, Buronn, rjblake, and qwildz reacted with hooray emoji
@rumansaleemrumansaleemforce-pushed thefeature/edit-custom-certificates branch fromad1f773 to6c9531eCompareMarch 8, 2025 20:43
@rumansaleemrumansaleem marked this pull request as ready for reviewMarch 9, 2025 17:42
@rumansaleem
Copy link
Author

Hey@jc21 can you please review this PR?

@asmwp
Copy link

I have tried to use this version of NPM and pulled the docker image. When running this in Docker on Ubuntu using Firefox 138.0.4 (64-bit) when I go to add an SSL and select 'Custom' I get javascript errors 'InternalError: too much recursion - in main.bundle.js related to this line isNewhttp://0.0.0.0:81/js/17.bundle.17.js?v=2.12.3:1'. Have tried clearing cache etc, no good.

@rumansaleem
Copy link
Author

hey@asmwp thanks for looking at this. I will look into this and get back with the fix.

@rumansaleem
Copy link
Author

rumansaleem commentedMay 31, 2025
edited
Loading

I've fixed the issue, I thoughtthis.isNew() inside a template function would refer to model function (new to backbone.js 😅). Fixed by directly checkingid. Create and Edit both features seems to work as expected now.

@asmwp can you have another look?

@nginxproxymanagerci
Copy link

Docker Image for build 3 is available on
DockerHub
asnginxproxymanager/nginx-proxy-manager-dev:pr-4425

Note: ensure you backup your NPM instance before testing this image! Especially if there are database changes
Note: this is a different docker image namespace than the official image

@asmwp
Copy link

asmwp commentedMay 31, 2025
edited
Loading

I didn't think it was working earlier but it was me being an idiot! I can confirm that this now works as expected in both Chrome and Firefox on Ubuntu.

@rjblake
Copy link

nginxproxymanager/nginx-proxy-manager-dev:pr-4425

Same for me. Don't forget to clear your cache/empty cache & hard reload. You'll see the Edit option after that. Much appreciated@rumansaleem

rumansaleem reacted with heart emoji

Zoey2936 added a commit to ZoeyVid/NPMplus that referenced this pull requestJun 27, 2025
Zoey2936 added a commit to ZoeyVid/NPMplus that referenced this pull requestJun 27, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Feature: Allow update custom existing SSL Certificate
3 participants
@rumansaleem@asmwp@rjblake

[8]ページ先頭

©2009-2025 Movatter.jp