Commit Graph

468 Commits (65b1875d2bba97130f2796fe915f2a342ef7869c)

Author SHA1 Message Date
Lunny Xiao 47a7529d96 update code.gitea.io/git ()
Joubert RedRat ce21ed6c34 Remove remaining Gogs reference on locales and cmd ()
Bwko 026ad4aee7 Fixes panic when there's no user initialized ()
Thomas Boerger 83ed234472 Integrate templates into bindata optionally ()
Integrated optional bindata for the templates
Antonio Facciolo 947d2ee21b Fixes
Export Pusher name as GITEA_PUSHER_NAME env variable
Export also GITEA_UUID, but keep the uuid env variable for backward compatibility

export pusher name ENV variable 

change env variable prefix to GITEA_

Signed-off-by: Antonio Facciolo <afdev82@gmail.com>

Export also GITEA_UUID 

Keep uuid env variable for backward compatibility
Bwko 4ff0db0246 Catch os... errors
Thomas Boerger 2932042a6d Get rid of bin folder within makefile, enabled TiDB ()
* Get rid of the bin folder within the build process

Signed-off-by: Thomas Boerger <thomas@webhippie.de>

* Dropped latest make task, it is unused

Signed-off-by: Thomas Boerger <thomas@webhippie.de>

* Added tidb tag to drone config

Signed-off-by: Thomas Boerger <thomas@webhippie.de>

* Dropped the cert build tag

Signed-off-by: Thomas Boerger <thomas@webhippie.de>

* Dropped useless minwinsvc build tag

Signed-off-by: Thomas Boerger <thomas@webhippie.de>

* Dropped the useless build tags from drone config

Signed-off-by: Thomas Boerger <thomas@webhippie.de>
Thomas Boerger b6a95a8cb3 Integrate public as bindata optionally ()
* Dropped unused codekit config

* Integrated dynamic and static bindata for public

* Ignore public bindata

* Add a general generate make task

* Integrated flexible public assets into web command

* Updated vendoring, added all missiong govendor deps

* Made the linter happy with the bindata and dynamic code

* Moved public bindata definition to modules directory

* Ignoring the new bindata path now

* Updated to the new public modules import path

* Updated public bindata command and drop the new prefix
Lunny Xiao ec87a75c00 golint fixed for modules/auth
Andrey Nering c664ffd1db Merge pull request from andreynering/gitea/http-headers-download
Fix HTTP headers for issue attachment download
Lunny Xiao 94da472717 Golint fixed for modules/setting ()
* golint fixed for modules/setting

* typo fixed and renamed UNIXSOCKET to UnixSocket
Andrey Nering 638dd24cec Fix HTTP headers for issue attachment download
- Download filename was wrong for files other than images. Example: It was `download` instead of `file.pdf`
- PDF was downloading instead of showing on browser
Bo-Yi Wu 5054020c1f fix gofmt error.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Andrey Nering 739f07c98e Remember diff view style ()
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io ()
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis

See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
Matthias Loibl 90fb64b217 Improve formatting of admin command
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
Matthias Loibl 5cd093aa46 Use cli Flags directly and not some helper funcs
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
Sandro Santilli aadd7dcdc3 And others
Sandro Santilli f388661bda ACCESS_MODE_* -> AccessMode*
Thomas Boerger 3e13e16b3f
Dropped client from version check
Sandro Santilli 6e4252dad4 Replace gogits/git-module dependency with go-gitea/git ()
* Replace gogits/git-module dependency with go-gitea/git

Fixes 

* Remove git alias for git module import (not needed)
Sandro Santilli f36544f98d Merge branch 'master' into feature/goimports
Andrey Nering bd898a10f8 Refactor editorconfig middleware
Matthias Loibl 953c099428 Add missing version & gogs package
Matthias Loibl 1f44b01e2a Fix imports found by goimports.
Thomas Boerger 3dd14ee522
Fixed "net.UnixAddr composite literal uses unkeyed fields"
Thomas Boerger 5b5af7daee
Made linter happy in cmd folder
Lunny Xiao 1adde07a3f Merge branch 'master' into fix/3743-route-regexp-branchname
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs ()
Thibault Meyer 8ea63f8c50
Restore whitespace
Thibault Meyer a79eb48de3
Fix SHA regexp and commit comparisons
Unknwon 491407ddf8
fix 404 for release draft edition
Closes 
Daniel Oaks b3d9ca4ccd Add the ability to explore organizations ()
* Add ability to explore organizations

* Use right icon for org explore links
Unknwon c2afdf2192 Minor code fix [CI SKIP]
Unknwon 16eb2eb6a3 Fix import path
Unknwon e6ec1ca1f8 disable issue cannot edit label and milestonefor pull requests
Unknwon 643142acab Web editor: support upload files
Kim "BKC" Carlbäcker 4f40019130 codegangsta/cli => urfave/cli ()
Unknwon 2a13f682e0 Bump git-module required version
Thibault Meyer 92fb30c526 Load a set of predefined labels ()
* Can use a predefined set of labels

* Change UI

* Fix HTML file indentation

* Avoid reading file from other directory (security issue)

* Apply a better fix

* Remove not used variable

* Merge upstream/develop

* Do modifications

* Raname

* remove binding + rename variable
Unknwon 579e5e4fee Web editor: disallow edit mirror repository
Unknwon 0114fdcba4 Web editor: improve delete file process
Unknwon c30b856d14 use user’s info for committer and author
Unknwon 0b273ac4d5 code cleanup
Thibault Meyer 2c5411b00c Fix : Dumps are created world readable ()
* Set dump file permission to 0600

* Typo
Unknwon a00c932bbc General code quality improvement
Unknwon 6f9a95f830 add HTMLURL to webhook type
- Fill Milestone and Assignee field when available in webhook payload
Unknwon 4042d1f0c3 models/issue: improve quality and performance of NewIssue function
Unknwon 4a46613916 markdown: fix treating pure number as SHA1
- Detect non-exist commit and return 404 not 500
Unknwon 4a19fd6441 Web editor: temporarily disable upload and quick fix for edit and new
Try to merge into develop branch ASAP, then continue minor fixes afterwards.