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

150 Commits

Author SHA1 Message Date
Ferdinand Mütsch
c1c78d8d5b test: add more api tests 2021-06-11 17:47:33 +02:00
Ferdinand Mütsch
ee31212cdd fix: hotfix for invalid api base url prefix (#203) 2021-05-19 10:18:18 +02:00
Ferdinand Mütsch
ef9303e61e feat: settings dialog for mail reports 2021-04-30 16:20:24 +02:00
Ferdinand Mütsch
a4e7158db2 refactor: mail service abstraction layer 2021-04-30 15:17:07 +02:00
Ferdinand Mütsch
29c04c3ac5 feat: email reports (resolve #124) 2021-04-30 14:07:14 +02:00
Ferdinand Mütsch
a64201c93b fix: timezone selector 2021-04-25 21:12:36 +02:00
Ferdinand Mütsch
bc9191a514 chore: fix api key on instructions page 2021-04-25 21:05:05 +02:00
Ferdinand Mütsch
04690d287d chore: guess user timezone on signup 2021-04-25 21:05:05 +02:00
Ferdinand Mütsch
c142b525a4 refactor: time zone sensitivity (resolve #184) 2021-04-25 21:05:04 +02:00
Ferdinand Mütsch
6576837396 chore: batch mode for sample data script 2021-04-19 21:01:09 +02:00
Ferdinand Mütsch
53f3a9d685 chore: make back button on settings page a relative link 2021-04-18 11:05:59 +02:00
Ferdinand Mütsch
d3713017e3 fix: include icon library to fix missing emojis on some platforms (resolve #119) 2021-04-16 17:07:11 +02:00
Ferdinand Mütsch
a9739a6db0 fix: make range picker show actual range with ceiled to date (fix #175) 2021-04-16 11:53:37 +02:00
Steven Tang
6256c8e10a
ref: embed files, bump to go 1.16 (#167)
* ref: embed portion of files
* fix: readd pkger
* ref: embed version.txt
* fix: wrong mail template import path
* refactor: get rid of sql-migrate
refactor: get rid of pkger in favor of go embed (resolve #164)
* chore: remove unused var [ci-skip]

Co-authored-by: Ferdinand Mütsch <ferdinand@muetsch.io>
2021-04-11 10:42:43 +00:00
Ferdinand Mütsch
2a9fbfdfd7 chore: send notification on successful import 2021-04-10 10:48:06 +02:00
Ferdinand Mütsch
56247b4e1e fix: throttle wakatime api requests (attempt to fix #152) 2021-04-10 10:18:09 +02:00
Ferdinand Mütsch
0df0168584 Merge branch '133-password-resets' 2021-04-10 00:34:20 +02:00
Ferdinand Mütsch
a6fe15d69b chore: add support button 2021-04-10 00:27:01 +02:00
Ferdinand Mütsch
b8cefeb595 chore: add html lang 2021-04-10 00:15:20 +02:00
Roch D'Amour
f4af787ecf Add Open Graph meta tags 2021-04-09 00:37:14 -04:00
Ferdinand Mütsch
6ad33e3c3b feat: password resets (resolve #133) 2021-04-05 22:57:57 +02:00
Ferdinand Mütsch
e6e134678a wip: password resets 2021-04-05 16:25:13 +02:00
Ferdinand Mütsch
1783858854 fix: minor fixes (resolve #151) (resolve #154) 2021-04-04 10:42:27 +02:00
Ferdinand Mütsch
6b83600acc fix: responsiveness in firefox mobile (resolve #137) 2021-03-25 10:51:36 +01:00
Ferdinand Mütsch
1f557d562f chore: remove integrity hashes from assets files since served locally anyway (resolve #141) 2021-03-20 09:55:21 +01:00
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
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
701ed0a3e1 chore: purge tailwind classes (resolve #22) 2021-02-21 11:14:55 +01:00
Ferdinand Mütsch
30510591eb feat: custom time intervals (resolve #115) 2021-02-13 12:59:59 +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
218c571859 feat: display setup instructions on startup (resolve #120) 2021-02-12 10:10: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
fca12f522f feat: option to publicly share stats data (resolve #36) 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
161e375f74 chore: optimize import date range 2021-02-06 23:02:35 +01:00
Ferdinand Mütsch
fd9e2acdf1 feat: wakatime data import (resolve #87) 2021-02-06 23:02:35 +01:00
Ferdinand Mütsch
3a7f2918f4 style: new logo 2021-02-06 13:04:18 +01:00
Ferdinand Mütsch
82e9244cdc style: change color palette 2021-02-05 23:42:20 +01:00
Ferdinand Mütsch
4838300086 refactor: settings routes and actions 2021-02-03 20:53:27 +01:00
Ferdinand Mütsch
8bed266110 feat: account deletion (#99) 2021-02-02 22:54:22 +01:00
Ferdinand Mütsch
105f96ff72 chore: get rid of cdn and serve all static assets locally 2021-01-31 14:10:17 +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
a3d8c4d464 chore: docs and typos 2021-01-22 00:02:56 +01:00
Ferdinand Mütsch
5adb795f59 chore: include integrity hashes (resolve #93) 2021-01-21 23:50:14 +01:00
Ferdinand Mütsch
a552073d18 feat: ui for configuring wakatime integration 2021-01-21 23:26:50 +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
16b683fcbd fix: permissions bug related to deleting language mappings 2021-01-20 20:49:27 +01:00
Ferdinand Mütsch
1aecfc4ca3 chore: wording 2021-01-17 09:40:14 +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
9766d8e903 feat: ability to choose number of top entities to display (resolve #81) 2021-01-05 12:41:01 +01:00
Ferdinand Mütsch
219e969957 Merge branch 'master' of github.com:muety/wakapi into master 2020-12-02 23:16:48 +01:00
Ferdinand Mütsch
e610bb3ee3 fix: html footer rendering
chore: update chartjs
2020-12-02 23:16:12 +01:00
Roch D'Amour
4161623c24 Added missing closing parens 2020-11-30 21:42:29 -05:00
Ferdinand Mütsch
67fe6eea56 chore: even more code smell 2020-11-28 20:57:13 +01:00
Ferdinand Mütsch
095fef4868 chore: minor code smell 2020-11-28 20:50:35 +01:00
Ferdinand Mütsch
a0e64ca955 chore: show badges on front page 2020-11-28 20:44:39 +01:00
Ferdinand Mütsch
903defca99 fix: commit missing files
chore: add favicon
2020-11-28 20:31:28 +01:00
Ferdinand Mütsch
16b9aa2282 feat: add front page (resolve #34) 2020-11-28 20:23:40 +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
8efc3854ab refactor: migrate to latest gorm version
refactor: language mappings implementation
2020-11-01 20:14:10 +01:00
Roch D'Amour
3f973a28ea Fixed custom rule settings CSS 2020-10-26 00:27:07 -04:00
Roch D'Amour
395d039d41 General cleanup and fixed PR comments 2020-10-25 22:18:33 -04:00
Roch D'Amour
fdf2289f8e MVP for custom rules support 2020-10-25 21:51:06 -04:00
Ferdinand Mütsch
c78ee5465c chore: display database type 2020-10-16 16:58:16 +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
21b822de42 chore: minor code enhancements 2020-10-09 21:37:20 +02:00
Ferdinand Mütsch
6e2f3e6731 fix: attempt to fix invalid fixture query for postgres (fix #52) 2020-09-12 16:32:43 +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
97cb29ee4d feat: show placeholders when no data is available (resolve #42)
feat: add jsx as custom language by default (resolve #50)
2020-08-30 16:51:37 +02:00
Ferdinand Mütsch
12cc4cd9cf feat: introduce machine summaries (resolve #48) 2020-08-29 22:03:01 +02:00
Ferdinand Mütsch
0eac9a8854 feat: add ability to reset api key (resolve #29) 2020-06-07 19:58:06 +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
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
b92a064eb1 chore: update version
chore: update tailwind
2020-05-24 20:38:49 +02:00
Ferdinand Mütsch
fad91725b0 fix: quick summary paths 2020-05-24 17:36:45 +02:00
Ferdinand Mütsch
f341ae4707 fix: html base href trailing slash 2020-05-24 17:35:44 +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
411ae49206 fix: use relative urls 2020-05-24 16:55:44 +02:00
Ferdinand Mütsch
abfaa9d768 feat: user signup 2020-05-24 16:34:32 +02:00
Ferdinand Mütsch
041a49ede4 fix: forgot to check in alerts template partial 2020-05-24 13:43:28 +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
d3ab54f6dc chore: enable templates to consist of partials 2020-05-24 10:37:31 +02:00
Ferdinand Mütsch
7d36c4e111 Rename project.
Add build script.
2020-03-31 12:22:17 +02:00
Ferdinand Mütsch
0e61870568 Resolve #7. 2020-03-31 11:24:44 +02:00
Ferdinand Mütsch
0664861f74 Fix #13. 2020-03-31 10:47:22 +02:00
Ferdinand Mütsch
fd76de629a Add HTML base tag. 2020-02-20 16:05:54 +01:00
Ferdinand Mütsch
abc7c99eff Replace absolute paths. 2020-02-20 15:57:09 +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