13013e90Fix PR, milestone and label functionality if issue unit is disabled (#2710) (#2714)
* Fix PR, milestone and label functionality if issue unit is disabled or not assigned to user
* Fix multi-actions in PR page
* Change error message
* Fix comment update and delete functionality in PRLauris BH
authored at
GitHub
comitted at
785ba171Fix plain readme didn't render correctly on repo home page (#2705) (#2712)
* fix plain readme didn't render correctly on repo home page
* fix missing render
* remove unused template variablesLunny Xiao
authored at
Bo-Yi Wu
comitted at
fb80265bFix so that user can still fork his own repository to owned organizations (#2699) (#2707)
* Fix so that user can still fork his own repository to his organizations
* Fix to only use owned organizations
* Add integration test for forking own repository to owned organizationLauris BH
authored at
GitHub
comitted at
6fae585dfix .netrc authentication (#2700) (#2708)
* provide both possible authentication solutions
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>David Schneiderbauer
authored at
Lauris BH
comitted at
670562a9Fix slice out of bounds error in mailer (#2479) (#2696)
Lunny Xiao
authored at
Lauris BH
comitted at
ed07d8a3Add release notes for v1.2.0 (#2683)
* add release notes for v1.2.0
* improve release notes for v1.2.0
Lunny Xiao
authored at
GitHub
comitted at
74399f33Backport of migration fixes (#2604) (#2677)
* Rewrite migrations to not depend on future code changes (#2604)
* v38 migration used an outdated version of RepoUnit model (#2602)
* change repoUnit model in migration
* fix v16 migration repo_unit table
* fix lint error
* move type definition inside function
* Fix migration from Gogs
* Refactor code
* add error check
* Additiomal fixes for migrations
* Add back nil check
* replace deprecated .Id with .ID
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* change string map to interface map
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
David Schneiderbauer
authored at
Lauris BH
comitted at
d1cec5ecfix panic on gogs webhook creation (#2675) (#2676)
* fix panic on gogs webhook creation
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* fix panic in gogs webhook edit
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>David Schneiderbauer
authored at
Lunny Xiao
comitted at
73ad7d2eFixes 500 error on dashboard when using MSSQL (#2504) (#2662)
MSSQL rejects the query:
SELECT "repository"."id" FROM "repository"
INNER JOIN "team_repo" ON "team_repo".repo_id="repository".id AND
"repository".is_mirror=1
WHERE (
("repository".owner_id=2 AND "repository".is_private=0)
OR team_repo.team_id IN (1)
)
GROUP BY "repository".id ORDER BY updated_unix DESC
when the order by term (updated_unix) is not included in the group by
term.Lauris BH
authored at
GitHub
comitted at
5b363791Fix go get response if only app URL is custom in configuration (#2634) (#2640)
* Fix go get response if only app URL is custom in configuration
* Rewrite to update Domain setting to match AppURLLauris BH
authored at
GitHub
comitted at
e38e502eFix deletion of unprotected branches (#2630)
* fix deletion of unprotected branches
* fmt fix
* changed internal protected branch api
* fix lint error
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
David Schneiderbauer
authored at
Lauris BH
comitted at
3cc5b11bBackport of 2611 / Fix doubled issue tab introduced in migration v16 (#2622)
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
David Schneiderbauer
authored at
Lauris BH
comitted at
4c9bf91av38 migration used an outdated version of RepoUnit model (#2602)
* change repoUnit model in migration
* fix v16 migration repo_unit table
* fix lint error
* move type definition inside function
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
David Schneiderbauer
authored at
Lauris BH
comitted at
03ff7687fix go get subpackage bug (#2584) (#2589)
* fix go get subpackage bug
* merge the duplicated funtionsLunny Xiao
authored at
Lauris BH
comitted at
e232c49bSync releases table with tags on push and for mirrors (#2459) (#2554)
* Sync releases table with tags on push and for mirrors
* Code style fixes
* Fix api to return only releases
* Optimize release creation and update
Minimize posibility of race conditions
* Fix release lower tag name updating
* handle tag reference update by addionally comparing commit idLauris BH
authored at
GitHub
comitted at
25e71ad4Fix adding branch as protected to not allow pushing to it (#2556)
* Fix adding branch as protected to not allow pushing to it
* Fix can_push value to false in protected_branch (#2560)
* Fix integration test
Lauris BH
authored at
GitHub
comitted at
f014e42aBackport: Fix lint, fmt and integration testing errors (#2553)
* Fix lint errors
* Fix fmt errors (#2544)
* Hotfix for integration testing (#2473)
* Hotfix for integration testing
Ethan Koenig
authored at
Lauris BH
comitted at
91788e02Restricting access to fork functioanlity to users with Code access (#2542)
Signed-off-by: Jonas Franz <info@jonasfranz.software>Jonas Franz
authored at
Kim "BKC" Carlbäcker
comitted at
fc0c6f48Add changelog for release v1.2.0-rc2 (#2469)
Lauris BH
authored at
GitHub
comitted at