Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/planetary-social/nos-notification-service-go

A service which delivers push notifications to APNs
https://github.com/planetary-social/nos-notification-service-go

Merge pull request #51 from planetary-social/flake-dev

Add nix flake for local development

68ab31b15697eec50b1ce66833fe20b7c0916a47 authored about 1 year ago
Add flake for local development

b737a3c882faa36ce0c18c9220cf27411ab02b36 authored about 1 year ago
add basic health endpoint

28a73c64b3eccb047c2c9fc9d1f8047913e9abde authored about 1 year ago
ignore direnv files

d7fcb9500851d202df6a31a8dc99f06439b86cf5 authored about 1 year ago
Merge pull request #49 from planetary-social/deployment-readme

Add deployment link to README

9483406f4cce807193c93835b8d01d87f770d0d4 authored about 1 year ago
Add deployment link to README

Adds a short link to our larger deployment doc in Notion

91b956d038df148afc9bd18da8054b87cdbf9b00 authored about 1 year ago
Fix a panic in go-nostr by bumping it (#46)

36895dc2cc2bdacf492c364ce76fba8e70e75e11 authored about 1 year ago
Correct env variable name in README (#45)

fbece3dbe643d332e140ac04bcb4a9238257336c authored about 1 year ago
Emit external events (#44)

a6be5adb67fa4b9267e8e07073cfb41b32357f12 authored over 1 year ago
Add tools to debug events/notifications (#42)

Also adds a field which clearly notes when a notification was created.

cf9221e0cd1166962e5f0979ad258518e760e138 authored over 1 year ago
Don't save empty tags

This comes down to a limitation in Firestore, we are trying to put an
empty string into a Firest...

e3997b235e5e7a29f50d9d86daac39feaf5ab2e8 authored over 1 year ago
Add apns metrics

I don't know why we didn't have this earlier.

9ca9450c36494d80833830e82fb01bb963e484f8 authored over 1 year ago
Add build info to metrics

d5a5201cb320f2a3bedafb1cbd11e90247452473 authored over 1 year ago
Take relays and public keys younger than 6 motnhs into consideration

3341187ffae809995c71af74b9e30a9a12d67d06 authored over 1 year ago
Don't send notifications to tokens that weren't updated in the last 6 months

Also we are now running the query in transaction since the emulator
apparently supports that?

3666f39a47eb9f83c34f8dcf14b0a9a3f5ddf554 authored over 1 year ago
Gentler timeouts

9c2d26510839fc5ed7c0c7c354833ce9e584dbc3 authored over 1 year ago
Merge pull request #36 from planetary-social/rabble-patch-1

Adding MPL 2.0 LICENSE

0766c0d828e82a66282d972a5fe5c746c93b791e authored over 1 year ago
Adding MPL 2.0 LICENSE

5e4f88a15860129e2f01e5b9b28c06ab63377aed authored over 1 year ago
Add cache which avoids querying Firestore if events were already saved

This should prevent confusing metrics showing up in Grafana which
indicate that the events are b...

3398f38038bc49e31564cbeeee068632eb14cfa2 authored over 1 year ago
Fix metrics not being captured correctly

We deferred the entire call in a function which means that the tracking
call wasn't being starte...

e13372957ec56b0b3c24da15e5e954775035441b authored over 1 year ago
Notification push type background

4033145e1208a8cac285eee9f54c873211aa6a75 authored over 1 year ago
Set notification priority to 5 as recommended by the documentation

b7718d89f98b95e7e8cb8478ab55a25d9f525fa5 authored over 1 year ago
Add a way to create event id from note...

dba3feb93afda2fd69679f9d7f4ef84ab5af0e31 authored over 1 year ago
Implement better integration tests

The tests were also broken because we don't run them in the pipeline but
I think starting the en...

362ecf02a3c8fbce30226fd1de697b6d3f2ae0fb authored over 1 year ago
Log apns address

cec6d76a44ec2047cbc1943c15058946a6b4c495 authored over 1 year ago
Implement getting events in ports

d786840f2f202e494eff8c63fcb2857b161b9aec authored over 1 year ago
Do not create notifications or save tags if event has a lot of tags

083a41dde1a15ceeb2038f415962e42a7909f699 authored over 1 year ago
Don't store full events under tags

I wanted to be smart and save on reads but this doesn't work with huge
events.

Fixes errors suc...

4ca647c84795796d50a324eef46509bc97b592f8 authored over 1 year ago
Fix incorrectly loading certain env variables

8c4dd9dc405f068212d574247b55eb55fc137918 authored over 1 year ago
Merge pull request #15 from planetary-social/push-stable-image

add workflow for publishing stable image on tag

951e9e34280b0a94ceb30918de5c54bbf4c6d2c5 authored over 1 year ago
fix typo for image name

fe65491810e54f2b3272911047fbfabf9e611f2e authored over 1 year ago
Add application handler result to metrics

ff1aa6845abdba00bf9dd19da883677c8fe08f75 authored over 1 year ago
Less noisy logging

fccf4e7450b5777a86192e05ad8b3ca7f6451a14 authored over 1 year ago
Add a name to prometheus logger

de92118dbb7293054be4b25d51e0a3b51cc3002a authored over 1 year ago
Fix Firestore requests are too large when saving tags

Thanks Google.

msg="error handling a message"
error="error calling the handler: error s...

dd762d31b4ef573aaba794d3076146ad5133a0ad authored over 1 year ago
Merge pull request #14 from planetary-social/minor-tweaks

Update to not commit env files or certs

6a4c3ec6f21f5a3c364da365ad030537266b87fc authored over 1 year ago
Only request events from the last 24h

3795a09e916fd8c6ed40b914be85792dec9231e6 authored over 1 year ago
Add event kind checks to the handler which saves events

2ffca553cf519363211c26211a73fd5033cb829d authored over 1 year ago
Only download notes

We made this decision with Matt after seeing high Firestore usage due to
saving contact lists wi...

6a959a6c89ad3876767ab762bb50f5a194927de9 authored over 1 year ago
I can't live with this (#17)

25374abf786811f8edd7e5cb448ec5fdd091198e authored over 1 year ago
add workflow for publishing stable image on tag

cd7bf69b7a50692c86f8b55fec530fb739bb1297 authored over 1 year ago
Update to not commit env files or certs

Putting this in now just to be doubly safe that we don't commit any
tokens or env vars we don't ...

4e5c741c44b6504d8ddfa5505aeb7a08db21e9d3 authored over 1 year ago
Make log level configurable (#13)

10920642e500f49b327577cfa2268eaf06bf9d85 authored over 1 year ago
Add subscription metrics (#11)

dfffcc18551d3621e4a4db14c056932a81844404 authored over 1 year ago
Ensure that we are passing correct types

72f515af1ccc24ea587eddae4282be4f2af21f14 authored over 1 year ago
Make saving tags more efficient

271728aae57ce54ded815766b58d92516f701679 authored over 1 year ago
Process received events using pubsub (#10)

Related to #8. The point of this is to asynchronously save tags and generate notifications. I th...

cf665b8e2d820766a37c482dc40aa350ae03b985 authored over 1 year ago
Update README.md

12f062d04799398b8858a6b2ebaf1e3d0a4fcd2e authored over 1 year ago
Merge pull request #9 from planetary-social/deployment

Improve Build steps for easier deployment

9c609ae3cea6d23d4644f34ea913d9158719000c authored over 1 year ago
Add github workflow for publishing docker image

37ba739c7f2b516f4acd8cc2c3404836880e9f91 authored over 1 year ago
Use multi-stage build in Dockerfile

2378089db889a4b96f6661cd41b9c2d59ce0f967 authored over 1 year ago
Download events from last week and not last year

8349b490240c2eee684a804d7e2750f7e752617c authored over 1 year ago
Fix notification tokens are not stored correctly

0bab3abd92c30a6a225b1cd901424fffc32a666d authored over 1 year ago
Annotate logger name

559fe7af32fad682d2d6e976088b93cbc5e19a66 authored over 1 year ago
Add help prometheus labels

d182cacdd284cdf58d5a1922c8b4e3b8f81b4fd0 authored over 1 year ago
Track state of relay downloaders

2ee144ebf7a1b013ccd76fbd6b73c1d17ffff376 authored over 1 year ago
Annotate runner errors

865cbd236a02526ed7fb08212d582665fe207968 authored over 1 year ago
Don't bring down the whole program if we can't get a list of relays to query

I don't think this is what we want.

50c47d35644684fe9a8747cf070356cf90a30b61 authored over 1 year ago
Add metrics (#7)

b73c66da136cdf21199abeaf588bda97dd058138 authored over 1 year ago
Fix hardcoded path by accident

901fbe98f42f030958a52c48bddf186d68f4e7f9 authored over 1 year ago
Add more local development instructions

7b588264c36b55cad6d90c3322afc83913984f52 authored over 1 year ago
Tips

f4e17066bf359b37537e403ee1b604c02bf7f847 authored over 1 year ago
Improve README

434b1936ff2a6aadf06a02cf0c59183f406871c1 authored over 1 year ago
Improve docs and load Firstore credentials

bd214ea5319ab5bed28807320a7237fe12b2221e authored over 1 year ago
Add a dockerfile and make the service configurable using env variables

0346c594099e00c79e9386acc52bbb6ca82c19c8 authored over 1 year ago
Fix relay address not being saved correctly

8f3e2da27e5618d12c64a4ce44dfb397ccecbf36 authored over 1 year ago
Add a way to query events

43346b05e904ab0864bdb5d1f6e1942aec518347 authored over 1 year ago
Query by tags

d9ef7e9367a456001fc4028155857ddcf739ef93 authored over 1 year ago
Shutdown firestore cleanly

820418852eaf98563b586c3541ff16835445da5f authored over 1 year ago
Fix multiple APNs tokens per public key were not supported when retrieving tokens

2a78347936375354def513f338c36d2c64c3a679 authored over 1 year ago
Send silent notifications (#3)

e8b016ccbe98988e4eb391a03b5db08f861d4e26 authored over 1 year ago
Notifications for notes, reactions and encrypted direct messages

4c9656b1092846a2a2d23ed386176cabf1678fac authored over 1 year ago
Correct the topic in the test program

8b0681e3e4404bac5bac8fe4c43944a3179ec1ab authored over 1 year ago
Load APNs cert in the test program

d38c34566638a0f95e9626a452534051045a40ec authored over 1 year ago
Don't stop the entire program if event can't be processed

Ideally I would see a pubsub here to have retries but in reality it
doesn't matter as we will ju...

2b946a03300048123f09f40f59cf9229e5b2db6e authored over 1 year ago
Add a target to restart the emulator

066c307bbe072e07e4bba6eb6aff4fbcb037b6b9 authored over 1 year ago
Mod tidy

ac27795d315625b5a53bf08f77fc4f595af71402 authored over 1 year ago
Remove an unused function

712a7c4e7ba89e4c34ebfc64deb00b54a1cb2b24 authored over 1 year ago
Add support for dev APNs environment

a25278355e103afe2685fd517074faadffe236a2 authored over 1 year ago
Fix integration tests

3b961c3c46ad03f8f3501b664ca2ea9a238ed557 authored over 1 year ago
Less noisy logging

27eb8f282ec0ffd1ad7e1fc244c88e662eebcf6e authored over 1 year ago
Fix document check

220f9da828b672ef106e564b0e14cae499cf3f4c authored over 1 year ago
Require matching public key

Maybe we should just remove it from the payload.

3f8b1b74b3e4e5ea6f9d458a4d855c4678699719 authored over 1 year ago
Require one event per public key

d16d21497a345331950d7a436d53dee996b8e924 authored over 1 year ago
Remove locale

Apparently iOS supports localization for notifications which makes sense.

5b123e44f31ee2f67f72222f2748450fd1223a1e authored over 1 year ago
Make sending multiple notifications less likely

59f6581bc07b8dd47b5f24d8ef9bdd7809ccc394 authored over 1 year ago
Generate notifications and send them to APNs (#2)

840293050b83cd2a3b03490e06c2065717521787 authored over 1 year ago
Don't consider subscriptions closed after EOSE is received

57dfe4d073892be02eefd16cda4f372d280d77ad authored over 1 year ago
Add logging

6d8c9864489a6f0a3b3005dc48e99d330931854f authored over 1 year ago
Fix compilation problems

da742996e9c2d43d86021bbfed49d8c25dbbe49b authored over 1 year ago
Download tagged events not events from a public key

I confused myself.

678069aa4e1bc072a6fd1ae5b93f0fc6356dc5d0 authored over 1 year ago
Cleanup

5f42409c707add06e22b835c883b78a60ed9c15b authored over 1 year ago
Save incoming events

b83fb92cf6ccdb6879b018bc1c8d2c935fa7e6c0 authored over 1 year ago
Fix tests

1b1652a4960d56cf172371d2ec0a13f09fdb5c85 authored over 1 year ago
Run the formatter

90430f70f1bf100cb2d071d653fc9feb3d81dae4 authored over 1 year ago
Add missing fields to event

7e2fb081859ec5c5418d817c442cc275499dbad8 authored over 1 year ago
Add missing tools

839cd4ea5a9fe8bde70a0c98932ab2703f12f383 authored over 1 year ago
Drop support for Go 1.19

8a8bd6fcf282299ce614d49dba98345f5292ea90 authored over 1 year ago
Add CI

4d78c1af1c77fa97f3c952718dc599b88ff401f8 authored over 1 year ago
Download events

92ecbee7b20339af721b09a4d991298bbd805765 authored over 1 year ago