Commit Graph

11 Commits (719bddcd76610a63dadc8555760072957a11cf30)

Author SHA1 Message Date
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) 4 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) 4 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
Lunny Xiao f2a3abc683
Move migrating repository from frontend to backend (#6200) 5 years ago
Lunny Xiao c03d75fbd5 Move git diff codes from models to services/gitdiff (#7889) 5 years ago
Lunny Xiao f83db078f0 Move database settings from models to setting (#7806) 5 years ago
Lunny Xiao 7b009626da Add SQL execution on log and indexes on table repository and comment (#7740) 5 years ago
Lunny Xiao 337d6915ff Detect migrating batch size (#7353) 5 years ago