Lunny Xiao
2914eb2781
Add a new command doctor to check if some wrong configurations on gitea instance ( #9095 )
...
* add doctor
* Add a new command doctor to check if some wrong configurations on gitea instance
* fix import
* use regex match authorized_keys on doctor
* Add documentation
2020-01-11 15:24:57 +01:00
Lunny Xiao
58d9d59246
Only show part of members on orgnization dashboard and add paging for orgnization members page ( #9092 )
...
* Only show part of members on orgnization dashboard and add paging for orgnization members page
* fix test
* fix typo
2019-12-06 13:34:54 +08:00
Lunny Xiao
51df1558d2
Fix latest docker image haven't include static files. ( #9252 )
...
* add warnging on docs
* fix docs
2019-12-05 12:18:28 -05:00
Lunny Xiao
3a92781ffd
Add retry for migration http/https requests ( #9019 )
...
* Add retry for migration http/https requests
* give the more suitable name for retry configuraion items
* fix docs and lint
* Only use retryDownloader when setting > 1
2019-11-16 16:30:06 +08:00
Lunny Xiao
123a37c0dd
Webhook support custom proxy ( #8760 )
...
* Webhook support custom proxy
* Add glob support on webhook proxy host rules
* fix app.ini.sample
* improve code and app.ini.sample
* update cheetsheet about added webhook options
2019-11-08 16:25:53 -05:00
f479a6cee4
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 <[email protected] >
* Update custom/conf/app.ini.sample
Co-Authored-By: Antoine GIRARD <[email protected] >
* fix docs
2019-10-14 23:05:57 +01:00
Lunny Xiao
0f53a62312
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
Lunny Xiao and guillep2k
87a3bd427c
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 <[email protected] >
* Update models/repo.go
Co-Authored-By: lunny <[email protected] >
* 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 <[email protected] >
* Update docs/content/doc/advanced/config-cheat-sheet.en-us.md
Co-Authored-By: guillep2k <[email protected] >
* 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
Lunny Xiao
53a9602c32
update cache item_ttl docs ( #8222 )
2019-09-18 10:50:45 +03:00
Lunny Xiao
45a3009bc7
Move database settings from models to setting ( #7806 )
...
* move database settings from models to setting
* update docs
* fix checkout pr
* fix tests
* fix lint
* remove unsupported tidb options
* correct wrong variable name
* remove tidb totally
2019-08-24 11:24:45 +02:00
Lunny Xiao
5bb5b714e2
Display ui time with customize time location ( #7792 )
...
* display ui time with customize time location
* fix lint
* rename UILocation to DefaultUILocation
* move time related functions to modules/timeutil
* fix tests
* fix tests
* fix build
* fix swagger
2019-08-15 22:46:21 +08:00
Lunny Xiao
51dc2b2ddb
Use vendors when go generate ( #7340 )
...
* use vendors when go generate
* update docs about golang minimal requirement from 1.9 to 1.11
* fix build
2019-07-06 23:00:41 -04:00
Lunny Xiao
2eb27160b9
when git version >= 2.18, git command could run with git wire protocol version 2 param if enabled ( #7047 )
2019-05-26 17:50:06 +08:00
Lunny Xiao
14df04550c
Add support of utf8mb4 for mysql ( #6992 )
2019-05-24 00:15:26 -04:00
Lunny Xiao
20d5b987e1
Improve migrations to support migrating milestones/labels/issues/comments/pullrequests ( #6290 )
...
* add migrations
* fix package dependency
* fix lints
* implements migrations except pull requests
* add releases
* migrating releases
* fix bug
* fix lint
* fix migrate releases
* fix tests
* add rollback
* pull request migtations
* fix import
* fix go module vendor
* add tests for upload to gitea
* more migrate options
* fix swagger-check
* fix misspell
* add options on migration UI
* fix log error
* improve UI options on migrating
* add support for username password when migrating from github
* fix tests
* remove comments and fix migrate limitation
* improve error handles
* migrate API will also support migrate milestones/labels/issues/pulls/releases
* fix tests and remove unused codes
* add DownloaderFactory and docs about how to create a new Downloader
* fix misspell
* fix migration docs
* Add hints about migrate options on migration page
* fix tests
2019-05-07 09:12:51 +08:00
Lunny Xiao
88860b9e1e
Issue indexer queue redis support ( #6218 )
...
* add redis queue
* finished indexer redis queue
* add redis vendor
* fix vet
* Update docs/content/doc/advanced/config-cheat-sheet.en-us.md
Co-Authored-By: lunny <[email protected] >
* switch to go mod
* Update required changes for new logging func signatures
2019-04-08 12:05:15 +03:00
Lunny Xiao
c1b1654d7f
improve zh-cn comparison docs ( #6336 )
2019-03-21 22:38:23 -04:00
Lunny Xiao
19efa3bb7d
Add more tests and docs for issue indexer, add db indexer type for searching from database ( #6144 )
...
* add more tests and docs for issue indexer, add db indexer type for searching from database
* fix typo
* fix typo
* fix lint
* improve docs
2019-02-21 13:01:28 +08:00
Lunny Xiao
f7eef3e8c0
add default time out for git operations ( #6015 )
2019-02-09 22:44:24 +00:00
Lunny Xiao
38490206f8
improve the releases api paging ( #5831 )
...
* improve the releases api paging
* add max limit on API paging
2019-01-24 20:59:27 +02:00
Lunny Xiao
34555a5f22
Support CORS headers to git smart http protocol ( #5719 )
2019-01-14 16:05:27 -05:00
Lunny Xiao
fa3233b2a6
update comparsion docs to add file viewer items ( #4865 )
2018-09-04 22:07:24 -04:00
Lunny Xiao
75a0f7bc2c
improve comparison to add issue dependency ( #4658 )
2018-08-10 08:22:07 +03:00
Lunny Xiao
99e9a219b3
add git timeout settings docs ( #4383 )
2018-07-06 08:49:37 +03:00
Lunny Xiao
928ed78456
improve backup document and add zh-cn backup document ( #4145 )
2018-06-08 19:47:51 -04:00
Lunny Xiao
f48bf6b9f2
Add more webhooks support and refactor webhook templates directory ( #3929 )
...
* add more webhook support
* move hooks templates to standalone dir and add more webhooks ui
* fix tests
* update vendor checksum
* add more webhook support
* move hooks templates to standalone dir and add more webhooks ui
* fix tests
* update vendor checksum
* update vendor
Signed-off-by: Bo-Yi Wu <[email protected] >
* load attributes when created release
* update comparsion doc
2018-05-16 22:01:55 +08:00
Lunny Xiao
7c21042e37
Add config option to enable or disable log executed SQL ( #3726 )
...
* add config option to enable or disable log executed SQL
* rename ShowSQL to LogSQL
2018-03-30 22:49:46 +08:00
Lunny Xiao
cb76d2b1fc
add external tool docs ( #3301 )
2018-01-06 05:28:31 -06:00
Lunny Xiao
b92998c090
Support default private when creating or migrating repository ( #3239 )
...
* support default private when creating or migrating repository
* fix fmt
* use string constants on repository default private in app.ini
* fix fmt
2017-12-20 06:59:56 -06:00
Lunny Xiao
cc28351407
add notice for docker run gitea http port issue ( #3020 )
2017-11-30 19:18:35 +08:00