Commit Graph

35 Commits

Author SHA1 Message Date
Peter H0ffmann
ad04d302af chore: reverse the coupling of module log and config (#1606)
All checks were successful
continuous-integration/drone/push Build is passing
This way the config module can already use the log module with the same result (default logging to StdOut with Level INFO, same output as before) but ENV variables can already change the logging of config file related log output). It is now possible to dump as a cronjob without having to filter the default log about the used config file.

Also:
- all logging modules are now configurable when initializing which makes testing easier
- viper dependency removed from logging
- log correct settings when configured error level is invalid
- deprecation of value "false" for log.standard and log.events (already not mentioned in https://vikunja.io/docs/config-options/)

Co-authored-by: Berengar W. Lehr <Berengar.Lehr@uni-jena.de>
Reviewed-on: vikunja/api#1606
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Peter H0ffmann <hoffmannp@noreply.kolaente.de>
Co-committed-by: Peter H0ffmann <hoffmannp@noreply.kolaente.de>
2023-10-03 09:28:28 +00:00
e518fb1191
chore: remove year from copyright headers
Some checks failed
continuous-integration/drone/push Build is failing
Resolves vikunja/api#1483
2023-09-01 08:32:28 +02:00
9590b82c11 feat: add logging options to mailer settings 2023-03-25 12:28:56 +00:00
Rein
4b5e65d4c2
fix(mailer): forcessl config (#60)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Rein-R3 <rein@reinsan.top>
Reviewed-At: https://github.com/go-vikunja/api/pull/60
2023-01-09 12:39:43 +01:00
f47faf577a fix(deps): update module github.com/wneessen/go-mail to v0.3.5 (#1325)
Some checks failed
continuous-integration/drone/push Build is failing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1325
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-11-21 11:56:19 +00:00
25609db567 fix(mail): pass mail server timeout (#1253)
Some checks failed
continuous-integration/drone/push Build is failing
Fix error log for mailserver closing logic, as default timeout of 15 seconds of mail client package used triggers before our logic leading to error on close.

Resolves https://github.com/go-vikunja/api/issues/48

Reviewed-on: vikunja/api#1253
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Luca Bernstein <luca@lucabernstein.com>
Co-committed-by: Luca Bernstein <luca@lucabernstein.com>
2022-09-26 16:09:39 +00:00
c19479757a
fix: properly log extra message
Some checks failed
continuous-integration/drone/push Build is failing
2022-09-01 14:19:00 +02:00
d47edac376
feat(mail): don't try to authenticate when no username and password was provided
Some checks failed
continuous-integration/drone/push Build is failing
2022-08-03 13:41:42 +02:00
b1892eaf63
fix(mail): set server name in tls config so that sending mail works with skipTlsVerify set to false
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-13 19:57:44 +02:00
c906fc2b07
fix(mail): don't try to authenticate against the mail server when no credentials are provided
All checks were successful
continuous-integration/drone/push Build is passing
Related to https://github.com/go-vikunja/api/issues/34
2022-07-12 15:46:28 +02:00
5743a4afe5
fix: properly set tls config for mailer
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-11 16:10:28 +02:00
73c4c399e5
feat: use embed fs directly to embed the logo in mails
Some checks failed
continuous-integration/drone/push Build is failing
2022-07-07 15:54:38 +02:00
f30a9d1038 chore(docs): add new mailer option to docs 2022-06-30 14:21:17 +00:00
f4f8450d16 feat: embed the vikunja logo as inline attachment 2022-06-30 14:21:17 +00:00
30e0e98f77 feat: migrate away from gomail 2022-06-30 14:21:17 +00:00
f237afd2ac
Fix panic on invalid smtp config
Some checks failed
continuous-integration/drone/push Build is failing
2021-08-02 00:05:13 +02:00
1571dfa825 Task mentions (#926)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#926
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-07-29 15:42:49 +00:00
015ca310e9 Add notifications package for easy sending of notifications (#779)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#779
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-02-07 21:05:09 +00:00
c4a71016b8
Update copyright year
Some checks failed
continuous-integration/drone/push Build is failing
2021-02-02 20:19:13 +01:00
9baf6d39bd
Change license to AGPLv3
Some checks failed
continuous-integration/drone/push Build is failing
2020-12-23 16:41:52 +01:00
699d3d6060 Add Golangci Lint (#676)
All checks were successful
continuous-integration/drone/push Build is passing
Increase golangci timeout

Fix installing golangci-lint in ci

Remove mage targets replaced by golangci

Run golint in ci

Add goheader linter

Enable & fix more linters

Fix lint issues

Add mage target to automagically fix issues found by golangci

golangci-lint run --fix

Add golangci config

Add golangci mage target

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#676
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-10-11 20:10:03 +00:00
092aae3260
Add config option to force ssl connections to connect with the mailer
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-14 17:30:39 +02:00
c685250c96 Add test mail command (#571)
Some checks failed
continuous-integration/drone/push Build is failing
Add test mail command

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#571
2020-05-29 13:10:06 +00:00
b8d7c97eb7
Add gosec static analysis
Some checks failed
continuous-integration/drone/push Build is failing
2020-04-13 22:30:09 +02:00
1f99238019
Update copyright header
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-07 17:27:45 +01:00
a0c5e4e985 Update copyright year (#118)
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-09 17:33:22 +00:00
e890001ee1 Consistent copyright text in file headers (#112)
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-04 19:39:56 +00:00
48826a6ed7 Logger refactoring (#90)
All checks were successful
continuous-integration/drone/push Build is passing
2019-07-20 18:12:10 +00:00
50ca8bd28e Statically compile templates in the final binary (#84)
Some checks failed
continuous-integration/drone/push Build is failing
2019-07-11 19:10:42 +00:00
1f1a079fd3 Better config handling with constants (#83)
All checks were successful
continuous-integration/drone/push Build is passing
2019-07-06 20:12:26 +00:00
cbc5995ad3 Various user fixes (#38)
All checks were successful
the build was successful
2018-12-19 21:05:25 +00:00
3f44e3b83e Change License to GPLv3 (#26)
All checks were successful
the build was successful
2018-11-26 20:17:33 +00:00
1f41db9239
Hotfix: fix duplicate header in html mails with templates
Some checks failed
the build failed
2018-11-02 11:23:41 +01:00
4f8a0f8739 Fixed no root path for templates and static assets (#12)
All checks were successful
the build was successful
2018-11-02 10:01:28 +00:00
301a4eedda New structure (#7)
All checks were successful
the build was successful
2018-10-31 12:42:38 +00:00