290acf6acc
Use compat mode when signing outgoing activities ( fixes #1984 ) ( #2473 )
2022-10-03 13:46:42 -04:00
Dessalines
3f8c28b26f
Check to make sure comment isnt deleted / removed for unread count. ( #2472 )
...
- Fixes #2471
2022-09-29 20:52:14 +00:00
Dessalines
ee41654394
Dont show deleted users or communities on profile page. ( #2450 )
...
* Dont show deleted users or communities on profile page.
- Fixes #2448
* Fix missing communities
* Add include_deleted to resolve_actor_identifier.
2022-09-28 20:54:32 +00:00
Dessalines
ae95f5928e
Adding email admins for new applications. Fixes #2271 ( #2390 )
...
* Adding email admins for new applications. Fixes #2271
* Fix error.
Co-authored-by: Nutomic <me@nutomic.com>
2022-09-27 12:48:44 -04:00
Dessalines
0aeb78b8f3
Showing # of unread comments for posts. Fixes #2134 ( #2393 )
...
* Showing # of unread comments for posts. Fixes #2134
* Fix lint.
* Forgot to remove comment list update.
* Fix clippy
2022-09-27 16:45:46 +00:00
f2537ba7db
Convert emails to lowercase ( fixes #2462 ) ( #2463 )
2022-09-27 12:02:04 -04:00
Dessalines
3c5368d8b1
Remove unnecessary show_deleted_and_removed comments for a profile. ( #2458 )
2022-09-26 20:02:06 +00:00
Dessalines
2dca80d678
Remove pointless language joins. ( #2451 )
...
* Remove pointless language joins.
* Fix test
2022-09-26 15:25:18 +00:00
Dessalines
3adb293541
Fix rate limit error messages. Fixes #2428 ( #2449 )
...
* Fix rate limit error messages. Fixes #2428
* Simplify
2022-09-26 10:40:42 -04:00
Dessalines
9ce15ed071
Fix missing local user from post queries. ( #2447 )
2022-09-26 10:39:22 -04:00
Dessalines
c9f1407429
Diesel 2.0.0 upgrade ( #2452 )
...
* Initial commit to bump diesel to 2.0.0-rc.0 and see what happens
* Add chrono feature from diesel
* db_schema crate is close to building?
* Upgrade diesel-derive-newtype
* Mostly modifying references to connections to be mutable ones; also used
new way to do migrations as suggested by the migration guide; a lot more
compiles now, though I can't figure out this tricky ToSql issue at the
moment
* Running clippy --fix
* Trying to fix drone clippy 1
* Fix clippy
* Upgrade clux-musl
* Trying to fix drone clippy 2
* Trying to fix drone clippy 3
* Trying to fix drone clippy 5
* Adding diesel table aliases, removing sql view hack. Fixes #2101
Co-authored-by: Steven Chu <stevenc1@gmail.com>
Co-authored-by: Nutomic <me@nutomic.com>
2022-09-26 14:09:32 +00:00
kartikynwa
4e6409f325
Allow filtering out of deleted and removed comments when getting person details ( #2446 )
...
undefined
2022-09-20 21:33:33 -04:00
004efd5d94
Implement reports for private messages ( #2433 )
...
* Implement reports for private messages
* finish private message report view + test
* implement api for pm reports
* merge list report api calls into one, move report count to site
* fix compile error
* Revert "merge list report api calls into one, move report count to site"
This reverts commit 3bf3b06a705c6bcf2bf20d07e2819b81298790f3.
* add websocket messages for pm report created/resolved
* remove private_message_report_view
* add joinable private_message_report -> person_alias_1
* Address review comments
2022-09-19 22:58:42 +00:00
Dessalines
09246a20fb
Check for slurs in account creation. ( #2443 )
2022-09-19 19:42:42 +00:00
71aed94a00
Merge branch 'main' of https://github.com/LemmyNet/lemmy
2022-09-14 11:30:44 -04:00
553654b8e8
Add 0.16.7 release notes.
2022-09-14 11:30:40 -04:00
Dessalines
a93095ed3f
The language id is crucial for front ends. ( #2437 )
2022-09-13 21:02:37 +00:00
Dessalines
2f0560ca3f
Update docker version to 0.16.6. Fixes #2435 ( #2438 )
2022-09-12 09:33:49 +00:00
Dessalines
eacd4e44cd
Adding job to drop phantom ccnew indexes. Fixes #2431 ( #2432 )
2022-09-07 12:12:51 +00:00
Dessalines
3f2a689edf
Don't search for community descriptions, search for user display_name. ( #2430 )
...
- https://github.com/LemmyNet/lemmy-ui/issues/756
2022-09-07 08:58:41 +00:00
Dessalines
265dc54627
Increase default search rate limit. ( #2424 )
2022-09-03 11:37:27 +02:00
0a14b17747
fix clippy
2022-09-02 10:49:54 -04:00
3295784ebb
dont set default user languages in api code (already done in db)
2022-09-02 10:49:54 -04:00
095591ef69
dont test with all features
2022-09-02 10:49:54 -04:00
5e8a37ac86
clippy fixes
2022-09-02 10:49:54 -04:00
d058e2217a
api changes for comment language tagging
2022-09-02 10:49:54 -04:00
bc7450ae3e
add test for comment view languages
2022-09-02 10:49:54 -04:00
f5b1ee6c34
fix tests
2022-09-02 10:49:54 -04:00
3d0d8796ad
Add language tags for comments
2022-09-02 10:49:54 -04:00
a6dc6804aa
Pass LocalUser to PostQuery etc, instead of separate params ( #2413 )
2022-08-19 10:27:39 -04:00
e4a49b6eab
Tag posts and comments with language ( fixes #440 ) ( #2269 )
...
* Tag posts and comments with language (fixes #440 )
* Untangle PostView tests
* Implement test for PostView language query
* Store languages directly in database
* finish moving languages into db, it compiles
* update post_view
* serde skip Language.id field
* add local_user_language table, other changes suggested in review
* add code for local_user_discussion_language_view
* Remove unnecessary clones in db view converteres
* Fixing up some table and join issues.
* Clearing the current languages.
* Fix formatting.
* update user languages in single transaction
* proper test for user language queries
* Some fixes for all / missing user languages. (#2404 )
* Some fixes for all / missing user languages.
* Adding back in transaction.
* fix test
Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2022-08-18 15:11:19 -04:00
c89006c94a
Rejected federated pm from blocked users ( fixes #2398 ) ( #2408 )
2022-08-17 16:53:19 -04:00
Dessalines
870abf8442
Adding distinguish comment. Fixes #2002 ( #2391 )
...
* Adding distinguish comment. Fixes #2002
* Adding lemmy:distinguished
2022-08-17 11:38:52 +00:00
583ceb2506
Fix pictrs routing ( #2407 )
...
* SUGGESTED FIX TO PICTRS ROUTING 404 ERROR #2359
Removed slashes at "/image" routes.
* cargo fmt
Co-authored-by: Majid ✨ <72635080+umamawme@users.noreply.github.com>
2022-08-16 11:20:41 -04:00
Dessalines
f878151648
Add postgres auto-explain for dev testing. ( #2399 )
...
* Add postgres auto-explain for dev testing.
* add newline
* fix indent
Co-authored-by: Nutomic <me@nutomic.com>
2022-08-16 12:22:29 +00:00
Anon
21455d6b73
Add Modlog Filters ( #2313 )
...
* Fix crash running locally on windows.
* Add support for filtering mod logs
* Refactor cleanup
* Clippy fix
* Condense match statements
* Clippy fix 2
2022-08-16 11:52:04 +00:00
vpzomtrrfrt
08a797c986
Accept Image objects in attachments ( #2394 )
2022-08-16 10:12:43 +00:00
Dessalines
2f9d8776ac
Tweaking postgres upgrade script ( #2389 )
...
* Tweaking postgres upgrade script
* Removing pointless comments.
2022-08-04 22:03:14 +02:00
8a4d9cc1ba
Use typed-builder crate for queries ( #2379 )
...
* Use typed-builder crate for PrivateMessageQuery
* derive builder for all queries
* remove unnecessary clones
* fix tests
2022-08-04 15:30:17 -04:00
7094a0c0a4
Use doku release version (ref #2343 ) ( #2386 )
2022-08-02 15:38:19 +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
becb8b4f66
Update apub examples to remove to
field (ref #2380 ) ( #2382 )
2022-07-29 13:30:38 -04:00
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
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
b78826c2c8
Dont allow login if account is banned or deleted ( fixes #2372 ) ( #2374 )
2022-07-28 23:14:07 +02:00
Dessalines
c62671116c
Send websocket message on accepted follow. Fixes #2369 ( #2375 )
2022-07-28 15:49:26 +00:00
b9f1fc0518
Fix panics in search_by_apub_id() ( fixes #2371 ) ( #2373 )
2022-07-27 17:03:44 -04:00
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