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

110 Commits

Author SHA1 Message Date
Ferdinand Mütsch
660fefcca9 refactor: migrate to new config (resolve #54) 2020-10-04 10:37:38 +02:00
Ferdinand Mütsch
f843be8d12 refactor: move config to separate package
chore: load config from main method
2020-09-29 18:55:07 +02:00
Ferdinand Mütsch
d60dddb550 feat: implement badges endpoint and sharing functionality 2020-09-12 16:09:23 +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
587ac6a330 feat: add wakatime-compatible alltime endpoint 2020-09-06 12:15:46 +02:00
Ferdinand Mütsch
0af7d2f8ef feat: show data loss warning (resolve #38) 2020-08-23 13:30:04 +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
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
2cca2cb0bb feat: display api key on user interface (resolve #24) 2020-05-24 21:19:05 +02:00
Ferdinand Mütsch
c171d31f30 feat: set html base path from server base path
refactor: services
2020-05-24 17:32:26 +02:00
Ferdinand Mütsch
d6e9f0295a feat: introduce base path config option to better support redirections behind a proxy 2020-05-24 17:08:44 +02:00
Ferdinand Mütsch
abfaa9d768 feat: user signup 2020-05-24 16:34:32 +02:00
Ferdinand Mütsch
a317dc6942 refactor: middlewares and get rid of negroni 2020-05-24 14:50:04 +02:00
Ferdinand Mütsch
9697bb5fd5 refactor: use cookie-based login
feat: add login page
2020-05-24 13:41:19 +02:00
Ferdinand Mütsch
2b47a7d73f feat: ability to set default username and password 2020-04-26 14:00:53 +02:00
Ferdinand Mütsch
91a4bb2db3 fix: proper parsing of environment variables 2020-04-26 13:55:19 +02:00
William Flores
7f548dabeb
refactor: move migrations to separate method 2020-04-25 13:53:55 -07:00
William Flores
edae516571
feat: add support for sqlite3 2020-04-19 16:58:54 -07:00
Ferdinand Mütsch
7a74ae251c Add health endpoint. 2020-04-08 21:29:11 +02:00
Ferdinand Mütsch
1e5ec48748 WIP: SQLite support. 2020-03-31 14:43:15 +02:00
Ferdinand Mütsch
7d36c4e111 Rename project.
Add build script.
2020-03-31 12:22:17 +02:00
Ferdinand Mütsch
1510bcaa91 Experimental Postgres support. 2020-03-31 12:03:49 +02:00
Ferdinand Mütsch
0e61870568 Resolve #7. 2020-03-31 11:24:44 +02:00
Ferdinand Mütsch
33ebb8a771 Add database cleanup functionality. 2020-03-09 17:30:23 +01:00
Ferdinand Mütsch
c7556fa9a5 Fix API endpoints. 2020-02-21 12:41:29 +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
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
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
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
b8122ce530 First approach to generating, persisting, fetching and merging summaries. 2019-10-10 18:10:14 +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
robrotheram
12b3bec2f6 Updated to use go modules and updated UUID libary 2019-10-07 23:39:43 +01:00
Ferdinand Mütsch
37ec6c62fc Introduce entity aliases (unfinished). 2019-07-06 17:53:20 +02:00
Ferdinand Mütsch
080e91973c Generate default user. 2019-05-21 23:09:47 +02:00
Ferdinand Mütsch
df7b2d4a33 Auto-migrate custom languages. 2019-05-21 22:01:14 +02:00
Ferdinand Mütsch
c821e02b82 Add support for custom languages. 2019-05-21 17:16:46 +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
a2095a6f79 Add UI and graphs.
Add CORS.
Minor bug fixes.
2019-05-20 20:44:53 +02:00
Ferdinand Mütsch
d803e818bb Bind to localhost. 2019-05-19 22:30:12 +02:00
Ferdinand Mütsch
cc1a9bbca1 Parallelization. 2019-05-19 21:00:19 +02:00
Ferdinand Mütsch
be906805e7 Major refactorings.
Introduce summaries.
2019-05-19 19:49:27 +02:00
Ferdinand Mütsch
adb5abd4d2 Unstable. Further work on aggregations. 2019-05-17 02:05:38 +02:00
Ferdinand Mütsch
de65ab1814 Add config to services. 2019-05-16 22:53:03 +02:00
Ferdinand Mütsch
c7a8372516 Introduce config ini. 2019-05-16 22:51:11 +02:00
Ferdinand Mütsch
47246b6955 Introduce aggregation model. 2019-05-11 20:07:58 +02:00
Ferdinand Mütsch
959ce8ab11 Minor changes. 2019-05-11 17:57:58 +02:00
Ferdinand Mütsch
b4c8e6ecb6 Introduce GORM. 2019-05-11 17:49:56 +02:00
Ferdinand Mütsch
d1be4ce2a3 Fix heartbeats insertion.
Add OS and editor fields.
Introduce aggregations (not working yet).
2019-05-09 00:07:38 +02:00
Ferdinand Mütsch
3bc706ed4b Remove unsused code. 2019-05-06 07:33:46 +02:00
Ferdinand Mütsch
b403d4105f Read config from env. 2019-05-06 00:58:01 +02:00
Ferdinand Mütsch
5247255d67 Db config DSN. 2019-05-06 00:47:38 +02:00
Ferdinand Mütsch
9df289b7ed Heartbeat Insertions.
Restructuring.
2019-05-06 00:40:41 +02:00
Ferdinand Mütsch
6e7f47dc79 Auth middleware. 2019-05-05 23:23:54 +02:00
Ferdinand Mütsch
0bd71b7708 Initial. 2019-05-05 22:36:49 +02:00