aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Prevent upload (overwrite) of lfs locked file (#8769)David Svantesson2019-11-024-8/+40
| | | | | | | | | | | | * Check if file is locked on upload file commit. * Better user message if file is locked. * Check lfs lock before creating temporary repository. fix some errors. * move lines * Add comment that enabled setting is checked.
* On windows set core.longpaths true (#8776)zeripath2019-11-021-0/+8
|
* Move issue milestone assign to issue service and move webhook to ↵Lunny Xiao2019-11-029-68/+70
| | | | notification (#8780)
* Rename HookQueue to hookQueue (#8778)Lunny Xiao2019-11-0213-65/+19
| | | | | | * Rename HookQueue to hookQueue * fix lint
* Move labels webhooks to notification (#8749)Lunny Xiao2019-11-022-52/+50
| | | | | | * Move webhooks to notification * fix notification
* Project files table style update (#8757)May2019-11-021-4/+4
| | | | | | | | | | | | | | * add marking to title_wip_desc Signed-off-by: May <themaymeow@gmail.com> * update table styling Signed-off-by: May <themaymeow@gmail.com> * Update file table column width to 4:9:3 Signed-off-by: May <themaymeow@gmail.com>
* Move webhook to a standalone package under modules (#8747)Lunny Xiao2019-11-0120-478/+570
| | | | | | | | * Move webhook to a standalone package under modules * fix test * fix comments
* Unifies commit list in repository commit table and wiki revision page (#7907)Mario Lubenka2019-11-014-121/+101
| | | Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2019-11-011-0/+1
|
* doc:增加附件`ALLOWED_TYPES`取得MIME type的方法 (#8770)cnphpbb2019-11-011-0/+14
|
* Fix commit expand button to not go to commit link (#8745)Lauris BH2019-11-012-15/+29
| | | | | | | | | | * Fix commit expand button to not go to commit link * Fix message rendering to have correct HTML in result * Fix check for empty commit message * Code optimization
* Allow to merge if file path contains " or \ (#8629)Ilya2019-11-011-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * if a filename in a repository contains " or \ the owner can't merge pull request with this files because "git diff-tree" adds double quotes to that filepath example: filepath is ab"cd but "git diff-tree" returns "ab\"cd" now, when the owner click "Merge Pull Request" button the server returns 500 this commit fix it Signed-off-by: Ilya Pavlov <ilux@cpan.org> * add -z option to getDiffTree escape spec symbols for sparse-checkout Signed-off-by: Ilya Pavlov <ilux@cpan.org> * go fmt Signed-off-by: Ilya Pavlov <ilux@cpan.org> * typo Signed-off-by: Ilya Pavlov <ilux@cpan.org> * escape '\' escape all spaces and '!' * use regexp.ReplaceAllString() Signed-off-by: Ilya Pavlov <ilux@cpan.org> * strings.ReplaceAll was added in go 1.12 Signed-off-by: Ilya Pavlov <ilux@cpan.org> * add '\' to regexp.MustCompile Signed-off-by: Ilya Pavlov <ilux@cpan.org>
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-311-0/+4
|
* mark review comment as invalidated when file is deleted (#8751)succcubbus2019-10-311-0/+4
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-311-0/+7
|
* Allow cross-repository dependencies on issues (#7901)Brad Albright2019-10-3122-65/+354
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * in progress changes for #7405, added ability to add cross-repo dependencies * removed unused repolink var * fixed query that was breaking ci tests; fixed check in issue dependency add so that the id of the issue and dependency is checked rather than the indexes * reverted removal of string in local files becasue these are done via crowdin, not updated manually * removed 'Select("issue.*")' from getBlockedByDependencies and getBlockingDependencies based on comments in PR review * changed getBlockedByDependencies and getBlockingDependencies to use a more xorm-like query, also updated the sidebar as a result * simplified the getBlockingDependencies and getBlockedByDependencies methods; changed the sidebar to show the dependencies in a different format where you can see the name of the repository * made some changes to the issue view in the dependencies (issue name on top, repo full name on separate line). Change view of issue in the dependency search results (also showing the full repo name on separate line) * replace call to FindUserAccessibleRepoIDs with SearchRepositoryByName. The former was hardcoded to use isPrivate = false on the repo search, but this code needed it to be true. The SearchRepositoryByName method is used more in the code including on the user's dashboard * some more tweaks to the layout of the issues when showing dependencies and in the search box when you add new dependencies * added Name to the RepositoryMeta struct * updated swagger doc * fixed total count for link header on SearchIssues * fixed indentation * fixed aligment of remove icon on dependencies in issue sidebar * removed unnecessary nil check (unnecessary because issue.loadRepo is called prior to this block) * reverting .css change, somehow missed or forgot that less is used * updated less file and generated css; updated sidebar template with styles to line up delete and issue index * added ordering to the blocked by/depends on queries * fixed sorting in issue dependency search and the depends on/blocks views to show issues from the current repo first, then by created date descending; added a "all cross repository dependencies" setting to allow this feature to be turned off, if turned off, the issue dependency search will work the way it did before (restricted to the current repository) * re-applied my swagger changes after merge * fixed split string condition in issue search * changed ALLOW_CROSS_REPOSITORY_DEPENDENCIES description to sound more global than just the issue dependency search; returning 400 in the cross repo issue search api method if not enabled; fixed bug where the issue count did not respect the state parameter * when adding a dependency to an issue, added a check to make sure the issue and dependency are in the same repo if cross repo dependencies is not enabled * updated sortIssuesSession call in PullRequests, another commit moved this method from pull.go to pull_list.go so I had to re-apply my change here * fixed incorrect setting of user id parameter in search repos call
* Rewrite markdown rendering to blackfriday v2 and rewrite orgmode rendering ↵Lauris BH2019-10-3155-3730/+5767
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to go-org (#8560) * Rewrite markdown rendering to blackfriday v2.0 * Fix style * Fix go mod with golang 1.13 * Fix blackfriday v2 import * Inital orgmode renderer migration to go-org * Vendor go-org dependency * Ignore errors :/ * Update go-org to latest version * Update test * Fix go-org test * Remove unneeded code * Fix comments * Fix markdown test * Fix blackfriday regression rendering HTML block
* Changelog 1.9.5 (#8753) (#8756) (#8758)John Olheiser2019-10-301-0/+24
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-301-1/+18
|
* Move pull list code to a seperate file (#8748)Lunny Xiao2019-10-302-211/+224
|
* Changelog 1.10.0-rc2 (#8750) (#8754)John Olheiser2019-10-301-0/+26
| | | | | | * 1.10.0-rc2 Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-Authored-By: jaqra <48099350+jaqra@users.noreply.github.com>
* Adjust the must-change-password help (#8755)zeripath2019-10-301-1/+1
|
* Update licenses (#8752)zeripath2019-10-30111-503/+303
| | | Replaces #8182
* add __debug_bin file to gitignore (#8740)jaqra2019-10-301-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-301-0/+1
|
* Configurable close and reopen keywords for PRs (#8120)guillep2k2019-10-305-76/+198
| | | | | | | | | | * Add settings for CloseKeywords and ReopenKeywords * Fix and improve tests * Use sync.Once() for initialization * Fix unintended exported function
* Move webhook codes from service to webhook notification (#8712)Lunny Xiao2019-10-305-83/+94
| | | | | | | | * Move webhook codes from service to webhook notification * move deletecomment webhook to notifications * fix notification
* Move issue change content from models to service (#8711)Lunny Xiao2019-10-304-43/+63
| | | | | | * Move issue change content from models to service * fix lint
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-301-0/+20
|
* Create PR on Current Repository by Default (#8670)Benno2019-10-303-2/+35
| | | | | | | | | | | | | | * 'update' * Send push tag event when release created * send tag create event while release created in UI * update to go v1.13 * fix gofmt error * fix #8576 create pull request on current repository by default
* Respect LFS File Lock on UI (#8719)Benno2019-10-295-6/+61
| | | | | | | | * update #8687 respect file locking * upate #8687 Add LFS locker information * update #8719 enhance coding style and return error
* apply exclude label on milestone issue list (#8739)jaqra2019-10-291-3/+4
| | | | | | * apply exclude label on milestone issue list * remove __debug.bin file
* Show zero lines on the line counter if the file empty (#8700)Lukas2019-10-292-1/+6
| | | | | | | | | | * Show zero lines on the line counter if the file empty Signed-off-by: LukBukkit <luk.bukkit@gmail.com> * A single variable to check whether NumLines is set Signed-off-by: LukBukkit <luk.bukkit@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-292-1/+16
|
* add marking to title_wip_desc (#8705)May2019-10-293-1/+6
| | | Signed-off-by: May <themaymeow@gmail.com>
* [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