e421e31c79
Store Activitypub urls in database ( fixes #808 )
2021-02-03 19:29:19 +01:00
d5efebbf47
Split lemmy_db into lemmy_db_queries, lemmy_db_aggregates and lemmy_db_views
2020-12-21 17:39:11 +01:00
1a0d1f64f0
Merge remote-tracking branch 'origin/split-db-workspace' into move_views_to_diesel_split
2020-12-21 09:28:20 -05:00
5231666465
Move remaining structs from lemmy_db::source to lemmy_db_schema
2020-12-21 14:38:34 +01:00
a7e231b35b
Move community to lemmy_db_schema
2020-12-21 13:28:12 +01:00
d767dd998e
Merge branch 'drone-io-dess' into move_views_to_diesel_drone
2020-12-20 21:48:29 -05:00
a27b7f8d1f
Fix site aggs.
2020-12-20 00:09:20 -05:00
2d7d9cf7d8
Some API cleanup, adding site_id to site aggregates.
2020-12-19 20:10:47 -05:00
f842bbff8d
Move user to lemmy_db_schema, create traits for impls
2020-12-18 19:38:32 +01:00
114f3cbfb5
Move comment, post definitions into lemmy_db_schema
2020-12-18 18:27:25 +01:00
3f36730dba
Fixing unit tests.
2020-12-18 12:25:27 -05:00
089d812dc8
Split lemmy_db into separate workspaces
2020-12-18 17:17:44 +01:00
4f5e51beb5
Removing fast tables and old views.
2020-12-16 22:42:25 -05:00
05c3e471ae
Adding report views.
2020-12-16 22:03:03 -05:00
1cf520254d
Adding private message view.
2020-12-16 17:16:48 -05:00
313f0467c8
Adding moderator views.
2020-12-16 16:28:18 -05:00
bd6a4a54a9
Merge branch 'main' into move_views_to_diesel
2020-12-16 14:01:16 -05:00
57c2f2ef1c
Getting rid of terrible boxedjoin types.
2020-12-16 13:59:43 -05:00
711db4c790
Removing old user_mention_view.
2020-12-16 11:09:21 -05:00
eiknat
036161cb38
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
2020-12-16 09:42:57 -05:00
471abf7f29
Removing old comment_view.
2020-12-15 14:39:18 -05:00
e4714627a4
Beginning to add new comment_view.
2020-12-15 10:28:25 -05:00
f456f5da46
Re-organizing source tables into a different folder.
2020-12-13 12:04:42 -05:00
bdd264cd5e
Adding tests for post aggregates.
2020-12-11 13:07:27 -05:00
5ae3f59092
fix warning
2020-12-11 18:43:34 +01:00
35bf50ab15
Removing old postview.
2020-12-11 10:27:33 -05:00
a56db9a47c
cargo fmt
2020-12-11 15:45:29 +01:00
cbe5cf8ca0
try to run migrations on db connection in tests
2020-12-11 15:41:39 +01:00
8b0374cc4e
also check formatting, more extensive cargo check
2020-12-11 14:57:43 +01:00
08748bbede
try to init db from lemmy in tests
2020-12-11 14:49:10 +01:00
afc79ce0e3
Adding a viewtovec trait.
2020-12-10 20:39:42 -05:00
eef93440d0
Starting to add post_view.
2020-12-10 15:53:49 -05:00
4eced2518c
try caching
2020-12-10 13:33:24 +01:00
5b34d2be6c
fix test, run clippy
2020-12-10 00:55:14 +01:00
dabcfca67b
Adding tests for current aggregates.
2020-12-09 11:52:10 -05:00
46e38bf714
Merge branch 'main' into move_views_to_diesel
2020-12-08 13:17:55 -05:00
9cc1cfc973
Apub local object handling ( #1297 )
...
* Limit visibility of some traits and methods
* WIP: alternative way to handle non-local object parsing
* finish this
* cleanup
* Move check for locked post into Comment::from_apub()
* Mark user as updated after fetching
* Should set last_refreshed_at, not updated
* Add ApubObject trait in DB, with method read_from_apub_id()
* Create shared, generic implementation for `FromApub`, prefer local data
* Check for community ban when parsing post/comment (fixes #1287 )
* Fix tests (changes in get_object_from_apub() prevented `Update` from working)
* Support parsing `like.object` either as URL or object
* Send out like.object as URL, instead of full object (fixes #1283 )
* add todo
2020-12-08 12:38:48 -05:00
e371ec1dc4
Adding user aggregates tests.
2020-12-07 15:58:53 -05:00
9884927b8a
Adding site aggregates unit test.
2020-12-06 22:17:52 -05:00
f5bef3980a
Adding hot rank function, possibly fixing views.
2020-12-06 16:44:36 -05:00
36f7b20784
Removing old communityviews
2020-12-06 09:12:51 -05:00
5e510e7a67
Adding other community views.
2020-12-05 23:37:16 -05:00
caedb7fcc4
Community view halfway done.
2020-12-05 22:49:15 -05:00
028d1d0efc
Userview safe updated.
2020-12-04 23:18:30 -05:00
efdcbc44c4
Starting to work on community view, 2
2020-12-04 16:35:46 -05:00
88d7b0a83c
Starting to work on community view
2020-12-04 11:29:44 -05:00
2d4099577f
Removing old user_view.
2020-12-03 19:47:58 -05:00
6d8f93d8a1
More user aggregates.
2020-12-03 13:39:56 -05:00
d66f4e8ac0
Finishing up user aggregates.
2020-12-03 10:18:17 -05:00
5d44dedfda
Merge branch 'main' into move_views_to_diesel
2020-12-03 09:34:45 -05:00