Commit Graph

733 Commits

Author SHA1 Message Date
bdeshi f6cc489425
feat: allow toggling vibrant color for all charts
- supports new config key `app.vibrant_color` or env `WAKAPI_VIBRANT_COLOR`
- updates and extends `data/colors.json` with editor and os colors
- fixes #343
2022-03-28 01:56:13 +06:00
Ferdinand Mütsch 5aae18e241 refactor: replace most custom date util functions by lancet ones
refactor: add precision mode to missing intervals function
2022-03-25 12:51:40 +01:00
Ferdinand Mütsch 8a731a252a chore: ditch lo module again 2022-03-25 11:34:16 +01:00
Ferdinand Mütsch 8fc0d78f64 refactor: include generics based utility lib and refactor some parts accordingly [ci-skip] 2022-03-20 16:40:14 +01:00
Ferdinand Mütsch a675417ab9 chore: upgrade dependencies
chore: update dockerfile to build with go 1.18
2022-03-20 16:40:14 +01:00
Ferdinand Mütsch 408d9086e7 fix(ci): use go 1.18 in ci build 2022-03-20 16:39:38 +01:00
Ferdinand Mütsch 8f933d8648 chore: upgrade dependencies
chore: update dockerfile to build with go 1.18
2022-03-20 16:29:13 +01:00
Ferdinand Mütsch bbc85de34b chore: metrics performance improvements 2022-03-19 10:30:32 +01:00
Ferdinand Mütsch ec70d024fa fix: remove user property of diagnostics as sent without auth 2022-03-19 09:27:13 +01:00
Ferdinand Mütsch eae45baf38 chore: allow heartbeats from one hour into the future to compensate for clock inaccuracies (see #342) 2022-03-19 09:02:15 +01:00
Ferdinand Mütsch 4cea50b5c8 chore: add user project index on heartbeats table 2022-03-19 08:57:33 +01:00
Ferdinand Mütsch e4814431e0 feat: add database size metric 2022-03-18 18:20:13 +01:00
Ferdinand Mütsch 91b4cb2c13 fix: explicit milliseconds precision of timestamp columns 2022-03-18 13:48:28 +01:00
Ferdinand Mütsch a3acdc7041 fix: duration aggregation for heartbeats with identical timestamps (resolve #340) 2022-03-18 12:29:43 +01:00
Ferdinand Mütsch e7e5254673 feat: ability to clear all user data (resolve #339) 2022-03-17 11:55:13 +01:00
Ferdinand Mütsch 8e558d8dee chore: introduce heartbeat max age 2022-03-17 11:35:20 +01:00
Ferdinand Mütsch b763c4acc6 fix(perf): speed up summary retrieval of all time interval (resolve #336) 2022-03-17 11:08:40 +01:00
Ferdinand Mütsch d1bd7b96b8 fix: hotfix for #337 (resolve #33) 2022-03-16 18:29:19 +01:00
Ferdinand Mütsch 8c65da9031 chore: remove entity index again
chore: add migration note
2022-03-13 09:42:51 +01:00
Ferdinand Mütsch 647bf1781d chore: apply filters in database query (see #335) 2022-03-13 08:49:03 +01:00
Ferdinand Mütsch 85515d6cb5 Merge branch 'patch-1' 2022-03-06 12:00:29 +01:00
Ferdinand Mütsch 1258ec0438 docs: add smtp and mailwhale config details to readme 2022-03-06 12:00:19 +01:00
Ferdinand Mütsch 965d8e22b3 chore: fix typo in error message 2022-03-06 11:52:03 +01:00
Soner Sayakci ed6e51b4df add error when no authentication is configured 2022-03-04 17:03:04 +01:00
Shyim af879f8d57
fix: example for mail sender 2022-03-04 16:58:52 +01:00
Ferdinand Mütsch f15efcd6f2 chore: bump version 2022-03-02 17:58:53 +01:00
Ferdinand Mütsch 22e91ad362
Merge pull request #327 from daief/patch-2
fix: wrong key
2022-03-02 17:56:53 +01:00
daief 932ba111cc
fix: wrong key 2022-03-02 22:29:09 +08:00
Ferdinand Mütsch 23d00d574b chore: easier setup instructions (resolve #325) 2022-03-02 08:55:58 +01:00
Ferdinand Mütsch d4b15e7959 fix: href 2022-03-02 08:51:27 +01:00
daief 42808fa38a
fix: href to a 404 when service on a subpath
click project detail will redirect to a not exist page, when the service runs with a base path.

For example, the base path is `wakatime`,  and the dashboard uri will be `/wakatime/summary`. When click project detail, page will be redirect to `/wakatime/wakatime/summary?project=demo` but the correct detail page is `/wakatime/summary?project=demo`.

And i think `pushing a history stack` is better than `replace`, so that can back to dashboard by backwards.
2022-03-02 11:35:40 +08:00
Shyim 52269c780f add missing expose to Dockerfile 2022-03-01 18:19:47 +11:00
Ferdinand Mütsch 302eb33b1b fix: branches chart (resolve #322) 2022-02-22 08:19:51 +01:00
Ferdinand Mütsch 784adec3c1
docs: update readme 2022-02-21 19:49:43 +01:00
Ferdinand Mütsch d2cdd35fff
Merge pull request #320 from muety/gitattributes
ref: add gitattributes file, remove unnecessary unicode characters
2022-02-20 21:27:02 +01:00
Steven Tang 33d65fb33a
ref: add .gitattributes file for line normalisation 2022-02-18 19:53:04 +11:00
Steven Tang 6d762f5fd6
ref: remove unnecessary unicode characters 2022-02-18 19:52:55 +11:00
Ferdinand Mütsch 222024dabb chore: cache avatars in memory 2022-02-17 10:34:33 +01:00
Ferdinand Mütsch 660a09475e chore: include avatar rendering into wakapi itself 2022-02-17 09:53:37 +01:00
Ferdinand Mütsch 5cc932177f chore: update precompressed assets 2022-02-16 08:57:00 +01:00
Roch D'Amour ac9d96c563
Remove "Create Account" button when AllowSignup is set to false (#319)
Merge pull request #319
2022-02-16 08:56:27 +01:00
Ferdinand Mütsch 3758eecc96 docs: extend postman collection by get heartbeats compat endpoint
(cherry picked from commit e6c6d0eb0d8b4ac6acf68c17002e069b6fe66626)
2022-02-13 11:04:34 +01:00
Ferdinand Mütsch e21788b8b5 chore: minor fixes 2022-02-13 11:03:10 +01:00
Steven Tang e7f3432113 feat: GET /heartbeat endpoint (resolves #241) 2022-02-13 11:03:10 +01:00
Ferdinand Mütsch 7159df30c2 feat: allow to configure custom api url for relay and import (resolve #105) 2022-01-21 12:35:05 +01:00
Ferdinand Mütsch fce3a3ea20
docs: update docker run command to ghcr [ci skip] 2022-01-19 15:21:26 +01:00
Ferdinand Mütsch bd2a8c5a7f fix: make cookie path respect server.base_path (resolve #310) 2022-01-17 08:25:50 +01:00
Ferdinand Mütsch 632a3d4a91
docs: update readme [ci skip] 2022-01-16 06:39:45 +01:00
Ferdinand Mütsch 8a344ce4a2
Merge pull request #308 from muety/docker-version
ci: major and major.minor tags for Docker publish
2022-01-16 06:32:14 +01:00
Steven Tang cbbb592143
ci: major and major.minor tags for Docker publish
Resolves #307
2022-01-16 14:53:55 +11:00