519a5615cc
Accounts: Fix email check on dropdown
2021-05-23 14:35:01 +01:00
168b217553
Discord: fix user links
2021-05-23 14:32:35 +01:00
7d698d63e3
Discord: split discord search into own module
...
Will also be used for "Send to" on the invite page.
2021-05-23 14:22:18 +01:00
035dbde819
last image
2021-05-23 02:11:48 +01:00
c373d8b2d6
add final oauth tab image
2021-05-23 02:08:02 +01:00
8698c3c6a4
add oauth2 section to bot instructions
2021-05-23 02:03:55 +01:00
0edd2ba68b
add settings image for bot setup
2021-05-23 01:51:59 +01:00
b91f0b5a18
Discord: add images for bot creation instructions
2021-05-23 01:38:40 +01:00
24fa841c0d
Discord: Wait for non-nil pointer to bot data
...
While testing others things, I had quite a few nil pointer dereference
errors from accessing bot data right after initializing. A for loop now
waits until the first of the pointers is non-nil, which should
hopefully avoid crashes.
2021-05-23 01:09:03 +01:00
44558b8109
Discord: Remove extra newlines around links
...
Since links are converted into embeds, links put on their own line often
lead to extra newlines that looks pretty weird. They should now be
stripped.
2021-05-23 01:05:53 +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
591e3c5ca1
Discord: embed images
...
![alt](image link) is now converted to an image embed.
2021-05-22 15:32:51 +01:00
35d407afef
Discord: remove @ from username
2021-05-22 15:31:25 +01:00
a6447165b7
add email notify enable/disable; remove (de)hyphening
...
hyphen/dehyphen conflicted with new migration for email contact
preference, and it's been a while since this has been an issue so i've
just commented it out for now.
2021-05-21 22:46:46 +01:00
3bf722c5fe
Discord: send links as embeds
...
Kind of janky but works. This kind of messes up the layout if you write
links in-line.
2021-05-21 21:59:50 +01:00
f8f5f35cc1
PIN verification, notifications, multiple notif providers
...
Discord, Email & Telegram can be enabled, although email is always
enabled right now (will fix). Also apparently markdown hyperlinks don't
work in Discord, eventually will implement something to convert them to
embeds.
2021-05-21 21:35:25 +01:00
524941da0c
fix heading size with sm
2021-05-21 21:10:32 +01:00
22bba922f9
Discord: Add !lang command
2021-05-18 18:41:42 +01:00
d928df7ab2
Discord: Start bot, add !start and pin validity check
...
The bot should be created by the admin and added to a discord server
mutual to the intended new user(s). On !start in the server,
communication is moved to DMs. Currently !start works, and validity of a
given PIN is checked although nothing it done with this yet.
2021-05-17 23:42:33 +01:00
4b11bbe21f
remove leaked telegram token
...
token has been revoked, but it doesn't look like it was used anyway.
2021-05-17 11:43:58 +01:00
18bcd55972
remove debug println
2021-05-17 01:32:22 +01:00
057f306ed9
hide/ignore ssl_cert when on windows
...
x509.SystemCertPool is unavailable on windows, so any value is ignored
and the setting is hidden on the web UI.
2021-05-17 01:16:59 +01:00
76bbb3f147
consistent naming for tray builds
2021-05-16 23:02:09 +01:00
0f3ad8bb69
fix generate_ini for multiline descriptions
2021-05-16 23:00:37 +01:00
1d47b9074f
change notray/tray naming, add deb/rpm/apk
...
Since Tray support requires dependencies, it won't be the default for
releases. deb/rpm/apk support may be broken still.
2021-05-16 22:44:04 +01:00
5167fde080
change tar.gz to zip in drone
2021-05-16 21:12:18 +01:00
a62648ee68
fix cross compilation in goreleaser/drone
...
Necessary for go-autostart to work on windows. Tray will be enabled by
default for x86_64 windows/linux binaries.
2021-05-16 21:01:31 +01:00
5dee414596
add "autostart on login" option to tray
2021-05-16 17:40:03 +01:00
8cf9b1f905
add basic tray functionality
...
enable with `make TRAY=on ...`. Cross compilation apparently should work
from linux to linux & windows.
2021-05-16 16:23:28 +01:00
6bf1920160
merge dependabot bump
2021-05-16 15:00:30 +01:00
33f8070e57
cleanup; fix stripping with DEBUG=on
2021-05-16 15:00:13 +01:00
Harvey Tindall
4d2a018032
Merge pull request #98 from hrfee/dependabot/npm_and_yarn/lodash-4.17.21
...
Bump lodash from 4.17.20 to 4.17.21
2021-05-14 14:48:41 +01:00
dependabot[bot]
ca7fb540ee
Bump lodash from 4.17.20 to 4.17.21
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 21:24:34 +00:00
ClankJake
beb0712ce9
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (101 of 101 strings)
Translation: jfa-go/Setup
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/setup/pt_BR/
2021-05-09 20:59:31 +02:00
woosade
a081b14794
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (7 of 7 strings)
Translation: jfa-go/Password Reset Links
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/password-reset-links/es/
2021-05-09 20:59:30 +02:00
woosade
e416acf6bd
translation from Weblate (Spanish)
...
Currently translated at 100.0% (152 of 152 strings)
Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/es/
2021-05-09 20:59:30 +02:00
woosade
bf94f76509
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (101 of 101 strings)
Translation: jfa-go/Setup
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/setup/es/
2021-05-09 20:59:30 +02:00
Richard de Boer
ac239a309c
translation from Weblate (Dutch)
...
Currently translated at 100.0% (152 of 152 strings)
Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/nl/
2021-05-09 20:59:30 +02:00
Richard de Boer
0f12586166
Translated using Weblate (Dutch)
...
Currently translated at 100.0% (101 of 101 strings)
Translation: jfa-go/Setup
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/setup/nl/
2021-05-09 20:59:30 +02:00
Cornichon420
b1b50ce561
Translated using Weblate (French)
...
Currently translated at 100.0% (101 of 101 strings)
Translation: jfa-go/Setup
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/setup/fr/
2021-05-09 20:59:30 +02:00
Cornichon420
8e2bf48ab4
Translated using Weblate (French)
...
Currently translated at 100.0% (13 of 13 strings)
Translation: jfa-go/Common Strings
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/common-strings/fr/
2021-05-09 20:59:30 +02:00
Cornichon420
6ec5022a0d
translation from Weblate (French)
...
Currently translated at 100.0% (28 of 28 strings)
Translation: jfa-go/Account Creation Form
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/form/fr/
2021-05-09 20:59:30 +02:00
Cornichon420
ef97e0ac76
translation from Weblate (French)
...
Currently translated at 100.0% (152 of 152 strings)
Translation: jfa-go/Admin Page
Translate-URL: https://weblate.hrfee.dev/projects/jfa-go/admin/fr/
2021-05-09 20:59:30 +02:00
30736a055d
add example bot settings for wiki
2021-05-08 16:37:40 +01:00
d0905a29be
add example bot creation for wiki
2021-05-08 16:29:16 +01:00
Harvey Tindall
fe5cf69b7a
Merge Telegram support
...
For #94 .
2021-05-08 16:15:41 +01:00
c560ec0f9f
Merge branch 'main' into telegram
2021-05-08 16:08:20 +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