|
a/Allura/allura/controllers/auth.py |
|
b/Allura/allura/controllers/auth.py |
|
... |
|
... |
336 |
artifact_title='No subscription',
|
336 |
artifact_title='No subscription',
|
337 |
topic=None,
|
337 |
topic=None,
|
338 |
type=None,
|
338 |
type=None,
|
339 |
frequency=None,
|
339 |
frequency=None,
|
340 |
artifact=None))
|
340 |
artifact=None))
|
|
|
341 |
subscriptions.sort(key=lambda d: (d['project_name'], d['mount_point']))
|
341 |
api_token = M.ApiToken.query.get(user_id=c.user._id)
|
342 |
api_token = M.ApiToken.query.get(user_id=c.user._id)
|
342 |
provider = plugin.AuthenticationProvider.get(request)
|
343 |
provider = plugin.AuthenticationProvider.get(request)
|
343 |
menu = provider.account_navigation()
|
344 |
menu = provider.account_navigation()
|
344 |
return dict(
|
345 |
return dict(
|
345 |
subscriptions=subscriptions,
|
346 |
subscriptions=subscriptions,
|