Harvey Tindall
c187b948d9
accounts: display "Contact through" above container
...
stops most of it being hidden at the bottom of the page.
2023-02-02 12:18:34 +00:00
Harvey Tindall
eb85ee4d35
add option to auto redirect to jellyfin (or given link)
...
if enabled (General>Auto redirect on success), the user will not have to
click "continue" on the form or creation success page and will
insted be redirected. For #242 .
2023-02-02 10:34:22 +00:00
Harvey Tindall
de6bc02ad8
Merge branch 'main' of github.com:hrfee/jfa-go
2023-02-02 09:41:56 +00:00
Harvey Tindall
d355b3167f
fix GOESBUILD for newer go versions
...
switched to 'go install' syntax. for #248 .
2023-02-02 09:41:14 +00:00
Harvey Tindall and GitHub
6cd846dfd8
Merge pull request #251 from aleksasiriski/patch-1
...
fixed setExpiry() and added checked to admin only
2023-02-02 09:27:12 +00:00
Harvey Tindall
5d289ce023
Admin: auto enable contact when an email is added
...
"Contact through email" is now automatically enabled when adding an
email address to an account without one on the admin page. Solves #233 .
2023-02-01 15:25:47 +00:00
Harvey Tindall
2722e8482d
Invites: unique email/ID requirement
...
"Require unique ..." Settings (`require_unique` in relevant sections of
config.ini) are now available for email/discord/telegram/matrix. An
error is shown on the invite form if a non-unique address/ID is used.
This was on my kanban without a link to an issue, so i'm guessing it was
requested on Discord.
2023-02-01 15:11:10 +00:00
Harvey Tindall
895dcf5a30
fix missing create-success css
...
part of #242
2023-02-01 14:14:13 +00:00
Harvey Tindall
ac25c9cd7f
accounts: Show "contact through" cog when only email is given"
...
one portion of #233 : When adding an email address to an account, the
admin (for now) will manually have to enable its use by clicking the cog icon and
enabling "contact through email". Only for now, currently some other
unfinished work is stopping me from committing the other portion of code
for this issue.
2023-01-30 14:00:29 +00:00
Harvey Tindall
47d00d1f27
site: properly fix modals
...
uncss was clearing out the "block" and "animate-fade-in/out", so removed
that step since tailwind does a similar thing anyway.
2022-12-29 21:15:07 +00:00
Harvey Tindall
6bab805528
site: fix modals
2022-12-29 20:31:29 +00:00
Harvey Tindall
6efd28d904
fix translation conflict
2022-12-29 17:48:37 +00:00
Harvey Tindall
04329bf171
fix issue with light mode colors
2022-12-29 17:32:59 +00:00
Harvey Tindall and GitHub
3d56b6864e
Merge pull request #234 from HackingHackers/main
...
Fix Chinese translation issues
2022-12-29 16:51:25 +00:00
Harvey Tindall
4c3e310634
use go install for swag in goreleaser
2022-03-22 15:16:04 +00:00
Harvey Tindall
8b52330304
remove unused nightwind dep
2022-03-22 15:09:38 +00:00
Harvey Tindall
200dc1c91a
lowercase lang
2022-03-22 15:03:53 +00:00
Harvey Tindall
12db53d1eb
reorganise api, add "Connection refused" error in setup
...
fixes #201
2022-03-22 14:58:39 +00:00
Harvey Tindall
cebde9d4c0
setup: report errors when saving config
2022-02-03 19:19:21 +00:00
Harvey Tindall
9395165916
updater: check build is ready
2022-01-30 18:25:47 +00:00
Harvey Tindall
a8daa2c77e
makefile changes
2022-01-30 18:03:21 +00:00
Harvey Tindall
49c873c858
dont ignore esbuild errors
2022-01-30 17:59:52 +00:00
Harvey Tindall
c6fc5765f3
update node version in Dockerfile
2022-01-30 17:18:51 +00:00
Harvey Tindall
62cbbf57e7
form: fix mono text in discord linking modal
2022-01-30 16:47:29 +00:00
Harvey Tindall
b81c5636cc
settings: better top button padding on mobile
2022-01-30 16:43:28 +00:00
Harvey Tindall
d867649a93
padding; fix hungarian lang names
2022-01-30 16:38:19 +00:00
Harvey Tindall
cd08259012
lowercase lang
2022-01-30 16:28:20 +00:00
Harvey Tindall
ecbff16a88
modal: change transition
...
now a simple fade-in/fade-out, which is part of tailwind.config.js
rather than modal.css.
2022-01-30 16:24:40 +00:00
Harvey Tindall
baffa4a38c
add NOTEMPLATE env var to missing-colors.js
2022-01-30 14:41:11 +00:00
Harvey Tindall
6431613363
update version; mention log button in bug report template
2022-01-30 14:27:00 +00:00
Harvey Tindall
25451eb763
form: show radios for only linked contact methods
2022-01-27 16:56:21 +00:00
Harvey Tindall
dbefb80f63
form: reliably disable submit button, communicate if account linking is required
2022-01-27 16:48:46 +00:00
Harvey Tindall
4deb45df3c
fix code text color in dark mode
2022-01-26 22:25:33 +00:00
Harvey Tindall
4b02960fd1
form: add captcha regen button
...
lots of false negatives so this is a solution for now.
Also the registering of each discord command is now logged for debugging
purposes.
2022-01-26 22:14:16 +00:00
Harvey Tindall
15e5564b12
discord: add/move to slash commands
...
the version of the discord library with support for this isn't
necessarily stable, so normal ! commands will still be available. The
user is no longer DMed for the PIN, instead they type /pin <PIN>.
2022-01-26 21:47:02 +00:00
Harvey Tindall
e66241ddcb
fix crash page css when using goreleaser
2022-01-26 15:45:21 +00:00
Harvey Tindall
d3990a6c55
upgrade vulnerable dependency
2022-01-26 14:37:14 +00:00
Harvey Tindall
be1d081629
build: fix css bundling bug with new esbuild
...
local testing was being done with an older version of esbuild which
didn't mind @tailwind statements before @imports (it complained, but did
its job). On the latest version used in Docker builds, it would leave
the @import statements intact which broke things like modals.
2022-01-26 14:26:10 +00:00
Harvey Tindall
fafb524a47
accounts: link ombi/discord when adding
2022-01-25 18:05:17 +00:00
Harvey Tindall
da1b9ccac7
ombi: add migration to link telegram/discord
2022-01-25 18:02:04 +00:00
Harvey Tindall
7b97e1ca26
fix discord/telegram linking with ombi
...
original issue creator replied with the fix.
2022-01-25 17:37:14 +00:00
Harvey Tindall
7f11549337
ombi: broken discord/telegram linking
...
doesn't work due to https://github.com/ombi-app/ombi/issues/3484
committing to save progress.
2022-01-25 17:01:18 +00:00
Harvey Tindall
987e0ddd4e
accounts: show "Set expiry" button for non-disabled users
...
previously hidden in a dropdown on the "re-enable" button for disabled
users only, now can be used on active ones.
2022-01-25 15:27:16 +00:00
Harvey Tindall
8fd097836f
discord: send in-channel reply to !start
2022-01-14 17:26:19 +00:00
Harvey Tindall
5acee68987
settings: rename URL base to reverse proxy subfolder
2022-01-14 17:04:17 +00:00
Harvey Tindall
25a1ca5a9f
bots: fix language selection
...
you may have to re-apply your language choice.
2022-01-14 17:01:42 +00:00
Harvey Tindall
32af107699
discord: add role to user on signup
...
This requires an extra permission, so you'll have to modify your bot
settings, kick it from your server and re-add it for this to work. The
role you select must also be lower in hierarchy than the bot's group.
2022-01-13 22:34:52 +00:00
Harvey Tindall
b929e16f2c
build: apply cssVersion for all ldflags
2022-01-13 21:49:56 +00:00
Harvey Tindall
1c942186aa
form: fix captcha
...
wouldn't compile (not sure why i didn't notice) and after fixing, the
check was being performed after deleting the invite so would always
fail.
2022-01-13 20:40:58 +00:00
Harvey Tindall
d9f8785372
form: add CAPTCHAs
...
Enabled in Settings > Captchas, shows a captcha on the account creation
form.
2022-01-10 01:55:48 +00:00
Harvey Tindall
8758d74e32
fix titles for some pages
2022-01-10 00:46:01 +00:00
Harvey Tindall
6448a7db9e
accounts: allow giving individual users jfa-go access
...
New "Access jfa-go" column allows you to select users for jfa-go access.
New "Allow All" setting allows all Jellyfin users access, as disabling
"Admin Only" no longer does this.
2022-01-09 19:37:17 +00:00
Harvey Tindall
77c05a4d4f
prefix css with version to avoid cache conflict
2022-01-08 16:42:36 +00:00
Harvey Tindall
4024334c0c
accounts: add ability to label users
...
press the pen icon next to their username to add a nick-name to remind
you who they are.
2022-01-08 16:20:31 +00:00
Harvey Tindall
3294b27029
add replaceAll polyfill
2022-01-08 00:22:21 +00:00
Harvey Tindall
0d4747e8e9
Merge branch 'main' of github.com:hrfee/jfa-go
2022-01-08 00:09:35 +00:00
Harvey Tindall
1ebc648158
fix broken go template if statements
...
All available DOM parsers for node would move the contents of if
statements outside of them, breaking things like the accounts tab. Fixed
with a regex pre and post process to comment out then uncomment all template usage.
builds now depend on perl for some regex, this can likely be changed in
future though.
2022-01-08 00:07:23 +00:00
Harvey Tindall
e86f5f4c3c
site: use tailwind
2022-01-04 21:14:12 +00:00
Harvey Tindall
3b0701e772
fix dark mode script
2022-01-04 20:46:22 +00:00
Harvey Tindall
9874dce520
merge tailwind and upgraded a17t
...
a17t v0.10 became a tailwind plugin rather than standalone css, and made
some other changes. Much of the original custom CSS now uses tailwind
classes, and there have been some other UI changes.
2022-01-04 20:28:36 +00:00
Harvey Tindall
2f50ab36fd
pad table and some other stuff
2022-01-04 20:09:51 +00:00
Harvey Tindall
6124b9b3f3
switch accounts tab table to white bg
2022-01-04 19:22:49 +00:00
Harvey Tindall
7ff492df6c
site: allow html injection
2022-01-02 22:05:26 +00:00
Harvey Tindall
a8ce35c13f
fixed height on table rows
2022-01-01 03:29:09 +00:00
Harvey Tindall
26d9864051
fix layout on remaining html
2022-01-01 02:58:26 +00:00
Harvey Tindall
a3a22d353c
lang: make loadLangSelector respect existing params
2022-01-01 02:54:02 +00:00
Harvey Tindall
dd5eecf9f9
fix textareas
2022-01-01 02:17:24 +00:00
Harvey Tindall
7e0e0b0520
fix form layout
2021-12-31 18:52:03 +00:00
Harvey Tindall
8bee09cd01
fix settings button highlight
2021-12-31 18:30:15 +00:00
Harvey Tindall
deb117fc34
fix setup layout
2021-12-31 18:00:19 +00:00
Harvey Tindall
a9a0005007
setup: patch messages with english fallback
2021-12-31 17:49:25 +00:00
Harvey Tindall
4eb7afead6
fix banner in about
2021-12-31 17:43:09 +00:00
Harvey Tindall
d1b5b74060
make most modals white
2021-12-31 17:28:08 +00:00
Harvey Tindall
cf91ee62ed
change invite color in light mode
2021-12-31 16:07:21 +00:00
Harvey Tindall
277690ef79
allow for defining custom dark: variants, ignore querySelector, shrink margins
2021-12-31 16:01:17 +00:00
Harvey Tindall
f7f3530a33
fix crash page
2021-12-31 15:09:33 +00:00
Harvey Tindall
2d3a5c739c
fix about page
2021-12-31 02:22:23 +00:00
Harvey Tindall
3dbb993d35
fix button layout on accounts tab
2021-12-31 02:03:29 +00:00
Harvey Tindall
508168b49e
fix more oddities
2021-12-31 01:51:42 +00:00
Harvey Tindall
0e1cbd7e7b
fix m-half in ts
2021-12-31 00:26:11 +00:00
Harvey Tindall
e73ecb7a52
fix some padding issues
2021-12-31 00:22:28 +00:00
Harvey Tindall
62be8adc65
remove predefined m- and p- spacing
2021-12-30 23:58:20 +00:00
Harvey Tindall
acc8892f26
switch to DOM based variant adding
2021-12-30 23:52:53 +00:00
Harvey Tindall
51b59ae103
settings: add button to get logs
2021-12-30 17:54:27 +00:00
Harvey Tindall
8888807780
remove debug print, add another
2021-12-30 17:30:29 +00:00
Harvey Tindall
0f0355fd01
fix inline
2021-12-30 02:59:44 +00:00
Harvey Tindall
d19f7d6b53
mailgun: better handle different api url formats
2021-12-30 02:55:00 +00:00
Harvey Tindall
a31f174375
add dark variants to ts
...
janky but works, and should report if theres a situation its not ready
to handle.
2021-12-30 02:45:29 +00:00
Harvey Tindall
18ae03554f
tailwind: upgrade a17t, somewhat functional dark mode
...
instead of adding dark: variants to each element, a preprocessor script
adds them. still needs to be implemented to typescript.
2021-12-30 00:49:43 +00:00
Harvey Tindall
07de4e5015
build: include systemd service
2021-12-29 23:29:34 +00:00
Harvey Tindall
57e6469564
site: add direct links to unstable builds
...
Links to build types and architectures are now included in the unstable
download section.
2021-12-29 22:33:07 +00:00
Harvey Tindall
aedea1bea6
admin: move theme icon to top left; add icon
2021-12-24 19:34:18 +00:00
Harvey Tindall
535a100314
settings: discord and more links in "About"
2021-12-24 19:22:35 +00:00
Harvey Tindall
360c25d084
accounts: hide "Send PWR" when link resets disabled
...
for #182 .
2021-12-24 19:05:48 +00:00
Harvey Tindall
d47afe05f4
update deps, fix connection error log
2021-12-22 23:11:00 +00:00
Harvey Tindall
942792cdfa
add discord link to site
2021-12-21 14:04:24 +00:00
Harvey Tindall
685254950e
add discord link; new thumbnail variant
2021-12-21 13:43:37 +00:00
Harvey Tindall
e6cc7fce1a
form: add setting for changing redirect url
...
for #167 , Settings > General (Advanced) > Form success redirect URL.
2021-12-20 20:44:08 +00:00
Harvey Tindall
d8b1f03ac4
form: substitute Jellyfin on success messages
...
fixes #177
2021-12-20 20:17:18 +00:00
Harvey Tindall
d81679fbae
print error if logging fails
2021-12-20 19:05:18 +00:00