6543 and GitHub
cfd8e8a489
gitea dump: include version & Check InstallLock ( #12760 )
...
* gitea dump: include version
* Check InstallLock (close #12759 )
* fix test
* fix lint
2020-09-07 23:27:17 +01:00
6543 and GitHub
ad2bf376df
RepoInit Respect AlternateDefaultBranch ( #12746 )
2020-09-06 16:58:54 -04:00
6543 and GitHub
f7b3e06026
Fix Avatar Resize (resize algo NearestNeighbor -> Bilinear) ( #12745 )
...
* Update Vendor github.com/nfnt/resize
* switch resize algo NearestNeighbor -> Bilinear
2020-09-06 20:53:33 +01:00
3408fb73b6
Add better Swagger description and a example for GetArchive ( #12743 )
...
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-09-06 12:23:47 -04:00
0c6a802731
[Vendor] Update xanzy/go-gitlab v0.31.0 => v0.37.0 ( #12701 )
...
* update github.com/xanzy/go-gitlab v0.31.0 => v0.37.0
* vendor
* adapt changes
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-09-06 11:37:53 -04:00
1c35353c53
implemet Cache for Stopwatches.APIFormat() ( #12730 )
...
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-09-05 21:20:27 -04:00
f10d3ea803
[Vendor] Fix Version Compare Lib ( #12735 )
...
* switch to patched fork
* vendor
* reference upstream lib and use replace in go.mod
* reference upstream lib and use replace in go.mod
* Apply suggestions from code review
* vendor
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-09-05 20:44:34 -04:00
1ea1cade85
Add Created & Updated to Milestone ( #12662 )
...
* Add Created and Updated to Milestone table and expose via API
* Expose to UI - To Overloaded ?!?
* fix unit test
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-09-05 13:38:54 -04:00
bc11caff94
[Vendor] Switch go-version lib ( #12719 )
...
* vendor: switch from "mcuadros/go-version" to "hashicorp/go-version"
* Adapt P1
* simplify
* fix lint
* adapt
* fix lint & rm old code
* no deadlock
* rm RWMutex and check GoVersion only 1-time
* Copyright header
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-09-05 12:42:58 -04:00
6543 and GitHub
dba5d82f86
Expose Attachemnt Settings by API ( #12514 )
...
close #12368
2020-09-05 08:43:06 +01:00
2a52aeec49
API: Expose its limitation settings ( #12714 )
...
* API: Expose its limitation settings
* TESTs
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-09-04 14:10:15 -04:00
6543 and GitHub
fb603825f5
Test ignore migration rate limitation error ( #12715 )
2020-09-04 13:28:36 -04:00
ca81b6528b
UI: Inform user what meaning hourglass on reviews has ( #12713 )
...
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-09-04 12:36:37 -04:00
d7456106bf
fix go1.15 lint error in modules/public/public.go ( #12707 )
...
Co-authored-by: Lauris BH <lauris@nix.lv >
2020-09-04 16:15:54 +03:00
f083bd70df
Changelog for 1.12.4 release ( #12687 ) ( #12709 )
...
* Changelog for 1.12.4 release (#12687 )
Co-authored-by: zeripath <art27@cantab.net >
* update gitea version in docs
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: zeripath <art27@cantab.net >
2020-09-03 23:44:34 -04:00
6c5266c9ca
[BugFix] Fix comment broken issue ref dependence ( #12651 )
...
* deleteIssuesByRepoID: delete related CommentTypeRemoveDependency & CommentTypeAddDependency comments too
* Ignore ErrIssueNotExist on comment.LoadDepIssueDetails()
* Add migration
* Ignore 'dependent_issue_id = 0' case
* exchange as per @lunny
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-09-04 09:36:56 +08:00
ad4a644fb3
Migrations: Gitlab Add Reactions Support for Issues & MergeRequests ( #12695 )
...
* fix migrations: gitlab_test
* more stable test
* Get Reactions to Pulls
* Reactions for Issues
* Comments are still hard
Co-authored-by: Lauris BH <lauris@nix.lv >
2020-09-03 10:35:17 +03:00
84eac6ed6c
Add make targed generate-license & generate-gitignore + Update ( #12682 )
...
* Add make targed generate-license & generate-gitignore
* Update Gitignores & Licenses
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-09-02 12:57:08 -04:00
6543 and GitHub
3270e7a443
[Vendor] update go-swagger v0.21.0 -> v0.25.0 ( #12670 )
...
* Update go-swagger
* vendor
2020-09-01 10:01:23 -04:00
d5b6931dbe
[API] Delete Token accept names too ( #12366 )
...
* Delete Token accept names too
* better description
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: Lauris BH <lauris@nix.lv >
2020-08-28 11:09:33 +03:00
6543 and GitHub
4b97f9018b
OpenGraph: use repo avatar if exist ( #12586 )
2020-08-24 22:46:56 +03:00
6543 and GitHub
dcb543ac2a
Show 2FA info on Admin Pannel: Users List ( #12515 )
2020-08-20 09:53:49 +08:00
1984b6a11b
Milestone Issue/Pull List: Add octicons type ( #12499 )
...
* add octicons based on issue type (pull|issue)
* handle IsRead again
* short code
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-08-17 15:11:42 -04:00
6543 and GitHub
05b1af990e
add & correct Translation ( #12507 )
2020-08-17 11:58:23 -04:00
ee97e6a66a
Update gitea-vet to v0.2.1 ( #12282 )
...
* change to new code location
* vendor
* tagged version v0.2.0
* gitea-vet v0.2.1
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-08-15 13:13:07 -04:00
e266ba30cc
update ( #12481 )
...
Co-authored-by: zeripath <art27@cantab.net >
2020-08-13 11:57:08 -04:00
78d17b4b43
Make default StaticRootPath compile time settable ( #12371 )
...
Make it possible to compile the default location of StaticRootPath independent from AppWorkPath
Co-authored-by: Andrew Thornton <art27@cantab.net >
2020-08-08 15:02:22 +01:00
2872a04f27
UserProfile Page: Render Description ( #12415 )
...
* If Description contain more that one line render it
* simpler ...
* only render if description exists
* Fix NPE in tests
* Update routers/user/profile.go
Co-authored-by: zeripath <art27@cantab.net >
2020-08-05 15:48:37 +08:00
6543 and GitHub
7b260acd7b
Add TOTP header to Swagger Documentation ( #12402 )
2020-08-02 13:01:12 +01:00
6543 and GitHub
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
6543 and GitHub
1de19e0c76
Changelog v1.12.3 ( #12356 ) ( #12357 )
2020-07-28 16:54:08 -04:00
6543 and GitHub
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
7ecb25b41b
Refactor: Remove Dependencies from Migration v111 ( #11646 )
...
* Refactor: Remove Dependencys from Migration v111
* Update models/migrations/v111.go
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-07-26 17:34:30 -04:00
6543 and GitHub
2753d72773
Migrations (v82,v96,v99,v136) remove dependencies ( #12286 )
...
* remove dependencys
* add missing fields
* CI.restart()
2020-07-22 09:27:22 -05:00
3973a4609e
Frontport Changelog of v1.12.2 ( #12216 )
...
* Changelog for v1.12.2 (#12214 )
* Changelog for v1.12.2
* Update CHANGELOG.md
Co-authored-by: mrsdizzie <info@mrsdizzie.com >
* Update CHANGELOG.md
Co-authored-by: mrsdizzie <info@mrsdizzie.com >
* Update CHANGELOG.md
Co-authored-by: mrsdizzie <info@mrsdizzie.com >
* Update CHANGELOG.md
Co-authored-by: mrsdizzie <info@mrsdizzie.com >
* Update CHANGELOG.md
Co-authored-by: mrsdizzie <info@mrsdizzie.com >
* Update CHANGELOG.md
Co-authored-by: mrsdizzie <info@mrsdizzie.com >
* Update CHANGELOG.md
Co-authored-by: mrsdizzie <info@mrsdizzie.com >
* Update CHANGELOG.md
Co-authored-by: mrsdizzie <info@mrsdizzie.com >
Co-authored-by: mrsdizzie <info@mrsdizzie.com >
* update docs
Co-authored-by: Lauris BH <lauris@nix.lv >
Co-authored-by: mrsdizzie <info@mrsdizzie.com >
2020-07-11 16:28:23 -04:00
6543 and GitHub
16980d13ce
Default to showing closed Issues/PR list when there are only closed issues/PRs ( #12200 )
...
If all issues are closed, then set the default to show the closed issues.
2020-07-09 22:13:06 +01:00
6543 and GitHub
9ef2f62a79
Update Goldmark v1.1.25 -> v1.1.32 ( #12048 )
2020-06-25 10:43:18 +08:00
c86478ec47
[UI] Sortable Tables Header By Click ( #7980 )
...
* [UI] Sortable Tables Header By Click
* get rid of padding above header
* restart CI
* fix lint
* convert getArrow JS to SortArrow go func
* addopt SortArrow funct
* suggestions from @silverwind - tablesort.js
Co-authored-by: silverwind <me@silverwind.io >
* Update web_src/js/features/tablesort.js
Co-authored-by: silverwind <me@silverwind.io >
* Update web_src/js/features/tablesort.js
Co-authored-by: silverwind <me@silverwind.io >
Co-authored-by: silverwind <me@silverwind.io >
2020-06-24 23:23:05 +01:00
6543 and GitHub
fc2f2c7602
API: Move AllowedReactions endpoint into GetGenneralUI endpoint + creat new swagger section settings ( #11854 )
...
* move Setting function into its own package
* swagger add&use new section "settings"
* move api AllowedReactions into general UI-Settings endpoint
* prepare TEST
* lint
2020-06-22 14:21:31 -04:00
6543 and GitHub
5fcd18a2c4
Changelog v1.12.0 ( #11927 ) ( #11957 )
2020-06-18 12:11:13 -04:00
6543 and GitHub
c376a8addc
Changelog v1.11.7 ( #11953 ) ( #11956 )
...
* Changelog v1.11.7
* Update CHANGELOG.md
2020-06-18 11:45:56 -04:00
6543 and GitHub
262fce6db4
Update CommitsAhead CommitsBehind on Pull BaseBranch Change too ( #11912 )
2020-06-16 12:52:33 -05:00
f399cd326b
UI: Fix wrong closing tag ( #11910 )
...
* rm wrong closing tag
* Update templates/repo/sub_menu.tmpl
Co-authored-by: John Olheiser <john.olheiser@gmail.com >
Co-authored-by: John Olheiser <john.olheiser@gmail.com >
2020-06-16 11:27:20 -04:00
68a2af6d68
API expose usefull General Repo settings settings ( #11758 )
...
* GeneralRepoSettings expose MirrorsDisabled, HTTPGitDisabled, MaxCreationLimit
* Apply suggestions from code review
Co-authored-by: proton <25139420+proton-ab@users.noreply.github.com >
* lint
Co-authored-by: proton <25139420+proton-ab@users.noreply.github.com >
2020-06-10 15:05:46 +03:00
1ac46186ff
API allow to create closed milestones ( #11745 )
...
* API allow to create closed milestones
* set CloseDate too
Co-authored-by: Lauris BH <lauris@nix.lv >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2020-06-09 18:01:36 -04:00
6543 and GitHub
363e51d19c
Refactor: Remove Dependencys from Migration v112-v119 ( #11811 )
...
* v119
* v116
* v112
2020-06-09 16:34:05 -04:00
6543 and GitHub
5734524378
give gitea time to calculate language stats ( #11812 )
2020-06-08 20:15:45 -04:00
6543 and GitHub
5814079bf5
Add option to API to update PullRequest base branch ( #11666 )
...
* EditPull: add option to change base
Close #11552
2020-06-07 20:13:40 +01:00
6543 and GitHub
479ef5c379
In File Create/Update API return 404 if Branch does not exist ( #11791 )
2020-06-07 18:30:58 +01:00
6543 and GitHub
2c5b3c72e8
Fix bug with globally disabling mirror ( #11760 )
...
Ensure we return after `ctx.Error(...)`
2020-06-04 19:06:24 +01:00
0cb22121f4
API: Return error when Mirrors globaly disabled and like to create one ( #11757 )
...
* API: return an error when Mirrors globaly disabled
* keep it consistent with UI
Co-authored-by: John Olheiser <john.olheiser@gmail.com >
Co-authored-by: John Olheiser <john.olheiser@gmail.com >
2020-06-04 12:11:28 -04:00
b534a5164f
[API] Expose allowed Reactions ( #11735 )
...
* [API] Expose allowed Reactions
* dont be in soutch a rush
* add TEST
* use ElementsMatch
Co-authored-by: Lauris BH <lauris@nix.lv >
2020-06-04 12:16:53 +03:00
6543 and GitHub
ce7510a80f
[API] on 500 error only show message if gitea in dev mode ( #11641 )
...
* add API specific InternalServerError()
* return 500 error msg only if not Production mode
* rm unnessesary change
2020-06-03 14:17:54 -04:00
6543 and GitHub
dc812f8ba5
Issue/Pull expose IsLocked Property on API ( #11708 )
...
Expose IsLocked Property
2020-06-01 22:01:55 +01:00
6543 and GitHub
b636cd6fd4
Handle expected errors in FileCreate & FileUpdate API ( #11643 )
...
as title
needed for #11641
2020-05-31 21:59:34 +01:00
726e1e5279
Doctor check & fix db consistency ( #11111 )
...
needed to fix issue as described in #10280
* rename check-db to check-db-version
* add check-db-consistency:
* find issues without existing repository
* find pulls without existing issues
* find tracked times without existing issues/pulls
* find labels without repository or org reference
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2020-05-29 14:24:15 +01:00
6543 and GitHub
560744fb33
Handle expected errors in AddGPGkey API ( #11644 )
...
* handle GPG Parse & Email Errors
* correct TEST
* update Swagger
* more Docu
2020-05-28 17:25:54 -04:00
9f55769804
Return json on 500 error from API ( #11574 )
...
* add API specific InternalServerError()
Co-authored-by: zeripath <art27@cantab.net >
* return 500 error msg only if not Production mode
* Revert "return 500 error msg only if not Production mode"
This reverts commit 8467b2cee6 .
* InternalServerError
Co-authored-by: zeripath <art27@cantab.net >
2020-05-28 13:58:11 -03:00
6543 and GitHub
9a829b98f0
Fix "Unknown task: git_fsck" error on admin dashboard ( #11468 )
2020-05-17 23:14:33 +01:00
7d9946f989
Docs: add AlpineLinux packages ( #11446 )
...
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Lauris BH <lauris@nix.lv >
2020-05-17 14:09:56 +03:00
6543 and GitHub
84bcb3451a
Check Push permissions on IsUserAllowedToUpdate ( #11448 )
2020-05-16 20:48:30 -04:00
6543 and GitHub
7257c39ddf
Refactor Milestone related ( #11225 )
2020-05-12 22:54:35 +01:00
6543 and GitHub
6e23a1b843
[Vendor] mssqldb: 2019-11-28 -> 2020-04-28 ( #11364 )
...
update go-mssqldb 2019-11-28 (1d7a30a10f73) -> 2020-04-28 (06a60b6afbbc)
2020-05-10 18:42:52 +01:00
6543 and GitHub
43bb85908d
Update github.com/pquerna/otp from untagged to v1.2.0 ( #11358 )
2020-05-10 15:50:16 +03:00
57b6f83191
Update github.com/issue9/identicon from untagged to v1.0.1 ( #11359 )
...
Co-authored-by: zeripath <art27@cantab.net >
2020-05-10 06:23:17 -04:00
6543 and GitHub
dbb74978f7
github.com/yohcop/openid-go update to first tagged version ( #11357 )
2020-05-10 09:53:04 +01:00
fdf750e4d4
[Vendor] blevesearch v0.8.1 -> v1.0.7 ( #11360 )
...
* Update blevesearch v0.8.1 -> v1.0.7
* make vendor
Co-authored-by: zeripath <art27@cantab.net >
2020-05-10 06:40:54 +01:00
18f4aaee64
Frontport Changelog for v1.11.5 ( #11356 )
...
* Changelog v1.11.5 (#11329 )
* Changelog v1.11.5
* Apply suggestions from code review
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com >
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com >
* Update Changelog for 1.11.5 (#11347 )
* Update Changelog for 1.11.5
* bumb version in docs
* Update CHANGELOG.md
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: zeripath <art27@cantab.net >
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com >
2020-05-09 16:24:46 -04:00
6543 and GitHub
cd4f7ba5bf
Fix tracked time issues ( #11349 )
...
* Fix nil exeption: #11313
* fix 500
* activate test 😆
* move logic
2020-05-09 11:18:44 -03:00
6543 and GitHub
486e4c8087
When deleting a tracked time through the API return 404 not 500 ( #11319 )
2020-05-07 18:54:33 +01:00
507d0ec57a
Prevent multiple listings of organization when creating a repository ( #11303 )
...
prevent double entries in results of GetOrgsCanCreateRepoByUserID
I first try to only add GroupBy directly but xorm return broken user objects ...
... solution was to just query related UserIDs(OrgIDs) first and return OrgUsers based on this IDs
close #11258
Co-authored-by: zeripath <art27@cantab.net >
2020-05-07 14:24:59 +01:00
505e456f26
Protect default branch against deletion ( #11115 )
...
Although default branch is not offered for deletion in the templates, we need to prevent it both at the router level and in the pre-receive hook.
Co-authored-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: Lauris BH <lauris@nix.lv >
2020-05-06 12:08:45 +01:00
6543 and GitHub
a1f11a05e9
Load Repo Topics on blame view ( #11307 )
...
Fix #11280
2020-05-05 22:51:49 +01:00
c97494a4f4
API: Add pull review endpoints ( #11224 )
...
* API: Added pull review read only endpoints
* Update Structs, move Conversion, Refactor
* refactor
* lint & co
* fix lint + refactor
* add new Review state, rm unessesary, refacotr loadAttributes, convert patch to diff
* add DeletePullReview
* add paggination
* draft1: Create & submit review
* fix lint
* fix lint
* impruve test
* DONT use GhostUser for loadReviewer
* expose comments_count of a PullReview
* infent GetCodeCommentsCount()
* fixes
* fix+impruve
* some nits
* Handle Ghosts 👻
* add TEST for GET apis
* complete TESTS
* add HTMLURL to PullReview responce
* code format as per @lafriks
* update swagger definition
* Update routers/api/v1/repo/pull_review.go
Co-authored-by: David Svantesson <davidsvantesson@gmail.com >
* add comments
Co-authored-by: Thomas Berger <loki@lokis-chaos.de >
Co-authored-by: David Svantesson <davidsvantesson@gmail.com >
2020-05-02 03:20:51 +03:00
6543 and GitHub
e9e8638f18
Return issue subscription status from API subscribe ( #10966 )
...
* [API] issue subscription indicate by http status
* CI.restart()
2020-04-30 23:55:24 +01:00
6543 and GitHub
ab69b9b1a6
Refactor UpdateOAuth2Application ( #11034 )
...
Following on from #11008 refactor UpdateOAuth2Application
2020-04-30 18:50:47 +01:00
6543 and GitHub
bfda0f3864
[API] ListIssues add filter for milestones ( #10148 )
...
* Refactor Issue Filter Func
* ListIssues add filter for milestones
* as per @lafriks
* documentation ...
2020-04-30 01:15:39 -03:00
6543 and GitHub
6b6f20b6d4
BugFix: updateLabel can updated not allowed fields #11242 ( #11242 )
2020-04-28 19:28:56 -04:00
6543 and GitHub
41cebeb8fa
Make error pages translatable ( #11163 )
...
* make error pages translatable
* dont translate ":"
* link need Safe
2020-04-27 18:03:15 -05:00
6543 and GitHub
4ddfe0d07a
Fix GetContents(): Dont't ignore Executables ( #11192 )
...
* Refactor: dont expose help functions
* repofiles GetContents: dont ignore executables
* CI.restart()
2020-04-24 19:20:22 +03:00
6543 and GitHub
49f8b20570
make pagination optional for notifications ( #10714 )
2020-04-21 22:21:46 +01:00
6543 and GitHub
bb4261a5ed
Add issue subscription check to API ( #10967 )
...
close #10962
Adds `GET /api/v1/repos/{owner}/{repo}/issues/{index}/subscriptions/check`
-> return a `WachInfo`
2020-04-21 14:48:53 +01:00
6543 and GitHub
b9ed8d8497
make branch parameter optional for /api/v1/repos/{owner}/{repo}/contents/{filepath} ( #11067 )
2020-04-20 17:47:05 +01:00
5bfb9bc2b6
When migrating from Gitlab map Approvals to approving Reviews ( #11147 )
...
When migrating from Gitlab map Gitlab Approvals to approving Reviews
Co-Authored-By: zeripath <art27@cantab.net >
2020-04-20 13:30:46 +01:00
6543 and GitHub
77171abcad
Prevent xorm nil insert in Review.Comments ( #11150 )
2020-04-20 04:04:08 +01:00
6543 and GitHub
e37e217602
[Fix] RetryDownloader (add GetReviews()) ( #11093 )
...
* add GetReviews() to RetryDownloader
2020-04-20 03:23:28 +01:00
6543 and GitHub
82dbb34c9c
Vendor Update: go-gitlab v0.22.1 -> v0.31.0 ( #11136 )
...
* vendor update: go-gitlab to v0.31.0
* migrate client init to v0.31.0
* refactor
2020-04-19 21:23:05 +01:00
6543 and GitHub
3c5a4d094a
[API] Add branch delete ( #11112 )
...
* use same process as in routers/repo/branch.go/deleteBranch
* make sure default branch can not be deleted
* remove IsDefaultBranch from UI process - it is worth its own pull
* permissions
2020-04-19 10:38:09 +08:00
6543 and GitHub
4be7cf0405
On Repo Deletion: Delete related TrackedTimes too ( #11110 )
2020-04-18 22:39:23 +01:00
12960b9d18
[BugFix] remove nil inserts in models ( #11096 )
...
* Fix InsertReleases Nil Insert on Attachments
* FIX "No element on slice when insert" & smal refactor
* again
* impruve
* rm useles newline
* Apply suggestions from code review
Co-Authored-By: zeripath <art27@cantab.net >
* process insert as a whole
Co-authored-by: zeripath <art27@cantab.net >
2020-04-17 20:42:57 +03:00
c52d48aae4
Prevent merge of outdated PRs on protected branches ( #11012 )
...
* Block PR on Outdated Branch
* finalize
* cleanup
* fix typo and sentences
thanks @guillep2k
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com >
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com >
Co-authored-by: Lauris BH <lauris@nix.lv >
2020-04-16 22:00:36 -03:00
6543 and GitHub
a4cab2bbfa
[BugFix] ReviewCount: GetApprovalCounts func sorted wrong ( #11086 )
...
* FIX by simplify
* code reformat and optimize
2020-04-16 13:44:34 +03:00
6543 and GitHub
a88f3663eb
Fix merge dialog on protected branch with missing required statuses ( #11074 )
...
It is possible for misconfigured protected branches to have required status checks that are not in any of the current statuses: Pending, Success, Error, Failure, or Warning - presumably because the CI has not contacted us as yet.
Fix #10636 by adding case: missing StatusChecks when these are missing
2020-04-15 21:35:18 +01:00
6543 and GitHub
70fab7e26a
document 404 responce and meaning ( #11073 )
2020-04-15 16:03:05 +03:00
6543 and GitHub
d66b9a4690
Fix Migration 136 (be less aggressive to open pulls missing git files) ( #11072 )
...
* be less aggressife to open pulls when migrating
* remove unused
2020-04-14 17:16:07 -05:00
6543 and GitHub
f7ecc2bee7
fix ( #11066 )
2020-04-14 19:29:31 +03:00
6543 and GitHub
10e2f29144
Cache PullRequest Divergence ( #10914 )
...
* Cache PullRequest Divergence
* only re-calc divergence if AddTestPullRequestTask() is exec
* migrate already open pulls
* finalize
* take care of closed¬-merged+deleted-branch pull requests
* fix nil pointer exeption
Signed-off-by: 6543 <6543@obermui.de >
* try this
* no error its a warn
* init gitea-repositories-meta
* dont use gitDivergence type
* CI.restart()
* CI.restart()
* CI.restart()
* CI.restart()
* check IsUserAllowedToUpdate independend from CommitsBehind
2020-04-14 09:53:34 -04:00
ad5c43ae5d
Reject duplicate AccessToken names ( #10994 )
...
* make sure duplicate token names cannot be used
* add check to api routes too
* add @lunny s suggestion
* fix & don't forget User.ID
* AccessTokenByNameExists() return error too
* unique token for each test
* fix lint
Signed-off-by: 6543 <6543@obermui.de >
Co-authored-by: Lanre Adelowo <yo@lanre.wtf >
2020-04-13 22:02:48 +03:00
6543 and GitHub
0dadea19bc
[Api] Check Notify (always return json) ( #10059 )
...
* BEAKING: check return status based on struct not httpStatus
* update Tests
* CI.restart()
2020-04-10 19:49:39 -04:00
6543 and GitHub
bc362ea3c6
remove package code.gitea.io/gitea/modules/git import out of models ( #11025 )
2020-04-10 14:26:37 +03:00