Dessalines
d784c17af5
Adding back in transaction.
2022-08-17 17:05:07 -04:00
Dessalines
763424d61e
Some fixes for all / missing user languages.
2022-08-15 12:51:25 -04:00
Felix Ableitner
b8ef402448
proper test for user language queries
2022-08-01 21:16:51 +02:00
Felix Ableitner
f713fcade0
Merge branch 'main' into language-tagging
2022-08-01 20:29:49 +02:00
Dessalines
9c3efe32e7
First pass at adding comment trees. ( #2362 )
...
* First pass at adding comment trees.
- Extracted comment replies into its own table.
- Added ltree column to comment
- Added parent_id param to GetComments to fetch a tree branch
- No paging / limiting yet
* Adding child_count to comment_aggregates.
* Adding parent comment update counts
* Fix unit tests.
* Comment tree paging mostly done.
* Fix clippy
* Fix drone tests wrong postgres version.
* Fix unit tests.
* Add back in delete in unit test.
* Add postgres upgrade script.
* Fixing some PR comments.
* Move update ltree into Comment::create
* Updating based on comments.
* Fix send soft fail.
2022-07-30 05:55:59 +02:00
Felix Ableitner
f10c575113
Merge branch 'main' into language-tagging
2022-07-29 22:19:36 +02:00
Nutomic
becb8b4f66
Update apub examples to remove to
field (ref #2380 ) ( #2382 )
2022-07-29 13:30:38 -04:00
Nutomic
a85334c675
Handle Like, Undo/Like activities from Mastodon, add tests ( fixes #2378 ) ( #2380 )
2022-07-29 15:32:12 +02:00
Dessalines
8bfeb4b627
Fix a few form options for diesel. Fixes #2287 ( #2376 )
...
* Fix a few form options for diesel. Fixes #2287
* Adding TODO comment.
2022-07-29 15:04:21 +02:00
Nutomic
42eac1560f
Remove docker/pleroma/ folder ( #2381 )
2022-07-29 08:37:23 -04:00
Dessalines
3b86e15399
Remove listing type community. Fixes #2361 ( #2377 )
...
* Remove listing type community. Fixes #2361
* Have ListingType::All be the default
2022-07-29 10:57:39 +00:00
Felix Ableitner
4546350dd2
Merge branch 'main' into language-tagging
2022-07-28 23:21:12 +02:00
Felix Ableitner
3d168e0c89
update user languages in single transaction
2022-07-28 23:14:29 +02:00
Nutomic
b78826c2c8
Dont allow login if account is banned or deleted ( fixes #2372 ) ( #2374 )
2022-07-28 23:14:07 +02:00
Nutomic
faea20c87b
Merge pull request #2367 from LemmyNet/language-tagging-dess
...
Fixing up some table and join issues.
2022-07-28 22:57:14 +02:00
Dessalines
c62671116c
Send websocket message on accepted follow. Fixes #2369 ( #2375 )
2022-07-28 15:49:26 +00:00
Dessalines
456e0d9063
Fix formatting.
2022-07-28 11:38:51 -04:00
Dessalines
d08604c5d7
Clearing the current languages.
2022-07-28 10:29:33 -04:00
Nutomic
b9f1fc0518
Fix panics in search_by_apub_id() ( fixes #2371 ) ( #2373 )
2022-07-27 17:03:44 -04:00
Nutomic
eee8f467b5
Fix follow being stuck as pending after accept ( #2366 )
...
* Fix follow being stuck as pending after accept
* fix api test
2022-07-20 14:10:29 +00:00
Dessalines
767f1aa0de
Adding 0.16.6 release
2022-07-19 15:01:15 -04:00
Dessalines
0e427e1b28
Fixing up some table and join issues.
2022-07-19 12:27:25 -04:00
Nutomic
16fe149a6d
Change config pictrs key name ( #2360 )
2022-07-14 14:25:10 -04:00
Felix Ableitner
d64c517841
Merge branch 'main' into language-tagging
2022-07-13 12:53:24 +02:00
Felix Ableitner
da3e29038f
Remove unnecessary clones in db view converteres
2022-07-13 12:42:35 +02:00
Felix Ableitner
624f4dfbab
add code for local_user_discussion_language_view
2022-07-13 12:38:19 +02:00
Nutomic
d0a3d99636
Config changes, remove unused image purge function ( #2343 )
...
* Throw error if old pictrs config item is used, make api key optional
* use doku url feature
* fix doku version
* fix clippy
* remove unused image purge function, remove config migration
2022-07-11 16:38:37 -04:00
Nutomic
63fff96275
Fix problem where actors can have empty public key ( fixes #2347 ) ( #2348 )
2022-07-11 18:25:33 +00:00
Luna
e33736ae47
remove parking_lot ( #2350 )
2022-07-11 17:12:12 +00:00
Felix Ableitner
87f77e7030
add local_user_language table, other changes suggested in review
2022-07-11 13:06:06 +02:00
Felix Ableitner
61347e7ba2
Merge branch 'main' into language-tagging
2022-07-08 13:13:29 +02:00
Dessalines
67a34adf4b
Revert "Use correct url for activitystreams protocol context ( #2326 )" ( #2351 )
...
This reverts commit dc35ab9c2b
.
2022-07-08 10:47:40 +00:00
Dessalines
ff026dc3ff
Adding check for requests with no id or name, adding max limit. ( #2265 )
...
* Adding check for requests with no id or name, adding max limit.
* Consolidating a few functions.
* Fix page min
* Adding more websocket rate limits.
* Add check to GetCommunity
* Use a default message rate limit check.
* Adding a page and limit checker
* Fix clippy
* Fix clippy again
* Adding check for requests with no id or name, adding max limit.
* Consolidating a few functions.
* Fix page min
* Adding more websocket rate limits.
* Add check to GetCommunity
* Use a default message rate limit check.
* Adding a page and limit checker
* Fix clippy
* Fix clippy again
* Fix limit request.
* Move checks to inside limit_and_offset
* Fixing API tests.
* Change NotFound diesel errors to QueryBuilderError
2022-07-08 10:21:33 +00:00
Nutomic
3ef812660c
Dont allow blocking admin ( #2340 )
2022-07-05 23:02:54 +00:00
Nutomic
ddc9763050
Fix wrong clippy warning in ci ( #2339 )
2022-07-05 17:41:22 -04:00
Nutomic
b7a2677b4d
Be more explicit about returning deleted actors or not ( #2335 )
...
* Be more explicit about returning deleted actors or not
* simplify db queries
2022-07-05 17:40:44 -04:00
Felix Ableitner
967657b11b
Merge branch 'main' into language-tagging
2022-06-29 11:37:11 +02:00
Nutomic
587a0de8f7
Specify minimum Rust version 1.57 ( fixes #2333 ) ( #2334 )
...
* Specify minimum Rust version 1.57 (fixes #2333 )
* use latest rust for clippy
* use rust 1.60 for clippy
* no add component
* use official rust docker
* comments
2022-06-28 17:44:55 -04:00
Dessalines
a745fa6f43
Remove update and read site config. Fixes #2306 ( #2329 )
...
* Remove update and read site config. Fixes #2306
* Removing lazy_static, removing Settings::get()
2022-06-22 20:24:54 +00:00
Dessalines
8af913f583
Don't create or initially follow a default community. Fixes #2317 ( #2328 )
...
* Don't create or initially follow a default community. Fixes #2317
* Fix unit tests.
2022-06-22 19:38:27 +00:00
Felix Ableitner
64ba6f3944
serde skip Language.id field
2022-06-22 21:37:36 +02:00
Felix Ableitner
34bca0309a
update post_view
2022-06-22 21:37:36 +02:00
Felix Ableitner
553a29ba9e
finish moving languages into db, it compiles
2022-06-22 21:37:36 +02:00
Felix Ableitner
9bf41100f8
Store languages directly in database
2022-06-22 21:37:36 +02:00
Felix Ableitner
ec1271c423
Implement test for PostView language query
2022-06-22 21:37:36 +02:00
Felix Ableitner
6d8494db36
Untangle PostView tests
2022-06-22 21:37:36 +02:00
Felix Ableitner
d3bf82ae23
Tag posts and comments with language ( fixes #440 )
2022-06-22 21:37:36 +02:00
Dessalines
40609549d8
Increase RSS fetch limit to 20. Fixes #2319 ( #2327 )
2022-06-22 12:30:09 +00:00
Dessalines
92d17639cd
Expose pending 2 ( #2282 )
...
* Exposing SubscribedType. Fixes #2281
* Fixing other subscribed fields.
* Fix federation tests
* Add comment about follower row.
2022-06-22 12:05:41 +00:00
Nutomic
dc35ab9c2b
Use correct url for activitystreams protocol context ( #2326 )
2022-06-21 15:27:10 -04:00