Commit Graph

6937 Commits (b46c2795877c721f738472073ae5b03ecceb6c0a)
 

Author SHA1 Message Date
Daniel Wolf b46c279587 update v71.go to resolve ()
GiteaBot 64995bae0f [skip ci] Updated translations via Crowdin
Harshit Bansal 2c7661a524 Fix wrong text getting saved on editing second comment on an issue. ()
* comments: Fix an incorrent DOM element selection.

This commit fixes a bug that was causing text from previously edited
comment to get saved when two comments were edited one after other.
Text area with id of `#content` isn't unique on the page but it was
being treated as unique by the event handling code.

Fixes: .

* templates: Remove `id` from textarea in commit edit form.

An element is assigned an `id` only if it is unique for the whole page
but in this case there can be multiple textarea so it should have one.
Lanre Adelowo 945804f800 Webhook for Pull Request approval/rejection ()
zeripath 8bb0a6f425 Synchronize SSH keys on login with LDAP + Fix SQLite deadlock on ldap ssh key deletion ()
* Synchronize SSH keys on login with LDAP

* BUG: Fix hang on sqlite during LDAP key deletion
Tony Homrich 2058c362a8 LDAP via simple auth separate bind user and search base ()
Shashvat Kedia 6e20b504b1 Delete organization endpoint added ()
* Delete organization endpoint added

* Parameters added in comment

* Typo fix

* Newline character removed
Lanre Adelowo 21357a4ae0 fix nil pointer when adding a due date ()
* fix nil pointer

* remove nil check and just call loadRepo regardless
Lanre Adelowo a82ba73346 Make sure argsSet verifies string isn't empty too ()
Julian 4a685f8b87 Add rebase with merge commit merge style () ()
Signed-off-by: Julian Tölle <julian.toelle97@gmail.com>
Michael Lustfield 58bdff53cd Remove MTecknology from MAINTAINERS ()
GiteaBot b0b35493ec [skip ci] Updated translations via Crowdin
Shashvat Kedia ba2c02b75d Fix route in swagger ()
GiteaBot 4586ae390f [skip ci] Updated translations via Crowdin
Charles f0db86b663 Gitlab does have discord integration now ()
Antoine GIRARD 9f544e9356 drone/mssql: use golang 1.11 build like the other tests ()
BetaCat a06ae0bdc7 Fix translation errors in doc advanced part (zh-cn) ()
* ZH-CN translation of Advanced part

* Fix translation errors

* Resolve issues
techknowlogick b77c3eb5bd
backport 1.6.2 changelog ()
Mura Li 9a33798b30 Fix type mismatch of format string ()
zeripath 330bf8d3b3 Immediate fix to htmlEncode user added text ()
There are likely problems remaining with the way that initCommentForm
is creating its elements. I suspect that a malformed avatar url could
be used maliciously.
Lunny Xiao 4a02a783c4 fix bug on upload file name ()
Antoine GIRARD 7cb1d8296d Create stale bot config ()
GiteaBot 8dc09edb04 [skip ci] Updated translations via Crowdin
Lunny Xiao 9d0dee88d2
fix table name typo on SQL ()
* fix table name typo on SQL

* fix reserved word user when on mssql
Lunny Xiao b65e37ed72
fix indexer reindex bug when gitea restart ()
* fix issue indexer bug reindex when restart gitea

* also fix code indexer reindex when gitea restart
zeripath c64963553a Update Licenses ()
Lunny Xiao 7fd34c0517
fix lfs version check warning log when using ssh protocol ()
zeripath 2a660a1de1 Support reverse proxy providing email ()
This PR implements 
Lunny Xiao fe55ab2a68 fix forgot removed records when deleting user ()
* fix forgot removed records when deleting user

* fix migration

* fix rewritekey lock on sqlite

* remove unused codes
Jonas Franz e726e4b828 Add base repo nil check ()
Signed-off-by: Jonas Franz <info@jonasfranz.software>
GiteaBot 8730ee0e45 [skip ci] Updated translations via Crowdin
Jonas Franz 94c3963da0
Fix makefile generate buildstep ()
Signed-off-by: Jonas Franz <info@jonasfranz.software>
Lunny Xiao b3b7598ec6 Improve performance of dashboard ()
GiteaBot 49ea6e0deb [skip ci] Updated translations via Crowdin
Greg Karékinian ebef3eff23 Remove a double slash in the HTTPS redirection when Let's Encrypt is enabled ()
Before:

$ curl 0.0.0.0:3001
<a href="https://gitea.example.com:3000//">Found</a>.

After:

$ curl 0.0.0.0:3001
<a href="https://gitea.example.com:3000/">Found</a>.

Fixes 
GiteaBot 0bd802e3e1 [skip ci] Updated translations via Crowdin
Lunny Xiao f0374ad1ad fix bug when a read perm user to edit his issue ()
Lunny Xiao af6bce3ad5 fix detect force push failure on deletion of protected branches ()
kolaente 6db7dbd333 Added test environment for mssql ()
* Added test environment for m$sql

* Added template for test environment for m$sql

* Fix password

* Fix password (again)

* Fix password (again again)

* Fix db

* Ci trigger (Looking at you drone....)

* Ci trigger (Looking at you drone....)

* Ci trigger (Looking at you drone....)

* Ci trigger (Looking at you drone....)

* Create master database for mssql integration tests

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Create database only if master do not exist

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Fix mssql integration tests by using custom database "gitea"

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Moved defer

* bump xorm

* updated xorm

* Fixed build
Lunny Xiao b1f3685015 fix approvals limitation ()
Lunny Xiao 58c4559d3b fix permission check on api create org ()
Lunny Xiao ba75319157 fix clone wiki failed via ssh ()
Lunny Xiao ccea91652f fix adding reaction fail for read permission ()
Lunny Xiao 6e114f6791 add git protocol v2 support via SSH on Docker image ()
* add git protocol v2 support via SSH on Docker image

* remove new layer on dockerfile
Greg Karékinian 15d6cf179d Fix the Let's Encrypt handler by listening on a valid address ()
* Fix the Let's Encrypt handler by listening on a valid address

Also handle errors in the HTTP server go routine, return a fatal error
when something goes wrong.

Thanks to @gbl08ma for finding the actual bug

Here is an example of the error handling:

    2018/12/11 14:23:07 [....io/gitea/cmd/web.go:87 func1()] [E] Failed to
    start the Let's Encrypt handler on port 30: listen tcp 0.0.0.0:30: bind:
    permission denied

Closes 

* Fix a typo
Jonas Franz 9681c83734 Approvals at Branch Protection ()
* Add branch protection for approvals

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add required approvals

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add missing comments and fmt

Signed-off-by: Jonas Franz <info@jonasfranz.software>

* Add type = approval and group by reviewer_id to review

* Prevent users from adding negative review limits

* Add migration for approval whitelists

Signed-off-by: Jonas Franz <info@jonasfranz.software>
Christopher 64680b72bd Fixing MSSQL timestamp type ()
MSSQL is using the wrong type here which results in a strconv.ParseInt: parsing "2018-12-07T00:00:00Z": invalid syntax error.
The added datediff(SECOND, '19700101', x) results in the unix timestamp to be returned.

Signed-off-by: Christopher Dziomba <christopher.dziomba@gmail.com>
GiteaBot 205a533645 [skip ci] Updated translations via Crowdin
Lunny Xiao 284b0e12cb
fix code review on mssql ()
GiteaBot 8a64e67456 [skip ci] Updated translations via Crowdin