mirror of
https://code.sup39.dev/repos/Wqawg
synced 2024-12-27 18:04:53 +09:00
df01560ea6
This patch includes some ugliness and commented out code. Sorry for that. I'll clean it up soon. Basically there's a TVar holding a Vector of at most 10 AP activities. You can freely POST stuff to /inbox, and then GET /inbox and see what you posted, or an error description saying why your activity was rejected.
37 lines
952 B
Text
37 lines
952 B
Text
$# This file is part of Vervis.
|
|
$#
|
|
$# Written in 2016, 2019 by fr33domlover <fr33domlover@riseup.net>.
|
|
$#
|
|
$# ♡ Copying is an act of love. Please copy, reuse and share.
|
|
$#
|
|
$# The author(s) have dedicated all copyright and related and neighboring
|
|
$# rights to this software to the public domain worldwide. This software is
|
|
$# distributed without any warranty.
|
|
$#
|
|
$# You should have received a copy of the CC0 Public Domain Dedication along
|
|
$# with this software. If not, see
|
|
$# <http://creativecommons.org/publicdomain/zero/1.0/>.
|
|
|
|
$maybe Entity _pid person <- mperson
|
|
<div>
|
|
You are logged in as #{personLogin person}.
|
|
<a href=@{AuthR LogoutR}>Log out.
|
|
$nothing
|
|
<div>
|
|
You are not logged in.
|
|
<a href=@{AuthR LoginR}>Log in.
|
|
Or
|
|
<a href=@{AuthR newAccountR}>Sign up.
|
|
|
|
<p>
|
|
UPDATE: Federation is coming! Early testing at @{InboxR}
|
|
|
|
^{breadcrumbsW}
|
|
|
|
$maybe msg <- mmsg
|
|
<div #message>#{msg}
|
|
|
|
^{widget}
|
|
|
|
<footer>
|
|
^{revisionW}
|