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

992 Commits

Author SHA1 Message Date
Steven Tang
f5395e36ad
ci: SQLite upgrade testing comments 2022-12-06 18:39:09 +11:00
Ferdinand Mütsch
9f38246fe2
Merge pull request #425 from Daste745/persistent-summary-interval
Persistent summary time interval
2022-12-05 19:27:07 +01:00
Steven Tang
5242df2b7d
ci: upgrade testing for SQLite 2022-12-04 18:06:48 +11:00
Daste
10648d66ad Remove redundant logic in client-side javascript 2022-12-03 12:51:33 +01:00
Daste
97fab3e109 Redirect to correct summary page if interval cookie is set
This adds an additional 302 redirect when the user doesn't specify an
`interval` as a query param, but has the `wakapi_summary_interval`
cookie set.
2022-12-03 12:47:05 +01:00
Ferdinand Mütsch
0f3b41c2dd fix(ci): adapt docker and gha build to use go 1.19 2022-12-03 00:32:30 +01:00
Ferdinand Mütsch
5ae7527b7b feat: implement data retention mechanism 2022-12-01 20:26:03 +01:00
Ferdinand Mütsch
2db065d47a Merge branch 'muety/427-job-processing' 2022-12-01 15:55:40 +01:00
Ferdinand Mütsch
0e5c5a56d2 chore: dependency upgrades 2022-12-01 15:31:19 +01:00
Ferdinand Mütsch
a4b89d3a69 fix: concurrency bugs with summary aggregation and user counting 2022-12-01 14:13:52 +01:00
Ferdinand Mütsch
aab9e98ebd fix: error handling for user counting
fix: make user counting thread-safe
2022-12-01 13:46:06 +01:00
Ferdinand Mütsch
d4945c982f fix: tests 2022-12-01 11:11:45 +01:00
Ferdinand Mütsch
964405f349 chore: refine report scheduling 2022-12-01 10:57:51 +01:00
Ferdinand Mütsch
21f6809f05 refactor: split utility functions into utils and helpers 2022-12-01 10:57:07 +01:00
Ferdinand Mütsch
c5fda02900 docs: update default cron expressions 2022-12-01 10:10:39 +01:00
Ferdinand Mütsch
10e432c185
Merge pull request #431 from rummik/patch-1
Increase avatar entropy
2022-11-29 23:07:28 +01:00
*Kim Zick
f121112d09
Increase avatar entropy 2022-11-26 16:26:03 -05:00
Ferdinand Mütsch
c13fc96a16 refactor: use job queue for data imports 2022-11-20 11:09:51 +01:00
Ferdinand Mütsch
61f13fce20 fix: prometheus metrics types 2022-11-20 10:59:06 +01:00
Ferdinand Mütsch
99e50b1062 chore: logging 2022-11-20 10:12:34 +01:00
Ferdinand Mütsch
4ce75c2acb chore: clean up dependencies 2022-11-20 10:11:23 +01:00
Ferdinand Mütsch
fcca881cfc refactor: move more background jobs to using job queue 2022-11-20 10:10:24 +01:00
Ferdinand Mütsch
e2ef54152d refactor(wip): introduce job processing system
refactor: adapt report generation scheduling
2022-11-19 22:21:51 +01:00
Daste
ebe1836ac6 Write a Set-Cookie header with the last used summary interval 2022-11-19 09:52:44 +01:00
Ferdinand Mütsch
b1a12a5759
Merge pull request #430 from xiecang/bugfix/send_smtp_mail
fix: ignore error "starttls command has been already sent"
2022-11-17 08:31:24 +01:00
xiecang
ae407fffca fix: ignore error "starttls command has been already sent" 2022-11-16 12:29:20 +08:00
Ferdinand Mütsch
94e0d06e5d fix: user agents and machine names in wakatime import 2022-11-15 23:53:30 +01:00
Ferdinand Mütsch
088bd17803 chore: update iconify 2022-11-13 20:20:41 +01:00
Ferdinand Mütsch
2976203ecc fix: missing icons 2022-11-13 20:11:53 +01:00
Ferdinand Mütsch
e75bd94531 fix: include cumulative total key in wakatime summary compat endpoint (resolve #426) 2022-11-13 19:52:53 +01:00
Ferdinand Mütsch
4cc8c21f67 fix: importing data from wakapi instance (resolve #428) 2022-11-13 19:27:44 +01:00
Ferdinand Mütsch
f182b804bb chore: add additional language icons
fix: support ipynb, cjs, tsx file endings
2022-11-11 16:13:41 +01:00
Daste
e89ce076fd Read the persisted summary interval from a cookie
This cookie will be read only if the `interval` or `from` query params
are not set. If the cookie is also unset, it will still default to
the "today" interval.

TODO: The cookie still needs to be set on the client
with a `Set-Cookie` response header.
2022-11-05 19:30:42 +01:00
Daste
ba81c07345 Display persistent summary interval into the front-end time picker 2022-11-05 19:23:39 +01:00
Ferdinand Mütsch
9586dbf781 fix: make intervals robust to daylight saving time shift 2022-10-31 23:24:54 +01:00
Ferdinand Mütsch
c8ea1a503f
Merge pull request #424 from f0x52/postgres-dsn
Add postgres DSN config option
2022-10-31 19:22:03 +01:00
f0x
ebbc21f0b1 add postgres DSN config option 2022-10-31 18:07:16 +01:00
Ferdinand Mütsch
6e5bc38e5e fix: index migration for sqlite 2022-10-28 10:32:47 +02:00
Ferdinand Mütsch
9424c49760 fix: composite index on heartbeats table 2022-10-28 09:54:11 +02:00
Ferdinand Mütsch
efd6ba36e3 fix: errors during leaderboard generation 2022-10-20 08:33:12 +02:00
Ferdinand Mütsch
b1d7f87095 chore: add maximum default leaderboard length 2022-10-19 18:28:30 +02:00
Ferdinand Mütsch
ffbcfc7467 fix: cache key 2022-10-19 17:23:40 +02:00
Ferdinand Mütsch
41f6db8f34 feat(wip): leaderboard pagination (resolve #417) [ci-skip] 2022-10-16 19:38:43 +02:00
Ferdinand Mütsch
8a21be4306 fix: ignore rank column in migrations 2022-10-16 18:59:00 +02:00
Ferdinand Mütsch
31ca4a1e02 chore: logging 2022-10-16 17:42:32 +02:00
Ferdinand Mütsch
7cab2b0be7 chore: add clarification on relaying to other wakapi instance (resolve #420) [skip-ci] 2022-10-15 11:08:44 +02:00
Ferdinand Mütsch
777997c883 fix: swagger ui (resolve #421) 2022-10-14 12:00:56 +02:00
Ferdinand Mütsch
060a33263a chore: update dependencies 2022-10-09 10:16:27 +02:00
Ferdinand Mütsch
33d259592c chore: improve summary id fixing migration (see #416) 2022-10-09 10:16:18 +02:00
Steven Tang
fbae5f8757
Tailwind 3 & Footer alignment (#419)
* ui: footer alignment
* chore: upgrade tailwind to v3
* fix: tailwind 3 class renames
* ui(fix): alias green to emerald for tailwind 3
2022-10-09 10:53:52 +11:00