Harvey Tindall
dc3f1661e8
accounts: fix filter button appearing over lang dropdown
1 year ago
Harvey Tindall
463fe97b29
Merge Referrals
...
Add Referrals
1 year ago
Harvey Tindall
b08527bce2
userpage: cleanup referral code
...
moved to its own class, like the expiry card.
1 year ago
Harvey Tindall
41c092f578
referrals: show referrer username on form
1 year ago
Harvey Tindall
311ecb7030
userpage: generate & display referral links
...
shown on a new card, with an explanation, the number of remaining uses,
and expiry of the current referral.
1 year ago
Harvey Tindall
4a28ea7003
daemon: fix bug wiping out contact details
...
records were being left alonge if "... err != nil", instead of "... err
== nil". Sorry to anyone affected.
1 year ago
Harvey Tindall
0a82f889f3
daemon: fix bug wiping out contact details
...
records were being left alone if "status == 200 && err != nil", instead
of "... && err == nil". Sorry.
1 year ago
Harvey Tindall
00e6da520d
userpage: cope with disabled contact methods
1 year ago
Harvey Tindall
0b830e9b5e
referrals: enable for new users from profile
1 year ago
Harvey Tindall
468b2f3284
accounts: descriptive error when no template found
1 year ago
Harvey Tindall
db21131185
accounts: allow disabling of referrals for users
1 year ago
Harvey Tindall
7d9555fdf7
accounts: add referrals to search queries
1 year ago
Harvey Tindall
729552a827
referrals: Show enabled status on account list
1 year ago
Harvey Tindall
cdc8f9af4b
referrals: unlink/disable referrals for profile
1 year ago
Harvey Tindall
9e5034ebab
referrals: enable referral for users & profiles
...
Enabling for individual users works, as does adding a template to a
profile. Removing/Disabling for both needs to be completed.
1 year ago
Harvey Tindall
c2f835c897
referrals: show data on enable referral for user modal
...
profiles and invites are properly shown.
1 year ago
Harvey Tindall
9c2f27bcdb
referrals: 1/2 generation routes, display route, partial frontend
...
route for generation/enabling of referral for user(s) done? the frontend
is mostly done, but functionality is not there yet. Route for finding
and displaying referral to user is done. Also the config option for
referral is there, in user page settings.
1 year ago
Harvey Tindall
423fc4ac80
accounts: non-case sensitive search
1 year ago
Harvey Tindall
e1292a0780
build: dont install swag if already present
1 year ago
Harvey Tindall
f72960635d
build: include debug symbols & sourcemaps in unstable builds
...
should help with debugging.
1 year ago
Harvey Tindall
b5c80e9d27
config: make sure recaptcha is hidden when disabled
1 year ago
Harvey Tindall
3fa4b01115
setup: add user page
...
also sprinkled mentions of it throughout other relevant pages.
1 year ago
Harvey Tindall
65f402fd35
admin: hide my account button when disabled
1 year ago
Harvey Tindall
46f1bc20c8
css: fix font error
...
comment wasn't ended, so some font weights/styles weren't loading and
esbuild was complaining.
1 year ago
Harvey Tindall
a13a72c626
admin: fix logout when url base is used
...
two tries are made, with and without the url base.
1 year ago
Harvey Tindall
5a80145607
css: add notification animation
...
simple slide animation, plus a little scale effect when a duplicate
notification gets sent to make the notification more obvious.
1 year ago
Harvey Tindall
baf5e6a593
accounts: add dropdown arrow on "Announce" button
1 year ago
Harvey Tindall
850bb8f44e
accounts: fix modify user card layout
1 year ago
Harvey Tindall
b17d8424e9
profiles: fix application
...
moving to a DB meant empty slices in the Configuration & Policy structs
were being stored as null, and striking a nerve with Jellyfin.
Mediabrowser library change fixed that by de-nulling them itself, and a
new bool field called "Homescreen" is now used to decide if a profile
has a homescreen layout stored or not. This field is hopefully correctly
filled in during migration.
1 year ago
Harvey Tindall
d2253ff069
accounts: fix filter card height
...
string filter cards were too tall, so bool cards now expand to the same
height. y-margins also removed it made the bottom get covered.
1 year ago
Harvey Tindall
0946b3a1da
Merge Database Migration
...
Database Migration
1 year ago
Harvey Tindall
e1c215b72e
db: remove remaining storage.loadX calls
1 year ago
Harvey Tindall
ea0598e507
db: move legacy data loading out of main/config
...
put it in loadLegacyData in migrations, which is only called by
migrateToBadger.
1 year ago
Harvey Tindall
28c3d9d2e4
db: use db key to store migration status
...
the planned config key "migrated_to_db" is not used, instead it is
stored in the database since that's a bit cleaner.
1 year ago
Harvey Tindall
e9f9d9dc98
db: mark migration as completed when it's done
...
migrated_to_db config key is used. Might also add an extra check to see
if anything is in the DB.
1 year ago
Harvey Tindall
bb75bfd15d
db: deprecate customEmails/userPage
1 year ago
Harvey Tindall
9c84fb5887
profiles: fully deprecate old system
...
ombi_template, configuration, displayprefs, and policy still stuck
around for the admin new user feature. They are now sourced from the
default profile, and eventually a feature to select the source (or no
source) will be added.
this was still used when creating a new user as admin for some reason.
template is now sourced from the default profile.
1 year ago
Harvey Tindall
3bb9272f06
db: mark profile store as deprecated
1 year ago
Harvey Tindall
a735e4ff29
db: migrate user profiles
1 year ago
Harvey Tindall
63948a6de0
db: migrate invites, user expiry
...
some fixes to stuff in there too, probably
1 year ago
Harvey Tindall
a470d77938
db: fix contact method cleaning daemons
...
don't think there's a way to negate a query with badgerhold, so i can't
do "delete(not (where JellyfinID in <ExistingUsers>))", and the old
method of rebuilding the store is no longer possible.
1 year ago
Harvey Tindall
833be688ac
storage: start db migration (badger(hold))
...
migrating to badger, with the badgerhold frontend. So far, done:
* Announcements (small, for a quick test)
* Discord/Telegram/Matrix/Email
most interaction with badgerhold is done through the standard
Get<x>/Get<x>Key/Set<x>Key/Delete<x>Key. UserExists functions have been
added for email and matrix, and those and the original ones now use a
query against the database rather than sifting through every record.
I've tagged these searched fields as "index" for badgerhold, although this
definitely isn't used yet, and i'm not entirely sure if it'll be useful.
migrateToBadger is now in migrations.go, and a temporary config key
"migrated_to_badger" has been added, although it isn't being used yet,
migration is just running every time during development.
1 year ago
Harvey Tindall
fc7ae0ec4e
userpage: respect 12h/24h choice
1 year ago
Harvey Tindall
753f5fc517
compile_mjml: use multiprocessing instead of thread
1 year ago
Harvey Tindall
f1b7ef303d
Makefile: GOESBUIILD changes
...
doesn't ever install it if it's already present. Also moved it to
optional dependencies in package.json.
1 year ago
Harvey Tindall
e7d4b5051b
build: cleanup reprepro incoming after processing
1 year ago
Harvey Tindall
b7b3aa1eb7
build: fix goreleaser, include optional builder name
...
builder name shows up in about section again, as does the build time.
1 year ago
Harvey Tindall
f083d6b53f
updater: include build date, check against updates
...
build time is included in the binary, so the buildrone release date is
compared to it when deciding if something is an update or not.
1 year ago
Harvey Tindall
7caa5c5d57
lang: fix the usual on slovenian
...
someone directly translated "English (US)" again. Why?
1 year ago
Harvey Tindall
65c2722a20
font: switch to hanken grotesk
...
thought it looked quite nice License included in about section.
1 year ago