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
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
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
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
10a28e78d9
Resize post thumbnails ( fixes #4053 ) ( #5107 )
...
* Resize post thumbnails (fixes #4053 )
* 256px
2024-10-08 10:25:24 +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
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
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
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
Richard Schwab
63a686d390
Approve applications in transaction ( #4970 )
...
* Implement tests for registration application count and list api
* Use transaction when approving applications to ensure consistent approval state
2024-08-13 16:18:26 -04:00
flamingos-cant
ea18d462b0
Throw error when non-mod posts to mod-only comm ( #4966 )
2024-08-13 14:56:26 -04:00
phiresky
606545ccaf
fix: Run extract_opengraph_data only on first 64kB of data and if Content-Type html ( #4957 )
...
* fix: Run extract_opengraph_data only on first 64kB of data and if data is not binary.
* use mime type for determination
* chore: simplify collect function
2024-08-07 10:35:08 -04:00
88fbcea246
Version 0.19.6-beta.3
2024-08-06 10:32:41 -04:00
Dessalines
33fd31754a
Adding a URL max length lemmy error. ( #4960 )
...
* Adding a URL max length error.
- Also increasing the post.url max length to 2000 (seems standard)
- I ran into this when fixing torrent support, which often use longer
urls.
* Fixing sql_format.
2024-08-04 09:45:53 -04:00
Dessalines
f8c7375731
Upgrading deps. ( #4955 )
2024-08-01 17:04:28 -04:00
renovate[bot]
c0f3dff5cf
chore(deps): update rust crate mockall to 0.13.0 ( #4946 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 13:59:40 -04:00
6c11c013b0
Version 0.19.6-beta.2
2024-08-01 08:29:22 -04:00
Dessalines
60a7829638
Adding deny unimplemented to clippy lints. ( #4922 )
...
* Adding deny unimplemented to clippy lints.
- Context: #4782
* Update crates/apub/src/fetcher/site_or_community_or_user.rs
Thanks, I like that better.
Co-authored-by: dullbananas <dull.bananas0@gmail.com>
* Update crates/apub/src/fetcher/search.rs
Co-authored-by: dullbananas <dull.bananas0@gmail.com>
* Running fmt.
* Adding debug_assert(false)
* Removing some commands.
* Format.
* Remove todo.
---------
Co-authored-by: dullbananas <dull.bananas0@gmail.com>
2024-07-31 20:28:41 -04:00
SleeplessOne1917
1ef375e5c3
Replace 3rd party once_cell crate with recently stabilized standard library API ( #4919 )
...
* Replace 3rd party once_cell crate with recently stabilized standard library API
* Bump CI rust version
2024-07-30 10:11:39 -04:00
abdel-m
2ccb46b66d
pass local user to send local notifs ( #4920 )
...
* pass local user to send local notif
* pass local user to all crud calls
* execution of command "cargo +nightly fmt"
* Formatting and mode fixes.
---------
Co-authored-by: Dessalines <tyhou13@gmx.com>
2024-07-30 08:34:58 -04:00
fb911679d0
Fix admin notification for new user registration ( fixes #4916 ) ( #4925 )
2024-07-30 08:34:17 -04:00
John Spurlock
7321a63005
Fix instance AP outbox url ( #4917 )
...
//site_outbox to /site_outbox
2024-07-24 12:18:28 +02:00
Dessalines
9738d87f38
Add the ability to fetch a registration application by person_id. ( #4913 )
...
* Add the ability to fetch a registration application by person_id.
- Fixes #4908
* Cleaning up PR.
2024-07-23 19:01:24 -04:00
Dessalines
32b73193df
Make sure you can view your moderated deleted and removed communities. ( #4912 )
...
* Make sure you can view your moderated deleted and removed communities.
- The front end checks to see whether you are a mod, in order to be
able to restore deleted / removed communities. This removes a filter
which prevents that.
- Fixes #4911
* Only show deleted communities to creator, and removed to admins.
* Addressing PR comments.
2024-07-23 12:38:54 -04:00
SleeplessOne1917
db390a2f3a
Make eligible enums convertable to static strs ( #4915 )
...
* Make eligible enums convertable to static strs
* Run cargo fmt
* Remove unnecessary derives
2024-07-23 11:05:19 -04:00
572a42d880
Change type of concurrent sends in config ( #4914 )
2024-07-22 09:58:50 -04:00