Commit Graph

21 Commits

Author SHA1 Message Date
Drew DeVault d2f57b98c1 Overhaul default access lists (web)
The changes are:

- Introduce a visibility column, similar to git.sr.ht et al
- Consolodate the default access columns into one
2021-09-24 08:21:04 +02:00
Sol Fisher Romanoff 790f8e301b Make tracker names match [A-Za-z0-9._-]+
Fixes an issue where "_" could be used as a wildcard in tracker names.
Also prohibits use of '.git' and '.hg' as tracker names.
2021-08-11 09:41:12 +02:00
Drew DeVault 9f4d75f42c Prohibit trackers named . or .. 2021-06-12 11:55:10 -04:00
наб 613933a49c Wrap valid punctuation in tracker creation error in <samp>s
They were pretty hard to notice and read otherwise
2020-07-22 13:19:57 -04:00
наб 4270950afe Add Tracker.ref() à la Ticket.ref(), replacing manual construxions 2020-07-22 13:19:56 -04:00
Drew DeVault f1162e7477 Add tracker ID to API response 2020-04-02 09:18:06 -04:00
Drew DeVault fe08cd4447 Implement ticket import 2020-01-09 12:19:44 -05:00
Drew DeVault 2bdd7ad21c Fix uppercase tracker names 2019-11-06 14:04:21 -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 204597dfb4 Accept email tickets/comments for anon users 2019-08-22 13:20:39 +09:00
Chris Kinniburgh a1cf619e80 Allow 2 character label names 2019-06-12 10:47:07 -04:00
Drew DeVault c2df4f617f Fix 500 on tracker creation 2019-06-11 09:14:39 -04:00
Ivan Habunek aaad330244 Replace overriden __init__ with factory method
Simplifies mocking, fixes factories.
2019-05-21 10:22:29 -04:00
Drew DeVault d6986aed72 Add simple ticket API 2019-04-30 16:17:43 -04:00
Drew DeVault 785574871c Initial pass on API support
Adds an API for working with trackers
2019-04-30 15:12:05 -04:00
Drew DeVault 0963b4a79f Move FlagType into srht 2017-09-19 20:15:18 -04:00
Drew DeVault abc404e79c Use tracker-specific ticket IDs 2017-09-14 07:26:29 -04:00
Drew DeVault 09d66b26d3 Implement initial ticket detail page 2017-09-13 22:09:32 -04:00
Drew DeVault e4048c9efc Implement ticket submission 2017-09-13 08:17:52 -04:00
Drew DeVault f2885f8777 Add initial schema
Includes:

- Trackers
- Tickets
- Custom ticket fields
- Comments
- Initial permissions
- Audit logging

Will eventually also need:

- More custom ticket field types
- API-only ticket fields
- User specific permissions
- git.sr.ht (and other gits) integrations
- Attachments (blocked pending files.sr.ht)
2017-07-22 00:33:29 -04:00