Commit graph

3309 commits

Author SHA1 Message Date
a430ea98c1 Merge branch 'main' into rewrite-remaining-activities 2021-08-19 20:18:48 +02:00
71b0738ae8 Community should announce received activities to followers 2021-08-19 19:49:03 +02:00
33a4dac675 Remove struct ActivityCommonFields, derive ActivityFields trait instead 2021-08-19 19:37:13 +02:00
Dessalines
6af75492a9
Swap out iframely (#1706)
* Replace Iframely. Fixes #1681

* Add post_link_tags to nginx

* Adding post_link_tags route

* Cleaning up post_link_tags

* Changing PostLink to SiteMetadata, adding it to the API.

* Fixing issue when local has no openssl certs.

* Fixing an issue with pictrs errors

* Revert "Fixing issue when local has no openssl certs."

This reverts commit dbf7d1b1ee03846e5ef7b7156e618424f1150e1d.

* Add ca-certs to dockerfile for volume mount.

* Cleaning up fetch_pictrs request

* Changing to fetch_site_data
2021-08-19 14:12:49 +00:00
8158966af6
Merge pull request #1710 from LemmyNet/mod_transfer_community
Adding ModTransferCommunity to modlog in API. Fixes #1437
2021-08-18 22:01:09 +00:00
d8fafc1b03
Merge pull request #1709 from LemmyNet/upgrade_deps_6
Upgrading deps
2021-08-18 11:46:11 +00:00
b241bb9cb7 Adding script to upgrade deps, and check for unused ones. 2021-08-17 19:16:20 -04:00
6910e18a83 Adding ModTransferCommunity to modlog in API. Fixes #1437 2021-08-17 17:52:28 -04:00
1f64db6a33 Upgrading deps 2021-08-17 16:31:16 -04:00
28d6370c35
Rewrite delete activities (#1699)
* Limit type/method visibility in apub code

* Simplify db_queries traits by removing generics

* Simplify delete activity implementation

* Rewrite delete activities

* Implement helper functions for websocket message sending

* When receiving delete reason as empty string, change to none
2021-08-17 14:04:58 -04:00
Dessalines
6fbf6a684c
Make sure bots aren't included in aggregate counts (#1705)
- Fixes #1648
2021-08-16 20:52:24 +00:00
Dessalines
2966203653
Don't allow deleted users to do actions. Fixes #1656 (#1704) 2021-08-16 20:51:08 +00:00
Dessalines
32874163a8
Merge pull request #1703 from shilangyu/patch-1
Update lemmy_api_client status in README
2021-08-15 18:19:23 -04:00
Marcin Wojnarowski
fb66b77d67
Update lemmy_api_client status 2021-08-15 22:37:37 +02:00
ddf1db0980 Simplify inbox 2021-08-15 15:41:29 +02:00
4e840a9527 Rewrite remaining activities 2021-08-15 00:33:01 +02:00
12a55ce63f When receiving delete reason as empty string, change to none 2021-08-14 17:37:20 +02:00
2d346a1487 Implement helper functions for websocket message sending 2021-08-14 16:40:00 +02:00
Dessalines
8a1af056e2
When banning a user, remove communities they've created (#1700)
- Fixes #1659
2021-08-13 17:39:56 +00:00
bc6294a834 Rewrite delete activities 2021-08-13 14:01:25 +02:00
e65897a350 Simplify delete activity implementation 2021-08-13 14:01:25 +02:00
0670dc4565 Simplify db_queries traits by removing generics 2021-08-13 14:01:25 +02:00
dacf1e6229 Limit type/method visibility in apub code 2021-08-13 14:01:25 +02:00
353a1fe0a0
Rewrite activitypub following, person, community, pm (#1692)
* Rewrite following activities

* Rewrite person apub

* Rewrite community apub

* Rewrite private message activity sending
2021-08-12 08:48:09 -04:00
Dessalines
44716c2f24
Merge pull request #1674 from LemmyNet/crates-io
Distribute Lemmy via crates.io
2021-08-11 15:16:42 -04:00
a44b5c9c36 publish to crates.io with normal release script 2021-08-09 18:44:18 +02:00
af6aa3c0bf Distribute Lemmy via crates.io 2021-08-09 17:29:32 +02:00
Dessalines
9d936a3d85
Merge pull request #1690 from LemmyNet/comment-reply-migration
Migrate comment inReplyTo field to single value (ref #1454)
2021-08-05 11:19:33 -04:00
b2937223df Migrate comment inReplyTo field to single value (ref #1454) 2021-08-05 13:00:29 +02:00
Dessalines
7b8cbbba85
Simplify config using macros (#1686)
Co-authored-by: Felix Ableitner <me@nutomic.com>
2021-08-04 21:13:51 +00:00
b8d7f00d58
Rewrite voting (#1685)
* Merge like/dislike activity handlers into vote

* Rewrite vote sending code

* Remove old send_create, send_update functions
2021-08-02 16:33:40 -04:00
Dessalines
1664cb326a
Merge pull request #1677 from LemmyNet/remove-fat-deps
Remove brotli, zstd dependencies
2021-08-02 16:21:33 -04:00
6c9e04583d
Merge pull request #1683 from LemmyNet/fix/comment_count_trigger_issues
Some comment count fixes.
2021-08-02 12:08:15 +00:00
abd26aeab2 Remove brotli, zstd dependencies 2021-08-02 14:05:39 +02:00
896ba8451c Some comment count fixes.
- Make sure an update to deleted decreases the count. Fixes #1676
- Don't allow the post creator to comment necro-bump their own post.
  Fixes #1675
2021-08-01 21:07:45 -04:00
Dessalines
224592c547
Merge pull request #1682 from LemmyNet/rewrite-comment
Rewrite comment
2021-08-01 20:02:13 -04:00
6b57d716e1 Rewrite private message apub and merge create/update 2021-07-31 22:58:11 +02:00
dc363c8f35 Merge logic for post create and update 2021-07-31 19:26:17 +02:00
3eb46868ff Merge logic for comment create and update 2021-07-31 17:47:08 +02:00
43ad99bbe8 Rewrite apub comment (de)serialization using structs (ref #1657) 2021-07-31 16:57:37 +02:00
bb7750d8ee
Merge pull request #1678 from LemmyNet/rewrite-post
Rewrite apub post (de)serialization using structs (ref #1657)
2021-07-31 07:10:56 +00:00
520436cd9a Fix changelog links 2021-07-30 18:59:22 -04:00
433ab1e78b Add docs for MediaType, PublicUrl values 2021-07-30 23:16:33 +02:00
57b6ecaf40 Simplify lemmy_context() function (dont return errors) 2021-07-30 23:16:33 +02:00
ff265c7ebc Rewrite apub post (de)serialization using structs (ref #1657) 2021-07-30 23:16:32 +02:00
15a11c13a2 Updating ansible version. 2021-07-30 16:55:04 -04:00
8d2dc76be3 Adding release notes. 2021-07-30 16:50:39 -04:00
Dessalines
d85f0d087e
Blank out extra info for deleted or removed content. Fixes #1679 (#1680) 2021-07-30 18:44:15 +00:00
Dessalines
6ffa291ec9
Actor name length config dess (#1672)
* Make length of user/community name configurable (fixes #1306)

* use single config value, fix migrations, increase displayname length

* remove debug statements

* add helper method for setting actor_name_max_length

* move function

* Fixing some defaults

Co-authored-by: Felix Ableitner <me@nutomic.com>
2021-07-22 21:53:44 -04:00
Dessalines
fcae2189eb
Add show_new_posts_notifs setting. Fixes #1664 (#1665) 2021-07-22 20:07:40 +00:00