fr33domlover
adaa920aa4
Launch service thread with a function that re-throws if they fail
...
In Haskell by default if a thread has an exception, the main thread isn't
notified at all. This patch changes service thread launching to re-throw their
exceptions in the main thread, so that their failure is noticed.
2019-01-14 22:03:49 +00:00
fr33domlover
5862b03019
Remove HTTP connection manager, it's not being used
...
I suppose there's no performance difference in using one, but it requires
`http-conduit` as a build dependency, so potentially we may be reducing build
time by removing unnecessary deps.
2019-01-14 02:30:39 +00:00
fr33domlover
4c50a1fc96
Turn clone-deps.sh into a safe update-deps.sh script and document in INSTALL.md
2019-01-14 01:50:14 +00:00
fr33domlover
0e2001af0f
Palette: Make the dark blue lighter, it's too dark against the #111 background
2019-01-03 10:18:09 +00:00
fr33domlover
632bfe1979
In repo change feed, entry ID is now the URL of patch page
2018-12-12 08:37:01 +00:00
fr33domlover
4bd33b59e5
Remove GitOld module, it's not in use anymore
2018-12-12 07:59:19 +00:00
fr33domlover
fe4d1e1afe
Remove the src-old dir, no need for it anymore (since long time ago)
2018-12-12 07:46:30 +00:00
fr33domlover
f9045e211b
Update INSTALL.md to reflect latest status
2018-12-10 13:58:39 +00:00
fr33domlover
33338a73cc
Upgrade to GHC 8.4 and LTS 12
2018-12-05 03:41:19 +00:00
fr33domlover
4c17e3486b
Mention in INSTALL.md a way to build against libssl 1.1
2018-11-29 22:01:12 +00:00
fr33domlover
a1daa4fb3e
Place dependency libraries in a 'lib' subdir instead of same dir as Vervis
2018-11-29 09:48:27 +00:00
fr33domlover
9aea6947c0
Use apt in INSTALL.md, not apt-get (thanks vaeringjar!)
2018-11-28 08:20:45 +00:00
fr33domlover
1c47dabe48
Mention in README that INSTALL does exist
2018-11-01 09:46:18 +00:00
fr33domlover
48d7e86684
Remove table headers from repo source dir view
2018-11-01 09:45:48 +00:00
fr33domlover
0d3ccb3a38
Document running the SSH server on port 22
2018-10-25 20:28:06 +00:00
fr33domlover
878f853520
Some CSS tweaks
2018-07-12 09:31:00 +00:00
fr33domlover
9bc5d411c8
Change color scheme to something hopefully not controversial
2018-07-12 09:25:04 +00:00
fr33domlover
cf3f8fb8f6
Add CSRF token to all buttons through a new buttonW
widget
2018-07-11 08:15:19 +00:00
fr33domlover
7fdc7e703d
Repo tree view: Replace [D] and [F] with Unicode chars
2018-07-10 16:43:22 +00:00
fr33domlover
01163dfe9a
Darcs patch parser: Make sure we read the whole patch successfully
2018-07-10 16:00:01 +00:00
fr33domlover
edaf141359
Fix Darcs patch author parsing
2018-07-10 15:26:16 +00:00
fr33domlover
a50de1fe88
Darcs patch view, supporting only text file edit hunks so far
2018-07-10 14:02:30 +00:00
fr33domlover
13bd369de3
Darcs patch reader: Join adjacent remove-add sequences like in the Git module
2018-07-09 19:12:11 +00:00
fr33domlover
16c71b666f
Data.List.Local: Generalize input list to be any Foldable
2018-07-08 21:57:08 +00:00
fr33domlover
c8146bbff4
Data.List.Local: Comment out the unused groupByFst
2018-07-08 21:56:08 +00:00
fr33domlover
7782e83419
Initial implementation of Darcs patch reader
2018-07-08 14:45:35 +00:00
fr33domlover
c8b085fbc8
Plan for parsing Darcs patch for patch view
2018-07-07 16:05:10 +00:00
fr33domlover
5a7811b067
Include CSRF token in login form, otherwise the check fails and login fails
...
CSRF token check doesn't find the token in the login POST, so logins fail. For
some reason, yesod-auth-account intentionally avoided putting the token in the
login form. I updated the yesod-auth-account code to include the token. This
patch simply choose the new revision with the fix, so that logins work again.
2018-07-01 15:10:11 +00:00
fr33domlover
a1d0b8402e
Disable CSRF token check for HTTP git pull
...
Git pull uses a POST request, which is treated as a write request and the CSRF
token is checked. However, no modification to the server is made by git pulls,
as far as I know (actually I'm not sure why it uses a POST). The entire
response is handled by the git command, and the client side is usually the git
command running in the terminal, there's no session and no cookies (as far as I
know). So I'm just disabling CSRF token checking for this route.
2018-07-01 15:04:33 +00:00
fr33domlover
c420b8d8ea
Make the cookie encryption key and timeout configurable in settings file
2018-07-01 08:15:23 +00:00
fr33domlover
870123bfcc
Enable CSRF middleware, hopefully this time it works
2018-07-01 04:51:43 +00:00
fr33domlover
9ed1f4c99d
Fix: Sharer and repo in SSH address path weren't being lowercased in SSH server
...
The sharer and repo were being taken and used as is to check push permissions,
which is how it's supposed to be, *but* they were also being used as is to
build the repo path! So sharer and repo names that aren't all lowercase were
getting "No such repository" errors when trying to push.
I changed `RepoSpec` to hold `ShrIdent` and `RpIdent` instead of plain `Text`,
to avoid confusions like that and be clear and explicit about the
representation, and failures to find a repo after verifying it against the DB
are now logged as errors to help with debugging.
I hope this fixes the problem.
2018-06-18 08:30:57 +00:00
fr33domlover
6088b1e117
Display tickets in list view the same as in tree view
2018-06-17 10:29:51 +00:00
fr33domlover
e29280959b
Update the Vervis instance domain name everywhere
2018-06-11 12:39:06 +00:00
fr33domlover
4ac5424b6d
Mention GitPub and its mailing list in the homepage template
2018-06-11 11:33:52 +00:00
fr33domlover
b078f9dabf
Rewrite intro text in homepage
2018-06-11 11:25:10 +00:00
fr33domlover
13c944e1ce
More compact display of personal overview
2018-05-26 11:07:56 +00:00
fr33domlover
ef21175ec2
Allow loading the SVG font from deployment data path
2018-05-26 10:27:05 +00:00
fr33domlover
0b2090f048
Fix issue: Ticket table was displaying project sharer instead of ticket author
2018-05-26 08:02:07 +00:00
fr33domlover
5c12e7c34f
Add project role op for opening tickets, require it for opening a ticket
...
Before that only the project's sharer was authorized to open a ticket. Now
everyone can, once given a role with the op.
2018-05-26 06:59:54 +00:00
fr33domlover
26c3dc1731
Patch diff view: More contrast for diff line colors, otherwise hard to read
2018-05-25 18:47:29 +00:00
fr33domlover
81d058a7ce
Patch diff view: Remove that huge margin from code lines
2018-05-25 18:46:51 +00:00
fr33domlover
bd13175021
Commit diff view: Fix position and preserve spaces in code lines
2018-05-25 11:30:22 +00:00
fr33domlover
ca1e83f504
Apply basic style to make commit diffs look a bit less very ugly
2018-05-24 22:42:01 +00:00
fr33domlover
3086209b3b
Fix typo in repo patch page template
2018-05-24 22:29:08 +00:00
fr33domlover
0895fbf911
Minimal diff context line number is 1, not 0, latter caused vector slice error
2018-05-24 22:20:52 +00:00
fr33domlover
7d237b7540
Adapt to darcs-lights and changes in darcs-rev
2018-05-24 21:45:01 +00:00
fr33domlover
400ddf6089
Forgot breadcrumb for RepoPatchR
2018-05-24 21:44:13 +00:00
fr33domlover
23eaafe23f
Move dep cloning instructions from INSTALL.md into an actual script
2018-05-22 21:11:47 +00:00
fr33domlover
a45ff6459f
Fix typo in INSTALL.md
2018-05-22 20:55:40 +00:00