6543 
							
						 
					 
					
						
						
							
						
						e783f4ea4a 
					 
					
						
						
							
							Changelog for v0.9.1 ( #535 )  
						
						... 
						
						
						
						Reviewed-on: https://gitea.com/gitea/tea/pulls/535 
Reviewed-by: John Olheiser <john+gitea@jolheiser.com > 
						
						
							
						
					 
					
						2023-02-15 23:23:12 +01:00 
						 
				 
			
				
					
						
							
							
								John Olheiser 
							
						 
					 
					
						
						
							
						
						342b573d45 
					 
					
						
						
							
							Remove vendor docs ( #534 )  
						
						... 
						
						
						
						As title, we no longer use vendoring (or dep!).
Also updated the link to Discord.
Co-authored-by: jolheiser <john.olheiser@gmail.com >
Reviewed-on: https://gitea.com/gitea/tea/pulls/534 
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: John Olheiser <john+gitea@jolheiser.com >
Co-committed-by: John Olheiser <john+gitea@jolheiser.com > 
						
						
							
						
					 
					
						2023-02-09 12:41:43 +08:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
						
						1a6d9b343a 
					 
					
						
						
							
							Fix makefile vendor problem ( #533 )  
						
						... 
						
						
						
						Replace #532 
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-on: https://gitea.com/gitea/tea/pulls/533 
Reviewed-by: John Olheiser <john+gitea@jolheiser.com >
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com > 
						
						
							
						
					 
					
						2023-02-09 11:05:39 +08:00 
						 
				 
			
				
					
						
							
							
								techknowlogick 
							
						 
					 
					
						
						
							
						
						faa9858a7e 
					 
					
						
						
							
							use secrets for s3 info ( #530 )  
						
						... 
						
						
						
						Reviewed-on: https://gitea.com/gitea/tea/pulls/530  
						
						
							
						
					 
					
						2023-02-08 05:53:05 +08:00 
						 
				 
			
				
					
						
							
							
								techknowlogick 
							
						 
					 
					
						
						
							
						
						e51eb1a00e 
					 
					
						
						
							
							bump to go 1.20 ( #529 )  
						
						... 
						
						
						
						Reviewed-on: https://gitea.com/gitea/tea/pulls/529 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com > 
						
						
							
						
					 
					
						2023-02-08 05:46:31 +08:00 
						 
				 
			
				
					
						
							
							
								Wim 
							
						 
					 
					
						
						
							
						
						6a848cb72a 
					 
					
						
						
							
							Add option to disable version checking ( #520 )  
						
						... 
						
						
						
						Fixes "Only signed in user is allowed to call APIs." as the
/api/v1/version returns a 403 when running a gitea where
REQUIRE_SIGNIN_VIEW is enabled
Co-authored-by: Wim <wim@42.be >
Reviewed-on: https://gitea.com/gitea/tea/pulls/520 
Reviewed-by: 6543 <6543@obermui.de >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Wim <42wim@noreply.gitea.io >
Co-committed-by: Wim <42wim@noreply.gitea.io > 
						
						
							
						
					 
					
						2022-10-31 09:56:23 +08:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						2a8c1daa67 
					 
					
						
						
							
							Add tea issue edit ( #506 )  
						
						... 
						
						
						
						fixes  #229 
fixes  #502 
interactive mode will be in a follow up
Co-authored-by: Norwin <git@nroo.de >
Co-authored-by: 6543 <6543@obermui.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/506 
Reviewed-by: 6543 <6543@obermui.de >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-committed-by: Norwin <noerw@noreply.gitea.io > 
					
						2022-10-25 08:40:00 +08:00 
						 
				 
			
				
					
						
							
							
								6543 
							
						 
					 
					
						
						
							
						
						54b535a527 
					 
					
						
						
							
							Find DefaultPRHead based on branch and SHA ( #514 )  
						
						... 
						
						
						
						Reviewed-on: https://gitea.com/gitea/tea/pulls/514 
Reviewed-by: strk <strk@noreply.gitea.io >
Reviewed-by: Norwin <noerw@noreply.gitea.io > 
						
						
							
						
					 
					
						2022-10-25 06:38:39 +08:00 
						 
				 
			
				
					
						
							
							
								6543 
							
						 
					 
					
						
						
							
						
						c1c7870ceb 
					 
					
						
						
							
							Handle Team Reviews ( #515 )  
						
						... 
						
						
						
						at the moment we crash with an nil exeption if there exist team reviews
this fix it and add support to display them
Reviewed-on: https://gitea.com/gitea/tea/pulls/515 
Reviewed-by: Norwin <noerw@noreply.gitea.io >
Reviewed-by: wxiaoguang <wxiaoguang@noreply.gitea.io > 
						
						
							
						
					 
					
						2022-09-29 10:49:24 +08:00 
						 
				 
			
				
					
						
							
							
								6543 
							
						 
					 
					
						
						
							
						
						a37377d181 
					 
					
						
						
							
							Add "json" as output type ( #513 )  
						
						... 
						
						
						
						Co-authored-by: Norwin <git@nroo.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/513 
Reviewed-by: Norwin <noerw@noreply.gitea.io >
Reviewed-by: strk <strk@noreply.gitea.io > 
						
						
							
						
					 
					
						2022-09-27 23:39:47 +08:00 
						 
				 
			
				
					
						
							
							
								6543 
							
						 
					 
					
						
						
							
						
						15457f1770 
					 
					
						
						
							
							Add Allow Maintainer Edits ( #509 )  
						
						... 
						
						
						
						close  #508 
Reviewed-on: https://gitea.com/gitea/tea/pulls/509 
Reviewed-by: Norwin <noerw@noreply.gitea.io >
Reviewed-by: strk <strk@noreply.gitea.io > 
					
						2022-09-27 23:36:36 +08:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						4487213581 
					 
					
						
						
							
							Allow batch operations on multiple entities ( #512 )  
						
						... 
						
						
						
						commands now accept multiple arguments where it makes sense.
#### before
```
NAME:
   tea issues close - Change state of an issue to 'closed'
USAGE:
   tea issues close [command options] <issue index>
```
#### after
```
NAME:
   tea issues close - Change state of one ore more issues to 'closed'
USAGE:
   tea issues close [command options] <issue index> [<issue index>...]
```
Co-authored-by: Norwin <git@nroo.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/512 
Reviewed-by: 6543 <6543@obermui.de >
Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io >
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-committed-by: Norwin <noerw@noreply.gitea.io > 
						
						
							
						
					 
					
						2022-09-27 04:35:59 +08:00 
						 
				 
			
				
					
						
							
							
								Wim 
							
						 
					 
					
						
						
							
						
						6a4ba6a689 
					 
					
						
						
							
							Add support for authentication via ssh certificates and pub/privatekey ( #442 )  
						
						... 
						
						
						
						This adds support for authentication using a SSH certificate and normal public keys when you've got an ssh-agent running that has this certificate or your public key loaded.
First question when creating a new login is to ask about the ssh certificates or public keys, when the answer is yes, we don't need to ask about tokens/usernames anymore.
Co-authored-by: Wim <wim@42.be >
Reviewed-on: https://gitea.com/gitea/tea/pulls/442 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: Wim <42wim@noreply.gitea.io >
Co-committed-by: Wim <42wim@noreply.gitea.io > 
						
						
							
						
					 
					
						2022-09-15 03:00:08 +08:00 
						 
				 
			
				
					
						
							
							
								6543 
							
						 
					 
					
						
						
							
						
						4ee5ce4b52 
					 
					
						
						
							
							Fix "go install" example ( #505 )  
						
						... 
						
						
						
						because some wrong tagging was done in the past, `latest` will point to `1.3.3` witch is actually v0.1.x.
so you have to specify the version
Reviewed-on: https://gitea.com/gitea/tea/pulls/505 
Reviewed-by: Norwin <noerw@noreply.gitea.io >
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: 6543 <6543@obermui.de >
Co-committed-by: 6543 <6543@obermui.de > 
						
						
							
						
					 
					
						2022-09-14 09:08:41 +08:00 
						 
				 
			
				
					
						
							
							
								6543 
							
						 
					 
					
						
						
							
						
						6c9b2f8745 
					 
					
						
						
							
							move s3 endpoint to secrets  
						
						
						
						
							
 
						
					 
					
						2022-09-13 22:36:45 +02:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						1a256291dc 
					 
					
						
						
							
							Changelog 0.9.0 ( #503 )  
						
						... 
						
						
						
						Co-authored-by: Norwin <git@nroo.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/503 
Reviewed-by: 6543 <6543@obermui.de >
Reviewed-by: John Olheiser <john+gitea@jolheiser.com > 
						
						
							
						
					 
					
						2022-09-14 03:52:46 +08:00 
						 
				 
			
				
					
						
							
							
								techknowlogick 
							
						 
					 
					
						
						
							
						
						832136b6d4 
					 
					
						
						
							
							Add user list command ( #427 )  
						
						... 
						
						
						
						Co-authored-by: Matti R <matti@mdranta.net >
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-authored-by: 6543 <6543@obermui.de >
Co-authored-by: Norwin <git@nroo.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/427 
Reviewed-by: Norwin <noerw@noreply.gitea.io >
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Co-committed-by: techknowlogick <techknowlogick@gitea.io > 
						
						
							
						
					 
					
						2022-09-14 03:49:34 +08:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						99e49991bb 
					 
					
						
						
							
							Add --fields to notification & milestone listings ( #422 )  
						
						... 
						
						
						
						Together with #415  this finally adds the field flag to all entity listings.
closes  #342 
### ⚠️  breaking changes ⚠️ 
This changes the column names of `tea milestones ls`:
```diff
 - TITLE  | OPEN/CLOSED ISSUES | DUEDATE
 + TITLE  | ITEMS | DUEDATE
```
Co-authored-by: Norwin <git@nroo.de >
Co-authored-by: 6543 <6543@obermui.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/422 
Reviewed-by: delvh <dev.lh@web.de >
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-committed-by: Norwin <noerw@noreply.gitea.io > 
						
						
							
						
					 
					
						2022-09-14 03:08:18 +08:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						bbb287e29e 
					 
					
						
						
							
							markdown: dont emit ansi sequences when not emitting to tty ( #491 )  
						
						... 
						
						
						
						Allows generating a plain text version of an issue (i.e. without colors and other terminal formatting) when storing stdout in a file.
```
tea issue --comments 1 > issue1.txt
```
`IsInteractive()` had to be moved to avoid a recursive import chain.
---
In the future, it would be nice to also respect the `--output` flag. This flag is currently designed for tabular output, but we could add more supported values like `markdown` `ansi`, `plain` to it
Co-authored-by: Norwin <git@nroo.de >
Co-authored-by: 6543 <6543@obermui.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/491 
Reviewed-by: 6543 <6543@obermui.de >
Reviewed-by: delvh <dev.lh@web.de > 
						
						
							
						
					 
					
						2022-09-14 02:35:15 +08:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						5e7c702e07 
					 
					
						
						
							
							Clarify command descriptions when no arguments are taken ( #496 )  
						
						... 
						
						
						
						This changes the command help string from eg
```
NAME:
   tea label create - Create a label
USAGE:
   tea label [command options] [arguments...]
```
to
```
NAME:
   tea label create - Create a label
USAGE:
   tea label [command options]
```
Hopefully improving usability.
---
edit: this also changes `tea release create` to take the `--tag` flag value optionally via the first argument, as this seems to be a clear UX improvement.
fixes  #483 
Co-authored-by: Norwin <git@nroo.de >
Co-authored-by: 6543 <6543@obermui.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/496 
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-by: 6543 <6543@obermui.de >
Reviewed-by: delvh <delvh@noreply.gitea.io >
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-committed-by: Norwin <noerw@noreply.gitea.io > 
						
						
							
						
					 
					
						2022-09-14 02:14:02 +08:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						b8dbf899d2 
					 
					
						
						
							
							Update dependencies ( #501 )  
						
						... 
						
						
						
						- The go-sdk update fixes  #463 
- To review the other updates:
  - glamour [changelog](https://github.com/charmbracelet/glamour/releases ), [diff](https://github.com/charmbracelet/glamour/compare/v0.3.0...v0.5.0 )
    - enhancement: we now can use `WithPreservedNewLines()` to render markdow the same way as the web ui
  - termenv [changelog](https://github.com/muesli/termenv/releases ), [diff](https://github.com/muesli/termenv/compare/v0.9.0...v0.12.0 )
    - enhancement: correct feature detection for more terminals
  - xdg [changelog](https://github.com/adrg/xdg/releases ), [diff](https://github.com/adrg/xdg/compare/v0.3.3...v0.4.0 )
    - no notable changes for us, but good to stay up to date 🤷 
  - survey [changelog](https://github.com/AlecAivazis/survey/releases ), [diff](https://github.com/AlecAivazis/survey/compare/v2.3.1...v2.3.6 )
    - bugfixes
  - cli [changelog](https://github.com/urfave/cli/releases ), [diff](https://github.com/urfave/cli/compare/v2.3.0...v2.16.3 )
    - bugfixes?
Co-authored-by: Norwin <git@nroo.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/501 
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-committed-by: Norwin <noerw@noreply.gitea.io > 
						
						
							
						
					 
					
						2022-09-14 01:52:44 +08:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						0b8be54186 
					 
					
						
						
							
							Rename master branch to main ( #495 )  
						
						... 
						
						
						
						This updates drone CI to use the new main branch name `main`.
### ⚠️  breaking
The download URLs on https://dl.gitea.io/tea/master  will no longer be updated.
@Owners: is there a way to add a redirect for these URLs from `/tea/master` to `/tea/main`?
Co-authored-by: Norwin <git@nroo.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/495 
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-committed-by: Norwin <noerw@noreply.gitea.io > 
						
						
							
						
					 
					
						2022-08-26 23:34:40 +08:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						2b1bca9e5d 
					 
					
						
						
							
							Add license for gitea.com/noerw/unidiff-comments ( #493 )  
						
						... 
						
						
						
						The updated version just clarifies the license to be MIT, as [added by the original author](865648740dfixes  #492 
Co-authored-by: Norwin <git@nroo.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/493 
Reviewed-by: Andrew Thornton <art27@cantab.net >
Reviewed-by: John Olheiser <john+gitea@jolheiser.com >
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-committed-by: Norwin <noerw@noreply.gitea.io > 
						
						
							
						
					 
					
						2022-08-22 21:14:09 +08:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						d5a258213d 
					 
					
						
						
							
							Fix CI: disable package-comments lint rule ( #494 )  
						
						... 
						
						
						
						There was an unintended change to the rule in revive that now makes our CI trip:
https://github.com/mgechev/revive/pull/694 
The package-comments now expected are not really worth writing as these are tiny internal packages, so this change just disables that rule for now.
Co-authored-by: Norwin <git@nroo.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/494 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-committed-by: Norwin <noerw@noreply.gitea.io > 
						
						
							
						
					 
					
						2022-08-22 20:53:19 +08:00 
						 
				 
			
				
					
						
							
							
								6543 
							
						 
					 
					
						
						
							
						
						f83f579dea 
					 
					
						
						
							
							Show more version info ( #486 )  
						
						... 
						
						
						
						Reviewed-on: https://gitea.com/gitea/tea/pulls/486 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: Wim <42wim@noreply.gitea.io >
Co-authored-by: 6543 <6543@obermui.de >
Co-committed-by: 6543 <6543@obermui.de > 
						
						
							
						
					 
					
						2022-06-18 22:34:18 +08:00 
						 
				 
			
				
					
						
							
							
								6543 
							
						 
					 
					
						
						
							
						
						65535bd948 
					 
					
						
						
							
							Use latest go-sdk and bump golang to 1.18 ( #485 )  
						
						... 
						
						
						
						Reviewed-on: https://gitea.com/gitea/tea/pulls/485 
Reviewed-by: KN4CK3R <kn4ck3r@noreply.gitea.io >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: 6543 <6543@obermui.de >
Co-committed-by: 6543 <6543@obermui.de > 
						
						
							
						
					 
					
						2022-06-10 22:31:24 +08:00 
						 
				 
			
				
					
						
							
							
								Sandro 
							
						 
					 
					
						
						
							
						
						02f5f15269 
					 
					
						
						
							
							Fix go install for go 1.17 ( #481 )  
						
						... 
						
						
						
						Reviewed-on: https://gitea.com/gitea/tea/pulls/481 
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Sandro <supersandro2000@noreply.gitea.io >
Co-committed-by: Sandro <supersandro2000@noreply.gitea.io > 
						
						
							
						
					 
					
						2022-04-26 14:07:15 +08:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						883a27b14e 
					 
					
						
						
							
							Fetch all items where needed. ( #475 )  
						
						... 
						
						
						
						Disable pagination in all places where we need all items.
Ideally we'd do multiple paginated requests until the needed items are local, but this is blocked by https://gitea.com/gitea/go-sdk/pulls/473 . So this is a stopgap to get correct behaviour.
Fixes  #464 
Co-authored-by: Norwin <git@nroo.de >
Co-authored-by: 6543 <6543@obermui.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/475 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-committed-by: Norwin <noerw@noreply.gitea.io > 
						
						
							
						
					 
					
						2022-04-08 03:44:16 +08:00 
						 
				 
			
				
					
						
							
							
								6543 
							
						 
					 
					
						
						
							
						
						e54b32493d 
					 
					
						
						
							
							fix pipeline to release builds ( #479 )  
						
						... 
						
						
						
						fix regression of #478 
Reviewed-on: https://gitea.com/gitea/tea/pulls/479 
Reviewed-by: Andrew Thornton <art27@cantab.net >
Reviewed-by: John Olheiser <john.olheiser@gmail.com > 
						
						
							
						
					 
					
						2022-03-29 08:29:47 +08:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						329200b1ef 
					 
					
						
						
							
							Fix running in repos without remote ( #472 )  
						
						... 
						
						
						
						For tea, the case of no remotes in the local repo context is equal to `errNotAGiteaRepo`.
This error type is already gracefully handled, so with this change, tea doesn't reject working from a repo without remotes.
fixes  #455 , closes  #465 
Co-authored-by: Norwin <git@nroo.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/472 
Reviewed-by: Andrew Thornton <art27@cantab.net >
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-committed-by: Norwin <noerw@noreply.gitea.io > 
						
						
							
						
					 
					
						2022-03-29 08:01:37 +08:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						6663d9f19b 
					 
					
						
						
							
							Add preference flag_defaults.remote, refactor ( #466 )  
						
						... 
						
						
						
						This is a refactor of the code last touched in #458 , making the control flow less backwards.
Additionally, this adds a preference `preferences.flag_defaults.remote` that allows to skip this heuristic and set a custom fixed default value for the `--remote` flag.
I'm not sure this is actually needed, I can revert that commit.
Co-authored-by: Norwin <git@nroo.de >
Co-authored-by: 6543 <6543@obermui.de >
Co-authored-by: Andrew Thornton <art27@cantab.net >
Reviewed-on: https://gitea.com/gitea/tea/pulls/466 
Reviewed-by: 6543 <6543@obermui.de >
Reviewed-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-committed-by: Norwin <noerw@noreply.gitea.io > 
						
						
							
						
					 
					
						2022-03-29 07:34:14 +08:00 
						 
				 
			
				
					
						
							
							
								6543 
							
						 
					 
					
						
						
							
						
						d06f35482e 
					 
					
						
						
							
							Use golang v1.18 and drop vendor folder ( #478 )  
						
						... 
						
						
						
						* remove vendor folder
* use golang v1.18 in ci
* use "go install"
* use vendor folder as cache
Reviewed-on: https://gitea.com/gitea/tea/pulls/478 
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-by: John Olheiser <john.olheiser@gmail.com > 
						
						
							
						
					 
					
						2022-03-29 07:11:11 +08:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						9ab36c55fa 
					 
					
						
						
							
							Return RFC3339 UTC timestamps for machine-readable output ( #470 )  
						
						... 
						
						
						
						### ⚠️  breaking changes ⚠️ 
- unset timestamps will not be printed as `"0001-01-01 00:00"`, but as empty value `""`
- output formats `csv`, `tsv`, `yaml` output timestamps in UTC instead of local time, and adhere to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339 )
Co-authored-by: Norwin <git@nroo.de >
Co-authored-by: 6543 <6543@obermui.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/470 
Reviewed-by: 6543 <6543@obermui.de >
Reviewed-by: John Olheiser <john.olheiser@gmail.com >
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-committed-by: Norwin <noerw@noreply.gitea.io > 
						
						
							
						
					 
					
						2022-03-29 06:37:13 +08:00 
						 
				 
			
				
					
						
							
							
								6543 
							
						 
					 
					
						
						
							
						
						40e606561f 
					 
					
						
						
							
							GOPROXY:  https://goproxy.io  
						
						
						
						
							
						
					 
					
						2022-03-28 23:59:48 +02:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						0970b94552 
					 
					
						
						
							
							Fix context requirements of subcommands ( #474 )  
						
						... 
						
						
						
						`tea repo fork` and `tea pr checkout` were missing the requirement of a remote repo.
fixes https://gitea.com/gitea/tea/issues/444 
Co-authored-by: Norwin <git@nroo.de >
Co-authored-by: 6543 <6543@obermui.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/474 
Reviewed-by: 6543 <6543@obermui.de >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-committed-by: Norwin <noerw@noreply.gitea.io > 
						
						
							
						
					 
					
						2022-03-26 15:32:53 +08:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						dda94a5dea 
					 
					
						
						
							
							Refactor errorhandling in getReleaseByTag() ( #477 )  
						
						... 
						
						
						
						small refactor for consistency
Co-authored-by: Norwin <git@nroo.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/477 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-committed-by: Norwin <noerw@noreply.gitea.io > 
						
						
							
						
					 
					
						2022-03-25 21:41:08 +08:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						16ba594a28 
					 
					
						
						
							
							Interactive issue/pr posting: properly fetch assignees ( #476 )  
						
						... 
						
						
						
						Gitea 1.15.0 added a proper API for listing assignee candidates.
imho that release is old enough that tea can start using this without workarounds.
Co-authored-by: Norwin <git@nroo.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/476 
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-committed-by: Norwin <noerw@noreply.gitea.io > 
						
						
							
						
					 
					
						2022-03-19 19:08:58 +08:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						d8f4273ed0 
					 
					
						
						
							
							Add TSV to machine-readable formats ( #467 )  
						
						... 
						
						
						
						...so no ansi formatting (colors) is emitted in that format (eg `tea labels -o tsv`)
Co-authored-by: Norwin <git@nroo.de >
Co-authored-by: 6543 <6543@obermui.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/467 
Reviewed-by: 6543 <6543@obermui.de >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-committed-by: Norwin <noerw@noreply.gitea.io > 
						
						
							
						
					 
					
						2022-03-13 12:00:21 +08:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						637e3f0666 
					 
					
						
						
							
							Fix CI: run make fmt ( #469 )  
						
						... 
						
						
						
						Co-authored-by: Norwin <git@nroo.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/469 
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-committed-by: Norwin <noerw@noreply.gitea.io > 
						
						
							
						
					 
					
						2022-03-13 08:53:18 +08:00 
						 
				 
			
				
					
						
							
							
								techknowlogick 
							
						 
					 
					
						
						
							
						
						ced24ccabb 
					 
					
						
						
							
							update to new s3 location ( #468 )  
						
						... 
						
						
						
						Reviewed-on: https://gitea.com/gitea/tea/pulls/468  
						
						
							
						
					 
					
						2022-03-11 05:01:29 +08:00 
						 
				 
			
				
					
						
							
							
								arkamar 
							
						 
					 
					
						
						
							
						
						fb3e1f75e9 
					 
					
						
						
							
							Prefer origin if there are multiple remotes ( #458 )  
						
						... 
						
						
						
						Usually, `origin` is the name of a default remote, which corresponds with upstream. This change improves remote selection when non of `main`, `master` nor `trunk` local branches is present.
Co-authored-by: Petr Vaněk <arkamar@atlas.cz >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-on: https://gitea.com/gitea/tea/pulls/458 
Reviewed-by: 6543 <6543@obermui.de >
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: arkamar <arkamar@noreply.gitea.io >
Co-committed-by: arkamar <arkamar@noreply.gitea.io > 
						
						
							
						
					 
					
						2022-03-09 09:35:51 +08:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
						
						0e24009fe9 
					 
					
						
						
							
							Fix create milestone with deadline bug ( #462 )  
						
						... 
						
						
						
						Fix  #461 
Reviewed-on: https://gitea.com/gitea/tea/pulls/462 
Reviewed-by: Norwin <noerw@noreply.gitea.io >
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-committed-by: Lunny Xiao <xiaolunwen@gmail.com > 
					
						2022-03-09 08:47:58 +08:00 
						 
				 
			
				
					
						
							
							
								arkamar 
							
						 
					 
					
						
						
							
						
						cd24fd8e28 
					 
					
						
						
							
							Fix few typos in contribution guidelines ( #459 )  
						
						... 
						
						
						
						I found few typos in `CONTRIBUTING.md` file.
Co-authored-by: Petr Vaněk <arkamar@atlas.cz >
Reviewed-on: https://gitea.com/gitea/tea/pulls/459 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: arkamar <arkamar@noreply.gitea.io >
Co-committed-by: arkamar <arkamar@noreply.gitea.io > 
						
						
							
						
					 
					
						2022-02-22 22:34:58 +08:00 
						 
				 
			
				
					
						
							
							
								Ikko Ashimine 
							
						 
					 
					
						
						
							
						
						dd300c1269 
					 
					
						
						
							
							Fix typo in bug.md ( #460 )  
						
						... 
						
						
						
						occured -> occurred
Reviewed-on: https://gitea.com/gitea/tea/pulls/460 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: Ikko Ashimine <eltociear@noreply.gitea.io >
Co-committed-by: Ikko Ashimine <eltociear@noreply.gitea.io > 
						
						
							
						
					 
					
						2022-02-20 00:30:58 +08:00 
						 
				 
			
				
					
						
							
							
								kellya 
							
						 
					 
					
						
						
							
						
						44c9e7e664 
					 
					
						
						
							
							Correct spelling of "wether" to "whether" in usage output ( #453 )  
						
						... 
						
						
						
						Noticed "whether" misspelled as "wether" in the output of `tea issues --help` and corrected it in a few locations.
Co-authored-by: Alex Kelly <kellya@arachnitech.com >
Reviewed-on: https://gitea.com/gitea/tea/pulls/453 
Reviewed-by: Norwin <noerw@noreply.gitea.io >
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: kellya <kellya@noreply.gitea.io >
Co-committed-by: kellya <kellya@noreply.gitea.io > 
						
						
							
						
					 
					
						2022-02-01 07:11:37 +08:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						268aa06179 
					 
					
						
						
							
							Add bug report issue template ( #448 )  
						
						... 
						
						
						
						As we repeatedly ask for information about users' environments, I added this template
Co-authored-by: Norwin <git@nroo.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/448 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-committed-by: Norwin <noerw@noreply.gitea.io > 
						
						
							
						
					 
					
						2021-12-04 11:20:36 +08:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						a7d83ee416 
					 
					
						
						
							
							Simplify build & update installation instructions ( #437 )  
						
						... 
						
						
						
						- "revert" the work done in #349 . It turns out that this elaborate workaround to get statically built PIEs was only needed due to a bug in go, which got fixed in go 1.16.
- Add an exception to the `-buildmode=pie` flag for OpenBSD, as discovered in #436 
- Simplify & update README installation instructions (the Arch AUR package got deleted as it wasn't maintained, so we link to `gitea-tea-git` now.)
Co-authored-by: Norwin <git@nroo.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/437 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-committed-by: Norwin <noerw@noreply.gitea.io > 
						
						
							
						
					 
					
						2021-12-03 04:01:10 +08:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						a89f51f9ec 
					 
					
						
						
							
							Implement more issue filters ( #400 )  
						
						... 
						
						
						
						This adds new filters to `tea issues ls` and `tea pr ls`, made available in SDK 0.15:
```
--state value                 Filter by state (all|open|closed) (default: open)
--keyword value, -k value     Filter by search string
--labels value, -L value      Comma-separated list of labels to match issues against.
--milestones value, -m value  Comma-separated list of milestones to match issues against.
--author value, -A value
--assignee value, -a value
--mentions value, -M value
--from value, -F value        Filter by activity after this date
--until value, -u value       Filter by activity before this date
```
Note: I felt free to change parameter names as exposed by SDK & API, as the names exposed by them are partially bollocks (eg `mentioned_by`) and or inconsistent with usage in other commands (eg `tea times --until`)
fixes  #376 , related #323 
Co-authored-by: Norwin <git@nroo.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/400 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-committed-by: Norwin <noerw@noreply.gitea.io > 
						
						
							
						
					 
					
						2021-12-03 03:26:48 +08:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						d2295828d0 
					 
					
						
						
							
							Fix resolving of URLs in markdown ( #401 )  
						
						... 
						
						
						
						Path-only URLs need an absolute reference to be resolved against for printing in markdown
Previously we resolved against the URL to the resource we were operating on (eg comment or issue URL).
The markdown renderer in the web UI resolves all such URLs relative to the repo base URL. This PR adopts this behaviour in tea, by trimming the URL to a repo base URL via regex.
This makes a custom patch to our markdown renderer `glamour` obsolete, which turned out to be an incorrect patch, meaning we can make use of upstream glamour again.
Co-authored-by: Norwin <git@nroo.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/401 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-committed-by: Norwin <noerw@noreply.gitea.io > 
						
						
							
						
					 
					
						2021-12-03 02:59:02 +08:00 
						 
				 
			
				
					
						
							
							
								Norwin 
							
						 
					 
					
						
						
							
						
						dc16643e0d 
					 
					
						
						
							
							Improve Documentation ( #433 )  
						
						... 
						
						
						
						- document more assumptions about usage context of gitea
- improve some flag descriptions (#432 , #377 )
Co-authored-by: Norwin <git@nroo.de >
Reviewed-on: https://gitea.com/gitea/tea/pulls/433 
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com >
Reviewed-by: 6543 <6543@obermui.de >
Co-authored-by: Norwin <noerw@noreply.gitea.io >
Co-committed-by: Norwin <noerw@noreply.gitea.io > 
						
						
							
						
					 
					
						2021-12-03 02:33:56 +08:00