Harvey Tindall
a97bccc88f
jellyseerr: use in profiles, apply on user creation and modification
...
added in the same way as ombi profiles. Most code is copy-pasted and
adjusted from ombi (especially on web), so maybe this can be merged in
the future. Also, profile names are url-escaped like announcement
template names were not too long ago. API client has "LogRequestBodies"
option which just dumps the request body when enabled (useful for
recreating reqs in the jellyseerr swagger UI). User.Name() helper
returns a name from all three possible values in the struct.
4 months ago
Harvey Tindall
7b9cdf385a
jellyseerr: add notifications related methods
...
similar in style to User, with Notifications/NotificationsTemplate, and
named fields for modifying discord and telegram IDs, and two modify
methods.
4 months ago
Harvey Tindall
73e985c45c
jellyseerr: add user modification methods
...
addded permissions get/set before realizing it already comes as part of
the User object. Split User attributes that will be templated into
UserTemplate struct, which User inherits. ApplyTemplateToUser takes a
UserTemplate, while ModifyUser takes a plain map with some typed fields
(display name and email, for now).
4 months ago
Harvey Tindall
9c34192b4f
jellyseerr: start API client
...
Currently uses an API key (Seems simpler for the user than importing the
jfa-go user and granting perms). Strategy as follows:
* MustGetUser(jfID) function checks the cache for user, if not, calls
Jellyseerr's importer passing jfID. From either, the user object is
returned, which (in later commits) can be used to update the user's
email (and potentially other info).
My API key is in there rn but its for a local testing instance, who
cares.
4 months ago
Harvey Tindall
dabef831d7
form: add more customizable success card
...
Success card could be customized simply with the "Success message"
setting, but a new "Post sign-up help card" in the Message editor
supports full markdown.
4 months ago
Harvey Tindall
e44d11c58c
html: add noindex tag to header.html
...
should stop instances being indexed by search engines.
4 months ago
Harvey Tindall
48a2058e81
accounts: notify users of expiry adjustment
...
"Send notification message" in the extend expiry dialog will send a
message to the user with their new expiry. For #345 .
4 months ago
Harvey Tindall
cd98e51ea9
adjust wording in expiry adjusted email
...
previously stated your account would be enabled, however the admin can
adjust expiry without re-enabling the user, so wording has been changed
to "your account may have been re-enabled.".
4 months ago
Harvey Tindall
fbbb03a47d
email: add new "expiry adjusted email"
...
just the email at this point. Also wrote up a little guide on adding new
emails on wiki.jfa-go.com.
4 months ago
Harvey Tindall
6f5fc0948a
css: fix inv creation card width on mobile
...
for #339 . Cards were fixed at half-width, even when wrapping. Instead of
fixing with breakpoints, remove the width specification and set each to
"flex-grow: 1".
4 months ago
Harvey Tindall
05d473dc97
mediabrowser: bump version for JF 10.9.8
...
Adds missing field(s). For #349 .
4 months ago
Harvey Tindall
e9e361ae60
ci: full clone for valid rev-list
...
so that deb packages have the correct epoch value.
4 months ago
Harvey Tindall
98d9bc62ff
ci: attempt to fix deb repo processing
...
by calling `repo-process-deb` with trusty-unstable` rather than
`trusty` for unstable builds, because that seems to make sense.
To make sure, both are called. Same applies to stable.
4 months ago
Harvey Tindall
6f0f6e6901
ci: switch deb repo address
4 months ago
Harvey Tindall
c5d45355a8
attempt 2 at BUILT_BY in Docker CI
4 months ago
Harvey Tindall
1a85feb344
woodpecker: add "built by" for docker builds
...
hopefully works? but untested since it doesn't really matter.
4 months ago
Harvey Tindall
c75418db67
woodpecker: fix FIXME'd docker tags
...
forgot to change them from the private test repo.
4 months ago
Harvey Tindall
7c8e463929
ci: migrate to woodpecker on arm64
...
as part of migrating most of my services to a new server,
I've switched CI to woodpecker, a fork of drone. CI configs are now in
.woodpecker/, and are neater. The server runs on arm64, so the configs
and prerequisite jfa-go-build-docker are built to run there primarily.
They should work on other platforms still.
New CI is at ci.hrfee.dev.
4 months ago
Harvey Tindall
8f04f49086
docker: use jfa-go-build-docker for quicker builds
...
we already make the prerequisite container, why not use it for docker
builds as well?
4 months ago
Harvey Tindall
ec2f826dec
goreleaser: support building on non-x86-64 host
...
jfa-go-build-docker is now built for an arm64 host primarily,
and the manually specified x86-64 (cross)compiler and pkg-config means
compilation will work on it (or another architecture in future).
4 months ago
Harvey Tindall
6b576f2ffe
announce: URL encode/decode template labels
...
Fixes #340 , allowing slashes (/) in label names which would break the
URL otherwise.
4 months ago
Harvey Tindall
7c989fda08
tls: don't "crash" on server close
...
TLS server section called Fatalf, while the normal section called Printf
on server close. Fatalf is now only called if the server wasn't shutdown
manually, e.g. when certificates are wrong. Same change was applied to
non-tls section, so crashes will actually occur when things like ports are occupied.
Fixes #343 .
4 months ago
Harvey Tindall
a4d436b16b
build: increase goreleaser build timeout
...
CI server is quite slow, so the 30m timeout of goreleaser was being
exceeded. Bumped to 60m, as defined by "TIMEOUT" in version.sh.
4 months ago
Harvey Tindall
9339992693
Merge branch 'main' of github.com:hrfee/jfa-go
4 months ago
Harvey Tindall
214d16cf0e
goreleaser: increment version
...
no actual changes.
4 months ago
Harvey Tindall
a085e91cc6
Merge pull request #347 from jeppevinkel/patch-1
...
Fix referral url when subdomain contains `account`
4 months ago
Harvey Tindall
272c38e0c5
user: url split on pathname only
4 months ago
jeppevinkel
6052329c0b
Fix deprecated georeleaser flag
...
Updated the `--skip-publish` flag to the new `--skip=publish` format.
5 months ago
jeppevinkel
acfdcdbc63
Fix referral url when subdomain contains `account`
...
This fix should work to grab the base url more consistently when the sub domain includes `account` in the name.
5 months ago
SimplyJanDE
a7529c7498
Translated using Weblate (German)
...
Currently translated at 93.6% (117 of 125 strings)
Translation: jfa-go/Setup
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/setup/de/
5 months ago
gentertain
c85a7843d0
translation from Weblate (German)
...
Currently translated at 73.9% (196 of 265 strings)
Translation: jfa-go/Admin Page
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/admin/de/
5 months ago
Sophia Walker
186bf30eca
translation from Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (265 of 265 strings)
Translation: jfa-go/Admin Page
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/admin/zh_Hans/
5 months ago
Sophia Walker
45e74f6e33
translation from Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (68 of 68 strings)
Translation: jfa-go/Account Creation Form
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/form/zh_Hans/
5 months ago
FLAV1N
59654b72e6
translation from Weblate (Indonesian)
...
Currently translated at 40.7% (108 of 265 strings)
Translation: jfa-go/Admin Page
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/admin/id/
5 months ago
alison2033
d5531ed73e
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (12 of 12 strings)
Translation: jfa-go/Telegram/Matrix/Discord bots
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/chat-bots/pt_BR/
5 months ago
alison2033
ae208a87e0
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (51 of 51 strings)
Translation: jfa-go/Common Strings
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/common-strings/pt_BR/
5 months ago
alison2033
0a56f7ceed
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (125 of 125 strings)
Translation: jfa-go/Setup
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/setup/pt_BR/
5 months ago
alison2033
9678e5cc1a
translation from Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (68 of 68 strings)
Translation: jfa-go/Account Creation Form
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/form/pt_BR/
5 months ago
alison2033
e4b335f4f6
translation from Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (265 of 265 strings)
Translation: jfa-go/Admin Page
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/admin/pt_BR/
5 months ago
alison2033
b5ae5f94fd
translation from Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (68 of 68 strings)
Translation: jfa-go/Account Creation Form
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/form/pt_BR/
5 months ago
alison2033
867aad7896
translation from Weblate (Portuguese (Brazil))
...
Currently translated at 68.3% (181 of 265 strings)
Translation: jfa-go/Admin Page
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/admin/pt_BR/
5 months ago
alison2033
97f42b2f37
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 86.4% (108 of 125 strings)
Translation: jfa-go/Setup
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/setup/pt_BR/
5 months ago
alison2033
59fbfdc8f3
translation from Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (68 of 68 strings)
Translation: jfa-go/Account Creation Form
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/form/pt_BR/
5 months ago
johndu30160
c8b89f412b
Translated using Weblate (French)
...
Currently translated at 100.0% (12 of 12 strings)
Translation: jfa-go/Telegram/Matrix/Discord bots
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/chat-bots/fr/
5 months ago
johndu30160
f4038f00ed
Translated using Weblate (French)
...
Currently translated at 99.2% (124 of 125 strings)
Translation: jfa-go/Setup
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/setup/fr/
5 months ago
johndu30160
8091d4cba6
Translated using Weblate (French)
...
Currently translated at 100.0% (51 of 51 strings)
Translation: jfa-go/Common Strings
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/common-strings/fr/
5 months ago
johndu30160
189b1055e1
translation from Weblate (French)
...
Currently translated at 100.0% (68 of 68 strings)
Translation: jfa-go/Account Creation Form
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/form/fr/
5 months ago
johndu30160
2c00f7e5e6
translation from Weblate (French)
...
Currently translated at 100.0% (265 of 265 strings)
Translation: jfa-go/Admin Page
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/admin/fr/
5 months ago
matsob0123
c2f592272d
translation from Weblate (Polish)
...
Currently translated at 17.7% (47 of 265 strings)
Translation: jfa-go/Admin Page
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/admin/pl/
5 months ago
greyluked
3fedc42a4a
translation from Weblate (Spanish)
...
Currently translated at 67.5% (179 of 265 strings)
Translation: jfa-go/Admin Page
Translate-URL: https://weblate.jfa-go.com/projects/jfa-go/admin/es/
5 months ago