Commit graph

795 commits

Author SHA1 Message Date
binwiederhier 5784b07f14 Bump 2023-06-28 20:23:10 -04:00
binwiederhier 64ac111d55 Rename UI_MODE to THEME 2023-06-28 13:30:51 -04:00
binwiederhier e359499e79 Bump install.md 2023-06-28 12:59:30 -04:00
binwiederhier 48a5a55e2f Release notes 2023-06-28 12:54:13 -04:00
nimbleghost 9216dbe28a Add Safari IndexedDB known issue 2023-06-28 10:38:02 +02:00
nimbleghost 0266c707cc Add docs detailing web notification support 2023-06-27 08:28:33 +02:00
nimbleghost 8f6f97b8e4 Update PWA docs
Clarify that macOS PWA support is limited to Safari on
macOS 14 (releasing Q4 2023).
2023-06-25 17:51:52 +02:00
binwiederhier 79df1c9040 Words 2023-06-25 09:48:12 -04:00
binwiederhier 9a71c3d8dc Shrink images 2023-06-25 09:47:09 -04:00
binwiederhier 74788893e9 Add Safari images 2023-06-25 09:43:51 -04:00
binwiederhier 5c0ecc0250 Cont'd docs 2023-06-24 22:40:40 -04:00
binwiederhier c0ac2c95ca Cont'd docs 2023-06-24 22:08:57 -04:00
nimbleghost be4c80e201 Improve web push docs 2023-06-24 20:35:59 +02:00
binwiederhier 27a4e58fb1 Merge branch 'main' into pwa 2023-06-18 20:24:47 -04:00
nimbleghost 5ce78660cf Doc fixes (2) 2023-06-18 22:42:19 +02:00
nimbleghost 89f5cc577e Doc fixes 2023-06-18 21:17:49 +02:00
binwiederhier dc7dd836c6 web-push-startup-queries 2023-06-18 14:20:22 -04:00
binwiederhier 88c6b4adae Rename web-push-subscriptions-file to web-push-file 2023-06-17 21:57:47 -04:00
binwiederhier 020996ea04 Minor changes 2023-06-17 21:51:04 -04:00
skittlesvampir 2283cc4ce6
Update Docker-Compose Version in install.md
According to https://docs.docker.com/compose/compose-file/compose-file-v2/#healthcheck, 'start_period' is only supported since version 2.3
2023-06-17 12:19:51 +02:00
binwiederhier c43a1166e2 Docs, mostly 2023-06-16 16:55:42 -04:00
nimbleghost fa418eef16 Update develop.md sw docs
turns out http://localhost runs service workers just fine on all desktop
browsers 🤷
2023-06-15 00:42:26 +02:00
binwiederhier ad36f5db46 Merge branch 'main' into pwa 2023-06-14 11:20:49 -04:00
binwiederhier e96e35b40b Newly created access tokens are now lowercase only 2023-06-14 11:20:29 -04:00
binwiederhier 9e19183471 Merge branch 'main' into pwa 2023-06-12 21:13:16 -04:00
binwiederhier ae3e8a0094 Blog post 2023-06-12 21:13:05 -04:00
binwiederhier 4e44b034bd Merge branch 'main' of github.com:binwiederhier/ntfy into pwa 2023-06-12 19:38:17 -04:00
binwiederhier e6c83b6efb Add Lemmy, etc. 2023-06-12 08:48:51 -04:00
binwiederhier d3ac976d05 Remove web-push-(enabled|duration*), change endpoint, other cosmetic changes 2023-06-08 14:30:19 -04:00
nimbleghost f3db0e083e Add release notes 2023-06-07 21:57:22 +02:00
nimbleghost 18edff9afe Add TODO comment about Safari 17 PWA 2023-06-07 21:09:13 +02:00
nimbleghost 0f0074cbab Implement push subscription expiry 2023-06-07 21:09:13 +02:00
nimbleghost 4648f83669 Format emojis in the service worker directly 2023-06-07 20:38:21 +02:00
nimbleghost f94bb1aa30 Improve web push docs 2023-06-07 20:38:21 +02:00
nimbleghost a9fef387fa Add web push tests 2023-06-07 20:38:21 +02:00
nimbleghost ff5c854192 Add PWA, service worker and Web Push
- Use new notification request/opt-in flow for push
- Implement unsubscribing
- Implement muting
- Implement emojis in title
- Add iOS specific PWA warning
- Don’t use websockets when web push is enabled
- Fix duplicate notifications
- Implement default web push setting
- Implement changing subscription type
- Implement web push subscription refresh
- Implement web push notification click
2023-06-07 20:38:20 +02:00
binwiederhier c045f4d21f Integrations 2023-06-07 13:22:12 -04:00
binwiederhier dc8932cd95 Fix segault in ntfy pub 2023-06-01 14:08:51 -04:00
binwiederhier d084a415f3 Do not forward UP messages to upstream 2023-05-31 15:36:02 -04:00
nimbleghost 11f8984127 Add a way to use Docker for building everything
I’d like to test #751 on my own instance, but installing all the build
dependencies on my server isn’t ideal - having this script in the repo
would make it possible to simply point my compose file to the git repo
and have it build the Linux binary itself.

Note that it uses a somewhat “inefficient” builder step, i.e. not
combining steps together to reduce layers, as it uses a multi-stage
build to have a lean final image. This makes it easier to re-build if
something needs to change, as the cache is used more optimally.

For example, if only some go files change, most of the build is already
cached and only the go step gets re-run.

The more “efficient” builder step would look like this, but would have
to build the docs, web app and go CLI for any change in any file:

```Dockerfile
FROM golang:1.19-bullseye as builder

RUN apt-get update && \
    curl -fsSL https://deb.nodesource.com/setup_18.x | bash && \
    apt-get install -y \
    build-essential \
    nodejs \
    python3-pip

WORKDIR /app
ADD . .

RUN make web docs cli-linux-server
```
2023-05-26 22:22:21 +02:00
binwiederhier c16da26780 Release notes 2023-05-24 22:28:26 -04:00
binwiederhier 6bb5274d83 Release notes 2023-05-24 21:34:25 -04:00
binwiederhier fa29da1a32 Release notes 2023-05-23 20:19:17 -04:00
binwiederhier 6f230a796e Release notes 2023-05-23 19:23:34 -04:00
ksurl 5379474c41 add docs for generating query param for access token 2023-05-23 01:20:56 +00:00
binwiederhier 168ad8bf1b Support encoding any header as RFC 2047 2023-05-21 20:56:56 -04:00
binwiederhier 7838b253b4 Android release notes 2023-05-21 17:26:29 -04:00
binwiederhier 4ad0fb1f57 Fix docs ToC parsing issue 2023-05-19 09:25:25 -04:00
binwiederhier 3b3e6ac2cd Rename twilio-from-number to twilio-phone-number 2023-05-18 13:32:27 -04:00
binwiederhier 25d3a66f91 Upstream access token 2023-05-18 13:08:10 -04:00