1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-15 06:04:32 -04:00
gitea/models
zeripath 4909493a9f
Allow manager logging to set SQL (#20064)
This PR adds a new manager command to switch on SQL logging and to turn it off.

```
gitea manager logging log-sql
gitea manager logging log-sql --off
```

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-06-24 12:49:47 +02:00
..
admin Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
appstate
asymkey Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
auth Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
avatars
db Allow manager logging to set SQL (#20064) 2022-06-24 12:49:47 +02:00
fixtures Exclude Archived repos from Dashboard Milestones (#19882) 2022-06-04 19:30:01 +01:00
foreignreference
git Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
issues Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
migrations Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
organization Adjust transaction handling via db.Context (#20031) 2022-06-20 14:38:58 +02:00
packages Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
perm Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
project Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
pull
repo Adjust transaction handling via db.Context (#20031) 2022-06-20 14:38:58 +02:00
unit Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
unittest Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 2022-06-16 23:47:44 +08:00
user Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
webhook Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
action_list.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
action_test.go Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
action.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
consistency.go Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
error.go Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
fixture_generation.go Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
fixture_test.go
main_test.go Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
migrate_test.go Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
migrate.go Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
notification_test.go Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
notification.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
org_team_test.go Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
org_team.go Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
org_test.go Move tests as seperate sub packages to reduce duplicated file names (#19951) 2022-06-15 09:02:00 +02:00
org.go In code search, get code unit accessible repos in one (main) query (#19764) 2022-06-16 02:24:10 +03:00
release.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
repo_activity.go Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
repo_collaboration_test.go Move tests as seperate sub packages to reduce duplicated file names (#19951) 2022-06-15 09:02:00 +02:00
repo_collaboration.go Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
repo_test.go Move tests as seperate sub packages to reduce duplicated file names (#19951) 2022-06-15 09:02:00 +02:00
repo_transfer_test.go
repo_transfer.go Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00
repo.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
statistic.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
task.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
token_test.go
token.go
upload.go
user_heatmap_test.go
user_heatmap.go
user.go Move issues related files into models/issues (#19931) 2022-06-13 17:37:59 +08:00