Commit Graph

719 Commits

Author SHA1 Message Date
Drew DeVault 7fa0401806 API: implement ticket assignees 2021-02-09 11:08:38 -05:00
Drew DeVault 057b65814d API: implement participant loader 2021-02-08 10:44:52 -05:00
Drew DeVault b4a6d22290 API: implement ticket { tracker } 2021-02-08 10:44:52 -05:00
Drew DeVault 6f9988a490 Ticket: use left join on tracker/user
This allows postgres to optimize it out if we don't select the
appropriate fields.
2021-02-08 10:44:52 -05:00
Drew DeVault a952bb6faa API: implement Ticket { ref }
This required some core-go patching to support composite fields.
2021-02-08 10:44:52 -05:00
Drew DeVault 6ee0f67e53 Add Ticket model and wire up tracker { tickets } 2021-02-08 10:44:52 -05:00
Drew DeVault 6ddf2b4df2 API: flesh out remaining event types
Relationships will still have to be addressed in schema.resolvers.go in
a later patch, but I'm deferring this until we can flesh out the
appropriate types.
2021-02-08 10:44:51 -05:00
Drew DeVault 4e23385e1e API: rig up status change events 2021-02-08 10:44:51 -05:00
Drew DeVault bcd2302251 API: Initial riggings for events 2021-02-08 10:44:51 -05:00
Drew DeVault 3dac774c71 API: Implement query { trackerByOwner } 2021-02-08 10:44:51 -05:00
Drew DeVault cb460bb4e0 API: join on ACLs for trackerById 2021-02-08 10:44:51 -05:00
Drew DeVault fec9109909 API: implement query { trackerByName } 2021-02-08 10:44:51 -05:00
Drew DeVault b9bad8ad12 API: Implement query { tracker } 2021-02-08 10:44:51 -05:00
Drew DeVault fb402f3672 API: Rig up loaders, implement query { user } 2021-02-08 10:44:51 -05:00
Drew DeVault a66542c0dc API: Implement query { me } 2021-02-08 10:44:51 -05:00
Drew DeVault afdf491ee6 API: Implement query { trackers } 2021-02-08 10:44:51 -05:00
Drew DeVault 0d618049c1 API: Implement query { version } 2021-02-08 10:44:51 -05:00
Drew DeVault 3ea53acc66 Rig up with core-go server riggings 2021-02-08 10:44:51 -05:00
Drew DeVault 475901b455 API: Initial groundwork 2021-02-08 10:44:51 -05:00
Drew DeVault 4fba3b7bdb .builds/alpine: upgrade to 3.13 2021-02-08 10:37:36 -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 e4794677e2 Fix notifications for newly subscribed user 2021-01-21 19:58:01 -05:00
Drew DeVault 5efd6ba260 Fix misc. exception sources 2021-01-21 19:49:09 -05:00
Drew DeVault 6e5d59e614 email: update lookup_user callsite core.sr.ht changes 2021-01-18 15:34:31 -05:00
Denis Laxalde 6b683af18e Use datetime.fromisoformat() to parse dates in tracker import
This would allow preserving original time zone information and also
handles negative UTC offset values.
2021-01-18 12:49:20 -05:00
Denis Laxalde 04135b65ca Fix background color of assign menu in dark mode 2021-01-18 12:49:20 -05:00
Drew DeVault 8795dcb33b tickets: triage access is required for labelling 2021-01-11 09:06:12 -05:00
Drew DeVault 62767c27dd find_mentioned_users: use set 2021-01-07 13:42:07 -05:00
Drew DeVault 49f8555d0b Similar fix for find_mentioned_tickets 2021-01-07 12:53:25 -05:00
Drew DeVault 228455d27e find_mentioned_users: fix "none" description
This was causing exceptions when tickets were filled out without a body,
presumably following the core.sr.ht validation change.
2021-01-07 12:40:07 -05:00
Drew DeVault 08b8ce116f Dark theme improvements 2020-12-16 10:16:34 -05:00
Drew DeVault e7caaa18dd Dark theme updates 2020-12-15 14:15:58 -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
Simon Ser 7643b83209 Don't append duplicate term in label_search_url
Prevent duplicate "label:" criteria from being appended to the query.
2020-11-10 12:07:50 -05:00
Drew DeVault 11cf2a5c09 label_badge: add nofollow
This can create a spider loop which ultimately forms increasingly
expensive search queries
2020-11-04 12:54:25 -05:00
Drew DeVault 718feb66ef /:owner/:tracker/labels: Fix 500 on missing tracker 2020-10-31 11:17:26 -04:00
Thorben Günther 999fe57e35 API: Autosubscribe owners to created trackers 2020-10-31 10:52:25 -04:00
Drew DeVault ba12050c5f API: fix error with editing comments
This was fixed earlier in the web blueprints but the API was never
updated accordingly.
2020-10-20 10:39:50 -04:00
Drew DeVault 2c8901c8ee tracker_import: fix tickets with no events 2020-10-14 13:40:02 -04: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
Drew DeVault 68e1a17b2a Omit description from tracker search 2020-09-15 10:36:34 -04:00
наб d3ef822252 Allow long tracker/ticket slugs to break
Ref: ~sircmpwn/sr.ht#245
2020-09-11 10:15:22 -04:00
Drew DeVault 28c831f4d7 alpine.yml: reboot -webhooks on deploy 2020-09-07 12:55:11 -04:00
Drew DeVault b15763940b Add core.sr.ht webhook cascades to webhook tables 2020-09-07 12:45:53 -04:00
Drew DeVault c144bfc9b1 Further fixes to Sender header syntax 2020-09-05 11:51:28 -04:00
Drew DeVault af41dfe29f Fix Sender email header syntax 2020-09-03 11:52:16 -04:00
Drew DeVault 2687448c09 Use last event when editing a comment, not only 2020-09-03 11:09:54 -04:00
наб 809e294ef0 Free labels tab from its internal menu 2020-09-03 11:05:15 -04:00