gapodo
2630962534
x
ci/woodpecker/tag/compliance-and-tests Pipeline was successful
Details
ci/woodpecker/tag/release-version Pipeline failed
Details
2022-12-07 22:41:59 +01:00
gapodo
44f633a09d
use docker upstream images...
ci/woodpecker/tag/compliance-and-tests Pipeline was successful
Details
ci/woodpecker/tag/release-version Pipeline failed
Details
2022-12-07 22:26:24 +01:00
gapodo
19fe24ee0b
please?
ci/woodpecker/tag/compliance-and-tests Pipeline was successful
Details
ci/woodpecker/tag/release-version Pipeline failed
Details
2022-12-07 22:15:51 +01:00
gapodo
4a7876313b
fixed?
ci/woodpecker/tag/compliance-and-tests Pipeline was successful
Details
ci/woodpecker/tag/release-version Pipeline failed
Details
2022-12-07 22:10:38 +01:00
gapodo
ab3628e039
another one
ci/woodpecker/tag/compliance-and-tests Pipeline was successful
Details
ci/woodpecker/tag/release-version Pipeline failed
Details
2022-12-07 21:52:06 +01:00
gapodo
1460aa916c
retry
ci/woodpecker/tag/compliance-and-tests Pipeline was successful
Details
ci/woodpecker/tag/release-version Pipeline failed
Details
2022-12-07 21:23:20 +01:00
gapodo
8c43879989
redo
ci/woodpecker/tag/compliance-and-tests Pipeline was successful
Details
ci/woodpecker/tag/release-version Pipeline failed
Details
2022-12-07 20:36:57 +01:00
gapodo
462718b497
next try
ci/woodpecker/tag/compliance-and-tests Pipeline was successful
Details
ci/woodpecker/tag/release-version Pipeline failed
Details
2022-12-07 20:28:38 +01:00
gapodo
e23cef61e8
retry with debugging
ci/woodpecker/tag/compliance-and-tests Pipeline was successful
Details
ci/woodpecker/tag/release-version Pipeline failed
Details
2022-12-07 20:10:41 +01:00
gapodo
35c0faccb7
docker relative sucks
ci/woodpecker/push/compliance-and-tests Pipeline is pending
Details
ci/woodpecker/push/release-version Pipeline is pending
Details
ci/woodpecker/tag/compliance-and-tests Pipeline was successful
Details
ci/woodpecker/tag/release-version Pipeline failed
Details
2022-12-07 20:04:00 +01:00
gapodo
48a3917874
retry...
ci/woodpecker/push/compliance-and-tests Pipeline is pending
Details
ci/woodpecker/push/release-version Pipeline is pending
Details
ci/woodpecker/tag/compliance-and-tests Pipeline was successful
Details
ci/woodpecker/tag/release-version Pipeline failed
Details
2022-12-07 19:35:39 +01:00
gapodo
92b3ab19de
fix?
ci/woodpecker/push/compliance-and-tests Pipeline is pending
Details
ci/woodpecker/push/release-version Pipeline is pending
Details
ci/woodpecker/tag/compliance-and-tests Pipeline was successful
Details
ci/woodpecker/tag/release-version Pipeline failed
Details
2022-12-07 19:17:32 +01:00
gapodo
2acacbeb13
quick rerun
ci/woodpecker/push/compliance-and-tests Pipeline is pending
Details
ci/woodpecker/push/release-version Pipeline is pending
Details
ci/woodpecker/tag/compliance-and-tests Pipeline was successful
Details
ci/woodpecker/tag/release-version Pipeline failed
Details
2022-12-07 18:12:23 +01:00
gapodo
cc58bf3928
retest
ci/woodpecker/push/compliance-and-tests Pipeline is pending
Details
ci/woodpecker/push/release-version Pipeline is pending
Details
ci/woodpecker/tag/compliance-and-tests Pipeline was successful
Details
ci/woodpecker/tag/release-version Pipeline failed
Details
2022-12-07 17:58:03 +01:00
gapodo
5e0cff5eb6
Quick test
ci/woodpecker/push/compliance-and-tests Pipeline is pending
Details
ci/woodpecker/push/release-version Pipeline is pending
Details
ci/woodpecker/tag/compliance-and-tests Pipeline was successful
Details
ci/woodpecker/tag/release-version Pipeline failed
Details
2022-12-07 17:40:58 +01:00
Loïc Dachary
e0c205082d
workaround: deactivate test-sqlite because it is too slow
...
Refs: https://codeberg.org/forgejo/forgejo/issues/31
Signed-off-by: Loïc Dachary <loic@dachary.org>
2022-12-03 10:54:04 +01:00
Loïc Dachary
9a69ea5d2d
workaround: Dockerfile for codeberg.org corrupted container images
...
https://codeberg.org/forgejo/forgejo/issues/26
https://codeberg.org/Codeberg/Community/issues/800
sed -i -e 's|^FROM.*golang.*|FROM codeberg.org/forgejo/golang:1.19-alpine3.17 AS build-env|' Dockerfile
sed -i -e 's|^FROM.*alpine:.*|FROM codeberg.org/forgejo/alpine:3.17.0|' Dockerfile
Signed-off-by: Loïc Dachary <loic@dachary.org>
2022-12-03 10:53:49 +01:00
Loïc Dachary
7fb4e9c4de
implementation: forgejo container images
...
Signed-off-by: Loïc Dachary <loic@dachary.org>
2022-12-03 10:51:39 +01:00
Loïc Dachary
41fabe9784
implementation: Woodpecker based CI
...
Signed-off-by: Loïc Dachary <loic@dachary.org>
2022-12-03 10:49:54 +01:00
Loïc Dachary
19d76aa497
implementation: publish forgejo- binaries instead of gitea-
...
Signed-off-by: Loïc Dachary <loic@dachary.org>
2022-12-03 10:49:54 +01:00
Loïc Dachary
543535ac0f
upstream: remove unstable test
...
Fixes: https://codeberg.org/forgejo/forgejo/issues/30
Signed-off-by: Loïc Dachary <loic@dachary.org>
2022-12-03 10:49:51 +01:00
Lunny Xiao
0a7d3ff786
refactor some functions to support ctx as first parameter ( #21878 )
...
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: Lauris BH <lauris@nix.lv>
2022-12-03 10:48:26 +08:00
Chongyi Zheng
8698458f48
Remove deprecated packages & staticcheck fixes ( #22012 )
...
`ioutil` is deprecated and should use `io` instead
2022-12-02 17:06:23 -05:00
xtexChooser
21bcb92926
Add pnpm to packages/overview ( #22008 )
...
[`pnpm`](https://pnpm.io/ ) is a "fast, disk space efficient" node
package manager.
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-12-02 11:23:47 -05:00
flynnnnnnnnnn
350bc83d00
Update to Alpine 3.17 ( #21904 )
...
This pull request is for updating the base docker images to build with
the latest version of Alpine.
2022-12-02 11:23:26 -05:00
Jason Song
f59a74852b
Update gitea-vet to check FSFE REUSE ( #22004 )
...
Related to:
- #21840
- https://gitea.com/gitea/gitea-vet/pulls/21
What it looks like when it's working:
https://drone.gitea.io/go-gitea/gitea/64040/1/5
All available SPDX license identifiers: [SPDX License
List](https://spdx.org/licenses/ ).
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-12-02 22:14:57 +08:00
silverwind
d64063277d
Multiple improvements for comment edit diff ( #21990 )
...
- Use explicit avatar size so when JS copies the HTML, the size gets
copied with it
- Replace icon font use with SVG
- Improve styling and diff rendering
- Sort lists in `svg.js`
Fixes: https://github.com/go-gitea/gitea/issues/21924
<img width="933" alt="Screenshot 2022-11-30 at 17 52 17"
src="https://user-images.githubusercontent.com/115237/204859608-f322a8f8-7b91-45e4-87c0-82694e574115.png ">
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2022-12-02 11:42:34 +02:00
Lunny Xiao
df676a47d0
Remove session in api tests ( #21984 )
...
It's no meaning to request an API route with session.
2022-12-01 22:39:42 -05:00
Mark Ormesher
665d02efaf
Remove duplicate "Actions" label in mobile view ( #21974 )
...
Closes #21973 .
The "Actions" button on the commit view page is labelled twice in mobile
view. No other buttons on the page have a `mobile-only` extra label, so
this PR removes it.
Before:
![before](https://user-images.githubusercontent.com/6496999/204540002-75baa08a-6c06-4b39-847b-34272e09d71e.PNG )
After:
![after](https://user-images.githubusercontent.com/6496999/204539991-a0607765-d5e2-4b1a-84c9-a3e16cbc674e.PNG )
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-12-01 22:39:19 -05:00
Lunny Xiao
f7ade6de7c
Fix generate index failure possibility on postgres ( #21998 )
...
@wxiaoguang Please review
Co-authored-by: silverwind <me@silverwind.io>
2022-12-02 11:15:36 +08:00
zeripath
64973cf18f
Use path not filepath in template filenames ( #21993 )
...
Paths in git are always separated by `/` not `\` - therefore we should
`path` and not `filepath`
Fix #21987
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
2022-12-02 07:56:51 +08:00
silverwind
f0bd219a5e
Update chroma to v2.4.0 ( #22000 )
...
Did a few cursory tests, seems to work well.
2022-12-01 16:44:38 -05:00
Jason Song
f9cbf5a1bc
Util type to parse ref name ( #21969 )
...
Provide a new type to make it easier to parse a ref name.
Actually, it's picked up from #21937 , to make the origin PR lighter.
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-12-01 19:56:04 +08:00
Jason Song
4e5d4d0073
Skip initing LFS storage if disabled ( #21996 )
...
A complement to #21985 .
I overlooked it because the name of the switch is `StartServer`, not
`Enabled`. I believe the weird name is a legacy, but renaming is out of
scope.
2022-12-01 11:02:04 +02:00
Lunny Xiao
b2c4870481
Fix parallel creating commit status bug with tests ( #21911 )
...
This PR is a follow up of #21469
Co-authored-by: Lauris BH <lauris@nix.lv>
2022-12-01 00:41:49 +08:00
Jason Song
67881ae99a
Skip initing disabled storages ( #21985 )
...
If `Attachment` or `Packages` are disabled, we don't have to init the
storages for them.
2022-11-30 21:39:02 +08:00
花墨
7020c4afb7
Fix leaving organization bug on user settings -> orgs ( #21983 )
...
Fix #21772
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-11-30 17:00:00 +08:00
luzpaz
fdfd77f478
Fix typos ( #21979 )
...
Found via codespell
2022-11-29 18:41:29 -06:00
Saswat Padhi
715cf46dc4
Normalize `AppURL` according to RFC 3986 ( #21950 )
...
Fixes #21865 .
Scheme-based normalization ([RFC 3986, section
6.2.3](https://www.rfc-editor.org/rfc/rfc3986#section-6.2.3 )) was
already implemented, but only for `defaultAppURL`.
This PR implements the same for `AppURL`.
Signed-off-by: Saswat Padhi <saswatpadhi@protonmail.com>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2022-11-29 15:30:47 +08:00
Jason Song
f047ee0a40
Use random bytes to generate access token ( #21959 )
2022-11-28 23:37:42 +08:00
Jason Song
9607750b5e
Replace fmt.Sprintf with hex.EncodeToString ( #21960 )
...
`hex.EncodeToString` has better performance than `fmt.Sprintf("%x",
[]byte)`, we should use it as much as possible.
I'm not an extreme fan of performance, so I think there are some
exceptions:
- `fmt.Sprintf("%x", func(...)[N]byte())`
- We can't slice the function return value directly, and it's not worth
adding lines.
```diff
func A()[20]byte { ... }
- a := fmt.Sprintf("%x", A())
- a := hex.EncodeToString(A()[:]) // invalid
+ tmp := A()
+ a := hex.EncodeToString(tmp[:])
```
- `fmt.Sprintf("%X", []byte)`
- `strings.ToUpper(hex.EncodeToString(bytes))` has even worse
performance.
2022-11-28 11:19:18 +00:00
flynnnnnnnnnn
e81ccc406b
Implement FSFE REUSE for golang files ( #21840 )
...
Change all license headers to comply with REUSE specification.
Fix #16132
Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2022-11-27 18:20:29 +00:00
zeripath
f6fd501841
Correct the fallbacks for mailer configuration ( #21945 )
...
Unfortunately the fallback configuration code for [mailer] that were
added in #18982 are incorrect. When you read a value from an ini section
that key is added. This leads to a failure of the fallback mechanism.
Further there is also a spelling mistake in the startTLS configuration.
This PR restructures the mailer code to first map the deprecated
settings on to the new ones - and then use ini.MapTo to map those on to
the struct with additional validation as necessary.
Ref #21744
Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-11-27 10:08:40 +00:00
KN4CK3R
32590db4ca
[skip ci] Updated licenses and gitignores
2022-11-27 00:19:33 +00:00
KN4CK3R
4b5a6e5ef0
Fix typos ( #21947 )
...
Two typos
The `recieve` typo is also present in a translation.
5f38acd9a0/options/locale/locale_sv-SE.ini (L1760)
Someone with a Crowdin account should fix that.
... and in a license file but I don't think we can change that because
that's the official text.
5f38acd9a0/options/license/xinetd (L21)
2022-11-27 00:21:54 +08:00
silverwind
5f38acd9a0
Fix markdown anchor re-clicking ( #21931 )
...
The hashchange event did not fire on re-click of a active anchor.
Instead, use the click event which always fires.
Fixes: https://github.com/go-gitea/gitea/issues/21680
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
2022-11-26 19:15:44 +08:00
zeripath
d7f12af805
Prevent NPE if trying to restore an already restored deleted branch ( #21940 )
...
If a deleted-branch has already been restored, a request to restore it
again will cause a NPE. This PR adds detection for this case, but also
disables buttons when they're clicked in order to help prevent
accidental repeat requests.
Fix #21930
Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-11-25 20:58:20 +00:00
Meisam
abecf632d2
add rel="me" to org.website link ( #21941 )
...
This lets organizations verify their link on 3rd party websites.
2022-11-25 09:33:37 -06:00
KN4CK3R
7a4f7b35e3
Fix typo in sidebar ( #21934 )
...
Same as #21922
I used the npm file as template which was a bad idea to spot these
casing errors...
2022-11-25 17:52:23 +08:00
Percy Ma
b91167b772
fix(web): keep the pages of the navigation in the center ( #21867 )
...
Keep the pages of the navigation in the center
<table>
<tr>
<th>Before</th>
<th>After</th>
</tr>
<tr>
<td>
<img width="200" alt="image"
src="https://user-images.githubusercontent.com/45708948/202838756-d6d57b3f-8144-4a43-a33b-ea7c8ab3a495.png ">
</td>
<td>
<img width="192" alt="image"
src="https://user-images.githubusercontent.com/45708948/202838740-bbae1e86-b14c-421d-92d4-d0e53d5952a2.png ">
</td>
</tr>
</table>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2022-11-25 14:37:02 +08:00