mirror of
1
Fork 0
forgejo/models/repo
Gusted 499497c959 fix: make author search case insenstive (#6782)
- Make the author search in the issues and pull request list case
insenstive.
- Background: Forgejo mandates that all columns are case senstive and
only SQLite ignores this for ASCII characters with the `LIKE` operator
any other database will indeed do case senstive searching. Codeberg
recently made all columns case senstive, hence why this issue now surfaces.
- Added integration test.
- Resolves forgejo/forgejo#6744

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6782
Reviewed-by: Beowulf <beowulf@beocode.eu>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-02-04 16:33:47 +00:00
..
TestSearchRepositoryIDsByCondition fix: anomynous users code search for private/limited user's repository 2024-11-15 10:59:36 +01:00
archive_download_count.go chore: fix typos, decap a few i18n strings (#6666) 2025-01-24 05:41:59 +00:00
archive_download_count_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
archiver.go Count downloads for tag archives 2024-04-08 12:51:27 +02:00
attachment.go chore: Remove `DeleteAttachmentsByIssue` 2025-01-30 12:19:59 +01:00
attachment_test.go chore: Remove `DeleteAttachmentsByIssue` 2025-01-30 12:19:59 +01:00
avatar.go
collaboration.go
collaboration_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
following_repo.go ui for adding following repos 2024-05-24 13:28:15 +02:00
following_repo_test.go ui for adding following repos 2024-05-24 13:28:15 +02:00
fork.go fix: don't show private forks in forks list 2024-11-15 10:59:36 +01:00
fork_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
git.go feat: allow changing default branch update style 2024-12-23 18:55:25 +03:00
issue.go Clean up log messages (#30313) 2024-04-15 20:01:35 +02:00
language_stats.go chore: remove usages of `sort.Sort` (#6689) 2025-01-26 13:30:00 +00:00
language_stats_test.go chore: remove usages of `sort.Sort` (#6689) 2025-01-26 13:30:00 +00:00
main_test.go tests: improve actvititypub integration test code 2024-11-01 22:39:49 +01:00
mirror.go
pushmirror.go [FEAT] Allow pushmirror to use publickey authentication 2024-08-22 17:05:07 +02:00
pushmirror_test.go [FEAT] Allow pushmirror to use publickey authentication 2024-08-22 17:05:07 +02:00
redirect.go
redirect_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
release.go Fix typos 2024-12-28 21:20:55 +01:00
release_test.go Update 2024-12-30 17:47:34 +01:00
repo.go feat: Add summary card for repos and releases 2024-12-14 19:36:09 +01:00
repo_flags.go [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
repo_flags_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
repo_indexer.go
repo_list.go chore: Remove `FindReposMapByIDs` 2025-01-30 12:19:59 +01:00
repo_list_test.go fix: anomynous users code search for private/limited user's repository 2024-11-15 10:59:36 +01:00
repo_repository.go ui for adding following repos 2024-05-24 13:28:15 +02:00
repo_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
repo_unit.go feat: allow changing default branch update style 2024-12-23 18:55:25 +03:00
repo_unit_test.go feat: allow changing default branch update style 2024-12-23 18:55:25 +03:00
search.go fix: Add `recentupdated` as recognized sort option 2024-10-19 23:53:29 +02:00
star.go
star_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
topic.go chore: Remove `GetTopicByName` 2025-01-30 12:19:59 +01:00
topic_test.go chore: Remove `GetTopicByName` 2025-01-30 12:19:59 +01:00
update.go
upload.go
user_repo.go fix: make author search case insenstive (#6782) 2025-02-04 16:33:47 +00:00
user_repo_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
watch.go [MODERATION] Refactor excluding watchers mechanism (squash) 2024-02-05 15:56:58 +01:00
watch_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
wiki.go
wiki_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00