aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [skip ci] Updated translations via CrowdinGiteaBot2019-01-143-0/+11
|
* Prioritize "readme.md" (#5691)Khaled Hamed2019-01-143-7/+47
| | | | | | | | * prioritize readme.md * Improve IsReadmeFile * Add more tests
* Ensure that sessions are passed into queries that could use the database to ↵zeripath2019-01-136-22/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prevent deadlocks (#5718) * Fixed deadlock in CreateComment * Fix possible deadlock in UpdateIssueDeadline from createDeadlineComment * Ensure that calls to IsTimeTracker enabled are called within session Signed-off-by: Andrew Thornton <art27@cantab.net> * Ensure that calls to reactionList are also called within session Signed-off-by: Andrew Thornton <art27@cantab.net> * Ensure all calls in NewPullRequest with the session are called within the session Signed-off-by: Andrew Thornton <art27@cantab.net> * Deal with potential deadlocks in repo Signed-off-by: Andrew Thornton <art27@cantab.net> * Ensure that isStaring is checked within our transaction Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix mistake in isOrganizationMember Sorry.
* Add flag to skip repository dumping (#5695)Zsombor2019-01-132-14/+24
|
* Discord Oauth2 support (#4476)techknowlogick2019-01-1310-26/+308
| | | | | | | | | | | | | | * add discord auth * add vendor for discord * fix syntax error * make fmt * update version of goth in use * update markbates/goth
* Refactor mail notification (#5110)Lunny Xiao2019-01-138-55/+190
| | | | | | | | * mail notification implement interface * fix file comment year * use NullNotifier as parent struct of notifiers
* fix: use correct value for "MSpan Structures Obtained" #4742 (#5706)Julian2019-01-121-1/+1
| | | Signed-off-by: Julian Tölle <julian.toelle97@gmail.com>
* Fix migration for user defined themes (#5682)Lanre Adelowo2019-01-121-1/+1
|
* Do not display the raw OpenID error in the UI (#5705)zeripath2019-01-121-1/+2
| | | | | | | | | | | | | | | | | * Do not display the raw OpenID error in the UI If there are no `WHITELIST_URIS` or `BLACKLIST_URIS` set in the openid section of the app.ini, it is possible that gitea can leak sensitive information about the local network through the error provided by the UI. This PR hides the error information and logs it. Fix #4973 Signed-off-by: Andrew Thornton <art27@cantab.net> * Update auth_openid.go Place error log within the `err != nil` branch.
* [skip ci] Updated translations via CrowdinGiteaBot2019-01-123-1/+10
|
* docker: stop modifying file permission before migrating database (#5707)Julian2019-01-121-1/+0
|
* allow user fork repo even when as a guest.. This will prompt the user to ↵Lanre Adelowo2019-01-102-1/+2
| | | | login and if authentication was successful, the user will be redirected to fork the repo (#5690)
* [skip ci] Updated translations via CrowdinGiteaBot2019-01-113-2/+20
|
* Add docs about database migration (#5661)Shikiryu2019-01-102-0/+2
| | | | | | * Add docs about database migration * Reorder upgrade from Gogs steps
* Update xorm to fix issue #5659 and #5651 (#5680)Zsombor2019-01-094-6/+11
|
* When redirecting clean the path to avoid redirecting to //www.othersite.com ↵zeripath2019-01-091-1/+1
| | | | | | | (#5669) Fix #5627 Signed-off-by: Andrew Thornton <art27@cantab.net>
* fix public will not be reused as public key after deleting as deploy key (#5671)Lunny Xiao2019-01-091-0/+5
|
* document command line flags (#5675)Lanre Adelowo2019-01-091-1/+7
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-01-091-0/+4
|
* Allow for user specific themes (#5668)Lanre Adelowo2019-01-0914-11/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | * add migration and basic UI for changing a user's theme * update user themem * use right text on button * load theme based on users' selection * load theme based on users' selection in pwa too * update sample config * delete older theme loading * implement AfterLoad to set users' theme properly * set up default theme when creating a user. This uses the installation wide theme * use flash messages for error * set default theme when creating a user from the cli * fix @lunny review
* Translate home template to Czech (#5665)Jan Breuer2019-01-081-0/+37
| | | Signed-off-by: Jan Breuer <jan.breuer@jaybee.cz>
* Added URL mapping for Release attachments like on github.com (#1707)gdeverlant2019-01-065-9/+71
|
* Display branch name in delete branch confirmation modal. (#5654)Harshit Bansal2019-01-063-6/+6
| | | Fixes: #5630.
* Only count users own actions for heatmap contributions (#5647)Julian2019-01-061-3/+13
| | | | Signed-off-by: Julian Tölle <julian.toelle97@gmail.com>
* fix commit page showing status for current default branch (#5650)Julian2019-01-061-1/+1
| | | Signed-off-by: Julian Tölle <julian.toelle97@gmail.com>
* migrate database if app.ini found (#5290)Pierre-Alexis Ciavaldini2019-01-051-0/+15
| | | | | | | | * migrate database if app.ini found * replacing hard-coded user id by env variable * Update per @zeripath's feedback
* Add docs on passing SSH through to container (#5019)Dane2019-01-051-0/+64
| | | | | | | | | | | | | | | | | * Add docs on passing SSH through to container Wasn't clear how to pass SSH connections through the container, found a few blog posts which described roughly the same procedure I've documented here. Credit should really go to: * https://blog.sakuragawa.moe/gitea-in-docker-container-and-sharing-ssh-with-host/ * http://www.ateijelo.com/blog/2016/07/09/share-port-22-between-docker-gogs-ssh-and-local-system Signed-off-by: Dane Elwell <dane.elwell@ukfast.co.uk> * Add note to resolve @lafriks feedback
* Fix sqlite deadlock when assigning to a PR (#5640)zeripath2019-01-046-9/+17
| | | | | | | | | | | | * Fix sqlite deadlock when assigning to a PR Fix 5639 Signed-off-by: Andrew Thornton <art27@cantab.net> * More possible deadlocks found and fixed Signed-off-by: Andrew Thornton <art27@cantab.net>
* Add changelog for 1.6.3 and 1.7.0-rc2 (#5636)Jonas Franz2019-01-041-0/+10
| | | | | | | | | | * Add changelog for 1.6.3 and 1.7.0-rc2 Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add missing point for 1.6.3 Signed-off-by: Jonas Franz <info@jonasfranz.software>
* [skip ci] Updated translations via CrowdinGiteaBot2019-01-042-78/+1101
|
* SECURITY: protect DeleteFilePost et al with cleanUploadFileName (#5631)zeripath2019-01-041-2/+18
| | | | | This commit wraps more of the TreePaths with cleanUploadFileName Signed-off-by: Andrew Thornton <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2019-01-041-0/+9
|
* Don't close issues via commits on non-default branch. (#5622)Harshit Bansal2019-01-042-40/+63
| | | | | | | | Adds a small check to close the issues only if the referencing commits are on the default branch. Fixes: #2314.
* Documentation: Clarity for HTTPS setups (#5626)v1.7.0-dev0x5c2019-01-032-3/+16
| | | | | | [https-setup] - Made it clearer that HTTP redirection is possible [config-cheat-sheet] - Clarified the behavihour of the redirection-related config keys
* [skip ci] Updated translations via CrowdinGiteaBot2019-01-031-0/+11
|
* Add changelog for 1.7.0-rc1 (#5616)Jonas Franz2019-01-031-0/+145
| | | | | | | | | | | | | | | | | | | | | | | | * Add changelog for 1.7.0-rc1 * Change position of refactoring of heatmap * Refactoring some items in changelog * Fix wrong PR title in changelog Signed-off-by: Jonas Franz <info@jonasfranz.software> * Remove backported PRs Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix wrong date Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add new PR to list * Security fixes have been backported
* Fix bug on modifying sshd username (#5624)Moshi Binyamini2019-01-021-1/+1
| | | Should fix #5623
* Update @jonasfranz's username (#5619)techknowlogick2019-01-021-1/+1
| | | | | | * Update @jonasfranz's username * lowercase'd username
* Update owners & Date in contributing (#5620)techknowlogick2019-01-021-1/+6
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-01-021-0/+3
|
* branch: Trigger update when deleting branch via UI. (#5617)Harshit Bansal2019-01-021-1/+13
| | | Fixes: #5309.
* Issue is not overdue when it is on the same date #5566 (#5568)Rodrigo Villablanca Vásquez2019-01-013-8/+14
| | | | | | | | | | * Due date time of issues and milestones is set to 23:59:59 * Add docs * make gen swagger * fix swagger gen
* mirror: Delete tags in mirror which are removed for original repo. (#5609)Harshit Bansal2018-12-312-2/+57
| | | | | | This bug was being caused by an error in the logic in `release.go`. Credit to @yasuokav for tracing the root of the issue. Fixes: #5192.
* update v71.go to resolve #5595 (#5613)Daniel Wolf2018-12-311-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2018-12-3110-11/+4
|
* Fix wrong text getting saved on editing second comment on an issue. (#5608)Harshit Bansal2018-12-313-3/+3
| | | | | | | | | | | | | | | | * 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: #5581. * 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.
* Webhook for Pull Request approval/rejection (#5027)Lanre Adelowo2018-12-276-20/+168
|
* Synchronize SSH keys on login with LDAP + Fix SQLite deadlock on ldap ssh ↵zeripath2018-12-274-18/+39
| | | | | | | | key deletion (#5557) * Synchronize SSH keys on login with LDAP * BUG: Fix hang on sqlite during LDAP key deletion
* LDAP via simple auth separate bind user and search base (#5055)Tony Homrich2018-12-274-17/+37
|
* Delete organization endpoint added (#5601)Shashvat Kedia2018-12-273-1/+49
| | | | | | | | | | * Delete organization endpoint added * Parameters added in comment * Typo fix * Newline character removed