1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-11-04 17:30:11 +00:00
Commit Graph

63 Commits

Author SHA1 Message Date
e8666d5bf2
ui: general adjustments 2023-12-22 21:40:56 +00:00
2d83718f81
activity: sort, load more, compromises for client-side search
my initial intent before starting search was for it to be server-sided,
considering this activity log could rack up 100s or 1000s of entries,
and then I forgot and did it client-sided.

this commit adds a feature to load more results when scrolled to the
bottom, and when a search returns few or no results (this is limited, so
it wont loop infinitely). Also finally got rid of the useless left
column, since my ideas didn't match my implementation.

also, sorting is only by date, can't be bothered with anything else.
2023-10-22 00:31:30 +01:00
9956bbd974
admin: add setting to hide background on login
for #288.
2023-10-02 10:34:14 +01:00
46f1bc20c8
css: fix font error
comment wasn't ended, so some font weights/styles weren't loading and
esbuild was complaining.
2023-06-26 20:29:59 +01:00
65c2722a20
font: switch to hanken grotesk
thought it looked quite nice License included in about section.
2023-06-23 13:45:04 +01:00
4f298bbc8c
userpage: add "back to admin" button 2023-06-22 09:41:41 +01:00
7b9b0d8a84
userpage: implement login message card
Shares code with custom emails, so most related functions have had a
%s/Email/Message/g. Press the edit button on the user page setting to
add a message.
2023-06-20 21:43:25 +01:00
07564bbde3
captcha: recaptcha respects dark mode
also removed the ugly border around it.
2023-06-15 17:35:51 +01:00
6f452c62de
accounts: fix search bugs, adjust top bar layout
search bar is now massive with a small filter button next to it.
Action buttons are on their own row.
Also fixed dealing with going from a search with filters in to an empty
one, search() is now called for any change at all to the input.
2023-06-14 17:15:24 +01:00
27ef7ce560
css: revert global change to absolute position for dropdowns
changing dropdowns to always have absolute positioning (in c187b94)
caused issues with all other dropdowns, where neighbors were positioned
below and hidden. adding the "over-top" class to a dropdown now gives
it absolute positioning.
2023-02-05 00:49:13 +00:00
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
04329bf171
fix issue with light mode colors 2022-12-29 17:32:59 +00:00
Harvey Tindall
e814af1af5
Merge pull request #191 from LubricantJam/main
Further Mobile Optimisations
2022-01-30 16:27:33 +00:00
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
KeyboardDabbler
bfcad6c5f2 pointer on modal close 2022-01-30 01:49:44 +13:00
KeyboardDabbler
7daf2162ef checkbox, edit email and captcha refresh 2022-01-30 00:33:25 +13:00
James Finch
dec8d75083 Optimised modals for mobile. 2022-01-28 22:34:34 +00:00
James Finch
f486f8de1d Removed deprecated code. 2022-01-28 22:33:39 +00:00
James Finch
82c8ef1e4b Added better mobile support for sign-up form. 2022-01-27 01:58:24 +00:00
4deb45df3c
fix code text color in dark mode 2022-01-26 22:25:33 +00:00
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
dd5eecf9f9
fix textareas 2022-01-01 02:17:24 +00:00
7e0e0b0520
fix form layout 2021-12-31 18:52:03 +00:00
8bee09cd01
fix settings button highlight 2021-12-31 18:30:15 +00:00
4eb7afead6
fix banner in about 2021-12-31 17:43:09 +00:00
d1b5b74060
make most modals white 2021-12-31 17:28:08 +00:00
277690ef79
allow for defining custom dark: variants, ignore querySelector, shrink margins 2021-12-31 16:01:17 +00:00
f7f3530a33
fix crash page 2021-12-31 15:09:33 +00:00
2d3a5c739c
fix about page 2021-12-31 02:22:23 +00:00
508168b49e
fix more oddities 2021-12-31 01:51:42 +00:00
62be8adc65
remove predefined m- and p- spacing 2021-12-30 23:58:20 +00:00
acc8892f26
switch to DOM based variant adding 2021-12-30 23:52:53 +00:00
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
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
535a100314
settings: discord and more links in "About" 2021-12-24 19:22:35 +00:00
3e55cd1e31
accounts: add templates for announcements
you can now save announcements as templates, and then use them later by
hovering over the "Announce" button, as well as delete them.
2021-07-10 16:43:27 +01:00
f0f4e8118e
Generate crash report txt and webpage
The last 100 lines of logs are now cached, and when a crash occurs, they
are saved to a file in the temp directory ("/tmp" on *nix), and pretty
HTML version is also created and opened in the browser.
* Currently only handles panics, will be included in more places soon
* Copy button and button to generate a GH issue will be added
2021-06-11 21:56:53 +01:00
1f9af8df89
Discord: Add option to provide server invite
When enabled, a temporary one-use invite is created and shown to the
user on the account creation form.
2021-05-23 19:50:03 +01:00
e98c9b46f1
Accounts: no wrapping for contact dropdown 2021-05-22 23:18:43 +01:00
b3ce7acfcb
Accounts: Always inline icons, only one settings cog
Admin chip, email edit bot and contact method cog icon are now always inline.
Only one cog icon is shown now.
2021-05-22 23:05:53 +01:00
9fac79b1f0
Discord: Add users via accounts tab
Doesn't require a PIN like Telegram, as we can access a list of guild
users with the GuildMembers intent set. This has to be enabled under
Bot > Priviliged Gateway intents on the developer portal.
2021-05-22 21:42:15 +01:00
524941da0c
fix heading size with sm 2021-05-21 21:10:32 +01:00
71554e0c85
Telegram: Change user's contact method in accounts
By clicking the cog next to the telegram username, one can select
whether to contact through telegram or email.
2021-05-08 15:53:42 +01:00
2d93b3b7ee
Telegram: Allow admin to add telegram contact
Works in the same way as on the form, but can now be done in the
accounts tab.
2021-05-07 18:20:35 +01:00
99875b9176
almost complete telegram user verification
When signing up, the user is given a pin code which they send to a
telegram bot. This provides user verification, but more importantly
allows the bot to message the user, as the Telegram API requires the
user to interact with the bot before it can do the opposite.

The bot should recognize the correct language, but a /lang command is
also provided to change it.

The verification process is pretty much functional but ui is still
broken, and it isn't properly integrated yet.
2021-05-07 01:08:12 +01:00
9370913ace
add password reset link option
When enabled (in Settings > Password Resets), a magic link will be sent
instead of a PIN when the user tries reset their password. By doing
this the user doesn't have to keep the Jellyfin tab open to enter the
code.
2021-03-30 22:41:28 +01:00
e351c35cc8
use banner class on banner in about 2021-03-21 00:59:51 +00:00
0d3f96c3a7
fix button height on accounts tab & expiry types on mobile 2021-03-20 22:16:24 +00:00
cfa7947020
wrap items in accounts header
fixes mobile layout.
2021-03-20 19:23:54 +00:00
b91de3f319
update images and readme 2021-03-20 19:04:26 +00:00