Commit Graph
138 Commits
Author SHA1 Message Date
ops d380db741b bin.js: exit on dead sbot connection instead of wedging
ssb-viewer holds one muxrpc handle captured in a closure and has no
reconnect path. When sbot is OOM-killed and restarted by run-server.sh,
the viewer kept port 8807 open while holding a dead connection and never
answered again -- the silent wedge.

Listen for muxrpc closed and exit(1) so the while-loop in
run-ssb-viewer.sh restarts with a fresh connection. Also poll whoami to
catch half-open connections where closed never fires.

Verified: killing sbot now self-heals in ~4s instead of hanging.
2026-08-14 17:35:10 +00:00
ops e2df7da3fe Baseline: local ssb-acme-validator tarball, run script, startup notes
Snapshot of the working tree as found, before ops hardening work.
Restore point for rollback.
2026-08-14 17:24:58 +00:00
Daan Wynen f21b1202b9 Document my confusion with upgrading.
This may not be the most elegant way of going about it,
but it worked for me. In any case, *some* sort of upgrade guide
should be present IMO.
2020-10-14 22:34:11 +02:00
cel 38c61a5069 Support audio and video elements 2020-09-10 02:31:58 +00:00
cel aa1697181e Add footer with copyright and source link 2020-06-11 14:20:06 -04:00
cel 514c401ff1 Avoid deprecated Buffer constructor 2020-06-11 13:39:00 -04:00
cel df2a2ada6e Set cache-control immutable 2019-10-03 08:50:20 -04:00
cel ca9ab26ec6 Show content warnings 2019-08-29 13:10:59 -07:00
cel 332c09b046 Whitespace and code style consistency 2019-08-29 12:49:22 -07:00
cel ad80496c9a Decrypt private blobs 2019-01-25 12:59:04 -10:00
cel 7291151076 Make nicer host output 2018-09-02 22:20:24 -07:00
cel 13d54825ca Render npm packages more 2018-08-31 18:55:40 -07:00
cel 1a47f5f10e Render git update more semantically 2018-08-31 18:55:40 -07:00
cel 45a18976ee Improve type checking
- Make sure value is string before passing it to hyperscript,
  otherwise it could be an object with property "innerHTML" which would
  get included without escaping.
- Make sure value is truthy (or != null) before dereferencing it.
- Make sure value is array before calling array methods on it.
2018-08-31 18:52:01 -07:00
cel d55a613b25 Escape content from messages put into innerHTML 2018-08-31 13:24:09 -07:00
cel 2e582bd1dc Don't linkify bad refs 2018-08-23 17:41:18 -07:00
cel 9357a5e729 URL-encode in href: msg ids, not feed or blob ids 2018-08-23 14:28:13 -07:00
cel afabd2eacb Handle channels/hashtags in form 2018-08-22 14:38:52 -07:00
cel e3821bb878 Show message ids 2018-08-22 13:07:40 -07:00
cel 4d2dd658de Add id query form on home page 2018-08-22 12:59:03 -07:00
cel 36c63bc182 Consolidate serve functions 2018-08-22 12:58:51 -07:00
cel c8c744f585 Default to disallow robots 2018-08-22 11:52:43 -07:00
cel f908ea40e6 Document disallowRobots config 2018-08-22 11:52:43 -07:00
cel 2c1e35be2b Fix requireOptIn option 2018-08-18 14:02:48 -07:00
cel 7123fbcab1 Default to require opt-in for publicWebHosting 2018-08-17 15:32:42 -07:00
cel ba6d7cd3ab Don't show name of publicWebHosting:false feed
All their other info is hidden, so hide the name in the title too.
2018-08-17 15:32:02 -07:00
cel 0b8dc29802 Allow a feed to set publicWebHosting to null
This should be equivalent to having not set publicWebHosting at all.
2018-08-17 15:30:16 -07:00
Anders Rune JensenandGitHub 78e7e8a008 Merge pull request #7 from Powersource/render-gatherings
Render gatherings
2018-07-07 20:45:07 +02:00
Jacob Karlsson b74745f556 Clean code 2018-07-07 13:04:43 +02:00
Jacob Karlsson d210926c8b Render gathering time 2018-07-07 12:51:00 +02:00
Jacob Karlsson 3c608e0159 Add gathering title 2018-07-07 12:41:38 +02:00
Jacob Karlsson d09eab73ae Count attendees 2018-07-06 23:50:18 +02:00
Jacob Karlsson d15a09749d Render gathering images and markdown the descs 2018-07-02 20:26:16 +02:00
Jacob Karlsson cecdc93fd3 Render gathering descriptions 2018-07-02 19:52:17 +02:00
Anders Rune Jensen 857dc63ce5 Merge branch 'master' of ssb://%MeCTQrz9uszf9EZoTnKCeFeIedhnKWuB3JHW2l1g9NA=.sha256 2018-04-30 15:00:11 +02:00
Anders Rune Jensen d58d389db2 Fix crash on wierd non-string names 2018-04-30 15:00:00 +02:00
cel 69a32cc343 Add config for Disallow: / in robots.txt 2018-04-26 19:12:22 -10:00
Anders Rune Jensen 8680189006 Make userfeed less noisy 2018-04-25 17:44:18 +02:00
Anders Rune Jensen c201e35b8d Better error handling for malformed vote messages 2018-04-25 15:58:23 +02:00
Anders Rune Jensen e525414d1f Render blog posts 2018-04-25 15:57:30 +02:00
Anders Rune Jensen 1eb1be440d Fix includeRoot. Thanks @dominic 2018-04-23 20:52:30 +02:00
Stephen Whitmore c71fb2a089 feat: serve ssb websites under /web 2018-04-16 13:59:50 -07:00
Anders Rune Jensen f41ee2c2c8 Merge branch 'master' of ssb://%MeCTQrz9uszf9EZoTnKCeFeIedhnKWuB3JHW2l1g9NA=.sha256 2018-04-16 09:52:22 +02:00
cel 728dd36ef6 whitespace 2018-04-15 20:41:44 -10:00
Dominic Tarr 08321fdd28 respect privacy better. hides who is in a private thread, does not show private messages in user feed, also does not show like/vote as thread replies 2018-04-15 13:15:08 -07:00
Anders Rune Jensen f09e7259ef Tidy 2018-01-12 00:12:03 +01:00
Anders Rune Jensen 2c29133777 Don't about in user-feed 2018-01-11 16:24:30 +01:00
Anders Rune Jensen e6bc3b037a Don't render channel subscribes in user-feed 2018-01-11 16:20:07 +01:00
Anders Rune Jensen 2d14256b09 Fix metadata rendering with long texts 2018-01-11 00:26:45 +01:00
Anders Rune Jensen e3788ada87 wrap long words in posts 2018-01-11 00:07:52 +01:00