Dessalines
67f1898a4c
Making Secrets a Singleton.
2021-09-21 15:33:06 -04:00
Felix Ableitner
e64142ad23
move claims.rs back to utils
2021-09-21 14:01:07 -04:00
Felix Ableitner
4f5aaee99f
use lazy_static
2021-09-21 14:01:07 -04:00
Felix Ableitner
acdeae4aaa
Move jwt secret from config to database ( fixes #1728 )
2021-09-21 14:01:07 -04:00
Dessalines
721962589c
Clean up.
2021-09-18 19:53:30 -04:00
Dessalines
1033995801
Set a 10 char minimum password length.
2021-09-18 19:43:08 -04:00
Nutomic
e84e1193fc
Dont pass accept-encoding header to pictrs (ref #1734 ) ( #1738 )
...
* Allow image upload in docker/dev/ (replaces #1765 )
* Dont pass accept-encoding header to pictrs (ref #1734 )
* Fix clippy errors
2021-09-17 11:44:20 -04:00
Dessalines
e9891977ee
Version 0.12.2-rc.1
2021-09-05 13:59:28 -04:00
Dessalines
0940fb5f00
Fixing some comment websocket issues. ( #1768 )
...
- Wasn't correctly getting comment parent user for mark as read. Fixes #1767
- Was using all recipients for simple comment return. Fixes #1766
2021-09-04 08:47:41 -04:00
Dessalines
df997dff49
Version 0.12.0
2021-09-03 09:23:50 -04:00
Dessalines
e19349343a
Version 0.12.0-rc.2
2021-09-03 08:28:26 -04:00
Nutomic
2822f5a126
Change public activities to field to array ( #1739 )
2021-08-27 21:33:38 -04:00
Dessalines
2c8003a9fa
Upgrading deps ( #1735 )
2021-08-26 08:37:10 -04:00
Dessalines
da5fdae006
Version 0.12.0-rc.1
2021-08-25 17:28:42 -04:00
Dessalines
af225a42d0
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
2021-08-25 17:26:10 -04:00
Dessalines
73449c09a7
Fix image uploads. Fixes #1725 ( #1734 )
...
* Fix image uploads. Fixes #1725
* Adding comment on awc dep.
2021-08-25 16:33:45 +00:00
Nutomic
e413350be3
Merge pull request #1666 from LemmyNet/resolve-endpoint
...
Move resolving of activitypub objects to separate api endpoint
2021-08-23 17:06:51 +00:00
Dessalines
c23e7cc20d
Fixing ResolveObject API and unit tests ( #1713 )
2021-08-23 17:25:39 +02:00
Dessalines
1ee0c0c291
Adding more site setup vars. Fixes #678 ( #1718 )
2021-08-23 09:44:10 +00:00
Nutomic
3b37ea6c8b
Dont append ? to url when cleaning it ( #1716 )
2021-08-21 09:36:33 -04:00
Felix Ableitner
251e0d3b82
Move resolving of activitypub objects to separate api endpoint ( fixes #1584 )
2021-08-20 12:35:50 +02:00
Nutomic
f6f169b4eb
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
2021-08-19 17:24:33 -04:00
Dessalines
2016afc9db
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.
2021-08-19 20:54:15 +00: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
Nutomic
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
Dessalines
6910e18a83
Adding ModTransferCommunity to modlog in API. Fixes #1437
2021-08-17 17:52:28 -04:00
Dessalines
1f64db6a33
Upgrading deps
2021-08-17 16:31:16 -04:00
Nutomic
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
2966203653
Don't allow deleted users to do actions. Fixes #1656 ( #1704 )
2021-08-16 20:51:08 +00:00
Dessalines
8a1af056e2
When banning a user, remove communities they've created ( #1700 )
...
- Fixes #1659
2021-08-13 17:39:56 +00:00
Nutomic
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
Felix Ableitner
a44b5c9c36
publish to crates.io with normal release script
2021-08-09 18:44:18 +02:00
Felix Ableitner
af6aa3c0bf
Distribute Lemmy via crates.io
2021-08-09 17:29:32 +02:00
Felix Ableitner
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
Nutomic
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
Felix Ableitner
abd26aeab2
Remove brotli, zstd dependencies
2021-08-02 14:05:39 +02:00
Felix Ableitner
6b57d716e1
Rewrite private message apub and merge create/update
2021-07-31 22:58:11 +02:00
Felix Ableitner
dc363c8f35
Merge logic for post create and update
2021-07-31 19:26:17 +02:00
Felix Ableitner
3eb46868ff
Merge logic for comment create and update
2021-07-31 17:47:08 +02:00
Felix Ableitner
43ad99bbe8
Rewrite apub comment (de)serialization using structs (ref #1657 )
2021-07-31 16:57:37 +02:00
Felix Ableitner
433ab1e78b
Add docs for MediaType, PublicUrl values
2021-07-30 23:16:33 +02:00
Felix Ableitner
57b6ecaf40
Simplify lemmy_context() function (dont return errors)
2021-07-30 23:16:33 +02:00
Felix Ableitner
ff265c7ebc
Rewrite apub post (de)serialization using structs (ref #1657 )
2021-07-30 23:16:32 +02: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
Dessalines
7d3b90d711
Fix issue with protocol string in actor id generation ( #1668 )
2021-07-20 16:55:04 +00:00
Dessalines
5fe7de2bff
Adding shortname fetching for users and communities. Fixes #1662 ( #1663 )
2021-07-20 04:29:50 +00:00