Nutomic
1d23df37d8
Rename cache_remote_images setting to cache_external_link_previews (ref #4035 ) ( #4148 )
2023-11-13 09:19:09 -05:00
dullbananas
8e2cbc9a0f
Remove id column and use different primary key on some tables ( #4093 )
...
* post_saved
* fmt
* remove unique and not null
* put person_id first in primary key and remove index
* use post_saved.find
* change captcha_answer
* remove removal of not null
* comment_aggregates
* comment_like
* comment_saved
* aggregates
* remove "\"
* deduplicate site_aggregates
* person_post_aggregates
* community_moderator
* community_block
* community_person_ban
* custom_emoji_keyword
* federation allow/block list
* federation_queue_state
* instance_block
* local_site_rate_limit, local_user_language, login_token
* person_ban, person_block, person_follower, post_like, post_read, received_activity
* community_follower, community_language, site_language
* fmt
* image_upload
* remove unused newtypes
* remove more indexes
* use .find
* merge
* fix site_aggregates_site function
* fmt
* Primary keys dess (#17 )
* Also order reports by oldest first (ref #4123 ) (#4129 )
* Support signed fetch for federation (fixes #868 ) (#4125 )
* Support signed fetch for federation (fixes #868 )
* taplo
* add federation queue state to get_federated_instances api (#4104 )
* add federation queue state to get_federated_instances api
* feature gate
* move retry sleep function
* move stuff around
* Add UI setting for collapsing bot comments. Fixes #3838 (#4098 )
* Add UI setting for collapsing bot comments. Fixes #3838
* Fixing clippy check.
* Only keep sent and received activities for 7 days (fixes #4113 , fixes #4110 ) (#4131 )
* Only check auth secure on release mode. (#4127 )
* Only check auth secure on release mode.
* Fixing wrong js-client.
* Adding is_debug_mode var.
* Fixing the desktop image on the README. (#4135 )
* Delete dupes and add possibly missing unique constraint on person_aggregates.
* Fixing clippy lints.
---------
Co-authored-by: Nutomic <me@nutomic.com>
Co-authored-by: phiresky <phireskyde+git@gmail.com>
* fmt
* Update community_block.rs
* Update instance_block.rs
* Update person_block.rs
* Update person_block.rs
---------
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: Nutomic <me@nutomic.com>
Co-authored-by: phiresky <phireskyde+git@gmail.com>
2023-11-13 08:14:07 -05:00
SleeplessOne1917
1dc6c60760
Make import and export settings endpoints reachable ( #4143 )
...
* Make import and export settings endpoints reachable
* Preserve original routes
2023-11-13 08:08:07 -05:00
Dessalines
e00b0c9da2
Dont send comment reply to user who has community blocked. Fixes #3684 ( #4096 )
...
* Dont send comment reply to user who has community blocked. Fixes #3684
* Adding source instance block check.
* Adding api test.
* Addressing PR comments.
2023-11-09 12:03:25 +01:00
Felix Ableitner
bf6b0a50a4
clippy
2023-11-09 11:59:08 +01:00
Nutomic
aaaf17486d
Dont create auth cookie in backend ( #4136 )
2023-11-08 07:55:09 -05:00
Felix Ableitner
289c55de01
support custom emoji
2023-11-08 11:20:18 +01:00
Felix Ableitner
6257469e51
Merge branch 'main' into markdown-link-rule
2023-11-07 12:01:27 +01:00
Dessalines
7a30a75905
Fixing the desktop image on the README. ( #4135 )
2023-11-07 11:05:12 +01:00
Dessalines
98ed0e51cc
Only check auth secure on release mode. ( #4127 )
...
* Only check auth secure on release mode.
* Fixing wrong js-client.
* Adding is_debug_mode var.
2023-11-07 11:03:13 +01:00
Nutomic
cb01427dcf
Only keep sent and received activities for 7 days ( fixes #4113 , fixes #4110 ) ( #4131 )
2023-11-06 16:17:53 -05:00
Dessalines
97a4fb9a72
Add UI setting for collapsing bot comments. Fixes #3838 ( #4098 )
...
* Add UI setting for collapsing bot comments. Fixes #3838
* Fixing clippy check.
2023-11-06 16:09:12 -05:00
phiresky
b9b65c9c18
add federation queue state to get_federated_instances api ( #4104 )
...
* add federation queue state to get_federated_instances api
* feature gate
* move retry sleep function
* move stuff around
2023-11-06 16:07:04 -05:00
Nutomic
8c85f35b19
Support signed fetch for federation ( fixes #868 ) ( #4125 )
...
* Support signed fetch for federation (fixes #868 )
* taplo
2023-11-06 16:02:01 -05:00
Felix Ableitner
a5dc167b10
invert
2023-11-06 13:12:53 +01:00
Felix Ableitner
abe3ab2809
machete
2023-11-06 13:03:59 +01:00
Felix Ableitner
d6b3d82300
change setting again
2023-11-06 12:55:12 +01:00
Felix Ableitner
66229ab902
Merge branch 'main' into markdown-link-rule
2023-11-06 12:45:26 +01:00
Felix Ableitner
ecd8e3b11b
federate post url as image depending on mime type
2023-11-06 12:35:01 +01:00
Nutomic
cf788334aa
Also order reports by oldest first (ref #4123 ) ( #4129 )
2023-11-06 05:29:30 -05:00
Dessalines
adef3479c0
Version 0.19.0-rc.4
2023-11-03 10:02:30 -04:00
Dessalines
eeec56c22d
Adding creator_is_moderator to CommentReplyView and PersonMentionView. ( #4126 )
2023-11-03 14:41:00 +01:00
Felix Ableitner
706841950d
add setting disable_external_link_previews
2023-11-03 11:43:04 +01:00
Nutomic
1e59e7ab47
Show oldest registration applications first (ref #4122 ) ( #4123 )
...
* Show oldest registration applications first (ref #4122 )
* fix tests
2023-11-02 07:38:46 -04:00
Nutomic
df53d2a0e8
Change logout endpoint to return SuccessResponse ( #4121 )
2023-10-31 08:41:52 -04:00
Nutomic
9007d49324
Remove unused deps ( #4111 )
...
* Remove unused deps
* Adding cargo-machete to woodpecker.
---------
Co-authored-by: Dessalines <tyhou13@gmx.com>
2023-10-31 11:11:12 +01:00
Felix Ableitner
7fbfa48590
fix tests
2023-10-30 11:58:44 +01:00
Felix Ableitner
c2a763d6fb
get rid of cache_remote_thumbnails setting, instead automatically
...
take thumbnail from federation data if available.
2023-10-30 10:58:31 +01:00
Dessalines
c11e9446c6
Fix hot_rank algorithm pushing downvoted content off the feed. ( #4085 )
...
* Fix hot_rank algorithm pushing downvoted content off the feed.
- Max hot_rank algorithm now uses max(2, score) rather than greatest(1, score + 3)
- Fixes #4084
* Fixing SQL format.
* Adding 2 to bias the positive scores.
2023-10-30 10:47:57 +01:00
Felix Ableitner
ed3e2e0d8c
should be media_type
2023-10-27 16:48:46 +02:00
Felix Ableitner
97697aa413
store post url content type in db
2023-10-27 16:42:43 +02:00
Felix Ableitner
5507d2d680
include url content type when sending post over apub ( fixes #2611 )
2023-10-27 16:24:47 +02:00
Felix Ableitner
c8c355dbe2
more cleanup ( fixes #2611 )
2023-10-27 16:20:44 +02:00
Felix Ableitner
bf205399e5
cleanup request.rs file
2023-10-27 12:33:03 +02:00
Felix Ableitner
95025adaca
testing
2023-10-26 13:25:47 +02:00
Felix Ableitner
9b40d74cce
Merge branch 'main' into markdown-link-rule
2023-10-26 12:48:57 +02:00
Felix Ableitner
45f5448ece
proxy images through pictrs
2023-10-26 12:39:00 +02:00
Felix Ableitner
98b5746472
add tests
2023-10-26 12:32:38 +02:00
Felix Ableitner
388eb42b99
undo post.url rewriting, move http route definition
2023-10-26 11:38:44 +02:00
Felix Ableitner
986913d250
add config option
2023-10-26 10:52:24 +02:00
Nutomic
08739e2925
Move usage of env::var to lemmy_utils, simplify db init (ref #4095 ) ( #4108 )
2023-10-25 11:34:38 -04:00
Dessalines
b63836b31b
Add link to githubs new issue button for security advisories. Fixes #3734 ( #4107 )
2023-10-25 16:50:56 +02:00
Dessalines
1b751a8cac
Adding cors_origin to settings. Fixes #3665 ( #4095 )
...
* Adding cors_origin to settings. Fixes #3665
* Fix result to option.
* Forgot to update config defaults.
* Setting a cors origin doku default.
* Adding comments for CORS.
2023-10-25 16:46:34 +02:00
Dessalines
64b00ee850
Dont allow bots to vote. Fixes #3940 ( #4100 )
...
* Dont allow bots to vote. Fixes #3940
* Removing pointless function.
2023-10-25 10:14:12 -04:00
Nutomic
568233b062
Resolve federated objects from other instances via redirect ( fixes #3129 ) ( #4073 )
...
* Resolve federated objects from other instances via redirect (fixes #3129 )
* restore domain check using library change
* add test case, update apub lib
---------
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-10-25 07:14:59 -04:00
Felix Ableitner
f057abff71
Merge branch 'main' into markdown-link-rule
2023-10-25 12:57:24 +02:00
Nutomic
45bed71c36
Include prometheus in default build, remove build feature ( fixes #3558 ) ( #4071 )
...
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-10-25 06:54:58 -04:00
Felix Ableitner
aa49a1b173
proxy links received over federation
2023-10-25 12:35:22 +02:00
Dessalines
766ca99fd5
Hide private messages from blocked users. ( #4102 )
...
- Also fixes the unread count calls for CommentReply and PrivateMessage.
- Fixes #3629
2023-10-25 12:01:40 +02:00
Dessalines
bd9739b5b7
Upgrading deps. ( #4103 )
2023-10-25 05:32:21 -04:00