[WIP] Update the API Tokens UI for new token format and handling expiration and invalidation of tokens

Review Request #12492 — Created Aug. 2, 2022 and discarded — Latest diff uploaded

Information

Review Board
release-5.0.x

Reviewers

This is some very initial work that has been done for updating the API tokens UI
for our move to API tokens v2. The changes that I planned to complete are:
- Nicely display tokens that are 255 characters long.
- Show when tokens were last used.
- Show when tokens will expire or if they are expired.
- Allow users to set an expiry date when generating a token (by choosing typical
options from a drop-down list (7 days, 30 days, etc) or set a custom date
through a date picker widget).
- Show when tokens are invalidated.
- Maybe allow users to invalidate their own tokens from the UI.


 

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Update the API Tokens UI for new token format and handling expiration and inv...
cf7366697a697f73288c6ccb3f2237f3228b1d89 Michelle Aubin
reviewboard/accounts/forms/pages.py
reviewboard/static/rb/js/accountPrefsPage/views/apiTokensView.es6.js
reviewboard/static/rb/js/resources/models/apiTokenModel.es6.js
reviewboard/templates/notifications/password_changed.html
Loading...