Skip to content

NoPostNow 0.2.4

Latest

Choose a tag to compare

@jthy10 jthy10 released this 14 Oct 20:08
· 6 commits to main since this release
43ae87a

Security, reliability and accessibility fixes, plus a new option for what happens to deleted photos. Updating is recommended. No data migration is needed.

Security

  • Push notifications are only sent to the browsers' own push services. Before this, a member could register any address as their device, and the server would send requests to it, including to machines on the host's home network. Saved devices that don't match are removed the next time a push goes out.
  • Likes can't be stacked, and profile timestamps can only be set by the server.
  • Notifications must point at a real post, and a "liked your photo" notification needs a real like.
  • In message threads and admin chats, each person can only update their own read marker and their own message preview.
  • A "just posted" push goes out once per post, only within 10 minutes of posting.
  • Announcement links and notification taps can't send people to another site.

New: keep deleted photos

Admin → System → Deleted photos, off by default. When it's on, photos from deleted posts, replaced profile pictures and closed accounts are moved to a deleted/ folder in the data folder instead of being erased. Each deleted post photo gets a small note next to it saying who posted it and when.

Fixes

  • An error page with "Try again" replaces the blank screen when something breaks.
  • The feed shows "Try again" when posts fail to load, and picks up new posts after the app has been in the background.
  • Blocked people's posts no longer flash on screen while the page loads.
  • Messages and comments:
    • Enter no longer sends half a word on Japanese, Chinese and Korean keyboards.
    • Text typed while a message is sending is kept.
    • New messages only scroll the view down when you're already at the bottom.
    • "Load earlier messages" works past the newest 200.
  • "Yesterday" labels stay right across daylight-saving changes, and streak flames update at midnight.
  • Pushes expire: 30 minutes for the daily reminder, a day for everything else.
  • Uploads:
    • Size and type are checked before uploading, and errors are in plain words.
    • HEIC photos always get a copy that other browsers can show.
    • A failed post no longer leaves its photo behind on disk.
  • Admin console:
    • Bulk deletes keep going past a failed item and say how many failed.
    • Pages step back when the last one empties.
    • The announcement editor keeps its confirmation after saving.
    • The two-factor screen has a "Back to password" link.
    • On phones, tapping a recent photo no longer starts a delete.
  • The offline cache has size limits.
  • Tapping the logo on the feed scrolls to the top instead of reloading.

Accessibility

  • Sheets and pop-ups work with the keyboard and screen readers.
  • Settings switches are named.
  • Grey text has enough contrast.
  • Phones can be used in landscape.

Updating

Get the new code (git pull, or download and replace the files, keeping your data folder) and start it again. The launcher installs anything new and the site rebuilds itself on first start.