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

155 Commits

Author SHA1 Message Date
Ferdinand Mütsch
56247b4e1e fix: throttle wakatime api requests (attempt to fix #152) 2021-04-10 10:18:09 +02:00
Ferdinand Mütsch
9d7afde6a9 chore: version 2021-04-10 00:34:37 +02:00
Ferdinand Mütsch
1783858854 fix: minor fixes (resolve #151) (resolve #154) 2021-04-04 10:42:27 +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
6b83600acc fix: responsiveness in firefox mobile (resolve #137) 2021-03-25 10:51:36 +01:00
Ferdinand Mütsch
81ca703501 fix: disable recompute caching (resolve #149) 2021-03-24 23:31:04 +01:00
Ferdinand Mütsch
5ca9a6a8be test: add further tests for heartbeat augmentation (resolve #144) 2021-03-24 20:43:49 +01:00
Ferdinand Mütsch
9fc3c65efe feat: sentry integration (resolve #142) 2021-03-23 22:12:15 +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
292ae41c58 fix: batch insert conflict bug (resolve #139) 2021-03-05 21:39:21 +01:00
Ferdinand Mütsch
017530ac4a chore: introduce user email addresses (resolve #132) 2021-02-21 13:02:11 +01:00
Ferdinand Mütsch
e55adf6287 fix: mysql character encoding (resolve #131) 2021-02-17 21:04:22 +01:00
Steven Tang
c149766ecc
fix: drop_badges_column migration for sqlite 2021-02-16 22:07:41 +11:00
Ferdinand Mütsch
759e8e4dfd chore: change logging middleware to use different output 2021-02-14 16:41:02 +01:00
Ferdinand Mütsch
708863fd33 fix: broken migration on postgres (resolve #127) 2021-02-14 16:02:05 +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
e4c413a33c fix: include machine names when importing wakatime data 2021-02-10 22:08:00 +01:00
Ferdinand Mütsch
0cee7496e0 fix(ui): convert logo text to path (resolve #121) 2021-02-07 17:29:26 +01:00
Ferdinand Mütsch
e571e5266d fix: dockerfile syntax error 2021-02-07 12:58:24 +01:00
Ferdinand Mütsch
b0480356de chore: exclude static assets from request logging 2021-02-07 12:50:02 +01:00
Ferdinand Mütsch
8fc39f23fa feat: add swagger docs (resolve #40) 2021-02-07 11:54:41 +01:00
Ferdinand Mütsch
fd9e2acdf1 feat: wakatime data import (resolve #87) 2021-02-06 23:02:35 +01:00
Ferdinand Mütsch
3a7f2918f4 style: new logo 2021-02-06 13:04:18 +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
242928aba5 chore: ignore duplicate heartbeat conflicts while inserting 2021-02-06 00:33:20 +01:00
Ferdinand Mütsch
82e9244cdc style: change color palette 2021-02-05 23:42:20 +01:00
Ferdinand Mütsch
aef0c929df fix: wakatime relay 2021-02-05 14:50:00 +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
8bed266110 feat: account deletion (#99) 2021-02-02 22:54:22 +01:00
Ferdinand Mütsch
3e5a51c272 feat: add missing query params to wakatime endpoints (resolve #109) 2021-01-31 16:25:48 +01:00
Ferdinand Mütsch
a6aff07b21 chore: use wakatime colors for editors and os (resolve #100) 2021-01-30 09:51:36 +01:00
Ferdinand Mütsch
71d1b2177b fix: missing ca certificates in docker container (resolve #98)
fix: server crash in unsuccessful relaying of heartbeat to wakatime
2021-01-24 21:39:35 +01:00
Ferdinand Mütsch
6ea72c6d02 chore: increment patch version number 2021-01-24 09:50:04 +01:00
Ferdinand Mütsch
e9eaa9da53 chore: update version 2021-01-21 23:50:27 +01:00
Ferdinand Mütsch
d57c02af7c feat: add ui for managing aliases (resolve #91) 2021-01-21 00:26:52 +01:00
Ferdinand Mütsch
acda62488d chore: support for cockroachdb (resolve #90) 2021-01-18 21:37:15 +01:00
Steven Tang
a03e49e7f0
chore: increment version to 1.18.2 2021-01-12 21:57:15 +11:00
Ferdinand Mütsch
98b62b33c8 fix: concurrent access to language mappings (resolve #83) 2021-01-07 10:56:00 +01:00
Ferdinand Mütsch
9766d8e903 feat: ability to choose number of top entities to display (resolve #81) 2021-01-05 12:41:01 +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
e8067bb13e fix: crash when running aggregation job on schedule (fix #78)
chore: move from gocron to its maintained fork
2020-12-11 10:05:17 +01:00
Ferdinand Mütsch
e610bb3ee3 fix: html footer rendering
chore: update chartjs
2020-12-02 23:16:12 +01:00
Ferdinand Mütsch
a0e64ca955 chore: show badges on front page 2020-11-28 20:44:39 +01:00
Ferdinand Mütsch
16b9aa2282 feat: add front page (resolve #34) 2020-11-28 20:23:40 +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
ad8168801c test: add first few unit tests 2020-11-08 12:46:12 +01:00
Ferdinand Mütsch
664714de8f fix: filters 2020-11-07 18:39:36 +01:00
Ferdinand Mütsch
7befb82814 chore: remove clean up related parameters 2020-11-07 12:34:17 +01:00
Ferdinand Mütsch
2f12d8efde refactor: simplify summary generation (resolve #68) 2020-11-07 12:01:35 +01:00
Ferdinand Mütsch
8ddd9904a0 refactor: alert handling 2020-11-06 21:19:54 +01:00
Ferdinand Mütsch
e269b37b0e feat: add ability to regenerate summaries
fix: database cascade settings
chore: debug log mode for gorm queries is back
2020-11-06 17:09:41 +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
8efc3854ab refactor: migrate to latest gorm version
refactor: language mappings implementation
2020-11-01 20:14:10 +01:00
Ferdinand Mütsch
96ff490d8d fix: crash when calling badge endpoint with no filters applied (resolve #66) 2020-11-01 16:04:30 +01:00
Ferdinand Mütsch
68e66298b8 fix: postprocessing for alias keys not corresponding to an actual entity 2020-11-01 13:09:39 +01:00
Ferdinand Mütsch
c2d30826f6 fix: critical fixes related to alias resolution 2020-11-01 12:50:59 +01:00
Ferdinand Mütsch
892d265c4d chore: update version 2020-10-26 23:10:15 +01:00
Ferdinand Mütsch
f7520b2b4a fix: timestamp precision 2020-10-16 12:49:36 +02:00
Ferdinand Mütsch
54a944ec41 fix: critical summary computation bug (faulty intervals)
fix: doubly included heartbeats
fix: cross-day heartbeats are ignored for consistency
2020-10-16 12:00:20 +02:00
Ferdinand Mütsch
21b822de42 chore: minor code enhancements 2020-10-09 21:37:20 +02:00
Ferdinand Mütsch
4d22756b8a fix: stop tracking legacy config file 2020-10-04 12:20:15 +02:00
Ferdinand Mütsch
3bafde7ab1 fix: adapt docker image to new config format 2020-10-04 11:52:52 +02:00
Ferdinand Mütsch
ff3fea0359 feat: introduce legacy config migration 2020-10-04 11:14:44 +02:00
Ferdinand Mütsch
2ecbb3ea02 fix: user agent strign parsing (fix #53) 2020-09-29 18:58:10 +02:00
Ferdinand Mütsch
1c0e63e125 chore: restrict badge access by user agent 2020-09-12 16:58:22 +02:00
Ferdinand Mütsch
6e2f3e6731 fix: attempt to fix invalid fixture query for postgres (fix #52) 2020-09-12 16:32:43 +02:00
Ferdinand Mütsch
d60dddb550 feat: implement badges endpoint and sharing functionality 2020-09-12 16:09:23 +02:00
Ferdinand Mütsch
19a8c61f77 feat: add more pre-configured intervals (resolve #51) 2020-09-12 12:40:38 +02:00
Ferdinand Mütsch
8dca9f5cc0 chore: parallel summary conversion 2020-09-12 00:20:16 +02:00
Ferdinand Mütsch
21567e7601 feat: implement summaries compat endpoint (resolve #44)
fix: fix all time view model
2020-09-11 23:24:51 +02:00
Ferdinand Mütsch
a8009e107d fix: support project query param for alltime endpoint 2020-09-11 20:22:33 +02:00
Ferdinand Mütsch
84e9559860 fix: all time data model 2020-09-06 17:20:37 +02:00
Ferdinand Mütsch
587ac6a330 feat: add wakatime-compatible alltime endpoint 2020-09-06 12:15:46 +02:00
Ferdinand Mütsch
97cb29ee4d feat: show placeholders when no data is available (resolve #42)
feat: add jsx as custom language by default (resolve #50)
2020-08-30 16:51:37 +02:00
Ferdinand Mütsch
75b33d5e42 fix: save heartbeats and summaries with millisecond time precision (resolve #49) 2020-08-30 01:42:00 +02:00
Ferdinand Mütsch
50b7a9ec3d fix: column definition in migration 2020-08-30 01:24:27 +02:00
Ferdinand Mütsch
82ed386359 fix: generate dummy items for missing types in historic summary data 2020-08-29 23:16:21 +02:00
Ferdinand Mütsch
12cc4cd9cf feat: introduce machine summaries (resolve #48) 2020-08-29 22:03:01 +02:00
Ferdinand Mütsch
08a83af8da feat: extract machine name from heartbeat requests (resolve #47) 2020-08-29 21:20:23 +02:00
Ferdinand Mütsch
c0d6855546 fix: return proper response to heartbeat requests (resolve #46) 2020-08-29 21:13:56 +02:00
Ferdinand Mütsch
0af7d2f8ef feat: show data loss warning (resolve #38) 2020-08-23 13:30:04 +02:00
Ferdinand Mütsch
ada0863f7c fix: make summary include timestamp of first and last heartbeat (resolve #18) 2020-08-23 13:11:01 +02:00
Ferdinand Mütsch
7818f6b094 fix: return created status code for heartbeats (resolve #43) 2020-08-19 23:17:34 +02:00
Ferdinand Mütsch
0eac9a8854 feat: add ability to reset api key (resolve #29) 2020-06-07 19:58:06 +02:00
Ferdinand Mütsch
0294425de0 feat: add ability to change passwords (resolve #30) 2020-06-07 19:28:32 +02:00
Ferdinand Mütsch
160c2f713e chore: update version count 2020-05-31 09:54:02 +02:00
Ferdinand Mütsch
c1e6a3e265 feat: persist user creation date (resolve #31) 2020-05-30 22:19:05 +02:00
Ferdinand Mütsch
1872bf4b4c fix: set string key value data type to text 2020-05-30 21:10:44 +02:00
Ferdinand Mütsch
3c2dc78c93 refactor: refactor migrations and add fixtures
feat: introduce key-value store
feat: imprint page (resolve #23)
chore: remove default user
chore: remove packr
2020-05-30 20:41:27 +02:00
Ferdinand Mütsch
9dae5a1f77 feat: allow insecure cookies (resolve #27) 2020-05-30 12:11:25 +02:00
Ferdinand Mütsch
002003a957 chore: make sqlite the default database to easily get started 2020-05-30 12:07:29 +02:00
Ferdinand Mütsch
50eba49547 fix: don't trim hash 2020-05-29 00:04:48 +02:00
Ferdinand Mütsch
75dd070b3d chore: trim white spaces from passwords before hashing them 2020-05-28 23:29:55 +02:00
Ferdinand Mütsch
6c2f0cb1ec feat: add auto-migrations for old md5 password to maintain backwards compatibility 2020-05-25 22:24:29 +02:00
Ferdinand Mütsch
08675bd99f feat: use bcrypt with salts instead of md5 for hashing password (resolve #21) 2020-05-25 21:42:45 +02:00
Ferdinand Mütsch
625994d1e9 feat: add basic sign up instructions 2020-05-24 21:42:15 +02:00
Ferdinand Mütsch
2cca2cb0bb feat: display api key on user interface (resolve #24) 2020-05-24 21:19:05 +02:00