summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix pull merge 500 error caused by git-fetch breaking behaviors (#8161)Mura Li2019-09-151-1/+1
|
* [ssh] fix the config specification in the authorized_keys template (#8031)Jakob Ackermann2019-09-151-2/+2
| | | | | | The gitea flags must appear in front of the gitea command. Otherwise they are ignored. Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
* Move create release from models to a standalone package (#7539)Lunny Xiao2019-09-156-145/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | * move create release from models to a standalone package * fix lint * fix comment year * fix lint * fix lint * fix package import name * fix vendor * fix go mod * some refactors * fix vendor * use go1.12 make vendor * fix vendor
* Fix team user api (#8172)Lunny Xiao2019-09-152-0/+45
| | | | | | | | | | | | | | | | * fix team user api * fix tests * fix api * fix team user api * change user convert * fix tests * fix tests
* Include git-hook regeneration in restore documentation (#8181)W Anders2019-09-151-0/+6
| | | | | | | | | | | | | | * Added admin cmd ref to backup-restore guide * Clarified reason for command execution * Include directive for where command should be executed from Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * Be direct in consequences Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
* migrate gplus to google oauth2 provider (#7885)techknowlogick2019-09-1439-63/+3992
| | | | | | | | | | * migrate gplus to google oauth2 provider. this still provides support for old gplus connections. * Update models/oauth2.go Co-Authored-By: Antoine GIRARD <sapk@users.noreply.github.com> * make vendor
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-141-0/+1
|
* Git min requirements (#8177)guillep2k2019-09-141-0/+3
| | | | | | | | * Add minimum git requirements. * Added comments about git lfs and commit-graph * Fix capitalization
* [fix #7384] make show private icon when repo avatar set (#8144)jaqra2019-09-133-0/+12
|
* oauth2 with remote Gitea - Fix #8093 (#8149)techknowlogick2019-09-1214-17/+307
|
* update docs to latest version (#8164)techknowlogick2019-09-121-1/+1
|
* use go 1.13 (#8088)techknowlogick2019-09-12121-12618/+757
| | | | | | | | | | * use go 1.13 * use go 1.13 in gomod file * Update Makefile * update swagger deps
* apply emoji on dashboard issue list labels (#8156)jaqra2019-09-121-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-121-0/+2
|
* Move ref (branch or tag) location on issue list page (#8157)jaqra2019-09-125-16/+46
| | | | | | | | | | | | * Move ref (branch or tag) location on issue list page * Make looks better * move branch label also on milestone/{id} page * [/issues page] Add milestone, Add Ref, Fix Assignees * [repo issues page] reorder tasks, milestone and ref
* Fix reading git notes from nested trees (#8026)Filip Navara2019-09-1223-14/+60
| | | | | | | | | | | | | * Fix reading notes from nested trees The GIT documentation for notes states "Permitted pathnames have the form ab/cd/ef/.../abcdef...: a sequence of directory names of two hexadecimal digits each followed by a filename with the rest of the object ID." * Add test case * Fix new lines
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-111-0/+5
|
* Fix downloads url (#8153)Johan Van de Wauw2019-09-111-1/+1
| | | The link without slash is not working
* Restrict repository indexing by glob match (#7767)guillep2k2019-09-1138-17/+920
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Restrict repository indexing by file extension * Use REPO_EXTENSIONS_LIST_INCLUDE instead of REPO_EXTENSIONS_LIST_EXCLUDE and have a more flexible extension pattern * Corrected to pass lint gosimple * Add wildcard support to REPO_INDEXER_EXTENSIONS * This reverts commit 72a650c8e42f4abf59d5df7cd5dc27b451494cc6. * Add wildcard support to REPO_INDEXER_EXTENSIONS (no make vendor) * Simplify isIndexable() for better clarity * Add gobwas/glob to vendors * manually set appengine new release * Implement better REPO_INDEXER_INCLUDE and REPO_INDEXER_EXCLUDE * Add unit and integration tests * Update app.ini.sample and reword config-cheat-sheet * Add doc page and correct app.ini.sample * Some polish on the doc * Simplify code as suggested by @lafriks
* Update third-party-tools.en-us.md (#8148)techknowlogick2019-09-111-0/+3
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-102-0/+8
|
* Make link last commit massages in repository home page and commit tables (#8006)jaqra2019-09-107-38/+154
| | | | | | | | | | | | | | | | | | | | | * Make link last commit massages in repository home page and commit tables * Use RenderCommitMessageLink instead surround with a * deleted __debug_bin file * Exclude email to link from latest commit title * Exclude email processor from commit table Co-Authored-By: mrsdizzie <info@mrsdizzie.com> * Add class parameter to a html element creator functions. Make links underline dashed that are not commit * fix tests * Show dashed underline when also not hovered
* Fix webhooks to use proxy from environment (#8116)Lauris BH2019-09-101-0/+1
|
* Implement webhook branch filter (#7791)WGH2019-09-0952-19/+3168
| | | | | | | | * Fix validate() function to handle errors in embedded anon structs * Implement webhook branch filter See #2025, #3998.
* Add option to initialize repository with labels (#6061)John Olheiser2019-09-0811-16/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add optional label sets on repo creation * Fix CRLF * Instead of hardcoding default, make it the helper * Move label set init out of repo init Add a new error for the router Combine router label init with repo creation label init Signed-off-by: jolheiser <john.olheiser@gmail.com> * Add issue labels to Swagger for repo creation Signed-off-by: jolheiser <john.olheiser@gmail.com> * Update models/issue_label.go Co-Authored-By: Lauris BH <lauris@nix.lv> * Update models/issue_label.go Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-071-1/+4
|
* Add reviewrs as participants (#8121)guillep2k2019-09-072-12/+12
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-072-68/+1820
|
* 1148: Take up the full width when viewing the diff in split view. (#8114)pmdematagoda2019-09-071-1/+1
| | | This replicates how the commit view works in split view.
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-062-3/+61
|
* Changelog for 1.9.3 (#8118)guillep2k2019-09-061-0/+15
|
* Fix Go 1.13 private repository go get issue (#8112)Lunny Xiao2019-09-062-3/+20
| | | | | | | | | | * Fix Go 1.13 invalid import path creation Signed-off-by: Rutger Broekhoff <rutger@viasalix.nl> * Apply suggested changes from #8100 Signed-off-by: Rutger Broekhoff <rutger@viasalix.nl>
* Move git diff codes from models to services/gitdiff (#7889)Lunny Xiao2019-09-0515-111/+164
| | | | | | | | | | * move git diff codes from models to services/gitdiff * fix template * fix test * fix template
* feat: highlight issue references with : (#8101)Rinat2019-09-054-3/+11
| | | | | | | | | | | * feat: highlight issue references with : e.g. #1287: my commit msg e.g. ABC-1234: my commit msg * ref: update model regex to consistent with issueNumericPattern * test: check highlight issue with : in commits messages
* Added AppVeyor to the list of CI/CD working with Gitea (#8104)Feodor Fitsner2019-09-051-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-054-4/+3
|
* Make AllowedUsers configurable in sshd_config (#8094)jpellegrini2019-09-052-3/+1
| | | | | | | | docker/root/usr/bin/entrypoint already allows for the specification of USER, USER_UID, USER_GID. But since AllowedUsers is hardcoded in sshd_config, one cannot log in as a user different ftom git. This change substitutes ${USER} for git in the sshd_config template. Signed-off-by: Jeronimo Pellegrini <j_p@aleph0.info>
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-054-4/+4
|
* Display description of 'make this repo private' as help text, not as tooltip ↵micw2019-09-056-6/+7
| | | | (#8097)
* Fix broken link (#8091)nu_no2019-09-051-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-041-0/+1
|
* Use vendored go-swagger (#8087)Antoine GIRARD2019-09-04686-17/+143379
| | | | | | | | | | | | | | * Use vendored go-swagger * vendor go-swagger * revert un wanteed change * remove un-needed GO111MODULE * Update Makefile Co-Authored-By: techknowlogick <matti@mdranta.net>
* Strict name matching for Repository.GetTagID() (#8074)guillep2k2019-09-0433-11/+1801
| | | | | | | | * Strict name matching for Repository.GetTagID() * Perform make swagger-check swagger-validate vendor * Add test for GetTagID()
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-032-0/+9
|
* Fixes deformed emoji in pull request reviews (#8047)Mario Lubenka2019-09-032-0/+4
| | | | | | | | | | * Fixes deformed emoji in pull request comments or reviews Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Generate css via command Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-032-0/+15
|
* Add API endpoint for accessing repo topics (#7963)David Svantesson2019-09-0315-100/+849
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create API endpoints for repo topics. Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Generate swagger Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Add documentation to functions Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Grammar fix Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Fix function comment Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Can't use FindTopics when looking for a single repo topic, as it doesnt use exact match Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Add PUT ​/repos​/{owner}​/{repo}​/topics and remove GET ​/repos​/{owner}​/{repo}​/topics * Ignore if topic is sent twice in same request, refactoring. Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Fix topic dropdown with api changes. Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Style fix Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Update API documentation Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Better way to handle duplicate topics in slice Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Make response element TopicName an array of strings, instead of using an array of TopicName Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Add test cases for API Repo Topics. Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Fix format of tests Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Fix comments Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Fix unit tests after adding some more topics to the test fixture. Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Update models/topic.go Limit multiple if else if ... Co-Authored-By: Antoine GIRARD <sapk@users.noreply.github.com> * Engine as first parameter in function Co-Authored-By: Antoine GIRARD <sapk@users.noreply.github.com> * Replace magic numbers with http status code constants. Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Fix variable scope Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Test one read with login and one with token Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Add some more tests Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Apply suggestions from code review Use empty struct for efficiency Co-Authored-By: Lauris BH <lauris@nix.lv> * Add test case to check access for user with write access Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Fix access, repo admin required to change topics Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Correct first test to be without token Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Any repo reader should be able to access topics. * No need for string pointer Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-031-1/+40
|
* Avoid ambiguity of branch/directory names for the git-diff-tree command (#8066)Mura Li2019-09-031-2/+1
|
* Add merged commit id on pull view when it's merged (#8062)Lunny Xiao2019-09-032-1/+7
|