Commit Graph

8266 Commits (9d663dfde68f4f3fd6af302aad47439adb1076ae)
 

Author SHA1 Message Date
GiteaBot 8c8a93c025 [skip ci] Updated translations via Crowdin
Maxim Tkachenko db657192d0 Password Complexity Checks ()
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>
Lunny Xiao f9aba9ba0f fix bug on FindExternalUsersByProvider ()
Lunny Xiao e3e44a59d0 Update migrated repositories' issues/comments/prs poster id if user has a github external user saved ()
* 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
Antoine GIRARD ba201aaa44 vendor: update mvdan.cc/xurls/v2 to v2.1.0 ()
guillep2k 15809d81f7 Rewrite reference processing code in preparation for opening/closing from comment references ()
* 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
Benson Muite 6e3f51098b Update seek-help.zh-cn.md ()
Update link to Mandarin help forum
GiteaBot 0c680f337d [skip ci] Updated translations via Crowdin
Benson Muite ba716705b5 Update seek-help.en-us.md ()
Update link to Mandarin help
GiteaBot c23cf4c97c [skip ci] Updated translations via Crowdin
zeripath c888ebfba7 IsBranchExist: return false if provided name is empty ()
* IsBranchExist: return false if provided name is empty

* Ensure that the reference returned is actually of a valid type
GiteaBot f858b89b13 [skip ci] Updated translations via Crowdin
zeripath 300d9a1c70 Fixes : Create .ssh dir as necessary ()
* 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
Lunny Xiao f2a3abc683
Move migrating repository from frontend to backend ()
* 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
zeripath 0a96e59884 Fix by making openssh listen on SSH_LISTEN_PORT not SSH_PORT ()
guillep2k f1fdd782d5 Add check for empty set when dropping indexes during migration ()
* Add check for empty set when dropping indexes during migration
zeripath 5e759b60cc Restore functionality for early gits ()
* 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
GiteaBot ac3613b791 [skip ci] Updated translations via Crowdin
Lauris BH 772241b324 Latvian translation for home page ()
spaeps 633cd7f473 Add home template italian translation ()
It was just missing
Lunny Xiao 46a12f196b
Move change issue title from models to issue service package ()
* move change issue title from models to issue service package

* make the change less

* fix typo
zeripath 9ff9f5ad1d Ensure that LFS files are relative to the LFS content path ()
zeripath 6551a9d6ca
Ensure Request Body Readers are closed in LFS server ()
guillep2k df2c11a878 Ignore mentions for users with no access ()
* 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
Yaşar Çiv 57b0d9a38b Add @yasarciv67 to TRANSLATORS file ()
GiteaBot 7c1ddd5692 [skip ci] Updated translations via Crowdin
pseudocoder eac5a8be75 DOCS: add mention of swagger api reference ()
It's(swagger api link) mentioned vaguely in the FAQ but IMHO missing from API usage page.
6543 1fe81bc22e add crowdin badge ()
8ctopus 628f9da0de Doc recommend to use reverse proxy if Apache/nginx is also running on… ()
* 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>
8ctopus e270896a83 Doc updated list of supported webhooks and added example ()
* Doc updated list of supported webhooks and added example

* Replaced webhook password verification by signature verification
GiteaBot 5109d18b29 [skip ci] Updated translations via Crowdin
Tekaoh b6616591d1 Check for either escaped or unescaped wiki filenames ()
* 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>
Lunny Xiao 7ad46cc116
fix template bug on mirror repository setting page ()
guillep2k dd611c9a86 Fix migration v96 to keep issue attachments ()
* Fix migration v96 to keep issue attachments

* Fix == operator
GiteaBot 3810fa48ac [skip ci] Updated translations via Crowdin
guillep2k a3612f9d35 Changelog for v1.9.4 () ()
* changelog

* Update CHANGELOG.md

We ned to revert this then ...

Co-Authored-By: Lauris BH <lauris@nix.lv>
kolaente 7408942c80 Update golangci to v1.20 ()
* 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>
guillep2k f05a3353f4 Update strk.kbt.io/projects/go/libravatar to latest; closes ()
GiteaBot 4fe04f1adc [skip ci] Updated translations via Crowdin
guillep2k 4843723d00 Allow users with explicit read access to give approvals ()
GiteaBot 736ad8f091 [skip ci] Updated translations via Crowdin
Lunny Xiao 170743c8a0 Revert "Fix issues/pr list broken when there are many repositories ()" ()
This reverts commit 78438d310b.
Lunny Xiao 78438d310b
Fix issues/pr list broken when there are many repositories ()
* 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
6543 1a269f7ef8 add 6543 to maintainers ()
Lauris BH 28d5347cf3 Singular form for files that has only one line ()
Lunny Xiao 662a40ea29 Update milestone issues numbers when save milestone and other code improvements ()
* update milestone issues numbers when save milestone and other code improvements

* fix tests

* extract duplicate codes as a new function
guillep2k 1b96c4a471 Fix backers badge ()
GiteaBot af6cc5b9d8 [skip ci] Updated translations via Crowdin
kolaente 249dbbe0bc Update golangci to v1.19.1 ()
Signed-off-by: kolaente <k@knt.li>
guillep2k 356e1a70ea Reduce test sensibility ()