4646 Commits (b33078fa33441c33c5d018b1b9a248c646549842)
 

Author SHA1 Message Date
Thomas Boerger b33078fa33 Bindata is optional and over-writable on restart (#354)
* Moved conf assets into options folder

* Dropped old bindata

* Started to integrate options bindata and accessors

* Do not enforce a builtin app.ini

* Replaced bindata calls with options

* Dropped bindata task from makefile, it's the generate task now

* Always embedd app.ini to provide sane config defaults

* Use sane defaults for the configuration

* Defined default value for SSH_KEYGEN_PATH

* Dropped "NEVER EVER MODIFY THIS FILE" header from app.ini

* Fixed new paths in latest test additions

* Drop bindata with make clean task

* Set more proper default values
8 years ago
Lunny Xiao c21e2c4151 fix tag webhook 404 error (#420) 8 years ago
Lunny Xiao 0e1392501d Check if file is a symlink with web editor (#3687) (#445)
* Check if file is a symlink with web editor (#3687)

* editor checks for symlinks

* translate file_is_a_symlink message

* credit translation author

* fix error constant
8 years ago
Lunny Xiao e0ecd9fd93 fix bug #1122 log.smtp receiver configure error (#3602) (#451) 8 years ago
Lunny Xiao 65b1875d2b New settings option for a custom SSH host (#3763) (#446)
* New settings option for a custom SSH host (#3763)

* let default ssh listen addr empty
8 years ago
Lunny Xiao 11df7ebfc5 init script gentoo (#447)
* init script for gentoo (#3761)

* replace Gogs to Gitea

* remove override port number

* remove port
8 years ago
Lunny Xiao 47a7529d96 update code.gitea.io/git (#450) 8 years ago
Lunny Xiao 0c5c34d7dd UpdateIssueUsersByMentions was calling database write operations while (#443)
a transaction session was in progress. MailParticipants was failing
silently because of the SQLITE_LOCKED error. Make sure failures in
MailParticipants enter the log, and pass on the transaction context.

issue: let caller pass in database context, and use it
issue_comment: obtain database context to pass to UpdateIssueMentions
issue_comment: log any error from call to MailParticipants
issue_mail: pass on database context to UpdateIssueMentions
8 years ago
Ethan Koenig 4c89a9c33c Bug fixes and tests for modules/base (#442)
Also address other TODOs
8 years ago
Kim "BKC" Carlbäcker df7fa4e995 issue comment api fix (#449)
* ListAllInRepo & Delete Issue-Comments

* Moar data in issue-comments
8 years ago
Alexander Lunegov d5d21b67d2 Fix string format verbs (#3637) 8 years ago
Lunny Xiao c46eb3f5b3 Fix homepage docs link broken (#417)
* fix homepage docs link broken

* fix homepage docs links after docs updated
8 years ago
Lunny Xiao f8d94cb440 Update locales (#440)
* Update locales

* replace Gogs to Gitea
8 years ago
Lunny Xiao 2197d298cb Add Korean support (#437)
* Add Korean support

* replace Gogs to Gitea
8 years ago
Joubert RedRat ce21ed6c34 Remove remaining Gogs reference on locales and cmd (#430) 8 years ago
Thomas Boerger 618407c018 Do not override the binary version name from drone (#436)
Signed-off-by: Thomas Boerger <tboerger@suse.de>
8 years ago
Andrey Nering 111c95ecaf Change default Android theme color meta tag (#389) 8 years ago
Andrey Nering 235eb4c3d2 Merge pull request #412 from strk/libravatar-source
Add support for using "libravatar" as the GravatarSource
8 years ago
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
8 years ago
Andrey Nering 952587dbae Merge pull request #422 from mjwwit/master
Change test mail subject and body to 'Gitea Test Mail!'
8 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>
8 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
8 years ago
Sandro Santilli 608a60fb94 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"
8 years ago
Lunny Xiao 8559d6f267 add ZH readme (#405) 8 years ago
Lunny Xiao 7c46667e71 fixed vulnerabilities labels (#409) 8 years ago
Richie B2B 44428fdc38 Remove fixed FIXME (#408) 8 years ago
Richie B2B 0d6e88baef Fix typo (#407) 8 years ago
Martin Hebnes Pedersen b11843b8dc Update gitea/sdk vendor (#406) 8 years ago
Andrey Nering 578a8e258e Revert "Disable coverage report for now" (#400) 8 years ago
Lunny Xiao 15c3d14d55 fixed vulnerabilities on deleting release (#399) 8 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.
8 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
8 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
8 years ago
Lunny Xiao b4c794058a fixed vulnerabilities (#392) 8 years ago
Lunny Xiao d771e978a1 Don't use custom PBKDF2 function (#382) 8 years ago
Lunny Xiao 73710c00a8 bug fixed branch name for pushupdate (#380) 8 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
8 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]
8 years ago
Bwko abcd39f7d5 In the wiki title replace tab with a space (#371) 8 years ago
Bwko cbcb4361d5 Fixes issue #283
Delete old temp local copy before we create a new temp local copy
8 years ago
Ethan Koenig 7b5b5178e1 Bug fix for edit-hook API endpoint 8 years ago
Henning Henkel bab737bf02 Fix alignment of tooltip and add bindata - related to #359 (#364) 8 years ago
Ethan Koenig 401a8db0ed Remove stale comment in models/repo.go (#366) 8 years ago
Bwko 39d0db52de Fix for #361, renamed username to login 8 years ago
Ethan Koenig 04b9a7e7a2 Bug fixes for repo permissions in API
Also move duplicated code into repo.APIFormat(..)
8 years ago
Henning Henkel 08b9af9ad8 Added download tooltip - solves #221 (#359) 8 years ago
Bwko 026ad4aee7 Fixes panic when there's no user initialized (#358) 8 years ago
Thomas Boerger 83ed234472 Integrate templates into bindata optionally (#314)
Integrated optional bindata for the templates
8 years ago
Kim "BKC" Carlbäcker 1b5b297c39 Actually fix 'make build' (#353)
* Actually fix bloddy 'make build'
8 years ago
Thomas Boerger 2b63f32b8a Enabled bindata build tag and generate bindata (#352) 8 years ago