silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	547a619744 
 
						 
						
							
							
								
								
								fix double border and border-radius on empty action steps ( #29845 )  
							
							... 
							
							
							
							
							Before, double border-bottom and incorrect border-radius:
<img width="914" alt="Screenshot 2024-03-16 at 14 46 31"
src="https://github.com/go-gitea/gitea/assets/115237/6ea63c42-754c-420c-a0f5-c889a8507d9f ">
After, both fixed:
<img width="917" alt="Screenshot 2024-03-16 at 14 45 59"
src="https://github.com/go-gitea/gitea/assets/115237/9d3f2dba-6b22-441d-8e99-5809d5f1f1c0 ">
(cherry picked from commit 43aa914b1750add631698a7fd57d76f743b0489b) 
							
						 
						
							2024-03-20 08:46:30 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	4069429114 
 
						 
						
							
							
								
								
								Tweak actions view sticky ( #29781 )  
							
							... 
							
							
							
							
							Add some space when the left side items are sticky due to scrolling the
right side.
<img width="419" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/292e1b03-a071-4744-bb79-e50d109056c8 ">
(cherry picked from commit eb8c34fc367f324226625d39d0487f945269cd73) 
							
						 
						
							2024-03-20 08:46:29 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Lunny Xiao 
								
							 
						 
						
							
							
								
							
							
	
	
	fc8799f269 
 
						 
						
							
							
								
								
								Use Get but not Post to get actions artifacts ( #29734 )  
							
							... 
							
							
							
							
							(cherry picked from commit 171d3d9a3c891d107001094b9118d93b0b00c02c)
Conflicts:
	routers/web/web.go 
							
						 
						
							2024-03-20 08:46:28 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	427ab550a6 
 
						 
						
							
							
								
								
								Set user's 24h preference from their current OS locale ( #29651 )  
							
							... 
							
							
							
							
							Fixes: https://github.com/go-gitea/gitea/issues/28371 
Fixed by using a JS solution that formats according to `lang`, but alters the 24h format setting as per user's locale. This will work for all tooltips:
<img width="243" alt="Screenshot 2024-03-07 at 23 03 35" src="https://github.com/go-gitea/gitea/assets/115237/6d16c71c-6786-4eda-8cdc-50ec68ba62c6 ">
<img width="250" alt="Screenshot 2024-03-07 at 23 03 17" src="https://github.com/go-gitea/gitea/assets/115237/4e26bbb7-12df-4b81-bd37-14705e87e8f7 ">
<img width="310" alt="Screenshot 2024-03-07 at 23 14 34" src="https://github.com/go-gitea/gitea/assets/115237/1ef599f0-6401-4e19-b1da-59cdfc09b0f6 ">
I think there is only one other place in the UI where we render such absolute dates, which is in the actions view and which I've also fixed:
<img width="275" alt="Screenshot 2024-03-07 at 23 04 00" src="https://github.com/go-gitea/gitea/assets/115237/df0fbe1f-96ee-4338-ab5e-2b10e215005d ">
(cherry picked from commit f86e9a03673b70d660a4b7a1e53748757d7a45fa) 
							
						 
						
							2024-03-11 23:36:59 +07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	87e7a83edf 
 
						 
						
							
							
								
								
								Tweak actions color and borders ( #29640 )  
							
							... 
							
							
							
							
							- Increase contrast overall
- Unalias the ansi color in dark theme and copy them to light
- Add outer border
- Add border radius
<img width="1337" alt="Screenshot 2024-03-06 at 22 30 03"
src="https://github.com/go-gitea/gitea/assets/115237/11407c0f-0bb2-435e-a034-22b1f106d9b0 ">
<img width="1335" alt="Screenshot 2024-03-06 at 22 36 59"
src="https://github.com/go-gitea/gitea/assets/115237/267db442-0979-4acc-a79e-8579b4cb0262 ">
(cherry picked from commit 16f13265143ff08cb6c33e976998b262e94fe569) 
							
						 
						
							2024-03-11 23:36:58 +07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gusted 
								
							 
						 
						
							
							
								
							
							
	d0e5af7079  
						 
						
							
							
								
								
								Merge pull request '[UI] Actions: Link to Workflow in View' ( #1866 ) from n0toose/forgejo:forgejo-add-workflow-link into forgejo  
							
							... 
							
							
							
							
							Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/1866 
Reviewed-by: Gusted <gusted@noreply.codeberg.org> 
							
						 
						
							2024-02-28 17:28:16 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	630d3f929e 
 
						 
						
							
							
								
								
								Make actions animation rotate counterclockwisely ( #29378 )  
							
							... 
							
							
							
							
							Because the icon is:

So it must rotate counterclockwisely
(cherry picked from commit ea164aba4b697aa08e4d20d896a8f318c09a6523) 
							
						 
						
							2024-02-26 22:30:27 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									FuXiaoHei 
								
							 
						 
						
							
							
								
							
							
	
	
	c551d3f3ab 
 
						 
						
							
							
								
								
								Artifact deletion in actions ui ( #27172 )  
							
							... 
							
							
							
							
							Add deletion link in runs view page.
Fix  #26315 

When click deletion button. It marks this artifact `need-delete`.
This artifact would be deleted when actions cleanup cron task. 
							
						 
						
							2024-02-23 09:06:14 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Panagiotis "Ivory" Vasilopoulos 
								
							 
						 
						
							
							
								
							
							
	1668904513  
						 
						
							
							
								
								
								[UI] Actions: Link to Workflow in View  
							
							
							
							
						 
						
							2024-02-22 13:18:06 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	709c2fad8a 
 
						 
						
							
							
								
								
								Add missed return to actions view fetch ( #27289 )  
							
							... 
							
							
							
							
							Should fix : #27213  
							
						 
						
							2023-09-27 08:34:52 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	6d96f0b0d1 
 
						 
						
							
							
								
								
								Add fetch wrappers, ignore network errors in actions view ( #26985 )  
							
							... 
							
							
							
							
							1. Introduce lightweight `fetch` wrapper functions that automatically
sets csfr token, content-type and use it in `RepoActionView.vue`.
2. Fix a specific issue on `RepoActionView.vue` where a fetch network
error is shortly visible during page reload sometimes. It can be
reproduced by F5-in in quick succession on the actions view page and was
also producing a red error box on the page.
Once approved, we can replace all current `fetch` uses in UI with this
in another PR.
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-09-11 10:25:10 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	9a3de436f4 
 
						 
						
							
							
								
								
								Reorder blocks in vue SFCs ( #26874 )  
							
							... 
							
							
							
							
							The [recommended order](https://vuejs.org/guide/scaling-up/sfc.html ) for
SFC blocks is script -> template -> style, which we were violating
because template and script were swapped. I do find script first also
easier to read because the imports are on top, letting me immideatly see
a component's dependencies.
This is a pure cut-paste refactor with some removal of some empty lines.
---------
Co-authored-by: Lauris BH <lauris@nix.lv> 
							
						 
						
							2023-09-02 14:59:07 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	21b8ec29aa 
 
						 
						
							
							
								
								
								Add eslint-plugin-vue-scoped-css ( #26720 )  
							
							... 
							
							
							
							
							Adds
[eslint-plugin-vue-scoped-css](https://github.com/future-architect/eslint-plugin-vue-scoped-css )
and fixes discovered issues which are:
- 1 unused selector
- 3 selectors with `.full.height` parent in a `<style scoped>` block so
the rule could not find the parent. Move these into the unscoped block
instead. They worked before and after. 
							
						 
						
							2023-08-25 13:47:27 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									yp05327 
								
							 
						 
						
							
							
								
							
							
	
	
	a4a567f29f 
 
						 
						
							
							
								
								
								Check disabled workflow when rerun jobs ( #26535 )  
							
							... 
							
							
							
							
							In GitHub, we can not rerun jobs if the workflow is disabled.
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-08-22 10:30:02 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	30e5278d1b 
 
						 
						
							
							
								
								
								Allow text selection in actions step header ( #26588 )  
							
							
							
							
						 
						
							2023-08-18 18:38:29 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									yp05327 
								
							 
						 
						
							
							
								
							
							
	
	
	8703b6c954 
 
						 
						
							
							
								
								
								Improve clickable area in repo action view page ( #26115 )  
							
							... 
							
							
							
							
							Before:

After:

In current design, the clickable area is too small, and it is hard to
find the correct clickable area as the area with background color (div
with class name `job-brief-item selected`) is bigger than it.
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-08-16 00:44:43 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	2fc0eb913c 
 
						 
						
							
							
								
								
								Tweak actions menu ( #26278 )  
							
							... 
							
							
							
							
							Ressurect lost changes from
https://github.com/go-gitea/gitea/pull/24451 .
- Always show icons for each entry in the menu
- Make all checkboxes toggle only their feature, e.g. "seconds" and
"timestamps" can now be toggled on together.
- Reorder the items
<img width="845" alt="Screenshot 2023-08-01 at 19 19 27"
src="https://github.com/go-gitea/gitea/assets/115237/8a76e9bf-7966-42a6-87c9-e88cdddaec82 ">
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-08-12 08:26:53 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									yp05327 
								
							 
						 
						
							
							
								
							
							
	
	
	36732005b4 
 
						 
						
							
							
								
								
								Disable download action logs button when there's no logs ( #26114 )  
							
							... 
							
							
							
							
							If there's no logs, you can also click the download button, then you
will get `job is not started` page

https://gitea.com/yp05327/testrepo/actions/runs/38 
After:
If there's no steps displayed, the download button will be disabled.
 
							
						 
						
							2023-07-26 20:51:26 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									FuXiaoHei 
								
							 
						 
						
							
							
								
							
							
	
	
	f3d293d2bb 
 
						 
						
							
							
								
								
								Actions Artifacts support uploading multiple files and directories ( #24874 )  
							
							... 
							
							
							
							
							current actions artifacts implementation only support single file
artifact. To support multiple files uploading, it needs:
- save each file to each db record with same run-id, same artifact-name
and proper artifact-path
- need change artifact uploading url without artifact-id, multiple files
creates multiple artifact-ids
- support `path` in download-artifact action. artifact should download
to `{path}/{artifact-path}`.
- in repo action view, it provides zip download link in artifacts list
in summary page, no matter this artifact contains single or multiple
files. 
							
						 
						
							2023-07-21 10:42:01 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Denys Konovalov 
								
							 
						 
						
							
							
								
							
							
	
	
	00dbba7f42 
 
						 
						
							
							
								
								
								Several fixes for mobile UI ( #25634 )  
							
							... 
							
							
							
							
							Resolves  #25622  
<details>
<summary>Screenshots</summary>







</details>
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io> 
						
							2023-07-04 17:45:45 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	0006169f38 
 
						 
						
							
							
								
								
								Actions list enhancements ( #25601 )  
							
							... 
							
							
							
							
							Various small enhancements to the actions list. Before and after:
<img width="1264" alt="Screenshot 2023-06-30 at 00 11 40"
src="https://github.com/go-gitea/gitea/assets/115237/bb4162ee-cdcf-4a73-b05e-f9521562edbb ">
<img width="1264" alt="Screenshot 2023-06-30 at 00 09 51"
src="https://github.com/go-gitea/gitea/assets/115237/52a70ea9-4bb3-406e-904b-0fdaafde9582 ">
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-07-04 09:59:47 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									HesterG 
								
							 
						 
						
							
							
								
							
							
	
	
	640a88fa09 
 
						 
						
							
							
								
								
								Add log line anchor for action logs ( #25532 )  
							
							... 
							
							
							
							
							Close  #24593 
Some behavior:
- If log step line in hash exists, expand the step and scroll to the log
line.
- If step exists but line not exists, the step will be expanded.
- If step not exists, stays on the job's page.
Some Notes:
- Changed mounted to async because need to await for first `loadJob` so
`currentJobStepsStates` can be initialized and used in
`hashChangeListener `.
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
							2023-07-03 01:08:49 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vitaliy Filippov 
								
							 
						 
						
							
							
								
							
							
	
	
	f0b773e0ce 
 
						 
						
							
							
								
								
								Support downloading raw task logs ( #24451 )  
							
							... 
							
							
							
							
							Hi!
This pull request adds support for downloading raw task logs for Gitea
Actions, similar to Github Actions
It looks like the following:
 
							
						 
						
							2023-06-29 10:58:56 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									HesterG 
								
							 
						 
						
							
							
								
							
							
	
	
	00b98bc8e0 
 
						 
						
							
							
								
								
								Fix rerun icon on action view component ( #25531 )  
							
							... 
							
							
							
							
							Right now rerun icon on action view component will not be seen when
duration text length is long, because the wrapper `job-brief-info` has a
fixed width, and the svg is squeezed. The way to fix this in this PR is
to change width to `fit-content` and exchange position of duration text
and rerun svg.
Before (rerun svg not shown on hover):
<img width="1401" alt="Screen Shot 2023-06-27 at 12 53 41"
src="https://github.com/go-gitea/gitea/assets/17645053/bb3f62ec-8c56-4dbc-96f1-718b50426d91 ">
After:
<img width="1409" alt="Screen Shot 2023-06-27 at 12 50 59"
src="https://github.com/go-gitea/gitea/assets/17645053/620aa02c-2326-408d-a763-453f48f42c40 "> 
							
						 
						
							2023-06-27 16:34:33 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	93cd579269 
 
						 
						
							
							
								
								
								Switch to ansi_up for ansi rendering in actions ( #25401 )  
							
							... 
							
							
							
							
							Fixes: https://github.com/go-gitea/gitea/issues/24777  
							
						 
						
							2023-06-22 02:15:19 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									HesterG 
								
							 
						 
						
							
							
								
							
							
	
	
	3318001880 
 
						 
						
							
							
								
								
								Fix fullscreen for action  ( #25200 )  
							
							... 
							
							
							
							
							An error occurs when clicking on `show full screen` on action page.
<img width="1440" alt="Screen Shot 2023-06-12 at 13 06 52"
src="https://github.com/go-gitea/gitea/assets/17645053/1d4ded3c-fb77-4dd8-9201-24d0696f96eb ">
class name has changed in #25134 , so the selector is not working. 
Enhance the selectors to fix this. 
							
						 
						
							2023-06-12 10:18:01 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	623b3b590e 
 
						 
						
							
							
								
								
								Button and color enhancements ( #24989 )  
							
							... 
							
							
							
							
							- Various corrections to button styles, especially secondary
- Remove focus highlight, it's annoying when it stays on button after
press
- Clearly define ghost and link buttons with demos in devtest
- Remove black, grey and tertiary buttons, they should not be used
- Make `arc-green` slightly darker
<img width="1226" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/8d89786a-01ab-40f8-ae5a-e17f40e35084 ">
<img width="1249" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/83651e6d-3c27-46ff-b8bd-ff344d70e949 ">
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-06-09 08:37:47 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									HesterG 
								
							 
						 
						
							
							
								
							
							
	
	
	1ea5c8b0ff 
 
						 
						
							
							
								
								
								Add show timestamp/seconds and fullscreen options to action page ( #24876 )  
							
							... 
							
							
							
							
							Part of #24728 
- The timestamp shows local time and is parsed by `date.toLocaleString`;
- "show seconds" and "show timestamps" are mutually exclusive, and they
can be both hidden.
https://github.com/go-gitea/gitea/assets/17645053/89531e54-37b7-4400-a6a0-bb3cc69eb6f5 
Update for timestamp format:
<img width="306" alt="Screen Shot 2023-05-25 at 09 07 47"
src="https://github.com/go-gitea/gitea/assets/17645053/2d99768d-d39c-4c9e-81a2-7bc7470399dd ">
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-05-30 20:38:55 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	e06f3d2ee5 
 
						 
						
							
							
								
								
								Enable vue/html-closing-bracket-spacing eslint rule ( #24987 )  
							
							... 
							
							
							
							
							Enable
[`vue/html-closing-bracket-spacing`](https://eslint.vuejs.org/rules/html-closing-bracket-spacing.html )
and set it to never add any useless spaces inside tags. All issues were
fixed automatically with `make lint-js-fix`. 
							
						 
						
							2023-05-29 16:58:53 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	1fd7e3d6be 
 
						 
						
							
							
								
								
								Improve Actions CSS ( #24864 )  
							
							... 
							
							
							
							
							- Various color tweaks
- Add sticky positioning to left sidebar, right header and right step
header
- Adjust margins and border radiuses
<img width="1235" alt="Screenshot 2023-05-23 at 11 18 06"
src="https://github.com/go-gitea/gitea/assets/115237/f601b00d-c7f2-43de-89f2-3ac55f2d9cdc ">
<img width="1239" alt="Screenshot 2023-05-23 at 11 18 18"
src="https://github.com/go-gitea/gitea/assets/115237/a2d24cc9-29fa-4c17-906b-84feea14b889 ">


---------
Co-authored-by: yp05327 <576951401@qq.com> 
							
						 
						
							2023-05-24 09:00:29 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	a9d417341c 
 
						 
						
							
							
								
								
								Run stylelint on .vue files ( #24865 )  
							
							... 
							
							
							
							
							- Run stylelint on .vue files
- Fix discovered issues
- Suppress warning spam from `declaration-strict-value` rule
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-23 13:54:21 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									HesterG 
								
							 
						 
						
							
							
								
							
							
	
	
	da461b5a08 
 
						 
						
							
							
								
								
								Improvements for action detail page ( #24718 )  
							
							... 
							
							
							
							
							Close  #24625  
Main changes:
1. For the left panel, show rerun icon only on hover, and add style when
the job is selected, and removed icon on the "rerun all" button and
modify the text on the button
https://github.com/go-gitea/gitea/assets/17645053/cc437a17-d2e9-4f1b-a8cf-f56e53962767 
2. Adjust fonts, and add on hover effects to the log lines. And add
loading effect when the job is done and the job step log is expanded for
the first time. (With reference to github)
https://github.com/go-gitea/gitea/assets/17645053/2808d77d-f402-4fb0-8819-7aa0a018cf0c 
3. Add `gt-ellipsis` to `step-summary-msg` and `job-brief-name`
<img width="898" alt="ellipsis"
src="https://github.com/go-gitea/gitea/assets/17645053/e2fb7049-3125-4252-970d-15b0751febc7 ">
4. Fixed
https://github.com/go-gitea/gitea/issues/24625#issuecomment-1541380010 
by adding explicit conditions to `ActionRunStatus.vue` and `status.tmpl`
5. Adjust some css styles
---------
Co-authored-by: silverwind <me@silverwind.io> 
						
							2023-05-22 12:17:24 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									FuXiaoHei 
								
							 
						 
						
							
							
								
							
							
	
	
	c757765a9e 
 
						 
						
							
							
								
								
								Implement actions artifacts ( #22738 )  
							
							... 
							
							
							
							
							Implement action artifacts server api.
This change is used for supporting
https://github.com/actions/upload-artifact  and
https://github.com/actions/download-artifact  in gitea actions. It can
run sample workflow from doc
https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts .
The api design is inspired by
https://github.com/nektos/act/blob/master/pkg/artifacts/server.go  and
includes some changes from gitea internal structs and methods.
Actions artifacts contains two parts:
- Gitea server api and storage (this pr implement basic design without
some complex cases supports)
- Runner communicate with gitea server api (in comming)
Old pr https://github.com/go-gitea/gitea/pull/22345  is outdated after
actions merged. I create new pr from main branch.

Add artifacts list in actions workflow page. 
							
						 
						
							2023-05-19 21:37:57 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Yarden Shoham 
								
							 
						 
						
							
							
								
							
							
	
	
	53a00017bb 
 
						 
						
							
							
								
								
								Fix flash of unstyled content in action view page ( #24712 )  
							
							... 
							
							
							
							
							# Before

# After

Ref: https://github.com/go-gitea/gitea/issues/24625 
Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-14 14:58:59 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Yarden Shoham 
								
							 
						 
						
							
							
								
							
							
	
	
	ae9ac50072 
 
						 
						
							
							
								
								
								Make the actions control button look like an actual button ( #24611 )  
							
							... 
							
							
							
							
							- Follows #24595 
# Before



# After



---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-05-10 08:09:23 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Yarden Shoham 
								
							 
						 
						
							
							
								
							
							
	
	
	de7dcc7cd9 
 
						 
						
							
							
								
								
								Add a tooltip to the job rerun button ( #24617 )  
							
							... 
							
							
							
							
							This one doesn't look very good as a real button (at least not in the
ways I tried), so I've opted to simply add a tooltip for it.
# Before

# After

Signed-off-by: Yarden Shoham <git@yardenshoham.com> 
							
						 
						
							2023-05-10 07:37:10 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Yarden Shoham 
								
							 
						 
						
							
							
								
							
							
	
	
	9a0652f0b2 
 
						 
						
							
							
								
								
								Attach a tooltip to the action status icon ( #24614 )  
							
							... 
							
							
							
							
							To clearly communicate the current state of the action






---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com> 
							
						 
						
							2023-05-09 21:39:16 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	d5b2bf9044 
 
						 
						
							
							
								
								
								Update JS dependencies, add new eslint rules ( #24597 )  
							
							... 
							
							
							
							
							- Update all JS dependencies
- Enable new eslint rules, fix issue (some via autofix)
- Fix some missed eslint rule renames from [unicorn
v25](https://github.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v25.0.0 )
- Tested Monaco, Katex, Swagger UI
---------
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-09 02:35:49 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Yarden Shoham 
								
							 
						 
						
							
							
								
							
							
	
	
	46e97986f5 
 
						 
						
							
							
								
								
								Attach a tooltip to the action control button ( #24595 )  
							
							... 
							
							
							
							
							The first time I saw the big red X button I thought something failed but
apparently, it was just a "Cancel" button
# Before



# After



---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-05-08 23:59:59 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Yarden Shoham 
								
							 
						 
						
							
							
								
							
							
	
	
	9ad5b59cd9 
 
						 
						
							
							
								
								
								Do not select line numbers when selecting text from the action run logs ( #24594 )  
							
							... 
							
							
							
							
							- Fixes  #24578 
# Before

# After

Signed-off-by: Yarden Shoham <git@yardenshoham.com> 
							
						 
						
							2023-05-08 20:50:05 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									yp05327 
								
							 
						 
						
							
							
								
							
							
	
	
	5987f00523 
 
						 
						
							
							
								
								
								Add rerun workflow button and refactor to use SVG octicons ( #24350 )  
							
							... 
							
							
							
							
							Changes:
- Add rerun workflow button. Then users can rerun the whole workflow by
only one-click.
- Refactor to use SVG octicons in RepoActionView.vue



---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-05-01 22:14:20 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									yp05327 
								
							 
						 
						
							
							
								
							
							
	
	
	68aac691c1 
 
						 
						
							
							
								
								
								Add job.duration in web ui ( #23963 )  
							
							... 
							
							
							
							
							

Maybe we can change the location of it. 
							
						 
						
							2023-04-07 18:20:50 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	aa9c920980 
 
						 
						
							
							
								
								
								Improve action log display with control chars ( #23820 )  
							
							... 
							
							
							
							
							Close  #23680 
Some CLI programs use "\r" and control chars to print new content in
current line.
So, the strings in one line are actually from
`\rReading...1%\rReading...5%\rReading...100%`
This PR tries to make the output better. 
						
							2023-04-01 20:57:05 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jason Song 
								
							 
						 
						
							
							
								
							
							
	
	
	964a057a76 
 
						 
						
							
							
								
								
								Fix checks for needs in Actions ( #23789 )  
							
							... 
							
							
							
							
							Fix:
- https://gitea.com/gitea/act_runner/issues/77 
- https://gitea.com/gitea/act_runner/issues/81 
Before:
<img width="1489" alt="image"
src="https://user-images.githubusercontent.com/9418365/228501567-f752cf87-a7ed-42c6-8f3d-ba741795c1fe.png ">
Highlights:
- Upgrade act to make things doable, related to
  - https://gitea.com/gitea/act/pulls/32 
  - https://gitea.com/gitea/act/pulls/33 
  - https://gitea.com/gitea/act/pulls/35 
- Make `needs` works
- Sort jobs in the original order in the workflow files 
							
						 
						
							2023-03-30 22:33:17 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									yp05327 
								
							 
						 
						
							
							
								
							
							
	
	
	22fec1650a 
 
						 
						
							
							
								
								
								Add commit info in action page ( #23210 )  
							
							... 
							
							
							
							
							Add more commit info in action detail page.
 
							
						 
						
							2023-03-27 18:34:09 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	202803fc69 
 
						 
						
							
							
								
								
								Replace Less with CSS ( #23481 )  
							
							... 
							
							
							
							
							Ran most of the Less files through the Less compiler and Prettier and
then followed up with a round of manual fixes.
The Less compiler had unfortunately stripped all `//` style comments
that I had to restore (It did preserve `/* */` comments). Other fixes
include duplicate selector removal which were revealed after the
transpilation and which weren't caught by stylelint before but now are.
Fixes: https://github.com/go-gitea/gitea/issues/15565  
							
						 
						
							2023-03-14 22:20:19 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hester Gong 
								
							 
						 
						
							
							
								
							
							
	
	
	f521e88240 
 
						 
						
							
							
								
								
								Fix actions frontend bugs (pagination, long name alignment) and small simplify ( #23370 )  
							
							... 
							
							
							
							
							1 Right now on actions page, the action list will not be aligned if
commit message is long. In this PR, the changes are:
- The branch tag is moved to bottom row
- Width percentage is given to make them aligned
- Show "..." if commit is longer than two lines.
- Align the status icon with the commit message with baseline
 Before:
<img width="1068" alt="截屏2023-03-08 12 23 22"
src="https://user-images.githubusercontent.com/17645053/223628534-6b9472cb-29f5-40a3-9714-c5152553049e.png ">
  
 After:
<img width="756" alt="截屏2023-03-08 13 34 28"
src="https://user-images.githubusercontent.com/17645053/223628571-da94698b-0e0a-43e3-ae82-34d8c780e5ba.png ">
2 Right now the actions list's pagination is not working properly
because Param is not passed to pagination template, in this PR Param
Strings are passed to the pager
Before:
<img width="1176" alt="截屏2023-03-08 12 23 50"
src="https://user-images.githubusercontent.com/17645053/223629207-8b67ce74-2342-4259-bc81-036e37752716.png ">
After:
<img width="1343" alt="截屏2023-03-08 13 11 54"
src="https://user-images.githubusercontent.com/17645053/223629321-4f538f8a-45dc-4d6f-ae60-2c82680ae3e7.png ">
3 A small simplify in `RepoActionView.vue` .
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> 
							
						 
						
							2023-03-13 13:31:06 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									yp05327 
								
							 
						 
						
							
							
								
							
							
	
	
	f0b0f22aed 
 
						 
						
							
							
								
								
								Add ActionRunStatus component ( #23259 )  
							
							... 
							
							
							
							
							Related to:
https://github.com/go-gitea/gitea/pull/23212#discussion_r1122856231 
Decrease duplication of SvgIcon when display a run status svg.
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> 
							
						 
						
							2023-03-06 22:35:24 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									yp05327 
								
							 
						 
						
							
							
								
							
							
	
	
	ca84a61761 
 
						 
						
							
							
								
								
								Add run status in action view page ( #23212 )  
							
							... 
							
							
							
							
							Before:


After:


---------
Co-authored-by: techknowlogick <techknowlogick@gitea.io> 
							
						 
						
							2023-03-04 00:41:37 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jason Song 
								
							 
						 
						
							
							
								
							
							
	
	
	edf98a2dc3 
 
						 
						
							
							
								
								
								Require approval to run actions for fork pull request ( #22803 )  
							
							... 
							
							
							
							
							Currently, Gitea will run actions automatically which are triggered by
fork pull request. It's a security risk, people can create a PR and
modify the workflow yamls to execute a malicious script.
So we should require approval for first-time contributors, which is the
default strategy of a public repo on GitHub, see [Approving workflow
runs from public
forks](https://docs.github.com/en/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks ).
Current strategy:
- don't need approval if it's not a fork PR;
- always need approval if the user is restricted;
- don't need approval if the user can write;
- don't need approval if the user has been approved before;
- otherwise, need approval.
https://user-images.githubusercontent.com/9418365/217207121-badf50a8-826c-4425-bef1-d82d1979bc81.mov 
GitHub has an option for that, you can see that at
`/<owner>/<repo>/settings/actions`, and we can support that later.
<img width="835" alt="image"
src="https://user-images.githubusercontent.com/9418365/217199990-2967e68b-e693-4e59-8186-ab33a1314a16.png ">
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> 
							
						 
						
							2023-02-24 15:58:49 +08:00