Commit graph

125 commits

Author SHA1 Message Date
b5b4144f39 fix: replace lysand user key with dummy 2024-07-17 00:09:31 +02:00
d86abbb97d fix: add indexable to Lysand user and default it to false 2024-07-16 23:22:52 +02:00
474b57652b fix: make sensitive in AP optional bc AP 2024-07-16 20:04:53 +02:00
f5e4092bca feat: debug script 2024-07-16 19:56:40 +02:00
a840feecb0 feat: basic lysand -> ap fetching api 2024-07-16 19:35:04 +02:00
b1af17c5d2 fix: add mentions to TO on note import 2024-06-27 17:29:55 +02:00
b29ca0cadc fix: add mentioned user to TO in test 2024-06-27 17:14:37 +02:00
25d857c0f3 format 2024-06-27 09:48:47 +02:00
b278cd8a27 fix: shitcode 2024-06-27 05:55:43 +02:00
29ba9a8b7a fix: allow api domain to have users 2024-06-27 05:49:35 +02:00
505809b117 fix: me please 2024-06-27 05:44:40 +02:00
02c1c4f9f8 fix: ruse only one UUID in test instead of two different 2024-06-27 05:31:58 +02:00
b52024d726 Merge branch 'test1' 2024-06-27 05:17:03 +02:00
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
cd6ff024e4 fix: format files 2024-06-18 03:43:59 +02:00
489a216aca feat: standard user to apservice 2024-06-18 03:34:37 +02:00
c601fb03eb fix: rm build.rs fully 2024-06-18 01:52:47 +02:00
3359da6139 fix: update deps 2024-06-18 01:48:17 +02:00
b6ca94b809 feat: remove test code 2024-06-18 01:46:24 +02:00
a90a2695a9 fix: make person stop screaming at me :( 2024-06-17 23:50:31 +02:00
ef89602d6f fix: remove unused linux only import 2024-06-17 23:49:40 +02:00
b08e3459b9 fix: make nix-bootstrap executable 2024-06-17 22:47:21 +02:00
766819346f fix: Refactor lysand note handling in conversion.rs 2024-06-17 22:39:03 +02:00
03f6663768 fix: Refactor lysand note handling in conversion.rs 2024-06-17 22:33:30 +02:00
56b008fcae fix: fix post printing 2024-06-17 21:58:00 +02:00
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
Gaspard Wierzbinski
b8bac014a2
feat(build): Add automatic Dockerbuilds 2024-05-15 15:36:22 -10: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
9e6445d192
fix: update gh actions 2024-05-13 07:57:52 +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
Jesse Wierzbinski
42133b257b
docs: 📝 Update README and Docker instructions 2024-05-06 09:01:21 -10:00
6af5ac94cd
awawwwa 2024-05-06 16:25:49 +02:00
1340f00167
fix: simplify nix module 2024-05-06 16:12:40 +02:00
4c3d06b686 fix: post::Model's insert method to remove test code 2024-05-05 18:51:45 +02:00