dullbananas
ddc32b2425
Merge remote-tracking branch 'upstream/main'
2023-06-13 13:43:56 +00:00
dullbananas
08e835d487
Add dhat-heap feature
2023-06-13 13:42:07 +00:00
Edgar Alvarado
c32585b034
Docker yaml anchors and docker logs ( #3027 )
...
* Use anchor for duplicated compose properties
* Include docker log max
* Run prettier
2023-06-13 08:37:06 -04:00
dullbananas
1aa2adf2f9
Remove usage of is_okay_and for Rust 1.67 compatibility
2023-06-13 05:32:40 +00:00
dullbananas
1cd4003bdc
Improve readability
2023-06-13 05:12:48 +00:00
dullbananas
6b4c3ec5f6
Add removal of old rate limit buckets
2023-06-13 02:31:06 +00:00
Edgar Alvarado
932e65c16d
Fix ports used by docker ( #3012 )
...
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-12 18:38:27 -04:00
Jared Schneiderman
5f92125e44
Add limit and pagination to feeds ( #2980 )
...
* adds limit and pagination to all rss feeds
* consistent ordering
* refactor page and limit and add after
* revert back to using page
* remove offset change
* refactor to impl adding helper methods
* clippy
2023-06-12 17:48:02 -04:00
dullbananas
fd618d6b5b
Initialize rate limit allowance directly
2023-06-12 18:42:46 +00:00
dullbananas
e3046a78f1
Shrink rate limit allowance to f32
2023-06-12 18:36:16 +00:00
25275b79ee
Upgrade activitypub-federation to 0.4.1 ( #3039 )
...
This improves logging so that its not necessary to enable debug
logs to find out that activity worker count needs to be increased.
2023-06-12 14:12:15 -04:00
Charlie Fish
87634ca206
Adding Lemmy-Swift-Client to README.md ( #3026 )
2023-06-12 15:31:27 +02:00
Andy Brandt
b47ce4c2e6
use usize::MAX for line wrap length, since lettre does it for us ( #3034 )
...
fixes #2921
2023-06-12 15:29:15 +02:00
Charles Hall
f50325e78a
update doku ( #3003 )
...
Fixes malformed documentation generated by previous version.
2023-06-12 05:55:47 -04:00
Nathan Schulzke
3a6f8877c9
Fix contributing link ( #3015 )
2023-06-12 11:04:47 +02:00
dullbananas
fc5ef73a98
clippy, fmt
2023-06-12 03:50:03 +00:00
dullbananas
3883fb5671
Revert "Move embedded migrations to separate crate"
...
This reverts commit 44b1049970
.
2023-06-11 18:20:04 +00:00
dullbananas
44b1049970
Move embedded migrations to separate crate
2023-06-11 18:19:51 +00:00
dullbananas
dbfbc8660d
Optimize stuff
2023-06-11 17:42:56 +00:00
dullbananas
29e46abf44
Reduce Vec allocations
2023-06-10 05:33:52 +00:00
Dessalines
ecc9469a02
Better issue templates. ( #2991 )
...
* Better issue templates.
* Fixing bug report.
2023-06-09 23:08:27 +02:00
Charles Hall
14c18dbdae
allow specifying db uri in config file ( #2956 )
...
* allow specifying db uri in config file
* succumb to a bug in doku
See <https://github.com/anixe/doku/issues/33 >.
2023-06-09 08:18:22 -04:00
Dessalines
8cb5939f50
Adding hot_rank columns in place of function sorting. ( #2952 )
...
* Adding hot_rank columns in place of function sorting.
- Creates hot_rank columns for post, comment, and community.
- Fixes #2932
* Updating all hot ranks on startup.
* Fixing post.url migration.
* Removing update_instance_software from startup.
* Adding post_rank query
2023-06-08 16:15:15 -04:00
Charles Hall
4e5798852f
make shebangs posix compliant ( #2974 )
...
Previously, these scripts wouldn't work on exotic systems such as NixOS.
```
fd '\.sh$' -t f --exec sed -i 's@#!/bin/bash@#!/usr/bin/env bash@'
```
2023-06-08 15:38:26 -04:00
Andy Brandt
f98476c5c0
Fix private message e-mail notification subject and body ( #2963 )
...
It used to say:
Subject: Private message from [your username]
Body: [your username] - [private message]
It now display the correct username that it's from.
2023-06-08 13:42:32 -04:00
Anon
15c84e2f7b
Add comment depth check ( #2940 )
...
* Add comment depth check
* Move comment depth code
* linter fix
2023-06-08 10:31:26 -04:00
Jason Watkins
491e197529
Add lemmyexternalproxy
to lemmy
so that it can talk to the internet ( #2960 )
...
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-08 08:30:16 -04:00
980df7545d
Fix translation build error ( fixes #2967 ) ( #2968 )
2023-06-08 07:12:40 -04:00
2423b89ced
Activitypub breaking changes for Lemmy 0.18 ( #2705 )
...
* Remove deprecated field `group.moderators`
* Drop column local_site.federation_debug
* Remove backwards compatibility code for feature/lock post
https://github.com/LemmyNet/lemmy/pull/2716
---------
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-07 15:18:17 -04:00
1c9f0c2bed
Add db index for post.url column ( #2929 )
...
* Add db index for post.url column
As mentioned in https://github.com/LemmyNet/lemmy/issues/2877#issuecomment-1576439829
Not sure if its preferable to do this, or make a combined index
which includes post.nsfw, post.removed, post.deleted
* remove unique
2023-06-07 11:31:24 -04:00
derivator
9419dd7c05
Fall back to String for Comment::path when not using the full feature ( #2941 )
2023-06-07 09:38:46 -04:00
Carlrs
24323e17b2
update diesel to 2.1.0 and diesel-async to 0.3.0 (issue #2882 ) ( #2895 )
...
* update diesel to 2.1.0 and diesel-async to 0.3.0 (issue #2882 )
* get rid of deprecated RawValue type alias usage, explicitly import diesel types instead of using wildcard import
* Update diesel-derive-enum and diesel-derive-newtype libraries
* Revert manual changes to schema.rs
* Update to newer diesel-cli image in CI, run fix-clippy before schema comparison, update schema to one generated with diesel-cli 2.1.0 and clippyfixed
* Remove wildcard import lint, fix diesel schema pipeline
---------
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-07 12:54:40 +02:00
Dessalines
af03dcfeac
Fix dev setups. ( #2944 )
2023-06-06 22:22:21 -04:00
e97c30b930
Set version name for crates.io release ( #2928 )
...
* Set version name for crates.io release
ref https://github.com/LemmyNet/lemmy-ui/issues/1052
* fix yml
---------
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-06-06 20:24:06 -04:00
vpzomtrrfrt
09099e7b90
Fix handling of follows addressed to single value ( #2920 )
...
* Fix handling of follows addressed to single value
* Switch to deserialize_skip_error for Follow to
* Also use deserialize_skip_error for AcceptFollow and UndoFollow
* actually import deserialize_skip_error
2023-06-06 18:33:38 -04:00
3565ad984a
Remove chatserver ( #2919 )
...
* Remove chatserver
* fix clippy
* Remove captchas (fixes #2922 )
* fix prettier
* fix api_common build
* cargo fmt
2023-06-06 12:27:22 -04:00
Dessalines
ef1aa18fd2
Adding taglines to SiteResponse. Fixes #2925 ( #2926 )
...
* Adding taglines to SiteResponse. Fixes #2925
* Fixing CI line.
2023-06-06 08:59:34 -04:00
Dessalines
bb625c3671
Fix *All* reports not showing. Fixes #2902 ( #2903 )
...
* Fix *All* reports not showing. Fixes #2902
* Fix *All* reports not showing. Fixes #2902
* Fixing tests.
2023-06-06 11:01:48 +02:00
Matt Pusch
ae88f618fd
README updates ( #2913 )
...
* Updated readme to remove unsecure sunchid lemming article - replaced with wikipedia article.
Commented out sponsor list as page DNE.
Commented out Contributing section as all sites DNE. Added simple instructions for git contribution. Cleaned up formatting for Contributing section.
TODO: update join-lemmy.org/docs, uncomment removed lines
* Implemented suggested changes
2023-06-05 11:34:15 -04:00
7248c4a6f4
Filter empty username strings from Mastodon ( fixes #2886 ) ( #2887 )
...
* Filter empty username strings from Mastodon (fixes #2886 )
* add issue link
2023-06-05 13:56:53 +02:00
Udo
dc9ca5768b
Update humane tech badge to point to new repo ( #2898 )
2023-06-05 12:49:32 +02:00
Justin Gauthier
d439bdf8b4
Update to fix nginx proxy config for Docker Installs ( #2908 )
...
* Update to fix nginx proxy config
* Update docker-compose.yml - fix type
---------
Co-authored-by: Jax Gauthier <jax@gauthier.id>
2023-06-05 12:43:31 +02:00
1b4f995706
Remove jaeger, opentelemetry from docker-compose ( #2894 )
2023-06-04 22:16:49 +02:00
Dessalines
e363c25521
Replace remmel with Mlem. ( #2890 )
2023-06-01 22:40:47 +02:00
Dessalines
af3eb6e27b
Add CORS support for debug mode. ( #2884 )
2023-05-29 17:14:00 -04:00
phankydn
d30839bea1
Don't filter comments of posts from blocked community when viewing post detail ( #2880 )
2023-05-29 11:41:47 -04:00
4240af86ca
Remove websocket code ( #2878 )
...
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-05-29 10:44:20 -04:00
a5707328cf
Dont return error in case optional auth is invalid ( #2879 )
...
* Dont return error in case optional auth is invalid
* fixes
2023-05-25 10:50:07 -04:00
phankydn
4a70502007
Remove unnecessary clone ( #2874 )
...
Co-authored-by: KyP <phanky.vn@proton.me>
2023-05-23 19:00:19 -04:00
82d93da26b
Remove GetCommunityResponse.default_post_language ( #2867 )
...
This field is unnecessary because we already set a default language
with the same logic if none is passed in CreatePost. So if the user
doesnt set a post language, it should simply be passed as None. This
also has the advantage that it works with clients that dont support
language tags.
Technically not a breaking change because its optional, but better
be safe.
2023-05-21 11:55:32 -04:00