Commit graph

137 commits

Author SHA1 Message Date
aprilthepink 692e4bff22 fix: resolve webfinger correctly 2024-07-17 14:21:32 +02:00
aprilthepink 071f6dcbd8 fix: correct urls in AP user 2024-07-17 13:17:16 +02:00
aprilthepink d33de465bf fix: add AP context 2024-07-17 02:45:01 +02:00
aprilthepink 572e86624e fix: im having a stroke it works 2024-07-17 02:38:49 +02:00
aprilthepink 3f9fb9e67a fix awa 2024-07-17 02:34:18 +02:00
aprilthepink 6dc2597ad9 fix aaa 2024-07-17 02:29:51 +02:00
aprilthepink de402bf3c7 awa 2024-07-17 02:25:33 +02:00
aprilthepink d99d47a9d0 fix: debug print 2024-07-17 02:14:53 +02:00
aprilthepink b1c78822de feat: AP webfinger 2024-07-17 02:08:51 +02:00
aprilthepink f22cae919f fix: allow post parsing again 2024-07-17 01:24:04 +02:00
aprilthepink 81ef6f8c5f fix: awa 2024-07-17 01:13:10 +02:00
aprilthepink 45a7555db3 fix: lysand ap fetch UUID change and wrong URI 2024-07-17 01:07:23 +02:00
aprilthepink b5b4144f39 fix: replace lysand user key with dummy 2024-07-17 00:09:31 +02:00
aprilthepink d86abbb97d fix: add indexable to Lysand user and default it to false 2024-07-16 23:22:52 +02:00
aprilthepink 474b57652b fix: make sensitive in AP optional bc AP 2024-07-16 20:04:53 +02:00
aprilthepink f5e4092bca feat: debug script 2024-07-16 19:56:40 +02:00
aprilthepink a840feecb0 feat: basic lysand -> ap fetching api 2024-07-16 19:35:04 +02:00
aprilthepink b1af17c5d2 fix: add mentions to TO on note import 2024-06-27 17:29:55 +02:00
aprilthepink b29ca0cadc fix: add mentioned user to TO in test 2024-06-27 17:14:37 +02:00
aprilthepink 25d857c0f3 format 2024-06-27 09:48:47 +02:00
aprilthepink b278cd8a27 fix: shitcode 2024-06-27 05:55:43 +02:00
aprilthepink 29ba9a8b7a fix: allow api domain to have users 2024-06-27 05:49:35 +02:00
aprilthepink 505809b117 fix: me please 2024-06-27 05:44:40 +02:00
aprilthepink 02c1c4f9f8 fix: ruse only one UUID in test instead of two different 2024-06-27 05:31:58 +02:00
aprilthepink b52024d726 Merge branch 'test1' 2024-06-27 05:17:03 +02:00
aprilthepink dc4afd8411 feat: meow meow akkoma? 2024-06-27 05:13:38 +02:00
April John 6b6d36b30b
feat: basic AP <-> lysand conversion (#4)
* feat: Update API domain variable name

* save changes, fake commit

* feat: function to receive lysand note

* [feat]: lysand to ap for posts and users

* feat: Add .env file to gitignore and update dependencies

The commit adds the `.env` file to the `.gitignore` and updates the dependencies in the `Cargo.toml` and `Cargo.lock` files. This change ensures that sensitive environment variables are not committed to the repository and keeps the dependencies up to date.

* feat: Add db_post_from_url function

The commit adds the `db_post_from_url` function to the `conversion.rs` file. This function retrieves a post from the database based on a given URL. If the post is not found in the database, it fetches the post from the URL, saves it to the database, and returns the post. This change enhances the functionality of the codebase by providing a convenient way to retrieve and store posts.

* feat: Update dependencies and add async-recursion crate

* fix: Refactor lysand note handling in conversion.rs

The commit refactors the lysand note handling in the `conversion.rs` file. It updates the `receive_lysand_note` function to properly handle quoting and replying to notes. This change improves the functionality and readability of the codebase.

* fix: use example as default user

* me oopid

* fix: Refactor lysand note handling in conversion.rs

* fix: fix post printing

* fix: Refactor lysand note handling in conversion.rs

* fix: Refactor lysand note handling in conversion.rs

* fix: make nix-bootstrap executable

* fix: remove unused linux only import

* fix: make person stop screaming at me :(

* feat: remove test code

* fix: update deps

* fix: rm build.rs fully

* feat: standard user to apservice

* fix: format files
2024-06-18 01:56:25 +00:00
aprilthepink cd6ff024e4 fix: format files 2024-06-18 03:43:59 +02:00
aprilthepink 489a216aca feat: standard user to apservice 2024-06-18 03:34:37 +02:00
aprilthepink c601fb03eb fix: rm build.rs fully 2024-06-18 01:52:47 +02:00
aprilthepink 3359da6139 fix: update deps 2024-06-18 01:48:17 +02:00
aprilthepink b6ca94b809 feat: remove test code 2024-06-18 01:46:24 +02:00
aprilthepink a90a2695a9 fix: make person stop screaming at me :( 2024-06-17 23:50:31 +02:00
aprilthepink ef89602d6f fix: remove unused linux only import 2024-06-17 23:49:40 +02:00
aprilthepink b08e3459b9 fix: make nix-bootstrap executable 2024-06-17 22:47:21 +02:00
aprilthepink 766819346f fix: Refactor lysand note handling in conversion.rs 2024-06-17 22:39:03 +02:00
aprilthepink 03f6663768 fix: Refactor lysand note handling in conversion.rs 2024-06-17 22:33:30 +02:00
aprilthepink 56b008fcae fix: fix post printing 2024-06-17 21:58:00 +02:00
aprilthepink da40e5b5e6 fix: Refactor lysand note handling in conversion.rs 2024-06-17 21:55:42 +02:00
aprilthepink e8d716c7a5 me oopid 2024-06-17 21:50:33 +02:00
aprilthepink a6c0fc4755 fix: use example as default user 2024-06-17 21:47:48 +02:00
aprilthepink 21a3447a84 fix: Refactor lysand note handling in conversion.rs
The commit refactors the lysand note handling in the `conversion.rs` file. It updates the `receive_lysand_note` function to properly handle quoting and replying to notes. This change improves the functionality and readability of the codebase.
2024-06-17 21:44:29 +02:00
aprilthepink 9e148fe77f feat: Update dependencies and add async-recursion crate 2024-06-17 21:40:25 +02:00
aprilthepink 1588b2e46c feat: Add db_post_from_url function
The commit adds the `db_post_from_url` function to the `conversion.rs` file. This function retrieves a post from the database based on a given URL. If the post is not found in the database, it fetches the post from the URL, saves it to the database, and returns the post. This change enhances the functionality of the codebase by providing a convenient way to retrieve and store posts.
2024-06-17 21:35:21 +02:00
aprilthepink 15bba70d2a feat: Add .env file to gitignore and update dependencies
The commit adds the `.env` file to the `.gitignore` and updates the dependencies in the `Cargo.toml` and `Cargo.lock` files. This change ensures that sensitive environment variables are not committed to the repository and keeps the dependencies up to date.
2024-06-17 19:52:51 +02:00
aprilthepink 1174f92915 [feat]: lysand to ap for posts and users 2024-06-15 02:06:01 +02:00
April John bcab516a1f
feat: function to receive lysand note 2024-05-21 04:59:47 +02:00
April John e42baf51e4
save changes, fake commit 2024-05-19 07:17:13 +02:00
aprilthepink b65a51a1ef feat: Update API domain variable name 2024-05-17 13:24:41 +02:00
aprilthepink 14322c961f feat: Update API domain variable name
The commit updates the variable name for the API domain from `FEDERATED_DOMAIN` to `API_DOMAIN` in the `src/main.rs` file. This change improves clarity and consistency in the codebase.
2024-05-17 11:30:10 +02:00