Felix Ableitner
28da169259
allow loading multiple plugins
2024-05-15 12:33:15 +02:00
Felix Ableitner
2ef6e2e43b
Merge branch 'main' into plugin-system
2024-05-15 11:51:32 +02:00
Felix Ableitner
cda5eafce8
ignore all wasm files
2024-05-15 11:44:54 +02:00
Nutomic
8b6a4c060e
Make nodeinfo standard compliant, upgrade to nodeinfo 2.1 ( fixes #4702 ) ( #4706 )
...
* Always set activitypub protocol in nodeinfo response (fixes #4702 )
* Add mandatory fields
2024-05-13 22:53:20 -04:00
Dessalines
cb80980027
Version 0.19.4-beta.7
2024-05-11 13:51:09 -04:00
dullbananas
c4fc3a8ede
Optimize stuff in attempt to fix high amount of locks, and fix comment_aggregates.child_count ( #4696 )
...
* separate triggers
* auto_explain.log_triggers=on
* Revert "auto_explain.log_triggers=on"
This reverts commit 078b2dbb9b
.
* Revert "separate triggers"
This reverts commit 95600da4af
.
* bring back migration
* re-order statements
* add comment about statement ordering
* no redundant updates
* optimize post_aggregates update in comment trigger
* set comment path in trigger
* update comment_aggregates.child_count using trigger
* move `LEFT JOIN post` to inner query
* clean up newest_comment_time_necro
* add down.sql
2024-05-09 08:18:55 -04:00
Nutomic
b4f9ef24a5
Dont exit early when running only scheduled tasks ( #4707 )
...
* Dont exit early when running only scheduled tasks (fixes #4709 )
* fix
2024-05-08 14:56:44 +02:00
Nutomic
866d752a3c
Instance.preferred_username should be optional ( fixes #4701 ) ( #4713 )
2024-05-08 08:01:04 -04:00
Nutomic
e0b1d0553d
Add timeout for processing incoming activities ( #4708 )
...
* Add timeout for processing incoming activities
* move to const
2024-05-08 08:00:55 -04:00
Nutomic
7c146272c3
Federate with wordpress, improvements for NodeBB, Discourse federation ( #4692 )
...
* Federate with wordpress
* upgrade apub lib with fix
* Also read post's community from `audience`
* cleanup
* cargo update
* upgrade apub lib
* add wordpress test activity
2024-05-07 16:20:43 -04:00
Nutomic
cfdc732d3a
On registration set show_nsfw based on site.content_warning ( #4616 )
...
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
2024-05-07 16:18:58 -04:00
Tim Coombs
522f974e30
fix: use docker compose v2 ( #4622 )
...
* fix: use docker compose v2
* Using sudo tee.
* fix: correct postgres sed command
---------
Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
2024-05-07 11:41:40 +02:00
Felix Ableitner
723045a32a
add federation plugin hook
2024-05-07 11:07:42 +02:00
Felix Ableitner
ef76b48505
reduce deps
2024-05-06 15:34:36 +02:00
Felix Ableitner
caf9d20dea
add after hook
2024-05-06 14:13:06 +02:00
Felix Ableitner
ea5a5522fb
Merge branch 'main' into plugin-system
2024-05-06 13:35:01 +02:00
Felix Ableitner
740bd3af70
machete
2024-05-06 13:34:18 +02:00
Felix Ableitner
23006baa0c
comment
2024-05-06 13:31:39 +02:00
Felix Ableitner
e6795946e4
Use middleware for plugin
2024-05-06 13:25:42 +02:00
Felix Ableitner
2abe6300da
add comment
2024-05-04 01:07:32 +02:00
Felix Ableitner
bc7331b613
allow plugins to alter request/response
2024-05-04 01:01:18 +02:00
SleeplessOne1917
b152be7951
Update rustls ( #4690 )
...
* Update rustls
* Format code
2024-05-03 16:06:14 -04:00
SleeplessOne1917
485b0f1a54
Replace unmaintained encoding dep with maintained encoding_rs dep ( #4694 )
...
* Replace dependency on unmaintained encoding crate with dep on maintained encoding_rs crate
* Update lockfile
* Taplo format Cargo.toml
* Use better variable name
* Replace into_owned with into
2024-05-03 10:42:48 +00:00
Felix Ableitner
9f2366474a
clippy
2024-05-03 12:37:09 +02:00
Felix Ableitner
b48cb982d6
install go in ci
2024-05-03 12:18:08 +02:00
Felix Ableitner
303cf00257
x
2024-05-03 12:11:58 +02:00
Felix Ableitner
a65ccaf665
Proof of concept for Plugin system ( fixes #3562 )
2024-05-03 12:05:25 +02:00
Nutomic
7540b02723
Update activitypub library ( #4691 )
...
https://github.com/LemmyNet/activitypub-federation-rust/releases/tag/0.5.5
2024-05-02 12:46:34 -04:00
Nutomic
7746db4169
Testing and minor fix for federation with Discourse ( #4628 )
...
* Testing and minor fix for federation with Discourse
* prettier
2024-05-02 07:49:19 -04:00
Dessalines
db2ce81fc4
Show trigger logging. #4681 ( #4688 )
2024-05-01 18:46:14 -04:00
renovate[bot]
4175a1af80
chore(deps): update rust crate serde_with to 3.8.1 ( #4687 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-30 23:47:02 -04:00
renovate[bot]
563280456e
chore(deps): update pnpm to v9.0.6 ( #4682 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-30 23:43:14 -04:00
Dessalines
2fecb7ecdf
Dont show own comments for liked and disliked_only. Fixes #4675 ( #4679 )
...
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
2024-04-30 23:26:55 -04:00
renovate[bot]
2c6f9c7fd5
chore(deps): update rust crate serde to 1.0.199 ( #4684 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-30 23:17:23 -04:00
renovate[bot]
e338e59868
fix(deps): update rust crate lettre to 0.11.7 ( #4685 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-30 22:54:16 -04:00
renovate[bot]
b0caa85ed4
chore(deps): update rust crate base64 to 0.22.1 ( #4683 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-30 22:30:19 -04:00
Dessalines
ad60d91f5c
Dont publish lemmy_db_perf to fix crates.io publish. Fixes #4678 ( #4680 )
2024-04-30 17:51:12 +00:00
Dessalines
6423d2dde5
Version 0.19.4-beta.6
2024-04-30 06:38:44 -04:00
Nutomic
12163701e7
Avoid crash when handling urls without domain ( #4676 )
...
* Avoid crash when handling urls without domain
* Add some extra checks
2024-04-30 06:33:37 -04:00
Dessalines
5c35e97a75
Dont show deleted / removed posts when searching. Fixes #4576 ( #4671 )
...
* Dont show deleted / removed posts when searching. Fixes #4576
* Address PR comments.
* Clean up comment removed also.
---------
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
2024-04-30 12:24:18 +02:00
SleeplessOne1917
b05f221565
Remove login step from publish to crates.io ( #4674 )
2024-04-30 00:07:03 +00:00
Nutomic
beec080274
Testing for federation with NodeBB, make community.followers_url optional ( #4629 )
...
* Testing for federation with NodeBB, make community.followers_url optional
* clippy
2024-04-29 12:34:11 +02:00
Dessalines
492d8f1b01
Fix communities with broken outboxes, and use PostView. Fixes #4658 ( #4668 )
...
* Fix communities with broken outboxes, and use PostView. Fixes #4658
* Fixing tests.
* Dont pass ref and clone.
2024-04-29 12:22:00 +02:00
dullbananas
d3737d4453
Optimize actor_language.rs ( #4612 )
...
* Remove useless transaction in actor_language.rs
* Update actor_language.rs
* site
* community
* Update actor_language.rs
* Update actor_language.rs
* Update actor_language.rs
* Update actor_language.rs
* Update actor_language.rs
2024-04-27 10:59:58 -04:00
Dessalines
b459949f57
Version 0.19.4-beta.5
2024-04-25 19:59:24 -04:00
Dessalines
93f5df2d2a
Adding post_id desc to all post_aggregates indexes. Fixes #4618 ( #4662 )
...
* Adding post_id desc to all post_aggregates indexes. Fixes #4618
* Running pg_format
* Not rebuilding indexes which had no changes.
2024-04-25 18:19:02 -04:00
Nutomic
cf426493e1
Fix community add mod check ( fixes #4624 ) ( #4667 )
2024-04-25 11:47:38 -04:00
Dessalines
8e3ff0408e
Fixing extra modlog entries when post_id or comment_id is given. ( #4664 )
...
- Previously when given a post_id, it didn't filter out any other
modlog entries, such as community removals. This fixes that problem.
- Context: https://github.com/LemmyNet/lemmy-ui/pull/2437
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
2024-04-25 10:26:17 +02:00
Dessalines
66e06b3952
Removing scheme from block urls. Fixes #4656 ( #4659 )
...
* Removing scheme from block urls. Fixes #4656
* Fix comment.
* Fixing domain checking.
* Removing pointless URL building in url blocklist regex.
* Remove trailing /
2024-04-23 23:15:20 -04:00
Kroese
6b9d9dfaa5
Fix broken thumbnails ( #4661 )
...
* Check is_image_post flag
* Keep cargo_fmt happy
* Filter on is_image_post
* Trigger CI
* Keep cargo_fmt happy
2024-04-23 22:52:56 -04:00