summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix errors in create org UI regarding team access permission. (#8506)David Svantesson2019-10-143-8/+10
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-141-4/+23
|
* Add nofollow to sign in links (#8509)guillep2k2019-10-143-4/+4
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-143-1/+5
|
* Password Complexity Checks (#6230)Maxim Tkachenko2019-10-1411-37/+207
| | | | | | | | | Add password complexity checks. The default settings require a lowercase, uppercase, number and a special character within passwords. Co-Authored-By: T-M-A <maxim.tkachenko@gmail.com> Co-Authored-By: Lanre Adelowo <adelowomailbox@gmail.com> Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> Co-Authored-By: Lauris BH <lauris@nix.lv>
* fix bug on FindExternalUsersByProvider (#8504)Lunny Xiao2019-10-141-1/+1
|
* Update migrated repositories' issues/comments/prs poster id if user has a ↵Lunny Xiao2019-10-1421-156/+737
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | github external user saved (#7751) * update migrated issues/comments when login as github * add get userid when migrating or login with github oauth2 * fix lint * add migrations for repository service type * fix build * remove unnecessary dependencies on migrations * add cron task to update migrations poster ids and fix posterid when migrating * fix lint * fix lint * improve code * fix lint * improve code * replace releases publish id to actual author id * fix import * fix bug * fix lint * fix rawdata definition * fix some bugs * fix error message
* vendor: update mvdan.cc/xurls/v2 to v2.1.0 (#8495)Antoine GIRARD2019-10-149-46/+51
|
* Rewrite reference processing code in preparation for opening/closing from ↵guillep2k2019-10-1316-431/+1116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | comment references (#8261) * Add a markdown stripper for mentions and xrefs * Improve comments * Small code simplification * Move reference code to modules/references * Fix typo * Make MarkdownStripper return [][]byte * Implement preliminary keywords parsing * Add FIXME comment * Fix comment * make fmt * Fix permissions check * Fix text assumptions * Fix imports * Fix lint, fmt * Fix unused import * Add missing export comment * Bypass revive on implemented interface * Move mdstripper into its own package * Support alphanumeric patterns * Refactor FindAllMentions * Move mentions test to references * Parse mentions from reference package * Refactor code to implement renderizable references * Fix typo * Move patterns and tests to the references package * Fix nil reference * Preliminary rendering attempt of closing keywords * Normalize names, comments, general tidy-up * Add CSS style for action keywords * Fix permission for admin and owner * Fix golangci-lint * Fix golangci-lint
* Update seek-help.zh-cn.md (#8488)Benson Muite2019-10-131-1/+1
| | | Update link to Mandarin help forum
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-131-0/+1
|
* Update seek-help.en-us.md (#8487)Benson Muite2019-10-131-1/+1
| | | Update link to Mandarin help
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-132-0/+14
|
* IsBranchExist: return false if provided name is empty (#8485)zeripath2019-10-131-2/+8
| | | | | | * IsBranchExist: return false if provided name is empty * Ensure that the reference returned is actually of a valid type
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-131-0/+2
|
* Fixes #8369: Create .ssh dir as necessary (#8486)zeripath2019-10-131-0/+24
| | | | | | | | | | * Ensure .ssh dir exists before rewriting public keys * Ensure .ssh dir exists before appending to authorized_keys * Log the error because it would be useful to know where it is trying to MkdirAll * Only try to create RootPath if it's not empty
* Move migrating repository from frontend to backend (#6200)Lunny Xiao2019-10-1337-210/+1180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * move migrating to backend * add loading image when migrating and fix tests * fix format * fix lint * add redis task queue support and improve docs * add redis vendor * fix vet * add database migrations and fix app.ini sample * add comments for task section on app.ini.sample * Update models/migrations/v84.go Co-Authored-By: lunny <xiaolunwen@gmail.com> * Update models/repo.go Co-Authored-By: lunny <xiaolunwen@gmail.com> * move migrating to backend * add loading image when migrating and fix tests * fix fmt * add redis task queue support and improve docs * fix fixtures * fix fixtures * fix duplicate function on index.js * fix tests * rename repository statuses * check if repository is being create when SSH request * fix lint * fix template * some improvements * fix template * unified migrate options * fix lint * fix loading page * refactor * When gitea restart, don't restart the running tasks because we may have servel gitea instances, that may break the migration * fix js * Update models/repo.go Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * Update docs/content/doc/advanced/config-cheat-sheet.en-us.md Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * fix tests * rename ErrTaskIsNotExist to ErrTaskDoesNotExist * delete release after add one on tests to make it run happy * fix tests * fix tests * improve codes * fix lint * fix lint * fix migrations
* Fix #8453 by making openssh listen on SSH_LISTEN_PORT not SSH_PORT (#8477)zeripath2019-10-122-2/+3
|
* Add check for empty set when dropping indexes during migration (#8471)guillep2k2019-10-121-3/+5
| | | * Add check for empty set when dropping indexes during migration
* Restore functionality for early gits (#7775)zeripath2019-10-1212-66/+226
| | | | | | | | | | | | | | | | | | | | | | | | | | * Change tests to make it possible to run TestGit with 1.7.2 * Make merge run on 1.7.2 * Fix tracking and staging branch name problem * Ensure that git 1.7.2 works on tests * ensure that there is no chance for conflicts * Fix-up missing merge issues * Final rm * Ensure LFS filters run on the tests * Do not sign commits from temp repo * Restore tracking fetch change * Apply suggestions from code review * Update modules/repofiles/temp_repo.go
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-111-0/+33
|
* Latvian translation for home page (#8468)Lauris BH2019-10-111-0/+40
|
* Add home template italian translation (#8352)spaeps2019-10-111-0/+40
| | | It was just missing
* Move change issue title from models to issue service package (#8456)Lunny Xiao2019-10-116-61/+71
| | | | | | | | * move change issue title from models to issue service package * make the change less * fix typo
* Ensure that LFS files are relative to the LFS content path (#8455)zeripath2019-10-101-2/+1
|
* Ensure Request Body Readers are closed in LFS server (#8454)zeripath2019-10-102-5/+15
|
* Ignore mentions for users with no access (#8395)guillep2k2019-10-105-40/+175
| | | | | | | | | | | | | | | | | | | | | | * Draft for ResolveMentionsByVisibility() * Correct typo * Resolve teams instead of orgs for mentions * Create test for ResolveMentionsByVisibility * Fix check for individual users and doer * Test and fix team mentions * Run all mentions through visibility filter * Fix error check * Simplify code, fix doer included in teams * Simplify team id list build
* Add @yasarciv67 to TRANSLATORS file (#8451)Yaşar Çiv2019-10-101-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-102-0/+11
|
* DOCS: add mention of swagger api reference (#8452)pseudocoder2019-10-101-0/+8
| | | It's(swagger api link) mentioned vaguely in the FAQ but IMHO missing from API usage page.
* add crowdin badge (#8447)65432019-10-092-0/+2
|
* Doc recommend to use reverse proxy if Apache/nginx is also running on… (#8384)8ctopus2019-10-101-0/+2
| | | | | | | | * Doc recommend to use reverse proxy if Apache/nginx is also running on server * Update docs/content/doc/usage/https-support.md Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com>
* Doc updated list of supported webhooks and added example (#8388)8ctopus2019-10-091-1/+81
| | | | | | * Doc updated list of supported webhooks and added example * Replaced webhook password verification by signature verification
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-091-0/+15
|
* Check for either escaped or unescaped wiki filenames (#8408)Tekaoh2019-10-091-0/+12
| | | | | | | | | | | | * Check for either escaped or unescaped wiki filenames + Gitea currently saves wiki pages with escaped filenames. + Wikis mirrored from other places like Github use unescaped filenames. + We need to be checking for filenames in either format to increase compatibility. * Better logic for escaped and unescaped wiki filenames Co-Authored-By: null <guillep2k@users.noreply.github.com>
* fix template bug on mirror repository setting page (#8438)Lunny Xiao2019-10-092-3/+5
|
* Fix migration v96 to keep issue attachments (#8435)guillep2k2019-10-091-1/+1
| | | | | | * Fix migration v96 to keep issue attachments * Fix == operator
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-091-0/+3
|
* Changelog for v1.9.4 (#8422) (#8433)guillep2k2019-10-091-0/+26
| | | | | | | | | * changelog * Update CHANGELOG.md We ned to revert this then ... Co-Authored-By: Lauris BH <lauris@nix.lv>
* Update golangci to v1.20 (#8432)kolaente2019-10-082-2/+5
| | | | | | | | | | * Update golangci to v1.20 Signed-off-by: kolaente <k@knt.li> * Use the timeout flag instead of deadline, move it to config Signed-off-by: kolaente <k@knt.li>
* Update strk.kbt.io/projects/go/libravatar to latest; closes #7860 (#8429)guillep2k2019-10-086-37/+61
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-081-0/+2
|
* Allow users with explicit read access to give approvals (#8382)guillep2k2019-10-083-3/+37
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-10-082-0/+2
|
* Revert "Fix issues/pr list broken when there are many repositories (#8409)" ↵Lunny Xiao2019-10-085-110/+178
| | | | | (#8427) This reverts commit 78438d310be42f9c5e0e2937ee54e6050cc8f381.
* Fix issues/pr list broken when there are many repositories (#8409)Lunny Xiao2019-10-085-178/+110
| | | | | | | | | | | | | | * fix issues/pr list broken when there are many repositories * remove unused codes * fix counting error on issues/prs * keep the old logic * fix panic * fix tests
* add 6543 to maintainers (#8417)65432019-10-071-0/+1
|
* Singular form for files that has only one line (#8416)Lauris BH2019-10-072-1/+2
|
* Update milestone issues numbers when save milestone and other code ↵Lunny Xiao2019-10-081-29/+38
| | | | | | | | | | improvements (#8411) * update milestone issues numbers when save milestone and other code improvements * fix tests * extract duplicate codes as a new function
* Fix backers badge (#8399)guillep2k2019-10-072-2/+2
|