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
fr33domlover
b398f05ecc
Ignore line numbers when computing diff
2018-05-21 20:54:05 +00:00
fr33domlover
9f77ea69cb
Display commit diff for Git repos
2018-05-21 20:32:34 +00:00
fr33domlover
dbec638415
Generate commit diff data for git repos
2018-05-19 16:10:03 +00:00
fr33domlover
2fb00c914a
List RSA-2.2.0 in extra deps, maybe missed it due to not rebuilding ssh
2018-05-18 20:39:17 +00:00
fr33domlover
5e2ac28c30
Forgot to record new files!
2018-05-18 19:44:14 +00:00
fr33domlover
974eabf27d
Fix typos in README and INSTALL (thanks dddddd)
2018-05-18 19:30:35 +00:00
fr33domlover
6d97636b0f
Commit info display, no diff diplay yet
2018-05-17 23:33:37 +00:00
fr33domlover
ce89bded73
Add a commit view route, nothing displayed yet
2018-05-17 15:46:57 +00:00
fr33domlover
8eca3fa647
Upgrade to GHC 8 and LTS 10.10
2018-05-16 00:02:54 +00:00
fr33domlover
47b0cdfc2f
Implement forgotten loadUserByEmailAddress (thanks ultrason)
2018-05-15 23:54:12 +00:00
fr33domlover
54fded2f0c
Rename NEWS.md to CHANGELOG.md
2018-05-14 15:25:16 +00:00
fr33domlover
69fd9a1777
List manual download dep libs in INSTALL.md
2018-05-14 15:19:58 +00:00
fr33domlover
2701b4e547
Clarify installation instructions and list dep libs (thanks ultrason)
2018-05-12 09:42:00 +00:00
fr33domlover
25f1db2941
Display breadcrumbs with → arrows instead of :: double colons
2018-04-11 22:49:20 +00:00
fr33domlover
d49b5d678c
Allow login using email address
2018-04-11 11:09:42 +00:00
fr33domlover
c172784d61
Display last change for Darcs repos in homepage
2018-04-09 22:00:01 +00:00
fr33domlover
c768659f57
Fix typo in message text
2018-04-09 00:38:40 +00:00
fr33domlover
3cc2810d4e
Fix DB migrations and use the validating addEntities
2018-04-05 00:04:39 +00:00
fr33domlover
28f6cbaf5a
Fix accidental infinite loop in error message formatting
2018-04-05 00:03:27 +00:00
fr33domlover
bc83ccfd42
Remove scope field from 2016_09_01 migration model, it didn't exist yet
2018-04-05 00:02:12 +00:00
fr33domlover
ec28256de5
Adapt to switch to typed default/fill values in persistent-migration
2018-04-03 01:20:24 +00:00
fr33domlover
7c2faa7faa
Email tokens expire within 1 day
2018-04-01 03:02:35 +00:00
fr33domlover
282ed32fe6
Upgrade to latest yesod-auth-account
2018-04-01 01:29:50 +00:00