1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-28 20:10:11 +00:00
Commit Graph

1683 Commits

Author SHA1 Message Date
bd8af153a9
disable generate button if duration is zero 2020-08-16 14:05:16 +01:00
fd766e7b1a
use app identifier instead of ctx
changing this because ctx is commonly used with the context package.
2020-08-16 13:36:54 +01:00
fffb3471d6
Merge branch 'main' of github.com:hrfee/jfa-go into main 2020-08-15 22:10:28 +01:00
19bd31d968
attempt at using a config struct instead of the ini library
Added script to convert config-base.json into a go struct, so that
access to config values and metadata could be unified and simpler. It
probably won't see any actual use though as mapping the ini into it is
painful.
2020-08-15 22:07:48 +01:00
39bf3ad7f1
Safe shutdown 2020-08-05 16:58:24 +01:00
ea5c2b3886
Delete nohup.out 2020-08-04 23:50:33 +01:00
8a8fe65192
Add windows build support from jf-accounts 2020-08-04 18:24:11 +01:00
5329f02768
add docker to readme 2020-08-03 20:10:45 +01:00
7b23545197
Added alpine and debian dockerfiles 2020-08-03 19:45:10 +01:00
54af15cc5a
Added makefile
Alternative to goreleaser.
2020-08-03 18:00:54 +01:00
8ed1662a2f
add pprof middleware 2020-08-03 00:13:09 +01:00
23dbcf33ae
reinitialize validator on settings change 2020-08-03 00:12:45 +01:00
25348a9b1a
ignore binary 2020-08-03 00:11:06 +01:00
3970cbef3f remove smtp notice 2020-08-02 17:25:33 +01:00
a38d56f362 add smtp email 2020-08-02 17:20:50 +01:00
f0be006e16 use goroutines for (most) emails
invite emails have been left alone so that email success message is
shown on web ui
2020-08-02 17:17:29 +01:00
699489e435 fixed static route for invites 2020-08-02 17:16:43 +01:00
e576616530 convert text to path to fix rendering on mobile 2020-08-02 13:16:43 +01:00
05c7b7156b Add notice about smtp 2020-08-02 13:13:33 +01:00
c72e1a1c63 Images, fixed "data" path 2020-08-02 02:11:50 +01:00
94b8495f02 Fixed goreleaser config 2020-08-02 00:36:27 +01:00
f508b65fa0 Added setup, self restarts 2020-08-02 00:05:35 +01:00
62621dabb9 CLI flags, start setting up goreleaser, add build scripts
Copied and fixed the build scripts from jf-accounts, added them to the
.goreleaser.yml. Also:
data directory now stored in user's config folder
Handle timeouts in jfapi
Maybe more i forgot about.
2020-08-01 21:20:02 +01:00
c4d4b395d5 Password resets 2020-08-01 16:31:08 +01:00
4e16f6fd48 make checkInvite check only one invite, invite daemon
checkInvite no longer loops over all invites and checks for expiry, that
functionality has moved to checkInvites. Couple more rogue print
statements removed aswell.
2020-08-01 15:22:30 +01:00
dba20bd3ea Add auth & gin logging, fixed dummy logger 2020-08-01 14:08:55 +01:00
99a643ce9c Finished logging api 2020-08-01 12:35:28 +01:00
326b274329 Settings functional, start adding logging
Modifying settings also formats it nicely, as a bonus.
Also we using shortuuid instead of normal uuidv4 now because its the same
length as what I used in the python version.
2020-07-31 22:07:09 +01:00
024c0b56aa Display settings with hacky solution to retain order
Python utility included to convert config-base.json into a new version
which includes lists that define the order settings should be displayed.
admin.js edited to recognize this.
2020-07-31 16:09:30 +01:00
ef4f2503c9 DeleteInvite, user defaults, and email list modification 2020-07-31 13:59:25 +01:00
e5ebcef684 Partial check for invite page, 404 handling
The invite route no longer calls checkInvite, instead just chekcing the
invite exists. This speeds up page loading. the 404 and invalidCode
pages are now loaded when necessary.
2020-07-31 13:03:36 +01:00
961b9afa75 Functioning user creation, notifications,
Fixed password validation for new users, add invite route, couple other
fixes.
2020-07-31 12:48:37 +01:00
d8fb6e5613 first 2020-07-29 22:11:28 +01:00