ZIm/crates/collab/src/db/tests
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
..
billing_subscription_tests.rs collab: Adapt rate limits based on plan (#15548) 2024-07-31 14:27:28 -04:00
buffer_tests.rs Denormalize buffer operations (#9026) 2024-03-07 11:35:47 -07:00
channel_tests.rs Reduce DB load upon initial connection due to channel loading (#12500) 2024-05-30 13:02:55 -07:00
contributor_tests.rs collab: Restrict usage of the LLM service to accounts older than 30 days (#16133) 2024-08-12 17:27:21 -04:00
db_tests.rs collab: Restrict usage of the LLM service to accounts older than 30 days (#16133) 2024-08-12 17:27:21 -04:00
embedding_tests.rs Semantic Index (#10329) 2024-04-12 11:40:59 -06:00
extension_tests.rs Respect version constraints when installing extensions (#10052) 2024-04-01 17:10:30 -04:00
feature_flag_tests.rs Enable clippy::useless_format (#8758) 2024-03-02 23:31:58 -05:00
message_tests.rs Enable clippy::explicit_auto_deref (#8753) 2024-03-02 22:30:18 -05:00
processed_stripe_event_tests.rs collab: Rework Stripe event processing (#15510) 2024-07-30 16:35:11 -04:00
user_tests.rs assistant: Require user to accept TOS for cloud provider (#16111) 2024-08-12 17:43:35 +02:00