Commit graph

1181 commits

Author SHA1 Message Date
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
fr33domlover
18e9c16afb Define breadcrumbs for TicketTeamR and TicketParticipantsR 2019-05-26 10:32:56 +00:00
fr33domlover
7869af7334 In default layout template, fix typo in display of notification count 2019-05-25 22:28:21 +00:00
fr33domlover
70d51faa70 In notifications page, remove accidental display of hidden field labels 2019-05-25 22:27:20 +00:00
fr33domlover
b7e2776e6a Implement getTicketTeamR & getTicketParticipantsR (AS2 & HTML showing the JSON) 2019-05-25 22:05:59 +00:00
fr33domlover
ae1e10cab2 Vervis.Handler.Ticket: Import esqueleto qualified 2019-05-25 22:04:06 +00:00
fr33domlover
3af54ef300 Remove an old empty source dir src/Database/Persist/Sql/Graph 2019-05-25 21:58:46 +00:00
fr33domlover
9689e9d471 Fix redirection bug in SharerInboxR 2019-05-25 20:24:13 +00:00
fr33domlover
bf9199b466 Forgot to commit new templates 2019-05-25 19:35:31 +00:00
fr33domlover
95a0806ef3 Fix MessageR, setting audience to the one specified in the Create activity 2019-05-25 13:01:15 +00:00
fr33domlover
e848fe5fed Add unique UniqueLocalMessageCreate 2019-05-25 12:59:54 +00:00
fr33domlover
2eade80cfb Rewrite the localMessageCreate migration to insert real activities
A thing still missing there is that it sets empty audience for comments on
remote tickets, but that's fine because dev.angeley.es doesn't have such
comments in the database.
2019-05-25 12:44:09 +00:00
fr33domlover
e81eb80b8b Add field localMessageCreate, pointing to the OutboxItem that created it
I added a migration that creates an ugly fake OutboxItem for messages that
don't have one. I'll try to turn it into a real one. And then very possibly
remove the whole ugly migration, replacing it with addFielfRefRequiredEmpty,
which should work for empty instances.
2019-05-25 03:23:57 +00:00
fr33domlover
d77877eba5 In persistent models for migrations, suffix the names of uniques too 2019-05-25 03:20:01 +00:00
fr33domlover
5479c99e1c Serve trivial HTML (that just displays the JSON object) in getMessageR 2019-05-24 16:09:58 +00:00
fr33domlover
bd99729656 Loading settings was using deprecated functions, switch to new ones 2019-05-24 15:45:36 +00:00
fr33domlover
23e760e373 Build with LTS 13, GHC 8.6 2019-05-24 11:49:39 +00:00
fr33domlover
b64984495f Switch all HandlerT/WidgetT uses to HandlerFor/WidgetFor 2019-05-23 09:12:24 +00:00
fr33domlover
c531f41565 Implement basic notifications in DB and UI 2019-05-22 21:50:30 +00:00
fr33domlover
6d55b8c5d7 Display remote actor name in remote message view 2019-05-21 09:11:13 +00:00
fr33domlover
d1fea9eb51 Store names of remote actors in DB for display 2019-05-21 08:44:11 +00:00
fr33domlover
2573ff1d93 Parse and publish actor outboxes 2019-05-21 00:36:05 +00:00
fr33domlover
40d9a0990d Serve AS2 in getSharerInboxR 2019-05-21 00:14:49 +00:00
fr33domlover
7bcbe52274 Implement getOutboxR, both (trivial) HTML and AS2 2019-05-20 23:51:06 +00:00
fr33domlover
f07b56c259 Implement getOutboxItemR, serving AS2 and basic HTML 2019-05-18 10:09:47 +00:00
fr33domlover
6d304b9307 Smarter treatment of recipients that are collections
- Allow client to specify recipients that don't need to be delivered to
- When fetching recipient, recognize collections and don't try to deliver to
  them
- Remember collections in DB, and use that to skip HTTP delivery
2019-05-17 22:42:01 +00:00
fr33domlover
48882d65ad Allow AP C2S client to list recipients that aren't actors to deliver to 2019-05-17 10:47:53 +00:00
fr33domlover
1f7ceada64 stack.yaml: List custom deps as extra-deps, not as packages 2019-05-16 21:23:25 +00:00
fr33domlover
07281f6900 Fix infinite loop in ActivityPub audience parsing 2019-05-16 21:22:45 +00:00
fr33domlover
b12ad49b62 Remove unused accidentally left line 2019-05-16 21:21:51 +00:00