Compare commits
No commits in common. "4468ba89ad636fb88165e4867d0c2f383305f991" and "b07ca37663545ace1dc4730d4a5abdf1e7dc0d9b" have entirely different histories.
4468ba89ad
...
b07ca37663
3 changed files with 1 additions and 9 deletions
|
|
@ -185,7 +185,6 @@ This connects over Reticulum and serves the remote instance at `http://localhost
|
|||
- Desktop-oriented
|
||||
- JSON-only import
|
||||
- Forum threads prune after 30 days by default
|
||||
- Forum discovery is through the subscription graph rather than topic-based blooms
|
||||
- Best-effort maintenance
|
||||
|
||||
## Forum plugin
|
||||
|
|
@ -210,7 +209,6 @@ Enable it on the `/style` page under "Forum". A "Forum" link will appear in the
|
|||
- Auto-discovery can be disabled in the moderation page
|
||||
- Threads are auto-pruned after 30 days (configurable, or set to 0 to keep everything)
|
||||
- Moderation is local: block authors, mute threads, keyword filters, and gossip block lists with peers (auto-block after 3 peer reports)
|
||||
- **Trust circle** — Content is gated by a trust graph derived from your TinyWeb subscriptions. Each subscribed peer's forum content (and their transitive trust network) enters your view automatically. Blocking a peer cascades: their downstream trust network is removed from your view.
|
||||
|
||||
For full feature docs, see the [tinyweb-forum README](https://codeberg.org/tinyweb/tinyweb-forum).
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ from tinyweb.db import init_db, get_setting, set_setting
|
|||
from tinyweb.handlers import dispatch_request
|
||||
import tinyweb.handlers as handlers_mod
|
||||
import tinyweb.templates as templates_mod
|
||||
import tinyweb.gateway as gateway
|
||||
import tinyweb.gateway
|
||||
from tinyweb.gateway import GatewayState, GatewayHandler
|
||||
|
||||
IDENTITY_FILE = "tinyweb_identity"
|
||||
|
|
|
|||
|
|
@ -270,12 +270,6 @@ def init_db():
|
|||
db.execute("ALTER TABLE pages ADD COLUMN reticulum_dest TEXT DEFAULT ''")
|
||||
db.commit()
|
||||
|
||||
# Migrate subscriptions: add forum_enabled column
|
||||
sub_cols = [row[1] for row in db.execute("PRAGMA table_info(subscriptions)").fetchall()]
|
||||
if "forum_enabled" not in sub_cols:
|
||||
db.execute("ALTER TABLE subscriptions ADD COLUMN forum_enabled INTEGER DEFAULT 0")
|
||||
db.commit()
|
||||
|
||||
# Chunks table for semantic search embeddings
|
||||
db.execute(
|
||||
"CREATE TABLE IF NOT EXISTS chunks ("
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue