zeripath
55cd33e124
Stop various tests from adding to the source tree ( #9515 )
Instead of just adding test generated files to .gitignore prevent
them from being produced in the first place.
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
4 years ago
Lunny Xiao
89b4e0477b
Refactor code indexer ( #9313 )
* Refactor code indexer
* fix test
* fix test
* refactor code indexer
* fix import
* improve code
* fix typo
* fix test and make code clean
* fix lint
4 years ago
Lunny Xiao
be06dee04c
Move code indexer related code to a new package ( #9191 )
* move code indexer related code to a new package
* fix lint
* fix tests
* fix fmt
* GetMaxID support interface parameter
5 years ago
Lunny Xiao
280f4bebbf
Move issue label operations to issue service package ( #8553 )
* Move issue label operations to issue service package
* fix test
* fix fmt
5 years ago
Lunny Xiao
5a438ee3c0
Move all mail related codes from models to services/mailer ( #7200 )
* move all mail related codes from models to modules/mailer
* fix lint
* use DBContext instead Engine
* use WithContext not WithEngine
* Use DBContext instead of Engine
* don't use defer when sess.Close()
* move DBContext to context.go and add some methods
* move mailer from modules/ to services
* fix lint
* fix tests
* fix fmt
* add gitea copyright
* fix tests
* don't expose db functions
* make code clear
* add DefaultDBContext
* fix build
* fix bug
5 years ago
Lunny Xiao
c03d75fbd5
Move git diff codes from models to services/gitdiff ( #7889 )
* move git diff codes from models to services/gitdiff
* fix template
* fix test
* fix template
5 years ago
Lunny Xiao
08069dc465
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
5 years ago
Ethan Koenig
91f3d77ceb
Unit tests for wiki routers ( #3022 )
7 years ago
Ethan Koenig
7e0654bd9e
Fix counts on issues dashboard ( #2215 )
* Fix counts on issues dashboard
* setupSess -> setupSession
* Unit test
* Load repo owners for issues
7 years ago