stroucki
3a3782bb7f
Handle ssh key import better ( #224 )
...
* Handle user ssh key input better
ssh_key: when user submitted keys had a newline at the end, strings.Split
would have created a slice with an empty last element, and the key type
check would be incorrect. Perhaps a better way is to look for 'ssh-rsa' or
'ssh-dsa' at the beginning of the string, but this is simple.
* ssh_key: correct indentation
8 years ago
Lunny Xiao
cb1602840c
golint fixed for routers/repo/branch.go ( #206 )
8 years ago
Sandro Santilli
c25063d834
Lint webhook.go, unexports simpleMarshalJSON ( #198 )
8 years ago
Lunny Xiao
b2cce12980
golint fixed for routers/repo/wiki.go ( #203 )
8 years ago
Lunny Xiao
f0df8e8dfa
golint fixed for routers/repo/middlewares.go ( #204 )
8 years ago
Lunny Xiao
18dc4f1023
golint fixed for routers/repo/view.go ( #205 )
8 years ago
Thomas Boerger
1d9576d5ea
Merge pull request #202 from lunny/lunny/golint_fixed_routers_admin
...
go lint fixed for routers/admin
8 years ago
Lunny Xiao
659bc2814c
go lint fixed for routers/admin
8 years ago
Andrey Nering
bd13c81684
Merge pull request #196 from Bwko/fix/commit-view-panic
...
Fix panic when no user is signed in
8 years ago
Bwko
7b75d93f3d
Fix for anonymous users to switch views
8 years ago
Bwko
fc3ed8a1de
Fix panic when no user is signed in
...
See #188
8 years ago
Lunny Xiao
cf045b029c
golint fixed for parts of routers root, dev, user and org dirs ( #167 )
...
* golint fixed for parts of routers root, dev and org dirs
* add user/auth.go golint fixed
* rename unnecessary exported to unexported and user dir golint fixed
8 years ago
Andrey Nering
91953ae9b4
Merge pull request #187 from strk/vendor
...
Add vendoring section
8 years ago
Sandro Santilli
39b3fcad1d
Wrap `vendor/` in backtics
8 years ago
Sandro Santilli
4faf9c213e
Add vendoring section
...
Closes #178
8 years ago
Andrey Nering
d884312223
Merge pull request #100 from ethantkoenig/develop
...
API endpoints for stars
8 years ago
Ethan Koenig
0834e492c0
API endpoints for stars
8 years ago
Thibault Meyer
871c964ef7
Upgrade vendor "git" ( #175 )
8 years ago
Matthias Loibl
7596e41027
Merge pull request #171 from andreynering/gitea/editorconfig-crlf
...
.editorconfig: do not specify line ending
8 years ago
Thomas Boerger
56a8cf523b
fix variable assigned and not used. ( #173 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Bo-Yi Wu
d9ffe99972
fix variable assigned and not used.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Kim "BKC" Carlbäcker
07a0753420
Merge pull request #169 from strk/allow-update-draft-releases
...
Allow updating draft releases while keeping them as draft
8 years ago
Andrey Nering
6cf66117e7
Merge pull request #170 from strk/wiki-lint
...
Fix lint errors in models/wiki (just add methods docs)
8 years ago
Andrey Nering
a285c07d5e
.editorconfig: do not specify line ending
...
That is annoying on Windows, since the editor will change the file if
you just open it. Git will checking as LF anyway.
8 years ago
Sandro Santilli
cd339263d9
Allow updating draft releases while keeping them as draft
...
Closes #162
8 years ago
Sandro Santilli
592a4ec4d3
Fix lint errors in models/wiki (just add methods docs)
...
See #70
8 years ago
Andrey Nering
81f227eace
Merge pull request #168 from appleboy/gofmt
...
fix gofmt error.
8 years ago
Bo-Yi Wu
5054020c1f
fix gofmt error.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Bo-Yi Wu
904deb7d6a
Fix broken link for Contributors Guide ( #166 )
...
* Fix broken link for Contributors Guide
* remove ./
8 years ago
Andrey Nering
739f07c98e
Remember diff view style ( #163 )
8 years ago
Lunny Xiao
bd76e156bb
fixed bug #151 finally ( #164 )
8 years ago
LefsFlare
3ef022b071
Fixes possible vulnerabilities with keyword hijacking ( #20 )
...
- Added public entries to reserved keywords list
- Rename variables
- Derped comment
8 years ago
Lunny Xiao
3dedc027ac
Bug fixed for issues ( #156 )
8 years ago
Thibault Meyer
54e6ed3431
Upgrade vendor "git" ( #161 )
8 years ago
Lunny Xiao
b339858500
replace footer gogs to gitea ( #157 )
8 years ago
Lunny Xiao
0baaa7728a
bug fixed caused by #153 ( #154 )
8 years ago
Lunny Xiao
30a37311f8
use in instead string join ( #155 )
8 years ago
Lunny Xiao
555d8b16cb
fixed bug #151 caused Find should be Get ( #153 )
8 years ago
Matthias Loibl
900f233b3c
Merge pull request #152 from lunny/lunny/optimization_in
...
optimization on database IN
8 years ago
Lunny Xiao
ade6d4a20f
optimization on database IN
8 years ago
Lunny Xiao
9bf28a2799
bug fixed for 500 caused by get org users ( #149 )
8 years ago
Lunny Xiao
a8c6698de8
Fix error 500 on organization dashboard page ( #150 )
8 years ago
Lunny Xiao
e2aa991e10
ask for go get from code.gitea.io/gitea and change gogs to gitea on main file ( #146 )
8 years ago
Thomas Boerger
5fc370e332
Merge pull request #142 from 0xbaadf00d/feature/gofmt
...
Normalize files with gofmt
8 years ago
Thomas Boerger
f07362b90f
Merge pull request #144 from strk/install-via-go
...
Add instructions to install via go
8 years ago
Sandro Santilli
786cc5bbc8
Add info about installing via go
8 years ago
Thibault Meyer
ddee4c8b58
Normalize files with gofmt
8 years ago
Sandro Santilli
a1c5f02444
Fix import path of go-sdk ( #141 )
...
From code.gitea.io/go-sdk/gitea
To code.gitea.io/sdk/gitea
8 years ago
Andrey Nering
96c9fef35f
Update home page to Gitea ( #138 )
8 years ago
Andrey Nering
52cc3fd36a
Merge pull request #136 from 0xbaadf00d/feature/rewrite-xorm-queries
...
Rewrite raw queries
8 years ago