Browse the tree at this commit
177 files changed, +66650, −0
.containerignore+12−0
.gitignore+6−0
Cargo.lock+6476−0
Cargo.toml+3−0
Containerfile+45−0
Makefile+16−0
README.md+104−0
TODO.md+205−0
dev/build-container.sh+46−0
dev/dev-test.sh+169−0
flake.lock+48−0
flake.nix+422−0
frogue/Cargo.toml+129−0
frogue/src/activitypub/actor.rs+183−0
frogue/src/activitypub/delivery.rs+210−0
frogue/src/activitypub/feed.rs+278−0
frogue/src/activitypub/following.rs+273−0
frogue/src/activitypub/forge/activity.rs+272−0
frogue/src/activitypub/forge/builders.rs+282−0
frogue/src/activitypub/forge/inbound.rs+691−0
frogue/src/activitypub/forge/mod.rs+5−0
frogue/src/activitypub/inbox.rs+945−0
frogue/src/activitypub/keys.rs+81−0
frogue/src/activitypub/mod.rs+200−0
frogue/src/activitypub/notes.rs+283−0
frogue/src/activitypub/outbox.rs+79−0
frogue/src/activitypub/remote/mod.rs+503−0
frogue/src/activitypub/remote/notes.rs+361−0
frogue/src/activitypub/signatures.rs+354−0
frogue/src/activitypub/types.rs+922−0
frogue/src/activitypub/webfinger.rs+85−0
frogue/src/api/mod.rs+5−0
frogue/src/auth.rs+130−0
frogue/src/comments/mod.rs+100−0
frogue/src/comments/store.rs+273−0
frogue/src/entities/ap_activities.rs+20−0
frogue/src/entities/ap_actors.rs+23−0
frogue/src/entities/ap_deliveries.rs+33−0
frogue/src/entities/ap_followers.rs+35−0
frogue/src/entities/ap_following.rs+49−0
frogue/src/entities/ap_notes.rs+20−0
frogue/src/entities/ap_reactions.rs+71−0
frogue/src/entities/ap_remote_actors.rs+28−0
frogue/src/entities/ap_remote_notes.rs+37−0
frogue/src/entities/ap_remote_tickets.rs+35−0
frogue/src/entities/comments.rs+33−0
frogue/src/entities/invites.rs+21−0
frogue/src/entities/mod.rs+24−0
frogue/src/entities/patch_proposals.rs+83−0
frogue/src/entities/prelude.rs+22−0
frogue/src/entities/repositories.rs+75−0
frogue/src/entities/ssh_keys.rs+30−0
frogue/src/entities/ticket_attachments.rs+26−0
frogue/src/entities/ticket_label_assignments.rs+17−0
frogue/src/entities/ticket_labels.rs+20−0
frogue/src/entities/tickets.rs+50−0
frogue/src/entities/users.rs+32−0
frogue/src/git_hook.rs+1099−0
frogue/src/highlight.rs+154−0
frogue/src/lib.rs+424−0
frogue/src/main.rs+38−0
frogue/src/markdown.rs+315−0
frogue/src/models/mod.rs+1−0
frogue/src/models/user.rs+14−0
frogue/src/patches/change_id.rs+175−0
frogue/src/patches/merge.rs+510−0
frogue/src/patches/mod.rs+204−0
frogue/src/patches/store.rs+324−0
frogue/src/protocol/mod.rs+3−0
frogue/src/protocol/pktline.rs+230−0
frogue/src/registration.rs+320−0
frogue/src/repositories/git.rs+2298−0
frogue/src/repositories/mod.rs+516−0
frogue/src/repositories/store.rs+193−0
frogue/src/ssh/handler.rs+950−0
frogue/src/ssh/mod.rs+393−0
frogue/src/ssh/tui/mod.rs+49−0
frogue/src/ssh/tui/register.rs+544−0
frogue/src/static_files.rs+174−0
frogue/src/telemetry.rs+477−0
frogue/src/tickets/mod.rs+351−0
frogue/src/tickets/store.rs+656−0
frogue/src/views/accounts.rs+138−0
frogue/src/views/comments.rs+127−0
frogue/src/views/commit.rs+216−0
frogue/src/views/commits.rs+128−0
frogue/src/views/compare.rs+198−0
frogue/src/views/components.rs+471−0
frogue/src/views/file.rs+99−0
frogue/src/views/form.rs+54−0
frogue/src/views/index.rs+139−0
frogue/src/views/invites.rs+87−0
frogue/src/views/mod.rs+109−0
frogue/src/views/notes.rs+137−0
frogue/src/views/patches.rs+404−0
frogue/src/views/profile.rs+318−0
frogue/src/views/refs.rs+121−0
frogue/src/views/remote_forge.rs+227−0
frogue/src/views/repositories.rs+352−0
frogue/src/views/ssh_keys.rs+96−0
frogue/src/views/tickets.rs+484−0
frogue/src/views/tree.rs+148−0
frogue/src/webui/accounts.rs+285−0
frogue/src/webui/federation.rs+2508−0
frogue/src/webui/git.rs+282−0
frogue/src/webui/invites.rs+174−0
frogue/src/webui/mod.rs+259−0
frogue/src/webui/remote_forge.rs+495−0
frogue/src/webui/repositories/mod.rs+2149−0
frogue/src/webui/repositories/patches.rs+1948−0
frogue/src/webui/repositories/settings.rs+450−0
frogue/src/webui/repositories/tickets.rs+2287−0
frogue/src/webui/ssh_keys.rs+261−0
frogue/src/webui/user.rs+350−0
frogue/static/frogue-logo.svg+3−0
frogue/static/style.css+1453−0
frogue/tests/activitypub.rs+665−0
frogue/tests/auth.rs+328−0
frogue/tests/bind_addr.rs+27−0
frogue/tests/comments.rs+654−0
frogue/tests/commit_diff.rs+366−0
frogue/tests/commits.rs+512−0
frogue/tests/compare.rs+636−0
frogue/tests/discovery.rs+202−0
frogue/tests/federation.rs+999−0
frogue/tests/federation_db.rs+232−0
frogue/tests/file_view.rs+512−0
frogue/tests/following.rs+742−0
frogue/tests/home_feed.rs+826−0
frogue/tests/migrations.rs+42−0
frogue/tests/patch_federation.rs+570−0
frogue/tests/patches.rs+2412−0
frogue/tests/patches_web.rs+504−0
frogue/tests/refs_browser.rs+460−0
frogue/tests/registration_modes.rs+620−0
frogue/tests/remote_notes.rs+1628−0
frogue/tests/remote_reactions.rs+619−0
frogue/tests/repo_federation.rs+762−0
frogue/tests/repositories.rs+460−0
frogue/tests/repository_landing.rs+413−0
frogue/tests/settings.rs+447−0
frogue/tests/ssh_git.rs+487−0
frogue/tests/ssh_throttling.rs+98−0
frogue/tests/static_files.rs+205−0
frogue/tests/support/ap.rs+864−0
frogue/tests/support/mod.rs+628−0
frogue/tests/ticket_federation.rs+2157−0
frogue/tests/tickets.rs+1185−0
frogue/tests/tree_browser.rs+547−0
frogue/tests/webui.rs+171−0
migration/Cargo.toml+25−0
migration/README.md+41−0
migration/src/lib.rs+58−0
migration/src/m20220101_000001_create_users_table.rs+66−0
migration/src/m20261016_000002_hash_user_passwords.rs+84−0
migration/src/m20261017_000003_create_repositories_table.rs+99−0
migration/src/m20261017_000004_create_ssh_keys_table.rs+78−0
migration/src/m20261018_000005_create_tickets.rs+358−0
migration/src/m20261018_000006_add_next_ticket_number.rs+37−0
migration/src/m20261019_000007_create_patch_proposals.rs+218−0
migration/src/m20261020_000008_create_comments.rs+59−0
migration/src/m20261021_000009_add_change_id_to_patch_proposals.rs+45−0
migration/src/m20261022_000010_add_state_to_tickets.rs+43−0
migration/src/m20261023_000011_create_ap_actors.rs+39−0
migration/src/m20261023_000012_create_ap_remote_actors.rs+62−0
migration/src/m20261025_000013_create_ap_notes.rs+52−0
migration/src/m20261027_000014_create_ap_deliveries.rs+40−0
migration/src/m20261029_000015_create_ap_reactions.rs+42−0
migration/src/m20261030_000016_create_invites_table.rs+112−0
migration/src/m20261101_000017_create_ap_following.rs+41−0
migration/src/m20261101_000018_create_ap_remote_notes.rs+37−0
migration/src/m20261102_000019_add_remote_note_to_reactions.rs+96−0
migration/src/m20261103_000020_federate_tickets.rs+181−0
migration/src/m20261103_000021_federate_patch_proposals.rs+148−0
migration/src/m20261103_000022_federate_comments.rs+118−0
migration/src/m20261103_000023_create_ap_remote_tickets.rs+136−0
migration/src/main.rs+6−0