0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-03-12 22:51:44 -05:00
forgejo/modules
Shiny Nematoda cddf608cb9 feat(issue search): query string for boolean operators and phrase search (#6952)
closes #6909

related to forgejo/design#14

# Description

Adds the following boolean operators for issues when using an indexer (with minor caveats)

- `+term`: `term` MUST be present for any result
- `-term`: negation; exclude results that contain `term`
- `"this is a term"`: matches the exact phrase `this is a term`

In all cases the special characters may be escaped by the prefix `\`

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6952
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-by: Otto <otto@codeberg.org>
Co-authored-by: Shiny Nematoda <snematoda.751k2@aleeas.com>
Co-committed-by: Shiny Nematoda <snematoda.751k2@aleeas.com>
2025-02-23 08:35:35 +00:00
..
actions
activitypub [PORT] Remove SHA1 for support for ssh rsa signing (#31857) (#5303) 2025-01-17 03:17:10 +00:00
analyze
assetfs chore: teach set module about iter.Seq (#6676) 2025-01-24 16:45:46 +00:00
auth chore: avoid using gock 2024-12-18 06:40:02 +01:00
avatar
base
cache
card Update 2024-12-30 17:47:34 +01:00
charset chore: Remove BreakWriter 2025-01-31 16:22:29 +01:00
container chore: teach set module about iter.Seq (#6676) 2025-01-24 16:45:46 +00:00
csv
emoji
eventsource
forgefed Transient model for federated unstar (#6740) 2025-02-11 12:49:32 +00:00
generate
git linting: fix typos, add toml validation (#7007) 2025-02-21 08:23:03 +00:00
gitrepo
graceful
hcaptcha
highlight linting: fix typos, add toml validation (#7007) 2025-02-21 08:23:03 +00:00
hostmatcher
html
httpcache
httplib
indexer feat(issue search): query string for boolean operators and phrase search (#6952) 2025-02-23 08:35:35 +00:00
issue/template
json
keying feat: harden keying implementation 2024-12-25 00:10:18 +01:00
label
lfs Revert empty lfs ref name (#33454) 2025-02-02 12:01:58 +01:00
log feat: add a buffer writer to the logger, for internal use (#6551) 2025-01-13 13:40:24 +00:00
markup linting: fix typos, add toml validation (#7007) 2025-02-21 08:23:03 +00:00
mcaptcha
metrics
migration feat: implement migration of website field from gogs/gitea/github (#6474) 2025-01-20 12:18:19 +00:00
nosql
optional
options
packages Alt Linux Apt-Rpm repository support for Forgejo packages. (#6351) 2025-01-22 14:01:49 +00:00
paginator
pprof
private chore: Remove ActionsRunnerRegister 2025-01-31 11:11:33 +01:00
process feat: add limited execution tracing support 2025-01-05 04:07:49 +01:00
proxy
proxyprotocol
public
queue
recaptcha
references fix trailing comma not matched in the case of alphanumeric issue (#32945) 2024-12-28 19:00:07 +00:00
regexplru
repository fix: Also substitute COPYRIGHT HOLDER and the organization in BSD 4-Clause license (#6942) 2025-02-15 12:55:59 +00:00
secret fix: teach the doctor about orphaned two_factor rows (#6639) 2025-01-21 17:30:08 +00:00
session
setting federation with allow lists (#5393) 2025-02-23 08:02:10 +00:00
sitemap
ssh fix: ensure correct ssh public key is used for authentication 2024-12-12 05:54:07 +01:00
storage chore: Remove ErrInvalidConfiguration 2025-01-31 11:07:21 +01:00
structs Fix invalid swagger syntax of $ref with sibling (#7019) 2025-02-21 14:09:21 +00:00
svg
sync
system
templates Remove automatic alt text in markdown image rendering 2025-01-31 21:22:00 +00:00
test
testlogger
timeutil
translation fix(i18n): use translate key as fallback 2025-01-28 15:03:38 +01:00
turnstile
typesniffer Update modules/typesniffer/typesniffer.go 2024-11-28 10:27:33 +00:00
updatechecker
uri
user
util chore: teach set module about iter.Seq (#6676) 2025-01-24 16:45:46 +00:00
validation federation with allow lists (#5393) 2025-02-23 08:02:10 +00:00
web chore: Remove DeleteLocaleCookie 2025-01-31 14:40:27 +01:00
webhook
zstd