{"id": 612673948, "node_id": "MDU6SXNzdWU2MTI2NzM5NDg=", "number": 759, "title": "fts search on a column doesn't work anymore due to escape_fts", "user": {"value": 133845, "label": "Krazybug"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 3, "created_at": "2020-05-05T15:03:44Z", "updated_at": "2021-07-16T02:11:54Z", "closed_at": "2020-05-06T17:50:57Z", "author_association": "NONE", "pull_request": null, "body": "Hi and first, thank you for this awesome work you make with this projet.\r\n\r\nOn a db indexed in full text search, I can't query on indexed column anymore.\r\n\r\nThis request \"cauvin language:ita\": is running smoothly on a old version of datasette but not on the current version.\r\n\r\nCompare the current version query\r\n`select uuid, title, authors, year, series, language, formats, publisher, tags, identifiers from summary where rowid in (select rowid from summary_fts where summary_fts match escape_fts(:search)) order by uuid limit 101`\r\n\r\n\r\nTo an older version:\r\n\r\n`select title, authors, series, uuid, language, identifiers, tags, publisher, formats, year, links from summary where rowid in (select rowid from summary_fts where summary_fts match :search) order by uuid limit 101`\r\n\r\n_language_ is a searchable column but now the search string is known as \"cauvin language:ita\" literally as a search term. columns are not parsed.\r\n\r\n\r\n", "repo": {"value": 107914493, "label": "datasette"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/datasette/issues/759/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": "completed"} {"id": 660827546, "node_id": "MDU6SXNzdWU2NjA4Mjc1NDY=", "number": 899, "title": "How to setup a request limit per user", "user": {"value": 133845, "label": "Krazybug"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 1, "created_at": "2020-07-19T13:08:25Z", "updated_at": "2020-07-31T23:54:42Z", "closed_at": "2020-07-31T23:54:42Z", "author_association": "NONE", "pull_request": null, "body": "Hello,\r\n\r\nUntil now I'm using datasette without any authentication system but I would like to setup a configuration or limiting the number of requests per user (eventually by IP or with a cookie mechanism) and eventually allowing me to ban specific users/IPs.\r\n\r\nIs there a plugin available for this use case ? \r\nIf not what are your insights regarding this UC ?\r\n\r\nShould I write a plugin ? Should I deploy datasette behind a reverse proxy to manage this ?\r\n ", "repo": {"value": 107914493, "label": "datasette"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/datasette/issues/899/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": "completed"}