]> Untitled Git - lemmy.git/commit
Add support for Featured Posts (#2585)
authorAnon <makotech222@users.noreply.github.com>
Mon, 12 Dec 2022 11:17:10 +0000 (05:17 -0600)
committerGitHub <noreply@github.com>
Mon, 12 Dec 2022 11:17:10 +0000 (11:17 +0000)
commit9dfd819691676994ac52b000fc4f93dfe72bc2b3
treea63d4ed63ffd679ad24477ea5acf0aee172d1071
parent0ecf256ce32392b53b96a24ddd8f2e4e513281da
Add support for Featured Posts (#2585)

* Add support for Featured Posts

* Fix rebase

* More fixes
30 files changed:
api_tests/package.json
api_tests/src/post.spec.ts
api_tests/src/shared.ts
api_tests/yarn.lock
crates/api/src/post/feature.rs [moved from crates/api/src/post/sticky.rs with 56% similarity]
crates/api/src/post/mod.rs
crates/api/src/site/mod_log.rs
crates/api_common/src/post.rs
crates/api_common/src/site.rs
crates/api_common/src/websocket/mod.rs
crates/apub/src/activities/create_or_update/post.rs
crates/apub/src/objects/post.rs
crates/apub/src/protocol/objects/page.rs
crates/db_schema/src/aggregates/structs.rs
crates/db_schema/src/impls/moderator.rs
crates/db_schema/src/impls/post.rs
crates/db_schema/src/lib.rs
crates/db_schema/src/schema.rs
crates/db_schema/src/source/moderator.rs
crates/db_schema/src/source/post.rs
crates/db_views/src/comment_view.rs
crates/db_views/src/post_report_view.rs
crates/db_views/src/post_view.rs
crates/db_views_moderator/src/lib.rs
crates/db_views_moderator/src/mod_feature_post_view.rs [moved from crates/db_views_moderator/src/mod_sticky_post_view.rs with 75% similarity]
crates/db_views_moderator/src/structs.rs
migrations/2022-11-20-032430_sticky_local/down.sql [new file with mode: 0644]
migrations/2022-11-20-032430_sticky_local/up.sql [new file with mode: 0644]
src/api_routes_http.rs
src/api_routes_websocket.rs