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

517 Commits

Author SHA1 Message Date
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
Ferdinand Muetsch
86fe3a4bae Add ability to listen on public interface.
Add ability to handle unknown keys.
Update Readme.
2019-05-21 14:02:04 +02:00
Ferdinand Mütsch
f7d2a39a00 No live mode for requests larger than one day. 2019-05-20 20:57:49 +02:00
Ferdinand Mütsch
4d10cfb841 Update Readme. 2019-05-20 20:56:27 +02:00
Ferdinand Mütsch
d2a807531d Update Readme. 2019-05-20 20:54:18 +02:00
Ferdinand Mütsch
33ccb708f5 Use API url relative to current path. 2019-05-20 20:53:35 +02:00
Ferdinand Mütsch
393a3e9801 Remove root slash from api url. 2019-05-20 20:49:12 +02:00
Ferdinand Mütsch
a2095a6f79 Add UI and graphs.
Add CORS.
Minor bug fixes.
2019-05-20 20:44:53 +02:00
Ferdinand Mütsch
d75da7681b Properly order heartbeats. 2019-05-20 19:46:41 +02:00
Ferdinand Mütsch
005b17a73c Allow heartbeat fields to be unset. 2019-05-20 18:44:16 +02:00
Ferdinand Mütsch
d803e818bb Bind to localhost. 2019-05-19 22:30:12 +02:00
Ferdinand Mütsch
642d277cff Update config. 2019-05-19 22:23:51 +02:00
Ferdinand Mütsch
263613a0a7 Readme. 2019-05-19 22:18:08 +02:00
Ferdinand Mütsch
cc1a9bbca1 Parallelization. 2019-05-19 21:00:19 +02:00
Ferdinand Mütsch
1caf962917 Fix caching.
Introduce live mode.
2019-05-19 20:34:26 +02:00
Ferdinand Mütsch
d5253ba46b Add summary cache. 2019-05-19 20:14:57 +02:00
Ferdinand Mütsch
a157edd03b Add intervals for summary requests. 2019-05-19 20:06:07 +02:00