04d489dbdd
Make branches list page operations remember current page ( #23420 ) ( #23459 )
...
Backport #23420 by @wxiaoguang
Close #23411
Always pass "page" query parameter to backend, and make backend respect
it.
The `ctx.FormInt("limit")` is never used, so removed.
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
Co-authored-by: Jason Song <i@wolfogre.com >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: KN4CK3R <admin@oldschoolhack.me >
2023-03-15 13:13:27 +01:00
Giteabot and Hester Gong
93fe0202cb
Change interactiveBorder to fix popup preview ( #23169 ) ( #23313 )
...
Backport #23169
Close #23073 .
Used the solution as reference to the reply:
https://github.com/go-gitea/gitea/issues/23073#issuecomment-1440124609
Here made the change inside the `contextpopup.js` because this is where
the popup component is created and tippy configuration is given.
Co-authored-by: Hester Gong <hestergong@gmail.com >
2023-03-06 10:32:47 -06:00
13f304d89e
Properly flush unique queues on startup ( #23154 ) ( #23200 )
...
Backport #23154
There have been a number of reports of PRs being blocked whilst being
checked which have been difficult to debug. In investigating #23050 I
have realised that whilst the Warn there is somewhat of a miscall there
was a real bug in the way that the LevelUniqueQueue was being restored
on start-up of the PersistableChannelUniqueQueue.
Next there is a conflict in the setting of the internal leveldb queue
name - This wasn't being set so it was being overridden by other unique
queues.
This PR fixes these bugs and adds a testcase.
Thanks to @brechtvl for noticing the second issue.
Fix #23050
and others
Signed-off-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: delvh <leon@kske.dev >
2023-03-06 22:34:54 +08:00
b6eea680ce
Fill head commit to in payload when notifying push commits for mirroring ( #23215 ) ( #23291 )
...
Backport #23215
Just like what has been done when pushing manually:
https://github.com/go-gitea/gitea/blob/7a5af25592003ddc3017fcd7b822a3e02fc40ef6/services/repository/push.go#L225-L226
Before:
<img width="448" alt="image"
src="https://user-images.githubusercontent.com/9418365/222100123-cd4839d1-2d4d-45f7-b7a0-0cbc73162b44.png ">
After:
<img width="448" alt="image"
src="https://user-images.githubusercontent.com/9418365/222100225-f3c5bb65-7ab9-41e2-8e39-9d84c23c352d.png ">
Co-authored-by: Jason Song <i@wolfogre.com >
Co-authored-by: delvh <dev.lh@web.de >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2023-03-05 11:06:44 +01:00
2f1d968b27
Fix GetFilesChangedBetween if the file name may be escaped ( #23272 ) ( #23278 )
...
Backport #23272
The code for GetFilesChangedBetween uses `git diff --name-only
base..head` to get the names of files changed between base and head
however this forgets that git will escape certain values.
This PR simply switches to use `-z` which has the `NUL` character as the
separator.
Ref https://github.com/go-gitea/gitea/pull/22568#discussion_r1123138096
Signed-off-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2023-03-04 02:11:50 -05:00
Giteabot and wxiaoguang
0c212b3f08
Use the correct selector to hide the checkmark of selected labels on clear ( #23224 ) ( #23226 )
...
Backport #23224
Regression of #10107
(https://github.com/go-gitea/gitea/pull/10107/files#diff-a15e36f2f9c13339f7fdd38bc2887db2ff2945cb8434464318ab9105fcc846bdR460 )
Fix #22222
Before: the "clear" action couldn't remove these check marks.

After: the "clear" action can remove these check marks.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2023-03-01 15:59:54 -05:00
Giteabot and Philip Peterson
f5f4a8d02a
Pass --global when calling git config --get, for consistency with git config --set ( #23157 ) ( #23198 )
...
Backport #23157
This arose out of #22451 ; it seems we are checking using non-global
settings to see if a config value is set, in order to decide whether to
call another global(-indeed) configuration command. This PR changes it
so that both the check and the set are for global configuration.
Co-authored-by: Philip Peterson <philip-peterson@users.noreply.github.com >
2023-02-28 17:53:27 -05:00
Giteabot and wxiaoguang
543322f81f
Make gitea serv respect git binary home ( #23138 ) ( #23196 )
...
Backport #23138
Close #23137
The old code is too old (8-9 years ago)
Let's try to execute the git commands from git bin home directly.
The verb has been checked above, it could only be:
* git-upload-pack
* git-upload-archive
* git-receive-pack
* git-lfs-authenticate
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2023-02-28 16:46:27 -06:00
GiteaBot
e31c6166ee
[skip ci] Updated translations via Crowdin
2022-05-31 00:10:30 +00:00
GiteaBot
fe4c846ccb
[skip ci] Updated translations via Crowdin
2022-05-30 00:10:14 +00:00
GiteaBot
76681883ec
[skip ci] Updated translations via Crowdin
2022-05-29 00:10:54 +00:00
GiteaBot
cfb4c23a50
[skip ci] Updated translations via Crowdin
2022-05-28 00:10:25 +00:00
GiteaBot
7671a3322b
[skip ci] Updated translations via Crowdin
2022-05-24 00:10:14 +00:00
GiteaBot
d2a91e5e59
[skip ci] Updated translations via Crowdin
2022-05-23 00:10:14 +00:00
GiteaBot
fa5dec966c
[skip ci] Updated licenses and gitignores
2022-05-22 00:10:22 +00:00
GiteaBot
6d54799bbc
[skip ci] Updated translations via Crowdin
2022-05-17 00:10:28 +00:00
GiteaBot
761d4f40be
[skip ci] Updated translations via Crowdin
2022-05-15 00:10:15 +00:00
GiteaBot
cafa2dcb87
[skip ci] Updated translations via Crowdin
2022-05-13 00:10:14 +00:00
GiteaBot
d985dcc922
[skip ci] Updated translations via Crowdin
2022-05-12 00:10:15 +00:00
GiteaBot
9fc194d2d9
[skip ci] Updated translations via Crowdin
2022-05-10 00:10:16 +00:00
GiteaBot
cd99540cdc
[skip ci] Updated translations via Crowdin
2022-05-09 00:10:13 +00:00
GiteaBot
5a9c505e14
[skip ci] Updated translations via Crowdin
2022-05-07 00:10:19 +00:00
GiteaBot
5a75a5463e
[skip ci] Updated translations via Crowdin
2022-05-05 00:10:22 +00:00
GiteaBot
05234adfa8
[skip ci] Updated translations via Crowdin
2022-05-02 00:10:25 +00:00
GiteaBot
094c8fdc87
[skip ci] Updated licenses and gitignores
2022-05-01 00:25:27 +00:00
GiteaBot
bf7258be9c
[skip ci] Updated translations via Crowdin
2022-04-30 00:10:15 +00:00
GiteaBot
53829b84f0
[skip ci] Updated translations via Crowdin
2022-04-29 00:10:15 +00:00
GiteaBot
960b813a33
[skip ci] Updated translations via Crowdin
2022-04-28 00:10:43 +00:00
GiteaBot
741c55b4ea
[skip ci] Updated translations via Crowdin
2022-04-26 00:10:13 +00:00
GiteaBot
5e4134b117
[skip ci] Updated translations via Crowdin
2022-04-25 00:10:29 +00:00
GiteaBot
0abd8b0abc
[skip ci] Updated translations via Crowdin
2022-04-24 00:10:14 +00:00
GiteaBot
9550e5a23e
[skip ci] Updated translations via Crowdin
2022-04-23 00:10:15 +00:00
GiteaBot
0dfc2e55ea
[skip ci] Updated translations via Crowdin
2022-04-22 00:10:36 +00:00
GiteaBot
f7a8e5c8f2
[skip ci] Updated translations via Crowdin
2022-04-21 00:10:26 +00:00
GiteaBot
b74322dfce
[skip ci] Updated translations via Crowdin
2022-04-18 00:10:09 +00:00
GiteaBot
490065b93b
[skip ci] Updated licenses and gitignores
2022-04-17 00:10:24 +00:00
GiteaBot
3255ba9305
[skip ci] Updated translations via Crowdin
2022-04-13 00:10:15 +00:00
GiteaBot
72479bff89
[skip ci] Updated translations via Crowdin
2022-04-10 00:10:15 +00:00
GiteaBot
c6531de3f5
[skip ci] Updated translations via Crowdin
2022-04-08 00:17:39 +00:00
GiteaBot
bb7e0619c3
[skip ci] Updated translations via Crowdin
2022-04-07 00:17:35 +00:00
GiteaBot
8ddcd37f13
[skip ci] Updated translations via Crowdin
2022-04-06 00:17:36 +00:00
GiteaBot
5ae875a1ae
[skip ci] Updated translations via Crowdin
2022-04-05 00:17:38 +00:00
GiteaBot
256204befa
[skip ci] Updated translations via Crowdin
2022-04-04 00:17:51 +00:00
GiteaBot
27c34dd011
[skip ci] Updated translations via Crowdin
2022-04-03 00:17:41 +00:00
GiteaBot
ba2592c380
[skip ci] Updated translations via Crowdin
2022-04-01 00:17:38 +00:00
GiteaBot
84038f33f4
[skip ci] Updated translations via Crowdin
2022-03-31 00:18:20 +00:00
GiteaBot
ea8622d454
[skip ci] Updated translations via Crowdin
2022-03-30 00:17:38 +00:00
GiteaBot
04601d22f5
[skip ci] Updated translations via Crowdin
2022-03-28 00:17:27 +00:00
GiteaBot
71a5aaef32
[skip ci] Updated licenses and gitignores
2022-03-27 00:17:35 +00:00
GiteaBot
e48f3b0527
[skip ci] Updated translations via Crowdin
2022-03-25 00:17:35 +00:00
GiteaBot
db6080f4f8
[skip ci] Updated translations via Crowdin
2022-03-23 00:24:20 +00:00
GiteaBot
572c63d237
[skip ci] Updated translations via Crowdin
2022-03-21 00:24:03 +00:00
GiteaBot
83a2f79d5d
[skip ci] Updated licenses and gitignores
2022-03-20 00:24:18 +00:00
GiteaBot
cc6ff74253
[skip ci] Updated translations via Crowdin
2022-03-17 00:24:18 +00:00
GiteaBot
3ad6cf2069
[skip ci] Updated translations via Crowdin
2022-03-14 00:11:34 +00:00
GiteaBot
780cf76f6e
[skip ci] Updated licenses and gitignores
2022-03-13 00:11:52 +00:00
GiteaBot
a0c043f5c6
[skip ci] Updated translations via Crowdin
2022-03-12 00:11:48 +00:00
GiteaBot
7443213707
[skip ci] Updated translations via Crowdin
2022-03-10 00:11:57 +00:00
GiteaBot
98f54081d6
[skip ci] Updated translations via Crowdin
2022-03-07 00:11:49 +00:00
GiteaBot
3ba9dcf4b4
[skip ci] Updated licenses and gitignores
2022-02-27 00:16:04 +00:00
GiteaBot
2f2f11e45d
[skip ci] Updated translations via Crowdin
2022-02-25 00:16:08 +00:00
GiteaBot
15a4b1d42b
[skip ci] Updated translations via Crowdin
2022-02-21 00:15:46 +00:00
GiteaBot
d5a4c5530a
[skip ci] Updated licenses and gitignores
2022-02-20 00:16:03 +00:00
GiteaBot
833f291c40
[skip ci] Updated translations via Crowdin
2022-02-18 00:16:14 +00:00
GiteaBot
1eb6bb9028
[skip ci] Updated translations via Crowdin
2022-02-16 00:16:06 +00:00
GiteaBot
2be49dee71
[skip ci] Updated translations via Crowdin
2022-02-15 00:15:56 +00:00
GiteaBot
27af864cc2
[skip ci] Updated translations via Crowdin
2022-02-14 00:16:00 +00:00
GiteaBot
f1d8030310
[skip ci] Updated translations via Crowdin
2022-02-13 00:16:01 +00:00
GiteaBot
5aa4eeb180
[skip ci] Updated translations via Crowdin
2022-02-12 00:16:01 +00:00
GiteaBot
f9e7edc5d9
[skip ci] Updated translations via Crowdin
2022-02-11 00:16:26 +00:00
GiteaBot
e034d3a710
[skip ci] Updated translations via Crowdin
2022-02-10 00:16:23 +00:00
GiteaBot
4160aff86e
[skip ci] Updated translations via Crowdin
2022-02-09 00:16:04 +00:00
GiteaBot
8422b1c55c
[skip ci] Updated translations via Crowdin
2022-02-08 00:15:59 +00:00
GiteaBot
3b33507c73
[skip ci] Updated licenses and gitignores
2022-02-06 00:16:02 +00:00
GiteaBot
319d191afc
[skip ci] Updated translations via Crowdin
2022-02-04 00:16:04 +00:00
GiteaBot
5469e61a8e
[skip ci] Updated translations via Crowdin
2022-02-02 00:16:04 +00:00
GiteaBot
1de5028394
[skip ci] Updated translations via Crowdin
2022-02-01 00:16:43 +00:00
GiteaBot
db7c3ecc1f
[skip ci] Updated translations via Crowdin
2022-01-31 00:05:29 +00:00
GiteaBot
74dcdadf08
[skip ci] Updated licenses and gitignores
2022-01-30 00:28:19 +00:00
GiteaBot
726715fcfb
[skip ci] Updated translations via Crowdin
2022-01-29 00:28:21 +00:00
GiteaBot
668718c67e
[skip ci] Updated translations via Crowdin
2022-01-28 00:28:20 +00:00
GiteaBot
2649eddcf0
[skip ci] Updated translations via Crowdin
2022-01-27 00:28:24 +00:00
GiteaBot
4889ab52de
[skip ci] Updated translations via Crowdin
2022-01-26 00:28:46 +00:00
GiteaBot
8053b60b4f
[skip ci] Updated translations via Crowdin
2022-01-25 00:28:50 +00:00
GiteaBot
4bfd749fc5
[skip ci] Updated translations via Crowdin
2022-01-24 00:28:24 +00:00
GiteaBot
e040eca727
[skip ci] Updated translations via Crowdin
2022-01-23 00:28:40 +00:00
GiteaBot
f91092453e
[skip ci] Updated translations via Crowdin
2022-01-22 00:28:20 +00:00
GiteaBot
6c7084cbee
[skip ci] Updated translations via Crowdin
2022-01-21 00:30:19 +00:00
GiteaBot
b7c6457648
[skip ci] Updated translations via Crowdin
2022-01-19 21:28:43 +00:00
GiteaBot
c68f1281f6
[skip ci] Updated translations via Crowdin
2022-01-19 20:29:22 +00:00
GiteaBot
531b6d60e1
[skip ci] Updated translations via Crowdin
2022-01-19 18:28:18 +00:00
GiteaBot
eed8633fb0
[skip ci] Updated translations via Crowdin
2022-01-18 00:31:56 +00:00
GiteaBot
bd7680f450
[skip ci] Updated translations via Crowdin
2022-01-17 00:28:33 +00:00
GiteaBot
a15353dc00
[skip ci] Updated translations via Crowdin
2022-01-16 00:28:39 +00:00
GiteaBot
8808293247
[skip ci] Updated translations via Crowdin
2022-01-14 00:29:34 +00:00
GiteaBot
ed6757ecdc
[skip ci] Updated translations via Crowdin
2022-01-11 00:28:42 +00:00
GiteaBot
60b945565d
[skip ci] Updated translations via Crowdin
2022-01-10 00:28:05 +00:00
GiteaBot
de578bff8c
[skip ci] Updated licenses and gitignores
2022-01-09 00:28:45 +00:00
GiteaBot
69a4bd02f0
[skip ci] Updated translations via Crowdin
2022-01-08 00:28:35 +00:00
GiteaBot
ee60f27aec
[skip ci] Updated translations via Crowdin
2022-01-07 00:28:31 +00:00