Commit Graph

65 Commits

Author SHA1 Message Date
Drew DeVault b234ab8e93 Add User.canonical_name() 2018-07-10 21:43:24 -04:00
Przemyslaw Pawelczyk f18cad95e7 Use ticket's scoped id in Subject: in mail notifications.
Changing:

    ~sircmpwn/todo.sr.ht/#195: Better Subject: field in sent mails

to:

    ~sircmpwn/todo.sr.ht/#93: Better Subject: field in sent mails

It's important to not confuse user with different id than she or he is
already seeing on the web page:

https://todo.sr.ht/~sircmpwn/todo.sr.ht/93
2017-12-10 18:05:48 -05:00
Przemyslaw Pawelczyk c4c175eadd Add tracker owner and name to Subject: in mail notifications.
Changing:

    #194: Better Subject: field in sent mails

to:

    ~sircmpwn/todo.sr.ht/#194: Better Subject: field in sent mails
2017-12-10 18:05:43 -05:00
Drew DeVault 318b9cdc52 Import TicketSubscription in ticket blueprint 2017-12-08 10:48:46 -05:00
Gregory Mullen 7ad2789e39 Move access functions to new access.py file
This commit also adds the ability to query get_tracker(owner, name) with name=None
which will cause get_tracker() to return a list with only trackers the user is
authorised to view
2017-11-30 09:24:56 -05:00
Drew DeVault 4e7f15f105 Fix oversight in autosubscribing users to tickets 2017-11-10 13:32:02 -05:00
Drew DeVault efc418b17e Fix premature variable reference 2017-11-10 13:01:40 -05:00
Drew DeVault cde30a81b0 Split events/notifications into two tables 2017-11-09 21:54:45 -05:00
Drew DeVault de1c012a5d Implement ticket editing 2017-11-09 10:50:19 -05:00
Drew DeVault dfb0799672 Add event list 2017-11-09 10:09:50 -05:00
Drew DeVault e9f219e391 Implement initial dashboard 2017-11-09 08:59:47 -05:00
Drew DeVault 77a87cc70a Check against current_user.id 2017-11-08 23:08:16 -05:00
Drew DeVault 651e87a329 Subscribe to new tickets on submission 2017-11-08 23:00:35 -05:00
Drew DeVault 72bbdc5167 Notify on ticket comments/status update 2017-11-08 22:51:01 -05:00
Drew DeVault 16584dea13 Extend ticket subscriptions, split blueprints 2017-11-08 22:51:01 -05:00