Felix Ableitner
64e984688a
Delete objects from db at the end of each test
2021-10-21 19:12:15 +02:00
Felix Ableitner
b4d06b7705
Add tests for ToApub, private message, remove update script
2021-10-21 12:25:27 +02:00
Felix Ableitner
837c058843
some fixes for update_apub_test_files.sh
2021-10-20 17:55:29 +02:00
Felix Ableitner
c514f56158
Added html2md crate to parse comment html from pleroma ( fixes #1461 )
2021-10-20 17:48:10 +02:00
Felix Ableitner
153ec0d7aa
Added federation test for pleroma comment
2021-10-20 17:28:27 +02:00
Felix Ableitner
60b472e3f0
added test for lemmy comment
2021-10-20 16:41:07 +02:00
Felix Ableitner
5504efa4a6
Dont fetch community outbox/moderators during tests
2021-10-20 14:54:02 +02:00
Felix Ableitner
795ad7a65d
Ignore errors when reading community outbox ( fixes #1582 )
2021-10-20 13:50:44 +02:00
Felix Ableitner
c2fa96a4ec
Added apub test for post
2021-10-20 12:41:55 +02:00
Felix Ableitner
366532c61a
Added test case for parsing community from apub json
...
- fixed a bug with objectid (de)serialization
- fixed a bug with outbox fetching (ref #1582 )
2021-10-20 12:29:59 +02:00
Felix Ableitner
748aa342f1
Allow fetching person from Pleroma, including test case (ref #1461 )
2021-10-20 12:29:53 +02:00
Felix Ableitner
1aa0e1997b
Major refactor, adding newtypes for apub crate
...
- this allows moving FromApub/ToApub traits into apub lib
2021-10-20 12:28:09 +02:00
Felix Ableitner
f24999027e
Merge crates db_schema and db_queries
2021-10-20 12:28:08 +02:00
Felix Ableitner
d206aad282
Remove DeletableApubObject trait
2021-10-20 12:20:54 +02:00
Tmpod
e9d9bc82d8
Add cargo metadata to all crates ( #1853 )
2021-10-19 13:03:43 -04:00
Tmpod
aef9786fa7
Add both (De)Serialize to all models ( #1851 )
2021-10-19 12:37:01 -04:00
Dessalines
97aa7268ae
Adding GetUnreadCount to the API. Fixes #1794 ( #1842 )
...
* Adding GetUnreadCount to the API. Fixes #1794
* Reordering filters to fix unread replies.
2021-10-16 10:43:41 +00:00
Nutomic
18badcfdb4
Federate reports ( #1830 )
...
* Federate reports
* add federation test cases for reports
2021-10-15 10:37:33 -04:00
Dessalines
ccb8e4b414
Fix saved posts and hide read posts issue. Fixes #1839 ( #1840 )
2021-10-14 17:03:12 +00:00
Dessalines
2402515fcc
Dont allow posts to deleted / removed communities. Fixes #1827 ( #1828 )
...
* Dont allow posts to deleted / removed communities. Fixes #1827
* Fixing couldnt find community error.
* Adding check in createorupdate post and comment.
* make sure post wasn't deleted or removed.
* Adding a post not deleted or removed check to creatorupdatecomment.
* Using pub(crate)
2021-10-14 16:33:19 +00:00
Nutomic
8067244765
Dont swallow API errors ( fixes #1834 ) ( #1837 )
...
Dont swallow API errors (fixes #1834 )
2021-10-13 15:50:21 -04:00
Nutomic
d26255957b
Fix federation of initial post/comment vote ( fixes #1824 ) ( #1835 )
2021-10-13 10:12:41 -04:00
Nutomic
f4c783cba5
Fix clippy warnings added in nightly ( #1833 )
2021-10-12 12:46:26 -04:00
Dessalines
864598908d
Admins can view all reports. Fixes #1810 ( #1825 )
2021-10-12 12:02:16 +00:00
Dessalines
35d0aba9e6
Adding a message_id to emails. Fixes #1807 ( #1826 )
2021-10-12 11:38:55 +00:00
Nutomic
454d3987a5
Generate config docs from code ( #1786 )
...
* Generate config docs from code
* update library
* move settings comments from config.hjson to code
* updte doku to 0.10
* update doku
2021-10-08 11:07:24 -04:00
Dessalines
53a2b6d013
Trying a background_jobs fix. #1820 ( #1822 )
2021-10-08 14:36:53 +00:00
Luna
e06cd9c0ac
mark parent as read on reply ( #1819 )
...
* mark parent as read on reply
* mark as read only if you are the recipient
* mark mentions as read on reply
2021-10-08 10:28:32 -04:00
Nutomic
b96ce81f89
Move code to apub library ( #1795 )
...
* Remove dependency of apub_lib on LemmyContext
* Move ApubObject trait to library
* Reorganize files in apub lib
* Move ActorType, signatures, activity_queue to apub library
2021-10-06 16:20:05 -04:00
Dessalines
fe7c1b300b
Adding honeypot to user and post creation. Fixes #1802 ( #1803 )
2021-10-01 11:37:39 +00:00
Dessalines
a99ba2de24
Version 0.13.0
2021-09-29 16:16:46 -04:00
Dessalines
9c50cbf431
Adding a user agent. Fixes #1769 ( #1800 )
...
* Adding a user agent. Fixes #1769
* Fix client duplicate creation.
2021-09-29 16:05:38 -04:00
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
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
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