aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Integrate OAuth2 Provider (#5378)Jonas Franz2019-03-0837-11/+2667
|
* [Contrib] Checkout a PR (#6021)Antoine GIRARD2019-03-072-0/+260
|
* Add robots.txt as reserved username (#6272)techknowlogick2019-03-071-0/+1
| | | Fix #6271
* Replace linkRegex with xurls library (#6261)mrsdizzie2019-03-079-3/+2038
| | | | | | | | | | | | | | | | | | | | * Replace linkRegex with xurls library Rather than maintaining a complicated regex to match URLs for autolinking, gitea can use this existing go library that takes care of the matching with very little code change to gitea itself. After spending a while trying to find the perfect regex for all cases this library still works better as it is more flexible than a single regex ever will be. This will also fix the following issues: #5844 #3095 #3381 This passes all our current tests and I've added new ones mentioned in those issues as well. * Use xurls.StrictMatchingScheme instead of xurls.Strict This is much faster and we only care about https? links to preserve existing behavior.
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-074-13/+16
|
* Remove visitLinksForShortLinks features (#6257)mrsdizzie2019-03-072-14/+9
| | | | | | | | | | | | | | | | | | | | | | The visitLinksForShortLinks feature would look inside of an <a> tag and run shortLinkProcessorFull on any text, which attempts to create links out of potential 'short links' like [[test]] [[link|example]] etc... This makes no sense because you can't have nested links within an <a> tag. Specifically, the html5 standard says <a> tags can't include interactive content if they contain the href attribute: http://w3c.github.io/html/single-page.html#the-a-element And also defines an <a> element with a href attribute as interactive: http://w3c.github.io/html/single-page.html#interactive-content Therefore you can't really put a link inside of another link. In practice none of this works anyways since browsers won't render it, it would probably be broken if they tried, and it is causing a bug (#4946). No current tests rely on this behavior either. This removes the feature and also explicitly excludes the current visitNodeForShortLinks from looking in <a> tags.
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-061-0/+7
|
* Fix fork button (#6223)John Olheiser2019-03-053-2/+22
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-051-9/+28
|
* Fix #6234 : Check organization visibility before everything else (#6235)Zsombor2019-03-051-0/+11
| | | | | | * Fix #6234 : Check organization visibility before everything else * Ensure that Owner is available in the Repo
* Add ability to sort issues by due date (#6206) (#6244)stevegt2019-03-054-0/+10
| | | Signed-off-by: Steve Traugott <stevegt@t7a.org>
* Make organization dropdown scrollable when using mouse wheel (#5988)Muhammed TİFTİKÇİ2019-03-043-29/+8
| | | * Fix #5580
* Prevent double-close of issues (#6233)zeripath2019-03-041-1/+7
|
* Override xorm type mapping for U2F counter (#6232)Maurizio Porrato2019-03-044-1/+43
|
* add isAdmin to user model (#6231)Lanre Adelowo2019-03-036-2/+28
| | | | | update vendor and add tests fix swagger
* add create issue via email comparison (#6227)Martin Delille2019-03-021-0/+1
|
* Fix renames over redirects (#6216)James E. Blair2019-03-021-1/+17
| | | | | | | | | | | | | | | | In #6211, we started creating repo_redirects for ownership transfers, however that opens an edge case where a user might perform the following sequence: rename org1/repo1 -> org1/repo2 (creates org1/repo1 redirect) transfer org2/repo1 -> org1/repo1 (org1/repo1 redirect continues to exist) rename org1/repo1 -> org1/repo3 (fails due to existing org1/repo1 redirect) This change ensures that each time we rename or transfer a repo, we delete any existing redirects at the target location. This already happens when a new repo is created. By doing this we ensure that we'll never have both a repo and a redirect at the same location. Signed-off-by: James E. Blair <jeblair@redhat.com>
* add service desk to comparison (#6220)Martin Delille2019-03-021-0/+1
| | | | | | * add service desk to comparison * add link to issue
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-011-3/+69
|
* Update to docs README (#6221)John Olheiser2019-03-011-7/+3
| | | | | | * Update to docs README * Update Hugo link
* UI: Fix race in update issue labels and assignees (#6194)silverwind2019-02-286-32/+35
| | | | | | | | | | Fix #6191 * fix issue update race condition * fix similar race same race when clearing assignee * always load promise polyfill * replace es6-promise with promise-polyfill * move promise-polyfill to <head>
* Modify linkRegex to require http|https (#6171)mrsdizzie2019-02-282-1/+63
| | | | | Modify the current linkRegex to require http|https which appears to be the intended behavior based on the comments. Right now, it also matches anything starting with www as well. Also add testing for linkRegex
* Doc updates for customization and installation. (#6176)John Olheiser2019-02-282-6/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Doc updates and changing default sqlite DB path Signed-off-by: jolheiser <john.olheiser@gmail.com> * Update customizing locales and THEMES Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add link to templates directory Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add portion for final step of running Gitea Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add recommended to service file usage Signed-off-by: jolheiser <john.olheiser@gmail.com> * Removed DB path change, moving to another PR Updated doc sentence structure Signed-off-by: jolheiser <john.olheiser@gmail.com> * Revert change to template wording Signed-off-by: jolheiser <john.olheiser@gmail.com> * Move recommended run-type to top
* [skip ci] Updated translations via CrowdinGiteaBot2019-02-281-0/+7
|
* fix display dashboard even if require to change password (#6214)Lunny Xiao2019-02-282-14/+16
| | | | | | * fix display dashboard even if require to change password * fix comments
* Create a repo redirect when transferring ownership (#6210) (#6211)James E. Blair2019-02-282-1/+9
| | | | | | | When transferring ownership of a repo to a different user/org, create a repo redirect that points to the new location in the same way that is done when a repo is renamed. Signed-off-by: James E. Blair <jeblair@redhat.com>
* Add "ghost" and "notifications" to list of reserved user names. (#6208)tklein232019-02-271-0/+2
|
* Add Changelog for 1.7.3 (#6202) (#6207)zeripath2019-02-271-2/+16
|
* Adds MustChangePassword to user create/edit API, defaults to true (#6193)John Olheiser2019-02-273-10/+18
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* UI: Style tweaks to issue selection (#6196)silverwind2019-02-272-2/+5
| | | | - Prevent jump in layout when selecting the first issue - Remove useless padding on top of first issue
* [skip ci] Updated translations via CrowdinGiteaBot2019-02-271-0/+26
|
* Change sqlite DB path default to data directory (#6198)John Olheiser2019-02-271-1/+2
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-02-261-1/+24
|
* Use go 1.12 for tests and deprecate go 1.9 (#6186)techknowlogick2019-02-271-22/+22
| | | Blocked until 1.12 docker images are released
* fix bug when migrate repository 500 when repo is existed (#6188)Lunny Xiao2019-02-262-0/+10
| | | | | | | | * fix bug when migrate repository 500 when repo is existed * use 409 but not 422 for error status code when not exist * translation fix
* Increase Username and Orgname MaxSize 35 -> 40 (#6178)Segev Finer2019-02-259-12/+47
| | | | | | | | | | | | | | * Increase Username and Orgname MaxSize 35 -> 40 Signed-off-by: Segev Finer <segev@codeocean.com> * Dep update code.gitea.io/sdk Signed-off-by: Segev Finer <segev@codeocean.com> * Run generate-swagger Signed-off-by: Segev Finer <segev@codeocean.com>
* [skip ci] Updated translations via CrowdinGiteaBot2019-02-251-0/+50
|
* UI: Fix scrollbar always present on page body (#6177)silverwind2019-02-252-3/+3
|
* UI: Make document body a flexbox (#6139)silverwind2019-02-2411-18/+7
| | | | | | | | | | | | * UI: Make document body a flexbox Fixes: https://github.com/go-gitea/gitea/issues/6118 * ie11 fixes * increase padding to 80px * add flex-grow
* fix bug when set indexer as db and add tests (#6173)Lunny Xiao2019-02-243-3/+30
|
* Refactor coverage profile with multiple packages (#6167)Bo-Yi Wu2019-02-231-1/+1
|
* feat(docker): speed up docker build. (#6159)Bo-Yi Wu2019-02-231-0/+11
| | | | | | | | * feat(docker): speed up docker build. * feat: add docker dryrun * fix: remove docker username and password if dryrun
* fix bug user could change private repository to public when force private ↵Lunny Xiao2019-02-222-1/+9
| | | | enabled. (#6156)
* fix bug when update owner team then visit team's repo return 404 (#6119)Lunny Xiao2019-02-223-2/+20
|
* Make repo creation for API similar to UI (#6142)John Olheiser2019-02-211-0/+3
|
* Allow display of LFS stored Readme.md on directory page (#6073) (#6099)zeripath2019-02-211-26/+88
| | | | | | | | | | | | | | | | | | * Fix display of >1Kb LFS text files * Make LFS stored Readme files viewable Signed-off-by: Andrew Thornton <art27@cantab.net> * Slight restructure Signed-off-by: Andrew Thornton <art27@cantab.net> * Slight restructure Signed-off-by: Andrew Thornton <art27@cantab.net> * catch errors and restructure LFS sections
* Admins can now do unlimited page size user search (listAllUsers & ↵John Olheiser2019-02-212-1/+4
| | | | | listAllOrgs) (#6143) Non-admins will default to 10 page size
* Add more tests and docs for issue indexer, add db indexer type for searching ↵Lunny Xiao2019-02-2112-11/+174
| | | | | | | | | | | | | | from database (#6144) * add more tests and docs for issue indexer, add db indexer type for searching from database * fix typo * fix typo * fix lint * improve docs
* refactor issue indexer, add some testing and fix a bug (#6131)Lunny Xiao2019-02-2111-171/+231
| | | | | | | | * refactor issue indexer, add some testing and fix a bug * fix error copyright year on comment header * issues indexer package import keep consistent
* Makefile changes for Windows and easier development (#6103)John Olheiser2019-02-203-4/+12
| | | | | | | | * Added Go Path and node_modules to PATH * Uses npx now for generate-stylesheets * Uses `go env GOPATH` to calculate adding GOPATH/bin to PATH * Added note about installing Node 8.0+ to generate stylesheets * Added preferred Node version to CONTRIBUTING.md