2
0
Commit Graph

4631 Commits

Author SHA1 Message Date
Thomas Boerger
24b070fd2f Do not override the binary version name from drone (#436)
Signed-off-by: Thomas Boerger <tboerger@suse.de>
2016-12-21 20:00:15 +08:00
Andrey Nering
07dd6084a5 Change default Android theme color meta tag (#389) 2016-12-20 21:54:22 +08:00
Andrey Nering
d7ad8a057c Merge pull request #412 from strk/libravatar-source
Add support for using "libravatar" as the GravatarSource
2016-12-20 10:32:45 -02:00
Denis Denisov
6669a9d490 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
2016-12-20 13:32:02 +01:00
Andrey Nering
7e647c5db7 Merge pull request #422 from mjwwit/master
Change test mail subject and body to 'Gitea Test Mail!'
2016-12-20 10:15:03 -02:00
Michael de Wit
96fc8a7a25 change test mail subject and body to 'Gitea Test Mail!'
Signed-off-by: Michael de Wit <mjwwit@gmail.com>
2016-12-20 09:34:50 +01:00
Nico Mandery
2943f04b65 serve video files using the HTML5 video tag (#418)
* serve video files using the HTML5 video tag

* lint fix: add comment to IsVideoFile
2016-12-20 16:09:11 +08:00
Sandro Santilli
3d57680713 Add support for using "libravatar" as the GravatarSource
Just to make it easier for administrator to configure libre avatar,
as it is done for "duoshuo" and "gravatar"
2016-12-19 17:05:30 +01:00
Lunny Xiao
2324e58ac5 add ZH readme (#405) 2016-12-19 21:30:52 +08:00
Lunny Xiao
45432fe1ec fixed vulnerabilities labels (#409) 2016-12-17 19:49:17 +08:00
Richie B2B
5139a6e539 Remove fixed FIXME (#408) 2016-12-16 17:00:30 +01:00
Richie B2B
b351b893f7 Fix typo (#407) 2016-12-16 17:00:15 +01:00
Martin Hebnes Pedersen
c5e65204e2 Update gitea/sdk vendor (#406) 2016-12-16 16:26:35 +01:00
Andrey Nering
be7f006825 Revert "Disable coverage report for now" (#400) 2016-12-16 12:49:54 +01:00
Lunny Xiao
c6a5c3d868 fixed vulnerabilities on deleting release (#399) 2016-12-16 19:42:39 +08:00
Thomas Boerger
5f0f99bced Disable coverage report for now (#395)
Until aircover gets updated so that it works again I have disabled to
coverage report upload for now.
2016-12-15 12:26:34 +01:00
Thomas Boerger
b63a82d9a1 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
2016-12-15 17:16:55 +08:00
Sandro Santilli
c79e34987e 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
2016-12-15 16:56:46 +08:00
Lunny Xiao
1b6d07d8d8 fixed vulnerabilities (#392) 2016-12-15 16:49:06 +08:00
Lunny Xiao
fb12d964b8 Don't use custom PBKDF2 function (#382) 2016-12-15 09:24:27 +08:00
Lunny Xiao
18fe64aacd bug fixed branch name for pushupdate (#380) 2016-12-13 15:19:42 +08:00
Kim "BKC" Carlbäcker
3674147525 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
2016-12-13 12:48:58 +08:00
Denis Denisov
8e8127a403 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]
2016-12-12 08:46:51 +08:00
Bwko
43a5f37ca2 In the wiki title replace tab with a space (#371) 2016-12-11 11:01:26 +08:00
Bwko
d52818749f Fixes issue #283
Delete old temp local copy before we create a new temp local copy
2016-12-09 20:13:48 +01:00
Ethan Koenig
68806512c6 Bug fix for edit-hook API endpoint 2016-12-09 20:11:56 +01:00
Henning Henkel
cecc6c4825 Fix alignment of tooltip and add bindata - related to #359 (#364) 2016-12-08 20:59:47 +08:00
Ethan Koenig
e2c22ad5ec Remove stale comment in models/repo.go (#366) 2016-12-08 00:04:12 +01:00
Bwko
e3d7ef35ea Fix for #361, renamed username to login 2016-12-07 15:56:43 +01:00
Ethan Koenig
a0c1e6540b Bug fixes for repo permissions in API
Also move duplicated code into repo.APIFormat(..)
2016-12-07 12:55:24 +01:00
Henning Henkel
ad4f17eba7 Added download tooltip - solves #221 (#359) 2016-12-07 09:38:20 +01:00
Bwko
f54eb67012 Fixes panic when there's no user initialized (#358) 2016-12-06 21:58:34 +01:00
Thomas Boerger
1ded426ee9 Integrate templates into bindata optionally (#314)
Integrated optional bindata for the templates
2016-12-06 18:58:31 +01:00
Kim "BKC" Carlbäcker
e1b07800e4 Actually fix 'make build' (#353)
* Actually fix bloddy 'make build'
2016-12-05 18:35:22 +01:00
Thomas Boerger
02da27d80f Enabled bindata build tag and generate bindata (#352) 2016-12-05 23:39:45 +08:00
Kim "BKC" Carlbäcker
f89a546818 Awlays build, even when it thinks it's up to date (#351) 2016-12-05 22:58:04 +08:00
Thomas Boerger
de245ae3cf Merge pull request #348 from tboerger/release-fixes
Fix drone release publishing and test steps
2016-12-05 14:49:00 +01:00
Thomas Boerger
6b187951c1 Fixed build tags and deps for all build/test steps 2016-12-05 14:34:55 +01:00
Thomas Boerger
d221e0eae7 Properly move releases within drone builds 2016-12-05 14:31:49 +01:00
Antonio Facciolo
7364406de2 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
2016-12-05 12:25:45 +01:00
Kim "BKC" Carlbäcker
3145460e00 Fix regression in PR-API #248 (#349)
* Fix #344 (regression in PR-API #248)
2016-12-05 12:17:39 +01:00
Thomas Boerger
ed737da56e Merge pull request #347 from thehowl/fix-contributing-typos
Fix typos in CONTRIBUTING
2016-12-05 08:22:16 +01:00
Morgan Bazalgette
43e0749fbd Apply suggested changes 2016-12-04 22:50:36 +01:00
Morgan Bazalgette
d54e45dac7 Fix typos in CONTRIBUTING
Signed-off-by: Morgan Bazalgette <the@howl.moe>
2016-12-04 20:56:21 +01:00
Andrey Nering
78f333fc83 Merge pull request #345 from Bwko/fix_for_320
Fix for #320
2016-12-03 20:06:05 -02:00
Bwko
791cf430a4 Fix for #320
Suppress the error when we're removing a file that may not exist
2016-12-03 22:31:54 +01:00
Denis Denisov
08ee5adfb4 Safe compare password (timing attack) (#338) 2016-12-03 13:49:17 +08:00
Thomas Boerger
b8f0dd08f1 Merge pull request #334 from avelino/scripts_project_name_update
Fixed project name on scripts
2016-12-02 20:13:20 +01:00
Avelino
b757330b71 update SERVICENAME on init scripts 2016-12-02 15:52:28 -02:00
Kim "BKC" Carlbäcker
2947e7b332 [API] Pull Requests (#248) 2016-12-02 12:10:39 +01:00