summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Disable max height property of comment textarea (#8203)jaqra2019-09-172-0/+5
|
* Remove legacy handling of drone token (#8191)techknowlogick2019-09-171-6/+0
| | | Now Drone has removed Gitea user/pass handling we can remove legacy handling
* Fix data race (#8204)Mura Li2019-09-173-20/+57
| | | | | | | | | | | | | | * Fix data race * Fix data race in modules/log * Make the scope of lock finner-grained * Use syc.Map * Fix missing change in the test * Do not export LoggerMap
* [skip ci] Updated translations via CrowdinGiteaBot2019-09-171-0/+6
|
* faq: mention EMAIL_DOMAIN_WHITELIST on allowing email domains (#8198)Mikaela Suomalainen2019-09-171-3/+7
| | | | | | | | | | | | | | | | | | | | | | * faq: mention EMAIL_DOMAIN_WHITELIST on allowing email domains Signed-off-by: Mikaela Suomalainen <mikaela+git@mikaela.info> * faq: separate openid from allow/block email domain Signed-off-by: Mikaela Suomalainen <mikaela+git@mikaela.info> * faq: update ToC Signed-off-by: Mikaela Suomalainen <mikaela+git@mikaela.info> * Update docs/content/doc/help/faq.en-us.md Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com> * Update docs/content/doc/help/faq.en-us.md Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com>
* Adds side-by-side diff for images (#6784)Mario Lubenka2019-09-1610-15/+262
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adds side-by-side diff for images Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Explain blank imports Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Use complete word for width and height labels on image compare Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Update index.css from master Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Moves ImageInfo to git commit file Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Assign ImageInfo function for template and sets correct target for BeforeSourcePath Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Adds missing comment Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Return error if ImageInfo failed Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Avoid template panic when ImageInfo failed for some reason Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Show file size on image diff Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Removes unused helper function Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Reverts copyright year change Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Close file reader Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Update commit.go Sets correct data key * Moves reader.Close() up a few lines * Updates index.css * Updates CSS file Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Transfers adjustments for image compare to compare.go file Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Adjusts variable name Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Apply lesshint recommendations Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Do not show old image on image compare if it is not in index of base commit Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com> * Change file size text Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>
* 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
|