Steven Tang
20993a1182
feat: automatic version.txt updates
...
Resolves #387
2022-07-09 13:58:16 +10:00
Asen Mihaylov
2f0cb112dd
test: user api retrieving user information
2022-06-30 10:36:13 +03:00
Asen Mihaylov
991e64b961
fix: returning current user instead of requested one
2022-06-29 10:46:46 +03:00
Asen Mihaylov
affff0c386
fix: admin users can't fetch other user data
2022-06-28 13:01:35 +03:00
Ferdinand Mütsch
4bd58789f4
fix: server error when passing empty heartbeats slice
...
fix: do not allow to set id for diagnostics inputs
chore: remove authentication for diagnostics endpoint from swagger docs
2022-05-13 16:12:18 +02:00
bdeshi
9048a8eb7a
Merge branch 'master' into fork
2022-04-24 03:56:18 +06:00
bdeshi
1f19c5e93c
feat: make vibrantColors a localStorage setting
2022-04-24 03:39:08 +06:00
Ferdinand Mütsch
4b0a3cf0d6
fix: index error during summary generation ( resolve #361 )
...
chore(sentry): include stacktrace with panics
2022-04-20 21:36:39 +02:00
Ferdinand Mütsch
d778612242
fix: remove authentication requirement from diagnostics endpoint
2022-04-18 21:32:30 +02:00
Ferdinand Mütsch
5276f68918
fix: double counting when using precise missing intervals
2022-04-18 15:18:01 +02:00
Ferdinand Mütsch
40067d252e
fix: non-ascii project badges ( resolve #357 )
...
chore: locally generated badges (resolve #348 )
2022-04-18 11:39:26 +02:00
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
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
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
e4814431e0
feat: add database size metric
2022-03-18 18:20:13 +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
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
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
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
bd2a8c5a7f
fix: make cookie path respect server.base_path ( resolve #310 )
2022-01-17 08:25:50 +01:00
Ferdinand Mütsch
67f0d19a65
fix: allow to create labels for aliased projects ( resolve #231 )
2022-01-13 17:10:24 +01:00
Ferdinand Mütsch
e967a74e36
fix: allow project names with dots for badges ( resolve #301 )
2022-01-06 14:45:26 +01:00
Ferdinand Mütsch
bcbd6236df
fix: adapt badge filter entity regex to cover labels [ci skip]
2022-01-03 17:30:40 +01:00
Ferdinand Mütsch
8b8c5675af
fix: wrongly displayed timezone offset
2022-01-02 20:25:07 +01:00
Ferdinand Mütsch
c2d3426bcd
feat: project details page with branch statistics ( resolve #242 )
2022-01-02 20:04:29 +01:00
Ferdinand Mütsch
2bc53e6f11
feat: basic implementation of branch statistics
2022-01-02 13:39:20 +01:00
Ferdinand Mütsch
6f9015d3d8
fix: neutered file system
...
docs: add filter params to api docs
2022-01-02 12:03:20 +01:00
Ferdinand Mütsch
a279548c89
feat: comprehensive summary-level filtering ( resolve #262 )
2022-01-02 12:03:19 +01:00
Ferdinand Mütsch
7b7fa8bdf3
refactor(wip): redesign settings page
2022-01-02 12:02:12 +01:00
Ferdinand Mütsch
44a2e609fb
refactor: redesign login page
...
refactor: redesign signup page
refactor: redesign summary page
2022-01-02 12:02:12 +01:00
Steven Tang
9950da3e7e
fix: swagger /api/api duplication
...
Resolves #289
2022-01-02 11:22:58 +11:00
Ferdinand Mütsch
5df0f48303
feat: user avatars
2021-10-14 12:04:21 +02:00
Ferdinand Mütsch
76a7cf7e80
chore: include runtime metrics
2021-10-14 10:35:01 +02:00
Ferdinand Mütsch
7cae3c43d0
chore: enhanced caching for user entity sets ( resolve #264 )
2021-10-14 10:22:59 +02:00
Ferdinand Mütsch
3b96bd3723
docs: include relay endpoint in swagger docs
2021-10-13 17:47:18 +02:00
Ferdinand Mütsch
2c7977cf63
chore: invert visualization of project labels ( resolve #263 )
2021-10-13 17:12:55 +02:00
Ferdinand Mütsch
8d073aaef2
feat: implement relay endpoint (see #237 )
2021-10-11 11:00:50 +02:00
Konstantin Kondr
a869897f80
statusbar endpoint fix
2021-09-07 10:12:24 +00:00
Konstantin Kondr
1ab29b22e1
add statusbar endpoint
2021-09-06 17:01:49 +00:00
Hiroya Onoe
398b4c16d6
fix(docs): wrong parameter in OpenAPI-Docs
...
The parameter `range` of `/compat/wakatime/v1/users/{user}/stats/{range} [get]` is path.
However, it was described as query in OpenAPI-Docs.
So, I fixed it and generated files in `static/docs`.
Closes : #239
Signed-off-by: Hiroya Onoe <hiroyanoe.io@gmail.com>
2021-09-05 03:02:01 +09:00
Ferdinand Mütsch
30de96950b
chore: persist raw user agent value
2021-08-29 10:54:00 +02:00
Ferdinand Mütsch
87fadf46f7
chore: use partial includes in mail templates to avoid code duplication
2021-08-08 12:33:40 +02:00
Ferdinand Mütsch
2088987a0c
chore: implement diagnostics endpoint ( resolve #225 )
2021-08-07 10:16:50 +02:00
Ferdinand Mütsch
533b5d62fc
fix: speed up settings page ( resolve #226 )
2021-08-06 16:37:01 +02:00
Ferdinand Mütsch
5e96e2a601
chore: cache active users with hourly precision
2021-06-26 12:42:51 +02:00
Ferdinand Mütsch
dd6a040171
chore: add api tests for all alternative heartbeat endpoints
2021-06-22 00:27:46 +02:00
Ferdinand Mütsch
9f1266957b
fix: single heartbeat endpoint ( resolve #212 )
...
docs: swagger docs for all available heartbeat endpoints
2021-06-21 21:53:47 +02:00
Ferdinand Mütsch
466f2e1786
fix: summary caching ( resolve #211 )
2021-06-19 12:47:35 +02:00
Ferdinand Mütsch
490cca05eb
feat: ui for managing project labels
2021-06-12 10:44:19 +02:00
Ferdinand Mütsch
628ea0b9dd
fix: nil pointer dereference
...
chore: allow to share labels publicly on settings page
2021-06-12 09:12:28 +02:00
Ferdinand Mütsch
0d64858721
feat: implement project labels ( resolve #204 )
2021-06-11 20:59:34 +02:00
Ferdinand Mütsch
538b9d2463
fix: permissions for stats endpoint
2021-06-11 17:41:45 +02:00
Ferdinand Mütsch
f4612fd542
fix: badge endpoint permission fixes ( resolve #205 )
...
fix: reference past x days intervals from now instead of start of day
2021-06-11 16:02:28 +02:00
Ferdinand Mütsch
101fdfb957
chore: adapt default insert batch size ( fix #206 )
...
fix: set user data flag after import (fix #207 )
2021-06-10 23:22:04 +02:00
Ferdinand Mütsch
ee31212cdd
fix: hotfix for invalid api base url prefix ( #203 )
2021-05-19 10:18:18 +02:00
Ferdinand Mütsch
cf3d293688
feat: implement wakatime projects endpoint ( resolve #196 )
2021-05-01 13:52:03 +02:00
Ferdinand Mütsch
0fbb554fc3
fix: respect timezone parameter for wakatime summary endpoint ( resolve #195 )
2021-05-01 12:46:53 +02:00
Ferdinand Mütsch
11b224fc24
fix: exact path matching for api endpoints ( resolve #194 )
2021-04-30 18:08:53 +02:00
Ferdinand Mütsch
ef9303e61e
feat: settings dialog for mail reports
2021-04-30 16:20:24 +02:00
Ferdinand Mütsch
29c04c3ac5
feat: email reports ( resolve #124 )
2021-04-30 14:07:14 +02:00
Ferdinand Mütsch
1beca82875
feat: implement wakatime users endpoint ( resolve #193 )
2021-04-30 10:13:32 +02:00
Ferdinand Mütsch
37d4d58b57
fix: make wakatime summary endpoint date range inclusive ( resolve #192 )
2021-04-29 21:08:47 +02:00
Ferdinand Mütsch
2b45b064eb
fix: permit simple date time format in wakatime summaries endpoint ( resolve #190 )
2021-04-28 22:19:44 +02:00
Ferdinand Mütsch
c6fd43a964
chore: log requests from json response util method
2021-04-26 21:26:59 +02:00
Ferdinand Mütsch
c142b525a4
refactor: time zone sensitivity ( resolve #184 )
2021-04-25 21:05:04 +02:00
Ferdinand Mütsch
dca736752e
refactor: logging ( resolve #169 )
2021-04-16 16:02:55 +02:00
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
a9739a6db0
fix: make range picker show actual range with ceiled to date ( fix #175 )
2021-04-16 11:53:37 +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
2a9fbfdfd7
chore: send notification on successful import
2021-04-10 10:48:06 +02:00
Ferdinand Mütsch
56247b4e1e
fix: throttle wakatime api requests (attempt to fix #152 )
2021-04-10 10:18:09 +02:00
Ferdinand Mütsch
4706809170
feat: smtp mail provider implementation
2021-04-10 00:07:13 +02:00
Ferdinand Mütsch
ddc29f0414
chore: log mailwhale error
2021-04-09 22:51:03 +02:00
Ferdinand Mütsch
6ad33e3c3b
feat: password resets ( resolve #133 )
2021-04-05 22:57:57 +02:00
Ferdinand Mütsch
7f3a654b26
fix: import bug with small number of heartbeats ( fix #160 )
2021-04-04 09:45:32 +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
81ca703501
fix: disable recompute caching ( resolve #149 )
2021-03-24 23:31:04 +01:00
Ferdinand Mütsch
2d1010e9d9
chore: add caching to badge endpoint
...
chore: add type index for summary items
2021-03-24 21:49:42 +01:00
Ferdinand Mütsch
f73285160d
fix: delete language mapping ( resolve #143 )
2021-03-22 21:20:23 +01:00
Ferdinand Mütsch
2846748b26
hotfix: remove user agent check for shields.io
2021-03-09 23:15:35 +01:00
Ferdinand Mütsch
4f86f67716
chore: fix success messages
2021-02-21 13:12:29 +01:00
Ferdinand Mütsch
017530ac4a
chore: introduce user email addresses ( resolve #132 )
2021-02-21 13:02:11 +01:00
Ferdinand Mütsch
30510591eb
feat: custom time intervals ( resolve #115 )
2021-02-13 12:59:59 +01:00
Ferdinand Mütsch
daf67b844a
refctor: change active users query
2021-02-13 11:23:58 +01:00
Ferdinand Mütsch
6b0b3bddda
fix: include overall total number of heartbeats again
2021-02-12 23:16:20 +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
8191a52ce1
chore: make very first user have admin privileges
2021-02-12 18:49:47 +01:00
Ferdinand Mütsch
22fbfceca2
fix: support default range for stats endpoint ( resolve #125 )
2021-02-12 11:25:21 +01:00
Ferdinand Mütsch
218c571859
feat: display setup instructions on startup ( resolve #120 )
2021-02-12 10:10:44 +01:00
Ferdinand Mütsch
8fc39f23fa
feat: add swagger docs ( resolve #40 )
2021-02-07 11:54:41 +01:00
Ferdinand Mütsch
6d2697ec37
feat: allow unlimited date ranges
2021-02-06 23:23:26 +01:00