summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [Fix] milestone close timestamp (#8728)65432019-10-291-1/+5
| | | | | | * BugFix: Update closed_date_unix colum on milestone table on close * go fmt
* Make 100% width search bar (#8710)jaqra2019-10-292-0/+7
| | | | | | * Make 100% width search bar * Use flex: auto instead of flex: 1
* Add notice to docs for migrating from more recent versions of Gogs (#8724)kolaente2019-10-281-0/+5
| | | Signed-off-by: kolaente <k@knt.li>
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-281-0/+15
|
* [Docs] add explicit info about customization of homepage (#8694)65432019-10-281-1/+7
| | | | | | | | | | * first draft * Update docs/content/doc/advanced/customizing-gitea.en-us.md Co-Authored-By: zeripath <art27@cantab.net> * add notice to restart
* Add basic repository lfs management (#7199)zeripath2019-10-2820-136/+1150
| | | | | | | | | | | | This PR adds basic repository LFS management UI including the ability to find all possible pointers within the repository. Locks are not managed at present but would be addable through some simple additions. * Add basic repository lfs management * add auto-associate function * Add functionality to find commits with this lfs file * Add link to find commits on the lfs file view * Adjust commit view to state the likely branch causing the commit * Only read Oid from database
* Move issue notifications (#8713)Lunny Xiao2019-10-297-55/+35
|
* update color theme for heatmap (#8709)May2019-10-282-10/+10
| | | Signed-off-by: May <themaymeow@gmail.com>
* Move issue change status from models to service (#8691)Lunny Xiao2019-10-286-54/+68
|
* Move more issue assignee code from models to issue service (#8690)Lunny Xiao2019-10-288-129/+193
| | | | | | * Move more issue assignee code from models to issue service * fix test
* Fix deadline on update issue or PR via API (#8696)David Svantesson2019-10-282-16/+14
| | | | | | * Fix deadline on update issue or PR via API * variable initialized directly (review comment)
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-272-13/+16
|
* Add myself as maintainer (#8708)jaqra2019-10-271-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-261-2/+2
|
* Move some repositories' operations to a standalone service package (#8557)Lunny Xiao2019-10-2610-89/+179
| | | | | | | | | | | | * Move some repositories' operations to a standalone service package * improve code * remove unused codes * add rollback when fork failed * add repo when return
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-262-0/+4
|
* Improve visibility of "Pending" indicator (#8685)guillep2k2019-10-263-1/+7
| | | | | | | | * Improve visibility of "Pending" indicator * Use background-color instead of just background * Tone down the yellow
* Mail assignee when issue/pull request is assigned (#8546)David Svantesson2019-10-2523-216/+333
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Send email to assigned user * Only send mail if enabled * Mail also when assigned through API * Need to refactor functions from models to issue service * Refer to issue index rather than ID * Disable email notifications completly at initalization if global disable * Check of user enbled mail shall be in mail notification function only * Initialize notifications from routers init function. * Use the assigned comment when sending assigned mail * Refactor so that assignees always added as separate step when new issue/pr. * Check error from AddAssignees * Check if user can be assiged to issue or pull request * Missing return * Refactor of CanBeAssigned check. CanBeAssigned shall have same check as UI. * Clarify function names (toggle rather than update/change), and clean up. * Fix review comments. * Flash error if assignees was not added when creating issue/pr * Generate error if assignee users doesn't exist
* Prevent chrome download page with alt + click (#8669)jaqra2019-10-251-0/+2
|
* Change external asciidoctor tool to embeded mode (#8677)Chris Sexton2019-10-251-1/+1
| | | | | | Ref #8676 * add the `-e` flag for embedded mode * add a level offset to include the title of the document
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-251-0/+40
|
* make call createMilestoneComment on newIssue func (#8678)jaqra2019-10-251-0/+4
| | | | | | * make call createMilestoneComment on newIssue func * make OldMilestoneID 0 instead of -1
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-242-1/+34
|
* Revert "API should follow RequireSignInView (#8654)" (#8675)Lunny Xiao2019-10-241-8/+1
| | | This reverts commit 3c63c3ace4bff1e0e796759a4676fcfff3c5c872.
* API should follow RequireSignInView (#8654)Lunny Xiao2019-10-241-1/+8
|
* Hide some user information via API if user have no enough permission (#8655)Lunny Xiao2019-10-242-5/+4
| | | | | | * Hide some user information via API if user have no enough permission * fix test
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-2412-12/+0
|
* Fix 500 when getting user as unauthenticated user (#8653)Monty Taylor2019-10-241-1/+1
| | | | | | | | When doing GET /api/v1/users/{user} as an unauthenticated user, gitea throws a 500 because it's trying to dereference elements from the context user. It wants to do this to see whether to show the primary email and will do that if the logged in user is admin or the user in question. However, if ctx.User is nil, go gets really unhappy.
* Use AppSubUrl for more redirections (#8647)zeripath2019-10-234-5/+5
| | | | Fix #8461 - fix misspelling of {{AppSubUrl}} and other misspelling in template Fixes /explore and organisation redirection
* Make /users/{username}/repos list private repos the current user has access ↵7FM2019-10-231-1/+1
| | | | to (#8621)
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-231-0/+1
|
* Improve OGP (#8637)John Olheiser2019-10-232-7/+21
| | | | | | | * Improve OGP * Ensure Repo is loaded when checking Pull info Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add 'Alt + click' feature to exclude labels (#8199)jaqra2019-10-237-7/+67
| | | | Add 'Alt + click' and 'Alt +enter' feature to exclude particular labels on searching for issues.
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-231-0/+9
|
* Graceful fixes (#8645)zeripath2019-10-235-7/+35
| | | | | | | | | | * Only attempt to kill parent once * Apply suggestions from code review Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * Add waitgroup for running servers
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-231-1/+1
|
* Docs: Added instructions for Docker fail2ban configuration. (#8642)Nathaniel Sabanski2019-10-231-3/+19
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-233-7/+7
|
* Fix extra columns from `label` table (#8633)guillep2k2019-10-233-4/+40
| | | | | | | | | | * Fix extra fields from database * Add migration to drop unneeded columns * Fix lint * Make sure the columns exist
* Enabling and disabling the commit button to prevent empty commits (web ↵Lukas2019-10-231-1/+21
| | | | | | | | | | | | | | | | editor) (#8590) * Enabling and disabling the commit button to prevent empty commits Signed-off-by: LukBukkit <luk.bukkit@gmail.com> * The button won't get enabled if you change the commit message Signed-off-by: LukBukkit <luk.bukkit@gmail.com> * Fixes a spelling mistake for 'silent' Signed-off-by: LukBukkit <luk.bukkit@gmail.com>
* Add SubURL to redirect path (#8632)John Olheiser2019-10-221-1/+1
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-222-11/+20
|
* [assets] configurable URL for static resources (#7911)Jakob Ackermann2019-10-2221-129/+211
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * static url * add cors support for static resources * [assets] work on the migration to configurable url for assets Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * [misc] fix whitespace Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * [assets] fix the loading of the manifest.json It is generated dynamically, and as such can not be served by the cdn. Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * Revert "add cors support for static resources" This reverts commit 42f964fd181dbb8b139808b9be623470d4f0e40f Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * [docs] add the STATIC_URL_PREFIX option Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * [docs] reverse-proxy: nginx: add two setups for STATIC_URL_PREFIX Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * [assets] migrate the url of a new asset to the static url prefix REF: f2a3abc683ad4b2177b7c7c6160a2c0b4316120a Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
* Correct some outdated statements in the contributing guidelines (#8612)Lukas2019-10-211-2/+4
| | | | | | | | | | | | | * More information for drone-cli in CONTRIBUTING.md * Increases the version of drone-cli to 1.2.0 * Adds a note for the Docker Toolbox on Windows Signed-off-by: LukBukkit <luk.bukkit@gmail.com> * Fix the url for the blog repository (now on gitea.com) Signed-off-by: LukBukkit <luk.bukkit@gmail.com>
* Prevent .code-view from overriding font on icon fonts (#8614)zeripath2019-10-212-2/+2
|
* Expose db.SetMaxOpenConns and allow non MySQL dbs to set conn pool params ↵zeripath2019-10-214-16/+24
| | | | | | | | (#8528) * Expose db.SetMaxOpenConns and allow other dbs to set their connection params * Add note about port exhaustion Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-211-12/+12
|
* Update heatmap fixtures to restore tests (#8615)zeripath2019-10-213-4/+4
| | | | | * Update heatmap fixtures to restore tests * Add hint to check the fixture age on fail
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-212-0/+2
|
* Add id references on all events to allow linking to it (#8608)David Svantesson2019-10-211-20/+20
|