]> Untitled Git - lemmy.git/log
lemmy.git
22 months agoAdd language tags for comments
Felix Ableitner [Mon, 22 Aug 2022 20:55:10 +0000 (22:55 +0200)]
Add language tags for comments

22 months agoPass LocalUser to PostQuery etc, instead of separate params (#2413)
Nutomic [Fri, 19 Aug 2022 14:27:39 +0000 (14:27 +0000)]
Pass LocalUser to PostQuery etc, instead of separate params (#2413)

22 months agoTag posts and comments with language (fixes #440) (#2269)
Nutomic [Thu, 18 Aug 2022 19:11:19 +0000 (19:11 +0000)]
Tag posts and comments with language (fixes #440) (#2269)

* Tag posts and comments with language (fixes #440)

* Untangle PostView tests

* Implement test for PostView language query

* Store languages directly in database

* finish moving languages into db, it compiles

* update post_view

* serde skip Language.id field

* add local_user_language table, other changes suggested in review

* add code for local_user_discussion_language_view

* Remove unnecessary clones in db view converteres

* Fixing up some table and join issues.

* Clearing the current languages.

* Fix formatting.

* update user languages in single transaction

* proper test for user language queries

* Some fixes for all / missing user languages. (#2404)

* Some fixes for all / missing user languages.

* Adding back in transaction.

* fix test

Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
22 months agoRejected federated pm from blocked users (fixes #2398) (#2408)
Nutomic [Wed, 17 Aug 2022 20:53:19 +0000 (20:53 +0000)]
Rejected federated pm from blocked users (fixes #2398) (#2408)

22 months agoAdding distinguish comment. Fixes #2002 (#2391)
Dessalines [Wed, 17 Aug 2022 11:38:52 +0000 (07:38 -0400)]
Adding distinguish comment. Fixes #2002 (#2391)

* Adding distinguish comment. Fixes #2002

* Adding lemmy:distinguished

22 months agoFix pictrs routing (#2407)
Nutomic [Tue, 16 Aug 2022 15:20:41 +0000 (15:20 +0000)]
Fix pictrs routing (#2407)

* SUGGESTED FIX TO PICTRS ROUTING 404 ERROR #2359

Removed slashes at "/image" routes.

* cargo fmt

Co-authored-by: Majid ✨ <72635080+umamawme@users.noreply.github.com>
22 months agoAdd postgres auto-explain for dev testing. (#2399)
Dessalines [Tue, 16 Aug 2022 12:22:29 +0000 (08:22 -0400)]
Add postgres auto-explain for dev testing. (#2399)

* Add postgres auto-explain for dev testing.

* add newline

* fix indent

Co-authored-by: Nutomic <me@nutomic.com>
22 months agoAdd Modlog Filters (#2313)
Anon [Tue, 16 Aug 2022 11:52:04 +0000 (06:52 -0500)]
Add Modlog Filters (#2313)

* Fix crash running locally on windows.

* Add support for filtering mod logs

* Refactor cleanup

* Clippy fix

* Condense match statements

* Clippy fix 2

22 months agoAccept Image objects in attachments (#2394)
vpzomtrrfrt [Tue, 16 Aug 2022 10:12:43 +0000 (03:12 -0700)]
Accept Image objects in attachments (#2394)

23 months agoTweaking postgres upgrade script (#2389)
Dessalines [Thu, 4 Aug 2022 20:03:14 +0000 (16:03 -0400)]
Tweaking postgres upgrade script (#2389)

* Tweaking postgres upgrade script

* Removing pointless comments.

23 months agoUse typed-builder crate for queries (#2379)
Nutomic [Thu, 4 Aug 2022 19:30:17 +0000 (21:30 +0200)]
Use typed-builder crate for queries (#2379)

* Use typed-builder crate for PrivateMessageQuery

* derive builder for all queries

* remove unnecessary clones

* fix tests

23 months agoUse doku release version (ref #2343) (#2386)
Nutomic [Tue, 2 Aug 2022 13:38:19 +0000 (15:38 +0200)]
Use doku release version (ref #2343) (#2386)

23 months agoFirst pass at adding comment trees. (#2362)
Dessalines [Sat, 30 Jul 2022 03:55:59 +0000 (23:55 -0400)]
First pass at adding comment trees. (#2362)

* First pass at adding comment trees.

- Extracted comment replies into its own table.
- Added ltree column to comment
- Added parent_id param to GetComments to fetch a tree branch
- No paging / limiting yet

* Adding child_count to comment_aggregates.

* Adding parent comment update counts

* Fix unit tests.

* Comment tree paging mostly done.

* Fix clippy

* Fix drone tests wrong postgres version.

* Fix unit tests.

* Add back in delete in unit test.

* Add postgres upgrade script.

* Fixing some PR comments.

* Move update ltree into Comment::create

* Updating based on comments.

* Fix send soft fail.

23 months agoUpdate apub examples to remove `to` field (ref #2380) (#2382)
Nutomic [Fri, 29 Jul 2022 17:30:38 +0000 (19:30 +0200)]
Update apub examples to remove `to` field (ref #2380) (#2382)

23 months agoHandle Like, Undo/Like activities from Mastodon, add tests (fixes #2378) (#2380)
Nutomic [Fri, 29 Jul 2022 13:32:12 +0000 (15:32 +0200)]
Handle Like, Undo/Like activities from Mastodon, add tests (fixes #2378) (#2380)

23 months agoFix a few form options for diesel. Fixes #2287 (#2376)
Dessalines [Fri, 29 Jul 2022 13:04:21 +0000 (09:04 -0400)]
Fix a few form options for diesel. Fixes #2287 (#2376)

* Fix a few form options for diesel. Fixes #2287

* Adding TODO comment.

23 months agoRemove docker/pleroma/ folder (#2381)
Nutomic [Fri, 29 Jul 2022 12:37:23 +0000 (14:37 +0200)]
Remove docker/pleroma/ folder (#2381)

23 months agoRemove listing type community. Fixes #2361 (#2377)
Dessalines [Fri, 29 Jul 2022 10:57:39 +0000 (06:57 -0400)]
Remove listing type community. Fixes #2361 (#2377)

* Remove listing type community. Fixes #2361

* Have ListingType::All be the default

23 months agoDont allow login if account is banned or deleted (fixes #2372) (#2374)
Nutomic [Thu, 28 Jul 2022 21:14:07 +0000 (23:14 +0200)]
Dont allow login if account is banned or deleted (fixes #2372) (#2374)

23 months agoSend websocket message on accepted follow. Fixes #2369 (#2375)
Dessalines [Thu, 28 Jul 2022 15:49:26 +0000 (11:49 -0400)]
Send websocket message on accepted follow. Fixes #2369 (#2375)

23 months agoFix panics in search_by_apub_id() (fixes #2371) (#2373)
Nutomic [Wed, 27 Jul 2022 21:03:44 +0000 (21:03 +0000)]
Fix panics in search_by_apub_id() (fixes #2371) (#2373)

23 months agoFix follow being stuck as pending after accept (#2366)
Nutomic [Wed, 20 Jul 2022 14:10:29 +0000 (14:10 +0000)]
Fix follow being stuck as pending after accept (#2366)

* Fix follow being stuck as pending after accept

* fix api test

23 months agoAdding 0.16.6 release
Dessalines [Tue, 19 Jul 2022 19:01:15 +0000 (15:01 -0400)]
Adding 0.16.6 release

2 years agoChange config pictrs key name (#2360)
Nutomic [Thu, 14 Jul 2022 18:25:10 +0000 (18:25 +0000)]
Change config pictrs key name (#2360)

2 years agoConfig changes, remove unused image purge function (#2343)
Nutomic [Mon, 11 Jul 2022 20:38:37 +0000 (20:38 +0000)]
Config changes, remove unused image purge function (#2343)

* Throw error if old pictrs config item is used, make api key optional

* use doku url feature

* fix doku version

* fix clippy

* remove unused image purge function, remove config migration

2 years agoFix problem where actors can have empty public key (fixes #2347) (#2348)
Nutomic [Mon, 11 Jul 2022 18:25:33 +0000 (18:25 +0000)]
Fix problem where actors can have empty public key (fixes #2347) (#2348)

2 years agoremove parking_lot (#2350)
Luna [Mon, 11 Jul 2022 17:12:12 +0000 (22:42 +0530)]
remove parking_lot (#2350)

2 years agoRevert "Use correct url for activitystreams protocol context (#2326)" (#2351)
Dessalines [Fri, 8 Jul 2022 10:47:40 +0000 (06:47 -0400)]
Revert "Use correct url for activitystreams protocol context (#2326)" (#2351)

This reverts commit dc35ab9c2b924648e72289577ff46bee4ff81a87.

2 years agoAdding check for requests with no id or name, adding max limit. (#2265)
Dessalines [Fri, 8 Jul 2022 10:21:33 +0000 (06:21 -0400)]
Adding check for requests with no id or name, adding max limit. (#2265)

* Adding check for requests with no id or name, adding max limit.

* Consolidating a few functions.

* Fix page min

* Adding more websocket rate limits.

* Add check to GetCommunity

* Use a default message rate limit check.

* Adding a page and limit checker

* Fix clippy

* Fix clippy again

* Adding check for requests with no id or name, adding max limit.

* Consolidating a few functions.

* Fix page min

* Adding more websocket rate limits.

* Add check to GetCommunity

* Use a default message rate limit check.

* Adding a page and limit checker

* Fix clippy

* Fix clippy again

* Fix limit request.

* Move checks to inside limit_and_offset

* Fixing API tests.

* Change NotFound diesel errors to QueryBuilderError

2 years agoDont allow blocking admin (#2340)
Nutomic [Tue, 5 Jul 2022 23:02:54 +0000 (23:02 +0000)]
Dont allow blocking admin (#2340)

2 years agoFix wrong clippy warning in ci (#2339)
Nutomic [Tue, 5 Jul 2022 21:41:22 +0000 (21:41 +0000)]
Fix wrong clippy warning in ci (#2339)

2 years agoBe more explicit about returning deleted actors or not (#2335)
Nutomic [Tue, 5 Jul 2022 21:40:44 +0000 (21:40 +0000)]
Be more explicit about returning deleted actors or not (#2335)

* Be more explicit about returning deleted actors or not

* simplify db queries

2 years agoSpecify minimum Rust version 1.57 (fixes #2333) (#2334)
Nutomic [Tue, 28 Jun 2022 21:44:55 +0000 (21:44 +0000)]
Specify minimum Rust version 1.57 (fixes #2333) (#2334)

* Specify minimum Rust version 1.57 (fixes #2333)

* use latest rust for clippy

* use rust 1.60 for clippy

* no add component

* use official rust docker

* comments

2 years agoRemove update and read site config. Fixes #2306 (#2329)
Dessalines [Wed, 22 Jun 2022 20:24:54 +0000 (16:24 -0400)]
Remove update and read site config. Fixes #2306 (#2329)

* Remove update and read site config. Fixes #2306

* Removing lazy_static, removing Settings::get()

2 years agoDon't create or initially follow a default community. Fixes #2317 (#2328)
Dessalines [Wed, 22 Jun 2022 19:38:27 +0000 (15:38 -0400)]
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.

2 years agoIncrease RSS fetch limit to 20. Fixes #2319 (#2327)
Dessalines [Wed, 22 Jun 2022 12:30:09 +0000 (08:30 -0400)]
Increase RSS fetch limit to 20. Fixes #2319 (#2327)

2 years agoExpose pending 2 (#2282)
Dessalines [Wed, 22 Jun 2022 12:05:41 +0000 (08:05 -0400)]
Expose pending 2 (#2282)

* Exposing SubscribedType. Fixes #2281

* Fixing other subscribed fields.

* Fix federation tests

* Add comment about follower row.

2 years agoUse correct url for activitystreams protocol context (#2326)
Nutomic [Tue, 21 Jun 2022 19:27:10 +0000 (19:27 +0000)]
Use correct url for activitystreams protocol context (#2326)

2 years agoMove setting http_fetch_retry_limit into federation block (#2314)
Nutomic [Tue, 14 Jun 2022 05:20:30 +0000 (05:20 +0000)]
Move setting http_fetch_retry_limit into federation block (#2314)

2 years agoFix length of post_report.original_post_name db field (fixes #2311) (#2315)
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)

2 years agoAdding admin purging of DB items and pictures. #904 #1331 (#1809)
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>
2 years agoFix: Use correctly parseable JSON-LD context (#2299)
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

2 years agoFix lemmy version in prod docker-compose.yml (#2304)
Nutomic [Wed, 8 Jun 2022 15:48:36 +0000 (15:48 +0000)]
Fix lemmy version in prod docker-compose.yml (#2304)

2 years agoUpgrade activitypub_federation to 0.2.0, add setting federation.debug (#2300)
Nutomic [Wed, 8 Jun 2022 15:45:39 +0000 (15:45 +0000)]
Upgrade activitypub_federation to 0.2.0, add setting federation.debug (#2300)

2 years agoRemove unused setup config vars (#2302)
Nutomic [Wed, 8 Jun 2022 15:44:53 +0000 (15:44 +0000)]
Remove unused setup config vars (#2302)

2 years agoAdd pub use for db crates in api_common (#2305)
Nutomic [Wed, 8 Jun 2022 15:30:20 +0000 (15:30 +0000)]
Add pub use for db crates in api_common (#2305)

2 years agoAdd link to Matrix chat in readme (#2303)
Nutomic [Wed, 8 Jun 2022 15:19:12 +0000 (15:19 +0000)]
Add link to Matrix chat in readme (#2303)

2 years agoAccept private like (#1968) (#2301)
Nutomic [Wed, 8 Jun 2022 15:14:38 +0000 (15:14 +0000)]
Accept private like (#1968) (#2301)

2 years agoMove different features drone check to below defaults.hjson check. (#2296)
Dessalines [Mon, 6 Jun 2022 12:09:43 +0000 (08:09 -0400)]
Move different features drone check to below defaults.hjson check. (#2296)

2 years agoBump lettre to 0.10.0-rc.7 (#2297)
Paolo Barbolini [Sun, 5 Jun 2022 02:07:38 +0000 (04:07 +0200)]
Bump lettre to 0.10.0-rc.7 (#2297)

2 years agoRemove unused cargo.toml files (#2293)
Nutomic [Fri, 3 Jun 2022 15:56:33 +0000 (15:56 +0000)]
Remove unused cargo.toml files (#2293)

2 years agoForbid outgoing requests in activitypub tests (fixes #2289) (#2294)
Nutomic [Fri, 3 Jun 2022 15:31:22 +0000 (15:31 +0000)]
Forbid outgoing requests in activitypub tests (fixes #2289) (#2294)

2 years agoEmbed Peertube videos (#2261)
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

2 years agoRun cargo check for each crate with different features (ref #2284) (#2292)
Nutomic [Thu, 2 Jun 2022 18:19:53 +0000 (18:19 +0000)]
Run cargo check for each crate with different features (ref #2284) (#2292)

2 years agoRemove 0.15 federation compat code (#2131)
Nutomic [Thu, 2 Jun 2022 17:48:53 +0000 (17:48 +0000)]
Remove 0.15 federation compat code (#2131)

2 years agoExtract Activitypub logic into separate library (#2288)
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

2 years agoVersion 0.16.5
Dessalines [Mon, 30 May 2022 22:32:31 +0000 (18:32 -0400)]
Version 0.16.5

2 years agoMerge branch 'main' of https://github.com/LemmyNet/lemmy
Dessalines [Fri, 27 May 2022 13:49:40 +0000 (09:49 -0400)]
Merge branch 'main' of https://github.com/LemmyNet/lemmy

2 years agoUpdate releases.md
Dessalines [Fri, 27 May 2022 13:48:11 +0000 (09:48 -0400)]
Update releases.md

2 years agoMerge pull request #2284 from LemmyNet/fix_publish
Nutomic [Fri, 27 May 2022 11:21:49 +0000 (11:21 +0000)]
Merge pull request #2284 from LemmyNet/fix_publish

Fix publish

2 years agoFix publish
Dessalines [Thu, 26 May 2022 20:10:36 +0000 (16:10 -0400)]
Fix publish

2 years agoRevert "Add pending, and change use specific API response for FollowCommunity…" ...
Dessalines [Thu, 26 May 2022 15:17:04 +0000 (11:17 -0400)]
Revert "Add pending, and change use specific API response for FollowCommunity…" (#2283)

2 years agoMerge pull request #2248 from LemmyNet/expose_pending
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…

2 years agoDropping default on pending column.
Dessalines [Tue, 17 May 2022 18:02:48 +0000 (14:02 -0400)]
Dropping default on pending column.

2 years agoMaking community_follower.pending column not null.
Dessalines [Tue, 10 May 2022 18:14:01 +0000 (14:14 -0400)]
Making community_follower.pending column not null.

2 years agoFix formatting.
Dessalines [Sun, 8 May 2022 02:08:53 +0000 (22:08 -0400)]
Fix formatting.

2 years agoFixing unfollow
Dessalines [Sun, 8 May 2022 00:21:30 +0000 (20:21 -0400)]
Fixing unfollow

2 years agoFixing API tests.
Dessalines [Sat, 7 May 2022 23:04:47 +0000 (19:04 -0400)]
Fixing API tests.

2 years agoAdd pending, and change use specific API response for FollowCommunity. Fixes #2246
Dessalines [Fri, 6 May 2022 21:37:53 +0000 (17:37 -0400)]
Add pending, and change use specific API response for FollowCommunity. Fixes #2246

2 years agoDowngrade Rust Docker images to 1.59 to fix CI failures (ref #2263) (#2274)
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)

2 years agoAdd legal information (fixes #721) (#2273)
Nutomic [Thu, 19 May 2022 20:32:40 +0000 (20:32 +0000)]
Add legal information (fixes #721) (#2273)

2 years agoAdd drone task for nightly build (#2264)
Nutomic [Thu, 19 May 2022 20:30:16 +0000 (20:30 +0000)]
Add drone task for nightly build (#2264)

2 years agoMerge pull request #2267 from LemmyNet/update-image
Dessalines [Tue, 17 May 2022 18:03:07 +0000 (14:03 -0400)]
Merge pull request #2267 from LemmyNet/update-image

Update image crate

2 years agoUpdate image crate
Felix Ableitner [Tue, 17 May 2022 10:57:12 +0000 (12:57 +0200)]
Update image crate

2 years agoMerge pull request #2263 from LemmyNet/fix-ci-unsafe-repo
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

2 years agoRemove youtube metadata test
Felix Ableitner [Tue, 17 May 2022 14:26:36 +0000 (16:26 +0200)]
Remove youtube metadata test

2 years agoFix CI failures
Felix Ableitner [Mon, 16 May 2022 11:05:23 +0000 (13:05 +0200)]
Fix CI failures

2 years agoMerge pull request #2260 from LemmyNet/fix_email_param_order
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

2 years agoFixing malformed rosetta translations. Fixes #2231
Dessalines [Fri, 13 May 2022 16:24:29 +0000 (12:24 -0400)]
Fixing malformed rosetta translations. Fixes #2231

2 years agoMerge pull request #2253 from LemmyNet/optional-opentelemetry
Nutomic [Wed, 11 May 2022 12:54:21 +0000 (12:54 +0000)]
Merge pull request #2253 from LemmyNet/optional-opentelemetry

Make opentelemetry dependency optional

2 years agoMake opentelemetry dependency optional
Felix Ableitner [Tue, 10 May 2022 12:06:32 +0000 (14:06 +0200)]
Make opentelemetry dependency optional

2 years agoRemove check that avatars/banners are locally hosted (fixes #2254) (#2255)
Nutomic [Tue, 10 May 2022 17:08:13 +0000 (17:08 +0000)]
Remove check that avatars/banners are locally hosted (fixes #2254) (#2255)

2 years agoUpdate to Rust 1.60 (#2247)
Nutomic [Tue, 10 May 2022 17:04:40 +0000 (17:04 +0000)]
Update to Rust 1.60 (#2247)

2 years agoBump lettre to 0.10.0-rc.6 (#2250)
Paolo Barbolini [Mon, 9 May 2022 23:08:13 +0000 (01:08 +0200)]
Bump lettre to 0.10.0-rc.6 (#2250)

2 years agoSimplify building plain/html emails (#2251)
Paolo Barbolini [Sun, 8 May 2022 17:00:12 +0000 (19:00 +0200)]
Simplify building plain/html emails (#2251)

2 years agoFederate with Peertube (#2244)
Nutomic [Fri, 6 May 2022 23:53:33 +0000 (23:53 +0000)]
Federate with Peertube (#2244)

2 years agoDerive default for api request structs, move type enums (#2245)
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

2 years agoAdd cargo feature for building lemmy_api_common with mininum deps (#2243)
Nutomic [Tue, 3 May 2022 17:44:13 +0000 (19:44 +0200)]
Add cargo feature for building lemmy_api_common with mininum deps (#2243)

2 years agoAdd restricted community field to CreateCommunity, UpdateCommunity (ref #2235) (...
Nutomic [Fri, 29 Apr 2022 14:01:10 +0000 (16:01 +0200)]
Add restricted community field to CreateCommunity, UpdateCommunity (ref #2235) (#2242)

2 years agoImplement restricted community (only mods can post) (fixes #187) (#2235)
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

2 years agoUpdate community statistics after post or comment is deleted by user (#2193)
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

2 years agoAccept comments with hashtags from Friendica (#2236)
Nutomic [Wed, 27 Apr 2022 16:12:13 +0000 (18:12 +0200)]
Accept comments with hashtags from Friendica (#2236)

2 years agoRemove unused dependencies (#2239)
Nutomic [Wed, 27 Apr 2022 15:56:05 +0000 (17:56 +0200)]
Remove unused dependencies (#2239)

2 years agoFix link metadata unit test (#2237)
Nutomic [Wed, 27 Apr 2022 15:42:10 +0000 (17:42 +0200)]
Fix link metadata unit test (#2237)

2 years agoDont return "admin" for GET user when no id/name is provided (fixes #1546) (#2233)
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)

2 years agoFederation: dont overwrite local object from Announce activity (#2232)
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

2 years agoRequire registration application by default (#2229)
Nutomic [Tue, 19 Apr 2022 19:13:20 +0000 (19:13 +0000)]
Require registration application by default (#2229)

2 years agoAdd default post listing type (fixes #2195) (#2209)
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

2 years agoShow deny reason to users after a failed login. Fixes #2191 (#2206)
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.

2 years agoFix allowlist / blocklist description location. Fixes #2214 (#2215)
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