Commit graph

3448 commits

Author SHA1 Message Date
e57e39dd98 Merge branch 'fix_clippy_lints_2' into deadpool_2 2021-11-09 12:43:20 -05:00
9c8e967aff Trying to fix clippy again 2021-11-09 12:36:47 -05:00
dfb10343cf Forgot to unformat clippy check 2021-11-09 12:22:50 -05:00
bee3fef926 Merge branch 'fix_clippy_lints_2' into deadpool_2 2021-11-09 12:21:23 -05:00
cd7e900980 Revert object id display 2021-11-09 12:18:54 -05:00
f79c76f05f Trying to fix drone 14 2021-11-09 12:13:10 -05:00
7f573bbe0c Updating dockerfiles to use clux 2021-11-09 12:11:22 -05:00
cd02b338d7 Trying to fix drone 13 2021-11-09 12:06:48 -05:00
2a4f70d2fb Trying to fix drone 12 2021-11-09 12:05:11 -05:00
98d8bac724 Trying to fix drone 11 2021-11-09 11:16:14 -05:00
6085cc4fcf Trying to fix drone 10 2021-11-09 11:09:24 -05:00
9f5309e120 Trying to fix drone 9 2021-11-09 10:56:04 -05:00
4f43f6f91f Trying to fix drone 8 2021-11-09 10:54:15 -05:00
0cdc81ad93 Trying to fix drone 7 2021-11-09 10:40:21 -05:00
abfbe23f4b Trying to fix drone 6 2021-11-09 10:11:28 -05:00
ebffde6ae3 Trying to fix drone 5 2021-11-09 09:56:27 -05:00
2f99a16675 Trying to fix drone 4 2021-11-09 09:53:39 -05:00
73efbfc8e4 Trying to fix drone 3 2021-11-09 09:52:12 -05:00
a7fe869996 Trying to fix drone 2 2021-11-09 09:51:16 -05:00
092b645573 Trying to fix drone 1 2021-11-09 09:49:53 -05:00
98211d92c0 Temporarily disable clippy 2021-11-08 18:04:51 -05:00
e07370432f Temporarily disable workspace lint 2021-11-08 17:54:07 -05:00
5d8e1065c0 Try to disable specific lint 2021-11-08 17:49:16 -05:00
2ad8279d4d Revert "Try nightly for clippy"
This reverts commit 3fd0938702.
2021-11-08 17:43:51 -05:00
583478e73e Revert "Try nightly for clippy, again."
This reverts commit 231f3ce611.
2021-11-08 17:43:51 -05:00
231f3ce611 Try nightly for clippy, again. 2021-11-08 17:39:25 -05:00
3fd0938702 Try nightly for clippy 2021-11-08 17:37:43 -05:00
de8e6ac453 Adding deadpool, v2. Fixes #1684 2021-11-08 16:49:41 -05:00
2b6d2e2585 Fixing clippy lints. 2021-11-08 11:15:17 -05:00
Dessalines
5d321949e6
Merge pull request #1877 from LemmyNet/refactor-apub-2
Refactor apub 2
2021-11-08 10:25:25 -05:00
c21c142a9a Include apub context from file, so that it can be embedded in docs 2021-11-08 16:04:02 +01:00
252d87d332 Fix clippy error 2021-11-08 13:16:14 +01:00
888e683856 For verify_is_public() we also need to check cc field 2021-11-06 18:44:34 +01:00
a5a674a270 Add method ApubObject.verify() 2021-11-06 18:35:14 +01:00
02ce7bdc7d Remove unused ActorType methods 2021-11-06 15:01:00 +01:00
8ea21c39b7 Reduce stack memory usage in apub code
- use our own, smaller Endpoints struct
- wrap ObjectId.url in Box
- adjust usage of Box in different places
2021-11-06 14:53:39 +01:00
c725514841 Change to_apub and from_apub to take by value and avoid cloning 2021-11-06 14:47:58 +01:00
Dessalines
44b5fe0631
Stop using lemmy-ui:dev images (#1880)
* Stop using lemmy-ui:dev images

* Dont publish dev docker images with drone.
2021-11-05 21:49:15 +00:00
2edf8ba157 Move ObjectId to library 2021-11-05 21:37:46 +01:00
bd3352423a Remove ActivityFields trait, deserialize into another struct instead 2021-11-05 21:14:19 +01:00
969a7f2d1b Refactoring apub code 2021-11-05 21:12:10 +01:00
Dessalines
a83113935d
Check if post or comment are deleted first. Fixes #1864 (#1867)
* Check if post or comment are deleted first. Fixes #1864

* Refactoring delete apub.

* Revert "Refactoring delete apub."

This reverts commit ba2c3d06cfb870efe792f4b2541036265b425156.
2021-11-03 17:47:24 +00:00
Dessalines
1bec551945
Merge pull request #1874 from LemmyNet/protocol-testing
Protocol testing
2021-11-03 11:23:26 -04:00
41f7bcc0d2 Correctly use and document check_is_apub_id_valid() param use_strict_allowlist 2021-11-02 21:39:06 +01:00
b396344eae Merge two functions into one 2021-11-02 21:39:06 +01:00
1c6f74cad5 Convert note.content and chat_message.content to html (fixes #1871) 2021-11-02 21:39:02 +01:00
Dessalines
d4753049d7
Upgrade background_jobs to 0.9.1 #1820 (#1875) 2021-11-02 20:27:24 +00:00
Dessalines
87bc2763ce
Fix husky fmt hook. (#1868)
* Fix husky fmt hook.

* Change to use default cargo

* Using nightly check
2021-11-02 15:15:19 +00:00
0bde2d595e Add tests for parsing activities and collections 2021-11-02 12:44:51 +01:00
aaaf039779 Move apub test files into tree structure 2021-10-29 16:54:19 +02:00