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
8 years ago
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
8 years ago
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
8 years ago
David Schneiderbauer
6fae585d28
fix .netrc authentication ( #2700 ) ( #2708 )
...
* provide both possible authentication solutions
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
8 years ago
Lunny Xiao
670562a9c5
Fix slice out of bounds error in mailer ( #2479 ) ( #2696 )
8 years ago
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
8 years ago
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>
8 years ago
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>
8 years ago
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.
8 years ago
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
8 years ago
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>
8 years ago
David Schneiderbauer
3cc5b11b0d
Backport of 2611 / Fix doubled issue tab introduced in migration v16 ( #2622 )
...
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
8 years ago
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>
8 years ago
Lunny Xiao
03ff7687e0
fix go get subpackage bug ( #2584 ) ( #2589 )
...
* fix go get subpackage bug
* merge the duplicated funtions
8 years ago
Lunny Xiao
f646154ead
add secrets for github release ( #2588 )
8 years ago
Lauris BH
a6d2f47a2b
Add changelog for v1.2.0-rc4 ( #2587 )
8 years ago
Lauris BH
1837194882
Backport changes for latest drone ( #2586 )
8 years ago
Jonas Franz
9ca26432f6
Removing .drone.yml.sig ( #2579 )
...
Signed-off-by: Jonas Franz <info@jonasfranz.software>
8 years ago
Lauris BH
67595c0d0b
Fix drone for tags ( #2573 ) ( #2576 )
8 years ago
Lauris BH
6d03cf831e
Add changelog for v1.2.0-rc3 ( #2563 )
8 years ago
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
8 years ago
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
8 years ago
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
8 years ago
Lauris BH
d14a724b53
Remove go version check for make fmt ( #2558 ) ( #2561 )
8 years ago
Jonas Franz
91788e0200
Restricting access to fork functioanlity to users with Code access ( #2542 )
...
Signed-off-by: Jonas Franz <info@jonasfranz.software>
8 years ago
Lauris BH
fc0c6f48c7
Add changelog for release v1.2.0-rc2 ( #2469 )
8 years ago
Lauris BH
002fa73460
Fix migration from pre-v15 to 1.2.0 ( #2460 ) ( #2465 )
8 years ago
Lunny Xiao
2fdc649202
bug fixed
8 years ago
Lauris BH
0c910afe11
Fix releases to be counted from database not tags ( #2389 ) ( #2424 )
8 years ago
Lunny Xiao
1cbe502cc2
fix duplicated feed ( #2370 )
8 years ago
Sandro Santilli
f916aa0fe3
Set version to 1.2.0-dev
...
1.2.0-dev is less than 1.2.0, according to semver
8 years ago
Lunny Xiao
04728b5b91
fix wrong changelog title ( #2395 )
8 years ago
Lunny Xiao
bbb0b8c17c
add change log for release v1.2.0-rc1 ( #2388 )
8 years ago
Lunny Xiao
0938a2dca3
Fix missing collabrative repos ( #2367 ) ( #2382 )
...
* fix missing collabrative repos
* fix bug of collabrative
* fix SQL quotes
8 years ago
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>
8 years ago
Lunny Xiao
e13eef8cfe
update translation from crowdin ( #2368 ) ( #2380 )
8 years ago
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
8 years ago
David Schneiderbauer
8aadf79f80
Add integration tests for signin ( #2363 )
...
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
8 years ago
Ethan Koenig
fd6e91077a
Fix SQL condition bug in GetFeeds(..) ( #2360 )
8 years ago
Lunny Xiao
9413b48a0b
fix bug on create repo link on dashboard ( #2359 )
8 years ago
Bo-Yi Wu
be4f6a754c
Revert "Changes for latest DroneCI ( #2355 )" ( #2358 )
...
This reverts commit faf4b503b2
.
8 years ago
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
8 years ago
Thomas Boerger
faf4b503b2
Changes for latest DroneCI ( #2355 )
8 years ago
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
8 years ago
Lunny Xiao
2c6a0fdca8
update latest xorm version to vendor ( #2353 )
8 years ago
Silke
5c29b0a5fe
Add badge and link to the Matrix room ( #2348 )
8 years ago
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
8 years ago
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
8 years ago
Morlinest
53e6c947f1
Fix order of elements in dashboard html ( #2344 )
8 years ago
Sandro Santilli
100ec93a65
Remove integration test executables on `make clean` ( #2340 )
8 years ago