Commit graph

466 commits

Author SHA1 Message Date
Andre Medeiros
1919b36f57 fix subreddit watchers for 2 letter subreddits 2022-05-12 16:23:16 -04:00
Andre Medeiros
132374fb6b freaking sql types 2022-05-08 21:02:59 -04:00
Andre Medeiros
3803fea055 fix watcher creation 2022-05-08 20:56:04 -04:00
Andre Medeiros
bc80526251 Send JSON body, not URL param 2022-05-07 19:30:07 -04:00
Andre Medeiros
b55b52bf2c tweak a bit more 2022-05-07 15:16:04 -04:00
Andre Medeiros
ebe7437bfa log errors on API 2022-05-07 15:10:57 -04:00
Andre Medeiros
10d2e77c4f use request context 2022-05-07 15:04:35 -04:00
Andre Medeiros
b001a51a30 return after error 2022-05-07 13:38:23 -04:00
Andre Medeiros
eaf6a707ca fix bugsnag exception 2022-05-07 13:38:04 -04:00
Andre Medeiros
5e2a846bc1 Fix header for old API 2022-05-07 13:36:23 -04:00
Andre Medeiros
f8b6c062e8 Revert "Don't lowcase subreddits"
This reverts commit b7e5d3860c.
2022-05-07 13:31:52 -04:00
Andre Medeiros
b7e5d3860c Don't lowcase subreddits 2022-05-07 13:30:05 -04:00
Andre Medeiros
fe8baf7989 make watcher keywords more flexible 2022-05-07 13:22:06 -04:00
Andre Medeiros
53a4bbee25 Avoid Sandbox things 2022-05-07 13:01:57 -04:00
Andre Medeiros
596636ee60 formatting 2022-05-07 12:57:14 -04:00
Andre Medeiros
a42ddbeeb3 add notification test endpoints 2022-05-07 12:53:42 -04:00
André Medeiros
f9b9c595cf Better testing (#62)
* some tests

* more tests

* tidy up go.mod

* more tests

* add postgres

* beep

* again

* Set up schema

* fix device test
2022-05-07 12:37:21 -04:00
Andre Medeiros
17019cecfb fix grace period expiry check 2022-05-07 12:05:47 -04:00
André Medeiros
a94aa11845 Merge pull request #66 from christianselig/chore/schema-changes
Changes to schema
2022-05-07 11:52:52 -04:00
Andre Medeiros
4fad10bade fix tests 2022-05-07 11:51:56 -04:00
Andre Medeiros
93052d2770 log account ID 2022-05-07 11:42:20 -04:00
André Medeiros
ec1b847ca4 Merge pull request #71 from christianselig/feat/validate-subreddit-format
Add subreddit validation and de-register from old API
2022-05-07 11:21:41 -04:00
Andre Medeiros
69ea7494f3 write tests 2022-05-07 11:21:01 -04:00
Andre Medeiros
8cdb8bb621 avoid double escaping 2022-05-07 11:08:10 -04:00
Andre Medeiros
8a8431fc0f Add subreddit validation and de-register from old API 2022-05-07 11:06:21 -04:00
Andre Medeiros
310567fde2 change pool size for redis 2022-05-02 11:11:36 -04:00
André Medeiros
ead14c8bf0 Merge branch 'main' into chore/schema-changes 2022-05-01 14:07:34 -04:00
Andre Medeiros
e5bf631a0b check itunes receipts 2022-05-01 14:05:30 -04:00
André Medeiros
ac5e110e74 Merge pull request #70 from christianselig/feat/add-email-endpoint
add contact endpoint
2022-05-01 13:58:20 -04:00
Andre Medeiros
41f504d10c add contact endpoint 2022-05-01 13:57:30 -04:00
Andre Medeiros
49b1acc906 Add threadID 2022-05-01 13:36:35 -04:00
Andre Medeiros
9ba4498c08 Add post thumbnails too 2022-05-01 13:33:09 -04:00
Andre Medeiros
63344348df Fix notification categories for watchers 2022-05-01 13:28:12 -04:00
Andre Medeiros
e48460572a include subreddit fields too 2022-05-01 13:24:10 -04:00
Andre Medeiros
c2a77e7c66 add comment_id on username mention 2022-05-01 13:22:18 -04:00
Andre Medeiros
91456dc9b9 include comment_id for private messages 2022-05-01 13:20:36 -04:00
Andre Medeiros
b886dd3fab Fix post reply notifications 2022-05-01 13:18:16 -04:00
Andre Medeiros
a429ee9987 change remaining notification titles 2022-05-01 13:09:08 -04:00
Andre Medeiros
8502a67352 Change trending notification 2022-05-01 13:04:05 -04:00
Andre Medeiros
2027760e1e Change Subreddit watcher notification 2022-05-01 13:00:34 -04:00
dependabot[bot]
f7cbaad454 Merge pull request #68 from christianselig/dependabot/go_modules/github.com/sideshow/apns2-0.23.0 2022-05-01 16:53:05 +00:00
dependabot[bot]
b74167b626 Merge pull request #69 from christianselig/dependabot/go_modules/github.com/jackc/pgx/v4-4.16.0 2022-05-01 16:52:52 +00:00
dependabot[bot]
b97e712d57 Bump github.com/jackc/pgx/v4 from 4.15.0 to 4.16.0
Bumps [github.com/jackc/pgx/v4](https://github.com/jackc/pgx) from 4.15.0 to 4.16.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.15.0...v4.16.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>
2022-04-22 08:16:30 +00:00
dependabot[bot]
63f1fc9763 Bump github.com/sideshow/apns2 from 0.22.0 to 0.23.0
Bumps [github.com/sideshow/apns2](https://github.com/sideshow/apns2) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/sideshow/apns2/releases)
- [Commits](https://github.com/sideshow/apns2/compare/v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: github.com/sideshow/apns2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-19 08:20:04 +00:00
Andre Medeiros
f267db8497 fix ambiguous expires_at 2022-04-07 11:35:59 -04:00
Andre Medeiros
7c7e1e5e1c More proper types 2022-03-28 17:33:01 -04:00
Andre Medeiros
69675d4d5c add schema 2022-03-28 17:27:07 -04:00
Andre Medeiros
dbcda74ab8 Changes to schema 2022-03-28 17:05:01 -04:00
dependabot[bot]
59e435eb2d Bump github.com/sideshow/apns2 from 0.20.0 to 0.22.0 (#63) 2022-03-28 17:56:16 +00:00
Andre Medeiros
5e48ab682b Add app commit to config 2022-03-28 13:50:06 -04:00