ZIm/crates/collab/src/db/queries
Marshall Bowers 98516b5527
collab: Restrict usage of the LLM service to accounts older than 30 days (#16133)
This PR restricts usage of the LLM service to accounts older than 30
days.

We now store the GitHub user's `created_at` timestamp to check the
GitHub account age. If this is not set—which it won't be for existing
users—then we use the `created_at` timestamp in the Zed database.

Release Notes:

- N/A

---------

Co-authored-by: Max <max@zed.dev>
2024-08-12 17:27:21 -04:00
..
access_tokens.rs Migrate from scrypt to sha256. (#8969) 2024-03-06 20:51:43 -07:00
billing_customers.rs collab: Rework Stripe event processing (#15510) 2024-07-30 16:35:11 -04:00
billing_subscriptions.rs Allow users to stop a previously scheduled cancelation of their Zed Pro plan (#15562) 2024-07-31 16:36:46 -04:00
buffers.rs Support very large channel membership lists (#11939) 2024-05-16 20:02:25 -06:00
channels.rs Reduce DB load upon initial connection due to channel loading (#12500) 2024-05-30 13:02:55 -07:00
contacts.rs Enable clippy::explicit_auto_deref (#8753) 2024-03-02 22:30:18 -05:00
contributors.rs collab: Restrict usage of the LLM service to accounts older than 30 days (#16133) 2024-08-12 17:27:21 -04:00
dev_server_projects.rs remoting: Allow Add/Remove remote folder (#14532) 2024-07-16 12:01:59 -06:00
dev_servers.rs remoting: Allow Add/Remove remote folder (#14532) 2024-07-16 12:01:59 -06:00
embeddings.rs Semantic Index (#10329) 2024-04-12 11:40:59 -06:00
extensions.rs Bring Jupyter to Zed Editing (#12062) 2024-06-17 10:02:31 -07:00
hosted_projects.rs Fix joining hosted projects (#9038) 2024-03-07 19:56:41 -07:00
messages.rs Support very large channel membership lists (#11939) 2024-05-16 20:02:25 -06:00
notifications.rs Avoid insert ... on conflict on startup (#16045) 2024-08-09 15:32:11 -04:00
processed_stripe_events.rs collab: Rework Stripe event processing (#15510) 2024-07-30 16:35:11 -04:00
projects.rs Allow clients to run Zed tasks on remote projects (#12199) 2024-05-24 22:26:57 +03:00
rate_buckets.rs Allow AI interactions to be proxied through Zed's server so you don't need an API key (#7367) 2024-03-19 19:22:26 +01:00
rooms.rs Rename RemoteProject -> DevServerProject (#11301) 2024-05-02 11:00:08 -06:00
servers.rs Enable clippy::borrow_deref_ref (#8894) 2024-03-05 12:24:54 -05:00
users.rs collab: Restrict usage of the LLM service to accounts older than 30 days (#16133) 2024-08-12 17:27:21 -04:00