Commit graph

577 commits

Author SHA1 Message Date
Andre Medeiros
815b577bf5 enable/disable notifications per account/device pair 2021-10-17 12:41:12 -04:00
Andre Medeiros
70d73eab4c defer func on stats for scheduler 2021-10-17 12:04:09 -04:00
Andre Medeiros
7d41c4ae3a change info to debug on a chatty log line 2021-10-17 11:56:23 -04:00
Andre Medeiros
6f2c956082 more tweaks 2021-10-17 11:48:41 -04:00
Andre Medeiros
b5bc51dfd7 fix edge cases 2021-10-17 11:27:52 -04:00
Andre Medeiros
b07bf599de only alert on non deleted messages 2021-10-17 11:05:40 -04:00
Andre Medeiros
78e48a8f3b check for last alerted thing that wasn't deleted 2021-10-17 11:02:31 -04:00
Andre Medeiros
ad982edcd7 oops 2021-10-17 10:53:14 -04:00
Andre Medeiros
42243def97 fix the things for messages 2021-10-17 10:47:43 -04:00
Andre Medeiros
62796df6de fix logging 2021-10-17 10:20:07 -04:00
Andre Medeiros
f5d2fe5e81 check for stuck accounts every 2 minutes 2021-10-17 10:18:13 -04:00
Andre Medeiros
c8bec95bed add stuck notifications worker 2021-10-17 10:17:41 -04:00
Andre Medeiros
077cf7cf09 set label so that trending goes through for now 2021-10-14 01:31:37 -04:00
Andre Medeiros
80256b0465 fix validation 2021-10-14 00:26:06 -04:00
Andre Medeiros
06b715fa6a don't let weird watchers through 2021-10-14 00:25:29 -04:00
Andre Medeiros
95b58b2c01 allow 4 chars too 2021-10-13 23:50:34 -04:00
Andre Medeiros
cb0e05ac62 allow more chars for ids 2021-10-13 23:47:50 -04:00
Andre Medeiros
7714046de2 responses 2021-10-13 15:11:27 -04:00
Andre Medeiros
08fd2ef9a5 allow editing watchers too 2021-10-13 11:11:28 -04:00
Andre Medeiros
db3268b0d0 catch the subreddit criteria 2021-10-13 10:44:47 -04:00
Andre Medeiros
0674ddf730 allow user notifications to be filtered by subreddit 2021-10-13 10:43:05 -04:00
André Medeiros
84c03669f1 Merge pull request #30 from christianselig/chore/validations
Add validations
2021-10-12 12:05:44 -04:00
Andre Medeiros
eb0d6230d7 add tags and validations 2021-10-12 12:04:20 -04:00
Andre Medeiros
553dc53eed Add validations 2021-10-12 10:18:40 -04:00
Andre Medeiros
65792abd94 add subreddit trending posts watcher 2021-10-10 11:51:42 -04:00
Andre Medeiros
009d60dc2f don't alert user posts in private subreddits 2021-10-09 12:19:52 -04:00
André Medeiros
38e596b27e Merge pull request #28 from christianselig/feature/follow-users 2021-10-09 11:51:50 -04:00
Andre Medeiros
19ed17b086 honor user perference to not be followed and delete them 2021-10-09 11:44:19 -04:00
Andre Medeiros
4955f74f52 user following 2021-10-09 10:59:20 -04:00
André Medeiros
169591a6a2 Merge pull request #27 from christianselig/dependabot/go_modules/github.com/go-redis/redis/v8-8.11.4 2021-10-09 09:04:51 -04:00
dependabot[bot]
df1fc279d9 Bump github.com/go-redis/redis/v8 from 8.11.3 to 8.11.4
Bumps [github.com/go-redis/redis/v8](https://github.com/go-redis/redis) from 8.11.3 to 8.11.4.
- [Release notes](https://github.com/go-redis/redis/releases)
- [Changelog](https://github.com/go-redis/redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-redis/redis/compare/v8.11.3...v8.11.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-05 08:28:17 +00:00
Andre Medeiros
9854c0ecc4 fix lint 2021-09-27 15:54:29 -04:00
Andre Medeiros
a63171f833 tweak notification 2021-09-27 15:23:56 -04:00
Andre Medeiros
a26b1f6a32 delete devices heuristic fix 2021-09-25 14:56:14 -04:00
Andre Medeiros
65202112f9 Sandbox thing 2021-09-25 14:47:14 -04:00
Andre Medeiros
203b6600d5 don't be clever with server errors 2021-09-25 14:42:53 -04:00
André Medeiros
b9e6950cb1 Merge pull request #25 from christianselig/feature/subreddit-watchers
Subreddit notifications
2021-09-25 14:30:04 -04:00
Andre Medeiros
537d1711fe record watcher hits 2021-09-25 14:27:58 -04:00
Andre Medeiros
24ef6cce6b list watchers endpoint 2021-09-25 14:17:23 -04:00
Andre Medeiros
bc9456cba2 tweak notification content 2021-09-25 14:05:34 -04:00
Andre Medeiros
698c65b1f4 tweaks 2021-09-25 14:02:00 -04:00
Andre Medeiros
a5bd4c2ce4 check last 100 hot posts too 2021-09-25 13:05:05 -04:00
Andre Medeiros
3361403379 subreddit notifications 2021-09-25 12:56:01 -04:00
Andre Medeiros
fc1065deb5 fix ci 2021-09-25 09:19:42 -04:00
Andre Medeiros
2902720675 go mod tidy 2021-09-25 09:06:08 -04:00
André Medeiros
fac63f8509 Merge pull request #23 from christianselig/dependabot/go_modules/github.com/go-co-op/gocron-1.9.0
Bump github.com/go-co-op/gocron from 1.7.1 to 1.9.0
2021-09-25 09:05:00 -04:00
André Medeiros
d47c538e60 Merge pull request #24 from christianselig/dependabot/go_modules/github.com/heroku/x-0.0.32
Bump github.com/heroku/x from 0.0.31 to 0.0.32
2021-09-25 09:04:22 -04:00
dependabot[bot]
8ed6c1cfcf Bump github.com/heroku/x from 0.0.31 to 0.0.32
Bumps [github.com/heroku/x](https://github.com/heroku/x) from 0.0.31 to 0.0.32.
- [Release notes](https://github.com/heroku/x/releases)
- [Commits](https://github.com/heroku/x/compare/v0.0.31...v0.0.32)

---
updated-dependencies:
- dependency-name: github.com/heroku/x
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-20 08:26:13 +00:00
dependabot[bot]
32c605f4f2 Bump github.com/go-co-op/gocron from 1.7.1 to 1.9.0
Bumps [github.com/go-co-op/gocron](https://github.com/go-co-op/gocron) from 1.7.1 to 1.9.0.
- [Release notes](https://github.com/go-co-op/gocron/releases)
- [Commits](https://github.com/go-co-op/gocron/compare/v1.7.1...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/go-co-op/gocron
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-14 08:21:11 +00:00
Andre Medeiros
aa08278670 receipts and device active until 2021-09-11 10:53:19 -04:00