aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix heatmap and repository menu display in Internet Explorer 9+ (#6117)Lauris BH2019-02-195-8/+121
|
* Apply for maintainers (#6123)John Olheiser2019-02-191-0/+1
|
* Load Issue attributes for API call (#6122)John Olheiser2019-02-191-1/+1
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* remove unused file (#6121)Lunny Xiao2019-02-191-143/+0
|
* Refactor issue indexer (#5363)Lunny Xiao2019-02-1922-116/+1045
|
* Show email if the authenticated user owns the profile page being requested ↵Lanre Adelowo2019-02-194-5/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | for (#4981) * Show email if the authenticated user owns the profile page being requested for. Also removed `setting.UI.ShowUserEmail` as it's documentation says it only controls the email setting on the explore page * fix current user check... This prevents a panic as a user must be signed in before ctx.User is called * fix panic in tests * try to fix tests * Update year * Test CI fail * Revert change * User 3 is not allowed to authorize * Set user2 email to be private * Change to user4 in explore page as user2 now has private email option set
* dashboard: sort Repositories widget by most recently updated (issue #3963) ↵Allen Wild2019-02-191-1/+3
| | | | | | | | (#4599) Similar to Github and other git hosting sites, sort the user's repos on the dashboard by last updated rather than alphabetically. An alphabetic sort isn't very useful once a user has more than 15 repos and wants quick access to recent ones that aren't in the first part of the alphabet.
* Fix prohibit login check on authorization (#6106)Lunny Xiao2019-02-197-9/+83
| | | | | | | | | | | | * fix bug prohibit login not applied on dashboard * fix tests * fix bug user status leak * fix typo * return after render
* Show private organization for admin, fix #6111 (#6112)Zsombor2019-02-191-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-02-1829-0/+29
|
* Implement "conversation lock" for issue comments (#5073)Lanre Adelowo2019-02-1819-4/+435
|
* Allow to set organization visibility (public, internal, private) (#1763)Rémy Boulanouar2019-02-1827-28/+388
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-02-181-0/+2
|
* Move to ldap.v3 to fix #5928 (#6105)zeripath2019-02-1824-433/+721
| | | Signed-off-by: Andrew Thornton <art27@cantab.net>
* Update bleve dependency to latest master revision (#6100)Lunny Xiao2019-02-17161-4154/+9832
| | | | | | | | * update bleve to master b17287a86f6cac923a5d886e10618df994eeb54b6724eac2e3b8dde89cfbe3a2 * remove unused pkg from dep file * change bleve from master to recent revision
* Fix deadlock in webhook PullRequest (#6102)zeripath2019-02-173-13/+15
| | | Signed-off-by: Andrew Thornton <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2019-02-1717-34/+0
|
* modules/context/auth.go: fix redirect loop (#5965)xdch472019-02-171-1/+1
| | | Closes #5815
* Allow labels to contain emoji (#6063)John Olheiser2019-02-169-21/+36
| | | | | | | | | | | | | | | | | | | * Add emoji to labels Minor cleanup of tribute code in footer.tmpl Signed-off-by: jolheiser <john.olheiser@gmail.com> * Quick find/replace in other i18n files containing label translations Signed-off-by: jolheiser <john.olheiser@gmail.com> * Revert "Quick find/replace in other i18n files containing label translations" This reverts commit ec3e1a3a1775989301bb2c1cd08e8871b317688d. * Add style to overwrite emoji height in labels * Revert Makefile change that makes Windows work
* add doc/features/comparison zh-cn translation (#6067)我没有抓狂2019-02-161-0/+125
|
* Backport 1.7.2 changelog (#6082)techknowlogick2019-02-151-0/+16
| | | | * Include changes also from PR #6084
* Revert "Fix wrapping long code lines in UI" (#6074)silverwind2019-02-155-11/+25
| | | | | This reverts commit e5cd80e0219f10818f43e8cab6b9c814cb1cd796. Fixes: https://github.com/go-gitea/gitea/issues/6064
* [skip ci] Updated translations via CrowdinGiteaBot2019-02-141-0/+1
|
* Update .drone.yml (#6070)techknowlogick2019-02-141-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-02-131-0/+2
|
* make sure labels are actually returned (#6053)Lanre Adelowo2019-02-131-0/+5
|
* Fix panic: template: repo/issue/list:210: unexpected "=" in operand (#6041)Zsombor2019-02-132-17/+21
|
* Update and expand information about building Gitea (#6019)zeripath2019-02-122-52/+320
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update and expand building information Signed-off-by: Andrew Thornton <art27@cantab.net> * remove extraneous extra line Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix spelling mistake Signed-off-by: Andrew Thornton <art27@cantab.net> * Note about documentation for the website Signed-off-by: Andrew Thornton <art27@cantab.net> * More changes Signed-off-by: Andrew Thornton <art27@cantab.net> * Clarified the automatic build dependency * Update the from-source to match the hacking information * Extend quotes * Update required go and discord link Signed-off-by: Andrew Thornton <art27@cantab.net> * Update hacking-on-gitea.en-us.md Add in information about postcss
* Allow markdown files to read from the LFS (#5787)zeripath2019-02-129-45/+339
| | | | | | | This PR makes it possible for the markdown renderer to render images and media straight from the LFS. Fix #5746 Signed-off-by: Andrew Thornton [art27@cantab.net](mailto:art27@cantab.net)
* Refactor editor upload, update and delete to use git plumbing and add LFS ↵zeripath2019-02-1211-598/+1135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | support (#5702) * Use git plumbing for upload: #5621 repo_editor.go: UploadRepoFile * Use git plumbing for upload: #5621 repo_editor.go: GetDiffPreview * Use git plumbing for upload: #5621 repo_editor.go: DeleteRepoFile * Use git plumbing for upload: #5621 repo_editor.go: UploadRepoFiles * Move branch checkout functions out of repo_editor.go as they are no longer used there * BUGFIX: The default permissions should be 100644 This is a change from the previous code but is more in keeping with the default behaviour of git. Signed-off-by: Andrew Thornton <art27@cantab.net> * Standardise cleanUploadFilename to more closely match git See verify_path in: https://github.com/git/git/blob/7f4e64169352e03476b0ea64e7e2973669e491a2/read-cache.c#L951 Signed-off-by: Andrew Thornton <art27@cantab.net> * Redirect on bad paths Signed-off-by: Andrew Thornton <art27@cantab.net> * Refactor to move the uploading functions out to a module Signed-off-by: Andrew Thornton <art27@cantab.net> * Add LFS support Signed-off-by: Andrew Thornton <art27@cantab.net> * Update upload.go attribution header Upload.go is essentially the remnants of repo_editor.go. The remaining code is essentially unchanged from the Gogs code, hence the Gogs attribution. * Delete upload files after session committed * Ensure that GIT_AUTHOR_NAME etc. are valid for git see #5774 Signed-off-by: Andrew Thornton <art27@cantab.net> * Add in test cases per @lafriks comment * Add space between gitea and github imports Signed-off-by: Andrew Thornton <art27@cantab.net> * more examples in TestCleanUploadName Signed-off-by: Andrew Thornton <art27@cantab.net> * fix formatting Signed-off-by: Andrew Thornton <art27@cantab.net> * Set the SSH_ORIGINAL_COMMAND to ensure hooks are run Signed-off-by: Andrew Thornton <art27@cantab.net> * Switch off SSH_ORIGINAL_COMMAND Signed-off-by: Andrew Thornton <art27@cantab.net>
* In basic auth check for tokens before call UserSignIn (#5725)manuelluis2019-02-122-42/+83
| | | | | | | | | | * Check first if user/password is a token * In basic auth check if user/password is a token * Remove unnecessary else statement * Changes of fmt
* [skip ci] Updated translations via CrowdinGiteaBot2019-02-121-0/+1
|
* Add the Owner Name to differentiate when merging (#3807)Luo Yifei2019-02-122-4/+6
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-02-112-0/+7
|
* Run benchmark at tag to track performances (#6035)Antoine GIRARD2019-02-112-0/+40
|
* Add autoprefixer to css build (#6029)silverwind2019-02-118-535/+780
| | | | | | * Add autoprefixer to css build * also use autoprefixer on theme files
* fix #3200 (#6033)Lanre Adelowo2019-02-112-2/+2
|
* update docs (#6032)Lanre Adelowo2019-02-101-1/+1
|
* Add option to close issues via commit on a non master branch (#5992)Lanre Adelowo2019-02-1015-44/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixes #5957 * add tests to make sure config option is respected * use already defined struct * - use migration to make the flag repo wide not for the entire gitea instance Also note that the config value can still be set so as to be able to control the value for new repositories that are to be created - fix copy/paste error in copyright header year and rearrange import - use repo config instead of server config value to determine if a commit should close an issue - update testsuite * use global config only when creating a new repository * allow repo admin toggle feature via UI * fix typo and improve testcase * fix fixtures * add DEFAULT prefix to config value * fix test
* Create repository on organisation by default on its dashboard (#6026)zeripath2019-02-101-1/+3
| | | | | | | | * Create repository on organisation by default on its dashboard * Only show owners the add new repositories to an organisation button. Fix #3253 Signed-off-by: Andrew Thornton <art27@cantab.net>
* Split setting.go as multiple files (#6014)Lunny Xiao2019-02-107-442/+509
| | | | | | * split setting.go as multiple files * fix comments
* add default time out for git operations (#6015)Lunny Xiao2019-02-094-0/+9
|
* UI: Make dashboard navbar and footer full-width (#6013)silverwind2019-02-094-4/+12
| | | | | | | | * UI: Make dashboard navbar full-width * more tweaks: full-width footer and consistent padding * fix page layout causing unneccesary scrollbars on small pages
* disable git fsck for mirrored repos by default (#6018)Lanre Adelowo2019-02-091-1/+1
|
* Remove extra spaces (#6016)Thomas Loubiou2019-02-092-4/+4
|
* Fix metrics auth token detection (#6006)Paul2019-02-091-1/+1
| | | Signed-off-by: Pauls Barkans <paulsb@gmail.com>
* Increase the version of less (#6010)zeripath2019-02-092-88/+116
|
* fix header menu misalignment (#6002)silverwind2019-02-081-3/+3
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-02-082-2/+6
|
* Feature - #3031 - search for org repos (#5986)Richard Mahn2019-02-084-9/+71
|