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

919 Commits

Author SHA1 Message Date
Ferdinand Mütsch
3aac5e9062 fix: tests 2022-12-29 17:26:15 +01:00
Ferdinand Mütsch
50c54685ec feat: subscription expiry notification mails 2022-12-29 17:12:34 +01:00
Ferdinand Mütsch
dc0bcbe65d chore: cap data import according to max data retention time 2022-12-29 12:33:21 +01:00
Ferdinand Mütsch
bafbc34706 refactor: minor code refactorings 2022-12-29 11:55:09 +01:00
Ferdinand Mütsch
8ca1404f8b fix: dont clean data for subscribed users 2022-12-29 11:17:24 +01:00
Ferdinand Mütsch
195755581b chore: require email address for subscriptions 2022-12-29 11:17:24 +01:00
Ferdinand Mütsch
8a94fef06b feat: implement computation of users first heartbeats data time 2022-12-29 11:17:24 +01:00
Ferdinand Mütsch
ebcf87ea93 feat(wip): polish settings ui for subscriptions 2022-12-29 11:17:24 +01:00
Ferdinand Mütsch
0e83ab02fa feat(wip): implement stripe webhooks 2022-12-29 11:17:24 +01:00
Ferdinand Mütsch
05ea05cdf4 feat(wip): implement stripe webhooks 2022-12-29 11:17:24 +01:00
Ferdinand Mütsch
f39ecc46bd feat(wip): stripe integration for subscriptions 2022-12-29 11:17:24 +01:00
Ferdinand Mütsch
333c1b5dd0 feat(subscriptions): introduce config options and user attribute to support subscriptions 2022-12-29 11:17:24 +01:00
Ferdinand Mütsch
52d45d4644
Merge pull request #448 from muety/test-migrations
Basic migration tests for mysql/mariadb/postgres
2022-12-27 15:35:45 +01:00
Steven Tang
f46f24f0be
test: ref the config conditional 2022-12-27 20:58:17 +11:00
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