Commit graph

161 commits

Author SHA1 Message Date
da40e5b5e6 fix: Refactor lysand note handling in conversion.rs 2024-06-17 21:55:42 +02:00
e8d716c7a5 me oopid 2024-06-17 21:50:33 +02:00
a6c0fc4755 fix: use example as default user 2024-06-17 21:47:48 +02:00
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
9e148fe77f feat: Update dependencies and add async-recursion crate 2024-06-17 21:40:25 +02:00
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
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
1174f92915 [feat]: lysand to ap for posts and users 2024-06-15 02:06:01 +02:00
bcab516a1f
feat: function to receive lysand note 2024-05-21 04:59:47 +02:00
e42baf51e4
save changes, fake commit 2024-05-19 07:17:13 +02:00
b65a51a1ef feat: Update API domain variable name 2024-05-17 13:24:41 +02:00
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
c7798ac5e4 fix: docker build 2024-05-17 11:06:16 +02:00
15c30d2f30 feat: lysand extension types 2024-05-13 22:08:23 +02:00
eec3a037bb feat: lysand user 2024-05-13 21:31:33 +02:00
470f1f7eae
fix: format 2024-05-09 23:10:36 +02:00
946804968e
feat: Lysand User struct 2024-05-09 23:09:57 +02:00
5db0f6a37a
feat: oci image 2024-05-09 23:09:56 +02:00
4c3d06b686 fix: post::Model's insert method to remove test code 2024-05-05 18:51:45 +02:00
503e433af3 Refactor import statements in person.rs 2024-05-05 18:24:59 +02:00
36d10f774a feat: Add generate_follow_accept_id function to utils.rs and follow_manually endpoint to main.rs 2024-05-05 18:18:39 +02:00
3ebe83c52f fix: Todo into_json method in post::Model 2024-05-05 17:17:28 +02:00
ce5f97ac33 feat: Refactor migration and follow code 2024-05-05 17:05:09 +02:00
468371d43d Add user follow relation 2024-05-05 16:26:48 +02:00
9acf6578bf format files 2024-05-04 19:07:34 +02:00
07337ffe2f Update post_manually function to include path in content 2024-05-04 18:04:26 +02:00
d115bdda0f Add FEDERATION_CONFIG.set(data.clone()) in main.rs 2024-05-04 18:02:02 +02:00
9529ac26d1 Refactor post_manually function to use GET instead of POST in main.rs 2024-05-04 17:59:26 +02:00
8ac9f7bd4b Add a post fuct 2024-05-04 17:54:11 +02:00
4c020229e4 Add User entity to person.rs 2024-05-04 01:26:10 +02:00
a06414f0bd Refactor Note struct in post.rs to remove url and published fields 2024-05-04 00:04:34 +02:00
19291bc107 Add url, published, and sensitive fields to Note struct in post.rs 2024-05-04 00:00:26 +02:00
7266790889 Fix formatting issues and add signed fetch actor in main.rs 2024-05-03 23:42:42 +02:00
e59bcfbc60 Update database.rs to include LOCAL_USER_NAME in filter 2024-05-03 20:50:43 +02:00
89e537be64 update error msg 2024-05-03 20:12:56 +02:00
d9f6123942 fix formating 2024-04-20 17:35:40 +02:00
c8077e5f29 Add created_at field to user and person models 2024-04-18 19:14:06 +02:00
8a4f5b795c Add follower and following count fields to user and person models 2024-04-18 19:09:10 +02:00
b5c9c2b9e6 awa 2024-04-18 19:05:22 +02:00
98732a5c06 [feat]diagnostic messages 2024-04-18 19:01:14 +02:00
775c1198c3 awa 2024-04-18 18:30:15 +02:00
831473c940 add logging 2024-04-18 18:26:41 +02:00
8afd6a9468 bug found? 2024-04-18 04:27:22 +02:00
c160218de6 eee 2024-04-18 04:16:33 +02:00
7c144f6e60 eee 2024-04-18 04:14:19 +02:00
fa3e4634cb fomat 2024-04-18 04:03:52 +02:00
4d4e3ed794 [feat] db code? 2024-04-18 03:41:52 +02:00
8469b236a7 [feat] first entities 2024-04-18 02:07:19 +02:00
99304aa53a [feat]: initial migration 2024-04-18 01:47:18 +02:00
db996b56a9 [fix]: format tree 2024-04-17 22:00:40 +02:00