Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
19f0674
feat(labrinth): project disclosures model
Sychic Jul 30, 2026
5de5981
feat(labrinth): project disclosures database model
Sychic Jul 30, 2026
42b444d
feat(labrinth): project disclosures get endpoint
Sychic Jul 30, 2026
6d0e72d
feat(labrinth): censor user ids if set by moderator
Sychic Jul 30, 2026
a85aec8
feat(labrinth): wrap disclosures in struct
Sychic Jul 30, 2026
401da6a
feat(labrinth): edit project disclosures endpoint
Sychic Jul 30, 2026
a5690a5
style(labrinth): cargo fmt
Sychic Jul 30, 2026
3ad1069
style(labrinth): fix typo
Sychic Jul 30, 2026
217ce0f
feat(labrinth): add fields for ai content disclosure
Sychic Jul 31, 2026
7202a4b
fix(labrinth): field typo
Sychic Jul 31, 2026
d7590a2
chore(labrinth): update query cache
Sychic Aug 1, 2026
9309b3e
feat(labrinth): index disclosures in search
Sychic Aug 2, 2026
79aa787
refactor(labrinth): use enum instead of bools
Sychic Aug 2, 2026
b273c52
feat(labrinth): trigger incremental index on disclosure change
Sychic Aug 3, 2026
458fbac
feat(labrinth): change archived status to disclosure
Sychic Aug 3, 2026
e367e77
feat(labrinth): use disclosure for archival status
Sychic Aug 3, 2026
940eac3
fix(labrinth): error type for deserialization
Sychic Aug 4, 2026
8568bf8
fix(labrinth): migration timestamp
Sychic Aug 4, 2026
e47fcbb
fix(labrinth): add disclosures to elasticsearch schema
Sychic Aug 7, 2026
1c3d3ed
fix(labrinth): don't remove archival disclosure when changing status …
Sychic Aug 9, 2026
b287071
feat(labrinth): derive str for ai usages and telemtry consent
Sychic Aug 10, 2026
cce8341
feat(labrinth): include ai usages and telemetry consent in disclosure…
Sychic Aug 10, 2026
7eefad2
refactor(labrinth): move disclosure parsing to document creation
Sychic Aug 10, 2026
f83982c
fix(labrinth): prevent removing moderator added archival disclosures
Sychic Aug 10, 2026
afd7515
fix(labrinth): dedupe ai usages
Sychic Aug 10, 2026
ddba008
fix(labrinth): auth logic on archived disclosure removal
Sychic Aug 10, 2026
122e40a
feat(labrinth): add interactions field
Sychic Aug 10, 2026
892f73a
Merge remote-tracking branch 'origin/main' into sychic/project-disclo…
Sychic Aug 10, 2026
0ab5e4b
style(labrinth): cargo fmt
Sychic Aug 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
CREATE TABLE project_disclosures (
project_id BIGINT NOT NULL REFERENCES mods(id) ON DELETE CASCADE,
type TEXT NOT NULL,
metadata JSONB NOT NULL,
updated_at TIMESTAMPTZ NOT NULL DEFAULT now(),
updated_by BIGINT NOT NULL REFERENCES users(id) ON DELETE CASCADE,
set_by_moderator BOOLEAN NOT NULL,
PRIMARY KEY (project_id, type)
);
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
INSERT INTO project_disclosures (project_id, type, metadata, updated_by, set_by_moderator)
SELECT id, 'archived', '{"note": null}'::jsonb, 0, FALSE
FROM mods
WHERE status = 'archived'
ON CONFLICT (project_id, type) DO NOTHING;

UPDATE mods
SET status = 'approved'
WHERE status = 'archived';
2 changes: 2 additions & 0 deletions apps/labrinth/src/database/models/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ pub mod payout_item;
pub mod payouts_values_notifications;
pub mod product_item;
pub mod products_tax_identifier_item;
pub mod project_disclosure_item;
pub mod project_item;
pub mod report_item;
pub mod session_item;
Expand All @@ -53,6 +54,7 @@ pub use image_item::DBImage;
pub use oauth_client_item::DBOAuthClient;
pub use organization_item::DBOrganization;
pub use passkey_item::DBPasskey;
pub use project_disclosure_item::DBProjectDisclosure;
pub use project_item::DBProject;
pub use team_item::DBTeam;
pub use team_item::DBTeamMember;
Expand Down
Loading
Loading