Commit Graph

47 Commits

Author SHA1 Message Date
Ferdinand Mütsch b9ea6530f9 fix: serve static file from local fs when on dev (fix #176) 2021-04-16 12:24:19 +02:00
Ferdinand Mütsch f8e1453754 fix: failing auto migration of users table (resolve #171) 2021-04-13 23:23:57 +02:00
Ferdinand Mütsch 129e208169 fix: very basic sentry error logging 2021-04-13 00:02:55 +02:00
Ferdinand Mütsch 915436822b fix: make mail provider configs non-nullable 2021-04-12 22:57:52 +02:00
Steven Tang 6256c8e10a
ref: embed files, bump to go 1.16 (#167)
* ref: embed portion of files
* fix: readd pkger
* ref: embed version.txt
* fix: wrong mail template import path
* refactor: get rid of sql-migrate
refactor: get rid of pkger in favor of go embed (resolve #164)
* chore: remove unused var [ci-skip]

Co-authored-by: Ferdinand Mütsch <ferdinand@muetsch.io>
2021-04-11 10:42:43 +00:00
Ferdinand Mütsch 0df0168584 Merge branch '133-password-resets' 2021-04-10 00:34:20 +02:00
Ferdinand Mütsch ae97095688 chore: exclude health endpoint from sentry tracing 2021-04-10 00:10:16 +02:00
Ferdinand Mütsch 4706809170 feat: smtp mail provider implementation 2021-04-10 00:07:13 +02:00
Ferdinand Mütsch 6ad33e3c3b feat: password resets (resolve #133) 2021-04-05 22:57:57 +02:00
Ferdinand Mütsch e6e134678a wip: password resets 2021-04-05 16:25:13 +02:00
Ferdinand Mütsch 2b57da224c chore: write authenticated user to logs and sentry 2021-03-26 13:10:10 +01:00
Ferdinand Mütsch 9fc3c65efe feat: sentry integration (resolve #142) 2021-03-23 22:12:15 +01:00
Ferdinand Mütsch e55adf6287 fix: mysql character encoding (resolve #131) 2021-02-17 21:04:22 +01:00
Ferdinand Mütsch daf67b844a refctor: change active users query 2021-02-13 11:23:58 +01:00
Ferdinand Mütsch 301cab4be4 feat: per-user heartbeats count metrics 2021-02-12 23:06:48 +01:00
Ferdinand Mütsch 703805412b chore: code smell [ci skip] 2021-02-12 19:26:23 +01:00
Ferdinand Mütsch 88eb68b1a9 feat: add prometheus metrics without external standalone exporter 2021-02-12 18:50:13 +01:00
Ferdinand Mütsch e4c413a33c fix: include machine names when importing wakatime data 2021-02-10 22:08:00 +01:00
Ferdinand Mütsch da3c80362c docs: update readme 2021-02-06 23:02:35 +01:00
Ferdinand Mütsch fd9e2acdf1 feat: wakatime data import (resolve #87) 2021-02-06 23:02:35 +01:00
Ferdinand Mütsch d728426b45 chore: add config option to disable user registrations (resolve #113) 2021-02-06 10:59:12 +01:00
Ferdinand Mütsch a7afd73e62 chore: require at least one database connection 2021-02-02 22:52:13 +01:00
Steven Tang 779108ad88
chore: remove legacy config.ini and .env 2021-01-31 10:51:56 +11:00
Ferdinand Mütsch 617d9ad7e4 refactor: include logging framework (resolve #92) 2021-01-30 11:17:37 +01:00
Ferdinand Mütsch fd239e4f21 chore: add check to validate wakatime api key before accepting it 2021-01-30 10:54:54 +01:00
Ferdinand Mütsch a6aff07b21 chore: use wakatime colors for editors and os (resolve #100) 2021-01-30 09:51:36 +01:00
Steven Tang 4e6e665e19
feat: embed assets into binary
Resolves #26
2021-01-23 10:00:15 +11:00
Ferdinand Mütsch 189a09d91f feat: relay heartbeats to wakatime (resolve #28) 2021-01-21 22:17:32 +01:00
Ferdinand Mütsch acda62488d chore: support for cockroachdb (resolve #90) 2021-01-18 21:37:15 +01:00
Ferdinand Mütsch cd97976ed5 chore: show total hours on index page (resolve #88) 2021-01-17 09:32:08 +01:00
Ferdinand Mütsch 98b62b33c8 fix: concurrent access to language mappings (resolve #83) 2021-01-07 10:56:00 +01:00
Ferdinand Mütsch 72e42a9c42 feat: add ipv6 and tls support (resolve #79) 2020-12-12 22:07:00 +01:00
Ferdinand Mütsch 4a78f66778 chore: set samesite attributes and configurable max age for cookies (resolve #75)
fix: sort entities by total time descending (resolve #74)
2020-11-21 22:30:56 +01:00
Ferdinand Mütsch 35cdc7b485 refactor: define interface types for all services and repositories 2020-11-08 10:12:49 +01:00
Ferdinand Mütsch 7befb82814 chore: remove clean up related parameters 2020-11-07 12:34:17 +01:00
Ferdinand Mütsch 8ddd9904a0 refactor: alert handling 2020-11-06 21:19:54 +01:00
Ferdinand Mütsch 78874566a4 chore: introduce constants for db dialects
chore: go fmt
2020-11-06 17:20:26 +01:00
Ferdinand Mütsch b4d2ee7d16 fix: not creating language mappings table due to broken type definition in users model (resolve #69)
chore: introduce foreign key constraints
2020-11-03 10:26:32 +01:00
Ferdinand Mütsch 1224024913 fix: postgres connection (resolve #70) 2020-11-03 10:02:59 +01:00
Ferdinand Mütsch 8efc3854ab refactor: migrate to latest gorm version
refactor: language mappings implementation
2020-11-01 20:14:10 +01:00
Ferdinand Mütsch e19761337f Merge branch 'notarock/62' 2020-10-26 22:34:50 +01:00
Ferdinand Mütsch 177cbb12fc chore: make aggregation time configurable (resolve #60) 2020-10-16 16:21:19 +02:00
Ferdinand Mütsch b378597594 fix: define flags on init
chore: remove deprecated config files
2020-10-04 11:47:31 +02:00
Ferdinand Mütsch 29619f09ed docs: update docs for new config format 2020-10-04 11:35:23 +02:00
Ferdinand Mütsch ff3fea0359 feat: introduce legacy config migration 2020-10-04 11:14:44 +02:00
Ferdinand Mütsch 660fefcca9 refactor: migrate to new config (resolve #54) 2020-10-04 10:37:38 +02:00
Ferdinand Mütsch f843be8d12 refactor: move config to separate package
chore: load config from main method
2020-09-29 18:55:07 +02:00