fr33domlover
bf4a0e4c95
getTicketsR: Deduce ticket URL correctly for HTML output too
2020-02-23 15:41:08 +00:00
fr33domlover
32173fe0c0
Add tickets-under-sharer route, just plain JSON view
2020-02-08 15:24:36 +00:00
fr33domlover
443ff6daa1
Switch ticket routes to use the KeyHashid of LocalTicket instead of Ticket
2020-02-06 00:52:15 +00:00
fr33domlover
1cb3812ef5
Remove ticket numbers from UI and from URLs, use KeyHashid instead
2020-02-03 14:53:12 +00:00
fr33domlover
59d08782ba
Don't html-escape ticket title, it's already escaped
2020-01-17 21:52:29 +00:00
fr33domlover
f4a5866dec
Very basic support for ticket label colors
...
- WorkflowField now has a color, it's a simple `Maybe Int` for now. Valid
values are only 1-4
- That color is used for displaying ticket class params a.k.a labels in ticket
list view
- Ticket list now also serves a paged OrderedCollection
I tried to use a single SQL query to grab the tickets along with their labels,
but couldn't figure out a way to aggregate tuples/rows into an array (it seems
only single values are supported in Esqueleto). Instead of doing manual SQL or
adding Esqueleto functions, I just switched from 1 query to O(n) queries: Each
ticket has its own query selecting its labels. I guess it's slower, but also,
ticket list is paged now with fixed page size so it's really O(1) ^_^
2020-01-16 10:29:47 +00:00
fr33domlover
031a4c0930
Display ticket class params AKA labels in ticket list view
2020-01-11 17:28:53 +00:00
fr33domlover
d01bc5bad7
Implement ticket class params
2020-01-05 14:33:10 +00:00
fr33domlover
8fc5e4b3c1
DB: Rename entity WorkflowFieldEnum to WorkflowEnum
2020-01-05 12:04:17 +00:00
fr33domlover
878e8f4056
In /browse, add repo-less project table, so that all projects are listed
2019-12-28 18:04:05 +00:00
fr33domlover
d8fabbdfc5
Display project/repo sharer nav, and project nav in repo page
2019-12-28 16:34:44 +00:00
fr33domlover
7654655bcf
In repo source page(s), display the project it belongs to
2019-12-27 20:44:14 +00:00
Jason Harrer
955f7444f6
Discussion Tree View Improvements
2019-12-08 14:47:38 +00:00
Jason Harrer
8094a37aea
Improved Ticket Layout
2019-12-04 11:35:35 +00:00
fr33domlover
4bbfcd6521
UI: Add missing space between icon and text in project page nav bar
2019-11-03 13:21:29 +00:00
fr33domlover
deba50f835
UI: Display all messages in defaultLayout, not just one
2019-11-03 13:20:48 +00:00
fr33domlover
4dcd6eb1b2
UI: Some tweaks, following ikomi's suggestions, thank you ikomi :)
2019-10-31 11:29:00 +00:00
fr33domlover
90ad05b327
UI: When mouse hovers over button, make bg color just slightly darker
...
Previously, the color would get so dark it would blend with the page background
and the button text color. I'm not sure I picked the best color; just picked
something that works.
2019-10-23 08:42:49 +00:00
fr33domlover
f846a75440
UI: Move repo deletion button to the bottom of the page
2019-10-23 07:43:40 +00:00
fr33domlover
65d730393a
UI: Display link bar in ticket page; move project page edit link to the bar
2019-10-19 11:21:29 +00:00
fr33domlover
0ff25833a0
UI: In project page, display a link bar
2019-10-19 10:52:10 +00:00
fr33domlover
c85c2aa734
UI: In person page, display a link bar
2019-10-19 10:30:29 +00:00
fr33domlover
25e29e8ccc
UI: In repo source page, display a link bar
2019-10-19 10:13:33 +00:00
fr33domlover
552e2b3001
UI: Remove link to FEDERATION.md
...
It's getting outdated and with demo instructions you don't need that file
anyway. Removing it to reduce visual clutter in the UI.
2019-10-19 09:49:09 +00:00
fr33domlover
5603c8d72d
UI: Move notification marker to be next to logged-in username
2019-10-19 09:48:15 +00:00
fr33domlover
bc379a864f
Provide 'following' collections and link in page header
2019-10-19 08:15:48 +00:00
fr33domlover
b914ef4d16
UI: In page header, display logged-in username in bold text
2019-10-19 08:15:04 +00:00
fr33domlover
edf624e806
UI: Link to /publish in personal overview, and some useful pages in "navbar"
2019-10-19 03:17:53 +00:00
fr33domlover
e96749a19e
UI: In SSH key creation page, list supported key types (only RSA right now)
2019-10-17 11:46:23 +00:00
fr33domlover
271bc3dbd0
UI: List projectless repos and "Create New" link in personal overview page
2019-10-17 11:45:06 +00:00
fr33domlover
6a4975a52c
Add "Follow" button to person, repo, project and ticket pages
2019-10-02 08:07:26 +00:00
fr33domlover
68e8b094a0
Handle post-receive hook, publish a Push activity
2019-09-09 00:27:45 +00:00
fr33domlover
2c18660a3b
Provide AP representation of commits, and support committer field
2019-08-06 13:23:11 +00:00
Jason Harrer
8f268b17a3
Use CSS to layout applicative forms more nicely on the pages
2019-07-27 00:05:04 +00:00
fr33domlover
8fc5c80dd6
New Network.FedURI with separate URI modes for dev and for fediverse
...
FedURIs, until now, have been requiring HTTPS, and no port number, and DNS
internet domain names. This works just fine on the forge fediverse, but it
makes local dev builds much less useful.
This patch introduces URI types that have a type tag specifying one of 2 modes:
- `Dev`: Works with URIs like `http://localhost:3000/s/fr33 `
- `Fed`: Works with URIs like `https://dev.community/s/fr33 `
This should allow even to run multiple federating instances for development,
without needing TLS or reverse proxies or editing the hosts files or anything
like that.
2019-07-23 13:59:48 +00:00
fr33domlover
828e015c54
Rename TicketDepR to TicketDepOldR; we're going to use TicketDepR in a new way
2019-07-08 15:54:41 +00:00
fr33domlover
84d5375319
In inbox and notifications views, add missing space between words
2019-06-30 15:20:40 +00:00
fr33domlover
31d7e9eac7
Display times and link to activity in inbox, outbox and notifications
2019-06-30 14:04:28 +00:00
fr33domlover
d8da1f2abf
Display summary and pretty JSON for notifications and for outboxes
2019-06-30 01:41:54 +00:00
fr33domlover
d73c3928a0
In inbox display, show summary when available, otherwise show highlighted JSON
2019-06-29 23:16:52 +00:00
fr33domlover
6d72d676e7
Switch OutboxItem's Activity from plain BL to an upgraded PersistJSONObject
2019-06-29 03:19:00 +00:00
fr33domlover
e10b4d452a
Treat outbox items in DB as bytestrings to avoid depending on JSON parsing
2019-06-28 23:15:08 +00:00
fr33domlover
4be444f5ab
Bring back postTicketsR, now implemented using offerTicketC
2019-06-23 10:00:11 +00:00
fr33domlover
64a377b12f
Use syntax highlighting in outbox item JSON display
2019-06-16 21:32:18 +00:00
fr33domlover
b1897a20c0
Allow ticket author to be a remote actor
2019-06-07 04:26:32 +00:00
fr33domlover
c7dccbb7fe
Render in advance and store comment content as HTML alongside Markdown source
2019-06-02 14:41:51 +00:00
fr33domlover
facf4d7f3e
Rename messageContent field to messageSource; content will soon be HTML
2019-06-02 12:04:35 +00:00
fr33domlover
21b7325c1b
Rename role related tables to reflect the role unification
...
There used to be project roles and repo roles, and they were separate. A while
ago I merged them, and there has been a single role system, used with both
repos and projects. However the table names were still "ProjectRole" and things
like that. This patch renames some tables to just refer to a "Role" because
there's only one kind of role system.
2019-05-31 15:02:57 +00:00
fr33domlover
12ec77fb44
Add back the repo source CSS templates, they're used separately from pandoc
2019-05-27 17:39:33 +00:00
fr33domlover
b8b226d15c
Highlight code segments in pandoc rendered source file views
2019-05-27 13:28:57 +00:00
fr33domlover
7869af7334
In default layout template, fix typo in display of notification count
2019-05-25 22:28:21 +00:00
fr33domlover
ae1e10cab2
Vervis.Handler.Ticket: Import esqueleto qualified
2019-05-25 22:04:06 +00:00
fr33domlover
bf9199b466
Forgot to commit new templates
2019-05-25 19:35:31 +00:00
fr33domlover
c531f41565
Implement basic notifications in DB and UI
2019-05-22 21:50:30 +00:00
fr33domlover
6d55b8c5d7
Display remote actor name in remote message view
2019-05-21 09:11:13 +00:00
fr33domlover
0e4070db75
In ticket discussion, have links to the individual messages (MessageR route)
2019-05-07 02:54:45 +00:00
fr33domlover
a6bfb0cf36
Show note about federation being disabled, and list other known instances
2019-05-05 22:00:26 +00:00
fr33domlover
b4afa2d086
Fix layout bug in homepage
2019-05-05 15:39:14 +00:00
fr33domlover
67a77b1897
In layout header, link to federation status info page
2019-05-05 11:36:10 +00:00
fr33domlover
c6eaf7cccc
In personal overview page, add link to personal inbox
2019-05-05 11:14:23 +00:00
fr33domlover
8303baa69d
Implement GETing the personal inbox
2019-05-05 10:20:55 +00:00
fr33domlover
f7f15e0f63
When sending ticket comment in regular Vervis UI, deliver it using ActivityPub
2019-04-20 21:34:45 +00:00
fr33domlover
dedb9834e3
Tweak author link text in ticket comments
2019-04-18 23:14:36 +00:00
fr33domlover
b31c6fe0ef
Update homepage text
2019-04-06 23:06:46 +00:00
fr33domlover
a3bd0356e2
Mention in homepage that I'm asking to do Freenode group registration
2019-03-29 19:38:25 +00:00
fr33domlover
e53c056e1e
Mention my IRC presence in homepage
2019-03-25 00:01:06 +00:00
fr33domlover
c27636a438
Add route /publish for sending activities, getOutboxR now free to return outbox
2019-03-22 05:17:54 +00:00
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