Lauris BH
13013e90f3
Fix 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 PR
2017-10-16 16:59:01 +03:00
Lunny Xiao
785ba171f4
Fix 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 variables
2017-10-16 03:30:11 -05:00
Lauris BH
fb80265b52
Fix 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 organization
2017-10-15 19:40:33 +03:00
David Schneiderbauer
6fae585d28
fix .netrc authentication ( #2700 ) ( #2708 )
...
* provide both possible authentication solutions
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
2017-10-15 18:50:28 +03:00
Lunny Xiao
670562a9c5
Fix slice out of bounds error in mailer ( #2479 ) ( #2696 )
2017-10-13 22:59:03 +03:00
Lunny Xiao
ed07d8a308
Add release notes for v1.2.0 ( #2683 )
...
* add release notes for v1.2.0
* improve release notes for v1.2.0
2017-10-12 14:13:12 +08:00
David Schneiderbauer
74399f333f
Backport 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>
2017-10-09 16:08:22 +03:00
David Schneiderbauer
d1cec5ecfa
fix 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>
2017-10-09 08:58:49 +08:00
Lauris BH
73ad7d2ef3
Fixes 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.
2017-10-05 21:08:40 +03:00
Lauris BH
5b36379172
Fix 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 AppURL
2017-10-03 06:29:19 +03:00
David Schneiderbauer
e38e502e20
Fix 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>
2017-10-02 23:23:41 +03:00
David Schneiderbauer
3cc5b11b0d
Backport of 2611 / Fix doubled issue tab introduced in migration v16 ( #2622 )
...
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
2017-10-01 09:18:49 +03:00
David Schneiderbauer
4c9bf91a2c
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
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
2017-09-25 19:53:55 +03:00
Lunny Xiao
03ff7687e0
fix go get subpackage bug ( #2584 ) ( #2589 )
...
* fix go get subpackage bug
* merge the duplicated funtions
2017-09-23 16:58:17 +03:00
Lunny Xiao
f646154ead
add secrets for github release ( #2588 )
2017-09-23 20:17:51 +08:00
Lauris BH
a6d2f47a2b
Add changelog for v1.2.0-rc4 ( #2587 )
2017-09-23 13:50:35 +03:00
Lauris BH
1837194882
Backport changes for latest drone ( #2586 )
2017-09-23 17:33:52 +08:00
Jonas Franz
9ca26432f6
Removing .drone.yml.sig ( #2579 )
...
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2017-09-23 09:17:32 +08:00
Lauris BH
67595c0d0b
Fix drone for tags ( #2573 ) ( #2576 )
2017-09-22 20:00:52 +03:00
Lauris BH
6d03cf831e
Add changelog for v1.2.0-rc3 ( #2563 )
2017-09-21 10:00:37 +03:00
Lauris BH
e232c49b10
Sync 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 id
2017-09-21 01:08:22 +03:00
Lauris BH
25e71ad41e
Fix 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
2017-09-20 20:14:09 +03:00
Ethan Koenig
f014e42a06
Backport: Fix lint, fmt and integration testing errors ( #2553 )
...
* Fix lint errors
* Fix fmt errors (#2544 )
* Hotfix for integration testing (#2473 )
* Hotfix for integration testing
2017-09-20 19:30:20 +03:00
Lauris BH
d14a724b53
Remove go version check for make fmt ( #2558 ) ( #2561 )
2017-09-20 20:42:08 +08:00
Jonas Franz
91788e0200
Restricting access to fork functioanlity to users with Code access ( #2542 )
...
Signed-off-by: Jonas Franz <info@jonasfranz.software>
2017-09-19 01:12:29 +02:00
Lauris BH
fc0c6f48c7
Add changelog for release v1.2.0-rc2 ( #2469 )
2017-09-06 14:05:35 +03:00
Lauris BH
002fa73460
Fix migration from pre-v15 to 1.2.0 ( #2460 ) ( #2465 )
2017-09-05 21:03:30 +08:00
Lunny Xiao
2fdc649202
bug fixed
2017-09-04 14:28:50 +08:00
Lauris BH
0c910afe11
Fix releases to be counted from database not tags ( #2389 ) ( #2424 )
2017-08-30 09:31:32 +08:00
Lunny Xiao
1cbe502cc2
fix duplicated feed ( #2370 )
2017-08-28 19:16:25 +02:00
Sandro Santilli
f916aa0fe3
Set version to 1.2.0-dev
...
1.2.0-dev is less than 1.2.0, according to semver
2017-08-27 23:02:48 +02:00
Lunny Xiao
04728b5b91
fix wrong changelog title ( #2395 )
2017-08-25 22:34:50 +08:00
Lunny Xiao
bbb0b8c17c
add change log for release v1.2.0-rc1 ( #2388 )
2017-08-25 16:54:41 +08:00
Lunny Xiao
0938a2dca3
Fix missing collabrative repos ( #2367 ) ( #2382 )
...
* fix missing collabrative repos
* fix bug of collabrative
* fix SQL quotes
2017-08-25 10:25:37 +08:00
Michael Lustfield
9df0eafa25
Move 3rd party js/css into public/vendor
and document sources ( #2383 )
...
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>
2017-08-25 10:01:17 +08:00
Lunny Xiao
e13eef8cfe
update translation from crowdin ( #2368 ) ( #2380 )
2017-08-24 21:57:17 +08:00
Lunny Xiao
64b7068846
Add more test for login links and fix a bug on action retrieve ( #2361 )
...
* add more test for login links and fix a bug on action retrieve
2017-08-23 12:53:35 +03:00
David Schneiderbauer
8aadf79f80
Add integration tests for signin ( #2363 )
...
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
2017-08-23 10:30:33 +03:00
Ethan Koenig
fd6e91077a
Fix SQL condition bug in GetFeeds(..) ( #2360 )
2017-08-23 08:51:58 +03:00
Lunny Xiao
9413b48a0b
fix bug on create repo link on dashboard ( #2359 )
2017-08-23 12:08:20 +08:00
Bo-Yi Wu
be4f6a754c
Revert "Changes for latest DroneCI ( #2355 )" ( #2358 )
...
This reverts commit faf4b503b2
.
2017-08-22 20:56:57 -05:00
Bwko
1a5fe4326f
Add collaborative repositories to the dashboard ( #2205 )
...
* Add collaborative repositories to the dashboard
Remove some unused code from the Dashboard func
* fix some bug and some refactor
* fix tests
2017-08-23 09:30:54 +08:00
Thomas Boerger
faf4b503b2
Changes for latest DroneCI ( #2355 )
2017-08-22 20:08:30 -05:00
Morlinest
7455604f0c
Remove (almost) server side data rendering from repo-search component ( #2317 )
...
* Rename some shorthands
* Remove (almost) server side data rendering from repo-search component template
2017-08-22 21:00:34 +08:00
Lunny Xiao
2c6a0fdca8
update latest xorm version to vendor ( #2353 )
2017-08-22 14:39:52 +03:00
Silke
5c29b0a5fe
Add badge and link to the Matrix room ( #2348 )
2017-08-21 23:35:08 +08:00
Antoine GIRARD
fd8e8a421a
Improve swagger doc ( #2274 )
...
* 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
2017-08-21 14:13:47 +03:00
Sandro Santilli
951c909a67
Add INTERNAL_TOKEN to integration .ini file ( #2346 )
...
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
2017-08-21 14:47:23 +08:00
Morlinest
53e6c947f1
Fix order of elements in dashboard html ( #2344 )
2017-08-20 22:48:41 +03:00
Sandro Santilli
100ec93a65
Remove integration test executables on make clean
( #2340 )
2017-08-20 11:09:24 +08:00