Roch D'Amour
17ddd7ca76
Prevent invalid dates ranges in summary page
...
It is currently possible to enter a "End" date that is before the start
date, or a "start" date that is after the end date. This commit prevent the
user from directly entering an invalid date by setting a "min" and "max"
value on those two date picker.
There are no validation or the server's side, but that shouldn't be a
problem since the invalid date will not create an error, it will simply
not return any data.
2021-03-06 02:38:28 -05:00
Ferdinand Mütsch
292ae41c58
fix: batch insert conflict bug ( resolve #139 )
2021-03-05 21:39:21 +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
81d3251856
fix: use compatible tailwind version
2021-02-21 13:02:01 +01:00
Ferdinand Mütsch
16af17fc37
chore: save heartbeats created date
2021-02-21 12:02:19 +01:00
Ferdinand Mütsch
701ed0a3e1
chore: purge tailwind classes ( resolve #22 )
2021-02-21 11:14:55 +01:00
Ferdinand Mütsch
218c93e975
Merge pull request #136 from notarock/master
...
Fixed scale label to show seconds instead of minutes
2021-02-21 10:38:52 +01:00
Roch D'Amour
44de057022
Fixed scale label to show seconds instead of minutes
2021-02-21 04:27:45 -05:00
Ferdinand Mütsch
e55adf6287
fix: mysql character encoding ( resolve #131 )
2021-02-17 21:04:22 +01:00
Ferdinand Mütsch
56800be8e8
chore: change info message in migration ( resolve #128 )
2021-02-16 17:18:56 +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
e2f046a83d
fix: add migration for newly introduced has data field
2021-02-13 13:04:47 +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
ef17d06763
fix: tests [ci skip]
2021-02-12 23:10:25 +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
5b3e88247e
chore: introduce user admin flag
2021-02-12 18:13:49 +01:00
Ferdinand Mütsch
59b85863cc
chore: accept bearer prefix in auth header
2021-02-12 18:12:46 +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
4d7fc6bff9
fix: commit missing asset
2021-02-12 10:28:31 +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
e4c413a33c
fix: include machine names when importing wakatime data
2021-02-10 22:08:00 +01:00
Ferdinand Mütsch
66b01c2797
docs: update readme toc
2021-02-07 17:30:14 +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
b1c1f14e35
Merge branch 'master' of github.com:muety/wakapi
2021-02-07 12:38:12 +01:00
Ferdinand Mütsch
9e5847b66d
fix: json marshalling of custom time ( resolve #117 )
2021-02-07 12:37:51 +01:00
Ferdinand Mütsch
bb1d6c048d
feat: serve swagger ui
...
fix: forbid to browse file system index
2021-02-07 12:28:42 +01:00
Ferdinand Mütsch
8fc39f23fa
feat: add swagger docs ( resolve #40 )
2021-02-07 11:54:41 +01:00
Ferdinand Mütsch
97a2fadf92
Merge pull request #112 from muety/87-wakatime-data-import
...
feat: wakatime data import (resolve #87 )
2021-02-06 23:47:44 +01:00
Ferdinand Mütsch
6f30272b8c
style: card theming
2021-02-06 23:44:11 +01:00
Ferdinand Mütsch
11fbce58d4
fix: consider negative sharing intervals
2021-02-06 23:35:15 +01:00
Ferdinand Mütsch
6d2697ec37
feat: allow unlimited date ranges
2021-02-06 23:23:26 +01:00
Ferdinand Mütsch
2f5973cfa3
chore: add localhost notice to examples
2021-02-06 23:08:22 +01:00
Ferdinand Mütsch
77050f23f2
chore: settings interface for github readme stats
2021-02-06 23:02:35 +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
8ba3fdcaad
fix: tests
2021-02-06 23:02:35 +01:00
Ferdinand Mütsch
161e375f74
chore: optimize import date range
2021-02-06 23:02:35 +01:00