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

983 Commits

Author SHA1 Message Date
Ferdinand Mütsch
abc7c99eff Replace absolute paths. 2020-02-20 15:57:09 +01:00
Ferdinand Mütsch
f69b55b1f9 Default interval. 2020-02-20 15:54:20 +01:00
Ferdinand Mütsch
89b52778ef Merge branch 'master' of github.com:n1try/wakapi 2020-02-20 15:40:12 +01:00
Ferdinand Mütsch
6d3891b398 Resolve #11. 2020-02-20 15:39:56 +01:00
Ferdinand Mütsch
b7f700e7a5 Refactor to server-rendered app. 2020-02-20 14:28:55 +01:00
Ferdinand Mütsch
7a950c9ff3
Create FUNDING.yml 2020-01-09 08:33:23 +01:00
Ferdinand Mütsch
d583dd312b Fix start of year computation.
Add shortcut to get lifetime statistics.
2020-01-09 00:19:24 +01:00
Ferdinand Mütsch
4ae53746c3 Add db port environment variable. 2019-11-07 23:29:28 +01:00
Ferdinand Mütsch
fe1cc3ac88 Minor code cleanup. 2019-11-07 23:11:19 +01:00
Ferdinand Mütsch
121b8c9885 Fix faulty aggregations after daylight saving time switch. 2019-11-07 22:56:52 +01:00
Ferdinand Mütsch
caacea3f63 Add ability to configure database port. 2019-11-07 22:56:06 +01:00
Ferdinand Mütsch
9e726028c3 Introduce flag to recompute summaries from raw events instead of using aggregations. 2019-11-07 12:56:05 +01:00
Ferdinand Mütsch
f3fe8124c8 Ability to configure number of db connections. 2019-10-11 10:03:18 +02:00
Ferdinand Mütsch
9b17cde420 Trigger summary generation on server startup. 2019-10-11 09:16:42 +02:00
Ferdinand Mütsch
b7616a7457 Update Readme.
Previously resolved #1.
2019-10-11 09:09:18 +02:00
Ferdinand Mütsch
fb2f9fa10a Ability to schedule summary creation. 2019-10-11 09:06:34 +02:00
Ferdinand Mütsch
37b02ff32c Fix summary merging.
Rename some methods.
Use pointers for structs and none for primitives.
2019-10-11 08:00:02 +02:00
Ferdinand Mütsch
3696622493 Unstable. Still need to fix summary item times to not be all the same. 2019-10-10 18:32:17 +02:00
Ferdinand Mütsch
b8122ce530 First approach to generating, persisting, fetching and merging summaries. 2019-10-10 18:10:14 +02:00
Ferdinand Mütsch
5a5586b40d Fix MySQL connection timezone. 2019-10-10 18:09:50 +02:00
Ferdinand Mütsch
43f6f33966 Generate summary generation jobs. 2019-10-10 16:47:19 +02:00
Ferdinand Mütsch
851f378684 Add database schema to persist summaries with their accompanying summary items.
Add basic methods to generate summary aggregation jobs.
2019-10-09 23:26:28 +02:00
Ferdinand Mütsch
680475d466 Fix cache to be per user. 2019-10-09 21:57:43 +02:00
Ferdinand Mütsch
4b8dd172ab Add persistent volume to database container. 2019-10-08 09:29:31 +02:00
Ferdinand Mütsch
82acd2725e Update Readme. 2019-10-08 09:08:52 +02:00
Ferdinand Mütsch
6f3b6a479d
Merge pull request #8 from robrotheram/master
Dockerise The application
2019-10-08 09:04:16 +02:00
robrotheram
76d098717e Updated Readme with Docker 2019-10-07 23:48:28 +01:00
robrotheram
6a87b1d262 Added Docker fixes issue #5 2019-10-07 23:41:00 +01:00
robrotheram
12b3bec2f6 Updated to use go modules and updated UUID libary 2019-10-07 23:39:43 +01:00
robrotheram
9b16ee9461 Fix typo in gorm model 2019-10-07 23:39:00 +01:00
Ferdinand Mütsch
e10aba158f Merge branch 'master' of github.com:n1try/wakapi 2019-09-20 12:06:12 +02:00
Ferdinand Mütsch
f22282b4e6 Update password label. 2019-09-20 12:05:22 +02:00
Ferdinand Mütsch
5e1493ba36 Only show top 10 items in graph. 2019-07-07 11:17:45 +02:00
Ferdinand Mütsch
8a3ce596f5 Sort summary items in descending order. 2019-07-07 10:37:17 +02:00
Ferdinand Mütsch
e18a873428 Add documentation for aliases.
Reload aliases for every summary request.
2019-07-07 10:32:28 +02:00
Ferdinand Mütsch
e98acb8315 Merge branch 'master' of git.muetsch.io:n1try/wakapi 2019-07-07 09:51:18 +02:00
Ferdinand Mütsch
37ec6c62fc Introduce entity aliases (unfinished). 2019-07-06 17:53:20 +02:00
Ferdinand Muetsch
af311ff4a8 Merge branch 'master' of github.com:n1try/wakapi 2019-05-23 08:16:15 +02:00
Ferdinand Muetsch
899b2fff64 Properly redraw charts.
Add pre-defined interval for today.
Fix week interval.
2019-05-23 08:14:32 +02:00
Ferdinand Mütsch
eeb906ec1a
Update README.md 2019-05-22 15:32:13 +02:00
Ferdinand Mütsch
1216bf5353 Add license. 2019-05-22 07:32:35 +02:00
Ferdinand Mütsch
e23e7520d0 Update Readme. 2019-05-21 23:27:31 +02:00
Ferdinand Mütsch
080e91973c Generate default user. 2019-05-21 23:09:47 +02:00
Ferdinand Mütsch
f9a2efaffb Support for username-password authentication. 2019-05-21 22:40:59 +02:00
Ferdinand Mütsch
df7b2d4a33 Auto-migrate custom languages. 2019-05-21 22:01:14 +02:00
Ferdinand Mütsch
cdf158e2ac Use expirable cache for summaries. 2019-05-21 21:46:23 +02:00
Ferdinand Mütsch
81eea21fd5 Update Readme. 2019-05-21 18:33:04 +02:00
Ferdinand Mütsch
c821e02b82 Add support for custom languages. 2019-05-21 17:16:46 +02:00
Ferdinand Muetsch
c2b705f172 Remove debug logs. 2019-05-21 14:24:45 +02:00
Ferdinand Muetsch
e572eb3b10 Add user cache in authentication middleware. 2019-05-21 14:23:41 +02:00