Dessalines
8af913f583
Don't create or initially follow a default community. Fixes #2317 ( #2328 )
...
* Don't create or initially follow a default community. Fixes #2317
* Fix unit tests.
2022-06-22 19:38:27 +00:00
Dessalines
40609549d8
Increase RSS fetch limit to 20. Fixes #2319 ( #2327 )
2022-06-22 12:30:09 +00:00
Dessalines
92d17639cd
Expose pending 2 ( #2282 )
...
* Exposing SubscribedType. Fixes #2281
* Fixing other subscribed fields.
* Fix federation tests
* Add comment about follower row.
2022-06-22 12:05:41 +00:00
dc35ab9c2b
Use correct url for activitystreams protocol context ( #2326 )
2022-06-21 15:27:10 -04:00
cd4d235171
Move setting http_fetch_retry_limit into federation block ( #2314 )
2022-06-14 01:20:30 -04:00
Dessalines
4e12e25c59
Adding admin purging of DB items and pictures. #904 #1331 ( #1809 )
...
* First pass at adding admin purge. #904 #1331
* Breaking out purge into 4 tables for the 4 purgeable types.
* Using CommunitySafe instead in view
* Fix db_schema features flags.
* Attempting to pass API key.
* Adding pictrs image purging
- Added pictrs_config block, for API_KEY
- Clear out image columns after purging
* Remove the remove_images field from a few of the purge API calls.
* Fix some suggestions by @nutomic .
* Add separate pictrs reqwest client.
* Update defaults.hjson
Co-authored-by: Nutomic <me@nutomic.com>
2022-06-13 19:15:04 +00:00
trwnh
5b7376512f
Fix: Use correctly parseable JSON-LD context ( #2299 )
...
* Fix: Use correctly parseable JSON-LD context
* Changed: Better ordering for context document
alphabetized properties
* Changed: Use xsd types instead of schema.org types
* Changed: use simple namespacing
2022-06-13 13:26:56 +00:00
fcaf7a084c
Upgrade activitypub_federation to 0.2.0, add setting federation.debug ( #2300 )
2022-06-08 11:45:39 -04:00
7bc2f9fd6d
Remove unused setup config vars ( #2302 )
2022-06-08 11:44:53 -04:00
c050945b1f
Add pub use for db crates in api_common ( #2305 )
2022-06-08 11:30:20 -04:00
7804a9d893
Accept private like ( #1968 ) ( #2301 )
2022-06-08 11:14:38 -04:00
Paolo Barbolini
0a3b69a259
Bump lettre to 0.10.0-rc.7 ( #2297 )
2022-06-04 22:07:38 -04:00
780832256c
Remove unused cargo.toml files ( #2293 )
2022-06-03 15:56:33 +00:00
5387c262c1
Forbid outgoing requests in activitypub tests ( fixes #2289 ) ( #2294 )
2022-06-03 11:31:22 -04:00
339eab01fd
Embed Peertube videos ( #2261 )
...
* Use og:video attribute for embeds, change Post.embed_html to embed_url
* fix clippy
2022-06-02 21:44:47 +00:00
9a458d2e4b
Run cargo check for each crate with different features (ref #2284 ) ( #2292 )
2022-06-02 18:19:53 +00:00
13ca1111c4
Remove 0.15 federation compat code ( #2131 )
2022-06-02 13:48:53 -04:00
a2a594b763
Extract Activitypub logic into separate library ( #2288 )
...
* Create example for apub lib
* some rewriting of apub lib
* Add LocalInstance struct for apub lib to avoid using Lemmy Settings
* Move ActorType trait to lemmy_apub, because its not needed in library
* Use reqwest_retry instead of custom impl, dont specify timeout on every send()
* Some improvements to example
* Moved inbox handling to library
* bug fixes
* Move context and serde helpers into library
* wip: example changes
* Add lemmy_utils feature to build only LemmyError
* Rename to activitypub_federation
* Remove lemmy_utils dep from activitypub_federation using generic error type
* Finish activitypub example
* Cleanup and fix tests
* Reorganize library files
* Remove ApubObject.to_tombstone()
* Extract activitypub library into separate git repository
2022-06-02 16:33:41 +02:00
1bd57ee5ca
Version 0.16.5
2022-05-30 18:32:31 -04:00
69106589ba
Fix publish
2022-05-26 16:10:36 -04:00
Dessalines
eafb3869f2
Revert "Add pending, and change use specific API response for FollowCommunity…" ( #2283 )
2022-05-26 11:17:04 -04:00
3c111b3062
Dropping default on pending column.
2022-05-20 16:15:14 +00:00
d4ee171b08
Making community_follower.pending column not null.
2022-05-20 16:15:14 +00:00
763dc9668c
Fix formatting.
2022-05-20 16:15:14 +00:00
e6fe9d0325
Fixing unfollow
2022-05-20 16:15:14 +00:00
48f5a2ee5e
Add pending, and change use specific API response for FollowCommunity. Fixes #2246
2022-05-20 16:15:14 +00:00
9ef0efa420
Add legal information ( fixes #721 ) ( #2273 )
2022-05-19 20:32:40 +00:00
426e1b1e51
Update image crate
2022-05-17 13:48:47 -04:00
562b88da9e
Remove youtube metadata test
2022-05-17 16:26:36 +02:00
5eb0dfdc73
Fixing malformed rosetta translations. Fixes #2231
2022-05-13 12:24:29 -04:00
f0ec3015cd
Remove check that avatars/banners are locally hosted ( fixes #2254 ) ( #2255 )
2022-05-10 17:08:13 +00:00
Paolo Barbolini
ef12cd9588
Bump lettre to 0.10.0-rc.6 ( #2250 )
2022-05-09 23:08:13 +00:00
Paolo Barbolini
559e43075a
Simplify building plain/html emails ( #2251 )
2022-05-08 17:00:12 +00:00
7b86441bab
Federate with Peertube ( #2244 )
2022-05-06 23:53:33 +00:00
3053e14be7
Derive default for api request structs, move type enums ( #2245 )
...
* Derive default for api request structs, move type enums
* Simplify api by using enum types directly, instead of string
* Add default and clone for most api structs
2022-05-06 20:55:07 +00:00
3aa3d75a1e
Add cargo feature for building lemmy_api_common with mininum deps ( #2243 )
2022-05-03 17:44:13 +00:00
dd5835fb6e
Add restricted community field to CreateCommunity, UpdateCommunity (ref #2235 ) ( #2242 )
2022-04-29 14:01:10 +00:00
7058cfa1cf
Implement restricted community (only mods can post) ( fixes #187 ) ( #2235 )
...
* Implement restricted community (only mods can post) (fixes #187 )
* review fixes
* fix tests
2022-04-28 20:32:32 +00:00
c718882479
Accept comments with hashtags from Friendica ( #2236 )
2022-04-27 16:12:13 +00:00
2e01e8e42c
Remove unused dependencies ( #2239 )
2022-04-27 17:56:05 +02:00
56b7030901
Fix link metadata unit test ( #2237 )
2022-04-27 15:42:10 +00:00
3488b9aeb5
Dont return "admin" for GET user when no id/name is provided ( fixes #1546 ) ( #2233 )
2022-04-25 21:16:29 +00:00
ae84258c41
Federation: dont overwrite local object from Announce activity ( #2232 )
...
* Federation: dont overwrite local object from Announce activity (fixes #2143 )
* add missing form fields
* refactoring
* add ap_id, updated fields
* fix
2022-04-25 21:11:34 +00:00
00b0b26dfa
Add default post listing type ( fixes #2195 ) ( #2209 )
...
* Add default post listing type (fixes #2195 )
* review fixes
* change column type
2022-04-19 19:05:08 +00:00
Dessalines
24be9f2cd5
Show deny reason to users after a failed login. Fixes #2191 ( #2206 )
...
* Show deny reason to users after a failed login. Fixes #2191
* Updating translations.
* Adding registration_denied translated string.
2022-04-19 10:48:59 +00:00
Dessalines
0a36b16e29
Fix allowlist / blocklist description location. Fixes #2214 ( #2215 )
...
* Fix allowlist / blocklist description location. Fixes #2214
* Fix allowlist check
2022-04-13 18:27:56 +00:00
3951a16447
Split apart api files ( #2216 )
2022-04-13 18:12:25 +00:00
e0381df88a
Expose remote site info in GetCommunity API ( fixes #2208 ) ( #2210 )
...
* Expose remote site info in GetCommunity API (fixes #2208 )
* use instance_actor_id_from_url()
2022-04-13 16:37:54 +00:00
Dessalines
3d8709780a
Fixing unstable post sorts. Fixes #2188 ( #2204 )
2022-04-13 15:33:38 +00:00
bbd739af9b
Change Person, Instance types ( #2200 )
2022-04-12 17:10:35 +00:00