Lauris BH
d81cf34e37
Changelog for release v1.2.2 ( #2786 )
2017-10-26 18:34:30 +03:00
Lauris BH
9902317679
Add checks for commits with missing author and time ( #2771 ) ( #2785 )
...
* Add checks for commits with missing author and time
* Fix validate commits with emails if it has no Author
2017-10-26 22:24:11 +08:00
Paul Tötterman
33e164168f
Fix sending mail with a non-latin display name. #2102 ( #2559 ) ( #2783 )
...
* Fix sending mail with a non-latin display name. #2102
Signed-off-by: Rémi Saurel <contact@remi-saurel.com>
* Take into account the possibility that setting.MailService.From is in `name <email@address>` format. #2102
Signed-off-by: Rémi Saurel <contact@remi-saurel.com>
2017-10-26 10:44:20 +03:00
Michael Kuhn
f40ba68d57
Sync MaxGitDiffLineCharacters with conf/app.ini ( #2779 ) ( #2780 )
...
MAX_GIT_DIFF_LINE_CHARACTERS was updated in #1845 but the corresponding
default value of MaxGitDiffLineCharacters was not changed. This can lead
to inconsistencies.
2017-10-25 12:45:29 +03:00
Lunny Xiao
cb0c8b8ae4
fix imports
2017-10-25 13:49:06 +08:00
Lunny Xiao
eba5945d2f
some fixes
2017-10-25 13:28:47 +08:00
Lauris BH
4c67925531
Update vendor git ( #2765 ) ( #2772 )
2017-10-24 02:04:22 +03:00
Lauris BH
3c60121ca7
Fix emojify image URL ( #2769 ) ( #2773 )
2017-10-24 00:26:51 +02:00
Lauris BH
46bb1cf026
Changelog for v1.2.1 ( #2716 )
2017-10-16 16:27:22 +02:00
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