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
Rémy Boulanouar
9712d5ee89
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Thibault Meyer
bcf2bfab4d
rename variable + fix wiki link
8 years ago
Thibault Meyer
5feedd10fb
Can disable GIT interactions by HTTP protocol
8 years ago
Unknwon
cdcb2c86c9
#3559 fix template error
8 years ago
无闻
0d8d37c099
Support Editorconfig on web editor ( #3512 )
8 years ago
Andrey Nering
9cb849359e
Support Editorconfig on web editor
8 years ago
Unknwon
ea214daebe
#2018 able to sync now for mirrors
- Refactor code to use sync.UniqueQueue
- Closes #3509
8 years ago
Unknwon
288bd17939
Web editor: support upload files
8 years ago
Unknwon
d322f48f44
router/repo: code refactoring
8 years ago
Unknwon
e4d1ae765f
#3459 code quality improvement
8 years ago
Thibault Meyer
9cc19873d7
Load a set of predefined labels ( #3459 )
* 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
8 years ago
Unknwon
f91166335e
Web editor: fix cannot create new file in subdirectory
8 years ago
Unknwon
78a0a9b504
#3516 enforce line ending to be \n from web editor
8 years ago
Unknwon
a408ce3ec2
Web editor: improve edit file
8 years ago
Unknwon
23a12b9711
Web editor: improve delete file process
8 years ago
Unknwon
525f2e91c0
Web editor: improve edit file tooltip
8 years ago