Dessalines [Fri, 3 Sep 2021 13:21:24 +0000 (09:21 -0400)]
Upgrading to lemmy-js-client 0.12.0
Dessalines [Fri, 3 Sep 2021 12:28:26 +0000 (08:28 -0400)]
Version 0.12.0-rc.2
Dessalines [Thu, 2 Sep 2021 12:09:48 +0000 (08:09 -0400)]
Create SECURITY.md (#1758)
Adding a security.md file.
Dessalines [Thu, 2 Sep 2021 11:50:20 +0000 (07:50 -0400)]
Use more generic docker deps. Fixes #1759 (#1762)
* Use more generic docker deps. Fixes #1759
* Don't use slim
Dessalines [Thu, 2 Sep 2021 11:00:45 +0000 (07:00 -0400)]
Trying to fix arm builds. (#1761)
* Trying to fix arm builds.
* Adding comment
Dessalines [Tue, 31 Aug 2021 14:01:36 +0000 (10:01 -0400)]
Fixing docker-compose prod (#1741)
Nutomic [Sat, 28 Aug 2021 01:33:38 +0000 (01:33 +0000)]
Change public activities to field to array (#1739)
Dessalines [Thu, 26 Aug 2021 12:37:10 +0000 (08:37 -0400)]
Upgrading deps (#1735)
Dessalines [Thu, 26 Aug 2021 11:49:16 +0000 (07:49 -0400)]
Reindex tables non-concurrently on startup. Fixes #1726 . #1723 (#1736)
Dessalines [Wed, 25 Aug 2021 21:28:42 +0000 (17:28 -0400)]
Version 0.12.0-rc.1
Dessalines [Wed, 25 Aug 2021 21:26:28 +0000 (17:26 -0400)]
Merge branch 'main' of https://github.com/lemmynet/lemmy
Dessalines [Wed, 25 Aug 2021 21:26:10 +0000 (17:26 -0400)]
Fix prod deploy script and clippy (#1724)
* Updating lemmy-js-client.
* Fix prod deploy script and clippy
* Try using buster.
* Using more generic and updated images.
* again.
* again.
* Try alternate env
* again.
* again.
* Version 0.11.4-rc.24
* again.
* Better old_tag
* Version 0.11.4-rc.27
* Updating cargo.lock
* Trying to run a cargo check to update the lock
* Version 0.11.4-rc.28
Dessalines [Wed, 25 Aug 2021 17:00:39 +0000 (13:00 -0400)]
Updating lemmy-js-client.
Dessalines [Wed, 25 Aug 2021 16:33:45 +0000 (12:33 -0400)]
Fix image uploads. Fixes #1725 (#1734)
* Fix image uploads. Fixes #1725
* Adding comment on awc dep.
Nutomic [Mon, 23 Aug 2021 17:06:51 +0000 (17:06 +0000)]
Merge pull request #1666 from LemmyNet/resolve-endpoint
Move resolving of activitypub objects to separate api endpoint
Dessalines [Mon, 23 Aug 2021 15:25:39 +0000 (11:25 -0400)]
Fixing ResolveObject API and unit tests (#1713)
Dessalines [Mon, 23 Aug 2021 09:44:10 +0000 (05:44 -0400)]
Adding more site setup vars. Fixes #678 (#1718)
Nutomic [Sat, 21 Aug 2021 13:36:33 +0000 (13:36 +0000)]
Dont append ? to url when cleaning it (#1716)
Felix Ableitner [Tue, 20 Jul 2021 07:00:20 +0000 (09:00 +0200)]
Move resolving of activitypub objects to separate api endpoint (fixes #1584)
Nutomic [Thu, 19 Aug 2021 21:24:33 +0000 (21:24 +0000)]
Rewrite remaining activities (#1712)
* 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
* Rewrite remaining activities
* Simplify inbox
* Remove struct ActivityCommonFields, derive ActivityFields trait instead
* Community should announce received activities to followers
Dessalines [Thu, 19 Aug 2021 20:54:15 +0000 (16:54 -0400)]
User / community blocking. Fixes #426 (#1604)
* A first pass at user / community blocking. #426
* Adding unit tests for person and community block.
* Moving migration
* Fixing creator_blocked for comment queries, added tests.
* Don't let a person block themselves
* Fix post creator_blocked
* Adding creator_blocked to PersonMentionView
* Moving blocked and follows to MyUserInfo
* Rename to local_user_view
* Add moderates to MyUserInfo
* Adding BlockCommunityResponse
* Fixing name, and check_person_block
* Fixing tests.
* Using type in Blockable trait.
* Changing recipient to target, adding unfollow to block action.
Dessalines [Thu, 19 Aug 2021 14:12:49 +0000 (10:12 -0400)]
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
Nutomic [Wed, 18 Aug 2021 22:01:09 +0000 (22:01 +0000)]
Merge pull request #1710 from LemmyNet/mod_transfer_community
Adding ModTransferCommunity to modlog in API. Fixes #1437
Nutomic [Wed, 18 Aug 2021 11:46:11 +0000 (11:46 +0000)]
Merge pull request #1709 from LemmyNet/upgrade_deps_6
Upgrading deps
Dessalines [Tue, 17 Aug 2021 23:16:20 +0000 (19:16 -0400)]
Adding script to upgrade deps, and check for unused ones.
Dessalines [Tue, 17 Aug 2021 21:52:28 +0000 (17:52 -0400)]
Adding ModTransferCommunity to modlog in API. Fixes #1437
Dessalines [Tue, 17 Aug 2021 20:31:16 +0000 (16:31 -0400)]
Upgrading deps
Nutomic [Tue, 17 Aug 2021 18:04:58 +0000 (18:04 +0000)]
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
Dessalines [Mon, 16 Aug 2021 20:52:24 +0000 (16:52 -0400)]
Make sure bots aren't included in aggregate counts (#1705)
- Fixes #1648
Dessalines [Mon, 16 Aug 2021 20:51:08 +0000 (16:51 -0400)]
Don't allow deleted users to do actions. Fixes #1656 (#1704)
Dessalines [Sun, 15 Aug 2021 22:19:23 +0000 (18:19 -0400)]
Merge pull request #1703 from shilangyu/patch-1
Update lemmy_api_client status in README
Marcin Wojnarowski [Sun, 15 Aug 2021 20:37:37 +0000 (22:37 +0200)]
Update lemmy_api_client status
Dessalines [Fri, 13 Aug 2021 17:39:56 +0000 (13:39 -0400)]
When banning a user, remove communities they've created (#1700)
- Fixes #1659
Nutomic [Thu, 12 Aug 2021 12:48:09 +0000 (12:48 +0000)]
Rewrite activitypub following, person, community, pm (#1692)
* Rewrite following activities
* Rewrite person apub
* Rewrite community apub
* Rewrite private message activity sending
Dessalines [Wed, 11 Aug 2021 19:16:42 +0000 (15:16 -0400)]
Merge pull request #1674 from LemmyNet/crates-io
Distribute Lemmy via crates.io
Felix Ableitner [Mon, 9 Aug 2021 15:37:06 +0000 (17:37 +0200)]
publish to crates.io with normal release script
Felix Ableitner [Sat, 24 Jul 2021 09:55:56 +0000 (11:55 +0200)]
Distribute Lemmy via crates.io
Dessalines [Thu, 5 Aug 2021 15:19:33 +0000 (11:19 -0400)]
Merge pull request #1690 from LemmyNet/comment-reply-migration
Migrate comment inReplyTo field to single value (ref #1454)
Felix Ableitner [Thu, 5 Aug 2021 11:00:29 +0000 (13:00 +0200)]
Migrate comment inReplyTo field to single value (ref #1454)
Dessalines [Wed, 4 Aug 2021 21:13:51 +0000 (17:13 -0400)]
Simplify config using macros (#1686)
Co-authored-by: Felix Ableitner <me@nutomic.com>
Nutomic [Mon, 2 Aug 2021 20:33:40 +0000 (20:33 +0000)]
Rewrite voting (#1685)
* Merge like/dislike activity handlers into vote
* Rewrite vote sending code
* Remove old send_create, send_update functions
Dessalines [Mon, 2 Aug 2021 20:21:33 +0000 (16:21 -0400)]
Merge pull request #1677 from LemmyNet/remove-fat-deps
Remove brotli, zstd dependencies
Nutomic [Mon, 2 Aug 2021 12:08:15 +0000 (12:08 +0000)]
Merge pull request #1683 from LemmyNet/fix/comment_count_trigger_issues
Some comment count fixes.
Felix Ableitner [Wed, 28 Jul 2021 08:35:52 +0000 (10:35 +0200)]
Remove brotli, zstd dependencies
Dessalines [Mon, 2 Aug 2021 01:07:45 +0000 (21:07 -0400)]
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
Dessalines [Mon, 2 Aug 2021 00:02:13 +0000 (20:02 -0400)]
Merge pull request #1682 from LemmyNet/rewrite-comment
Rewrite comment
Felix Ableitner [Sat, 31 Jul 2021 20:58:11 +0000 (22:58 +0200)]
Rewrite private message apub and merge create/update
Felix Ableitner [Sat, 31 Jul 2021 17:26:17 +0000 (19:26 +0200)]
Merge logic for post create and update
Felix Ableitner [Sat, 31 Jul 2021 15:09:43 +0000 (17:09 +0200)]
Merge logic for comment create and update
Felix Ableitner [Sat, 31 Jul 2021 14:57:37 +0000 (16:57 +0200)]
Rewrite apub comment (de)serialization using structs (ref #1657)
Nutomic [Sat, 31 Jul 2021 07:10:56 +0000 (07:10 +0000)]
Merge pull request #1678 from LemmyNet/rewrite-post
Rewrite apub post (de)serialization using structs (ref #1657)
Dessalines [Fri, 30 Jul 2021 22:59:22 +0000 (18:59 -0400)]
Fix changelog links
Felix Ableitner [Fri, 30 Jul 2021 14:35:32 +0000 (16:35 +0200)]
Add docs for MediaType, PublicUrl values
Felix Ableitner [Thu, 29 Jul 2021 08:58:29 +0000 (10:58 +0200)]
Simplify lemmy_context() function (dont return errors)
Felix Ableitner [Tue, 27 Jul 2021 22:18:50 +0000 (00:18 +0200)]
Rewrite apub post (de)serialization using structs (ref #1657)
Dessalines [Fri, 30 Jul 2021 20:55:04 +0000 (16:55 -0400)]
Updating ansible version.
Dessalines [Fri, 30 Jul 2021 20:50:39 +0000 (16:50 -0400)]
Adding release notes.
Dessalines [Fri, 30 Jul 2021 18:44:15 +0000 (14:44 -0400)]
Blank out extra info for deleted or removed content. Fixes #1679 (#1680)
Dessalines [Fri, 23 Jul 2021 01:53:44 +0000 (21:53 -0400)]
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>
Dessalines [Thu, 22 Jul 2021 20:07:40 +0000 (16:07 -0400)]
Add show_new_posts_notifs setting. Fixes #1664 (#1665)
Dessalines [Tue, 20 Jul 2021 16:55:04 +0000 (12:55 -0400)]
Fix issue with protocol string in actor id generation (#1668)
Dessalines [Tue, 20 Jul 2021 04:29:50 +0000 (00:29 -0400)]
Adding shortname fetching for users and communities. Fixes #1662 (#1663)
Dessalines [Sat, 17 Jul 2021 17:00:06 +0000 (13:00 -0400)]
Merge pull request #1660 from LemmyNet/merge-apub-crates
Merge apub, apub_receive crates
Felix Ableitner [Sat, 17 Jul 2021 16:20:44 +0000 (18:20 +0200)]
Merge apub, apub_receive crates (fixes #1621)
Nutomic [Sat, 17 Jul 2021 16:08:46 +0000 (16:08 +0000)]
Apub inbox rewrite (#1652)
* start to implement apub inbox routing lib
* got something that almost works
* it compiles!
* implemented some more
* move library code to separate crate (most of it)
* convert private message handlers
* convert all comment receivers (except undo comment)
* convert post receiver
* add verify trait
* convert community receivers
* add cc field for all activities which i forgot before
* convert inbox functions, add missing checks
* convert undo like/dislike receivers
* convert undo_delete and undo_remove receivers
* move block/unblock activities
* convert remaining activity receivers
* reimplement http signature verification and other checks
* also use actor type for routing, VerifyActivity and SendActivity traits
* cleanup and restructure apub_receive code
* wip: try to fix activity routing
* implement a (very bad) derive macro for activityhandler
* working activity routing!
* rework pm verify(), fix tests and confirm manually
also remove inbox username check which was broken
* rework following verify(), fix tests and test manually
* fix post/comment create/update, rework voting
* Rewrite remove/delete post/comment, fix tests, test manually
* Rework and fix (un)block user, announce, update post
* some code cleanup
* rework delete/remove activity receivers (still quite messy)
* rewrite, test and fix add/remove mod, update community handlers
* add docs for ActivityHandler derive macro
* dont try to compile macro comments
Dessalines [Tue, 6 Jul 2021 16:13:22 +0000 (12:13 -0400)]
Merge pull request #1651 from LemmyNet/upgrade_deps_5
Upgrade api_test deps
Dessalines [Tue, 6 Jul 2021 14:57:54 +0000 (10:57 -0400)]
Upgrade api_test deps
Dessalines [Tue, 6 Jul 2021 13:26:46 +0000 (09:26 -0400)]
Upgrading deps, running clippy fix on nightly 1.55.0 (#1638)
* Upgrading deps, running clippy fix on nightly 1.55.0
* Running clippy --fix
* Trying to fix transform
* Trying to fix another transform
* Upgrading http-signature-normalization-actix
* Fix app_data
* Fix pictrs uploading
* Fix unwrap
Dessalines [Mon, 5 Jul 2021 16:07:26 +0000 (12:07 -0400)]
Running clippy --fix (#1647)
Dessalines [Mon, 5 Jul 2021 13:49:35 +0000 (09:49 -0400)]
Merge pull request #1649 from weex/case-insensitive-captcha
make captcha case-insensitive
David Sterry [Mon, 5 Jul 2021 00:51:08 +0000 (17:51 -0700)]
make captcha case-insensitive
Dessalines [Thu, 24 Jun 2021 18:54:02 +0000 (14:54 -0400)]
Merge pull request #1637 from LemmyNet/remove-url-tracking-params
Remove tracking params from post url (fixes #768)
Felix Ableitner [Fri, 18 Jun 2021 18:38:34 +0000 (20:38 +0200)]
Remove tracking params from post url (fixes #768)
Aaron DeVore [Thu, 17 Jun 2021 17:36:00 +0000 (10:36 -0700)]
LemmyNet/lemmy#1635: Fix IPv6 port setup for Nginx (#1636)
Dessalines [Mon, 14 Jun 2021 22:14:29 +0000 (18:14 -0400)]
Version 0.11.2
Dessalines [Sun, 13 Jun 2021 18:28:32 +0000 (14:28 -0400)]
Fix --cert-name for certbot. (#1631)
Dessalines [Mon, 7 Jun 2021 21:10:47 +0000 (17:10 -0400)]
Change join.lemmy.ml to join-lemmy.org (#1628)
Dessalines [Fri, 28 May 2021 15:51:09 +0000 (11:51 -0400)]
Upgrade pictrs. Fixes #1599 (#1600)
Dessalines [Fri, 28 May 2021 15:50:52 +0000 (11:50 -0400)]
Invalidate current logins on account deletion. Fixes #1602 (#1603)
Dessalines [Fri, 28 May 2021 15:46:23 +0000 (11:46 -0400)]
Upgrading api test deps (#1608)
Dessalines [Wed, 26 May 2021 18:02:35 +0000 (14:02 -0400)]
Fix nsfw posts showing for non-logged in users. Fixes #1614 (#1615)
Pavel Balashov [Wed, 26 May 2021 13:39:38 +0000 (16:39 +0300)]
Add additional slurs configuration option. Closes #1464. (#1612)
* Actualize a comment about config initialization
* Add additional slurs functionality.
It is possible to additional regex for slurs filtering.
It can be done through `additional_slurs` option in config file.
Dessalines [Mon, 17 May 2021 23:15:51 +0000 (19:15 -0400)]
Version 0.11.1
Dessalines [Mon, 3 May 2021 14:46:12 +0000 (10:46 -0400)]
Updating to rust 1.51.0 (#1598)
Dessalines [Mon, 3 May 2021 01:19:16 +0000 (21:19 -0400)]
Fixing release doc.
Dessalines [Tue, 27 Apr 2021 14:35:54 +0000 (10:35 -0400)]
Version 0.11.0
Dessalines [Tue, 27 Apr 2021 14:34:45 +0000 (10:34 -0400)]
Adding v0.11.0 release notes
Dessalines [Tue, 27 Apr 2021 13:56:36 +0000 (09:56 -0400)]
Merge pull request #1595 from LemmyNet/Nutomic-patch-1
Better slur regex
Nutomic [Tue, 27 Apr 2021 12:32:56 +0000 (12:32 +0000)]
Better slur regex
Dessalines [Mon, 26 Apr 2021 18:18:12 +0000 (14:18 -0400)]
Fixing regex. Fixes #1593 (#1594)
* Fixing regex. Fixes #1593
* Fixing test
Dessalines [Mon, 26 Apr 2021 14:57:40 +0000 (10:57 -0400)]
Merge pull request #1592 from LemmyNet/feature/mark_post_as_read
Add show_read_posts filter. Fixes #1561
Dessalines [Mon, 26 Apr 2021 14:44:19 +0000 (10:44 -0400)]
Merge branch 'main' into feature/mark_post_as_read
Nutomic [Mon, 26 Apr 2021 14:17:21 +0000 (14:17 +0000)]
Merge pull request #1566 from LemmyNet/additional_search_filters
Add creator id to search. Fixes #765
Dessalines [Mon, 26 Apr 2021 13:50:34 +0000 (09:50 -0400)]
Changing unwrap_default to unwrap_or(false)
Nutomic [Mon, 26 Apr 2021 13:30:30 +0000 (13:30 +0000)]
Fetch git tags manually in CI (#1590)
* Fetch git tags manually in CI
* Dont need espeak in CI anymore
Dessalines [Sat, 24 Apr 2021 22:26:50 +0000 (18:26 -0400)]
Add show_read_posts filter. Fixes #1561
Dessalines [Fri, 23 Apr 2021 15:54:38 +0000 (11:54 -0400)]
Creator extra search results
Dessalines [Fri, 23 Apr 2021 06:40:10 +0000 (02:40 -0400)]
Some formatting
Dessalines [Fri, 23 Apr 2021 06:09:47 +0000 (02:09 -0400)]
Don't search for communities or users when the id is included.
Dessalines [Thu, 15 Apr 2021 03:37:51 +0000 (23:37 -0400)]
Making more fields optional in the API.
- Fixes #1569