gitforge/cmd
Mathieu Fenniak bd4201ed25 chore: remove EXIF stripping capability due to usage of AGPL licensed exif-terminator library (#13105)
In #9638, repository and user avatars had an EXIF removal capability added to them.  Unfortunately, this capability was added with an AGPL licensed library, exif-terminator, which is incompatible with Forgejo's license.  This was not detected by license check automation at the time.

This PR removes the capability in order to fix the license compatibility.  The `forgejo doctor avatar-strip-exif` is retained with a warning output that it is not supported.

Reopens: forgejo/forgejo#9608

## Checklist

The [contributor guide](https://forgejo.org/docs/next/contributor/) contains information that will be helpful to first time contributors. All work and communication must conform to Forgejo's [AI Agreement](https://codeberg.org/forgejo/governance/src/branch/main/AIAgreement.md). There also are a few [conditions for merging Pull Requests in Forgejo repositories](https://codeberg.org/forgejo/governance/src/branch/main/PullRequestsAgreement.md). You are also welcome to join the [Forgejo development chatroom](https://matrix.to/#/#forgejo-development:matrix.org).

### Tests for Go changes

- I added test coverage for Go changes...
  - [x] in their respective `*_test.go` for unit tests.
  - [ ] in the `tests/integration` directory if it involves interactions with a live Forgejo server.
- I ran...
  - [x] `make pr-go` before pushing

### Documentation

- [ ] I created a pull request [to the documentation](https://codeberg.org/forgejo/docs) to explain to Forgejo users how to use this change.
- [x] I did not document these changes and I do not expect someone else to do it.

### Release notes

- [x] This change will be noticed by a Forgejo user or admin (feature, bug fix, performance, etc.). I suggest to include a release note for this change.
- [ ] This change is not visible to a Forgejo user or admin (refactor, dependency upgrade, etc.). I think there is no need to add a release note for this change.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/13105
Reviewed-by: Andreas Ahlenstorf <aahlenst@noreply.codeberg.org>
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
2026-06-17 16:16:35 +02:00
..
forgejo chore(cmd): re-enable nilnil lint (#12489) 2026-05-21 21:45:13 +02:00
actions.go
admin.go feat: replace repo based server-side hooks with centralised hooks (#10397) 2026-04-27 22:34:46 +02:00
admin_auth.go
admin_auth_ldap.go
admin_auth_ldap_test.go
admin_auth_oauth.go feat: add dynamic group mappings for OIDC (#11656) 2026-05-22 12:38:20 +02:00
admin_auth_oauth_test.go feat: add dynamic group mappings for OIDC (#11656) 2026-05-22 12:38:20 +02:00
admin_auth_pam.go
admin_auth_pam_test.go
admin_auth_smtp.go
admin_regenerate.go feat: replace repo based server-side hooks with centralised hooks (#10397) 2026-04-27 22:34:46 +02:00
admin_user.go feat: add CLI command 'admin user create-authorized-integration' (#12299) 2026-04-28 21:32:45 +02:00
admin_user_change_password.go
admin_user_create.go feat: backend DB model for fine-grained repo access tokens 2026-02-27 17:17:29 +01:00
admin_user_delete.go
admin_user_generate_access_token.go feat: backend DB model for fine-grained repo access tokens 2026-02-27 17:17:29 +01:00
admin_user_generate_authorized_integration.go feat: ability to edit authorized integration in web UI (#12601) 2026-05-17 18:33:39 +02:00
admin_user_list.go
admin_user_must_change_password.go
admin_user_reset_mfa.go
cert.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
cmd.go chore(cmd): re-enable nilnil lint (#12489) 2026-05-21 21:45:13 +02:00
cmd_test.go chore: use signal.NotifyContext over custom implementation (#10311) 2026-03-04 00:45:38 +01:00
doctor.go chore: remove EXIF stripping capability due to usage of AGPL licensed exif-terminator library (#13105) 2026-06-17 16:16:35 +02:00
doctor_convert.go
doctor_test.go
dump.go feat: enable compression on zip dump (#12296) 2026-04-28 02:11:26 +02:00
dump_repo.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
dump_test.go
embedded.go
generate.go
hook.go chore: fix typos throughout the codebase (#10753) 2026-01-26 22:57:33 +01:00
hook_test.go
keys.go
mailer.go chore: fix typos throughout the codebase (#10753) 2026-01-26 22:57:33 +01:00
main.go Update module github.com/urfave/cli/v3 to v3.7.0 (forgejo) (#11713) 2026-03-18 20:23:38 +01:00
main_test.go feat: replace repo based server-side hooks with centralised hooks (#10397) 2026-04-27 22:34:46 +02:00
manager.go
manager_logging.go
migrate.go
migrate_storage.go chore: upgrade to https://code.forgejo.org/xorm/xorm v1.4.0 (#12639) 2026-05-20 20:20:08 +02:00
migrate_storage_test.go
restore_repo.go
serv.go feat: enable auth to git LFS via authorized integrations (#12725) 2026-05-28 23:20:58 +02:00
web.go chore: don't load settings twice for running web (#12111) 2026-04-14 07:25:05 +02:00
web_acme.go
web_graceful.go
web_https.go