1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2025-01-08 09:20:11 +00:00

Compare commits

..

No commits in common. "4fcba32f7454e75c8134c914794a172b6e0bbe93" and "a41b382dba87d1285b7de969bd1941fc83f79d15" have entirely different histories.

6 changed files with 8 additions and 34 deletions

View File

@ -80,15 +80,12 @@ steps:
volumes: volumes:
- name: ssh_key - name: ssh_key
path: /id_rsa path: /id_rsa
- name: ssh_key2
path: /id_rsa2
commands: commands:
- curl -sL https://git.io/goreleaser > goreleaser - curl -sL https://git.io/goreleaser > goreleaser
- chmod +x goreleaser - chmod +x goreleaser
- ./scripts/version.sh ./goreleaser --snapshot --skip-publish --rm-dist - ./scripts/version.sh ./goreleaser --snapshot --skip-publish --rm-dist
- wget https://builds.hrfee.pw/upload.py - wget https://builds.hrfee.pw/upload.py
- pip3 install requests - pip3 install requests
- bash -c 'sftp -i /id_rsa2 -o StrictHostKeyChecking=no root@161.97.102.153:/mnt/redoc <<< $"put docs/swagger.json jfa-go.json"'
- bash -c 'sftp -P 2022 -i /id_rsa -o StrictHostKeyChecking=no root@161.97.102.153:/repo/incoming <<< $"put dist/*.deb"' - bash -c 'sftp -P 2022 -i /id_rsa -o StrictHostKeyChecking=no root@161.97.102.153:/repo/incoming <<< $"put dist/*.deb"'
# - bash -c 'ssh -i /id_rsa root@161.97.102.153 -p 2022 "reprepro -Vb /repo remove trusty-unstable jfa-go"' # - bash -c 'ssh -i /id_rsa root@161.97.102.153 -p 2022 "reprepro -Vb /repo remove trusty-unstable jfa-go"'
# - bash -c 'ssh -i /id_rsa root@161.97.102.153 -p 2022 "reprepro -Vb /repo remove trusty-unstable jfa-go-tray"' # - bash -c 'ssh -i /id_rsa root@161.97.102.153 -p 2022 "reprepro -Vb /repo remove trusty-unstable jfa-go-tray"'
@ -102,9 +99,6 @@ volumes:
- name: ssh_key - name: ssh_key
host: host:
path: /root/.ssh/id_rsa_packaging path: /root/.ssh/id_rsa_packaging
- name: ssh_key2
host:
path: /root/.ssh/docker-build
trigger: trigger:
branch: branch:
- main - main

View File

@ -100,7 +100,7 @@ type getTokenDTO struct {
} }
// @Summary Grabs an API token using username & password. // @Summary Grabs an API token using username & password.
// @description If viewing docs locally, click the lock icon next to this, login with your normal jfa-go credentials. Click 'try it out', then 'execute' and an API Key will be returned, copy it (not including quotes). On any of the other routes, click the lock icon and set the API key as "Bearer `your api key`". // @description Click the lock icon next to this, login with your normal jfa-go credentials. Click 'try it out', then 'execute' and an API Key will be returned, copy it (not including quotes). On any of the other routes, click the lock icon and set the API key as "Bearer `your api key`".
// @Produce json // @Produce json
// @Success 200 {object} getTokenDTO // @Success 200 {object} getTokenDTO
// @Failure 401 {object} stringResponse // @Failure 401 {object} stringResponse

View File

@ -622,7 +622,7 @@ func flagPassed(name string) (found bool) {
} }
// @title jfa-go internal API // @title jfa-go internal API
// @version 0.3.10 // @version 0.3.6
// @description API for the jfa-go frontend // @description API for the jfa-go frontend
// @contact.name Harvey Tindall // @contact.name Harvey Tindall
// @contact.email hrfee@hrfee.dev // @contact.email hrfee@hrfee.dev
@ -638,7 +638,7 @@ func flagPassed(name string) (found bool) {
// @name getTokenAuth // @name getTokenAuth
// @tag.name Auth // @tag.name Auth
// @tag.description -Get a token here if running swagger UI locally.- // @tag.description --------Get a token here first!--------
// @tag.name Users // @tag.name Users
// @tag.description Jellyfin user related operations. // @tag.description Jellyfin user related operations.

View File

@ -59,35 +59,12 @@ sudo apt-get install jfa-go-tray
</div> </div>
<div class="row col flex center"> <div class="row col flex center">
<p class="content">a better way to manage your Jellyfin users.</p> <p class="content">a better way to manage your Jellyfin users.</p>
<ul class="support">
<li>Send invite links to your users, let them sign up themselves</li>
<li>Create setting profiles to restrict permissions of new users</li>
<li>Handles password resets without your intervention</li>
<li>Enforce password requirements on sign-up</li>
<li>Send messages & notifications to your users (email, discord, telegram, matrix available)</li>
<li>Set accounts to expire after a specified time</li>
<li>Manage your users in bulk</li>
<li><a href="https://github.com/hrfee/jfa-go#features" target="_blank">More</a></li>
</ul>
</div> </div>
<span class="row col flex center supra">links</span> <span class="row col flex center supra">links</span>
<div class="row col flex center"> <div class="row col flex center">
<a class="button ~neutral mr-half mt-1 mb-1" href="https://github.com/hrfee/jfa-go">github</a> <a class="button ~info mr-half mt-1 mb-1" href="https://github.com/hrfee/jfa-go">github</a>
<a class="button ~urge mt-1 mb-1 mr-half" href="https://wiki.jfa-go.com">wiki/docs</a> <a class="button ~urge mt-1 mb-1 mr-half" href="https://wiki.jfa-go.com">wiki/docs</a>
<a class="button ~positive mt-1 mb-1 mr-half" href="https://weblate.jfa-go.com">translation</a> <a class="button ~positive mt-1 mb-1 mr-half" href="https://weblate.jfa-go.com">translation</a>
<div class="dropdown" tabindex="0">
<a href="https://github.com/sponsors/hrfee" target="_blank" class="button ~info mt-1 mb-1 dropdown-button">
<i class="ri-hand-heart-line mr-half"></i>
donate
<span class="ml-1 chev"></span>
</a>
<div class="dropdown-display">
<div class="card ~info !low">
<a href="https://github.com/sponsors/hrfee" target="_blank" class="button input ~neutral field mb-half lang-link">GitHub</a>
<a href="https://ko-fi.com/hrfee" target="_blank" class="button input ~neutral field mb-half lang-link">Ko-fi</a>
</div>
</div>
</div>
</div> </div>
<p class="row col flex center supra">downloads</p> <p class="row col flex center supra">downloads</p>
<p class="row col flex center support">instructions can be found&nbsp<a target="_blank" href="https://github.com/hrfee/jfa-go#install">here</a></p> <p class="row col flex center support">instructions can be found&nbsp<a target="_blank" href="https://github.com/hrfee/jfa-go#install">here</a></p>
@ -107,7 +84,7 @@ sudo apt-get install jfa-go-tray
</div> </div>
</div> </div>
<div class="mt-1 unfocused" id="sect-unstable"> <div class="mt-1 unfocused" id="sect-unstable">
<p class="row center">These are built on every commit, so may include incomplete/broken features. Take care.</p> <p class="row center">These are built on every commit, so may include incomplete/broken features.</p>
<div class="row col flex center"> <div class="row col flex center">
<a class="button ~info mr-half mb-half lang-link" target="_blank" href="https://dl.jfa-go.com/view/hrfee/jfa-go">windows/mac/linux</a> <a class="button ~info mr-half mb-half lang-link" target="_blank" href="https://dl.jfa-go.com/view/hrfee/jfa-go">windows/mac/linux</a>
<a class="button ~info mr-half mb-half lang-link" id="download-docker-unstable">docker</a> <a class="button ~info mr-half mb-half lang-link" id="download-docker-unstable">docker</a>

View File

@ -221,3 +221,5 @@ export function insertText(textarea: HTMLTextAreaElement, text: string) {
textarea.focus(); textarea.focus();
} }
} }

View File

@ -37,3 +37,4 @@ export class Tabs implements Tabs {
} }
} }
} }