summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Telegram webhook (#4227)techknowlogick2019-04-1813-1/+478
|
* UX + Security current user password reset (#5042)AJ ONeal2019-04-187-57/+100
| | | | | | | | | | | | | | * allow current user to reset their own password * handle reset password edge cases properly and consistently * remove dangling assignment * properly label account recovery instead of reset password * remove 'Click here' from button * update English-only account-recovery templates
* [skip ci] Updated translations via CrowdinGiteaBot2019-04-1823-23/+4
|
* Comments list performance optimization (#5305)Lunny Xiao2019-04-184-40/+553
|
* Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314)Richard Mahn2019-04-1754-563/+4154
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-04-172-0/+15
|
* Add more title attributes on shortened names (#6647)zeripath2019-04-175-13/+13
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-04-1729-0/+29
|
* Pre-calculate the absolute path of git (#6575)Mura Li2019-04-172-1/+12
| | | | | | | | * Pre-caculate the absolute path of git * Do not repeat string literals which has been defined somewhere Also make it flexible to accept customized/user-defined value.
* OAuth2 Grant UI (#6625)Jonas Franz2019-04-178-6/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add oauth2 grants ui Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add delete functionality Add translations Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix unit tests Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix unit tests Signed-off-by: Jonas Franz <info@jonasfranz.software> * Refactor DeleteOAuth2Grant Use results.Close() Signed-off-by: Jonas Franz <info@jonasfranz.software> * Refactor DeleteOAuth2Grant (again) Signed-off-by: Jonas Franz <info@jonasfranz.software> * Check if user ID is zero Signed-off-by: Jonas Franz <info@jonasfranz.software> * Check if grant ID is zero Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add API for manipulating Git hooks (#6436)Segev Finer2019-04-1748-19/+1306
| | | | | | | | | | | | | | | | | | | | | | | | * Add API for manipulating Git hooks Signed-off-by: Segev Finer <segev@codeocean.com> * Replace code.gitea.io/sdk with PR branch temporarily for CI * Switch back to code.gitea.io/sdk@master * Return 403 instead of 404 on no permission to edit hooks in API * Add tests for Git hooks API * Update models/repo_list_test.go Co-Authored-By: segevfiner <segev208@gmail.com> * Update models/repo_list_test.go Co-Authored-By: segevfiner <segev208@gmail.com> * empty line
* Add SUBJECT_PREFIX mailer config option (#6605)zeripath2019-04-174-5/+12
| | | | | | | | * Add SUBJECT_PREFIX mailer config option * Add space between subject prefix and subject (Change from Gogs) Signed-off-by: Andrew Thornton <art27@cantab.net>
* Bump github.com/stretchr/testify from 1.2.2 to 1.3.0 (#6663)Antoine GIRARD2019-04-166-26/+52
| | | | | Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.2.2 to 1.3.0. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](https://github.com/stretchr/testify/compare/v1.2.2...v1.3.0)
* update swagger-ui (#6661)Antoine GIRARD2019-04-1612-51/+52
|
* [mod]: Bump gopkg.in/src-d/go-git.v4 from 4.8.0 to 4.10.0 (#6662)Antoine GIRARD2019-04-1628-189/+597
| | | | | Bumps [gopkg.in/src-d/go-git.v4](https://github.com/src-d/go-git) from 4.8.0 to 4.10.0. - [Release notes](https://github.com/src-d/go-git/releases) - [Commits](https://github.com/src-d/go-git/compare/v4.8.0...v4.10.0)
* [docker] let the ssh daemon speak for itself and drop the syslog daemon (#6529)Jakob Ackermann2019-04-164-10/+1
| | | | | | The sshd flag `-e` instructs sshd to output any logs to stderr instead of the syslog. Redirect this output to stdout then. Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
* Properly escape on the redirect from the web editor (#6657)zeripath2019-04-161-7/+8
|
* update highlight.js (#6658)silverwind2019-04-163-6/+5
|
* Fixes #6659 - Swagger schemes selection default to page's (#6660)Richard Mahn2019-04-161-15/+26
|
* Fix 6655 - there is no need to EscapePound .Link as it is already escaped ↵zeripath2019-04-161-1/+1
| | | | | (#6656) Signed-off-by: Andrew Thornton <art27@cantab.net>
* Fix dropdown icon padding (#6651)zeripath2019-04-162-1/+2
| | | Signed-off-by: Andrew Thornton <art27@cantab.net>
* Use ctx.metas for SHA hash links (#6645)mrsdizzie2019-04-163-4/+16
| | | | | | | | Since #6273 was merged, we now have access to proper context metas always. Update SHA generated links to use these instead of urlPrefix. Update tests as well. Fixes #4536.
* Fix wrong GPG expire date (#6643)Antoine GIRARD2019-04-152-6/+162
| | | | | | * fix expire of gpg relative to key creation https://tools.ietf.org/html/rfc4880#section-5.2.3.6 * add test
* Fix forking an empty repository (#6637)Segev Finer2019-04-152-7/+8
| | | | | Fixes #6633 Signed-off-by: Segev Finer <segev@codeocean.com>
* upgrade version of lib/pq to v1.1.0 (#6640)techknowlogick2019-04-1514-161/+526
| | | Adds SCRAM-SHA-256 authentication
* Update UI for topics labels on projects (#6639)하윤2019-04-155-7/+10
|
* Return a UserList from /api/v1/admin/users (#6629)zeripath2019-04-154-13/+50
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-04-151-0/+3
|
* Add json tags for oauth2 form (#6627)Jonas Franz2019-04-152-8/+31
|
* Remove trailing slash from twitter card (#6619)techknowlogick2019-04-141-1/+1
|
* remove bash requirement in makefile (#6617)techknowlogick2019-04-141-2/+1
|
* fix Open Graph og:image link (#6612)Andreas Shimokawa2019-04-141-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-04-141-1/+1
|
* add .gpg url (match github behaviour) (#6610)Antoine GIRARD2019-04-1410-20/+259
| | | | | | | | | | | | | | | | | | | | | | * add .gpg url (match github behaviour) * wildcard * test to export maximum data * working POC * add comment for old imported keys * cleaning * Update routers/user/profile.go Co-Authored-By: sapk <sapk@users.noreply.github.com> * add migration script * add integration tests
* Fix cross-compile builds (#6609)techknowlogick2019-04-141-6/+8
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-04-141-0/+1
|
* Add oauth2 documentation (#6604)Jonas Franz2019-04-143-0/+100
| | | | | | | | | | | | | | | | * Add oauth2 documentation Signed-off-by: Jonas Franz <info@jonasfranz.software> * Apply suggestions from code review Co-Authored-By: jonasfranz <info@jonasfranz.software> * Update docs/content/doc/advanced/oauth2-provider.md Co-Authored-By: jonasfranz <info@jonasfranz.software> * Update oauth2-provider.md
* [skip ci] Updated translations via CrowdinGiteaBot2019-04-131-0/+5
|
* backport 1.8.0-rc3 & 1.7.6 changelog (#6598)techknowlogick2019-04-131-0/+20
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-04-1312-12/+0
|
* FAQ (#6524)John Olheiser2019-04-123-97/+268
|
* Correctly adjust mirror url (#6593)zeripath2019-04-125-14/+70
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-04-121-0/+1
|
* Change summary to full message (#6591)John Olheiser2019-04-121-1/+1
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add option to disable refresh token invalidation (#6584)Jonas Franz2019-04-126-11/+57
| | | | | | | | | | | | | | | | | | * Add option to disable refresh token invalidation Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add integration tests and remove wrong todos Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix typo Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix tests and add documentation Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Improve issue autolinks (#6273)mrsdizzie2019-04-1213-37/+94
| | | | | | | | | | | | | | | | | | | | | | | | | * Improve issue autolinks Update autolinks to match what github does here: Issue in same repo: #1 Issue in different repo: org/repo#1 Fixes #6264 * Use setting.AppURL when parsing URL Using setting.AppURL here is a more reliable way of parsing the current URL and what other functions in this file seem to use. * Make ComposeMetas always return a valid context * Add per repository markdown renderers for better context * Update for use of context metas Now that we include the user and repo name inside context metas, update various code and tests for this new logic
* Support search operators for commits search (#6479)Mura Li2019-04-1241-21/+687
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Support searching commits with prefix syntax For now, support auther: committer: When more than one prefix is supplied is presented, the result is the union. When different prefixes are supplied, the result is the intersection. For example, "author:alice author:bob" => the result is all commits authored by Alice OR Bob "hello committer:alice" => the result is all commits committed by Alice AND has the keyword 'hello' in the message. Note that there should NOT have any space after the colon(:) of the prefix. For example, "author:bill" => correct "author: bill" => wrong * Remove unneeded logging * Add missing files of test repository * Add missing repo_unit entries to test fixtures * Update test cases * Add tooltip for commits search button * Update tooltip text I have no idea about how to format it with line breaks. * Make the usage example more real * Add a test case * Add new options struct for SearchCommits * Prefer len(s) > 0 over s != "" * Add NewSearchCommitsOptions
* fix bug user search API pagesize didn't obey ExplorePagingNum (#6579)Lunny Xiao2019-04-111-3/+0
|
* fix mail notification when close/reopen issue (#6581)Lunny Xiao2019-04-112-7/+30
|
* Fix new repo alignment (#6583)John Olheiser2019-04-112-1/+5
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>