Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement more gambits #419

Open
tobyzerner opened this issue Aug 27, 2015 · 7 comments
Open

Implement more gambits #419

tobyzerner opened this issue Aug 27, 2015 · 7 comments

Comments

@tobyzerner
Copy link

Gambits are little pieces of search criteria that can be specified in the search string. Just like GitHub's search syntax.

Right now we've only implemented a few: is:unread and author:username in core, and tag:foo,bar, is:followed, is:ignored, is:sticky, and is:locked in their respective extensions.

We probably want to implement the following gambits:

  • Multiple author search, separated by commas (author:username1,username2)
  • created:date where date is the same syntax as on GitHub
  • updated:date
  • contributor:username1,username2
  • replies:number where number is the same syntax as on GitHub
  • ip:123.123.123.123

Pending flarum/framework#257, we will also want to have an in:title gambit which scopes fulltext search to only look in discussion titles.

We should also implement more gambits when searching users (i.e. /api/users?q=whatever), such as for filtering by group.

This is a precursor to an extensible advanced search interface which will come later.

This issue is being transferred. Timeline may not be complete until it finishes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant