Thomas Boerger
c7aa87988d
Integrate templates into bindata optionally ( #314 )
Integrated optional bindata for the templates
8 years ago
Lunny Xiao
939dfe8263
resolved #310 : hide fork to self ( #323 )
8 years ago
Lunny Xiao
e685609ea2
golint fixed for modules/auth
8 years ago
Bwko
fcde7de425
Fixes typos
8 years ago
Andrey Nering
8753fc286d
Merge pull request #270 from andreynering/gitea/http-headers-download
Fix HTTP headers for issue attachment download
8 years ago
Lunny Xiao
b5a7692d63
Golint fixed for modules/setting ( #262 )
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
8 years ago
Andrey Nering
1d6f68b2d0
Fix Chrome not liking commas
8 years ago
Andrey Nering
908e6db0eb
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
8 years ago
Lunny Xiao
93101d7a6c
Golint fixed for modules/template
8 years ago
Thomas Boerger
623733937e
Merge pull request #228 from Bwko/feature/short-hash-download
Added short-hash support to downloads
8 years ago
Bwko
de4dce2c4e
Added short-hash support to downloads
8 years ago
Lunny Xiao
e134836804
golint fixed for routers ( #208 )
8 years ago
Lunny Xiao
27da40ba85
golint fixed for routers/repo/branch.go ( #206 )
8 years ago
Lunny Xiao
30fea12416
golint fixed for routers/repo/wiki.go ( #203 )
8 years ago
Lunny Xiao
d239ceee22
golint fixed for routers/repo/middlewares.go ( #204 )
8 years ago
Lunny Xiao
e84df909b9
golint fixed for routers/repo/view.go ( #205 )
8 years ago
Bwko
9e97dc1cd9
Fix for anonymous users to switch views
8 years ago
Bwko
5b557eb23c
Fix panic when no user is signed in
See #188
8 years ago
Sandro Santilli
68e1a9e246
Allow updating draft releases while keeping them as draft
Closes #162
8 years ago
Andrey Nering
43e4529fb4
Remember diff view style ( #163 )
8 years ago
Thibault Meyer
6ef997ca64
Normalize files with gofmt
8 years ago
Sandro Santilli
827c85ad85
Fix import path of go-sdk ( #141 )
From code.gitea.io/go-sdk/gitea
To code.gitea.io/sdk/gitea
8 years ago
Sandro Santilli
cb1b3cc148
Update import paths from github.com/go-gitea to code.gitea.io ( #135 )
- 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
8 years ago
Matthias Loibl
7db899faaf
Merge pull request #17 from LefsFlarey/issue/3666
Fixed 404 caused by unexpected question mark
8 years ago
Flare
922a19e2d2
Fixed 404 caused by unexpected question mark
This fixes 404 caused when creating new files or wiki pages with question marks. Amended to force CI rebuild
8 years ago
Lunny Xiao
6d0d0564ee
Merge pull request #73 from bkcsoft/gt/2164-release-pagination
Add Pagination to Releases-page (and de-duplicate pagination templates)
8 years ago
Sandro Santilli
f5ceddc42d
Fix type in unused constant name ( #111 )
* Write LDAP, SMTP, PAM, DLDAP back to all uppercase
* Fix type in unused constant name
* Other MixCased fixes
* Complete MixerCasing of template constants
* Re uppercase LTS and LDAPS suffixes
* Uppercase JSON suffix in constant names
* Proper case LoginNoType
* Prefix unexported template path constants with "tpl"
8 years ago
Sandro Santilli
0daccd049a
And others
8 years ago
Sandro Santilli
925af19903
More overlooks
8 years ago
Sandro Santilli
6909f35ba0
More...
8 years ago
Sandro Santilli
f2c96b8f93
More MixedCase consts
8 years ago
Sandro Santilli
58cc4e56fa
ACCESS_MODE_* -> AccessMode*
8 years ago
Sandro Santilli
d092b29641
More MixedCase consts
8 years ago
Sandro Santilli
8212aa70ba
Use MixedCase constant names
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
8 years ago
Thomas Boerger
91624c0e0e
Merge pull request #108 from go-gitea/go-sdk
Replaced gogits go-gogs-client with go-sdk
8 years ago
Thomas Boerger
a2f2fa9326
Replaced go-gogs-client with go-sdk imports
8 years ago
Thomas Boerger
54a9e8c1c4
Fixed links to sdk docs
8 years ago
Sandro Santilli
43349da21a
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
8 years ago
Kim "BKC" Carlbäcker
a35f849f28
Add Pagination to Releases-page
8 years ago
Rachid Zarouali
991135448c
Merge pull request #50 from 0xbaadf00d/feature/2583-disablehttpcloning
Disable HTTP cloning
8 years ago
Odin Ugedal
0f421c9602
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.
8 years ago
Odin Ugedal
bf76e2a45b
Fix rendering of non-markdown readme files
8 years ago
Sandro Santilli
3c9693defb
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)
8 years ago
Sandro Santilli
4fb2e00b31
Merge branch 'master' into feature/goimports
8 years ago
Andrey Nering
5243e1f5f9
Refactor editorconfig middleware
8 years ago
Matthias Loibl
929972fc8d
Fix imports found by goimports.
8 years ago
Andrey Nering
7f39af230a
Fix 500 when repo has invalid .editorconfig
Creating a notice instead
8 years ago
Thomas Boerger
423d7ae8fb
Executed go fmt for all files
8 years ago
Rémy Boulanouar
ee1663af58
Implementation of the feature to redirect to an external issue tracker
8 years ago
Andrey Nering
d709866a8a
Show issue/PR number on title
8 years ago