Lunny Xiao
dd40fa8043
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
e2f0c05612
[fix] typo ( #9104 )
5 years ago
Lunny Xiao
c02352114d
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
9932df9ee6
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
4ef4bffc66
doc:增加附件`ALLOWED_TYPES`取得MIME type的方法 ( #8770 )
5 years ago
Lunny Xiao
df107d7d17
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
e1b44e08c3
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
e6c48e4e57
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
ff0e7e032b
update cache item_ttl docs ( #8222 )
5 years ago
Lunny Xiao
ed1df25c45
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
4672db87bd
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
a4f0b26135
when git version >= 2.18, git command could run with git wire protocol version 2 param if enabled ( #7047 )
6 years ago
Lunny Xiao
e491c46a28
Add support of utf8mb4 for mysql ( #6992 )
6 years ago
Richard Mahn
0f5cb632d2
Fixes 4762 - Content API for Creating, Updating, Deleting Files ( #6314 )
6 years ago
Lunny Xiao
513f9ca9d5
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
0d56edb057
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
40e55c4503
add default time out for git operations ( #6015 )
6 years ago
Richard Mahn
5590fb6fa0
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
bfb703603d
improve the releases api paging ( #5831 )
* improve the releases api paging
* add max limit on API paging
6 years ago
Lunny Xiao
0b0aecc90e
add git timeout settings docs ( #4383 )
7 years ago
Lunny Xiao
8e9fd50a92
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
9f33d27c7c
add external tool docs ( #3301 )
7 years ago
Lunny Xiao
9bd6cc1455
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
6d55581b9d
Import docs into main repository ( #2874 )
* import docs into main repository
Signed-off-by: Matti Ranta <matti@mdranta.net>
7 years ago