Commit Graph

4498 Commits (86990d5138abecb8496386c5c0a382292145e38b)

Author SHA1 Message Date
Dessalines 5a281445a3
Upgrade deps (#1799)
* Upgrade deps

* Fix web::scope
2021-09-29 14:50:00 -04:00
Nutomic aee48f3f5d
Ansible changes (#1781)
* Use env var for config location when saving (not default location)

* Consistent variable formatting for easy replacement with sed

* Remove unmaintained lemmy_dev and uninstall playbooks

* Simplify lemmy.hjson for ansible

* cleanup ansible playbook

* add separate playbook for updating lemmy config

* Revert "add separate playbook for updating lemmy config"

This reverts commit 0a970ae1da.
2021-09-28 11:34:18 -04:00
Dessalines 37bd9e0e6c Version 0.13.0-rc.1 2021-09-28 10:59:29 -04:00
Dessalines b18c744f63
Clean up reporting (#1776)
* First untested pass at reporting.

* Adding unit tests for post and comment report views

* Fix clippy

* Adding counts, creator_banned, and unresolved_only

* Adding my_vote to report views

* Fixing unit tests.
2021-09-28 10:36:17 +00:00
Nutomic 240de006db
Implement webmention support (fixes #1395) (#1671)
* Implement webmention support (fixes #1395)

* update

* use post url instead of instance or, better error handling

* update webmention
2021-09-27 10:49:47 -04:00
Felix Ableitner 329a282aac Merge branch 'remove_settings_and_secret_singletons_squashed' 2021-09-27 12:34:41 +02:00
Dessalines 8708ad1b44 Moving settings and secrets to context. 2021-09-27 11:25:26 +02:00
Felix Ableitner cf214ff583 Move jwt secret from config to database (fixes #1728) 2021-09-27 11:25:09 +02:00
Nutomic 527eefbe92
Rewrite fetcher (#1792)
* Use new fetcher implementation for post/comment

* rewrite person fetch to use new fetcher

* rewrite community to use new fetcher

* rename new_fetcher to dereference_object_id

* make ObjectId a newtype

* handle deletion in new fetcher

* rewrite apub object search to be generic

* move upsert() method out of ApubObject trait

* simplify ObjectId::new (and fix clippy)
2021-09-25 11:44:52 -04:00
Nutomic 21346eb786
Merge pull request #1785 from LemmyNet/add_cardano_donation_link
Add cardano donation link
2021-09-20 15:47:43 +00:00
Nutomic 1e7f3a4b23
Merge pull request #1782 from LemmyNet/password_min_length
Set a 10 char minimum password length.
2021-09-20 10:02:30 +00:00
Dessalines 0fbc342fe3 Fix tests 2021-09-19 17:20:47 -04:00
Dessalines 05e91ab9a2 Add cardano donation link 2021-09-19 16:52:16 -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
Nutomic 007a43c012
Merge pull request #1775 from LemmyNet/add_pictrs_to_ansible
Add pictrs to ansible.
2021-09-13 10:02:27 +00:00
Dessalines f3af561404 Add pictrs to ansible. 2021-09-07 20:11:36 -04:00
Dessalines 2cb0b6756c Adding 0.12.2 release notes 2021-09-06 11:33:32 -04:00
Dessalines 81c21a5328 Upping ansible version 2021-09-06 11:29:04 -04:00
Nutomic 9a2dc53097
Merge pull request #1770 from LemmyNet/fix/arm_build
Fix/arm build
2021-09-06 11:30:40 +00:00
Dessalines e9891977ee Version 0.12.2-rc.1 2021-09-05 13:59:28 -04:00
Dessalines a9a65a0f4f Try fixing arm build 2021-09-05 13:56:41 -04:00
Dessalines 52e6dcc51c Upping ansible version 2021-09-04 09:50:14 -04:00
Dessalines 9376c67ade Adding v0.12.1 release notes. 2021-09-04 09:33:26 -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 8b2491ea23 Fix upgrade note. 2021-09-03 10:56:47 -04:00
Dessalines 0b236a2fc2 Adding v0.12.0 release notes. 2021-09-03 09:29:11 -04:00
Dessalines df997dff49 Version 0.12.0 2021-09-03 09:23:50 -04:00
Dessalines 83a035082a Upgrading to lemmy-js-client 0.12.0 2021-09-03 09:21:24 -04:00
Dessalines e19349343a Version 0.12.0-rc.2 2021-09-03 08:28:26 -04:00
Dessalines ed2744201b
Create SECURITY.md (#1758)
Adding a security.md file.
2021-09-02 12:09:48 +00:00
Dessalines c654aa3416
Use more generic docker deps. Fixes #1759 (#1762)
* Use more generic docker deps. Fixes #1759

* Don't use slim
2021-09-02 11:50:20 +00:00
Dessalines c28c1b4bb3
Trying to fix arm builds. (#1761)
* Trying to fix arm builds.

* Adding comment
2021-09-02 11:00:45 +00:00
Dessalines 46b223e3c5
Fixing docker-compose prod (#1741) 2021-08-31 14:01:36 +00: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 0a91a28b27
Reindex tables non-concurrently on startup. Fixes #1726 . #1723 (#1736) 2021-08-26 11:49:16 +00:00
Dessalines da5fdae006 Version 0.12.0-rc.1 2021-08-25 17:28:42 -04:00
Dessalines a685e33f20 Merge branch 'main' of https://github.com/lemmynet/lemmy 2021-08-25 17:26:28 -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 815b271084 Updating lemmy-js-client. 2021-08-25 13:00:39 -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