Commit graph

4857 commits

Author SHA1 Message Date
Dull Bananas 83c5181e43 stuff 2024-06-16 19:57:04 +00:00
Dull Bananas 35b0613c58 stuff 2024-06-14 19:52:44 +00:00
dullbananas 279d4b05e0
Merge branch 'main' into ap-id-triggers 2024-06-14 11:48:24 -07:00
dullbananas 2ee880c17c
Update utils.rs 2024-06-14 11:47:15 -07:00
Nutomic 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
dullbananas 5be7daf72a
Update triggers.sql 2024-06-13 14:34:09 -07:00
dullbananas 28fafdde9b
Update up.sql 2024-06-13 14:13:21 -07: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
dullbananas b4bc5c60c7
Create up.sql 2024-06-11 14:38:06 -07:00
dullbananas b360342856
Update create.rs 2024-06-11 12:36:47 -07:00
dullbananas 4b7a9656ee
Update create.rs 2024-06-11 12:31:28 -07:00
dullbananas b816b4bcad
Update create.rs 2024-06-11 12:30:58 -07:00
dullbananas a9586583b5
Update create.rs 2024-06-11 12:22:48 -07:00
dullbananas 5789926a6c
Update create.rs 2024-06-11 12:19:29 -07:00
dullbananas f456122ecb
Update create.rs 2024-06-11 12:03:29 -07:00
dullbananas 00eed9d3c8
Update create.rs 2024-06-11 11:59:17 -07:00
dullbananas f3452777c9
Update create.rs 2024-06-11 11:55:09 -07:00
dullbananas 8acf2f96ea
Update utils.sql 2024-06-11 11:48:12 -07:00
dullbananas a2dfb93de3
Update triggers.sql 2024-06-10 14:22:00 -07:00
dullbananas dbeffbc7f1
Update utils.sql 2024-06-10 14:20:18 -07:00
dullbananas 87e86825f4
Update utils.rs 2024-06-10 14:13:12 -07:00
dullbananas 1f30b38ca2
Update create.rs 2024-06-10 13:57:31 -07: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
Dessalines 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
Dessalines 5d31f0d516 Version 0.19.4-rc.11 2024-06-06 23:02:38 -04:00
Dessalines 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
Dessalines 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
Dessalines 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
Nutomic bb94fb1c79
Revert apub library 0.5.7 (#4783)
Wasnt necessary after all
2024-06-05 18:04:02 -04:00
Dessalines 92214a9364 Version 0.19.4-rc.7 2024-06-05 17:30:43 -04:00
Nutomic 78ae874b89
Apub library 0.5.7 (#4781) 2024-06-05 17:28:33 -04:00
Dessalines 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
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
Dessalines 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