Commit Graph

582 Commits

Author SHA1 Message Date
Drew DeVault 2fb6bc8d13 Split settings into separate blueprint 2019-11-04 16:15:37 -05:00
Cédric Bonhomme 8983bccf90 Fix regular expression: Repository name can not start with .-_ 2019-11-04 10:24:41 -05:00
Cédric Bonhomme 732329c04e Aligning the naming constraints with git.sr.ht: - repository name must be at least one character, not two; - fist character can be uppercase (but not a numeric); - in general accepts only alphanumeric characters or ._-
~sircmpwn/todo.sr.ht#193
2019-11-04 10:24:25 -05:00
Drew DeVault 6ce73b2489 Fix editing of labels with / in the name 2019-11-01 11:15:31 -04:00
Ivan Habunek 7d018e76e1 Implement editing labels
as requested in https://todo.sr.ht/~sircmpwn/todo.sr.ht/159
2019-10-26 11:05:43 -04:00
Ivan Habunek 53cb5b596c Fix recent users function
A bug was introduced when modifying the functions to work with
participants in b4c92a39. A new field was added to the query, but the
offset was not modified when reading the username.
2019-10-26 10:56:25 -04:00
Ivan Habunek 62b8fe82da Set ticket title and description with URL params
Setting ?title=foo&description=bar to the tracker page will
automatically populate the title and description inputs. This can be
useful for crafting error-reporting links.
2019-10-26 10:56:22 -04:00
Drew DeVault 89512d4308 Make ticket timestamp a permalink 2019-09-18 13:26:15 -04:00
Denis Laxalde 5b45046d34 Add a build manifest for Debian packaging 2019-09-18 11:30:48 -04:00
Denis Laxalde 23067adce5 Add In-Reply-To header to notification emails
We add a Message-ID header to the notification email about new ticket,
the value of ticket's mailing list is used. For other notifications, we
insert an In-Reply-To header with the same value. This implements "flat
replies" as described in https://todo.sr.ht/~sircmpwn/todo.sr.ht/97.

Closes https://todo.sr.ht/~sircmpwn/todo.sr.ht/97
2019-09-12 16:05:49 -04:00
Drew DeVault 4d5126cfc7 Fix straggling by_user reference in events.html 2019-09-07 09:41:15 -07:00
Drew DeVault 7fe113cc82 Fix oversized images in event lists 2019-08-24 13:34:06 +09:00
Drew DeVault 5f5b59b67b Narrow the comments area 2019-08-24 11:05:30 +09:00
Drew DeVault fb5d547071 Use participant_url for rendering mentions 2019-08-24 10:57:35 +09:00
Drew DeVault 59d69f482d Use flexbox for wrapping ticket titles 2019-08-24 10:55:34 +09:00
Drew DeVault e029b9f6db Rearrange ticket detail pages 2019-08-24 10:52:19 +09:00
Drew DeVault e978ebc006 Correct "get_participant_by_user" -> "for_user" 2019-08-24 09:07:41 +09:00
Drew DeVault 2f4969d504 Updates per core.sr.ht centered redesign 2019-08-24 09:07:14 +09:00
Drew DeVault b46f03ea64 Fix enable/disable notifications 2019-08-23 08:55:08 +09:00
Drew DeVault d4d61d2792 Allow owners to import comments from external host 2019-08-22 15:05:03 +09:00
Drew DeVault fff863b991 Allow admins to create tickets at specific times 2019-08-22 14:20:09 +09:00
Drew DeVault aff9a9417e Allow admins to create tickets from external users 2019-08-22 13:56:50 +09:00
Drew DeVault f63f98e660 Add subject to email reply address for tickets 2019-08-22 13:41:02 +09:00
Drew DeVault 01665d9240 Update ticket UI for email comments 2019-08-22 13:33:11 +09:00
Drew DeVault bf7f8aa3fc Update UI for ticket submission via email 2019-08-22 13:31:29 +09:00
Drew DeVault 204597dfb4 Accept email tickets/comments for anon users 2019-08-22 13:20:39 +09:00
Drew DeVault 846417baeb Fix use of by_user_id in assignment flow 2019-08-22 12:53:27 +09:00
Drew DeVault aa7334e7d8 ticket.html: fix missed property name 2019-08-22 12:37:14 +09:00
Drew DeVault 4e57b3a290 Fix typo in alembic migration 2019-08-22 11:36:29 +09:00
Drew DeVault b4c92a39db Generalize users into participants 2019-08-22 11:05:25 +09:00
Drew DeVault f4f961c00f Add *.js to templates for optional js support 2019-08-12 10:34:30 +09:00
Ivan Habunek e7aab9cbad Extract getting recent users 2019-08-12 10:29:19 +09:00
Ivan Habunek 51aa558ba4 Add username completion to tracker access page 2019-08-12 10:29:18 +09:00
Ivan Habunek 1b1e5b798d Extract user autocomplete to enable reuse 2019-08-12 10:29:17 +09:00
Jonas Mueller c8ef2f9b11 Fixup: Pluralisation of comment(s) in tracker
The definition of `.comments` for large screens currently overwrites the
one for small screens - `!important` to the rescue. Also `.label` is
already used elsewhere.
2019-08-08 10:26:23 +09:00
Drew DeVault 27fa6fecbd Fix syntax error in tracker.html 2019-08-07 14:01:07 +09:00
Jonas Mueller ba054a9845 Only show unread comments bubble if there are any 2019-08-07 13:58:37 +09:00
Jonas Mueller b961b8adbf Fix pluralisation of comment(s) in tracker
See https://todo.sr.ht/~sircmpwn/todo.sr.ht/187
2019-08-07 13:58:35 +09:00
Drew DeVault b6a71ec939 Fix too-wide images in markdown 2019-07-27 10:20:18 -04:00
Drew DeVault 4516d8717b Use srht.flask.session instead of flask.session 2019-07-12 14:13:40 -04:00
Drew DeVault ebc57e1c43 Enforce ticket access on labels via email 2019-07-08 13:10:18 -04:00
Drew DeVault 102998365b Add !label and !unlabel to todosrht-lmtp 2019-07-08 13:03:47 -04:00
Drew DeVault 48d41a8f68 Improve layout of ACL UI 2019-07-05 12:44:18 -04:00
Ivan Habunek 47e7c0623f Respect per-user access permissions
Flesh out the access rules a bit, while at it.
2019-07-05 12:34:33 -04:00
Ivan Habunek 9b26e7cbf3 Add CRUD views for UserAccess 2019-07-05 12:34:30 -04:00
Ivan Habunek eef166ade5 Add UserAccess type and migration 2019-07-05 12:34:23 -04:00
Drew DeVault cb4dccd090 Update to Alpine 3.10 2019-06-30 19:40:10 -04:00
Paul Wise ca8b050abd Contract the email signatures into one line
A shorter email signature wastes less space in email viewers.
2019-06-29 14:28:42 -04:00
Paul Wise a320ff475d Use "-- " for the email signature separator
This is the separator specified in RFC 3676 item 4.3.

See-also: https://www.ietf.org/rfc/rfc3676.txt
See-also: https://en.wikipedia.org/wiki/Signature_block
2019-06-29 14:28:39 -04:00
Drew DeVault df413bf7d4 Update Arch Linux package signing key 2019-06-24 17:04:07 -04:00