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

905 Commits

Author SHA1 Message Date
Steven Tang
9cce0ac2e1
test: revert to docker compose 2022-12-27 20:42:55 +11:00
Steven Tang
497046d0a4
test: address pr comments 2022-12-27 20:41:18 +11:00
Steven Tang
03af194385
test: more efficient database ready detection 2022-12-27 15:35:11 +11:00
Steven Tang
ad704cef5c
test: migration testing for mysql/mariadb/postgres 2022-12-27 15:19:30 +11:00
Ferdinand Mütsch
cd5c511474 fix: enable experimental column altering for cockroachdb (see #442) 2022-12-16 12:33:01 +01:00
Ferdinand Mütsch
8a26e24081 chore: minor changes 2022-12-06 21:01:21 +01:00
Ferdinand Mütsch
db6dde32cd Merge branch 'upgrade-testing' 2022-12-06 21:00:04 +01:00
Ferdinand Mütsch
394215e53b Merge branch 'allow-mysql-socket' 2022-12-06 20:50:08 +01:00
Ferdinand Mütsch
27586f3a54 Merge branch 'remove-config-file-requirement' 2022-12-06 20:46:35 +01:00
Soner Sayakci
9e9e9fbef9
check still for empty string 2022-12-06 12:19:18 +00:00
Soner Sayakci
bc9132f84d
fix: remove config file requirement, fixes #435 2022-12-06 12:17:28 +00:00
Soner Sayakci
e7b6a87153
feat: allow using mysql socket, fixes #433 2022-12-06 12:10:18 +00:00
Soner Sayakci
0a2cba647c
fix: disabling tcp webserver sockets, fixes #434 2022-12-06 11:55:33 +00:00
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