fr33domlover
a6e4587281
Raise build-time error on incomplete patterns
...
I realized I never intend to leave patterns (e.g. pattern matching in a 'case'
clause) incomplete, i.e. some cases left missing. When I do that it means I
forgot, and I'd like GHC to highlight it by raising an error instead of just
warning. Vervis has lots of warnings so it's hard to detect among them.
I suppose in other kinds of software people sometimes leave incomplete patterns
intentionally / are okay with a runtime exception being thrown? In a web
application, I definitely want to handle all cases, and be in control of how
errors are handled and displayed in UI.
2022-06-26 13:54:37 +00:00
fr33domlover
b557217957
Homepage: Link to #peers as IRC channel, not #vervis, forgot to update this
2022-06-26 08:34:56 +00:00
fr33domlover
dcdba0e553
UI: Tweak header and footer display, text size, switch to rem
2022-06-26 08:32:53 +00:00
fr33domlover
84565b7c54
update-deps.sh: Update dep repo links since main instance domain changed
2022-06-26 05:30:53 +00:00
fr33domlover
65878eb9fb
README: Update self links from angeley.es to openheart.work
2022-06-26 05:12:55 +00:00
fr33domlover
842f27f515
C2S: Implement applyC, works only for Darcs right now
2022-06-25 19:59:26 +00:00
fr33domlover
1a15bd1036
UI: Homepage: Update project links
2022-06-24 05:48:54 +00:00
fr33domlover
61b9710e38
S2S: repoApplyF: Support local sharer-hosted proposals
2022-06-24 05:39:24 +00:00
fr33domlover
368267ad3f
README: Update ssh config instructions
2022-06-24 05:38:59 +00:00
fr33domlover
02734d02f2
S2S: repoApplyF: Support local repo-hosted proposals
2022-06-24 05:02:54 +00:00
fr33domlover
c3ff3c40eb
S2S: repoApplyF, for now only on remotely hosted patches
2022-06-23 09:09:02 +00:00
fr33domlover
5491d0e495
UI: In RepoR page, display the HTTPS clone URL
2022-06-23 09:07:37 +00:00
fr33domlover
bc7806b100
In migration code, rename Apply to Run to avoid confusion with Apply activity
2022-06-22 07:45:35 +00:00
fr33domlover
1e759698c1
Web.ActivityPub: Add capability URI field to Activity type
2022-06-22 07:39:38 +00:00
fr33domlover
bfa9774f83
DB: Switch to more flexible collaborator model
2022-06-22 06:19:37 +00:00
fr33domlover
bf2e172f6e
C2S: addBundleC for adding a new patch bundle version to a Ticket
2020-09-13 12:48:03 +00:00
fr33domlover
1b304994d0
S2S: Add 'Add' activity, adds a new version of the patch bundle to a Ticket
2020-09-10 10:57:02 +00:00
fr33domlover
e2ac053d2b
No CSRF token check for Dvara routes, they do it for themselves when needed
2020-09-01 14:11:47 +00:00
fr33domlover
7415175bea
Fix pattern matching missing case
2020-08-31 09:19:34 +00:00
fr33domlover
cc0040f012
UI: In repo page nav links, link to repo MRs
2020-08-17 13:46:27 +00:00
fr33domlover
201736427e
Client: Add form to submit a patch via Offer activity
2020-08-17 13:30:43 +00:00
fr33domlover
7812fa6e8f
Client: Add form for submitting a patch to a repo
2020-08-17 13:01:29 +00:00
fr33domlover
32adee0a75
Don't accept Darcs MRs with more than one patch bundle file
2020-08-17 09:01:14 +00:00
fr33domlover
cb11ea6447
DB: Add media type field to 'Patch' entity
...
This patch (haha) also adds a VCS field to the AP representation of repos
2020-08-14 21:16:33 +00:00
fr33domlover
b16c9505af
S2S & C2S: Switch from single-patch MR version to multi-patch bundle support
2020-08-13 10:26:20 +00:00
fr33domlover
da01fcf451
S2S: Fix bug: in *UndoF, when unresolving ticket, ticketStatus wasn't updated
2020-08-06 13:18:38 +00:00
fr33domlover
be3cf50283
C2S: Fix bug: undoC: When deleting TicketResolve, ticketStatus wasn't updated
2020-08-06 07:14:06 +00:00
fr33domlover
9f34106a87
Client: Add forms for resolving and unresolving a ticket/MR
2020-08-05 20:41:33 +00:00
fr33domlover
5a0c46ad5c
GET ticket handlers: Provide 'resolvedBy', set to the Resolve activity's ID URI
2020-08-05 12:43:04 +00:00
fr33domlover
de5d24edca
When grabbing ticket/patch from DB, grab the TicketResolve* record too
2020-08-05 11:04:00 +00:00
fr33domlover
7a74dcc55e
Web.ActivityPub: Allow to specify 'resolved' and 'resolvedBy' for 'Ticket'
2020-08-05 10:11:16 +00:00
fr33domlover
9317e514b2
S2S unresolve, C2S resolve & unresolve, use C2S in the UI buttons
2020-08-05 08:28:58 +00:00
fr33domlover
7f106023b0
S2S: Implement inbox handlers for Resolve activity
2020-07-28 09:35:27 +00:00
fr33domlover
58c0719370
Web.ActivityPub: Add a Resolve activity
2020-07-23 14:27:11 +00:00
fr33domlover
1bd7995bb5
DB: Fix migration 173 for future instances to avoid the RemoteCollection bug
2020-07-23 13:38:46 +00:00
fr33domlover
ac9c79c761
DB: RemoteCollection was referring to itself accidentally, add migration to fix
2020-07-23 13:33:54 +00:00
fr33domlover
b050c9225d
Web.ActivityPub: Add 'currentVersion' property to 'Patch' type
2020-07-23 10:47:35 +00:00
fr33domlover
c1f0722c21
C2S: createTicketC: Allow to submit MRs i.e. Ticket with a Patch attached
2020-07-22 13:00:48 +00:00
fr33domlover
fd8405e741
S2S: repoCreateTicketF: Store a Patch record in DB, to have a local copy
2020-07-21 10:03:51 +00:00
fr33domlover
029fce58a4
S2S: Repos now accept remotely hosted patches via Create/Ticket
2020-07-21 09:39:36 +00:00
fr33domlover
f286f35a87
S2S: Add repo patch support to checkCreateTicket
2020-07-19 12:48:39 +00:00
fr33domlover
f7c0807775
C2S: offerTicketC: Support offering a patch to a repo
2020-07-16 11:30:22 +00:00
fr33domlover
3e7e885300
S2S: Implement patch submission via repoOfferTicketF
2020-07-16 08:22:13 +00:00
fr33domlover
6d4d77255f
S2S: Prepare Offer/Ticket parsing code for handling a remote patch/MR
2020-07-15 13:00:58 +00:00
fr33domlover
c78becaf5e
S2S: projectCreateTicketF: Refactor to use new utils
2020-07-15 11:20:11 +00:00
fr33domlover
e46bcac559
S2S: sharerCreateTicketF: Tweak to use the new utils
2020-07-15 10:14:41 +00:00
fr33domlover
1a8ecb5995
S2S: Refactor projectOfferTicketF to use the new utils
2020-07-15 09:58:59 +00:00
fr33domlover
58e88d1e1b
Upgrade sharerOfferTicketF to new utils
2020-07-15 08:00:08 +00:00
fr33domlover
75c0bc0939
Web.ActivityPub: Ticket attachment's Offer object can be either URI or a Patch
...
This will allow to use this representation for Offer and Create activities.
When creating a new MR, the inner Offer's 'object' is a 'Patch' object. When
serving an existing hosted MR, the inner Offer's 'object' is just a URI
pointing to the patch.
2020-07-14 11:25:37 +00:00
fr33domlover
6d80b1e4f1
Web.ActivityPub: In MR, the 'object' of the 'Offer' is a 'Patch' URI
...
Instead of an 'OrderedCollection' of the versions
2020-07-14 11:10:43 +00:00