Commit Graph

16 Commits (fae395b93716afa6150a6ef090bd9d402795adc9)

Author SHA1 Message Date
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 2 years ago
Lunny Xiao 12c742f8dc
Fix order by parameter (#19849) 3 years ago
Lauris BH 8038610a42
Automatically pause queue if index service is unavailable (#15066) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
wxiaoguang 042cac5fed
Improve install code to avoid low-level mistakes. (#17779) 3 years ago
Lunny Xiao d710af6669
Remove NewSession method from db.Engine interface (#17577) 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
wxiaoguang df64fa4865
Decouple unit test code from business code (#17623) 3 years ago
Lunny Xiao 69b61d4373
Fix bug on admin subcommand (#17533) 3 years ago
Lunny Xiao 63c0dc89ef
Rename db Engines related functions (#17481) 3 years ago
zeripath e6e3b212b3
Run Migrate in Install rather than just SyncTables (#17475) 3 years ago
Lunny Xiao f494776931
Use a variable but a function for IsProd because of a slight performance increment (#17368) 3 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
zeripath e0853d4a21
Add API Token Cache (#16547) 3 years ago
Lunny Xiao 7224cfc578
Upgrade xorm to v1.2.2 (#16663) 3 years ago
Romain 14762abf0b
Separate open and closed issue in metrics (#16637) 3 years ago
KN4CK3R 44b8b07631
Add tag protection (#15629) 3 years ago
Lunny Xiao b223d36195
Rework repository archive (#14723) 3 years ago
KN4CK3R 440039c0cc
Add push to remote mirror repository (#15157) 3 years ago
Lunny Xiao 0393a57511
Add a new table issue_index to store the max issue index so that issue could be deleted with no duplicated index (#15599) 3 years ago
zeripath edb838997c
Fix setting version table in dump (#15753) 4 years ago
zeripath 39ef6f83d5
Create Proper Migration Tests (#15116) 4 years ago
Bo-Yi Wu 167b0f46ef
chore(models): rewrite code format. (#14754) 4 years ago
6543 a4148c0f12
Repository transfer has to be confirmed, if user can not create repo for new owner (#14792) 4 years ago
zeripath 0a9a484e1e
Create DB session provider(based on xorm) (#13031) 4 years ago
Andrew Bezold bc05ddc0eb
Redirect on changed user and org name (#11649) 4 years ago
Lunny Xiao 84b147c7f0
Use IsProd instead of testing if it's equal. (#14336) 4 years ago
zeripath ac88b0ee83
Ensure that schema search path is set with every connection on postgres (#14131) 4 years ago
zeripath e0ac545043
Add postgres schema to the search_path on database connection (#12634) 4 years ago
6543 cfd8e8a489
gitea dump: include version & Check InstallLock (#12760) 4 years ago
zeripath 1b9d5074a7
Add command to recreate tables (#12407) 4 years ago
Lanre Adelowo 4027c5dd7c
Kanban board (#8346) 4 years ago
Lunny Xiao 45631083a4
Support use nvarchar for all varchar columns when using mssql (#12269) 4 years ago
Lars Lehtonen b49a195839
models: fix xorm variable clobber (#12231) 4 years ago
6543 726e1e5279
Doctor check & fix db consistency (#11111) 5 years ago
Success Go 8cffae65a6
Fix typo of MSSQL (#10850) 5 years ago
zeripath e6baa656f7
make avatar lookup occur at image request (#10540) 5 years ago
Lauris BH a3f90948d8
Set MySQL rowtype to dynamic for new tables (#10833) 5 years ago
Lunny Xiao c61b902538
Upgrade xorm to v1.0.0 (#10646) 5 years ago
guillep2k 15614a8368
Divide GetIssueStats query in smaller chunks (#10176) 5 years ago
Lauris BH ad2642a8aa
Language statistics bar for repositories (#8037) 5 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452) 5 years ago
guillep2k ad1b6d439f Add support for database schema in PostgreSQL (#8819) 5 years ago
zeripath e3c3b33ea7
Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
Lunny Xiao be06dee04c Move code indexer related code to a new package (#9191) 5 years ago
zeripath d8161ee3fd
Expose db.SetMaxOpenConns and allow non MySQL dbs to set conn pool params (#8528) 5 years ago
Lunny Xiao d151503d34 Upgrade xorm to v0.8.0 (#8536) 5 years ago