mirror of
https://github.com/anonaddy/anonaddy.git
synced 2026-04-25 14:15:53 +03:00
[PR #308] [CLOSED] add option hostname to create alias API endpoint #1162
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/anonaddy#1162
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/anonaddy/anonaddy/pull/308
Author: @thorpelawrence
Created: 6/21/2022
Status: ❌ Closed
Base:
master← Head:alias-hostname-option📝 Commits (2)
28678e4add optionhostnameto create alias API endpoint12b2cd5fix: always prepending.📊 Changes
5 files changed (+125 additions, -9 deletions)
View changed files
📝
app/Http/Controllers/Api/AliasController.php(+23 -4)📝
app/Http/Requests/StoreAliasRequest.php(+2 -1)📝
composer.json(+1 -0)📝
composer.lock(+97 -2)📝
config/version.yml(+2 -2)📄 Description
Hey there,
Thanks for all the work on this very helpful service.
I've attempted (first time using PHP so might have missed some things, mainly having trouble with the PHP and composer installed in Codespaces) to add a new
hostnamefield to thePOST api/v1/aliasesendpoint. The idea being that the main part of the domain name can be prepended to the alias (e.g.anonaddy.zxcvbn123@uname.anonaddy.me).The goal I had in mind is to use this with the Bitwarden extension to automatically include the website name in the alias if desired. Example of how it's done in their extension.
PS: are there any steps for contributing that I might have missed, or is it just a case of following the
SELF-HOSTING.mdfile mainly?🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.