Harvey Tindall
2be7baea4a
trim base css of most redundant classes
2023-12-24 18:55:58 +00:00
Harvey Tindall
20560332ed
invites: improve inv dropdown wrapping
2023-12-24 14:53:37 +00:00
Harvey Tindall
202ee0977e
invites: improve inv dropdown layout
2023-12-24 14:34:04 +00:00
Harvey Tindall
6e205760c3
ui: more invites page improvements/cleanup, fix tooltips on mobile
2023-12-23 17:45:18 +00:00
Harvey Tindall
82032b98a8
invites: improve invite wrapping on mobile
2023-12-23 15:36:28 +00:00
Harvey Tindall
de3c06129d
activity: pseudo links work on refresh
2023-10-22 15:02:03 +01:00
Harvey Tindall
0238c6778c
activity: pseudo links work on click
2023-10-22 14:02:22 +01:00
Harvey Tindall
dae0ad1de5
invites: "User Label" 2/2
...
applies label to users. Also hide the user label element on the invite
dropdown when not set.
2023-09-08 14:37:07 +01:00
Harvey Tindall
7c76b58ab8
invites: add "User Label" 1/2
...
Adds a "User Label" invite field, which is a label applied to users
created with it. This commit contains everything apart from the code to
apply it on account creation.
2023-09-08 14:29:25 +01:00
Harvey Tindall
3e52beef14
update node deps, fix resulting issues
2023-06-12 18:44:10 +01:00
James Finch
93b1e9c371
Fixed dark text on dark mode.
2022-01-28 22:33:30 +00:00
Harvey Tindall
2f50ab36fd
pad table and some other stuff
2022-01-04 20:09:51 +00:00
Harvey Tindall
7e0e0b0520
fix form layout
2021-12-31 18:52:03 +00:00
Harvey Tindall
cf91ee62ed
change invite color in light mode
2021-12-31 16:07:21 +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
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
ce8cdced4d
Discord: Fix GetUsers, add invite messages
...
The "Send to" box on the invite tab now accepts username#discriminator,
and a search icon has been added which opens a search window similar to
the one on the accounts tab. DiscordDaemon.GetUsers was also very broken
and wouldn't work with full username#discriminator, that's been fixed.
2021-05-23 16:16:31 +01:00
Harvey Tindall
168b217553
Discord: fix user links
2021-05-23 14:32:35 +01:00
Harvey Tindall
b91302ddf8
Invite: fix "none yet" message on users created
2021-05-07 22:41:51 +01:00
Harvey Tindall
c0f316d049
add preview to Announcements
2021-05-03 18:35:27 +01:00
Harvey Tindall
22a0d8925d
Remove unused typescript, update config readme
2021-05-02 13:23:33 +01:00
Harvey Tindall
55e21f8be3
accounts: add user enable/disable & emails
2021-04-12 21:28:36 +01:00
Harvey Tindall
3dc0df0ac2
fix user expiry when only month field set
2021-04-09 13:35:46 +01:00
Harvey Tindall
d701c5f27d
add months field to invites & expiry
2021-04-08 20:43:01 +01:00
Harvey Tindall
66b7df7cde
use selected language for time format, add manual selector
...
You can now choose between 12h and 24h time in the top left language
menu. Your preference is stored by the browser for future visits.
2021-04-07 15:09:44 +01:00
Harvey Tindall
3f8414c70a
use unix timestamp for inv created & usedBy
...
usedBy is still stored as a string in invites.json to cope with existing
invites with times stored formatted. knz/strtime requires cgo for
strptime, so it has been replaced with the native itchyny/timefmt-go.
2021-04-06 21:25:44 +01:00
Harvey Tindall
1ec5d2ca3f
add disabled badge, extend expiry button to accounts
2021-02-28 17:52:24 +00:00
Harvey Tindall
1e9d184508
implement user expiry functionality
...
All works now, but i'll add a field on the accounts tab for users with
an expiry, as well as a 'disabled' badge.
2021-02-28 15:41:06 +00:00
Harvey Tindall
2934832a98
implement frontend for user expiry/duration
...
this will add an optional validity period to users, where their account
will be disabled (or deleted) a specified amount of time after they
created it.
2021-02-28 00:44:28 +00:00
Harvey Tindall
91d3d2596e
fix broken invite links
2021-02-11 13:49:06 +00:00
Harvey Tindall
192c9a4764
account for lack of trailing slash in url
2021-02-09 20:45:35 +00:00
Harvey Tindall
2c8be42bbc
fix invite links with URL base
2021-02-05 13:33:34 +00:00
Harvey Tindall
6691ae27f4
fix navigation with URL base set
2021-02-05 13:31:56 +00:00
Harvey Tindall
dd96d71280
Add optional label for invites
...
Requested in #38 .
2021-01-24 15:55:45 +00:00
Harvey Tindall
b66654787c
make whole invite clickable to expand
2021-01-21 17:59:16 +00:00
Harvey Tindall
72a7759ca5
Fix invite link when non-default language selected
2021-01-17 12:36:16 +00:00
Harvey Tindall
422f13202b
Use lang file in typescript
2021-01-15 14:43:31 +00:00
Harvey Tindall
eb370d64df
Merge a17t-redesign, kinda ts-ify setup.js
...
the web ui has been redesigned with the a17t toolkit, which imo looks a
lot better than bootstrap. This also brought a complete rework of the
web code, which now makes a lot more sense hopefully. the setup page is
still stuck with bootstrap, its not much of a priority but i'll rewrite
it eventually.
2021-01-05 18:16:23 +00:00
Harvey Tindall
301f502052
Rework typescript to use modules
...
web UI now uses modules, and relies less on bodge to make things work.
Also fixes an issue where invites where "failed to send to xx" appeared
in invite form.
2020-10-22 17:50:40 +01:00