fr33domlover
a0c988dd3d
UI: Tweak style of header messages
2022-09-28 14:11:38 +00:00
fr33domlover
0cc1e20f85
UX: Don't redirect to referer after login
...
It causes first login after verification to redirect to registration page,
which is weird, and the default Yesod falue is False, so, switching back to
False
2022-09-28 14:10:20 +00:00
fr33domlover
861d7636bc
UX: Don't require login for verifying email address
2022-09-28 14:09:10 +00:00
fr33domlover
0d1de1278b
UI: Add settings option to change main UI color
2022-09-28 06:03:43 +00:00
fr33domlover
b1590ad44d
UI: Some template tweaks in cloth page
2022-09-27 18:12:05 +00:00
fr33domlover
84b70aa7b3
UI: If MR is applied, don't do the canApply check and display "RESOLVED"
2022-09-27 18:11:13 +00:00
fr33domlover
ceee428450
INSTALL.md: Fix SSH server key generation command, must use PEM format
...
Because that's what the 'ssh' package knows how to handle
Maybe it can handle OpenSSH format too, anyway I didn't check, may look into
this in the future
2022-09-27 18:09:31 +00:00
fr33domlover
088d166d13
Fix infinite loop in getBundleR
2022-09-27 18:08:59 +00:00
fr33domlover
7ced46d0c3
UI: Fix buggy layout of loom link request
2022-09-27 12:08:46 +00:00
fr33domlover
c5b85d11a9
UI: Since getLoomR doesn't have UI, redirect to LoomClothsR
2022-09-27 10:52:31 +00:00
fr33domlover
587ae5e8cc
Fix query error in getTicketSummaries
2022-09-27 10:49:32 +00:00
fr33domlover
91d43e77b1
UI: KeysR: Make key titles smaller than page title
2022-09-27 08:10:02 +00:00
fr33domlover
ceb0d951c1
UI: Personal overview: List your repos, decks, looms
2022-09-27 08:04:55 +00:00
fr33domlover
5a2cc84bdc
UI: Turn list of federated instances into links
2022-09-27 04:56:02 +00:00
fr33domlover
323de5b114
UI, Doc: Update Vervis repo links, because the route structure changed
2022-09-27 04:49:17 +00:00
fr33domlover
ee26ef7b82
UI: Actor outbox view: Render URI from route instead of parsing JSON for @id
2022-09-26 14:20:21 +00:00
fr33domlover
89dc9b5c9d
UI: BrowseR: Tweak header texts
2022-09-26 14:19:49 +00:00
fr33domlover
7429345cc0
If an outbox item is missing an @id, display whole activity in error message
2022-09-26 13:52:01 +00:00
fr33domlover
a96fcb8835
PostReceiveR hook handler: Don't raise error, otherwise VCS push fails
2022-09-26 13:31:24 +00:00
fr33domlover
482e2e806e
DB: Migration: When switching repos dir to new layout, remove old sharer dirs
2022-09-26 13:27:16 +00:00
fr33domlover
6b0783a10b
DB: Migration: Fix error in mig 447, accidentally creation CollabTopicLocal
...
Repo/Loom/Deck created one in their migrations, but CollabTopicAccept isn't
itself a topic, it's just a helper, so it needs to *find* the relevant
CollabTopicLocal rather than create a new one.
2022-09-26 13:12:44 +00:00
fr33domlover
b8915f1171
UI: In personal overview homepage, link to SSH key page
2022-09-26 12:54:28 +00:00
fr33domlover
cc9facdf5a
UI: Tweak and re-enable UI for uploading personal SSH keys
2022-09-26 12:51:06 +00:00
fr33domlover
206d140b95
DB: Migration: Check for surprisingly named foreign constraints, fail if found
...
Because finding them may be a sign of undetected error in the migration plan,
so it's best to stop and find it
2022-09-26 12:48:21 +00:00
fr33domlover
0e6a9d3269
UI: BrowseR: Fix missing <li> tags
2022-09-26 12:47:50 +00:00
fr33domlover
70ad384940
UI: Remove note about UI being disabled
2022-09-26 06:56:00 +00:00
fr33domlover
1d2a251c13
DB: Fix typo in DB migration
2022-09-26 06:55:23 +00:00
fr33domlover
6d0eab24d1
UI: Define nav breadcrumbs for all routes
2022-09-26 06:54:16 +00:00
fr33domlover
ab105cb604
Crypto: PersistField instance for ActorKey, preparing to support per-actor keys
...
Like the KeyFile instance, it stores just the secret key, in a plain
ByteString, and generates the public key from it when decoding from the DB
2022-09-25 12:29:53 +00:00
fr33domlover
3ec92679df
INSTALL.md: Move configuration to after stack build
...
The config file isn't parsed during build time anymore, so the app can be built
without it.
2022-09-25 06:32:25 +00:00
fr33domlover
e853bed5a8
update-deps.sh: Fix link to dependency repos
...
6543, thanks for noticing & reporting the bug
2022-09-24 21:22:14 +00:00
fr33domlover
f10655f2c1
Client, UI: "Apply" button for local MRs & PublishMergeR form for remote MRs
2022-09-24 21:15:40 +00:00
fr33domlover
ba6f22b94b
S2S: Implement loomApplyF (remote person asking to apply bundle on local loom)
2022-09-24 15:46:02 +00:00
fr33domlover
40e2dd9666
README: List important files and modules (without explanation yet)
2022-09-24 09:12:45 +00:00
fr33domlover
be95f15b21
C2S: Implement applyC (apply a patch/MR to a repo/branch)
...
Both Git and Darcs are supported
- Darcs implementation applies right on the bare repo, I haven't tested to make
sure it works right (federated MR demo is going to be only for Git)
- Git implementation clones to temporary repo, runs `git am` on it to apply,
then pushes to the real bare repo (because `git am` doesn't work on bare
repos; I haven't tested yet to see how it handles conflicts; cloning and
pushing should be efficient since the refs are just hardlinked rather than
copied)
2022-09-24 09:04:10 +00:00
fr33domlover
b5adfce971
S2S: loomOfferTicketF, open MR sent by remote author
2022-09-23 15:59:21 +00:00
fr33domlover
ef8e1c1108
S2S: deckOfferTicketF (i.e. local deck receives ticket from remote author)
2022-09-23 15:58:54 +00:00
fr33domlover
0d922b0e5a
Client, UI: Git merge request submission form
2022-09-23 05:20:39 +00:00
fr33domlover
9cb90c58c0
DB: Remember whether a Bundle came from person input or auto-generated
2022-09-22 17:23:33 +00:00
fr33domlover
de51fb9ab5
C2S: offerTicketC: If origin provided but not bundle, generate patches from git
...
For now it's implemented only for Git:
If tracker is a local loom, and a (local or remote) origin repo is specified,
but no patches are provided, then generate them ourselves!
* Clone the (local) target repo
* Add the (local or remote) origin repo as a git remote
* Make sure target branch is an ancestor of the origin branch
* Generate patches for the commits that origin adds on top of target
* Insert them into our DB
2022-09-22 17:12:37 +00:00
fr33domlover
2e7c5f767c
Add 'cloneUri' to AP.Repo, publish in getRepoR, grab in offerTicketC
...
In offerTicketC it can be used for fetching commits from the remote origin
repo, by knowing its clone URI
Only HTTP clone URIs are supported for now, because it's enough for finishing
the federated MR implementation. Apparently user@host:path isn't a valid URI
and I'll later add a parser for that
2022-09-22 06:02:14 +00:00
fr33domlover
e7ab9e701c
C2S: offerTicketC: Add VCS-type and patch-type consistency checks
2022-09-21 17:45:38 +00:00
fr33domlover
23b5343ec2
C2S: Enable offerTicketC for person inbox post handler
2022-09-21 14:22:36 +00:00
fr33domlover
de2e29d505
C2S: offerTicketC re-enabled and supporting looms and remote origin repo
...
What's missing:
- Match patch VCS, origin repo VCS and target repo VCS
- Hook into postPersonInboxR
- If only origin is provided, generate patches / otherwise somehow remember the
commits proposed
2022-09-21 12:50:26 +00:00
fr33domlover
0b10056cc3
UI: getClothR: If a Bundle exists in DB, display list of its patches
2022-09-19 12:02:48 +00:00
fr33domlover
ffe68390e5
UI: getBundleR: Display list of old versions and list of patches
2022-09-19 11:40:08 +00:00
fr33domlover
dae8554a12
UI: getPatchR: Display diff-syntax-highlighted patch content file
2022-09-19 11:00:47 +00:00
fr33domlover
5673340bd1
UI: Display origin and target repos in getClothR HTML
2022-09-18 17:37:25 +00:00
fr33domlover
9906231d04
DB, Web: Allow origin repo for Cloths, mention in getClothR JSON
2022-09-18 15:55:42 +00:00
fr33domlover
9deba96cf2
UI: Serve HTML in getClothR, copied from getTicketR
2022-09-18 07:44:00 +00:00