Nutomic [Tue, 21 Jun 2022 19:27:10 +0000 (19:27 +0000)]
Use correct url for activitystreams protocol context (#2326)
Nutomic [Tue, 14 Jun 2022 05:20:30 +0000 (05:20 +0000)]
Move setting http_fetch_retry_limit into federation block (#2314)
Nutomic [Tue, 14 Jun 2022 05:20:01 +0000 (05:20 +0000)]
Fix length of post_report.original_post_name db field (fixes #2311) (#2315)
Dessalines [Mon, 13 Jun 2022 19:15:04 +0000 (15:15 -0400)]
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>
trwnh [Mon, 13 Jun 2022 13:26:56 +0000 (08:26 -0500)]
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
Nutomic [Wed, 8 Jun 2022 15:48:36 +0000 (15:48 +0000)]
Fix lemmy version in prod docker-compose.yml (#2304)
Nutomic [Wed, 8 Jun 2022 15:45:39 +0000 (15:45 +0000)]
Upgrade activitypub_federation to 0.2.0, add setting federation.debug (#2300)
Nutomic [Wed, 8 Jun 2022 15:44:53 +0000 (15:44 +0000)]
Remove unused setup config vars (#2302)
Nutomic [Wed, 8 Jun 2022 15:30:20 +0000 (15:30 +0000)]
Add pub use for db crates in api_common (#2305)
Nutomic [Wed, 8 Jun 2022 15:19:12 +0000 (15:19 +0000)]
Add link to Matrix chat in readme (#2303)
Nutomic [Wed, 8 Jun 2022 15:14:38 +0000 (15:14 +0000)]
Accept private like (#1968) (#2301)
Dessalines [Mon, 6 Jun 2022 12:09:43 +0000 (08:09 -0400)]
Move different features drone check to below defaults.hjson check. (#2296)
Paolo Barbolini [Sun, 5 Jun 2022 02:07:38 +0000 (04:07 +0200)]
Bump lettre to 0.10.0-rc.7 (#2297)
Nutomic [Fri, 3 Jun 2022 15:56:33 +0000 (15:56 +0000)]
Remove unused cargo.toml files (#2293)
Nutomic [Fri, 3 Jun 2022 15:31:22 +0000 (15:31 +0000)]
Forbid outgoing requests in activitypub tests (fixes #2289) (#2294)
Nutomic [Thu, 2 Jun 2022 21:44:47 +0000 (21:44 +0000)]
Embed Peertube videos (#2261)
* Use og:video attribute for embeds, change Post.embed_html to embed_url
* fix clippy
Nutomic [Thu, 2 Jun 2022 18:19:53 +0000 (18:19 +0000)]
Run cargo check for each crate with different features (ref #2284) (#2292)
Nutomic [Thu, 2 Jun 2022 17:48:53 +0000 (17:48 +0000)]
Remove 0.15 federation compat code (#2131)
Nutomic [Thu, 2 Jun 2022 14:33:41 +0000 (14:33 +0000)]
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
Dessalines [Mon, 30 May 2022 22:32:31 +0000 (18:32 -0400)]
Version 0.16.5
Dessalines [Fri, 27 May 2022 13:49:40 +0000 (09:49 -0400)]
Merge branch 'main' of https://github.com/LemmyNet/lemmy
Dessalines [Fri, 27 May 2022 13:48:11 +0000 (09:48 -0400)]
Update releases.md
Nutomic [Fri, 27 May 2022 11:21:49 +0000 (11:21 +0000)]
Merge pull request #2284 from LemmyNet/fix_publish
Fix publish
Dessalines [Thu, 26 May 2022 20:10:36 +0000 (16:10 -0400)]
Fix publish
Dessalines [Thu, 26 May 2022 15:17:04 +0000 (11:17 -0400)]
Revert "Add pending, and change use specific API response for FollowCommunity…" (#2283)
Nutomic [Fri, 20 May 2022 16:31:56 +0000 (16:31 +0000)]
Merge pull request #2248 from LemmyNet/expose_pending
Add pending, and change use specific API response for FollowCommunity…
Dessalines [Tue, 17 May 2022 18:02:48 +0000 (14:02 -0400)]
Dropping default on pending column.
Dessalines [Tue, 10 May 2022 18:14:01 +0000 (14:14 -0400)]
Making community_follower.pending column not null.
Dessalines [Sun, 8 May 2022 02:08:53 +0000 (22:08 -0400)]
Fix formatting.
Dessalines [Sun, 8 May 2022 00:21:30 +0000 (20:21 -0400)]
Fixing unfollow
Dessalines [Sat, 7 May 2022 23:04:47 +0000 (19:04 -0400)]
Fixing API tests.
Dessalines [Fri, 6 May 2022 21:37:53 +0000 (17:37 -0400)]
Add pending, and change use specific API response for FollowCommunity. Fixes #2246
Nutomic [Fri, 20 May 2022 13:29:04 +0000 (13:29 +0000)]
Downgrade Rust Docker images to 1.59 to fix CI failures (ref #2263) (#2274)
Nutomic [Thu, 19 May 2022 20:32:40 +0000 (20:32 +0000)]
Add legal information (fixes #721) (#2273)
Nutomic [Thu, 19 May 2022 20:30:16 +0000 (20:30 +0000)]
Add drone task for nightly build (#2264)
Dessalines [Tue, 17 May 2022 18:03:07 +0000 (14:03 -0400)]
Merge pull request #2267 from LemmyNet/update-image
Update image crate
Felix Ableitner [Tue, 17 May 2022 10:57:12 +0000 (12:57 +0200)]
Update image crate
Dessalines [Tue, 17 May 2022 17:44:09 +0000 (13:44 -0400)]
Merge pull request #2263 from LemmyNet/fix-ci-unsafe-repo
Fix CI failures
Felix Ableitner [Tue, 17 May 2022 14:26:36 +0000 (16:26 +0200)]
Remove youtube metadata test
Felix Ableitner [Mon, 16 May 2022 11:05:23 +0000 (13:05 +0200)]
Fix CI failures
Nutomic [Mon, 16 May 2022 10:58:58 +0000 (10:58 +0000)]
Merge pull request #2260 from LemmyNet/fix_email_param_order
Fixing malformed rosetta translations. Fixes #2231
Dessalines [Fri, 13 May 2022 16:24:29 +0000 (12:24 -0400)]
Fixing malformed rosetta translations. Fixes #2231
Nutomic [Wed, 11 May 2022 12:54:21 +0000 (12:54 +0000)]
Merge pull request #2253 from LemmyNet/optional-opentelemetry
Make opentelemetry dependency optional
Felix Ableitner [Tue, 10 May 2022 12:06:32 +0000 (14:06 +0200)]
Make opentelemetry dependency optional
Nutomic [Tue, 10 May 2022 17:08:13 +0000 (17:08 +0000)]
Remove check that avatars/banners are locally hosted (fixes #2254) (#2255)
Nutomic [Tue, 10 May 2022 17:04:40 +0000 (17:04 +0000)]
Update to Rust 1.60 (#2247)
Paolo Barbolini [Mon, 9 May 2022 23:08:13 +0000 (01:08 +0200)]
Bump lettre to 0.10.0-rc.6 (#2250)
Paolo Barbolini [Sun, 8 May 2022 17:00:12 +0000 (19:00 +0200)]
Simplify building plain/html emails (#2251)
Nutomic [Fri, 6 May 2022 23:53:33 +0000 (23:53 +0000)]
Federate with Peertube (#2244)
Nutomic [Fri, 6 May 2022 20:55:07 +0000 (20:55 +0000)]
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
Nutomic [Tue, 3 May 2022 17:44:13 +0000 (19:44 +0200)]
Add cargo feature for building lemmy_api_common with mininum deps (#2243)
Nutomic [Fri, 29 Apr 2022 14:01:10 +0000 (16:01 +0200)]
Add restricted community field to CreateCommunity, UpdateCommunity (ref #2235) (#2242)
Nutomic [Thu, 28 Apr 2022 20:32:32 +0000 (22:32 +0200)]
Implement restricted community (only mods can post) (fixes #187) (#2235)
* Implement restricted community (only mods can post) (fixes #187)
* review fixes
* fix tests
Rens Groothuijsen [Wed, 27 Apr 2022 16:12:41 +0000 (18:12 +0200)]
Update community statistics after post or comment is deleted by user (#2193)
* Update community statistics after post or comment is deleted by user
* Update triggers for site and person aggregates
* Restore comment counts when post is restored
* Simplify insertion/deletion trigger checks before updating statistics
Nutomic [Wed, 27 Apr 2022 16:12:13 +0000 (18:12 +0200)]
Accept comments with hashtags from Friendica (#2236)
Nutomic [Wed, 27 Apr 2022 15:56:05 +0000 (17:56 +0200)]
Remove unused dependencies (#2239)
Nutomic [Wed, 27 Apr 2022 15:42:10 +0000 (17:42 +0200)]
Fix link metadata unit test (#2237)
Nutomic [Mon, 25 Apr 2022 21:16:29 +0000 (23:16 +0200)]
Dont return "admin" for GET user when no id/name is provided (fixes #1546) (#2233)
Nutomic [Mon, 25 Apr 2022 21:11:34 +0000 (23:11 +0200)]
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
Nutomic [Tue, 19 Apr 2022 19:13:20 +0000 (19:13 +0000)]
Require registration application by default (#2229)
Nutomic [Tue, 19 Apr 2022 19:05:08 +0000 (19:05 +0000)]
Add default post listing type (fixes #2195) (#2209)
* Add default post listing type (fixes #2195)
* review fixes
* change column type
Dessalines [Tue, 19 Apr 2022 10:48:59 +0000 (06:48 -0400)]
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.
Dessalines [Wed, 13 Apr 2022 18:27:56 +0000 (14:27 -0400)]
Fix allowlist / blocklist description location. Fixes #2214 (#2215)
* Fix allowlist / blocklist description location. Fixes #2214
* Fix allowlist check
Nutomic [Wed, 13 Apr 2022 18:12:25 +0000 (18:12 +0000)]
Split apart api files (#2216)
Nutomic [Wed, 13 Apr 2022 17:48:47 +0000 (17:48 +0000)]
Merge pull request #2213 from LemmyNet/change_default_listing_type
Changing default listing type to Local from Subscribed.
Dessalines [Tue, 12 Apr 2022 18:55:47 +0000 (14:55 -0400)]
Changing default listing type to Local from Subscribed.
Nutomic [Wed, 13 Apr 2022 16:37:54 +0000 (16:37 +0000)]
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()
Dessalines [Wed, 13 Apr 2022 15:33:38 +0000 (11:33 -0400)]
Fixing unstable post sorts. Fixes #2188 (#2204)
Dessalines [Wed, 13 Apr 2022 11:53:21 +0000 (07:53 -0400)]
Adding lemmy_ui_debug for future debug testing. (#2211)
Co-authored-by: Nutomic <me@nutomic.com>
Dessalines [Wed, 13 Apr 2022 11:13:29 +0000 (07:13 -0400)]
Fixing generate unique changeme (#2205)
* Fixing generate unique changeme
* Fixing generate unique changeme 2
* Changing link to .invalid domain.
Co-authored-by: Nutomic <me@nutomic.com>
Nutomic [Tue, 12 Apr 2022 17:10:35 +0000 (17:10 +0000)]
Change Person, Instance types (#2200)
Nutomic [Tue, 12 Apr 2022 10:16:10 +0000 (10:16 +0000)]
Merge pull request #2207 from LemmyNet/clippy_fix_2
Clippy fixes.
Nutomic [Tue, 12 Apr 2022 10:03:40 +0000 (10:03 +0000)]
Merge branch 'main' into clippy_fix_2
Nutomic [Mon, 11 Apr 2022 23:03:31 +0000 (23:03 +0000)]
Write mod log for federated sticky/lock post actions (#2203)
Dessalines [Mon, 11 Apr 2022 22:51:11 +0000 (18:51 -0400)]
Clippy fixes.
Dessalines [Fri, 8 Apr 2022 17:09:17 +0000 (13:09 -0400)]
Adding 0.16.3 release.
Dessalines [Fri, 8 Apr 2022 14:20:31 +0000 (10:20 -0400)]
Version 0.16.3
Dessalines [Fri, 8 Apr 2022 13:17:00 +0000 (09:17 -0400)]
Version 0.16.3-rc.1
Dessalines [Fri, 8 Apr 2022 13:13:46 +0000 (09:13 -0400)]
Updating translations
Nutomic [Thu, 7 Apr 2022 20:52:17 +0000 (20:52 +0000)]
Federate user account deletion (fixes #1284) (#2199)
Nutomic [Thu, 7 Apr 2022 20:46:10 +0000 (20:46 +0000)]
Dont federate initial upvote (#2196)
Nutomic [Thu, 7 Apr 2022 20:44:28 +0000 (20:44 +0000)]
Add missing mod log entries for federated actions (fixes #1489) (#2198)
Nutomic [Tue, 5 Apr 2022 10:47:59 +0000 (10:47 +0000)]
Merge pull request #2192 from LemmyNet/mandatory_questionnaire
Make sure application questionaire is required. Fixes #2189
Nutomic [Tue, 5 Apr 2022 10:36:13 +0000 (10:36 +0000)]
Merge branch 'main' into mandatory_questionnaire
Nutomic [Tue, 5 Apr 2022 10:26:00 +0000 (10:26 +0000)]
Merge pull request #2194 from LemmyNet/upgrade_pictrs_8
Upgrading pictrs.
Dessalines [Tue, 5 Apr 2022 01:31:17 +0000 (21:31 -0400)]
Upgrading pictrs.
Dessalines [Mon, 4 Apr 2022 20:23:18 +0000 (16:23 -0400)]
Make sure application questionaire is required. Fixes #2189
Also fix local image domain check. Was failing for blank strings /
replaces.
Nutomic [Mon, 4 Apr 2022 14:46:49 +0000 (14:46 +0000)]
Fix verify_mod_action check for remote admin actions (#2190)
* Fix verify_mod_action check for remote admin actions
* fix federation test
Nutomic [Fri, 1 Apr 2022 18:37:51 +0000 (18:37 +0000)]
Run cargo upgrade (#2176)
* Run cargo upgrade and cargo update
* Fixing validation (#2179)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Nutomic [Fri, 1 Apr 2022 18:25:19 +0000 (18:25 +0000)]
Migrate towards using page.attachment field for url (ref #2144) (#2182)
Nutomic [Fri, 1 Apr 2022 18:18:25 +0000 (18:18 +0000)]
Exclude removed/deleted posts from community outbox (#2184)
Nutomic [Fri, 1 Apr 2022 18:06:23 +0000 (18:06 +0000)]
Fetch community outbox in parallel (fixes #2180) (#2181)
Nutomic [Thu, 31 Mar 2022 12:05:17 +0000 (12:05 +0000)]
Merge pull request #2178 from LemmyNet/fix_ban_expires
Adding a ban expires update job. Fixes #2177
Dessalines [Wed, 30 Mar 2022 14:58:03 +0000 (10:58 -0400)]
Clippy fixes.
Dessalines [Wed, 30 Mar 2022 13:56:23 +0000 (09:56 -0400)]
Adding a ban expires update job. Fixes #2177
Nutomic [Tue, 29 Mar 2022 18:23:03 +0000 (18:23 +0000)]
Add email translations (#2175)
Dessalines [Tue, 29 Mar 2022 18:05:18 +0000 (18:05 +0000)]
Fix arm submodule (#2174)
Dessalines [Tue, 29 Mar 2022 16:56:21 +0000 (12:56 -0400)]
Version 0.16.2
Dessalines [Tue, 29 Mar 2022 16:54:16 +0000 (16:54 +0000)]
Add update translations script. (#2173)
Dessalines [Tue, 29 Mar 2022 16:07:39 +0000 (12:07 -0400)]
Updating translations.