Commit Graph

3786 Commits (553654b8e89ec7d39ab5dcc6d8dcb1c28068844c)
 

Author SHA1 Message Date
Nutomic cd4d235171
Move setting http_fetch_retry_limit into federation block (#2314) 2 years ago
Nutomic c78de25652
Fix length of post_report.original_post_name db field (fixes #2311) (#2315) 2 years ago
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>
2 years ago
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
2 years ago
Nutomic a29cf04092
Fix lemmy version in prod docker-compose.yml (#2304) 2 years ago
Nutomic fcaf7a084c
Upgrade activitypub_federation to 0.2.0, add setting federation.debug (#2300) 2 years ago
Nutomic 7bc2f9fd6d
Remove unused setup config vars (#2302) 2 years ago
Nutomic c050945b1f
Add pub use for db crates in api_common (#2305) 2 years ago
Nutomic 23819d44f3
Add link to Matrix chat in readme (#2303) 2 years ago
Nutomic 7804a9d893
Accept private like (#1968) (#2301) 2 years ago
Dessalines 916c53ccec
Move different features drone check to below defaults.hjson check. (#2296) 2 years ago
Paolo Barbolini 0a3b69a259
Bump lettre to 0.10.0-rc.7 (#2297) 2 years ago
Nutomic 780832256c
Remove unused cargo.toml files (#2293) 2 years ago
Nutomic 5387c262c1
Forbid outgoing requests in activitypub tests (fixes #2289) (#2294) 2 years ago
Nutomic 339eab01fd
Embed Peertube videos (#2261)
* Use og:video attribute for embeds, change Post.embed_html to embed_url

* fix clippy
2 years ago
Nutomic 9a458d2e4b
Run cargo check for each crate with different features (ref #2284) (#2292) 2 years ago
Nutomic 13ca1111c4
Remove 0.15 federation compat code (#2131) 2 years ago
Nutomic 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
2 years ago
Dessalines 1bd57ee5ca Version 0.16.5 2 years ago
Dessalines 9b9b7b16c8 Merge branch 'main' of https://github.com/LemmyNet/lemmy 2 years ago
Dessalines 09454f3e49 Update releases.md 2 years ago
Nutomic 205b4a22a8
Merge pull request #2284 from LemmyNet/fix_publish
Fix publish
2 years ago
Dessalines 69106589ba Fix publish 2 years ago
Dessalines eafb3869f2
Revert "Add pending, and change use specific API response for FollowCommunity…" (#2283) 2 years ago
Nutomic 3af4a27a88
Merge pull request #2248 from LemmyNet/expose_pending
Add pending, and change use specific API response for FollowCommunity…
2 years ago
Dessalines 3c111b3062 Dropping default on pending column. 2 years ago
Dessalines d4ee171b08 Making community_follower.pending column not null. 2 years ago
Dessalines 763dc9668c Fix formatting. 2 years ago
Dessalines e6fe9d0325 Fixing unfollow 2 years ago
Dessalines ed9b66541e Fixing API tests. 2 years ago
Dessalines 48f5a2ee5e Add pending, and change use specific API response for FollowCommunity. Fixes #2246 2 years ago
Nutomic 7566f325cd
Downgrade Rust Docker images to 1.59 to fix CI failures (ref #2263) (#2274) 2 years ago
Nutomic 9ef0efa420
Add legal information (fixes #721) (#2273) 2 years ago
Nutomic 60e9586530
Add drone task for nightly build (#2264) 2 years ago
Dessalines be246425f0
Merge pull request #2267 from LemmyNet/update-image
Update image crate
2 years ago
Felix Ableitner 426e1b1e51 Update image crate 2 years ago
Dessalines 144336b8b1
Merge pull request #2263 from LemmyNet/fix-ci-unsafe-repo
Fix CI failures
2 years ago
Felix Ableitner 562b88da9e Remove youtube metadata test 2 years ago
Felix Ableitner 26d5b38115 Fix CI failures 2 years ago
Nutomic 91d1d5f7ff
Merge pull request #2260 from LemmyNet/fix_email_param_order
Fixing malformed rosetta translations. Fixes #2231
2 years ago
Dessalines 5eb0dfdc73 Fixing malformed rosetta translations. Fixes #2231 2 years ago
Nutomic bd9df834f5
Merge pull request #2253 from LemmyNet/optional-opentelemetry
Make opentelemetry dependency optional
2 years ago
Felix Ableitner 80684de7da Make opentelemetry dependency optional 2 years ago
Nutomic f0ec3015cd
Remove check that avatars/banners are locally hosted (fixes #2254) (#2255) 2 years ago
Nutomic 99f3141841
Update to Rust 1.60 (#2247) 2 years ago
Paolo Barbolini ef12cd9588
Bump lettre to 0.10.0-rc.6 (#2250) 2 years ago
Paolo Barbolini 559e43075a
Simplify building plain/html emails (#2251) 2 years ago
Nutomic 7b86441bab
Federate with Peertube (#2244) 2 years ago
Nutomic 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
2 years ago
Nutomic 3aa3d75a1e
Add cargo feature for building lemmy_api_common with mininum deps (#2243) 2 years ago