lemmy.git
3 years agoRestoring docker-compose and nginx in federation folder.
Dessalines [Wed, 13 Jan 2021 19:18:26 +0000 (14:18 -0500)]
Restoring docker-compose and nginx in federation folder.

3 years agoMerge branch 'move_views_to_diesel' into remove_travis_and_federation_docker
Dessalines [Tue, 12 Jan 2021 16:56:24 +0000 (11:56 -0500)]
Merge branch 'move_views_to_diesel' into remove_travis_and_federation_docker

3 years agoMerge remote-tracking branch 'yerba/move_views_to_diesel' into move_views_to_diesel
Dessalines [Tue, 12 Jan 2021 16:12:54 +0000 (11:12 -0500)]
Merge remote-tracking branch 'yerba/move_views_to_diesel' into move_views_to_diesel

3 years agoDeletion on fetch (#1345)
Dessalines [Tue, 12 Jan 2021 16:12:41 +0000 (11:12 -0500)]
Deletion on fetch (#1345)

* Delete local object on fetch when receiving HTTP 410, split fetcher (fixes #1256)

* Removing submodules

* Trying to re-init submodule

* Trying to re-init submodule 2

* Trying to re-init submodule 3

* Logging line.

* Removing submodules

* Adding again.

* Adding again 2.

* Adding again 3.

* Adding again 4.

* Adding again 5.

* Adding again 6.

* Adding again 7.

* Adding again 8.

* Adding again 9.

* Add more clippy lints, remove dbg!() statement

* Adding again 10.

* Adding again 11.

* Adding again 12.

Co-authored-by: Felix Ableitner <me@nutomic.com>
3 years agoMerge pull request 'Include fix for mdbook xss vulnerability' (#155) from mdbook...
dessalines [Tue, 12 Jan 2021 15:57:27 +0000 (15:57 +0000)]
Merge pull request 'Include fix for mdbook xss vulnerability' (#155) from mdbook-xss into move_views_to_diesel

Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/155

3 years agoAdding back start-local-instances.
Dessalines [Tue, 12 Jan 2021 15:42:34 +0000 (10:42 -0500)]
Adding back start-local-instances.

3 years agoRevert "Revert "Removing docker/federation and docker/travis folders.""
Dessalines [Tue, 12 Jan 2021 15:40:38 +0000 (10:40 -0500)]
Revert "Revert "Removing docker/federation and docker/travis folders.""

This reverts commit e483b6b51fdbe70f77c28cf3ef4efe9c7cb6237a.

3 years agoRevert "Removing docker/federation and docker/travis folders."
Dessalines [Tue, 12 Jan 2021 15:39:15 +0000 (10:39 -0500)]
Revert "Removing docker/federation and docker/travis folders."

This reverts commit 689f5c13064f8000e387fafc6d1b1dab3e7b8873.

3 years agoRemoving docker/federation and docker/travis folders.
Dessalines [Tue, 12 Jan 2021 01:41:10 +0000 (20:41 -0500)]
Removing docker/federation and docker/travis folders.

3 years agoInclude fix for mdbook xss vulnerability
Felix Ableitner [Sat, 9 Jan 2021 16:54:31 +0000 (17:54 +0100)]
Include fix for mdbook xss vulnerability

3 years agoAdding stickied to post_aggregates.
Dessalines [Thu, 7 Jan 2021 21:22:17 +0000 (16:22 -0500)]
Adding stickied to post_aggregates.

- Added more indexes to account for sorting by stickied first.
- Changed all order bys in the diesel views to use post_aggregates.

3 years agoFixing some minor websocket things.
Dessalines [Thu, 7 Jan 2021 06:17:42 +0000 (01:17 -0500)]
Fixing some minor websocket things.

3 years agoPrivate message query debugging.
Dessalines [Wed, 6 Jan 2021 21:02:08 +0000 (16:02 -0500)]
Private message query debugging.

3 years agoLogging post query.
Dessalines [Wed, 6 Jan 2021 18:23:05 +0000 (13:23 -0500)]
Logging post query.

3 years agoAdding docs commit.
Dessalines [Wed, 6 Jan 2021 05:49:24 +0000 (00:49 -0500)]
Adding docs commit.

3 years agoTrying to get mdbooks to build.
Dessalines [Wed, 6 Jan 2021 05:34:26 +0000 (00:34 -0500)]
Trying to get mdbooks to build.

3 years agoMerge branch 'main' into move_views_to_diesel
Dessalines [Wed, 6 Jan 2021 05:30:29 +0000 (00:30 -0500)]
Merge branch 'main' into move_views_to_diesel

3 years agoMove docs into submodule (fixes #1342) (#1343)
Nutomic [Wed, 6 Jan 2021 05:27:58 +0000 (05:27 +0000)]
Move docs into submodule (fixes #1342) (#1343)

3 years agoMerge branch 'main' into move_views_to_diesel
Dessalines [Wed, 6 Jan 2021 04:55:02 +0000 (23:55 -0500)]
Merge branch 'main' into move_views_to_diesel

3 years agoHalfway done with hot rank indexes.
Dessalines [Wed, 6 Jan 2021 04:42:48 +0000 (23:42 -0500)]
Halfway done with hot rank indexes.

3 years agoTrying to fix save user settings.
Dessalines [Mon, 4 Jan 2021 19:09:53 +0000 (14:09 -0500)]
Trying to fix save user settings.

3 years agoReturn http status code 410 with apub tombstone (ref #1256)
Felix Ableitner [Mon, 4 Jan 2021 18:53:15 +0000 (19:53 +0100)]
Return http status code 410 with apub tombstone (ref #1256)

3 years agoFix integration tests (except one)
Felix Ableitner [Mon, 4 Jan 2021 17:12:37 +0000 (18:12 +0100)]
Fix integration tests (except one)

3 years agoBump node-notifier from 8.0.0 to 8.0.1 in /api_tests (#1332)
dependabot[bot] [Mon, 4 Jan 2021 16:29:04 +0000 (11:29 -0500)]
Bump node-notifier from 8.0.0 to 8.0.1 in /api_tests (#1332)

Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases)
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md)
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years agoMerge remote-tracking branch 'github/main' into main
Felix Ableitner [Mon, 4 Jan 2021 16:23:06 +0000 (17:23 +0100)]
Merge remote-tracking branch 'github/main' into main

3 years agoadd User_ missing field 'deleted' in tests (#1338)
D.Loh [Mon, 4 Jan 2021 15:26:43 +0000 (07:26 -0800)]
add User_ missing field 'deleted' in tests (#1338)

per rust-analyzer tips

3 years agoChanging default_sort and listing back to numbers.
Dessalines [Sat, 26 Dec 2020 03:22:25 +0000 (22:22 -0500)]
Changing default_sort and listing back to numbers.

3 years agoAdd clippy check tests to drone.
Dessalines [Thu, 24 Dec 2020 00:42:42 +0000 (19:42 -0500)]
Add clippy check tests to drone.

3 years agoMerge remote-tracking branch 'origin/split-db-workspace2' into move_views_to_diesel_s...
Dessalines [Thu, 24 Dec 2020 00:09:41 +0000 (19:09 -0500)]
Merge remote-tracking branch 'origin/split-db-workspace2' into move_views_to_diesel_split_2

3 years agoAdding community_view to PostResponse.
Dessalines [Wed, 23 Dec 2020 21:56:20 +0000 (16:56 -0500)]
Adding community_view to PostResponse.

- Changing to_vec function name.

3 years agoRun cargo clippy in CI on whole workspace
Felix Ableitner [Tue, 22 Dec 2020 12:03:50 +0000 (13:03 +0100)]
Run cargo clippy in CI on whole workspace

3 years agoSplit up lemmy_db_views, put lemmy_rate_limit into lemmy_utils
Felix Ableitner [Mon, 21 Dec 2020 23:27:42 +0000 (00:27 +0100)]
Split up lemmy_db_views, put lemmy_rate_limit into lemmy_utils

3 years agoSplit lemmy_db into lemmy_db_queries, lemmy_db_aggregates and lemmy_db_views
Felix Ableitner [Mon, 21 Dec 2020 16:30:34 +0000 (17:30 +0100)]
Split lemmy_db into lemmy_db_queries, lemmy_db_aggregates and lemmy_db_views

3 years agoUpgrading deps.
Dessalines [Mon, 21 Dec 2020 14:34:59 +0000 (09:34 -0500)]
Upgrading deps.

3 years agoMerge remote-tracking branch 'origin/split-db-workspace' into move_views_to_diesel_split
Dessalines [Mon, 21 Dec 2020 14:28:20 +0000 (09:28 -0500)]
Merge remote-tracking branch 'origin/split-db-workspace' into move_views_to_diesel_split

3 years agoremove timing files added by accident
Felix Ableitner [Mon, 21 Dec 2020 13:53:27 +0000 (14:53 +0100)]
remove timing files added by accident

3 years agoMove remaining structs from lemmy_db::source to lemmy_db_schema
Felix Ableitner [Mon, 21 Dec 2020 13:38:34 +0000 (14:38 +0100)]
Move remaining structs from lemmy_db::source to lemmy_db_schema

3 years agoMove community to lemmy_db_schema
Felix Ableitner [Mon, 21 Dec 2020 12:28:12 +0000 (13:28 +0100)]
Move community to lemmy_db_schema

3 years agoFixing some clippy warnings.
Dessalines [Mon, 21 Dec 2020 04:00:33 +0000 (23:00 -0500)]
Fixing some clippy warnings.

3 years agoRemoving cargo check from drone, clippy already runs check.
Dessalines [Mon, 21 Dec 2020 03:50:43 +0000 (22:50 -0500)]
Removing cargo check from drone, clippy already runs check.

3 years agoAdding to clippy
Dessalines [Mon, 21 Dec 2020 03:42:29 +0000 (22:42 -0500)]
Adding to clippy

3 years agoTrying other drone checks.
Dessalines [Mon, 21 Dec 2020 03:37:01 +0000 (22:37 -0500)]
Trying other drone checks.

3 years agoFixing integration tests.
Dessalines [Mon, 21 Dec 2020 03:27:27 +0000 (22:27 -0500)]
Fixing integration tests.

3 years agoMerge branch 'drone-io-dess' into move_views_to_diesel_drone
Dessalines [Mon, 21 Dec 2020 02:48:29 +0000 (21:48 -0500)]
Merge branch 'drone-io-dess' into move_views_to_diesel_drone

3 years agoChanging unit tests to api v2.
Dessalines [Sun, 20 Dec 2020 21:16:57 +0000 (16:16 -0500)]
Changing unit tests to api v2.

3 years agoFix site aggs.
Dessalines [Sun, 20 Dec 2020 05:09:20 +0000 (00:09 -0500)]
Fix site aggs.

3 years agoSome API cleanup, adding site_id to site aggregates.
Dessalines [Sun, 20 Dec 2020 01:10:47 +0000 (20:10 -0500)]
Some API cleanup, adding site_id to site aggregates.

3 years agoMove user to lemmy_db_schema, create traits for impls
Felix Ableitner [Fri, 18 Dec 2020 18:38:32 +0000 (19:38 +0100)]
Move user to lemmy_db_schema, create traits for impls

3 years agoMove comment, post definitions into lemmy_db_schema
Felix Ableitner [Fri, 18 Dec 2020 17:27:25 +0000 (18:27 +0100)]
Move comment, post definitions into lemmy_db_schema

3 years agoFixing unit tests.
Dessalines [Fri, 18 Dec 2020 17:25:27 +0000 (12:25 -0500)]
Fixing unit tests.

3 years agoSplit lemmy_db into separate workspaces
Felix Ableitner [Fri, 18 Dec 2020 16:17:21 +0000 (17:17 +0100)]
Split lemmy_db into separate workspaces

3 years agoTrying again.
Dessalines [Fri, 18 Dec 2020 02:55:15 +0000 (21:55 -0500)]
Trying again.

3 years agoTrying again.
Dessalines [Fri, 18 Dec 2020 02:36:59 +0000 (21:36 -0500)]
Trying again.

3 years agoAdding unfollows.
Dessalines [Fri, 18 Dec 2020 02:10:20 +0000 (21:10 -0500)]
Adding unfollows.

3 years agoTrying again.
Dessalines [Thu, 17 Dec 2020 21:02:35 +0000 (16:02 -0500)]
Trying again.

3 years agoTrying again.
Dessalines [Thu, 17 Dec 2020 21:00:51 +0000 (16:00 -0500)]
Trying again.

3 years agoTrying again.
Dessalines [Thu, 17 Dec 2020 20:59:25 +0000 (15:59 -0500)]
Trying again.

3 years agoTrying again.
Dessalines [Thu, 17 Dec 2020 20:35:28 +0000 (15:35 -0500)]
Trying again.

3 years agoDropping the unecessary views and table triggers.
Dessalines [Thu, 17 Dec 2020 20:29:10 +0000 (15:29 -0500)]
Dropping the unecessary views and table triggers.

3 years agoTrying again.
Dessalines [Thu, 17 Dec 2020 19:59:53 +0000 (14:59 -0500)]
Trying again.

3 years agoTrying again.
Dessalines [Thu, 17 Dec 2020 19:36:22 +0000 (14:36 -0500)]
Trying again.

3 years agoTrying again.
Dessalines [Thu, 17 Dec 2020 19:23:15 +0000 (14:23 -0500)]
Trying again.

3 years agoFixing drone tests.
Dessalines [Thu, 17 Dec 2020 19:01:33 +0000 (14:01 -0500)]
Fixing drone tests.

3 years agoMerge pull request 'Create empty inbox collections for actors (ref #1322)' (#151...
dessalines [Thu, 17 Dec 2020 14:51:23 +0000 (14:51 +0000)]
Merge pull request 'Create empty inbox collections for actors (ref #1322)' (#151) from actor-inbox into main

Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/151

3 years agoMerge pull request 'Use correct content-type headers for apub inbox (ref #1220)'...
dessalines [Thu, 17 Dec 2020 14:44:08 +0000 (14:44 +0000)]
Merge pull request 'Use correct content-type headers for apub inbox (ref #1220)' (#150) from inbox-headers into main

Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/150

3 years agoUpdating deps.
Dessalines [Thu, 17 Dec 2020 14:13:12 +0000 (09:13 -0500)]
Updating deps.

3 years agoCreate empty inbox collections for actors (ref #1322)
Felix Ableitner [Wed, 16 Dec 2020 20:07:48 +0000 (21:07 +0100)]
Create empty inbox collections for actors (ref #1322)

3 years agoRemoving fast tables and old views.
Dessalines [Thu, 17 Dec 2020 03:42:25 +0000 (22:42 -0500)]
Removing fast tables and old views.

3 years agoAdding report views.
Dessalines [Thu, 17 Dec 2020 03:03:03 +0000 (22:03 -0500)]
Adding report views.

3 years agoAdding private message view.
Dessalines [Wed, 16 Dec 2020 22:16:48 +0000 (17:16 -0500)]
Adding private message view.

3 years agoAdding moderator views.
Dessalines [Wed, 16 Dec 2020 21:28:18 +0000 (16:28 -0500)]
Adding moderator views.

3 years agoMerge branch 'main' into move_views_to_diesel
Dessalines [Wed, 16 Dec 2020 19:01:16 +0000 (14:01 -0500)]
Merge branch 'main' into move_views_to_diesel

3 years agoGetting rid of terrible boxedjoin types.
Dessalines [Wed, 16 Dec 2020 18:59:43 +0000 (13:59 -0500)]
Getting rid of terrible boxedjoin types.

3 years agoHandle long activitystreams header in nginx config (ref #1322)
Felix Ableitner [Wed, 16 Dec 2020 17:24:14 +0000 (18:24 +0100)]
Handle long activitystreams header in nginx config (ref #1322)

3 years agoRemoving old user_mention_view.
Dessalines [Wed, 16 Dec 2020 16:09:21 +0000 (11:09 -0500)]
Removing old user_mention_view.

3 years agoUse correct content-type headers for apub inbox (ref #1220)
Felix Ableitner [Wed, 16 Dec 2020 15:30:44 +0000 (16:30 +0100)]
Use correct content-type headers for apub inbox (ref #1220)

3 years agoadd on_conflict clauses to common unique constraint failures (#1264)
eiknat [Wed, 16 Dec 2020 14:42:57 +0000 (09:42 -0500)]
add on_conflict clauses to common unique constraint failures (#1264)

* add on_conflict clauses to common unique constraint failures

* user mention: change create conflict to do_update

3 years agoAdd docs for creating custom lemmy frontend (#1319)
Nutomic [Wed, 16 Dec 2020 14:03:21 +0000 (14:03 +0000)]
Add docs for creating custom lemmy frontend (#1319)

3 years agoRemoving old comment_view.
Dessalines [Tue, 15 Dec 2020 19:39:18 +0000 (14:39 -0500)]
Removing old comment_view.

3 years agoBeginning to add new comment_view.
Dessalines [Tue, 15 Dec 2020 15:28:25 +0000 (10:28 -0500)]
Beginning to add new comment_view.

3 years agoAdd IP forwarding headers to nginx config (fixes #1318)
Felix Ableitner [Tue, 15 Dec 2020 14:01:37 +0000 (15:01 +0100)]
Add IP forwarding headers to nginx config (fixes #1318)

3 years agoAllow running docker-less federation tests locally
Felix Ableitner [Tue, 15 Dec 2020 13:58:11 +0000 (14:58 +0100)]
Allow running docker-less federation tests locally

3 years agosilence lemmy output in federation logs
Felix Ableitner [Mon, 14 Dec 2020 17:01:12 +0000 (18:01 +0100)]
silence lemmy output in federation logs

3 years agosend activities sync for tests
Felix Ableitner [Mon, 14 Dec 2020 16:44:27 +0000 (17:44 +0100)]
send activities sync for tests

3 years agoadd pictrs and iframely, read docker hub login from secrets
Felix Ableitner [Mon, 14 Dec 2020 16:01:40 +0000 (17:01 +0100)]
add pictrs and iframely, read docker hub login from secrets

3 years agoMerge branch 'main' into move_views_to_diesel
Dessalines [Sun, 13 Dec 2020 17:07:11 +0000 (12:07 -0500)]
Merge branch 'main' into move_views_to_diesel

3 years agoRe-organizing source tables into a different folder.
Dessalines [Sun, 13 Dec 2020 17:04:42 +0000 (12:04 -0500)]
Re-organizing source tables into a different folder.

3 years agoTrying to fix post test again.
Dessalines [Sat, 12 Dec 2020 15:45:14 +0000 (10:45 -0500)]
Trying to fix post test again.

3 years agoTrying to fix post test again.
Dessalines [Sat, 12 Dec 2020 15:28:28 +0000 (10:28 -0500)]
Trying to fix post test again.

3 years agoTrying to fix post test again.
Dessalines [Sat, 12 Dec 2020 14:39:41 +0000 (09:39 -0500)]
Trying to fix post test again.

3 years agoTrying to fix post test again.
Dessalines [Sat, 12 Dec 2020 04:20:18 +0000 (23:20 -0500)]
Trying to fix post test again.

3 years agoTrying to fix post test again.
Dessalines [Sat, 12 Dec 2020 01:20:14 +0000 (20:20 -0500)]
Trying to fix post test again.

3 years agoTrying to fix post test again.
Dessalines [Sat, 12 Dec 2020 00:59:45 +0000 (19:59 -0500)]
Trying to fix post test again.

3 years agoTrying to fix post test again.
Dessalines [Fri, 11 Dec 2020 21:26:44 +0000 (16:26 -0500)]
Trying to fix post test again.

3 years agoTrying to fix post test.
Dessalines [Fri, 11 Dec 2020 20:24:28 +0000 (15:24 -0500)]
Trying to fix post test.

3 years agodisable debug log
Felix Ableitner [Fri, 11 Dec 2020 19:56:14 +0000 (20:56 +0100)]
disable debug log

3 years agouse dash
Felix Ableitner [Fri, 11 Dec 2020 19:39:54 +0000 (20:39 +0100)]
use dash

3 years agoAdding tests for post aggregates.
Dessalines [Fri, 11 Dec 2020 18:07:27 +0000 (13:07 -0500)]
Adding tests for post aggregates.

3 years agofix warning
Felix Ableitner [Fri, 11 Dec 2020 17:43:34 +0000 (18:43 +0100)]
fix warning

3 years agouse hosts file
Felix Ableitner [Fri, 11 Dec 2020 17:22:16 +0000 (18:22 +0100)]
use hosts file