Commit Graph

211 Commits

Author SHA1 Message Date
Ignas Kiela 03f8983945 Remove TicketSeen
Has a fair amount of complexity for not much gain.
2021-12-20 10:15:17 +01:00
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
Ivan Habunek 87ff71d4af Store ticket comment counts in the database
This saves a query when rendering the tracker page, and allows sorting
by comment count which can be given as a sorting option.
2021-09-14 12:40:41 +02:00
Ivan Habunek 8b056f3d30 Implement sorting in ticket search
By default tickets are sorted by updated DESC, if not otherwise defined.

Sort order is defined by entering `sort:<term>` in the search box where
`<term>` can be one of `updated` or `created`. More terms can be added
later.

Sort order is descending by default, it can be reversed by specifying
`rsort:<term>` instead.
2021-09-14 12:40:40 +02:00
Steven Guikal af6d7ed514 Add aria-labels for comment count and remove button 2021-08-20 10:44:01 +02:00
Drew DeVault 05f566696b events: fix extra spaces in URLs 2021-08-16 19:38:32 +02:00
Mark Dain aa6a984704 Identify JavaScript as AGPL-3.0-only for LibreJS
This commit introduces LibreJS compatible `@license' blocks as per
https://www.gnu.org/software/librejs/free-your-javascript.html

The magnet URI can be opened in a BitTorrent client to retrieve a copy
of the GNU AGPL 3.0 license. Section 3.2.2.1 from the above link has
a list of magnet URIs for various free software licenses.
2021-03-24 08:03:27 -04:00
Drew DeVault b779e21822 Fix use of relative URLs in "closed tickets" links 2021-03-01 08:57:57 -05:00
Drew DeVault 78b187bb75 API: implement ticket { subscription } 2021-02-16 10:04:26 -05:00
Drew DeVault 396fe85b86 Remove unimplemented search hint 2021-02-05 10:36:01 -05:00
Drew DeVault a34263c4dd Hide ticket labelling UI if user lack permission
Fixes #240
2021-01-22 08:24:28 -05:00
Drew DeVault 02d07977c9 Update wording on dashboard page
To encourage users to feel like a part of sr.ht
2020-11-20 11:29:38 -05:00
Drew DeVault 15e8154fb3 dashboard: make prefs style more specific
The more-general version hit some details elements elsewhere, such as
the user assignment UI.

This also improves the margin consistency in the open/closed states.
2020-10-10 14:10:02 -04:00
наб bb5a0a8ccf Add option to notify users of their own web activity
Ref: ~sircmpwn/todo.sr.ht#94
2020-10-10 14:00:58 -04:00
наб d3ef822252 Allow long tracker/ticket slugs to break
Ref: ~sircmpwn/sr.ht#245
2020-09-11 10:15:22 -04:00
наб 809e294ef0 Free labels tab from its internal menu 2020-09-03 11:05:15 -04:00
Drew DeVault e2bc9f59e8 Wrap ticket title in event lists 2020-09-03 10:09:01 -04:00
наб 752f8fe026 Don't link to create a label if the user wouldn't be able to
I'd misread the permission hierarchy the first time and assumed that if
user can manage, they can also add a label
2020-09-02 12:30:39 -04:00
Drew DeVault b90c13da5e tracker summary: update permissions notice
ref ~sircmpwn/todo.sr.ht#227
2020-09-01 16:26:53 -04:00
наб 17607d9ef4 Scroll down to the comment preview when previewing a comment 2020-08-28 09:00:56 -04:00
наб b20d80a34d Don't hide settings tab on narrow screens
Ref: ~sircmpwn/sr.ht#179
2020-08-26 09:35:03 -04:00
Drew DeVault deb31fb00e Implement ticket editing in the UI 2020-08-25 15:47:58 -04:00
наб ca6ab07d74 Link to label creation page from ticket if no labels exist
Ref: ~sircmpwn/todo.sr.ht#189
2020-08-21 10:11:40 -04:00
наб 0ac0859f4d Don't suggest submitter:me if not logged in 2020-08-06 09:15:45 -04:00
наб caaab0c2c1 Show subscription mailto: links to anonymous users
As suggested in <C4DCAJR6LQD2.GBNNZ1ME6L4N@homura>
2020-07-30 08:52:18 -04:00
наб ce2683189f Match "{En,Dis}able notifications" capitalisation in ticket to tracker's 2020-07-27 15:08:44 -04:00
наб 4270950afe Add Tracker.ref() à la Ticket.ref(), replacing manual construxions 2020-07-22 13:19:56 -04:00
Drew DeVault 6e438d993b Fix extra space in ticket ID link 2020-07-17 10:11:48 -04:00
наб d14758e1d8 Tracker export doc: registered users' e-mailed submissions *are* signed 2020-07-16 09:03:59 -04:00
René Wagner fcf5cf218d fixes ~sircmpwn/todo.sr.ht#216: allow preview for comments for all tickets a user is allowed to comment 2020-05-25 10:16:07 -04:00
Ivan Habunek 6ac582e3b6 Add preview when editing tickets 2020-05-22 15:47:23 -04:00
Ivan Habunek 5a123a5872 Add preview when creating tickets 2020-05-22 15:47:23 -04:00
Matt Singletary ff14d6502f Add label to search box
Use sr-only to not mess with (visible) design
2020-04-24 11:10:05 -04:00
Drew DeVault 5f745f7705 Correct layout of header nav 2020-03-30 10:15:39 -04:00
Drew DeVault dd416c6a59 Responsiveness improvements 2020-03-10 11:07:56 -04:00
Ivan Habunek e885f90876 Handle search errors 2020-02-11 11:58:16 -05:00
Drew DeVault ae41a24ad2 Remove extraneous spaces from links 2020-01-22 18:29:13 -05:00
Drew DeVault 5c6e99aedb Improve layout of ticket edit page 2020-01-22 18:20:09 -05:00
Drew DeVault fe08cd4447 Implement ticket import 2020-01-09 12:19:44 -05:00
Ivan Habunek 45fb4cf3e4 Implement preview for comments
Adds a "Preview" button alongside "Comment". Clicking this button
renders the comment text without actually creating the comment.

https://todo.sr.ht/~sircmpwn/todo.sr.ht/195
2020-01-07 10:08:56 -05:00
Drew DeVault 15ea80ab9b Autofocus ticket title if another 2019-12-11 08:43:44 -05:00
Drew DeVault c443228630 Move autofocus on tracker page to search 2019-11-19 18:27:23 -05:00
Drew DeVault d015cff999 Fix routing to details_GET from create 2019-11-06 11:14:53 -05:00
Drew DeVault 6fc1173079 Clarify docs for signed data exports 2019-11-04 17:15:27 -05:00
Drew DeVault f22c84e254 Sign parts of the data export for trackers 2019-11-04 17:13:44 -05:00
Drew DeVault e8fc507ea1 Implement tracker data export 2019-11-04 16:31:38 -05:00
Drew DeVault 2fb6bc8d13 Split settings into separate blueprint 2019-11-04 16:15:37 -05: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
Drew DeVault 89512d4308 Make ticket timestamp a permalink 2019-09-18 13:26:15 -04:00
Drew DeVault 4d5126cfc7 Fix straggling by_user reference in events.html 2019-09-07 09:41:15 -07:00