Commit graph

4279 commits

Author SHA1 Message Date
Sandro Santilli 145ab5c89a Rename and update init files to use "gitea" instead of "gogs"
Closes #102
2016-11-07 16:06:21 +01:00
Sandro Santilli b7263f31a5 Replace GOGS with GITEA in variable names
Still use GOGS_WORK_DIR and GOGS_CUSTOM env variables
as a fallback if the equivalent GITEA_* are not set,
warning user about the need for change.

Does not change "gogs" to "gitea" in webhook type name
Because "gogs" hook type is part of the API (routes) and used
in templates...

Closes #87
2016-11-07 16:05:18 +01:00
Lunny Xiao 1b962bac0b Merge pull request #97 from andreynering/gitea/diff-colors
CSS: Stronger colors for diffs
2016-11-07 20:39:20 +08:00
Rachid Zarouali be5607e510 Merge pull request #50 from 0xbaadf00d/feature/2583-disablehttpcloning
Disable HTTP cloning
2016-11-07 11:23:30 +01:00
Odin Ugedal 5a6f7edde9 Use the rev-parsed sha1 commit id (#98)
Use the rev-parsed sha1 commit id in urls to repo files,
instead of the abbreviated version.
2016-11-06 19:15:44 -02:00
Andrey Nering ef5fc3c959 CSS: Stronger colors for diffs 2016-11-06 17:57:45 -02:00
Matthias Loibl 92c48dabe3 Merge pull request #95 from odinuge/readmeTxt
Fix rendering of non-markdown readme files
2016-11-06 19:54:46 +01:00
Odin Ugedal 530f6c1da4
Fix rendering of non-markdown readme files 2016-11-06 16:02:42 +01:00
Sandro Santilli 6e4252dad4 Replace gogits/git-module dependency with go-gitea/git (#94)
* Replace gogits/git-module dependency with go-gitea/git

Fixes #92

* Remove git alias for git module import (not needed)
2016-11-06 11:18:34 -02:00
LefsFlare 55a4d46f5d Adds checking of reserved keywords against team names (#22) 2016-11-06 10:07:03 +01:00
Thibault Meyer fe8bfa54de Ordering team by name ascending except for 'Owners' (#48) 2016-11-06 09:59:21 +01:00
Matthias Loibl d318f612a9 Add tests for CurrentUsername() (#88) 2016-11-06 09:47:25 +01:00
Lunny Xiao 1cb5b0e2f6 Merge pull request #83 from strk/dot.github
Review issue and pull templates, drop unused contributing file
2016-11-06 12:30:31 +08:00
Sandro Santilli 27f99a16a6 Review issue and pull templates, drop unused contributing file
The CONTRIBUTING.md from root dir will be used by github
2016-11-05 23:24:21 +01:00
Sandro Santilli 9f437eb1ab Wrap text to 80 columns (#81)
Use a list for owners (nitpick response)
2016-11-05 23:23:14 +01:00
Matthias Loibl 92f39da802 Merge pull request #85 from metalmatze/feature/goimports
Fix imports found by goimports.
2016-11-05 23:08:29 +01:00
Sandro Santilli f36544f98d Merge branch 'master' into feature/goimports 2016-11-05 22:54:20 +01:00
Matthias Loibl a0e54c0512 Merge pull request #84 from andreynering/gitea/fix-500-on-invalid-editorconfig
Refactor editorconfig middleware
2016-11-05 19:01:20 +01:00
Andrey Nering bd898a10f8 Refactor editorconfig middleware 2016-11-05 15:44:14 -02:00
Matthias Loibl 953c099428 Add missing version & gogs package 2016-11-05 18:04:47 +01:00
Matthias Loibl 1f44b01e2a Fix imports found by goimports. 2016-11-05 17:56:35 +01:00
Matthias Loibl 91b589f2f0 Add myself to the MAINTAINERS (#82)
😊
2016-11-05 14:32:11 -02:00
Sandro Santilli 789dacdfbe Merge pull request #59 from andreynering/gitea/fix-500-on-invalid-editorconfig
Fix 500 when repo has invalid .editorconfig
2016-11-05 16:53:36 +01:00
Andrey Nering 984fa8d83b Fix 500 when repo has invalid .editorconfig
Creating a notice instead
2016-11-05 13:33:41 -02:00
Thomas Boerger ab12596143 Merge pull request #79 from strk/Makefile-tabs
Use tabs in Makefiles
2016-11-05 16:13:33 +01:00
Sandro Santilli 6111e09a97 Drop indent-size from Makefile section 2016-11-05 13:26:11 +01:00
Sandro Santilli c808e8c138 Use tabs in Makefiles 2016-11-05 12:55:27 +01:00
Thomas Boerger b58b634e0e Merge pull request #69 from go-gitea/makefile
Refactoring of the makefile
2016-11-05 00:06:41 +01:00
Thomas Boerger c524078d2b
Extended gitignore 2016-11-04 23:46:11 +01:00
Thomas Boerger b32776d533
Dropped outdated build scripts 2016-11-04 23:46:11 +01:00
Thomas Boerger 3dd14ee522
Fixed "net.UnixAddr composite literal uses unkeyed fields" 2016-11-04 23:45:47 +01:00
Thomas Boerger ec054ba582
Totally refactored the makefile and adjusted travis config 2016-11-04 23:45:47 +01:00
Thomas Boerger 7a870080d6
Added a common golang gitignore 2016-11-04 23:45:06 +01:00
Thomas Boerger eb25d1f252
Regenerated bindata 2016-11-04 23:45:06 +01:00
Thomas Boerger 5b5af7daee
Made linter happy in cmd folder 2016-11-04 23:45:06 +01:00
Thomas Boerger 212a04a45e
Linter doesn't like uppercase variables 2016-11-04 23:45:06 +01:00
Thomas Boerger 648c6fdd60
Vet complains about "should have signature MarshalJSON() ([]byte, error)", replaced with custom name 2016-11-04 23:45:06 +01:00
Thomas Boerger f960b776f0
Simply made go vet happy, fixed tags 2016-11-04 23:45:06 +01:00
Thomas Boerger e05a5ca36c
Executed go fmt for all files 2016-11-04 23:45:06 +01:00
Thomas Boerger ba4d255635 Merge pull request #33 from metalmatze/feature/main.go
Rename gogs.go to main.go with all references
2016-11-04 23:44:42 +01:00
Thomas Boerger cda6baf02c Merge branch 'master' into feature/main.go 2016-11-04 23:24:55 +01:00
Thomas Boerger a46efe240d Merge pull request #54 from joubertredrat/changes-less-css
Set default less and css to new default name
2016-11-04 23:24:45 +01:00
Thomas Boerger 747f86aa23 Merge branch 'master' into changes-less-css 2016-11-04 19:23:32 +01:00
Thomas Boerger 03902bb53d Minor cleanups, look at the specific commits (#67)
* Dropped codebeat, we got go reportcard

* Dropped gopm file, we are using govendor

* Dropped chinese readme, this should be part of the docs

* Dropped bra config, not really used

* Dropped packager, we will provide our own packages
2016-11-04 14:27:33 -02:00
Thomas Boerger 6a20711afd Merge pull request #72 from go-gitea/maintainers
One more try to validate maintainers and contributors
2016-11-04 16:39:17 +01:00
Thomas Boerger ccdbd8bf48
One more try to validate maintainers and contributors 2016-11-04 16:37:50 +01:00
Thomas Boerger 38c209e85b Merge pull request #71 from go-gitea/lgtm-fix
Use a correct format for CONTRIBUTORS and MAINTAINERS
2016-11-04 16:33:38 +01:00
Thomas Boerger 1aaa3a303d
Use a correct format for CONTRIBUTORS and MAINTAINERS 2016-11-04 16:18:25 +01:00
Thomas Boerger 75ddcddd06 Merge branch 'master' into changes-less-css 2016-11-04 14:36:24 +01:00
Thomas Boerger 8e66e09cd8 Merge branch 'master' into feature/main.go 2016-11-04 14:35:45 +01:00