silverwind
98ddf87b03
Update docs to specify utf8mb4 default ( #11962 )
...
Install tool already sets it as the default so we can just update
example ini and docs to it.
Fixes: https://github.com/go-gitea/gitea/issues/11081
5 years ago
Lunny Xiao
03ba974481
Rename custom/conf/app.ini.sample to custom/conf/app.example.ini for better syntax light on editor ( #11926 )
...
* Rename custom/conf/app.ini.sample to custom/conf/app.sample.ini for better syntax light on editor
* rename to app.example.ini
* per @6543 's comment, update all references on docs
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
5 years ago
Kristian Antonsen
0e4e14d0f5
Replace references to cron.update_migration_post_id with cron.update_migration_poster_id in docs ( #11068 )
...
Across several files, references to cron.update_migration_post_id are made, although the actual setting is called cron.update_migration_poster_id according to modules/setting/cron.go (10e2f29144/modules/setting/cron.go (L54)
).
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
5 years ago
Lunny Xiao
5dbf36f356
Issue search support elasticsearch ( #9428 )
...
* Issue search support elasticsearch
* Fix lint
* Add indexer name on app.ini
* add a warnning on SearchIssuesByKeyword
* improve code
5 years ago
Lunny Xiao
ce7062a422
Cache last commit to accelerate the repository directory page visit ( #10069 )
...
* Cache last commit to accelerate the repository directory page visit
* Default use default cache configuration
* add tests for last commit cache
* Simplify last commit cache
* Revert Enabled back
* Change the last commit cache default ttl to 8760h
* Fix test
5 years ago
ZHOU Cheng
412679fd8b
登陆 to 登录 ( #9382 )
5 years ago
Lunny Xiao
e3081c667a
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
5 years ago
maicss
51ed4cc063
[fix] typo ( #9104 )
5 years ago
Lunny Xiao
1b7182e5ec
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
5 years ago
Lunny Xiao
55bdc9aa38
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
5 years ago
cnphpbb
7cf56a16d2
doc:增加附件`ALLOWED_TYPES`取得MIME type的方法 ( #8770 )
5 years ago
Lunny Xiao
0be992a1e2
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
5 years ago
Lunny Xiao
e3e44a59d0
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
5 years ago
Lunny Xiao
f2a3abc683
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
5 years ago
Lunny Xiao
3c0e6d1126
update cache item_ttl docs ( #8222 )
5 years ago
Lunny Xiao
f83db078f0
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
5 years ago
Lunny Xiao
85202d4784
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
5 years ago
Lunny Xiao
063fa99159
when git version >= 2.18, git command could run with git wire protocol version 2 param if enabled ( #7047 )
6 years ago
Lunny Xiao
d5a98a2969
Add support of utf8mb4 for mysql ( #6992 )
6 years ago
Richard Mahn
2262811e40
Fixes 4762 - Content API for Creating, Updating, Deleting Files ( #6314 )
6 years ago
Lunny Xiao
e7d7dcb090
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 <xiaolunwen@gmail.com>
* switch to go mod
* Update required changes for new logging func signatures
6 years ago
Lunny Xiao
477ef46251
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
6 years ago
Lunny Xiao
9e8cc3b18d
add default time out for git operations ( #6015 )
6 years ago
Richard Mahn
da1edbfb79
Feature - Pagination for git tree API ( #5838 )
...
* Feature - Pagination for git tree API
* Handles case when page is negative
* Does a for loop over the start and end rather than all entries
* Removed redundent logic
* Adds per_page as a query parameter
* Adds DEFAULT_GIT_TREES_PER_PAGE for settings, ran make fmt
* Fix typo in cheat-sheet en
* Makes page start at 1, generated swagger
* Use updates to SDK
* Updates to use latest sdk
* Updates swagger for tree api
* Adds test for GetTreeBySHA
* Updates per PR reviews
* Updates per PR reviews
* Remove file
* Formatting
* Fix to swagger file
* Fix to swagger
* Update v1_json.tmpl
* Fix to swagger file
6 years ago
Lunny Xiao
892bfd0b19
improve the releases api paging ( #5831 )
...
* improve the releases api paging
* add max limit on API paging
6 years ago
Lunny Xiao
1675fc4301
add git timeout settings docs ( #4383 )
6 years ago
Lunny Xiao
d877bf7e15
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
7 years ago
Lunny Xiao
bf78c95d80
add external tool docs ( #3301 )
7 years ago
Lunny Xiao
529482135c
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
7 years ago
techknowlogick
fb5c6b6444
Import docs into main repository ( #2874 )
...
* import docs into main repository
Signed-off-by: Matti Ranta <matti@mdranta.net>
7 years ago