Commit graph

4976 commits

Author SHA1 Message Date
7d5669e8d3 Version 0.19.8 2024-12-12 09:35:56 -05:00
aeaaaae523 Version 0.19.8-beta.0 2024-12-04 14:42:18 +01:00
flamingos-cant
5769a33a13 Use magic number to detemine file type (#5225)
* Revert "Guess image mime type from file extension (fixes #5196) (#5212)"

This reverts commit 63ea99d38a.

* Use magic numbers to determine file type.

* fmt

* Don't wrap response in an option

* Regen Cargo.lock

* Clean-up + guess mime type from extension if server is unresponsive

* Move some things about.

* Some cleanup.

* Removing comment lines.

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
2024-12-04 14:41:12 +01:00
cd7759bba4 Return content of removed comments for admins (ref #5232) (#5245)
* Return content of removed comments for admins (ref #5232)

* fmt

* remove dbg
2024-12-03 12:41:01 +01:00
db88ba3cbb Allow bypassing image proxy for specific domains (#5223)
* Allow bypassing proxy for some domains with ProxyAllImages

* remove web::

* remove expect

* bypass imgur by default

* correct imgur domain

* restore processing, cleanup

---------

Co-authored-by: sunaurus <sander@saarend.com>
2024-12-03 12:41:01 +01:00
9ab039da3b Proxy pictrs healthz endpoint (#5224) 2024-12-03 12:41:01 +01:00
fc8280a9b7 Version 0.19.7 2024-11-15 08:39:40 -05:00
934d3c6319 Version 0.19.7-beta.2 2024-11-14 09:41:39 +01:00
b6588b863d Skip docker error 2024-11-14 09:40:32 +01:00
2adeded423 Version 0.19.7-beta.1 2024-11-13 22:49:18 +01:00
Dessalines
f8f035f384 Fixing cors origin wildcard. (#5194)
* Fixing cors origin wildcard.

- Fixes #5185

* Add other allows to specified origin block.

* Fix clippy.
2024-11-13 09:55:38 +01:00
005f4d53c8 Fetch community mods synchronously (#5169)
* Fetch community mods synchronously

* fix

* fix

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2024-11-13 09:55:16 +01:00
c155243ac6 Move aggregates to replaceable_schema, fix error (fixes #5186) (#5190)
* Move aggregates to replaceable_schema, fix error (fixes #5186)

* fmt

* r prefix
2024-11-13 09:54:34 +01:00
467163a29b Version 0.19.6 2024-11-08 07:33:02 -05:00
Dessalines
58f894800c Upping default max_image_size from 256 to 512. (#5177)
- Context: https://github.com/LemmyNet/lemmy-ui/issues/2796
2024-11-08 07:30:42 -05:00
d6847c7951 Version 0.19.6-beta.15 2024-11-06 16:08:03 +01:00
87d623cc6d
Set release flags for 0.19.6 (#5168) 2024-11-06 15:31:04 +01:00
ad8056a674 Version 0.19.6-beta.14 2024-11-04 14:24:52 +01:00
db31259fd7 Revert "Adding ability to restore content on user unban. (#4845)"
This reverts commit 76728776fd.
2024-11-04 14:17:38 +01:00
6c22cdeb96 Run analyze after changing post.url type (ref #4983) (#5148)
* Run analyze after changing post.url type (ref #4983)

* rename back

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2024-11-04 14:17:22 +01:00
10a28e78d9 Resize post thumbnails (fixes #4053) (#5107)
* Resize post thumbnails (fixes #4053)

* 256px
2024-10-08 10:25:24 +02:00
0ba0d0f9b3 Version 0.19.6-beta.9 2024-10-02 10:20:41 +02:00
Dessalines
7d0c0e3a42 Fixing woodpecker warnings 1. (#5011) 2024-10-02 10:19:12 +02:00
c1874cde7b Version 0.19.6-beta.8 2024-10-01 18:54:25 -04:00
ac89339724 Attempt to fix test for fetching deeply nested comment (#5072)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2024-10-01 15:56:28 +02:00
1ba848f99d Avoid stack overflow when fetching nested comments, reduce max comment depth to 50 (#5009)
* Avoid stack overflow when fetching deeply nested comments

* add test case

* reduce comment depth, add docs

* decrease

* reduce max comment depth to 50

* fmt

* clippy

* cleanup
2024-10-01 10:10:14 +02:00
Sander Saarend
9b5a9ee7be Always save remote image data (#4875)
* Always save remote image data

* cleanup

---------

Co-authored-by: Felix Ableitner <me@nutomic.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2024-10-01 10:04:17 +02:00
a67cfd2348 Ignore zero values when setting rate limits (fixes #4280) (#5029)
* Ignore zero values when setting rate limits (fixes #4280)

Havent bothered to add an error message for such an uncommon case.

* fmt

* reorder, add test
2024-10-01 10:03:59 +02:00
Dessalines
9a77b327f7 Adding clearurls crate to clean tracking params from links and markdown. (#5018)
* Adding clearurls crate to clean tracking params from links and markdown.

- Thanks to @jenrdikw for creating this
- Fixes #4905

* Upgrading to new version of clearurls

* Fix clippy
2024-10-01 10:02:58 +02:00
Dessalines
5093491b53 Increase bio max length from 300 to 1000. (#5014)
- Fixes #4972
2024-10-01 10:02:26 +02:00
Sander Saarend
2eab4fa267 Image proxy fixes (#4871)
* Fix remote image urls

* Remove unnecessary URL decode

* Removing the proxy changes.

---------

Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
Co-authored-by: Dessalines <tyhou13@gmx.com>
2024-10-01 10:02:11 +02:00
6840a5e367 Add category to RSS feeds (fixes #3446) (#5030) 2024-09-20 10:06:41 +02:00
Dessalines
76728776fd Adding ability to restore content on user unban. (#4845)
* Adding ability to restore content on user unban.

- Fixes #4721

* Fixing api tests.

* Fix package.json

* Fixing lemmy-js-client dep.

* Adding API test for restoring content.
2024-09-20 10:06:15 +02:00
Dessalines
a8b37977c7 Adding clearurls crate to clean tracking params from links and markdown. (#5018)
* Adding clearurls crate to clean tracking params from links and markdown.

- Thanks to @jenrdikw for creating this
- Fixes #4905

* Upgrading to new version of clearurls

* Fix clippy
2024-09-20 10:06:06 +02:00
Carlos Cabello
21e24dc96d Add option to search exclusively by post title (#5015)
* Add option to search exclusively by post title

* Address format issues

* Remove duplicated 'removed' filter

* Replace url_search with search_term

* Build generic PostQuery before search match

* Create default queries. Move title_only to Search struct. Rename Url to PostURL

* Revert PostUrl to Url
2024-09-16 09:59:55 +02:00
d57d9f6fe1
If id of fetched object doesnt match url, refetch it (fixes #4964) (#5022) 2024-09-13 11:59:25 -04:00
33df7eaf18 Merge branch 'main' into release/v0.19 2024-09-10 12:21:01 +02:00
renovate[bot]
f98b15511a
chore(deps): update rust crate derive-new to 0.7.0 (#4995)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-01 16:47:16 +00:00
renovate[bot]
5683d5ed7a
chore(deps): update pnpm to v9.9.0 (#4994)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-01 12:30:05 +00:00
renovate[bot]
b1afd98d29
chore(deps): update dependency @types/node to v22.5.1 (#4991)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-01 09:40:23 +00:00
renovate[bot]
f617227f0d
chore(deps): update dependency ts-jest to v29.2.5 (#4990)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-01 06:41:42 +00:00
renovate[bot]
fa94a5869e
chore(deps): update dependency eslint to v9.9.1 (#4992)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-01 03:11:01 +00:00
Joseph Silva
ae3df4db72
Replace "post" with "comment" in comment_report_view.rs (#4989) 2024-08-31 22:36:47 -04:00
d479bb96c6 Version 0.19.6-beta.7 2024-08-27 16:32:08 -04:00
dullbananas
101476df87
Make scripts work in path that contains spaces (#4986) 2024-08-22 17:33:00 +02:00
flamingos-cant
bd1b7aa6ef
Let federation modify groups (#4937)
* Don't check if group is local

* Add API test for mods modifying communities
2024-08-20 16:16:14 +02:00
2913cdf556 Version 0.19.6-beta.6 2024-08-19 19:44:13 -04:00
6b9e5ecb48 Version 0.19.6-beta.5 2024-08-15 08:50:27 -04:00
Richard Schwab
76a2c6e79b
Fix scheduled task to delete users with denied applications (#4907)
After an admin interacted with an application it can only be accepted or denied.
Denial reasons are not required by Lemmys backend, even though they're mandatory in Lemmy-UI, and therefore they are not a reliable indicator of an application being denied.
This aligns the cleanup logic  with the logic used for the unread application count.
2024-08-13 18:54:56 -04:00
Dessalines
254ef6dab3
Make site metadata fetch endpoint require auth. (#4968)
* Make site metadata fetch require auth.

* Update crates/api/src/post/get_link_metadata.rs

Co-authored-by: dullbananas <dull.bananas0@gmail.com>

---------

Co-authored-by: dullbananas <dull.bananas0@gmail.com>
2024-08-13 16:53:05 -04:00