fr33domlover
716487f2b8
In ticket comment tree, support mixing local and remote (federated) comments
2019-03-20 08:07:37 +00:00
fr33domlover
475e398d6d
Switch ticket comment IDs to use Hashids-of-MessageId instead of custom number
2019-03-15 16:36:02 +00:00
fr33domlover
c41f1183e0
Display instance host at the top of all pages
2019-03-04 09:06:23 +00:00
fr33domlover
e8ba301c6a
Switch actor ID URIs to be /s/ACTOR instead of /p and /g
...
See Vervis ticket #60 .
2019-02-14 22:13:58 +00:00
fr33domlover
c0965a4c47
Default roles for repos and turn user/anon collab tables into proj/repo fields
...
* Repo collab now supports basic default roles developer/user/guest like
project collab does
* User/Anon collab for repos and projects are now stored as fields instead of
in dedicated tables, there was never a need for dedicated tables but I didn't
see that before
* Repo push op is now part of `ProjectOperation`
* `RepoRole` and related code has been entirely removed, only project roles
remain and they're used for both repos and projects
* This is the first not-totally-trivial DB migration in Vervis, it's automatic
but please be careful and report errors
2019-01-29 22:24:32 +00:00
fr33domlover
5cba838917
Enable basic default project roles
...
* When adding collaborators, you don't need a custom role. If you don't choose
one, a basic default "developer" role will be used
* If you don't assign a `ProjectCollabUser` role, a default "user" role is
assumed for logged in users, otherwise a "guest" role
* The "guest" role currently has no access at all
* Theoretically there may also be a "maintainer" role allowing project
sharers/maintainers to give maintainer-level access to more people, but right
now maintainer role would be the same as developer so I haven't added it yet
2019-01-28 14:43:07 +00:00
fr33domlover
dcadaed2ee
Show links for adding repo/project collaborators
2019-01-27 02:56:11 +00:00
fr33domlover
577df6ddcf
Add "about" field to person table, display in person page
2019-01-26 23:39:13 +00:00
fr33domlover
4875f0b9f7
Make login status display consider unverified login
2019-01-21 22:51:19 +00:00
fr33domlover
2a68bb560b
Link to OutboxR for testing, instead of InboxR
2019-01-21 21:42:21 +00:00
fr33domlover
61a82f52d8
Turn inbox URL in layout template into a link, accidentally didn't before
2019-01-19 02:21:23 +00:00
fr33domlover
df01560ea6
ActivityPub inbox test page
...
This patch includes some ugliness and commented out code. Sorry for that. I'll
clean it up soon.
Basically there's a TVar holding a Vector of at most 10 AP activities. You can
freely POST stuff to /inbox, and then GET /inbox and see what you posted, or an
error description saying why your activity was rejected.
2019-01-19 01:44:21 +00:00
fr33domlover
e22d0c000a
In homepage say ForgeFed instead of GitPub (thanks zPlus!)
2019-01-19 01:43:19 +00:00
fr33domlover
822345a70e
Move signup link to login line, should look a bit nicer
2019-01-19 01:41:57 +00:00
fr33domlover
853390aba0
Move signup link to the top, to be close to login link (thanks zPlus!)
...
It's still ugly, they appear on different lines. Ideally, should change the
layout to have the links together.
2019-01-19 01:07:09 +00:00
fr33domlover
48d7e86684
Remove table headers from repo source dir view
2018-11-01 09:45:48 +00:00
fr33domlover
878f853520
Some CSS tweaks
2018-07-12 09:31:00 +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
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
0b2090f048
Fix issue: Ticket table was displaying project sharer instead of ticket author
2018-05-26 08:02:07 +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
9f77ea69cb
Display commit diff for Git repos
2018-05-21 20:32:34 +00:00
fr33domlover
5e2ac28c30
Forgot to record new files!
2018-05-18 19:44:14 +00:00
fr33domlover
ce89bded73
Add a commit view route, nothing displayed yet
2018-05-17 15:46:57 +00:00
fr33domlover
25f1db2941
Display breadcrumbs with → arrows instead of :: double colons
2018-04-11 22:49:20 +00:00
fr33domlover
c172784d61
Display last change for Darcs repos in homepage
2018-04-09 22:00:01 +00:00
fr33domlover
282ed32fe6
Upgrade to latest yesod-auth-account
2018-04-01 01:29:50 +00:00
fr33domlover
bfa6436bb3
Atom and RSS feeds for repo history
2018-03-31 22:04:33 +00:00
fr33domlover
f149da8ec6
getPersonR respond with minimal ActivityPub actor
2018-03-25 19:26:30 +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
fc556e0eb3
Workflow scope field, minimal support
2016-09-01 17:40:02 +00:00
fr33domlover
5909424644
Custom ticket field relevance filter by ticket status
2016-08-11 09:27:30 +00:00
fr33domlover
21192fef26
Route for accepting a New ticket
2016-08-11 07:58:51 +00:00
fr33domlover
3329b49b2e
Turn boolean ticketDone into TicketStatus enum
2016-08-11 00:44:11 +00:00
fr33domlover
941bd0ea03
Ticket content edit form lets you edit custom ticket params
2016-08-10 18:52:26 +00:00
fr33domlover
6457bf5607
Display custom enum fields in ticket page
2016-08-09 11:36:14 +00:00
fr33domlover
35933061c9
Display custom ticket field values in ticket page
2016-08-08 20:51:58 +00:00
fr33domlover
6e5ab77466
Projects must specify a ticket workflow
2016-08-08 19:05:22 +00:00
fr33domlover
a2ca78c790
Custom ticket fields specify whether required
2016-08-08 17:29:12 +00:00
fr33domlover
17643c6d49
Field enums aren't useful if you can't define values
2016-08-08 17:05:09 +00:00
fr33domlover
7ee28b97d2
Per-workflow custom ticket field enum types
2016-08-08 14:48:38 +00:00
fr33domlover
01385c480b
Per-workflow custom ticket fields
2016-08-08 14:01:06 +00:00
fr33domlover
2b364e006a
Link from person page to their workflows page
2016-08-08 11:28:35 +00:00
fr33domlover
687aa68a04
Per-sharer ticket workflows
...
A workflow is a new entity in Vervis. It defines the workflow of a
projects' ticket system. That includes the possible ticket states,
custom ticket fields, various filters and so on. All ticket system
customization is currently planned to be managed using workflows.
Currently workflows are private and per sharer, but the plan is to
support public workflows that can be shared and cloned.
2016-08-08 11:05:19 +00:00
fr33domlover
dc54a89503
Ticket tree view page
2016-08-04 07:36:24 +00:00
fr33domlover
b5014a0f5f
Ticket tree widget
2016-08-04 01:05:09 +00:00
fr33domlover
fe7aeb5162
Ticket summary widget
2016-08-04 00:40:29 +00:00
fr33domlover
810a329a76
Minor code layout fix in template
2016-08-03 19:31:03 +00:00
fr33domlover
effcfcca6b
In ticket template, forgot to use <li> in dep lists
2016-08-02 13:49:04 +00:00
fr33domlover
5c153b0294
Ticket dependency add/remove and some fixes to recursive SQL
2016-07-28 16:40:10 +00:00
fr33domlover
d1e1f3c0f7
Reverse dependencies page for tickets
2016-07-27 08:35:50 +00:00
fr33domlover
fcb68ceea7
List ticket deps and reverse deps in ticket page
2016-07-04 09:58:25 +00:00
fr33domlover
54bbf1907a
TODOs for listing ticket deps in ticket page
2016-07-03 08:25:00 +00:00
fr33domlover
c292bd51a4
Role diagram for repo roles too
2016-07-02 09:57:52 +00:00
fr33domlover
13afd17a40
Replace project role HTML flat list with an SVG diagram
2016-07-02 09:45:29 +00:00
fr33domlover
55945e30f9
Ticket claim request submission
2016-06-08 01:28:18 +00:00
fr33domlover
5557e65f66
Ticket dependencies in DB and per-ticket list of children
2016-06-07 20:16:15 +00:00
fr33domlover
11d4a955d8
Per-ticket list of claim requests with full info
2016-06-07 16:31:55 +00:00
fr33domlover
047b9c00c9
Per-project list of ticket claim requests
2016-06-07 15:29:26 +00:00
fr33domlover
5e04f951f2
Ticket claim requests in DB and personal list view of them
2016-06-07 10:01:57 +00:00
fr33domlover
ae83a5f3ad
Ticket un/assign (like un/claim but for other people)
2016-06-07 07:33:19 +00:00
fr33domlover
23c06c535a
Put roles under sharers, now groups' roles can be managed too
2016-06-06 19:41:22 +00:00
fr33domlover
f2e4bb4291
Roles now under by sharers, i.e. now groups too
2016-06-06 17:29:54 +00:00
fr33domlover
05e0d837fa
In group page, link to group members page
2016-06-06 14:13:33 +00:00
fr33domlover
f53768de7e
Paginate list of sharers on the server
2016-06-06 14:05:06 +00:00
fr33domlover
893d91acd8
Sharers page lists them, sharer page redirects to person or group
2016-06-06 13:34:23 +00:00
fr33domlover
174c44bfa4
Tweak CSS of submit buttons a.k.a take a break from coding
2016-06-06 10:11:51 +00:00
fr33domlover
a3af63d368
Ticket claim and unclaim routes with access checks
2016-06-06 09:03:49 +00:00
fr33domlover
e19caa0ffd
Don't display assignee for closed tickets
2016-06-06 07:36:30 +00:00
fr33domlover
33d5a947e6
Replace some %F with showDate
2016-06-06 07:26:58 +00:00
fr33domlover
c387e32214
Link to collaborator pages from repo and project pages
2016-06-06 06:55:46 +00:00
fr33domlover
ef42bf29cd
When creating a project, must choose a role for self
2016-06-06 06:48:59 +00:00
fr33domlover
5305caf0b0
Repo settings page, allow repos to move between projects
2016-06-05 21:11:05 +00:00
fr33domlover
7e0abe20b8
Make personal role management discoverable via links
2016-06-05 13:58:51 +00:00
fr33domlover
db28e5bb5e
Add edit and wiki links to project page template
2016-06-05 10:56:12 +00:00
fr33domlover
91266dd421
Project settings route, with wiki repo selector
2016-06-05 10:43:28 +00:00
fr33domlover
f8e1442e72
Initial minimal optional per-project wiki
2016-06-04 06:57:54 +00:00
fr33domlover
6971310196
Write missing group member routes
2016-06-01 22:01:01 +00:00
fr33domlover
18394a1213
Split ticket open/close out of TicketEditR into new routes
2016-06-01 19:50:41 +00:00
fr33domlover
e398c86854
Ticket assignee field
2016-06-01 16:20:19 +00:00
fr33domlover
4e0e8cb736
Add project roles, basically a copy of the repo role code
2016-06-01 08:52:14 +00:00
fr33domlover
10c27464dd
Make all role-related code repo-specific
2016-06-01 07:35:22 +00:00
fr33domlover
13bf3e1953
Write missing repo collaborator handlers
2016-05-31 01:52:04 +00:00
fr33domlover
c0e8ed0d2e
Initial minimal limited per-repo RBAC system
2016-05-29 13:17:55 +00:00
fr33domlover
ada42dea62
Enable adding group members
2016-05-26 16:25:23 +00:00
fr33domlover
ec49a4c424
Libravatar support \o/
2016-05-25 21:10:41 +00:00
fr33domlover
3687687457
Add group members page and breadcrumbs for group routes
2016-05-25 16:03:58 +00:00
fr33domlover
b7d443d031
Show creation date in group page
2016-05-25 07:50:10 +00:00
fr33domlover
b50f892d32
Display group members in group page
2016-05-25 07:24:34 +00:00
fr33domlover
bc66463776
Add group routes
2016-05-24 21:48:21 +00:00
fr33domlover
c6c41b485c
Finish route change, it builds now
...
I used this chance to make some name changes, add some utils, tweak some
imports, remove more `setTitle`s and so on. I also made person, repo,
key and project creation forms verify CI-uniqueness.
2016-05-23 20:46:54 +00:00
fr33domlover
1a3f976a81
Ticket filtering
2016-05-22 14:31:56 +00:00
fr33domlover
66cf702203
Add "new topic" link to discussion widget
2016-05-21 21:27:12 +00:00
fr33domlover
9368e68ab5
Enable new top-level comments, discussion system works now
2016-05-21 20:01:31 +00:00
fr33domlover
aa3d332b14
Pass AppDB action instead of DiscussionId
...
Passing `AppDB DiscussionId` from ticket handlers to the actual
discussion handlers allows the DB queries to run in a single
transaction.
2016-05-19 22:40:54 +00:00
fr33domlover
a56a7575fe
Implement reply-to-existing-comment
2016-05-19 22:07:25 +00:00
fr33domlover
cdfaec81f2
Replace dummy discussion widget with a real one
2016-05-19 15:49:39 +00:00
fr33domlover
6d29553844
Use discussion widget in ticket template
2016-05-18 10:26:19 +00:00
fr33domlover
ad9629d3f3
Dummy discussion widget
2016-05-18 10:10:07 +00:00
fr33domlover
2eb89cf460
DarcsRev widget in default layout footer
2016-05-18 08:35:13 +00:00
fr33domlover
e67f05c0ad
Revision widget using Development.DarcsRev
2016-05-18 08:10:32 +00:00
fr33domlover
ee9b40d466
Project page lists project's repos
2016-05-14 11:36:45 +00:00
fr33domlover
4d410cf1f7
Pick shorter names for project page templates
2016-05-13 22:11:46 +00:00
fr33domlover
298bbc57e4
SSH key deletion button
2016-05-13 21:41:46 +00:00
fr33domlover
4d16203e5d
Repo deletion button
2016-05-13 19:23:56 +00:00
fr33domlover
9295a9ba8c
Use <x .y> instead of <x class=y> in Hamlet files
2016-05-13 15:25:19 +00:00
fr33domlover
b2f5b20184
Minimal pagination for git and darcs change log
2016-05-13 08:49:19 +00:00
fr33domlover
5c288c7fdb
Darcs change log view
2016-05-08 14:28:03 +00:00
fr33domlover
07b627eb9c
Refactor Git log view into separate modules and Widgets
2016-05-06 10:29:02 +00:00
fr33domlover
ed2df29b66
Refactor git log view, make room for darcs
2016-05-05 16:30:30 +00:00
fr33domlover
3ed04941e8
Refactor git source view code and implement the same for Darcs
2016-05-05 07:29:19 +00:00
fr33domlover
c8c323f695
Split git repo source handler into sane small functions
2016-05-04 17:17:47 +00:00
fr33domlover
d8d2d160a0
Render ticket description as Markdown
...
At the beginning the rendering was invalid because it parsed the entire
content as a single line. For some reason, when I read the ticket
description from the DB, all newlines are returned as CRLF. I don't know
why yet or whether it can or should be changed, but as a quick fix, I
made the handler function filter out the CRs from the text. Then the
rendering is correct.
This matches the documentation of Pandoc, which mentions the readers
assume newlines are encoded as LF.
2016-05-02 21:20:25 +00:00
fr33domlover
072928dab1
Remove titles from all pages, the breadcrumb already shows them
2016-05-02 14:30:15 +00:00
fr33domlover
13d814034c
Breadcrumbs widget in default layout
2016-05-02 14:16:51 +00:00
fr33domlover
e8befc41ee
Multiplex ticket PUT and DELETE over POST
...
HTML forms support only GET and POST methods. One way to bypass that is
to send the form using JS. But I don't want that. Another is to send a
POST with a hidden form field which specifies the read method. This is
what 'postTicketR' does.
2016-05-02 11:34:11 +00:00
fr33domlover
9d3b7b686f
Ticket update form
2016-05-02 09:15:10 +00:00
fr33domlover
88569a08ad
Dummy handlers for ticket editing and deletion
2016-05-02 06:13:57 +00:00
fr33domlover
bc17dc78dd
Link from project page to its tickets
2016-05-01 11:05:20 +00:00
fr33domlover
bace4c1a84
Link from person page to their repos page
2016-05-01 10:22:04 +00:00
fr33domlover
7a4b211617
Ticket view page
2016-05-01 09:58:55 +00:00
fr33domlover
eaadbc050c
Ticket list page
2016-04-30 23:02:44 +00:00
fr33domlover
09b767a037
New ticket post form
2016-04-30 22:32:22 +00:00
fr33domlover
5ae09c2ad7
Remove copyright field from settings, copyright is wrong!
2016-04-19 15:47:26 +00:00
fr33domlover
85319ddfdc
Render README below repo tree view when present
2016-04-13 16:17:34 +00:00
fr33domlover
b42d9db432
Split source file rendering into separate module
2016-04-13 06:55:39 +00:00
fr33domlover
2323ec3fc0
Repo page is root repo source page, remove duplication
2016-04-12 23:38:21 +00:00
fr33domlover
d37108fa6f
Add breadcrumb to repo tree content view
2016-04-12 23:10:46 +00:00
fr33domlover
979156b8ae
Make the homepage repo table a bit more friendly
2016-04-12 23:09:52 +00:00
fr33domlover
ea71f30d96
Repos right under users, not under projects
2016-04-12 17:37:31 +00:00
fr33domlover
69b2dafc32
Define some initial highlight colors
2016-04-12 14:44:43 +00:00
fr33domlover
05f537d288
Syntax highlighting suppport, but no colors in CSS yet
2016-04-12 11:21:14 +00:00
fr33domlover
3a0a7026d0
In repo file tree, make each entry (files and dirs) a link
2016-04-12 10:11:19 +00:00
fr33domlover
3c9d1eb095
Weird, I thought I already recorded the repo source template
2016-04-12 10:05:43 +00:00
fr33domlover
b312d41ef0
Move project templates to new templates/project dir
2016-04-11 22:46:09 +00:00
fr33domlover
df7bfe3303
Add repo commits template, looks like I didn't record it
2016-04-11 22:35:52 +00:00
fr33domlover
eadce14e42
Move key templates to new templates/key dir
2016-04-11 22:31:03 +00:00
fr33domlover
0769902f96
Link from repo page to commits page
2016-04-11 22:18:34 +00:00
fr33domlover
9e9e7fc803
Display repo files in repo page instead of history log
2016-04-11 22:13:32 +00:00
fr33domlover
60175d5634
Move repo related templates to new templates/repo dir
2016-04-11 21:24:10 +00:00
fr33domlover
4a6853e7e7
Add SSH key upload form
2016-03-08 02:52:46 +00:00
fr33domlover
78213db2fc
Add UI for display of SSH keys
2016-03-07 00:42:06 +00:00
fr33domlover
90fe62a8cc
Replace '...' with dedicated ellipsis unicode char
2016-03-07 00:41:04 +00:00
fr33domlover
f876683d70
Style: Make links not be underlined unless hovered
2016-03-07 00:37:52 +00:00
fr33domlover
9afd341aca
Replace some Esqueleto with much simpler Persistent queries
2016-03-03 08:35:29 +00:00
fr33domlover
b20c672a01
Implement git history log in repo page
2016-03-03 08:15:54 +00:00
fr33domlover
ec4c7de582
Add repo pages and repo creation form
2016-02-27 05:41:36 +00:00
fr33domlover
9b686c6db0
Write initial overview content and add project creation form
2016-02-25 03:10:30 +00:00
fr33domlover
b95bf9e42b
Create personal overview page, still blank
2016-02-23 03:19:55 +00:00
fr33domlover
395fd67762
Make homepage link to registration page
2016-02-23 02:44:37 +00:00
fr33domlover
1c044520b5
Implement registration and make it build
2016-02-23 02:27:01 +00:00
fr33domlover
c0a86c3f5b
Add user registration form view, still no-op
2016-02-19 04:10:42 +00:00
fr33domlover
ee7a353904
Define color palette and write initial Cassius
2016-02-18 22:33:27 +00:00
fr33domlover
5287a47372
Add project pages
2016-02-17 21:53:53 +00:00
fr33domlover
a6525d7549
Add people and person pages
2016-02-17 16:43:23 +00:00
fr33domlover
7ede602d1d
Remove CSRF protection for now, until I fix it
2016-02-17 11:49:41 +00:00
fr33domlover
8e3675865d
Add comment bits for SSL and delete some garbage from template
2016-02-17 11:31:01 +00:00
fr33domlover
7857a8a964
Make initial homepage with table and simple login
2016-02-16 11:41:13 +00:00
fr33domlover
3da488b3a2
Remove example code I don't need
2016-02-14 10:17:31 +00:00
fr33domlover
f4dcf17f3f
Move some files around, tweak the generated code a bit
2016-02-14 09:10:21 +00:00
fr33domlover
952f6baafd
Bring Yesod scaffolding
2016-02-13 03:35:30 +00:00