lemmy.git
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 agoUpdating deps.
Dessalines [Thu, 17 Dec 2020 14:13:12 +0000 (09:13 -0500)]
Updating deps.

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 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

3 years agosetup db
Felix Ableitner [Fri, 11 Dec 2020 17:09:47 +0000 (18:09 +0100)]
setup db

3 years agotry debug build again
Felix Ableitner [Fri, 11 Dec 2020 16:58:03 +0000 (17:58 +0100)]
try debug build again

3 years agosyntax
Felix Ableitner [Fri, 11 Dec 2020 16:48:57 +0000 (17:48 +0100)]
syntax

3 years agofix paths, try debug
Felix Ableitner [Fri, 11 Dec 2020 16:46:50 +0000 (17:46 +0100)]
fix paths, try debug

3 years agofix bin path
Felix Ableitner [Fri, 11 Dec 2020 16:33:55 +0000 (17:33 +0100)]
fix bin path

3 years agofind the binary
Felix Ableitner [Fri, 11 Dec 2020 16:27:18 +0000 (17:27 +0100)]
find the binary

3 years agofix release build?
Felix Ableitner [Fri, 11 Dec 2020 16:20:29 +0000 (17:20 +0100)]
fix release build?

3 years agosyntax
Felix Ableitner [Fri, 11 Dec 2020 16:02:24 +0000 (17:02 +0100)]
syntax

3 years agofaster release build
Felix Ableitner [Fri, 11 Dec 2020 16:01:05 +0000 (17:01 +0100)]
faster release build

3 years agoRemoving old postview.
Dessalines [Fri, 11 Dec 2020 15:27:33 +0000 (10:27 -0500)]
Removing old postview.

3 years agoneed to use release bin
Felix Ableitner [Fri, 11 Dec 2020 15:25:20 +0000 (16:25 +0100)]
need to use release bin

3 years agotry release build
Felix Ableitner [Fri, 11 Dec 2020 15:15:48 +0000 (16:15 +0100)]
try release build

3 years agouse apk add, remove diesel migrate from test.sh
Felix Ableitner [Fri, 11 Dec 2020 14:56:20 +0000 (15:56 +0100)]
use apk add, remove diesel migrate from test.sh

3 years agocargo fmt
Felix Ableitner [Fri, 11 Dec 2020 14:45:29 +0000 (15:45 +0100)]
cargo fmt

3 years agotry to run migrations on db connection in tests
Felix Ableitner [Fri, 11 Dec 2020 14:41:39 +0000 (15:41 +0100)]
try to run migrations on db connection in tests

3 years agotry again with full path
Felix Ableitner [Fri, 11 Dec 2020 14:31:19 +0000 (15:31 +0100)]
try again with full path

3 years agoneed to use rust image
Felix Ableitner [Fri, 11 Dec 2020 14:28:36 +0000 (15:28 +0100)]
need to use rust image

3 years agoset rustfmt path
Felix Ableitner [Fri, 11 Dec 2020 14:22:12 +0000 (15:22 +0100)]
set rustfmt path

3 years agoanother try
Felix Ableitner [Fri, 11 Dec 2020 14:20:15 +0000 (15:20 +0100)]
another try

3 years agoput full path
Felix Ableitner [Fri, 11 Dec 2020 14:15:36 +0000 (15:15 +0100)]
put full path

3 years agotry rustfmt
Felix Ableitner [Fri, 11 Dec 2020 14:14:17 +0000 (15:14 +0100)]
try rustfmt

3 years agouse nightly image for fmt
Felix Ableitner [Fri, 11 Dec 2020 14:05:46 +0000 (15:05 +0100)]
use nightly image for fmt

3 years agoneed nightly for fmt
Felix Ableitner [Fri, 11 Dec 2020 14:02:50 +0000 (15:02 +0100)]
need nightly for fmt

3 years agoalso check formatting, more extensive cargo check
Felix Ableitner [Fri, 11 Dec 2020 13:57:43 +0000 (14:57 +0100)]
also check formatting, more extensive cargo check

3 years agotry to init db from lemmy in tests
Felix Ableitner [Fri, 11 Dec 2020 13:49:10 +0000 (14:49 +0100)]
try to init db from lemmy in tests

3 years agobuild diesel cli in same step
Felix Ableitner [Fri, 11 Dec 2020 13:28:14 +0000 (14:28 +0100)]
build diesel cli in same step

3 years agotry tests without diesel migration run
Felix Ableitner [Fri, 11 Dec 2020 13:16:14 +0000 (14:16 +0100)]
try tests without diesel migration run

3 years agotry running federation tests in same alpine version
Felix Ableitner [Fri, 11 Dec 2020 13:13:30 +0000 (14:13 +0100)]
try running federation tests in same alpine version

3 years agoAdding a viewtovec trait.
Dessalines [Fri, 11 Dec 2020 01:39:42 +0000 (20:39 -0500)]
Adding a viewtovec trait.

3 years agoStarting to add post_view.
Dessalines [Thu, 10 Dec 2020 20:53:49 +0000 (15:53 -0500)]
Starting to add post_view.

3 years agofix script location
Felix Ableitner [Thu, 10 Dec 2020 20:36:50 +0000 (21:36 +0100)]
fix script location

3 years agotry to fix federation test
Felix Ableitner [Thu, 10 Dec 2020 20:14:05 +0000 (21:14 +0100)]
try to fix federation test

3 years agoadd sudo
Felix Ableitner [Thu, 10 Dec 2020 20:03:32 +0000 (21:03 +0100)]
add sudo

3 years agobuild diesel as root
Felix Ableitner [Thu, 10 Dec 2020 19:57:28 +0000 (20:57 +0100)]
build diesel as root

3 years agocompile diesel_cli as root (fails for some reason)
Felix Ableitner [Thu, 10 Dec 2020 19:51:51 +0000 (20:51 +0100)]
compile diesel_cli as root (fails for some reason)

3 years agotry with chown
Felix Ableitner [Thu, 10 Dec 2020 19:45:14 +0000 (20:45 +0100)]
try with chown