Commit Graph

2478 Commits

Author SHA1 Message Date
yystopf 9d53ff793b fix:merge from wmh_develop 2021-08-19 18:02:04 +08:00
wonderful 3072fc7e4e fix:first wikies 2021-08-19 17:44:25 +08:00
wonderful b228c9f602 fix: 2021-08-19 14:38:07 +08:00
yystopf f13f296790 add: get first and last commit by path 2021-08-19 14:25:37 +08:00
wonderful 64ef5a1567 wikies 2021-08-18 18:53:11 +08:00
wonderful 89eb38f44c fix:wikit 2021-08-18 12:57:31 +08:00
wonderful 925a7b18cb fix:wiki 2021-08-18 08:11:25 +08:00
wonderful 6f2fdf1159 fix:wiki 2021-08-17 23:49:14 +08:00
wonderful 98122e3cb6 fix:wiki 2021-08-17 18:32:17 +08:00
wonderful fd02b7beb9 fix:wiki 2021-08-17 17:50:39 +08:00
wonderful 10e2b49064 fix:wikies 2021-08-17 14:45:45 +08:00
wonderful 554fd29ebb fix:wikies 2021-08-17 11:41:26 +08:00
wonderful e6c3986962 fix:wiki 2021-08-16 17:43:59 +08:00
wonderful ad679b575e fix:wiki 2021-08-16 16:12:20 +08:00
wonderful c2392616b5 fix:filename 2021-08-16 13:49:18 +08:00
wonderful 7e486f8038 fix:wiki content 2021-08-15 13:58:27 +08:00
wonderful 3e792b0c0f add:WContent 2021-08-13 17:39:58 +08:00
wonderful 6b34e16a7c fix:add htmlcontent 2021-08-13 17:14:18 +08:00
wonderful d3f8e67e57 fix:wikies 2021-08-13 13:57:02 +08:00
wonderful 2d5a3202bd fix: add wiki_clone_link 2021-08-12 18:18:16 +08:00
wonderful 7a98e1ad9a add wikies repository 2021-08-12 09:51:29 +08:00
wonderful 23f2dc9c23 fix modules/wikies/wiki.go /api/v1/repo/wiki.go 2021-08-09 14:38:48 +08:00
yystopf d9495f6822 fix: api use restful and back data example 2021-08-06 16:58:04 +08:00
wonderful ca7dad0ebc fix wiki.go api.go content.go 2021-08-05 17:35:03 +08:00
wonderful 757a3816f7 new wiki.go content.go, fix api.go 2021-08-05 16:53:03 +08:00
wonderful dbd0b2661e add wiki.go content.go fix, api.go repo.go 2021-08-05 16:35:04 +08:00
wonderful aa27fd6457 HookTasks list 2021-07-28 19:32:33 +08:00
wonderful ac62431593 HookTasks list 2021-07-28 18:42:39 +08:00
viletyy 6050736a0b fix: remove http_method to config 2021-07-27 18:19:07 +08:00
wonderful 9c568c2a59 fix: utils/hook webhook 2021-07-27 17:12:38 +08:00
viletyy 4674286786 fix: repo submodule is nil 2021-07-09 11:08:17 +08:00
vilet.yy 0792049f59 fix: change passwordcomplex default 2021-04-23 15:50:46 +08:00
hcxm 099b5d7015 C:/Program Files/Git/orgs 创建组织补全默认团队信息 2021-01-15 10:30:24 +08:00
hcxm da5cce281c 接口修复 [patch]/orgs/{org} on 2021/01/14 2021-01-14 14:43:13 +08:00
HCXM1121 aa66281840 2021-01-11 2021-01-11 16:05:29 +08:00
Gitea 7aa71468a3 Disable normal user login 2020-12-30 09:53:44 +08:00
Jasder 001c8df0be Merge remote-tracking branch 'upstream/master' 2020-08-03 15:13:48 +08:00
Jasder 1e82b5adb8 FIX merge upsteam master branch 2020-08-03 15:06:53 +08:00
zeripath bac65f1b82
Fix incorrect error logging in Stats indexer and OAuth2 (#12387)
* Fix incorrect logging in oauth2.go

Fix #11945

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Handle ErrAlreadyInQueue in stats indexer

Fix #12380

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Fixes type in error message of indexer

Add the missing character in the error message.

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lieven Hollevoet <hollie@lika.be>
2020-08-01 10:45:26 -04:00
6543 b3e06523c1
[Vendor] upgrade google/go-github to v32.1.0 (#12361)
* upgrate go-github client to v32.1.0

* migrate
2020-07-31 15:22:34 +01:00
S7evinK bf60146444
Don't use legacy method to send Matrix Webhook (#12348)
* Don't use legacy send for messages

* Add migrations to ensure Matrix webhooks use PUT

* Set HTTP method to PUT as default

* Fix sql condition..

Signed-off-by: Till Faelligen <tfaelligen@gmail.com>

* Rename getTxnID -> getMatrixTxnID

* Use local variable instead of constant value

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-07-30 18:04:19 -04:00
赵智超 1f12dc8e88
Add action feed for new release (#12324)
* Add action feed for new release

Signed-off-by: a1012112796 <1012112796@qq.com>

* fix lint

* Apply suggestions from code review

* Add ReleaseID to the action table
* Remove error message
* Fold the attachments download list

* remove attchment download list

* simplify code

* fix create release from existing tag

* simplify ui

* translation change

* fix test

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-07-29 15:20:54 -04:00
zeripath 2f6aadffa8
Git 2.28 no longer permits diff with ... on unrelated branches (#12364)
* Git 2.28 no longer permits diff with ... on unrelated branches

Signed-off-by: Andrew Thornton <art27@cantab.net>

* need to check stderr
2020-07-29 13:53:04 -04:00
zeripath 63e5bf6ef7
Only use --exclude on name-rev with git >= 2.13 (#12347)
Fix #11917

Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-07-28 15:11:05 +01:00
6543 8bdc9795d8
Add name filter to API for GetMilestoneList (#12336)
Adds a name filter to the API for GetMilestoneList

Includes a small refactor: merge GetMilestones and GetMilestonesByRepoID

Close #12260

Needed for https://gitea.com/gitea/go-sdk/issues/383 and https://gitea.com/gitea/tea/pulls/149
2020-07-28 12:30:40 +01:00
techknowlogick e6c9f19b8f
Use url.Parse to parse hostname (#12335) 2020-07-26 20:16:22 -04:00
Wim 4609eba2e7
Fix ipv6 parsing (#12321)
* Fix ipv6 parsing

* Update modules/setting/setting.go

Co-authored-by: 6543 <6543@obermui.de>

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-07-26 16:31:28 -04:00
mrsdizzie ea1ed802a3
Fix emoji detection in certain cases (#12320)
* Fix emoji detection certain cases

Previous tests weren't complicated enough so there were some situations where emojis were't detected properly. Find the earliest occurance in addition to checking for the longest combination.

Fixes #12312

* ok spell bot

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-07-25 16:40:04 +03:00
zeripath d25f44285a
Fix double-indirection bug in logging IDs (#12294)
This PR fixes a bug in log.NewColoredIDValue() which led to a double
indirection and incorrect IDs being printed out.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-07-23 12:26:45 +03:00
Stephen Solka 54513452a1
prefer NoError/Error over Nil/NotNil (#12271) 2020-07-19 12:53:40 +03:00