gitea/services/repository
Bryan Mutai 7d6861ac54
Add "Go to file", "Delete Directory" to repo file list page (#35911)
/claim #35898
Resolves #35898 

### Summary of key changes:

1. Add file name search/Go to file functionality to repo button row.
2. Add backend functionality to delete directory
3. Add context menu for directories with functionality to copy path & delete a directory
4. Move Add/Upload file dropdown to right for parity with Github UI
5. Add tree view to the edit/upload UI

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-11-30 11:58:15 +07:00
..
archiver Move archive function to repo_model and gitrepo (#35514) 2025-10-06 15:01:26 +07:00
commitstatus Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
files Add "Go to file", "Delete Directory" to repo file list page (#35911) 2025-11-30 11:58:15 +07:00
gitgraph Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
adopt.go Replace gobwas/glob package (#35478) 2025-09-13 18:01:00 +07:00
adopt_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
avatar.go Fix avatar upload error handling (#35887) 2025-11-07 09:44:09 +07:00
avatar_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
branch.go Remove unnecessary code and fix comments (#35761) 2025-10-28 18:03:57 +07:00
cache.go
check.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
collaboration.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 +07:00
collaboration_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
commit.go
contributors_graph.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
contributors_graph_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
create.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
create_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
delete.go Move HasWiki to repository service package (#33912) 2025-09-01 11:12:58 +07:00
delete_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
fork.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
fork_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
generate.go Limit reading bytes instead of ReadAll (#35928) 2025-11-12 19:44:49 +07:00
generate_test.go Limit reading bytes instead of ReadAll (#35928) 2025-11-12 19:44:49 +07:00
hooks.go Move HasWiki to repository service package (#33912) 2025-09-01 11:12:58 +07:00
init.go Move some functions to gitrepo package (#35543) 2025-10-07 17:06:51 +07:00
lfs.go
lfs_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
license.go Only keep popular licenses (#33832) 2025-03-10 06:40:37 +07:00
license_test.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +07:00
main_test.go
merge_upstream.go Add ff_only parameter to POST /repos/{owner}/{repo}/merge-upstream (#34770) 2025-06-19 12:29:10 +07:00
migrate.go Use gitrepo.Repository instead of wikipath (#35398) 2025-10-17 20:00:44 +07:00
push.go Fix various bugs (#35177) 2025-07-30 07:08:59 +07:00
repo_team.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 +07:00
repo_team_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
repository.go Move HasWiki to repository service package (#33912) 2025-09-01 11:12:58 +07:00
repository_test.go Move HasWiki to repository service package (#33912) 2025-09-01 11:12:58 +07:00
setting.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 +07:00
template.go Move some functions from package git to gitrepo (#33910) 2025-09-01 19:13:18 +07:00
transfer.go Use gitrepo.Repository instead of wikipath (#35398) 2025-10-17 20:00:44 +07:00
transfer_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00