You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/setting
wxiaoguang 65f17bfc31
Refactor legacy `unknwon/com` package, improve golangci lint (#19284)
The main purpose is to refactor the legacy `unknwon/com` package.
1. Remove most imports of `unknwon/com`, only `util/legacy.go` imports the legacy `unknwon/com`
2. Use golangci's depguard to process denied packages
3. Fix some incorrect values in golangci.yml, eg, the version should be quoted string `"1.18"`
4. Use correctly escaped content for `go-import` and `go-source` meta tags
5. Refactor `com.Expand` to our stable (and the same fast) `vars.Expand`, our `vars.Expand` can still return partially rendered content even if the template is not good (eg: key mistach).
2 years ago
..
attachment.go format with gofumpt (#18184) 2 years ago
cache.go format with gofumpt (#18184) 2 years ago
cors.go format with gofumpt (#18184) 2 years ago
cron.go Allow extended config on cron settings (#12939) 4 years ago
cron_test.go format with gofumpt (#18184) 2 years ago
database.go format with gofumpt (#18184) 2 years ago
database_sqlite.go Refactor install page (db type) (#17919) 3 years ago
database_test.go Move database settings from models to setting (#7806) 5 years ago
directory.go Improve install code to avoid low-level mistakes. (#17779) 3 years ago
federation.go Add nodeinfo endpoint for federation purposes (#16953) 3 years ago
git.go format with gofumpt (#18184) 2 years ago
i18n.go Improve install code to avoid low-level mistakes. (#17779) 3 years ago
indexer.go format with gofumpt (#18184) 2 years ago
indexer_test.go format with gofumpt (#18184) 2 years ago
lfs.go format with gofumpt (#18184) 2 years ago
log.go format with gofumpt (#18184) 2 years ago
mailer.go format with gofumpt (#18184) 2 years ago
markup.go Support ignore all santize for external renderer (#18984) 2 years ago
migrations.go format with gofumpt (#18184) 2 years ago
mime_type_map.go format with gofumpt (#18184) 2 years ago
mirror.go format with gofumpt (#18184) 2 years ago
oauth2_client.go OAuth2 login: Set account link to "login" as default behavior (#15768) 3 years ago
packages.go Add Package Registry (#16510) 2 years ago
picture.go Make AvatarRenderedSizeFactor configurable and set it to 3 (#17951) 3 years ago
project.go Kanban board (#8346) 4 years ago
proxy.go format with gofumpt (#18184) 2 years ago
queue.go Enable deprecation error for v1.17.0 (#18341) 2 years ago
repository.go Warn at startup if the provided `SCRIPT_TYPE` is not on the PATH (#18467) 2 years ago
service.go add configuration option to restrict users by default (#16256) 3 years ago
session.go format with gofumpt (#18184) 2 years ago
setting.go Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 2 years ago
setting_test.go Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
storage.go Rework repository archive (#14723) 3 years ago
storage_test.go more test case for STORAGE_TYPE overrides (and fixes) (#14096) 4 years ago
task.go Enable deprecation error for v1.17.0 (#18341) 2 years ago
webhook.go Add packagist webhook (#18224) 2 years ago