Yarden Shoham 
								
							 
						 
						
							
							
								
							
							
	
	
	4486dd39e7 
 
						 
						
							
							
								
								
								Remove cancel button from branch protection form ( #25063 )  
							
							... 
							
							
							
							
							It caused bugs. To cancel, just navigate away.
- Follows #21381  and #21872 
- Resolves  #25038  
## Before

## After

Signed-off-by: Yarden Shoham <git@yardenshoham.com> 
							
						 
						
							2023-06-03 20:06:09 +08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Denys Konovalov 
								
							 
						 
						
							
							
								
							
							
	
	
	7d855efb1f 
 
						 
						
							
							
								
								
								Allow for PKCE flow without client secret + add docs ( #25033 )  
							
							... 
							
							
							
							
							The PKCE flow according to [RFC
7636](https://datatracker.ietf.org/doc/html/rfc7636 ) allows for secure
authorization without the requirement to provide a client secret for the
OAuth app.
It is implemented in Gitea since #5378  (v1.8.0), however without being
able to omit client secret.
Since #21316  Gitea supports setting client type at OAuth app
registration.
As public clients are already forced to use PKCE since #21316 , in this
PR the client secret check is being skipped if a public client is
detected. As Gitea seems to implement PKCE authorization correctly
according to the spec, this would allow for PKCE flow without providing
a client secret.
Also add some docs for it, please check language as I'm not a native
English speaker.
Closes  #17107 
Closes  #25047  
							
						 
						
							2023-06-03 05:59:28 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									kodermho 
								
							 
						 
						
							
							
								
							
							
	
	
	7fca4056c4 
 
						 
						
							
							
								
								
								Fix link to customizing-gitea ( #25056 )  
							
							... 
							
							
							
							
							The link to customizing-gitea in the label documentation is broken. This
PR should adjust the relative path to fix the link 
							
						 
						
							2023-06-03 04:27:40 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									6543 
								
							 
						 
						
							
							
								
							
							
	
	
	af3deb0b30 
 
						 
						
							
							
								
								
								GitLab migration: Sanitize response for reaction list ( #25054 )  
							
							
							
							
						 
						
							2023-06-02 20:35:50 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Tyrone Yeh 
								
							 
						 
						
							
							
								
							
							
	
	
	b6d8d695da 
 
						 
						
							
							
								
								
								Add up and down arrows to selected lookup repositories ( #24727 )  
							
							... 
							
							
							
							
							Use up and down arrow key to select repositories

---------
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-06-02 18:39:07 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Kyle D 
								
							 
						 
						
							
							
								
							
							
	
	
	72eedfb915 
 
						 
						
							
							
								
								
								Show file tree by default ( #25052 )  
							
							... 
							
							
							
							
							Feel free to close this if there isn't interest.
The tree view looks amazing, and all of our users are really enjoying it
(major kudos to developers!), but only IF I tell them it exists!
Essentially, the file tree view as it is effectively undiscoverable.  
This PR changes the default state for the tree view to open, which
should significantly help with discoverability.
An alternative could be to reserve more horizontal space, as a typical
accordion panel would look (eg. VS Code), eg.
 
							
						 
						
							2023-06-02 23:39:01 +08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	e3897148f9 
 
						 
						
							
							
								
								
								Minor UI improvements: logo alignment, auth map editor, auth name display ( #25043 )  
							
							... 
							
							
							
							
							Some minor UI improvements together (then no need to review 3 small PRs)
# The Map for auth sources
Close  #24826 
Now the LDAP and OAuth2 both have multiple line editor for the map (and
it can be resized by the handler)
<details>


</details>
# The account link display
Before, the UI is misaligned
This PR fixes the misalignment, remove "float right", and show the auth
source name and auth type (in the tooltip).
And the "active" color is changed from dark red to primary color.
Before:
<details>

</details>
After:
<details>

</details>
# The UI logo alignment
Changed file: `css/base.css`.
Before, there were some "fine tunes", these "fine tunes" only causes
misalignment.
<details>

</details>
After this PR:
<details>


</details> 
							
						 
						
							2023-06-02 18:02:20 +08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	de4a21fcb4 
 
						 
						
							
							
								
								
								Refactor INI package (first step) ( #25024 )  
							
							... 
							
							
							
							
							The INI package has many bugs and quirks, and in fact it is
unmaintained.
This PR is the first step for the INI package refactoring: 
* Use Gitea's "config_provider" to provide INI access
* Deprecate the INI package by golangci.yml rule 
							
						 
						
							2023-06-02 17:27:30 +08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									GiteaBot 
								
							 
						 
						
							
							
								
							
							
	7a5873335a  
						 
						
							
							
								
								
								[skip ci] Updated translations via Crowdin  
							
							
							
							
						 
						
							2023-06-02 00:26:50 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	c5ede35124 
 
						 
						
							
							
								
								
								Add button on diff header to copy file name, misc diff header tweaks ( #24986 )  
							
							... 
							
							
							
							
							1. Add this button:
<img width="232" alt="Screenshot 2023-05-29 at 15 21 47"
src="https://github.com/go-gitea/gitea/assets/115237/5eaf6bd1-83db-4ffc-9503-eda0c59807d2 ">
<img width="297" alt="Screenshot 2023-05-29 at 15 20 22"
src="https://github.com/go-gitea/gitea/assets/115237/708a344f-f6d7-4229-bfda-76e1571b42c8 ">
2. Correct `button-link` styles to not have a background hover effect.
3. Tweak `.ui.container` padding to be the same for fluid and non-fluid.
4. Misc enhancements to diff header:
Before:
<img width="984" alt="Screenshot 2023-05-29 at 15 38 53"
src="https://github.com/go-gitea/gitea/assets/115237/c7926f6a-bd0a-4b05-97ad-c91fc25c62d5 ">
After:
<img width="987" alt="Screenshot 2023-05-29 at 15 43 10"
src="https://github.com/go-gitea/gitea/assets/115237/0149f545-45f8-42cf-b443-e1c76bd5cdeb "> 
							
						 
						
							2023-06-01 10:47:28 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lunny Xiao 
								
							 
						 
						
							
							
								
							
							
	
	
	5d23c885ed 
 
						 
						
							
							
								
								
								Fix users cannot visit issue attachment bug ( #25019 )  
							
							... 
							
							
							
							
							Caused by #24362 
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-31 19:06:17 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	48bfea6705 
 
						 
						
							
							
								
								
								Fix incorrect issuel filter menu style ( #25018 )  
							
							... 
							
							
							
							
							Before:
<details>

</details>
After:
<details>


</details> 
							
						 
						
							2023-05-31 12:44:28 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	a90988d63f 
 
						 
						
							
							
								
								
								Update repo's default branch when adding new files in an empty one ( #25017 )  
							
							... 
							
							
							
							
							Fix  #25014 
Only API needs this fix. On the Web UI, users could only add new file on
the default branch. 
						
							2023-05-31 17:07:51 +08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									谈笑风生间 
								
							 
						 
						
							
							
								
							
							
	
	
	a5acec329e 
 
						 
						
							
							
								
								
								Rename NotifyPullReviewRequest to NotifyPullRequestReviewRequest ( #24988 )  
							
							... 
							
							
							
							
							after #24481 
To keep consistent, maybe pull_request_review_request is better.
## what my pull request does
Rename NotifyPullReviewRequest to NotifyPullRequestReviewRequest.
<img width="1087" alt="image"
src="https://github.com/go-gitea/gitea/assets/75628309/2cf91f02-74f2-42fe-a998-0a039b821d8d "> 
							
						 
						
							2023-05-31 15:54:46 +08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									delvh 
								
							 
						 
						
							
							
								
							
							
	
	
	bf27fc3596 
 
						 
						
							
							
								
								
								Merge new project templates into one ( #24985 )  
							
							... 
							
							
							
							
							Additionally simplify the `new project` template slightly.
Review hint: Disable whitespace changes.
<details><summary>Before</summary>
## New repo project

## Edit repo project

## New user/org project

## Edit user/org project

</details>
<details><summary>After</summary>
## New repo project

## Edit repo project

## New user/org project

## Edit user/org project

</details>
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-31 08:50:18 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									sillyguodong 
								
							 
						 
						
							
							
								
							
							
	
	
	3a6a6342ea 
 
						 
						
							
							
								
								
								Add chinese documentations for cran package registry ( #25012 )  
							
							... 
							
							
							
							
							As title. 
							
						 
						
							2023-05-31 14:14:31 +08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	50bd7d0b24 
 
						 
						
							
							
								
								
								Remove the service worker ( #25010 )  
							
							... 
							
							
							
							
							It's been disabled by default since 1.17
(https://github.com/go-gitea/gitea/pull/18914 ), and it never really
delivered any benefit except being another cache layer that has its own
unsolved invalidation issues. HTTP cache works, we don't need two cache
layers at the browser for assets.
## ⚠️  BREAKING
You can remove the config `[ui].USE_SERVICE_WORKER` from your `app.ini`
now. 
							
						 
						
							2023-05-31 02:07:04 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									HesterG 
								
							 
						 
						
							
							
								
							
							
	
	
	28a89e360f 
 
						 
						
							
							
								
								
								Add user level action runners ( #24995 )  
							
							... 
							
							
							
							
							Used similar logic to organization.
<img width="1437" alt="Screen Shot 2023-05-30 at 10 18 06"
src="https://github.com/go-gitea/gitea/assets/17645053/49f3800a-44ae-4188-b1e6-91d49e3d7868 ">
<img width="1331" alt="Screen Shot 2023-05-30 at 10 31 18"
src="https://github.com/go-gitea/gitea/assets/17645053/221b2068-e9b9-4e34-bb4a-d390594b2f35 "> 
							
						 
						
							2023-05-31 09:39:54 +08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									6543 
								
							 
						 
						
							
							
								
							
							
	
	
	4c81dae297 
 
						 
						
							
							
								
								
								Update github.com/google/go-github to v52 ( #24004 )  
							
							... 
							
							
							
							
							based on https://github.com/google/go-github/pull/2743 
because of
https://github.com/go-gitea/gitea/pull/23946#discussion_r1160317554 
---------
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-05-31 00:31:51 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Denys Konovalov 
								
							 
						 
						
							
							
								
							
							
	
	
	0c79a655d4 
 
						 
						
							
							
								
								
								various style fixes ( #25008 )  
							
							... 
							
							
							
							
							- fixing various style issues (border color/radius, margin)
- added indent at some radio input blocks
---
### Before:







### After:







---------
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-05-30 22:28:25 +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 
							
								 
							
						 
					 
				
					
						
							
								
								
									John Olheiser 
								
							 
						 
						
							
							
								
							
							
	
	
	3dd3b1b456 
 
						 
						
							
							
								
								
								Fix markdown link to awesome gitea ( #25009 )  
							
							... 
							
							
							
							
							Fixes the markdown link and uses title case like the other
translations. 
							
						 
						
							2023-05-30 13:10:51 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									JakobDev 
								
							 
						 
						
							
							
								
							
							
	
	
	1b115296d3 
 
						 
						
							
							
								
								
								Followup to pinned Issues ( #24945 )  
							
							... 
							
							
							
							
							This addressees some things from #24406  that came up after the PR was
merged. Mostly from @delvh.
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: delvh <dev.lh@web.de> 
							
						 
						
							2023-05-30 15:26:51 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lunny Xiao 
								
							 
						 
						
							
							
								
							
							
	
	
	faae819f5d 
 
						 
						
							
							
								
								
								revert the removed method to fix tmpl break on graph page ( #25005 )  
							
							... 
							
							
							
							
							Fix  #24996  
Caused by #24634  
						
							2023-05-30 21:36:58 +08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	ee99cf6313 
 
						 
						
							
							
								
								
								Refactor diffFileInfo / DiffTreeStore  ( #24998 )  
							
							... 
							
							
							
							
							Follow  #21012 , #22399 
Replace #24983 , fix  #24938 
Help #24956 
Now, the `window.config.pageData.diffFileInfo` itself is a reactive
store, so it's quite easy to sync values/states by it, no need to do
"doLoadMoreFiles" or "callback".
Screenshot: these two buttons both work. After complete loading, the UI
is also right.
<details>



</details> 
							
						 
						
							2023-05-30 18:53:15 +08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									HesterG 
								
							 
						 
						
							
							
								
							
							
	
	
	32185efc14 
 
						 
						
							
							
								
								
								Fix delete user account modal ( #25004 )  
							
							... 
							
							
							
							
							Before:
<img width="953" alt="Screen Shot 2023-05-30 at 17 08 57"
src="https://github.com/go-gitea/gitea/assets/17645053/f379b2c9-7d9a-492e-b0e4-5a8be1c3a025 ">
After:
<img width="875" alt="Screen Shot 2023-05-30 at 17 06 17"
src="https://github.com/go-gitea/gitea/assets/17645053/75d3c9b5-201b-4001-a27e-64c932e2e34a "> 
							
						 
						
							2023-05-30 18:08:09 +08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	d783384c19 
 
						 
						
							
							
								
								
								Clean up github actions ( #24984 )  
							
							... 
							
							
							
							
							- Merge the file filters into `files-changed.yml`
- Remove unused yaml anchors like `&backend`
- Merge the `compliance-docs` workflow into `compliance`
- Add actions linting
- Misc cleanups for whitespace and step names 
							
						 
						
							2023-05-30 13:31:00 +08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Lunny Xiao 
								
							 
						 
						
							
							
								
							
							
	
	
	e64c2faf85 
 
						 
						
							
							
								
								
								Remove unnecessary content on docs ( #24976 )  
							
							
							
							
						 
						
							2023-05-30 09:30:56 +08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	51b130831e 
 
						 
						
							
							
								
								
								Upgrade snap to node 20 ( #24990 )  
							
							... 
							
							
							
							
							Followup to https://github.com/go-gitea/gitea/pull/24524 . Now there is a
[node 20 snap](https://snapcraft.io/node ), so let's upgrade to it. 
							
						 
						
							2023-05-29 22:41:56 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Yevhen Pavlov 
								
							 
						 
						
							
							
								
							
							
	
	
	a36c620583 
 
						 
						
							
							
								
								
								Display file mode for new file and file mode changes ( #24966 )  
							
							... 
							
							
							
							
							This MR introduces the addition of file mode display support for both
new file creation and file mode changes, following a similar approach as
GitLab.
GitLab:

Gitea:

Replaces: https://github.com/go-gitea/gitea/pull/23159 
Closes: https://github.com/go-gitea/gitea/issues/23021 
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-29 19:56:08 +02: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 
							
								 
							
						 
					 
				
					
						
							
								
								
									HesterG 
								
							 
						 
						
							
							
								
							
							
	
	
	085a8857f9 
 
						 
						
							
							
								
								
								Fix repo level project - edit column  ( #24982 )  
							
							... 
							
							
							
							
							Right now edit column of repo level project is not working, because edit
button does not have the `edit-column-button` class, which is used in
the [js
selector](28077e66c0/web_src/js/features/repo-projects.js (L106)https://github.com/go-gitea/gitea/assets/17645053/e1fba190-477d-4814-87f2-0fd979376840 
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-29 16:32:15 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Yevhen Pavlov 
								
							 
						 
						
							
							
								
							
							
	
	
	970e1c98ec 
 
						 
						
							
							
								
								
								Add v3.18 to TestPackageAlpine ( #24972 )  
							
							... 
							
							
							
							
							Add Alpine 3.18 to TestPackageAlpine
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-29 15:45:32 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	ca5f302876 
 
						 
						
							
							
								
								
								Fix admin config page error, use tests to cover the admin config and 500 error page ( #24965 )  
							
							... 
							
							
							
							
							The admin config page has been broken for many many times, a little
refactoring would make this page panic.
So, add a test for it, and add another test to cover the 500 error page.
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-29 15:00:21 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	73b57c2992 
 
						 
						
							
							
								
								
								Improve dropdown menus, remove inline styles ( #24954 )  
							
							... 
							
							
							
							
							Before:
<img width="190" alt="Screenshot 2023-05-27 at 10 46 43"
src="https://github.com/go-gitea/gitea/assets/115237/b9331fcd-db1d-476e-87f0-f79bae48b1a5 ">
After:
<img width="154" alt="Screenshot 2023-05-28 at 19 29 03"
src="https://github.com/go-gitea/gitea/assets/115237/8b7f99a2-01a8-4665-9342-a6201b51d30f ">
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-29 14:10:06 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									HesterG 
								
							 
						 
						
							
							
								
							
							
	
	
	0018b0a15e 
 
						 
						
							
							
								
								
								Unify doc links to use paths relative to doc folder ( #24979 )  
							
							... 
							
							
							
							
							Changes:
1. Use uniform links types relative to doc folder (start with `doc/`)
2. According to [docusaurus
links](https://docusaurus.io/docs/markdown-features/links ), if `<a>` is
used, the `href` is resolved as URL location, but not file location. So
need to use `[text]({{< relref "path" >}})` instead. 
							
						 
						
							2023-05-29 13:27:16 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	79a4c80f8d 
 
						 
						
							
							
								
								
								Rework button coloring, add focus and active colors ( #24507 )  
							
							... 
							
							
							
							
							We were missing overrides for `:focus` and `:active` styles which I've
added here along with two new color variants `dark-1` and `dark-2` for
them. Fomantic UI has 4 different colors but I think 3 are sufficient. I
also changed it on arc-green so button goes darker when pressed.
<img width="129" alt="Screenshot 2023-05-04 at 01 21 43"
src="https://user-images.githubusercontent.com/115237/236072060-7389276a-275b-4d3e-aa52-20b37c6e6d92.png ">
<img width="130" alt="Screenshot 2023-05-04 at 01 17 59"
src="https://user-images.githubusercontent.com/115237/236071818-0e46414a-33db-4bb2-a3bd-35b514a8a2d0.png ">
<img width="129" alt="Screenshot 2023-05-04 at 01 18 07"
src="https://user-images.githubusercontent.com/115237/236071819-562b1e38-541f-432b-b3b6-48e6d7594d00.png ">
<img width="131" alt="Screenshot 2023-05-04 at 01 18 13"
src="https://user-images.githubusercontent.com/115237/236071820-89b7dba9-ce6c-48e5-a075-9053063e6ad3.png ">
<img width="133" alt="Screenshot 2023-05-04 at 01 18 30"
src="https://user-images.githubusercontent.com/115237/236071823-b6fe2df4-b3f0-4dc8-97a8-f90ba6d19bec.png ">
<img width="133" alt="Screenshot 2023-05-04 at 01 18 40"
src="https://user-images.githubusercontent.com/115237/236071824-b02ce61a-2367-4c29-8a25-45f231f5e5ee.png ">
One misc change includes some fixes to editor and slightly darker
selection.
<img width="1245" alt="Screenshot 2023-05-28 at 19 16 19"
src="https://github.com/go-gitea/gitea/assets/115237/1ea4a4b6-26ba-45af-9cbc-5b8c476c2338 "> 
							
						 
						
							2023-05-29 12:45:22 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	e4e98979ff 
 
						 
						
							
							
								
								
								Add PDF rendering via PDFObject ( #24086 )  
							
							... 
							
							
							
							
							Use [PDFObject](https://pdfobject.com/ ) to embed PDFs, replacing our
outdated PDF.js copy we vendor (the last non-webpack vendoring).
[Commit
1](https://github.com/go-gitea/gitea/pull/24086/commits/673e0263da64b72565ff59b990ab1b8e87271872 )
is the PDFObject integration
[Commit
2](https://github.com/go-gitea/gitea/pull/24086/commits/9336f5769d54445bba0e16776164f6a2fe2c32ac )
is the removal of PDF.js
<img width="1251" alt="Screenshot 2023-05-27 at 09 57 52"
src="https://github.com/go-gitea/gitea/assets/115237/169ce50c-bd1d-4bb0-86e5-1710bd0400a9 ">
<img width="1257" alt="Screenshot 2023-05-27 at 10 12 50"
src="https://github.com/go-gitea/gitea/assets/115237/318f7ee9-fb11-4093-83e7-17475aa70629 ">
Fallback for unsupporting browsers (most mobile ones, except Firefox
Mobile):
<img width="358" alt="Screenshot 2023-05-27 at 09 43 34"
src="https://github.com/go-gitea/gitea/assets/115237/8c12d7ba-57d6-4228-89a0-5fef9fad0cbb ">
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-29 12:10:00 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Panagiotis "Ivory" Vasilopoulos 
								
							 
						 
						
							
							
								
							
							
	
	
	35ce7ca25b 
 
						 
						
							
							
								
								
								Hide 'Mirror Settings' when unneeded, improve hints ( #24433 )  
							
							... 
							
							
							
							
							Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-29 11:32:52 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	a70d853d06 
 
						 
						
							
							
								
								
								Consolidate the two review boxes into one ( #24738 )  
							
							... 
							
							
							
							
							View diff:
https://github.com/go-gitea/gitea/pull/24738/files?diff=unified&w=1 
Improve layout and functionality in review area:
<img width="439" alt="Screenshot 2023-05-15 at 20 10 01"
src="https://github.com/go-gitea/gitea/assets/115237/be10452b-5829-4927-8801-7b26a57b3dbd ">
Remove the "Reviewers" timeline box that appears before the merge box.
it's a duplicate of the top-right review area and all functionality of
it has been moved to the other box:
<img width="868" alt="Screenshot 2023-05-15 at 19 39 31"
src="https://github.com/go-gitea/gitea/assets/115237/35489445-e54b-40d3-b3cf-38d029478f96 ">
Increase timeline item vertical padding from 12px to 16px:
<img width="449" alt="Screenshot 2023-05-15 at 19 43 50"
src="https://github.com/go-gitea/gitea/assets/115237/919c4f9d-a485-4f51-b08c-2c0fc714a413 ">
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-29 12:44:03 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Denys Konovalov 
								
							 
						 
						
							
							
								
							
							
	
	
	275d4b7e3f 
 
						 
						
							
							
								
								
								API endpoint for changing/creating/deleting multiple files ( #24887 )  
							
							... 
							
							
							
							
							This PR creates an API endpoint for creating/updating/deleting multiple
files in one API call similar to the solution provided by
[GitLab](https://docs.gitlab.com/ee/api/commits.html#create-a-commit-with-multiple-files-and-actions ).
To archive this, the CreateOrUpdateRepoFile and DeleteRepoFIle functions
in files service are unified into one function supporting multiple files
and actions.
Resolves  #14619  
							
						 
						
							2023-05-29 17:41:35 +08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	245f2c08db 
 
						 
						
							
							
								
								
								Repo list improvements, fix bold helper classes ( #24935 )  
							
							... 
							
							
							
							
							- Fix bold helper classes that were broken because of CSS syntax error
- Refined the repo list CSS and layout
- Removing bold
- Downsize the mirror icon to fit
- Fix icon positions
- Adapted the org list to match
- Center the '+' icon and mute it
<img width="385" alt="Screenshot 2023-05-25 at 18 38 31"
src="https://github.com/go-gitea/gitea/assets/115237/ac8d6efb-5751-4845-a4ab-db1ddaf36ec3 ">
<img width="384" alt="Screenshot 2023-05-25 at 18 30 29"
src="https://github.com/go-gitea/gitea/assets/115237/bbd39ae7-da9d-4c6f-bfe3-42f28b7a74c3 "> 
							
						 
						
							2023-05-29 16:55:23 +08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Zettat123 
								
							 
						 
						
							
							
								
							
							
	
	
	28077e66c0 
 
						 
						
							
							
								
								
								Add step start time to ViewStepLog ( #24980 )  
							
							... 
							
							
							
							
							Part of #24876 
According to
https://github.com/go-gitea/gitea/pull/24876#discussion_r1205565622  , we
need the start time of the step to get the log time offset. 
							
						 
						
							2023-05-29 08:18:36 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									epk 
								
							 
						 
						
							
							
								
							
							
	
	
	355a078192 
 
						 
						
							
							
								
								
								Update from-binary.en-us.md ( #24975 )  
							
							... 
							
							
							
							
							Fixed link to the creating a systemd service in Ubuntu document. 
							
						 
						
							2023-05-29 15:46:38 +08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	ad13df36b7 
 
						 
						
							
							
								
								
								Test query must have "order by" explicitly to avoid unstable results ( #24963 )  
							
							... 
							
							
							
							
							The query must have the "ORDER BY", otherwise the result is not
deterministic.
Replace "interface{}" with "any" by the way. 
							
						 
						
							2023-05-29 03:20:57 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	84c8ab9fd1 
 
						 
						
							
							
								
								
								Help to recover from corrupted levelqueue ( #24912 )  
							
							... 
							
							
							
							
							gitea.com experienced the corrupted LevelQueue bug again.
I think the problem is clear now: if the keys in LevelDB went
out-of-sync, the LevelQueue itself doesn't have the ability to recover,
eg:
* LevelQueue.Len() reports 100
* LevelQueue.LPop() reports ErrNotFound = errors.New("no key found")
So it needs to dive into the LevelDB to remove all keys to recover the
corrupted LevelQueue.
More comments are in TestCorruptedLevelQueue. 
							
						 
						
							2023-05-29 10:52:32 +08:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									GiteaBot 
								
							 
						 
						
							
							
								
							
							
	8faf9465b3  
						 
						
							
							
								
								
								[skip ci] Updated translations via Crowdin  
							
							
							
							
						 
						
							2023-05-29 00:24:30 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	c7612d178c 
 
						 
						
							
							
								
								
								Remove meta tags theme-color and default-theme ( #24960 )  
							
							... 
							
							
							
							
							As discussed in
https://github.com/go-gitea/gitea/pull/24953#issuecomment-1565630156 .
## ⚠️  BREAKING ⚠️ 
1. The `ui.THEME_COLOR_META_TAG` setting has been removed. If you still
need to set the `theme-color` meta tag, add it via
`$GITEA_CUSTOM/templates/custom/header.tmpl` instead.
2. The non-standard `default-theme` meta-tag added in
https://github.com/go-gitea/gitea/pull/13809  has been removed. Third
party code that needs to obtain the currently loaded theme should use
the `theme-<name>` class on the `<html>` node instead, which reflect the
currently active theme. 
							
						 
						
							2023-05-28 22:33:17 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	faf8557b4c 
 
						 
						
							
							
								
								
								Add dark mode to API Docs ( #24971 )  
							
							... 
							
							
							
							
							Add a dark mode to Swagger UI via CSS `invert`. No toggle or anything,
but I think it's better than nothing. Users can toggle via their OS.
Also includes a few misc CSS cleanups on the page.
<img width="1264" alt="Screenshot 2023-05-28 at 20 25 06"
src="https://github.com/go-gitea/gitea/assets/115237/de761b85-ca0c-4220-bee4-73798a4360a0 ">
<img width="1260" alt="Screenshot 2023-05-28 at 20 02 54"
src="https://github.com/go-gitea/gitea/assets/115237/29188ed2-c167-47f5-bf28-46193d1da22c "> 
							
						 
						
							2023-05-28 21:37:34 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	acb13afb79 
 
						 
						
							
							
								
								
								Update JS dependencies ( #24969 )  
							
							... 
							
							
							
							
							- Update all JS dependencies
- Tested Build, Mermaid and Swagger 
							
						 
						
							2023-05-28 19:47:03 +00:00