Commit graph

1110 commits

Author SHA1 Message Date
fr33domlover
5df8965488 Some cleanup and term updates in Web.ActivityPub to match the spec and plans
* No more full URIs, all terms are used as short non-prefixed names
* Some terms support parsing full URI form for compatibility with objects in DB
* No more @context checking when parsing
* Use the new ForgeFed context URI specified in the spec draft
* Use an extension context URI for all custom properties not specific to forges
* Rename "events" property to "history", thanks cjslep for suggesting this name
2019-06-12 00:11:24 +00:00
fr33domlover
b29e197670 FEDERATION.md: List project followers collection as recipient in Note example 2019-06-11 12:28:31 +00:00
fr33domlover
61d1029926 Project team and followers
* Have a project team collection, content is the same as ticket team (but
  potentially ticket team allows people to opt out of updates on specific
  tickets, while project team isn't tied to any specific ticket or other child
  object)
* Have a project followers collection, and address it in ticket comments in
  addition to the already used recipients (project, ticket team, ticket
  followers)
2019-06-11 12:19:51 +00:00
fr33domlover
3f5d737f4c Forgot to record migration 2019-06-10 11:22:58 +00:00
fr33domlover
970fa240fc Deliver to project inbox in postOutboxR and postProjectInboxR 2019-06-09 21:06:26 +00:00
fr33domlover
322d09658e (Hopefully correctly) fill project inboxes with ticket comment Create Notes 2019-06-09 18:41:37 +00:00
fr33domlover
bad1844cfc Reuse the getSharerInboxR code to implement getProjectInboxR 2019-06-09 16:45:53 +00:00
fr33domlover
f4e324e587 Give each project an inbox in DB 2019-06-09 16:21:23 +00:00
fr33domlover
f70aa42060 Add UniquePersonInbox to persistent model; each user has their own unique inbox 2019-06-09 15:56:42 +00:00
fr33domlover
71ab1c4459 Syntax-highlight the pretty JSON display of AP objects 2019-06-09 14:32:57 +00:00
fr33domlover
090c562553 Add an Inbox table in DB, make inbox related tables use it instead of Person
This allows the inbox system to be separate from Person, allowing other kinds
of objects to have inboxes too. Much like there's FollowerSet which works
separately from Tickets, and will allow to have follower sets for projects,
users, etc. too.

Inboxes are made independent from Person users because I'm going to give
Projects inboxes too.
2019-06-09 13:16:32 +00:00
fr33domlover
b1897a20c0 Allow ticket author to be a remote actor 2019-06-07 04:26:32 +00:00
fr33domlover
d73b113b4f Wrap AP Ticket in an Offer activity, this is how tickets will be created 2019-06-06 14:16:48 +00:00
fr33domlover
b69442b448 Move AP Ticket local URI fields into a dedicated TicketLocal type 2019-06-06 10:25:16 +00:00
fr33domlover
e31c8c600b Turn some AP ticket fields into Maybes 2019-06-04 09:36:14 +00:00
fr33domlover
04a2e9a817 In HTML pages with AP support, display link to pretty formatted JSON 2019-06-03 22:22:32 +00:00
fr33domlover
708f626294 Provide ActivityPub representation of tickets in getTicketR 2019-06-03 21:52:34 +00:00
fr33domlover
eedbf1d193 FEDERATION.md: In Ticket object, set context to the project ID URI 2019-06-03 21:51:50 +00:00
fr33domlover
f7432e515c Add ticketDescription DB entity field, containing pandoc-rendered HTML 2019-06-03 12:45:02 +00:00
fr33domlover
17fe163c09 Rename ticketDesc to ticketSource 2019-06-03 11:02:28 +00:00
fr33domlover
5111cd9bc7 Forgot to record this line of code when renamed ProjectRole entity to Role 2019-06-03 11:01:21 +00:00
fr33domlover
ca06685d71 List default capability key and hashids salt file names in _boring 2019-06-03 10:45:12 +00:00
fr33domlover
3191452a3a FEDERATION.md: Write authorization token proposal 2019-06-03 10:38:45 +00:00
fr33domlover
46f116da60 In new comment form, turn CRLF into LF when running the form 2019-06-02 14:59:47 +00:00
fr33domlover
c7dccbb7fe Render in advance and store comment content as HTML alongside Markdown source 2019-06-02 14:41:51 +00:00
fr33domlover
facf4d7f3e Rename messageContent field to messageSource; content will soon be HTML 2019-06-02 12:04:35 +00:00
fr33domlover
c7a563bd15 FEDERATION.md: Write list-direct-replies proposal 2019-06-02 09:57:07 +00:00
fr33domlover
0ff5f71626 FEDERATION.md: Write events property proposal 2019-06-01 20:39:57 +00:00
fr33domlover
53cb99877b Ticket example, still hypothetical because not implemented yet 2019-06-01 18:25:37 +00:00
fr33domlover
21b7325c1b Rename role related tables to reflect the role unification
There used to be project roles and repo roles, and they were separate. A while
ago I merged them, and there has been a single role system, used with both
repos and projects. However the table names were still "ProjectRole" and things
like that. This patch renames some tables to just refer to a "Role" because
there's only one kind of role system.
2019-05-31 15:02:57 +00:00
fr33domlover
dccb91f47c FEDERATION.md: Write the authenticated inbox forwarding proposal 2019-05-30 11:25:26 +00:00
fr33domlover
e8fe55aee9 FEDERATION.md: Write managing actor proposal 2019-05-30 10:40:50 +00:00
fr33domlover
81d41bfb8a FEDERATION.md: Use participants for non-actor followers collection 2019-05-30 10:40:09 +00:00
fr33domlover
48529627b6 FEDERATION.md: Write proposal about avatars 2019-05-29 09:24:53 +00:00
fr33domlover
c12977c13d FEDERATION.md: Document actor choice in Vervis/ForgeFed 2019-05-29 09:19:10 +00:00
fr33domlover
e4ca79c28f FEDERATION.md: Write non-actor audience proposal 2019-05-29 08:31:07 +00:00
fr33domlover
5712b06299 FEDERATION:.md: Add to-do item about the ticket followres collection name 2019-05-29 07:50:47 +00:00
fr33domlover
cfd70385af FEDERATION.md: Change domain name in comment example 2019-05-28 09:50:02 +00:00
fr33domlover
6446f8b01a FEDERATION.hs: Fix typo, missed a comma in example 2019-05-28 09:46:00 +00:00
fr33domlover
5907a447c0 FEDERATION.md: Write basic description of comments 2019-05-28 09:43:24 +00:00
fr33domlover
f904123d91 FEDERATION.hs: Finish initial writing of the authentication proposals 2019-05-28 08:37:23 +00:00
fr33domlover
6f673b3363 FEDERATION.md: Document server-scope signing keys 2019-05-27 22:22:52 +00:00
fr33domlover
eb514b8c3f Use path segment in HighlightStyleR, addStylesheet doesn't support query params 2019-05-27 19:54:11 +00:00
fr33domlover
e02a0fa4db Make pandoc highlight style configurable in settings and in query parameter 2019-05-27 18:30:48 +00:00
fr33domlover
12ec77fb44 Add back the repo source CSS templates, they're used separately from pandoc 2019-05-27 17:39:33 +00:00
fr33domlover
d8696a86be Fix typos in FEDERATION.md, missing closing quotes in examples 2019-05-27 13:46:38 +00:00
fr33domlover
b8b226d15c Highlight code segments in pandoc rendered source file views 2019-05-27 13:28:57 +00:00
fr33domlover
3bf7dbea7d Syntax highlighting for JSON-LD examples in federation docs 2019-05-27 11:17:56 +00:00
fr33domlover
e86a2970ba Start documenting Vervis federation technical details 2019-05-27 09:06:29 +00:00
fr33domlover
85777fa381 Update FEDERATION.md to mention inbox and outbox view being available now 2019-05-26 11:33:41 +00:00