summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Changelog for v1.2.1 (#2716)v1.2.1Lauris BH2017-10-161-0/+8
|
* Fix PR, milestone and label functionality if issue unit is disabled (#2710) ↵Lauris BH2017-10-167-42/+74
| | | | | | | | | | | (#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 PR
* Fix plain readme didn't render correctly on repo home page (#2705) (#2712)Lunny Xiao2017-10-162-17/+12
| | | | | | | * fix plain readme didn't render correctly on repo home page * fix missing render * remove unused template variables
* Fix so that user can still fork his own repository to owned organizations ↵Lauris BH2017-10-158-27/+86
| | | | | | | | | (#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 organization
* fix .netrc authentication (#2700) (#2708)David Schneiderbauer2017-10-151-10/+24
| | | | | * provide both possible authentication solutions Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* Fix slice out of bounds error in mailer (#2479) (#2696)Lunny Xiao2017-10-131-1/+2
|
* Add release notes for v1.2.0 (#2683)v1.2.0Lunny Xiao2017-10-121-167/+161
| | | | | | * add release notes for v1.2.0 * improve release notes for v1.2.0
* Backport of migration fixes (#2604) (#2677)David Schneiderbauer2017-10-094-23/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* fix panic on gogs webhook creation (#2675) (#2676)David Schneiderbauer2017-10-091-2/+2
| | | | | | | | | * 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>
* Fixes 500 error on dashboard when using MSSQL (#2504) (#2662)Lauris BH2017-10-051-1/+1
| | | | | | | | | | | | | | 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.
* Fix go get response if only app URL is custom in configuration (#2634) (#2640)Lauris BH2017-10-032-1/+8
| | | | | * Fix go get response if only app URL is custom in configuration * Rewrite to update Domain setting to match AppURL
* Fix deletion of unprotected branches (#2630)David Schneiderbauer2017-10-024-12/+12
| | | | | | | | | | | | * fix deletion of unprotected branches * fmt fix * changed internal protected branch api * fix lint error Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* Backport of 2611 / Fix doubled issue tab introduced in migration v16 (#2622)David Schneiderbauer2017-10-012-0/+71
| | | | Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* v38 migration used an outdated version of RepoUnit model (#2602)David Schneiderbauer2017-09-252-18/+32
| | | | | | | | | | | | * 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>
* fix go get subpackage bug (#2584) (#2589)v1.2.0-rc3Lunny Xiao2017-09-232-32/+14
| | | | | * fix go get subpackage bug * merge the duplicated funtions
* add secrets for github release (#2588)Lunny Xiao2017-09-231-0/+1
|
* Add changelog for v1.2.0-rc4 (#2587)Lauris BH2017-09-231-0/+4
|
* Backport changes for latest drone (#2586)Lauris BH2017-09-231-46/+41
|
* Removing .drone.yml.sig (#2579)Jonas Franz2017-09-231-1/+0
| | | Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Fix drone for tags (#2573) (#2576)Lauris BH2017-09-221-3/+0
|
* Add changelog for v1.2.0-rc3 (#2563)Lauris BH2017-09-211-0/+9
|
* Sync releases table with tags on push and for mirrors (#2459) (#2554)Lauris BH2017-09-2110-118/+366
| | | | | | | | | | | | | | * 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 id
* Fix adding branch as protected to not allow pushing to it (#2556)Lauris BH2017-09-207-16/+34
| | | | | | | | * Fix adding branch as protected to not allow pushing to it * Fix can_push value to false in protected_branch (#2560) * Fix integration test
* Backport: Fix lint, fmt and integration testing errors (#2553)Ethan Koenig2017-09-2013-49/+12
| | | | | | | | | | * Fix lint errors * Fix fmt errors (#2544) * Hotfix for integration testing (#2473) * Hotfix for integration testing
* Remove go version check for make fmt (#2558) (#2561)Lauris BH2017-09-201-5/+2
|
* Restricting access to fork functioanlity to users with Code access (#2542)Jonas Franz2017-09-193-3/+74
| | | Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add changelog for release v1.2.0-rc2 (#2469)v1.2.0-rc2Lauris BH2017-09-061-0/+8
|
* Fix migration from pre-v15 to 1.2.0 (#2460) (#2465)Lauris BH2017-09-051-0/+1
|
* bug fixedLunny Xiao2017-09-041-1/+1
|
* Fix releases to be counted from database not tags (#2389) (#2424)Lauris BH2017-08-303-3/+11
|
* fix duplicated feed (#2370)Lunny Xiao2017-08-283-10/+1
|
* Set version to 1.2.0-devSandro Santilli2017-08-271-1/+1
| | | | 1.2.0-dev is less than 1.2.0, according to semver
* fix wrong changelog title (#2395)Lunny Xiao2017-08-251-1/+1
|
* add change log for release v1.2.0-rc1 (#2388)v1.2.0-rc1Lunny Xiao2017-08-251-4/+463
|
* Fix missing collabrative repos (#2367) (#2382)Lunny Xiao2017-08-253-42/+47
| | | | | | | * fix missing collabrative repos * fix bug of collabrative * fix SQL quotes
* Move 3rd party js/css into `public/vendor` and document sources (#2383)Michael Lustfield2017-08-251354-127/+793
| | | | | | | | | This commit cherry picks the following commits (master -> v1.2): a915a09 874f9be 233bbcf Ref: https://github.com/go-gitea/gitea/issues/1484 Signed-off-by: Michael Lustfield <michael@lustfield.net>
* update translation from crowdin (#2368) (#2380)Lunny Xiao2017-08-2423-172/+698
|
* Add more test for login links and fix a bug on action retrieve (#2361)Lunny Xiao2017-08-232-1/+98
| | | | * add more test for login links and fix a bug on action retrieve
* Add integration tests for signin (#2363)David Schneiderbauer2017-08-232-4/+71
| | | Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* Fix SQL condition bug in GetFeeds(..) (#2360)Ethan Koenig2017-08-231-4/+5
|
* fix bug on create repo link on dashboard (#2359)Lunny Xiao2017-08-231-1/+1
|
* Revert "Changes for latest DroneCI (#2355)" (#2358)Bo-Yi Wu2017-08-222-41/+27
| | | This reverts commit faf4b503b24d33a2a0f455d26bb782345ab8e0c9.
* Add collaborative repositories to the dashboard (#2205)Bwko2017-08-236-80/+71
| | | | | | | | | | * Add collaborative repositories to the dashboard Remove some unused code from the Dashboard func * fix some bug and some refactor * fix tests
* Changes for latest DroneCI (#2355)Thomas Boerger2017-08-222-27/+41
|
* Remove (almost) server side data rendering from repo-search component (#2317)Morlinest2017-08-222-44/+72
| | | | | | * Rename some shorthands * Remove (almost) server side data rendering from repo-search component template
* update latest xorm version to vendor (#2353)Lunny Xiao2017-08-2244-1401/+1735
|
* Add badge and link to the Matrix room (#2348)Silke2017-08-211-2/+3
|
* Improve swagger doc (#2274)Antoine GIRARD2017-08-2132-110/+1911
| | | | | | | | | | | | | | | | | | | | * Add swagger comment for adminCreateOrg * Add swagger comment for admin route * add hook swagger doc * Add tags * Add auth * Fix name of responses * Edit name method * Update vendor * make generate-swagger
* Add INTERNAL_TOKEN to integration .ini file (#2346)Sandro Santilli2017-08-211-0/+1
| | | | | | | Avoids override of source file upon running `make test-pgsql` Long story: settings.NewContext *adds* an INTERNAL_TOKEN if none is found; the other ini files under integration/ all have an INTERNAL_TOKEN
* Fix order of elements in dashboard html (#2344)Morlinest2017-08-201-2/+2
|