Commit graph

455 commits

Author SHA1 Message Date
Andre Medeiros
bcb53235f8 Add a few more fields to http logging 2021-08-14 11:30:43 -04:00
Andre Medeiros
9df9999a0a remove lingering bad code 2021-08-14 11:26:20 -04:00
Andre Medeiros
713e56d375 go mod changes 2021-08-14 11:25:29 -04:00
André Medeiros
fc9e663616 Merge pull request #13 from christianselig/chore/refactor
[WIP] Refactor
2021-08-14 11:24:43 -04:00
André Medeiros
37f2e2aedd Merge branch 'main' into chore/refactor 2021-08-14 11:24:36 -04:00
Andre Medeiros
002851efe7 Save account info 2021-08-14 11:21:17 -04:00
Andre Medeiros
993c07938c ALL THE API 2021-08-08 14:19:47 -04:00
Andre Medeiros
5054462cad Tweak receipt check response 2021-07-27 15:28:15 -04:00
Andre Medeiros
ebd5fce678 Add custom field with account list 2021-07-27 15:28:15 -04:00
Andre Medeiros
f06f1ce550 stub for association 2021-07-27 10:05:50 -04:00
André Medeiros
233e66e9a7 Merge pull request #14 from christianselig/dependabot/go_modules/github.com/jackc/pgx/v4-4.13.0
Bump github.com/jackc/pgx/v4 from 4.12.0 to 4.13.0
2021-07-27 09:55:54 -04:00
Andre Medeiros
4261c6771c add receipt and device deletion 2021-07-26 13:54:24 -04:00
Andre Medeiros
8723bf6c5c change notification title 2021-07-26 13:42:16 -04:00
Andre Medeiros
e39693d47b Add notification title 2021-07-26 13:38:07 -04:00
Andre Medeiros
2cfc5f1bec fuck me sidways 2021-07-26 13:23:07 -04:00
Andre Medeiros
c67d7c6882 womp womp 2021-07-26 13:18:02 -04:00
Andre Medeiros
a5b69521c8 fix query 2021-07-26 13:06:50 -04:00
Andre Medeiros
3d679fe878 fix route 2021-07-26 13:06:00 -04:00
Andre Medeiros
0d296a672e add test notification endpoint 2021-07-26 13:05:09 -04:00
Andre Medeiros
22279185e1 things 2021-07-26 12:34:26 -04:00
dependabot[bot]
515ac90bf2 Bump github.com/jackc/pgx/v4 from 4.12.0 to 4.13.0
Bumps [github.com/jackc/pgx/v4](https://github.com/jackc/pgx) from 4.12.0 to 4.13.0.
- [Release notes](https://github.com/jackc/pgx/releases)
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v4.12.0...v4.13.0)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 08:24:51 +00:00
Andre Medeiros
5603d79b29 add account repository 2021-07-24 16:17:54 -04:00
Andre Medeiros
2a5ad833eb Add golangci-lint 2021-07-24 15:44:26 -04:00
Andre Medeiros
1249f54bf2 tweak accounts and batch size 2021-07-22 21:52:29 -04:00
Andre Medeiros
5848d9584d do 2000 accounts at a time 2021-07-22 21:42:06 -04:00
Andre Medeiros
424e27b068 run scheduler 5 times per second 2021-07-22 21:35:11 -04:00
Andre Medeiros
cbcab2a992 a few more connections please 2021-07-22 21:16:41 -04:00
Andre Medeiros
7692971b89 pool size doesn't need to be that big 2021-07-22 21:11:27 -04:00
Andre Medeiros
d9b1179717 change min to max conns 2021-07-22 20:50:24 -04:00
Andre Medeiros
45bfa3039c don't require ssl 2021-07-22 20:38:13 -04:00
Andre Medeiros
29c7caa591 set up auth key with path 2021-07-22 20:32:37 -04:00
Andre Medeiros
5bc5d80447 bump pgx 2021-07-22 20:26:20 -04:00
André Medeiros
254ed001b6 Merge pull request #12 from christianselig/chore/make-render-friendly
Fixes for Render
2021-07-22 20:24:27 -04:00
André Medeiros
262beb2b67 Merge pull request #11 from christianselig/dependabot/go_modules/github.com/DataDog/datadog-go-4.8.1incompatible
Bump github.com/DataDog/datadog-go from 4.8.0+incompatible to 4.8.1+incompatible
2021-07-22 20:23:48 -04:00
Andre Medeiros
e0579fbcbd fix up for render 2021-07-22 20:22:46 -04:00
dependabot[bot]
0cea7ea214 Bump github.com/DataDog/datadog-go
Bumps [github.com/DataDog/datadog-go](https://github.com/DataDog/datadog-go) from 4.8.0+incompatible to 4.8.1+incompatible.
- [Release notes](https://github.com/DataDog/datadog-go/releases)
- [Changelog](https://github.com/DataDog/datadog-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/DataDog/datadog-go/compare/v4.8.0...v4.8.1)

---
updated-dependencies:
- dependency-name: github.com/DataDog/datadog-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-21 08:27:09 +00:00
Andre Medeiros
71f04afb8a tweak scheduler to only run one enqueue at a time 2021-07-20 14:39:01 -04:00
Andre Medeiros
04d59f280d tweak connections on scheduler 2021-07-20 13:00:53 -04:00
Andre Medeiros
f44572f9f8 change connections to see if database state improves 2021-07-20 12:57:26 -04:00
Andre Medeiros
badda4f191 only set before if last message id has contents 2021-07-15 21:18:43 -04:00
Andre Medeiros
ff27f2323d add message count to notification sender 2021-07-15 21:02:52 -04:00
Andre Medeiros
b20fa0cac9 reformat event 2021-07-15 20:59:59 -04:00
Andre Medeiros
a5e7417f6e send a notification event to datadog 2021-07-15 20:55:53 -04:00
Andre Medeiros
9db593a969 ignore some other stuff 2021-07-15 20:51:05 -04:00
Andre Medeiros
ac4765f813 tweak client settings 2021-07-15 20:50:32 -04:00
Andre Medeiros
26ca63f31b add a profile option to the commands 2021-07-15 20:09:38 -04:00
Andre Medeiros
893e5bd5a3 Use old refresh token if new one is missing 2021-07-15 18:53:22 -04:00
Andre Medeiros
fb6f7751ae print refresh token response 2021-07-15 18:47:11 -04:00
Andre Medeiros
e46082949a tweak pool args 2021-07-15 13:47:22 -04:00
Andre Medeiros
56d72d5dea only get parser when we actually need it 2021-07-15 13:40:29 -04:00