1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00
Commit Graph

65 Commits

Author SHA1 Message Date
Ferdinand Mütsch
ec65847d0c fix: make stats endpoint default to user-chosen time range (resolve #508)
chore: include more properties in status model for better compatibility
2023-07-28 12:08:47 +02:00
Ferdinand Mütsch
c9f2518fbc fix: badges broken (resolve #475) 2023-03-15 21:47:12 +01:00
Ferdinand Mütsch
a6ef735ba1 refactor: replace gorilla mux with chi 2023-03-03 20:53:18 +01:00
Ferdinand Mütsch
9d384e5d1c fix: respect requested user in summary compat endpoint (resolve #455) 2023-01-17 10:39:41 +01:00
Ferdinand Mütsch
21f6809f05 refactor: split utility functions into utils and helpers 2022-12-01 10:57:07 +01:00
Ferdinand Mütsch
9586dbf781 fix: make intervals robust to daylight saving time shift 2022-10-31 23:24:54 +01:00
Marvin Scham
9505773165
Add last_6_months interval identifier 2022-08-19 17:14:00 +02:00
Asen Mihaylov
2f0cb112dd test: user api retrieving user information 2022-06-30 10:36:13 +03: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
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
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
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
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
Steven Tang
9950da3e7e
fix: swagger /api/api duplication
Resolves #289
2022-01-02 11:22:58 +11:00
Ferdinand Mütsch
3b96bd3723 docs: include relay endpoint in swagger docs 2021-10-13 17:47:18 +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
466f2e1786 fix: summary caching (resolve #211) 2021-06-19 12:47:35 +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
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
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
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
2846748b26 hotfix: remove user agent check for shields.io 2021-03-09 23:15:35 +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
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
Ferdinand Mütsch
6b1f1c1360 feat: add endpoint compatible to github readme stats (resolve #65) 2021-02-06 23:02:35 +01:00
Ferdinand Mütsch
fca12f522f feat: option to publicly share stats data (resolve #36) 2021-02-06 23:02:35 +01:00
Ferdinand Mütsch
d1dc73b5e6 refactor: make each router handler register middleware on its own 2021-02-06 23:02:35 +01:00
Ferdinand Mütsch
8fed606e9b refactor: make intervals be string lists of aliases 2021-02-06 23:02:35 +01:00
Ferdinand Mütsch
9ff35b85d0 feat: implement stats endpoint (resolve #114) 2021-02-06 23:02:35 +01:00
Ferdinand Mütsch
a2368ff76a refactor: significant changes related to routing and general code cleanup 2021-02-03 21:28:02 +01:00
Ferdinand Mütsch
c6139e5366 fix: really fix it now 🤦‍♂️ 2021-01-31 18:56:34 +01:00