Commit Graph

5816 Commits (876bafb7ef8570e62de026b999acd05556fceaee)

Author SHA1 Message Date
Ethan Koenig 876bafb7ef Fix API status code for hook creation (#2814)
* Fix API status code for hook creation

* Named constants for response statuses
2017-11-20 15:00:53 +08:00
Ethan Koenig 061f65ff29 Restore build as the default make rule (#2935) 2017-11-19 09:50:23 +02:00
Ethan Koenig 6ee65757c7 Combine identical Makefile rules (#2916) 2017-11-17 18:17:39 +08:00
GiteaBot 1cb01817c9 [skip ci] Updated translations via Crowdin 2017-11-17 03:17:21 +00:00
Lauris BH b23cf16981 Fix govendor for x/crupto curve25519 (#2925) 2017-11-17 11:16:47 +08:00
GiteaBot b33ce46a48 [skip ci] Updated translations via Crowdin 2017-11-16 13:17:13 +00:00
Antoine GIRARD dac0f14f34 Docker multi-arch base (#1985)
* Create docker/manifest/base.yml

serve as base for build docker image for most platform (386,amd64,arm,arm64)

* Add make task docker-multi-arch-push-manifest

To update references of a multi-arch image on docker registry.

* Use SED_INPLACE generic sed command

* Delete Dockerfile.aarch64

Delete Dockerfile.rpi

* Use gitea/gitea-base as base

and replace deprecated MAINTAINER by LABEL (https://docs.docker.com/engine/reference/builder/#maintainer-deprecated)

* Fix rebase

* Use sapk/gitea-base as base

* Split makefile for docker

* Fix version to v3.6

Could use in later version edge of alpine official library that support multi-arch for armhf.

* Remove sapk/gitea-base and use directly new official alpine multi-arch
2017-11-16 15:16:40 +02:00
Lauris BH 7c3e605698 Fix memcache support when value is returned as string always (#2924) 2017-11-16 15:06:34 +08:00
GiteaBot 222e7c3f06 [skip ci] Updated translations via Crowdin 2017-11-16 05:54:31 +00:00
Lauris BH 3138417c63
Update golang x/crypto dependencies (#2923) 2017-11-16 07:53:23 +02:00
GiteaBot 074f6c1b49 [skip ci] Updated translations via Crowdin 2017-11-15 08:12:05 +00:00
Ethan Koenig d22a8dc022 Page parameter for repo search API (#2915) 2017-11-15 16:10:26 +08:00
GiteaBot a30cc637c6 [skip ci] Updated translations via Crowdin 2017-11-15 03:35:51 +00:00
Lauris BH a6f337046f Update go-ini dependency and remove semicolon hack in translations (#2913) 2017-11-15 11:34:42 +08:00
Ethan Koenig bd23e36bec Add owner to delete repo message (#2886) 2017-11-15 09:37:16 +08:00
GiteaBot a8832e1227 [skip ci] Updated translations via Crowdin 2017-11-14 23:40:26 +00:00
Lauris BH fb6348976e
Backport 1.2.x changelog to master (#2904) 2017-11-15 01:39:17 +02:00
GiteaBot 72fc829b05 [skip ci] Updated translations via Crowdin 2017-11-14 11:25:14 +00:00
Lunny Xiao 84498301ca update screenshots on README (#2910) 2017-11-14 13:23:55 +02:00
GiteaBot 44bd5ff466 [skip ci] Updated translations via Crowdin 2017-11-14 00:57:08 +00:00
Sandro Santilli e735d8cb25 Gogs -> Gitea (#2909)
rename label
2017-11-14 08:55:57 +08:00
GiteaBot afa85f9b55 [skip ci] Updated translations via Crowdin 2017-11-13 14:54:11 +00:00
Mura Li f4d12f8d97 Fix run command race (#1470)
* Use exec.CommandContext to simplfy timeout handling

And fixing the data races which can be identified by the added tests when -race enabled.

* Use sleep commmand instead of reading from stdin

* Make the error handling go-esque
2017-11-13 22:51:45 +08:00
GiteaBot e9728bf3b4 [skip ci] Updated translations via Crowdin 2017-11-13 09:33:29 +00:00
Jochen Rill f94e6fd7a5 Correct ldap username validation. (#2880)
PR #342 was only partially applied. Spaces should not be at the start
and end of a username but they can be inside.
2017-11-13 11:32:16 +02:00
Lauris BH 134958fd9f
Fix localization texts that contain semicolon (#2900) 2017-11-13 09:56:10 +02:00
Shaun 4725f91543 Fix inconsistencies in user settings ui (#2901) 2017-11-13 09:21:41 +02:00
Ethan Koenig f26f4a7e01 Update swagger documentation (#2899)
* Update swagger documentation

Add docs for missing endpoints
Add documentation for request parameters
Make parameter naming consistent
Fix response documentation

* Restore delete comments
2017-11-13 09:02:25 +02:00
GiteaBot 4287d100b3 [skip ci] Updated translations via Crowdin 2017-11-13 01:37:21 +00:00
Ethan Koenig 5481be0ac5 Fix issue link rendering in commit messages (#2897)
* Fix issue link rendering in commit messages

* Update page.tmpl

* No links for parens

* remove comment
2017-11-13 09:35:55 +08:00
Ethan Koenig 47f40ccd5e Add integration test for user deleting account (#2891) 2017-11-12 21:36:16 +08:00
Ethan Koenig 5abd1d2a68 Add integration test for logging out (#2892) 2017-11-11 23:29:07 -06:00
GiteaBot 1ebf257bed [skip ci] Updated translations via Crowdin 2017-11-11 23:19:22 +00:00
Shaun dd026a4ebb Fix adding a new authentication source after selecting OAuth (#2889) 2017-11-12 01:18:21 +02:00
GiteaBot 524cca3a1e [skip ci] Updated translations via Crowdin 2017-11-11 01:33:50 +00:00
Lauris BH 0a9fd454da Fix new branch creation to new url scheme (#2884) 2017-11-10 19:32:46 -06:00
GiteaBot e22be08ab6 [skip ci] Updated translations via Crowdin 2017-11-08 13:06:17 +00:00
Lauris BH ba2e0240c6
Add LFS object verification step after upload (#2868)
* Add LFS object verification step after upload

* Fix file verification condition and small refactor

* Fix URLs

* Remove newline and return status 422 on failed verification

* Better error hadling
2017-11-08 15:04:19 +02:00
GiteaBot 61f5c22503 [skip ci] Updated translations via Crowdin 2017-11-07 06:34:16 +00:00
Lunny Xiao 62d0a4d882 Add external markup render support (#2570)
* add external markup render support

* bug fixed

* refacotr codes and fix wrong error log

* fix comments and add check to prevent leaks

* add check for config file and improve the example

* check file close error

* use ioutil.TempFile instead uuid

* correct Render -> Parser

* improve warning when incorrect markup setting

* fix typos
2017-11-07 08:33:06 +02:00
GiteaBot ddb75191ec [skip ci] Updated translations via Crowdin 2017-11-07 04:34:18 +00:00
Jacob Parry 6e2e7b325f Fix LFS not returning correct content length when requesting a range of bytes (#2864) 2017-11-07 06:33:04 +02:00
Lunny Xiao cdc4600725
Fix fork repository cycle to self (#2860)
* fix fork repository cycle to self

* rename testForkRepo to traverseParentRepo
2017-11-06 12:12:55 +08:00
Lunny Xiao ff9daa3e9b fix click create pull request button 404 (#2859) 2017-11-05 21:11:35 +02:00
Jakub 80a4643359 Fix attachments icon size on zoom in/out (#2853)
* fix attachments icon size on zoom in/out

* make public/css/index.css
2017-11-05 14:12:27 +02:00
Henrik Bengtsson 9bdce5d21b Launch Gitea with custom UID/GID for 'git' user (fixes #2286) (#2791) 2017-11-05 10:40:31 +08:00
Mike Fellows be523152a8 Clean repository ROOT directory name with filepath.Clean (#2846)
For better compatibility with Windows.
2017-11-04 23:36:49 +02:00
Ethan Koenig d91fe5254d Fix ignored errors in API route (#2850)
* Fix ignored errors in API route
2017-11-04 19:10:01 +01:00
Lauris BH 57de1ff991
Fix API raw file content access for default branch (#2849) 2017-11-04 19:26:38 +02:00
GiteaBot 76b8c3c68f "[skip ci] Updated translations via Crowdin" 2017-11-04 15:56:28 +00:00