David Svantesson
bbcb53258a
Recalculate repository access only for specific user ( #8481 )
...
* Recalculate repository access only for specific user
Signed-off-by: David Svantesson <davidsvantesson@gmail.com >
* Handle user repositories as well, and only add access if minimum mode
* Need to get repo owner to check if organization
2019-10-15 01:55:21 +01:00
6543
49a1c036d7
[Branch View] Add Included TAG ( #8449 )
...
* included message
* add property IsIncluded
* Add Orange Lable
2019-10-14 23:40:17 +01:00
Lunny Xiao
c031160f94
Make static resouces web browser cache time customized on app.ini ( #8442 )
...
* make static resouces web browser cache time customized on app.ini
* Update docs/content/doc/advanced/config-cheat-sheet.en-us.md
Co-Authored-By: zeripath <art27@cantab.net >
* Update custom/conf/app.ini.sample
Co-Authored-By: Antoine GIRARD <sapk@users.noreply.github.com >
* fix docs
2019-10-14 23:05:57 +01:00
GiteaBot
ae68faf09d
[skip ci] Updated translations via Crowdin
2019-10-14 21:39:15 +00:00
jaqra
dfb755fbcc
Add pagination to commit graph page ( #8360 )
...
Fixes #8308
2019-10-14 22:38:35 +01:00
Lauris BH
29440e4bf5
Starting v1.11.0 development
2019-10-15 00:02:16 +03:00
6543
34f801238a
Changelog for 1.10.0-RC1 ( #8510 )
...
* Changelog for 1.10.0
* clean up | remove TESTING and DOCS sction | short BUILD section
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com >
Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com >
Co-Authored-By: zeripath <art27@cantab.net >
2019-10-14 20:34:21 +01:00
David Svantesson
6e9ef79c03
Fix errors in create org UI regarding team access permission. ( #8506 )
2019-10-14 19:20:42 +01:00
GiteaBot
9030a69aaf
[skip ci] Updated translations via Crowdin
2019-10-14 17:46:01 +00:00
guillep2k
2362fdb93b
Add nofollow to sign in links ( #8509 )
2019-10-14 18:43:48 +01:00
GiteaBot
f819725708
[skip ci] Updated translations via Crowdin
2019-10-14 15:45:33 +00:00
Maxim Tkachenko
853cb91f8b
Password Complexity Checks ( #6230 )
...
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 >
2019-10-14 16:24:26 +01:00
Lunny Xiao
301cbeee18
fix bug on FindExternalUsersByProvider ( #8504 )
2019-10-14 08:22:46 +01:00
Lunny Xiao
4f3fd33e90
Update migrated repositories' issues/comments/prs poster id if user has a 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
2019-10-14 09:10:42 +03:00
Antoine GIRARD
e1dda3427c
vendor: update mvdan.cc/xurls/v2 to v2.1.0 ( #8495 )
2019-10-14 08:38:15 +08:00
guillep2k
01966136c5
Rewrite reference processing code in preparation for opening/closing from 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
2019-10-13 23:29:10 +01:00
Benson Muite
0c968e91ee
Update seek-help.zh-cn.md ( #8488 )
...
Update link to Mandarin help forum
2019-10-13 22:36:09 +01:00
GiteaBot
a2d406665b
[skip ci] Updated translations via Crowdin
2019-10-13 20:23:11 +00:00
Benson Muite
87279ebcff
Update seek-help.en-us.md ( #8487 )
...
Update link to Mandarin help
2019-10-13 21:07:30 +01:00
GiteaBot
df12e890b2
[skip ci] Updated translations via Crowdin
2019-10-13 16:31:19 +00:00
zeripath
86db935177
IsBranchExist: return false if provided name is empty ( #8485 )
...
* IsBranchExist: return false if provided name is empty
* Ensure that the reference returned is actually of a valid type
2019-10-13 19:29:08 +03:00
GiteaBot
dfbbd7c7a2
[skip ci] Updated translations via Crowdin
2019-10-13 14:37:37 +00:00
zeripath
2cc8bf2392
Fixes #8369 : Create .ssh dir as necessary ( #8486 )
...
* 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
2019-10-13 17:35:19 +03:00
Lunny Xiao
e653c64e85
Move migrating repository from frontend to backend ( #6200 )
...
* 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
2019-10-13 21:23:14 +08:00
zeripath
feaa9523d9
Fix #8453 by making openssh listen on SSH_LISTEN_PORT not SSH_PORT ( #8477 )
2019-10-12 23:45:00 +08:00
guillep2k
bc8c9cfbd5
Add check for empty set when dropping indexes during migration ( #8471 )
...
* Add check for empty set when dropping indexes during migration
2019-10-12 05:55:07 +01:00
zeripath
940295e727
Restore functionality for early gits ( #7775 )
...
* 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
2019-10-12 08:13:27 +08:00
GiteaBot
51428a5eed
[skip ci] Updated translations via Crowdin
2019-10-11 21:34:17 +00:00
Lauris BH
edd35cda25
Latvian translation for home page ( #8468 )
2019-10-11 22:32:52 +01:00
spaeps
4f9f7d826a
Add home template italian translation ( #8352 )
...
It was just missing
2019-10-11 13:04:59 -04:00
Lunny Xiao
bc0c95ad30
Move change issue title from models to issue service package ( #8456 )
...
* move change issue title from models to issue service package
* make the change less
* fix typo
2019-10-11 14:44:43 +08:00
zeripath
a45cd27a48
Ensure that LFS files are relative to the LFS content path ( #8455 )
2019-10-10 17:08:33 -04:00
zeripath
86efa4d4bc
Ensure Request Body Readers are closed in LFS server ( #8454 )
2019-10-10 18:42:28 +01:00
guillep2k
8f35633df1
Ignore mentions for users with no access ( #8395 )
...
* 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
2019-10-10 19:45:11 +03:00
Yaşar Çiv
1ca4fbe7ae
Add @yasarciv67 to TRANSLATORS file ( #8451 )
2019-10-10 15:47:38 +02:00
GiteaBot
16eb427418
[skip ci] Updated translations via Crowdin
2019-10-10 12:44:06 +00:00
pseudocoder
cc949d4954
DOCS: add mention of swagger api reference ( #8452 )
...
It's(swagger api link) mentioned vaguely in the FAQ but IMHO missing from API usage page.
2019-10-10 08:42:01 -04:00
6543
8ae5b7e5c9
add crowdin badge ( #8447 )
2019-10-09 22:16:58 -04:00
8ctopus
bf18fa0dd7
Doc recommend to use reverse proxy if Apache/nginx is also running on… ( #8384 )
...
* 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 >
2019-10-10 00:11:25 +01:00
8ctopus
74208bda83
Doc updated list of supported webhooks and added example ( #8388 )
...
* Doc updated list of supported webhooks and added example
* Replaced webhook password verification by signature verification
2019-10-09 23:33:03 +01:00
GiteaBot
dd56f013d0
[skip ci] Updated translations via Crowdin
2019-10-09 19:02:21 +00:00
Tekaoh
6ced216f69
Check for either escaped or unescaped wiki filenames ( #8408 )
...
* 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 >
2019-10-09 21:49:37 +03:00
Lunny Xiao
a62f9ea4e1
fix template bug on mirror repository setting page ( #8438 )
2019-10-09 21:09:02 +08:00
guillep2k
b1a2314431
Fix migration v96 to keep issue attachments ( #8435 )
...
* Fix migration v96 to keep issue attachments
* Fix == operator
2019-10-09 17:36:53 +08:00
GiteaBot
f75e96ee03
[skip ci] Updated translations via Crowdin
2019-10-09 01:29:16 +00:00
guillep2k
84b0ecab97
Changelog for v1.9.4 ( #8422 ) ( #8433 )
...
* changelog
* Update CHANGELOG.md
We ned to revert this then ...
Co-Authored-By: Lauris BH <lauris@nix.lv >
2019-10-09 03:27:45 +02:00
kolaente
566e6cee3a
Update golangci to v1.20 ( #8432 )
...
* 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 >
2019-10-08 16:42:30 -04:00
guillep2k
fa0954cc78
Update strk.kbt.io/projects/go/libravatar to latest; closes #7860 ( #8429 )
2019-10-08 15:48:57 -04:00
GiteaBot
a4c80751b6
[skip ci] Updated translations via Crowdin
2019-10-08 19:20:34 +00:00
guillep2k
93b6ec1dc8
Allow users with explicit read access to give approvals ( #8382 )
2019-10-08 15:18:17 -04:00