7242 Commits (b2e9894988a8cb486f8838f4bf532401124802c4)
 

Author SHA1 Message Date
zeripath b2e9894988 Fix reported issue in repo description (#6306) 5 years ago
zeripath 663874e8be Use url.PathEscape to escape the branchname (#6304)
* Use url.PathEscape to escape the branchname

* GetRepositoryByOwnerAndName should also have url.PathEscape as the owner and reponame are provided by the client
5 years ago
Richard Mahn 50631b5ac3 Updates vendor/code.gitea.io/git (#6286) 5 years ago
GiteaBot 7c205607b5 [skip ci] Updated translations via Crowdin 5 years ago
MysticBoy f9627ede3c Update third-party-tools.en-us.md (#6301)
Add  Gitea Extension for Visual Studio
5 years ago
Lunny Xiao 4334fe754e
update git vendor to fix wrong release commit id and add migrations (#6224)
* update git vendor to fix wrong release commit id and add migrations

* fix count

* fix migration release

* fix tests
5 years ago
Jonas Franz 2315019fef Add support for client basic auth for exchanging access tokens (#6293)
* Add support for client basic auth for exchanging access tokens

* Improve error messages

* Fix tests
5 years ago
GiteaBot e0eb6514d2 [skip ci] Updated translations via Crowdin 5 years ago
zeripath dbab98c8e0 Remove util.RemoveAll - should have been removed since go 1.7 (#6299) 5 years ago
GiteaBot e836b8869b [skip ci] Updated translations via Crowdin 5 years ago
Aidan Fitzgerald f5cf9a8355 Copyedit docs (#6275) 5 years ago
Jonas Franz 8fffb06168
Add regenerate secret feature for oauth2 (#6291)
* Add regenerate secret functionality

* Fix lint
5 years ago
John Olheiser 8211e01d9e Add unit types to repo action URL to correctly show 404 when archived (#6247)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago
GiteaBot f7ffb190c6 [skip ci] Updated translations via Crowdin 5 years ago
techknowlogick 96f1720d69
Use golang 1.12 to build in dockerfile (#6285) 5 years ago
John Olheiser 5c69e31c22 Add security note to issue template (#6281) 5 years ago
GiteaBot 062de8e86f [skip ci] Updated translations via Crowdin 5 years ago
John Olheiser bd4be434ff Third party docs (#6282) 5 years ago
GiteaBot 489419c330 [skip ci] Updated translations via Crowdin 5 years ago
Jonas Franz e777c6bdc6 Integrate OAuth2 Provider (#5378) 5 years ago
Antoine GIRARD 9d3732dfd5 [Contrib] Checkout a PR (#6021) 5 years ago
techknowlogick 9fd8b2621f
Add robots.txt as reserved username (#6272)
Fix #6271
5 years ago
mrsdizzie f2de5dc8c8 Replace linkRegex with xurls library (#6261)
* 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.
5 years ago
GiteaBot 01bd1fcd33 [skip ci] Updated translations via Crowdin 5 years ago
mrsdizzie 020075e12f Remove visitLinksForShortLinks features (#6257)
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.
5 years ago
GiteaBot ad86b843e1 [skip ci] Updated translations via Crowdin 5 years ago
John Olheiser 608781f880 Fix fork button (#6223) 5 years ago
GiteaBot 6460cff222 [skip ci] Updated translations via Crowdin 5 years ago
Zsombor f80caa5a8c Fix #6234 : Check organization visibility before everything else (#6235)
* Fix #6234 : Check organization visibility before everything else

* Ensure that Owner is available in the Repo
5 years ago
stevegt b257e0456b Add ability to sort issues by due date (#6206) (#6244)
Signed-off-by: Steve Traugott <stevegt@t7a.org>
5 years ago
Muhammed TİFTİKÇİ 4512634604 Make organization dropdown scrollable when using mouse wheel (#5988)
* Fix #5580
5 years ago
zeripath f066bd2b3f Prevent double-close of issues (#6233) 5 years ago
Maurizio Porrato 19862699cd Override xorm type mapping for U2F counter (#6232) 5 years ago
Lanre Adelowo 141c58f5a6 add isAdmin to user model (#6231)
update vendor and add tests

fix swagger
5 years ago
Martin Delille 8e202e28ad add create issue via email comparison (#6227) 5 years ago
James E. Blair a5604b1611 Fix renames over redirects (#6216)
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>
5 years ago
Martin Delille b28e527a2b add service desk to comparison (#6220)
* add service desk to comparison

* add link to issue
5 years ago
GiteaBot afdc0ca41d [skip ci] Updated translations via Crowdin 5 years ago
John Olheiser c01fb4d09e Update to docs README (#6221)
* Update to docs README

* Update Hugo link
5 years ago
silverwind 8e266c3193 UI: Fix race in update issue labels and assignees (#6194)
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>
5 years ago
mrsdizzie 4a2e92bcd1 Modify linkRegex to require http|https (#6171)
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
5 years ago
John Olheiser 4b7237b63e Doc updates for customization and installation. (#6176)
* 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
5 years ago
GiteaBot 1cf3fc3bc5 [skip ci] Updated translations via Crowdin 5 years ago
Lunny Xiao c812ba7f87
fix display dashboard even if require to change password (#6214)
* fix display dashboard even if require to change password

* fix comments
5 years ago
James E. Blair 48c101affe Create a repo redirect when transferring ownership (#6210) (#6211)
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>
5 years ago
tklein23 525f03306f Add "ghost" and "notifications" to list of reserved user names. (#6208) 5 years ago
zeripath 25b6496f48 Add Changelog for 1.7.3 (#6202) (#6207) 5 years ago
John Olheiser 7548037a64 Adds MustChangePassword to user create/edit API, defaults to true (#6193)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago
silverwind b1ffe7e47b UI: Style tweaks to issue selection (#6196)
- Prevent jump in layout when selecting the first issue
- Remove useless padding on top of first issue
5 years ago
GiteaBot a1214978b3 [skip ci] Updated translations via Crowdin 5 years ago