mirror of https://gitea.com/gitea/tea
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5b28a05eb7
- [x] enhance notification listing - add `--states` and `--type` filters - toggle per-user or per-repo listing via `--mine` flag - print more fields - [x] add subcommands to mark notifications as read, unread, pinned, unpinned. operates on - all notifications matching the `--state` and `--mine` filter flags, or - a notification specified by ID. - [ ] ~~add a `--fields` flag for notifications listing.~~ *not in this PR* - [ ] ~~interactive mode~~ *not in this PR*. this would go well together with #324 fixes #243, fixes #155 based on initial work in #283 and #386, but opening a new PR for @6543 to review as I changed quite a lot --- ### ⚠️ breaking ⚠️ - `tea notifications --all` has moved to `tea notifications --mine` - `tea notifications` now only works with the context of a remote repo. To run this outside of a local git dir, run either `tea n --mine` or `tea n --repo <my/repo>` --- Co-authored-by: Karl Heinz Marbaise <kama@soebes.de> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Norwin Roosen <git@nroo.de> Reviewed-on: https://gitea.com/gitea/tea/pulls/389 Reviewed-by: 6543 <6543@obermui.de> Reviewed-by: Alexey 〒erentyev <axifive@noreply.gitea.io> Co-authored-by: Norwin <noerw@noreply.gitea.io> Co-committed-by: Norwin <noerw@noreply.gitea.io> |
3 years ago | |
---|---|---|
.. | ||
flags | 3 years ago | |
issues | 3 years ago | |
labels | 3 years ago | |
login | 4 years ago | |
milestones | 3 years ago | |
notifications | 3 years ago | |
organizations | 3 years ago | |
pulls | 4 years ago | |
releases | 4 years ago | |
repos | 3 years ago | |
times | 3 years ago | |
autocomplete.go | 3 years ago | |
categories.go | 4 years ago | |
comment.go | 4 years ago | |
issues.go | 4 years ago | |
labels.go | 3 years ago | |
login.go | 4 years ago | |
logout.go | 4 years ago | |
milestones.go | 4 years ago | |
notifications.go | 3 years ago | |
open.go | 4 years ago | |
organizations.go | 3 years ago | |
pulls.go | 4 years ago | |
releases.go | 4 years ago | |
repos.go | 4 years ago | |
times.go | 4 years ago |