Commit Graph

236 Commits

Author SHA1 Message Date
Ferdinand Mütsch 0c3f3b37b0 fix: attempt to quickfix hash collisions 2021-01-31 18:06:20 +01:00
Ferdinand Mütsch dc1a0c7983 chore: introduce hashes for heartbeats 2021-01-31 17:46:50 +01:00
Ferdinand Mütsch e4b38d3f51 fix: tests 2021-01-31 16:58:59 +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 189a09d91f feat: relay heartbeats to wakatime (resolve #28) 2021-01-21 22:17:32 +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 cd97976ed5 chore: show total hours on index page (resolve #88) 2021-01-17 09:32:08 +01:00
Steven Tang b7a1e2d795
Reduce minimum username length to 1 2021-01-12 21:06:57 +11: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 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 78874566a4 chore: introduce constants for db dialects
chore: go fmt
2020-11-06 17:20:26 +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 e6a04cc76d chore: remove cleanup functionality
chore: minor code changes
2020-11-06 14:07:07 +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 c2d30826f6 fix: critical fixes related to alias resolution 2020-11-01 12:50:59 +01:00
Ferdinand Mütsch e19761337f Merge branch 'notarock/62' 2020-10-26 22:34:50 +01:00
Roch D'Amour 3f973a28ea Fixed custom rule settings CSS 2020-10-26 00:27:07 -04:00
Roch D'Amour 178c417757 Keep the old configuration rules behaviour 2020-10-25 23:02:28 -04:00
Roch D'Amour fdf2289f8e MVP for custom rules support 2020-10-25 21:51:06 -04:00
Ferdinand Mütsch c575b2fd5c fix: json serialization error when percentage is nan 2020-10-16 15:16:43 +02:00
Ferdinand Mütsch 67a59561c8 fix: use custom date for summary model to support sqlite deserialization 2020-10-16 14:49:22 +02:00
Ferdinand Mütsch f7520b2b4a fix: timestamp precision 2020-10-16 12:49:36 +02:00
Ferdinand Mütsch 21b822de42 chore: minor code enhancements 2020-10-09 21:37:20 +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 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 cecb5e113c chore: remove debug comments 2020-08-30 01:45:01 +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
Steven Tang 24469e4922 feat: add base_path environment variable 2020-07-14 21:22:30 +10:00
Ferdinand Mütsch 0294425de0 feat: add ability to change passwords (resolve #30) 2020-06-07 19:28:32 +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 98d7d02935 docs: update readme 2020-05-28 22:36:00 +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
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 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
William Flores aa211713b2
feat: change default value for time Fields to CURRENT_TIMESTAMP for better cross database support. Support Scanning String Dates for HeartBeatReqTime 2020-04-19 16:58:03 -07: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 6d3891b398 Resolve #11. 2020-02-20 15:39:56 +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 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 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 9b16ee9461 Fix typo in gorm model 2019-10-07 23:39:00 +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 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 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 005b17a73c Allow heartbeat fields to be unset. 2019-05-20 18:44:16 +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 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 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 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 0bd71b7708 Initial. 2019-05-05 22:36:49 +02:00