dullbananas
6497ec519e
Refactor LocalUser settings conditions in database views ( #4746 )
...
* Create viewer.rs
* Rename viewer.rs to viewer.rs
* Update viewer.rs
* Update post_view.rs
* Update distinguish.rs
* Update like.rs
* Update viewer.rs
* Update list_comment_likes.rs
* Update like.rs
* Update save.rs
* Update like.rs
* revert changes in api crate
* Update post_view.rs
* Update post_view.rs
* Update comment_view.rs
* Update post_view.rs
* Update community_view.rs
* Update comment_view.rs
* Update post_view.rs
* Update viewer.rs
* Update post_view.rs
* Update community_view.rs
* Update local_user_view.rs
* Update viewer.rs
* Update community_view.rs
* Update viewer.rs
* Update lib.rs
* Update comment_view.rs
* Update post_view.rs
* Update viewer.rs
* Update viewer.rs
* Update viewer.rs
* Update viewer.rs
* Update local_user_view.rs
* Update viewer.rs
* Update viewer.rs
* Update local_user_view.rs
* Update community_view.rs
* Update viewer.rs
* Update crates/db_schema/src/viewer.rs
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
* Update viewer.rs
* Update viewer.rs
* Update viewer.rs
* Update viewer.rs
* Update post_view.rs
* Update community_view.rs
* Update comment_view.rs
* Update viewer.rs
* Update post_view.rs
* Update save.rs
* Update resolve_object.rs
* Update viewer.rs
* Update save.rs
* Update resolve_object.rs
* Update comment_view.rs
* Update post_view.rs
* Update community_view.rs
* Update local_user_view.rs
* Update post_view.rs
* Update viewer.rs
* Update comment_view.rs
* Update post_view.rs
* Update community_view.rs
* Update viewer.rs
* Update viewer.rs
* Update viewer.rs
* Update viewer.rs
* Update viewer.rs
* Some additions to localuser DB view helpers. (#39 )
* Some additions to localuser DB view helpers.
- Getting rid of generics.
- Passing in only LocalUser to views.
* Formatting fixes.
* Getting rid of unecessary as_refs
* Fixing clippy.
---------
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: Dessalines <tyhou13@gmx.com>
2024-06-14 21:51:24 -04:00
Dessalines
65620913fc
Removing renovate schedule. ( #4808 )
2024-06-14 21:51:10 -04:00
a3c8761bed
Revert "Remove unneeded error "last successful id is higher than latest id" ( fixes #4363 ) ( #4486 )" ( #4806 )
...
This reverts commit c895e57086
.
2024-06-14 08:15:12 -04:00
dullbananas
99160228ae
Remove unimplemented
in <Comment as Crud>::create
( #4796 )
...
* Remove `unimplemented` in `<Comment as Crud>::create`
* Update comment.rs
2024-06-14 10:40:57 +02:00
Dessalines
fc6f46c1ac
Fix issue with GetPost not returning bot cross_posts. ( #4804 )
...
- Fixes #4803
2024-06-13 14:32:03 -04:00
dullbananas
046375171e
Don't change encoding style in clean_url_params
( #4802 )
...
* Don't change encoding style in `clean_url_params`
Fixes #4801
* fmt
* fix
2024-06-12 20:35:27 -04:00
Dessalines
b2a480f55c
Fixing sed command for postgres upgrade. ( #4791 )
...
- Context: https://github.com/LemmyNet/lemmy-ansible/issues/245
2024-06-07 12:39:23 -04:00
Dessalines
9236cf7d21
Remove ansible tagging lines. ( #4790 )
2024-06-07 11:26:43 -04:00
dullbananas
b559e0206b
Replace wav with hound ( #4788 )
...
* Update lib.rs
* Update Cargo.toml
* Update lib.rs
* cargo.lock
* fix simultaneous mutable references
2024-06-07 10:27:49 -04:00
f5f2b5ffc6
Version 0.19.4
2024-06-07 07:51:56 -04:00
dullbananas
1e11faf741
Improve comment in triggers.sql ( #4789 )
...
* Clarified existing info
* Added prohibition of inconsistent update order
2024-06-07 07:42:34 -04:00
5d31f0d516
Version 0.19.4-rc.11
2024-06-06 23:02:38 -04:00
844b84a01a
Version 0.19.4-rc.10
2024-06-06 20:46:03 -04:00
Dessalines
b0447ad94d
Upgrading lemmy-js-client version to 0.19.4 ( #4787 )
...
* Upgrading lemmy-js-client version to 0.19.4
* Upgrading deps before renovate.
2024-06-06 20:44:36 -04:00
3d25322089
Version 0.19.4-rc.9
2024-06-06 10:43:40 -04:00
Dessalines
16a82862b8
Allow empty string to clear URL-type DB fields. ( #4780 )
...
* Allow empty string to clear URL-type DB fields.
- To address difficulties with clearing URL-type fields like
avatars, banners, site icons, this PR turns the URL type form
fields into strings.
- This allows an empty string to be used as a "clear data", as
in the case with the regular text form fields.
- Also includes various cleanups.
- Fixes #4777
- Context: #2287
* Fixing comment.
* Use Option<&str> and deref.
---------
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
2024-06-06 09:55:08 -04:00
dullbananas
79e6dbf0de
Remove PersonInsertForm builder ( #4779 )
...
* Update session_middleware.rs
* Update private_message_report_view.rs
* Update session_middleware.rs
* Update private_message_view.rs
* Update private_message.rs
* Update registration_application_view.rs
* Update actor_language.rs
* Update vote_view.rs
* Update code_migrations.rs
* Update comment_aggregates.rs
* Update person_view.rs
* Update user_settings_backup.rs
* Update person.rs
* Update create.rs
* Update comment_view.rs
* Update moderator.rs
* Update site_aggregates.rs
* Update claims.rs
* Update community_aggregates.rs
* Update post_report.rs
* Update person_mention_view.rs
* Update community_view.rs
* Update comment_report_view.rs
* Update post_report_view.rs
* Update community_moderators.rs
* Update comment.rs
* Update person_aggregates.rs
* Update comment_reply_view.rs
* Update password_reset_request.rs
* Update post_aggregates.rs
* Update community.rs
* Update main.rs
* Update post.rs
* Update person.rs
* Update person.rs
* Update claims.rs
* Update person.rs
* Update create.rs
* Update user_settings_backup.rs
* Update community_moderators.rs
* Update main.rs
* Update comment_aggregates.rs
* Update community_aggregates.rs
* Update person.rs
* Update Cargo.toml
* Update Cargo.toml
* Update person.rs
* fix
* Update code_migrations.rs
* fix submodule
* Update person.rs
2024-06-06 08:29:18 -04:00
fda5ce4482
Version 0.19.4-rc.8
2024-06-05 19:01:37 -04:00
Dessalines
e8cfb5665f
When banning from local communities, make sure they aren't deleted or removed. ( #4784 )
...
- This is causing some federation issues.
- Context: #4782
2024-06-05 18:59:46 -04:00
bb94fb1c79
Revert apub library 0.5.7 ( #4783 )
...
Wasnt necessary after all
2024-06-05 18:04:02 -04:00
92214a9364
Version 0.19.4-rc.7
2024-06-05 17:30:43 -04:00
78ae874b89
Apub library 0.5.7 ( #4781 )
2024-06-05 17:28:33 -04:00
a947474c64
Version 0.19.4-rc.6
2024-06-04 08:32:08 -04:00
Dessalines
8bf17946bd
Fix issue with avatar / icon deletion when saving settings. ( #4774 )
...
* Fix issue with avatar / icon deletion when saving settings.
- Fixes #4763
* Update crates/api_common/src/request.rs
Co-authored-by: dullbananas <dull.bananas0@gmail.com>
* Fixing an existing test, and adding another for replace images.
---------
Co-authored-by: dullbananas <dull.bananas0@gmail.com>
2024-06-04 08:28:22 -04:00
dullbananas
9ceb5b6386
Clean up build_update_instance_form in scheduled_tasks.rs ( #4775 )
...
* Clean up build_update_instance_form in scheduled_tasks.rs
* remove unused import
2024-06-04 08:04:16 -04:00
phiresky
2dd7b71590
Merge branch 'main' into federation-send-parallel
2024-06-04 02:07:22 +02:00
phiresky
dfccf3efa5
delay
2024-06-03 23:41:38 +02:00
Dessalines
aefb41b551
Remove .json from nodeinfo urls, according to spec. ( #4773 )
2024-06-03 17:30:16 -04:00
Dessalines
4195a9b5a1
Fetch nodeinfo href from .well-known/nodeinfo . Fixes #4757 ( #4765 )
...
* Fetch nodeinfo href from .well-known/nodeinfo . Fixes #4757
* Addressing PR comments.
* Fixing clippy.
* Adding tests.
2024-06-03 17:30:00 -04:00
69b4c6647b
Version 0.19.4-rc.5
2024-06-01 13:30:00 -04:00
renovate[bot]
f7fe0d46fc
Update Rust crate console-subscriber to 0.2.0 ( #4771 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-31 22:35:34 -04:00
renovate[bot]
609a6411a7
Update pnpm to v9.1.4 ( #4770 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-31 22:24:17 -04:00
renovate[bot]
44666a34a2
Update dependency ts-jest to v29.1.4 ( #4768 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-31 22:04:44 -04:00
renovate[bot]
6db878f761
Update dependency typescript to v5.4.5 ( #4769 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-31 21:34:29 -04:00
renovate[bot]
6031709fcf
Update Rust crate serde to v1.0.203 ( #4766 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-31 21:14:05 -04:00
renovate[bot]
4d9e38d875
Update asonix/pictrs Docker tag to v0.5.14 ( #4767 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-31 21:13:39 -04:00
Dessalines
6a6c915014
Changing NodeInfo metadata to HashMap from vector. Fixes #4762 ( #4764 )
2024-05-31 16:38:46 -04:00
phiresky
96b7afc0b1
upgrade rust to 1.78 to fix diesel cli ( #4761 )
2024-05-31 08:39:45 -04:00
phiresky
101901b8e0
fix clippy
2024-05-31 13:34:41 +02:00
phiresky
1c1018b191
Merge remote-tracking branch 'origin/upgrade-rust' into federation-send-parallel
2024-05-31 12:53:48 +02:00
phiresky
c66bf26ac1
upgrade rust to 1.78 to fix diesel cli
2024-05-31 12:50:08 +02:00
phiresky
5a418ac1c8
fix config default
2024-05-31 12:42:36 +02:00
phiresky
c2d18d3ca3
prettier
2024-05-31 11:56:43 +02:00
phiresky
3784b7f3d6
fix test run
2024-05-31 11:34:38 +02:00
phiresky
7ee63f4da8
run federation tests twice
2024-05-31 11:12:53 +02:00
phiresky
5538794d7c
move comment
2024-05-30 14:40:58 +02:00
phiresky
9d87921ebb
comment
2024-05-30 13:24:13 +02:00
phiresky
2acdc78d81
remove crashable, comment
2024-05-30 13:21:26 +02:00
phiresky
175133f0cd
comment about reverse ordering
2024-05-30 13:02:19 +02:00
phiresky
cdff275803
Update crates/federate/src/send.rs
...
Co-authored-by: dullbananas <dull.bananas0@gmail.com>
2024-05-30 12:44:35 +02:00