Denis Denisov
380e32e129
Fix random string generator (#384)
* Remove unused custom-alphabet feature of random string generator
Fix random string generator
Random string generator should return error if it fails to read random data via crypto/rand
* Fixes variable (un)initialization mixed assign
Update test GetRandomString
7 years ago
Andrey Nering
952587dbae
Merge pull request #422 from mjwwit/master
Change test mail subject and body to 'Gitea Test Mail!'
7 years ago
Michael de Wit
1d30457a94
change test mail subject and body to 'Gitea Test Mail!'
Signed-off-by: Michael de Wit <mjwwit@gmail.com>
7 years ago
Nico Mandery
6ade13e86e
serve video files using the HTML5 video tag (#418)
* serve video files using the HTML5 video tag
* lint fix: add comment to IsVideoFile
7 years ago
Lunny Xiao
8559d6f267
add ZH readme (#405)
7 years ago
Lunny Xiao
7c46667e71
fixed vulnerabilities labels (#409)
7 years ago
Richie B2B
44428fdc38
Remove fixed FIXME (#408)
7 years ago
Richie B2B
0d6e88baef
Fix typo (#407)
7 years ago
Martin Hebnes Pedersen
b11843b8dc
Update gitea/sdk vendor (#406)
7 years ago
Andrey Nering
578a8e258e
Revert "Disable coverage report for now" (#400)
7 years ago
Lunny Xiao
15c3d14d55
fixed vulnerabilities on deleting release (#399)
7 years ago
Thomas Boerger
8aeeed0a23
Disable coverage report for now (#395)
Until aircover gets updated so that it works again I have disabled to
coverage report upload for now.
7 years ago
Thomas Boerger
c6b6a61bf1
Fixing multiple docker issues (#386)
* Added stupid docker task to makefile
* Dropped unknown option PrintLastLog from docker ssh config
* OpenSSH should log to docker stdout
* Set random pw for docker git user, otherwise it is locked
* Stop using templates and public within docker
7 years ago
Sandro Santilli
1831ee2d1d
Update example install url from try.gogs.io to try.gitea.io (#385)
* Update example install url from try.gogs.io to try.gitea.io
* Ask if issue can be reproduced on try.gitea.io
* Link try.gitea.io to the README
7 years ago
Lunny Xiao
b4c794058a
fixed vulnerabilities (#392)
7 years ago
Lunny Xiao
d771e978a1
Don't use custom PBKDF2 function (#382)
7 years ago
Lunny Xiao
73710c00a8
bug fixed branch name for pushupdate (#380)
7 years ago
Kim "BKC" Carlbäcker
1d1c01875d
Autogenerate Version on build (#190)
* Autogenerate Version On Build
* Fixes
* Changed Version to v0.9.0
* balls
* I hate newlines
* Don't remove .VERSION-file on `make clean`
* v0.9.0 => 1.0.0
* damn new-lines...
* Always rebuild templates/.VERSION
* Delete .VERSION
* Update Makefile
7 years ago
Denis Denisov
f0a989c1d0
Correction LDAP validation (#342)
* Correction LDAP username validation
As https://msdn.microsoft.com/en-us/library/aa366101(v=vs.85).aspx describe spaces should not be in start or at the end of username but they can be inside the username. So please check my solution for it.
* Check for zero length passwords in LDAP module.
According to https://tools.ietf.org/search/rfc4513#section-5.1.2 LDAP client should always check before bind whether a password is an empty value. There are at least one LDAP implementation which does not return error if you try to bind with DN set and empty password - AD.
* Clearing the login/email spaces at the [start/end]
7 years ago
Bwko
abcd39f7d5
In the wiki title replace tab with a space (#371)
7 years ago
Bwko
cbcb4361d5
Fixes issue #283
Delete old temp local copy before we create a new temp local copy
7 years ago
Ethan Koenig
7b5b5178e1
Bug fix for edit-hook API endpoint
7 years ago
Henning Henkel
bab737bf02
Fix alignment of tooltip and add bindata - related to #359 (#364)
7 years ago
Ethan Koenig
401a8db0ed
Remove stale comment in models/repo.go (#366)
7 years ago
Bwko
39d0db52de
Fix for #361, renamed username to login
7 years ago
Ethan Koenig
04b9a7e7a2
Bug fixes for repo permissions in API
Also move duplicated code into repo.APIFormat(..)
7 years ago
Henning Henkel
08b9af9ad8
Added download tooltip - solves #221 (#359)
7 years ago
Bwko
026ad4aee7
Fixes panic when there's no user initialized (#358)
7 years ago
Thomas Boerger
83ed234472
Integrate templates into bindata optionally (#314)
Integrated optional bindata for the templates
7 years ago
Kim "BKC" Carlbäcker
1b5b297c39
Actually fix 'make build' (#353)
* Actually fix bloddy 'make build'
7 years ago
Thomas Boerger
2b63f32b8a
Enabled bindata build tag and generate bindata (#352)
7 years ago
Kim "BKC" Carlbäcker
cd0ce9f3d8
Awlays build, even when it thinks it's up to date (#351)
7 years ago
Thomas Boerger
70134323d1
Merge pull request #348 from tboerger/release-fixes
Fix drone release publishing and test steps
7 years ago
Thomas Boerger
8a28130540
Fixed build tags and deps for all build/test steps
7 years ago
Thomas Boerger
e52b24ad5d
Properly move releases within drone builds
7 years ago
Antonio Facciolo
947d2ee21b
Fixes #316
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 #316
change env variable prefix to GITEA_
Signed-off-by: Antonio Facciolo <afdev82@gmail.com>
Export also GITEA_UUID #316
Keep uuid env variable for backward compatibility
7 years ago
Kim "BKC" Carlbäcker
d07c955e2a
Fix regression in PR-API #248 (#349)
* Fix #344 (regression in PR-API #248 )
7 years ago
Thomas Boerger
edae0f134c
Merge pull request #347 from thehowl/fix-contributing-typos
Fix typos in CONTRIBUTING
7 years ago
Morgan Bazalgette
db29855d2d
Apply suggested changes
7 years ago
Morgan Bazalgette
e6cb9a7397
Fix typos in CONTRIBUTING
Signed-off-by: Morgan Bazalgette <the@howl.moe>
7 years ago
Andrey Nering
dc14d0c046
Merge pull request #345 from Bwko/fix_for_320
Fix for #320
7 years ago
Bwko
0118b275b6
Fix for #320
Suppress the error when we're removing a file that may not exist
7 years ago
Denis Denisov
c8f300b2cd
Safe compare password (timing attack) (#338)
7 years ago
Thomas Boerger
db6a4e9fbf
Merge pull request #334 from avelino/scripts_project_name_update
Fixed project name on scripts
7 years ago
Avelino
b21bf80dd4
update SERVICENAME on init scripts
7 years ago
Kim "BKC" Carlbäcker
0f05470cb8
[API] Pull Requests (#248)
7 years ago
Kim "BKC" Carlbäcker
d7ed78a919
Merge pull request #227 from go-gitea/api/github-compliance
GitHub API Compliance Fixes
7 years ago
Kim "BKC" Carlbäcker
e8e0539b45
Linting
7 years ago
Kim "BKC" Carlbäcker
e6cfccdd40
GitHub API Compliance (& linting)
7 years ago
Kim "BKC" Carlbäcker
71bb6df75a
Add undocumented endpoint for /repositories/:id
7 years ago