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
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
ca1e83f504
Apply basic style to make commit diffs look a bit less very ugly
2018-05-24 22:42:01 +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
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
5e2ac28c30
Forgot to record new files!
2018-05-18 19:44:14 +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
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
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
fr33domlover
c2785c8e47
Oops forgot to commit a source file
2018-04-01 00:59:13 +00:00
fr33domlover
bfa6436bb3
Atom and RSS feeds for repo history
2018-03-31 22:04:33 +00:00
fr33domlover
c5a50c336e
Adapt to persistent-migration changes
...
We have gained:
* Haskell-side validation of schema changes before their execution
* Report of results of migration process
* Handling of old deployments
However:
* The validation code hasn't been tested yet at all
* Most of the migration list hasn't been applied at all yet
* Adding lists of entities from a model file is NOT VALIDATED!!! It's totally
possible to implement, just need to catch all the small details right
2018-03-31 19:22:37 +00:00
fr33domlover
bec9290783
Complete DB migration list, allowing to upgrade 2016-08-04 running instance
...
Until now the list of DB migration actions was incomplete, containing only
changes made since I added the migration system itself. It now contains the
2016-08-04 model, and then every change made since then.
IMPORTANT: The 2016-08-04 instance doesn't have a schema version entity at all,
so it is assigned version 0, while the actual version of its schema is 1. I'm
going to patch persistent-migration to allow it to be 1, making the migration
path smooth.
2018-03-27 14:28:56 +00:00
fr33domlover
f149da8ec6
getPersonR respond with minimal ActivityPub actor
2018-03-25 19:26:30 +00:00
fr33domlover
abfb77479f
Move DarcsRev and code we're sharing with it into a separate library
2018-03-20 23:45:09 +00:00
fr33domlover
ff5bb97383
Move Yesod.Mail.Send to a new dedicated separate library
2018-03-20 16:01:33 +00:00
fr33domlover
865d81c235
Resend POST and verify GET require unverified login
2018-03-18 00:13:22 +00:00
fr33domlover
baeef7873e
Unverified login and dedicated route for verification email resend form
2018-03-17 22:59:40 +00:00
fr33domlover
f196bf38d6
Unverified variants of setCreds and clearCreds
2018-03-17 22:16:02 +00:00
fr33domlover
139cc996d6
Write unverified login user functions
2018-03-17 17:30:46 +00:00
fr33domlover
d026cf0656
Treat email address as EmailAddress
instead of Text
including in the mailer
2018-03-06 02:26:27 +00:00
fr33domlover
33af9fb289
Use HTTPS for avatar URL if approot in settings is https://
2018-03-06 00:55:52 +00:00
fr33domlover
3398b56931
Switch to yesod-auth-account and make the mail code independent of Vervis
2018-03-03 21:33:59 +00:00
fr33domlover
fb47407f2b
Adapt to changes in persistent-migration
2018-02-27 03:03:24 +00:00
fr33domlover
829fd72fef
Use my new persistent-migration library, to which I moved the related modules
2018-02-26 14:23:02 +00:00
fr33domlover
3b4bd2a5e8
I made upgrades to the DB migration system in Funbot, apply them here too
2018-02-25 11:14:07 +00:00
fr33domlover
b8681e2681
Change breadcrumb separator from "::" to Unicode arrow "→"
2018-02-25 09:55:55 +00:00
fr33domlover
c2d1bb444b
Add email sending capability to Vervis
2018-02-25 09:28:55 +00:00
fr33domlover
fc556e0eb3
Workflow scope field, minimal support
2016-09-01 17:40:02 +00:00
fr33domlover
6b4ecb99c7
Migration: Repsert, not update, otherwise schema version never saved
2016-09-01 17:38:44 +00:00
fr33domlover
cd1f7af46e
Migration: Safe IsString instances for Field, Entity, Unique
2016-09-01 17:37:20 +00:00
fr33domlover
e027789fbd
Migration: When escaping names, forgot to surround then with "s
2016-09-01 17:36:39 +00:00
fr33domlover
bff41673c4
Migration: Specify default value when adding non-null column
2016-09-01 16:30:39 +00:00