my eye

Add guest sign-in

Committed 3d174f

--- a/indieweb_rocks/__init__.py
+++ b/indieweb_rocks/__init__.py

 import web
 import webagt
 import webint_data
+import webint_guests
 import webint_jobs
 import webint_owner
 import webint_system
             "details": "JSON NOT NULL",
         },
     },
-    mounts=[webint_data.app, webint_owner.app, webint_jobs.app, webint_system.app],
+    mounts=[
+        webint_data.app,
+        webint_guests.app,
+        webint_owner.app,
+        webint_jobs.app,
+        webint_system.app,
+    ],
 )
 sites_path = pathlib.Path("sites")
 sites_path.mkdir(exist_ok=True)

--- a/indieweb_rocks/templates/site.html
+++ b/indieweb_rocks/templates/site.html

 $if not tx.user.session:
     <form method=get action=/guests/sign-in>
     <input type=hidden name=me value=$url.normalized>
-    <p>If you are the owner of this site, you may sign in to administer this page.</p>
+    <p>If you are the owner of this site you may sign in to gain access to more tools.</p>
     <button>Sign in as $details["domain"]["name"]</button>
     </form>
 $# $if tx.user.session and (tx.user.session["uid"][0] == details["url"]):

--- a/pyproject.toml
+++ b/pyproject.toml

 python = ">=3.10,<3.11"
 webint = ">=0.0"
 webint-data = ">=0.0"
+webint-guests = ">=0.0"
 webint-owner = ">=0.0"
 webint-system = ">=0.0"
 micropub = ">=0.0"