notifications-consumer merge requestshttps://gitlab.cern.ch/push-notifications/notifications-consumer/-/merge_requests2021-02-26T16:48:06+01:00https://gitlab.cern.ch/push-notifications/notifications-consumer/-/merge_requests/25[#21] Refactor ids: use uuid2021-02-26T16:48:06+01:00Emmanuel Ormancey[#21] Refactor ids: use uuid- not much, DB changes for ids as string
Closes #21- not much, DB changes for ids as string
Closes #21PrototypeEmmanuel OrmanceyCarina AntunesEmmanuel Ormanceyhttps://gitlab.cern.ch/push-notifications/notifications-consumer/-/merge_requests/24"[PUSH] Add safaripush new consumer"2021-02-25T16:56:11+01:00Emmanuel Ormancey"[PUSH] Add safaripush new consumer"New consumer for safari push.
Using python apns library https://pypi.org/project/apns2/
Using certificate authentication for now, will have to be changed at some point to token auth (cannot now, TBD with Apple team).
Closes #20New consumer for safari push.
Using python apns library https://pypi.org/project/apns2/
Using certificate authentication for now, will have to be changed at some point to token auth (cannot now, TBD with Apple team).
Closes #20PrototypeEmmanuel OrmanceyCarina AntunesIgor JakovljevicEmmanuel Ormanceyhttps://gitlab.cern.ch/push-notifications/notifications-consumer/-/merge_requests/17[#17] "Add encoding parameter to webpush processor for non standard aes128gcm...2021-02-01T18:27:41+01:00Emmanuel Ormancey[#17] "Add encoding parameter to webpush processor for non standard aes128gcm cases"- Added encoding option to allow sending with aesgsm encoding for specific devices (w10 testing for example)
- Added support for webpush notifications link and imgurl
- Added consumer webpush entry in compose-full
Closes #17- Added encoding option to allow sending with aesgsm encoding for specific devices (w10 testing for example)
- Added support for webpush notifications link and imgurl
- Added consumer webpush entry in compose-full
Closes #17PrototypeEmmanuel OrmanceyEmmanuel Ormanceyhttps://gitlab.cern.ch/push-notifications/notifications-consumer/-/merge_requests/16[#16] Implement browser processor2021-01-18T15:40:23+01:00Emmanuel Ormancey[#16] Implement browser processor- Added webpush processor
- Implements send to browser via webpush using pywebpush module- Added webpush processor
- Implements send to browser via webpush using pywebpush modulePrototypeMichal KolodziejskiCarina AntunesIgor JakovljevicMichal Kolodziejskihttps://gitlab.cern.ch/push-notifications/notifications-consumer/-/merge_requests/13[#13] Implemented Mail Gateway Processor2020-12-11T14:13:33+01:00Igor Jakovljevic[#13] Implemented Mail Gateway ProcessorImplemented Mail Gateway Processor
Included a `.sql` script that creates and seeds the psql database for better development
Closes #13Implemented Mail Gateway Processor
Included a `.sql` script that creates and seeds the psql database for better development
Closes #13PrototypeMichal KolodziejskiCarina AntunesIgor JakovljevicCaetan Tojeiro CarpenteMichal Kolodziejskihttps://gitlab.cern.ch/push-notifications/notifications-consumer/-/merge_requests/9[#7] Add logging2020-11-20T12:31:48+01:00Dimitra Chatzichrysoudimitra.chatzichrysou@cern.ch[#7] Add loggingCloses #7Closes #7PrototypeMichal KolodziejskiCarina AntunesIgor JakovljevicMichal Kolodziejskihttps://gitlab.cern.ch/push-notifications/notifications-consumer/-/merge_requests/5[#10] Configure Sentry2020-11-12T18:07:50+01:00Dimitra Chatzichrysoudimitra.chatzichrysou@cern.ch[#10] Configure SentryCloses #10Closes #10PrototypeMichal KolodziejskiCarina AntunesMichal Kolodziejskihttps://gitlab.cern.ch/push-notifications/notifications-consumer/-/merge_requests/4[#8] Update CI to push build image to image stream2020-11-13T13:49:40+01:00Dimitra Chatzichrysoudimitra.chatzichrysou@cern.ch[#8] Update CI to push build image to image streamChanges:
- `Update .gitlab-ci.yml`
Closes #8Changes:
- `Update .gitlab-ci.yml`
Closes #8PrototypeCarina AntunesCarina Antuneshttps://gitlab.cern.ch/push-notifications/notifications-consumer/-/merge_requests/55[#44] Fix webpush issue on empty message body2021-05-25T01:09:37+02:00Emmanuel Ormancey[#44] Fix webpush issue on empty message bodyCloses #44Closes #44PilotEmmanuel OrmanceyEmmanuel Ormanceyhttps://gitlab.cern.ch/push-notifications/notifications-consumer/-/merge_requests/52[#43] HTML Decode content for push2021-05-10T11:34:21+02:00Emmanuel Ormancey[#43] HTML Decode content for pushCloses #43Closes #43PilotEmmanuel OrmanceyEmmanuel Ormanceyhttps://gitlab.cern.ch/push-notifications/notifications-consumer/-/merge_requests/51[#42][HOTFIX] Invalid link to channel and notification link in Mail and Digest2021-05-17T15:54:30+02:00Emmanuel Ormancey[#42][HOTFIX] Invalid link to channel and notification link in Mail and DigestCloses #42Closes #42PilotEmmanuel OrmanceyEmmanuel Ormanceyhttps://gitlab.cern.ch/push-notifications/notifications-consumer/-/merge_requests/48[#41] Catch error 410 Gone to not retry2021-04-30T15:14:25+02:00Emmanuel Ormancey[#41] Catch error 410 Gone to not retryCloses #41
- Sendpush will only throw an exception if error is temporary (503) so it will be retried.
- If error 410 (device does not accept notifications anymore) then specific log for later cleanup
For reference Webpush Error codes h...Closes #41
- Sendpush will only throw an exception if error is temporary (503) so it will be retried.
- If error 410 (device does not accept notifications anymore) then specific log for later cleanup
For reference Webpush Error codes https://autopush.readthedocs.io/en/latest/http.html#error-codesPilotEmmanuel OrmanceyEmmanuel Ormanceyhttps://gitlab.cern.ch/push-notifications/notifications-consumer/-/merge_requests/47[#39] Handle egroups orginated email permissions in email-gateway consumer2021-05-07T12:20:34+02:00Emmanuel Ormancey[#39] Handle egroups orginated email permissions in email-gateway consumerCloses #39
- Check if incoming listid value is an authorized egroup for this channelCloses #39
- Check if incoming listid value is an authorized egroup for this channelPilotEmmanuel OrmanceyEmmanuel Ormanceyhttps://gitlab.cern.ch/push-notifications/notifications-consumer/-/merge_requests/46[#38] Add Unsubscribe link2021-05-17T17:40:18+02:00Emmanuel Ormancey[#38] Add Unsubscribe linkAdds an Unsubscribe link in mail footer
Needs ENV var for mail / mail_daily:
```EMAIL_AES_SECRET_KEY=fill-me```
Closes #38Adds an Unsubscribe link in mail footer
Needs ENV var for mail / mail_daily:
```EMAIL_AES_SECRET_KEY=fill-me```
Closes #38PilotEmmanuel OrmanceyEmmanuel Ormanceyhttps://gitlab.cern.ch/push-notifications/notifications-consumer/-/merge_requests/41[#30] Allow members and administrators to send notifications2021-04-15T15:42:55+02:00Emmanuel Ormancey[#30] Allow members and administrators to send notificationsThis MR is the last for Issue https://gitlab.cern.ch/push-notifications/notifications-design/-/issues/7
Covers the consumer ```email_gateway``` permission check when new mail submission is received.
- Updated ```postgres_data_source.py`...This MR is the last for Issue https://gitlab.cern.ch/push-notifications/notifications-design/-/issues/7
Covers the consumer ```email_gateway``` permission check when new mail submission is received.
- Updated ```postgres_data_source.py``` with full Channel model and relations.
- Added method ```can_send_to_channel``` which checks if the sender email matches the channel permission (submissionByEmail field)
Closes #30PilotEmmanuel OrmanceyEmmanuel Ormanceyhttps://gitlab.cern.ch/push-notifications/notifications-consumer/-/merge_requests/101[#77] Resolve "Investigate webpush failures"2022-09-30T12:48:53+02:00Emmanuel Ormancey[#77] Resolve "Investigate webpush failures"Closes #77
Add device ID to (sentry) Log to facilitate deletion of inactive devicesCloses #77
Add device ID to (sentry) Log to facilitate deletion of inactive devicesCurrent sprint: Week 34 + 35Emmanuel OrmanceyEmmanuel Ormanceyhttps://gitlab.cern.ch/push-notifications/notifications-consumer/-/merge_requests/74[#56] Add Category to mail header2021-09-27T09:17:00+02:00Jose Semedo[#56] Add Category to mail headercloses #56
Email header now changes when the channel has a category.
![image](/uploads/1aea835e6d7486f4d1a093cd95035fbf/image.png)
![image](/uploads/6e8e637b48d1c3d18718608f4fee4c60/image.png)
![image](/uploads/a3a77c5ab28bd1430ace83...closes #56
Email header now changes when the channel has a category.
![image](/uploads/1aea835e6d7486f4d1a093cd95035fbf/image.png)
![image](/uploads/6e8e637b48d1c3d18718608f4fee4c60/image.png)
![image](/uploads/a3a77c5ab28bd1430ace83e73183f504/image.png)
Tested with consumer `docker-send-email.py` script.
Run with `make docker-build-test`