Commit Graph

4263 Commits (857bf9f5a2413ff0e6e6c95e1157e8ce6bf9c0c3)

Author SHA1 Message Date
dullbananas 857bf9f5a2
Update comment_reply_view.rs 2023-08-02 20:23:33 -07:00
Dull Bananas e8a5a8ad93 rerun ci 2023-08-03 02:28:41 +00:00
dullbananas 13247279ed
Remove macro_use for paste 2023-08-02 19:27:37 -07:00
Dull Bananas 03365bf598 rerun ci 2023-08-03 02:11:52 +00:00
dullbananas 0c23e5213b
Move WithoutId to lib.rs 2023-08-02 16:57:03 -07:00
Dull Bananas c60611b5a8 rerun ci 2023-08-02 23:23:05 +00:00
dullbananas a283d155e5
Fix errors 2023-08-02 13:25:35 -07:00
dullbananas 36a5210352
cargo fmt 2023-08-02 13:08:44 -07:00
Dull Bananas c3ecad87bf rerun ci 2023-08-02 19:59:04 +00:00
dullbananas c9102c14f4
Fix errors 2023-08-02 12:56:59 -07:00
Dull Bananas 4e3829facc rerun ci 2023-08-02 04:00:18 +00:00
dullbananas 19adb2fcc8
Update without_id.rs 2023-08-01 20:34:07 -07:00
Dull Bananas 1b31835841 rerun ci 2023-08-02 02:49:45 +00:00
dullbananas e26107a2fe
Update without_id.rs 2023-08-01 19:44:24 -07:00
Dull Bananas a364135e5a rerun ci 2023-08-01 21:24:15 +00:00
dullbananas acaa4902b0
Fix attribute filtering in WithoutId macro 2023-08-01 14:11:27 -07:00
Dull Bananas 237b8d6f54 rerun ci 2023-08-01 19:02:50 +00:00
dullbananas de0e9c6fdc
Only derive WithoutId for Community with "full" feature 2023-08-01 11:57:03 -07:00
Dull Bananas 55835e8c2a rerun ci 2023-08-01 18:49:47 +00:00
dull b 5e1bd1ce58 cargo fmt 2023-08-01 18:43:49 +00:00
Dull Bananas 318f7779a1 rerun ci 2023-08-01 18:35:48 +00:00
dullbananas c7ae9f1cd5
Add missing "|" in private_message_report_view.rs 2023-08-01 11:31:29 -07:00
Dull Bananas fc88c61125 rerun ci 2023-08-01 18:22:31 +00:00
dullbananas d942f099de
Fix syntatx errors 2023-08-01 11:16:54 -07:00
Dull Bananas 4d2c0ca19a rerun ci 2023-08-01 18:02:33 +00:00
dullbananas 23cdb6f6d3
Update Cargo.toml 2023-08-01 10:51:39 -07:00
dullbananas 06006d6ad3
Add WithoutId derives 2023-07-31 20:15:10 -07:00
dullbananas 5e86922b0f
WithoutId 2023-07-31 19:55:16 -07:00
dull b 86a433b0b3 CommunityFollower::select_subscribed_type 2023-07-30 04:40:32 +00:00
dull b 2f3f6bb3c9 Replace some nullable parts of selection with id::nullable().is_not_null() 2023-07-30 00:12:20 +00:00
dull b 79a6bf003e Revert "CommunityPersonBanAdditionalInfo (partial)"
This reverts commit 158f7f0cd9.
2023-07-29 01:55:53 +00:00
dull b 158f7f0cd9 CommunityPersonBanAdditionalInfo (partial) 2023-07-29 01:55:40 +00:00
dull b 603aede7ce CommentAggregatesNotInComment 2023-07-28 19:25:36 +00:00
dull b 1ee3fcaeab PostAggregatesNotInPost 2023-07-28 16:57:56 +00:00
Nutomic 543bd99900
Update CODEOWNERS (#3748) 2023-07-28 11:16:18 -04:00
Nutomic 39752fa096
Delete migrations_testing folder (#3751)
Its completely unused as far as I can see
2023-07-28 11:14:26 -04:00
Nutomic e365d48769
Move entry from .rgignore to .gitignore (#3752)
rg command respects gitignore, and sql dumps should be ignored by
git as well. So theres no reason to have a separate file.
2023-07-28 11:11:18 -04:00
Nutomic 37998b3398
Rewrite some API handlers to remove Perform trait (#3735)
* Rewrite some API handlers to remove Perform trait

* Convert CreateComment

* ci
2023-07-28 10:39:38 -04:00
Dessalines db76c5b7ff
Adding 0.18.3 Release notes. (#3753) 2023-07-28 16:33:45 +02:00
Nutomic a34e0d477e
Only run slow CI checks for actual code changes (#3750)
* Only run slow CI checks for actual code changes

Its a waste of time to compile Rust and run tests when only
something like the readme was changed.

* also make cache restore/rebuild conditional

* remove unused condition
2023-07-28 09:33:23 -04:00
Nutomic 0e6fb08284
Restore markdown quotes after sanitize (#3708) (#3749) 2023-07-28 08:23:46 -04:00
dullbananas 9a5a13c734
Use same table join code for both read and list functions (#3663)
* Try stuff

* Revert "Try stuff"

This reverts commit 3da5f83a8b.

* Revert "Revert "Try stuff""

This reverts commit 178bd43cac.

* Revert "Revert "Revert "Try stuff"""

This reverts commit b9f9a2316e.

* Revert "Revert "Revert "Revert "Try stuff""""

This reverts commit ccd498dd72.

* Try more stuff

* Add queries function

* Simplify queries function

* Move aliases to db_schema

* Revert "Move aliases to db_schema"

This reverts commit 69afed05c1.

* Add ReadFuture and ListFuture

* Refactor queries function and add Queries struct

* Box futures in Queries::new

* Use from_tuple

* Add comment_view::queries and improve comment_report_view::queries

* Add local_user_view::queries

* Add post_report_view::queries

* Ad post_view::queries

* Add private_message_report_view::queries

* private_message_view, registration_application_view

* Use 'a in BoxedQuery

* comment_reply_view, community_view

* Change aliases to inline module

* person_mention_view

* person_view

* Use separate community_person_ban joins instead of including boolean literal in join-on clause

* Fix comment_view

* rerun ci
2023-07-28 10:36:50 +02:00
phiresky e315092ee3
remove n^2 part of person triggers, improve community aggregate trigger (#3739)
* remove n^2 part of person triggers, improve community aggregate trigger

* comment out comment_score tests since previously they only accidentally succeeded

* empty
2023-07-27 23:36:51 +02:00
phiresky 1253a2a0d5
remove performance-problematic and buggy duplicate site aggregates (#3732) 2023-07-27 23:35:53 +02:00
Nutomic d909f3455d
Change readme installation link (#3736)
Replaces https://github.com/LemmyNet/lemmy/pull/3551
2023-07-27 09:42:52 -04:00
RocketDerp 21a87ebaf2
Federation tests replication round1 - demonstrate absent replication of comment deletes (#3657)
* more robust test of unlike a comment, confirm replication to instance downstream from community home

* more robust 'delete a comment' test, confirm replication

* Far more robust "Report a comment" test. Many comments about situation, this is currently failing because gamma does not get the report

* typo and actually have Gamma comment check use gamma, not alpha

* prepare-drone-federation-test.sh has some more echo output and note about the LEMMY_DATABASE_URL format (#3651)

* Add http cache for webfingers (#3317)

* Add http cache for webfingers

* Remove the outgoing cache middleware & adjust the cache headers directive

* Use 1h & 3day cache header

* Update routes and adjust the cache headers location

* revert apub caching

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: Felix Ableitner <me@nutomic.com>

* Rewrite activity lists to fix delete federation (fixes #3625)

* Revert "typo and actually have Gamma comment check use gamma, not alpha"

This reverts commit 7dfb6ee0f4.

* Revert "Far more robust "Report a comment" test. Many comments about situation, this is currently failing because gamma does not get the report"

This reverts commit 7bd3b20ae0.

* prettier TypeScript

* revised comments, as ResolveObject isn't using routine replication

* fmt

* fix api tests

* remove comment

---------

Co-authored-by: cetra3 <cetra3@hotmail.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: Felix Ableitner <me@nutomic.com>
2023-07-27 06:17:40 -04:00
Bao 2d7b416652
Omit local instance from federated instances list (#3712)
Co-authored-by: Nutomic <me@nutomic.com>
2023-07-27 12:12:18 +02:00
phiresky 9bfa86d162
add trigram index to search (#3719)
* add trigram index to search

* add community index
2023-07-27 12:11:00 +02:00
Nutomic 3471f3533c
Sanitize html (#3708)
* HTML sanitization in apub code

* Sanitize API inputs

* fmt

* Dont allow html a, img tags

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-07-26 14:01:15 -04:00
biosfood 2de994797e
Add moderator view parameter to list posts (#3176)
* add option to only show posts from moderated communities

* rename moderated_only to moderator_view and show blocked users in moderator view

* add test for moderator view

* bump lemmy-js-client version for moderation view tests

* fix yarn lockfile

* retry build

* Delete logfile

* retry checks

* remove unused select statement from list posts

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-07-26 13:51:11 -04:00