Dessalines
69106589ba
Fix publish
2022-05-26 16:10:36 -04:00
Paolo Barbolini
ef12cd9588
Bump lettre to 0.10.0-rc.6 ( #2250 )
2022-05-09 23:08:13 +00:00
Paolo Barbolini
559e43075a
Simplify building plain/html emails ( #2251 )
2022-05-08 17:00:12 +00:00
Nutomic
3aa3d75a1e
Add cargo feature for building lemmy_api_common with mininum deps ( #2243 )
2022-05-03 17:44:13 +00:00
Nutomic
2e01e8e42c
Remove unused dependencies ( #2239 )
2022-04-27 17:56:05 +02:00
Nutomic
56b7030901
Fix link metadata unit test ( #2237 )
2022-04-27 15:42:10 +00:00
Nutomic
00b0b26dfa
Add default post listing type ( fixes #2195 ) ( #2209 )
...
* Add default post listing type (fixes #2195 )
* review fixes
* change column type
2022-04-19 19:05:08 +00:00
Dessalines
24be9f2cd5
Show deny reason to users after a failed login. Fixes #2191 ( #2206 )
...
* Show deny reason to users after a failed login. Fixes #2191
* Updating translations.
* Adding registration_denied translated string.
2022-04-19 10:48:59 +00:00
Dessalines
0a36b16e29
Fix allowlist / blocklist description location. Fixes #2214 ( #2215 )
...
* Fix allowlist / blocklist description location. Fixes #2214
* Fix allowlist check
2022-04-13 18:27:56 +00:00
Dessalines
c232564fda
Version 0.16.3
2022-04-08 10:20:31 -04:00
Dessalines
4878848955
Version 0.16.3-rc.1
2022-04-08 09:17:00 -04:00
Dessalines
4052900d30
Updating translations
2022-04-08 09:13:46 -04:00
Nutomic
c7f5337099
Run cargo upgrade ( #2176 )
...
* Run cargo upgrade and cargo update
* Fixing validation (#2179 )
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2022-04-01 18:37:51 +00:00
Dessalines
4cf0da7b60
Clippy fixes.
2022-03-30 10:58:03 -04:00
Nutomic
ad7e6d99ed
Add email translations ( #2175 )
2022-03-29 18:23:03 +00:00
Dessalines
d5a213760d
Version 0.16.2
2022-03-29 12:56:21 -04:00
Dessalines
f7fa1f10f9
Updating translations.
2022-03-29 12:07:39 -04:00
Dessalines
7bb8069224
Version 0.16.2-rc.3
2022-03-29 11:54:13 -04:00
Dessalines
e16821116e
Lowering search rate limit. Fixes #2153 ( #2154 )
...
* Lowering search rate limit. Fixes #2153
* Adding a search rate limit.
* Forgot to add the websocket search rate limit
* Fix wrong op
2022-03-29 15:46:03 +00:00
Dessalines
a11b5b107d
Version 0.16.2-rc.2
2022-03-26 21:37:12 -04:00
Dessalines
f2a0841586
Rate limit websocket joins. ( #2165 )
...
* Rate limit websocket joins.
* Removing async on mutex lock fn.
* Removing redundant ip
* Return early if check fails.
2022-03-27 00:29:05 +00:00
Nutomic
a5ff629b24
Dont log errors when rate limit is hit ( fixes #2157 ) ( #2161 )
...
* Dont log errors when rate limit is hit (fixes #2157 )
* Clone service rather than http request
* some cleanup/refactoring
Co-authored-by: Aode (Lion) <asonix@asonix.dog>
2022-03-25 16:41:38 +01:00
Dessalines
c681bb79b1
Version 0.16.2-rc.1
2022-03-24 18:25:21 -04:00
Dessalines
2da0684e95
Removing check_only
2022-03-24 16:29:08 -04:00
Dessalines
ed9f70276d
Fix rate limit check for register. Fixes #2159
2022-03-24 16:13:58 -04:00
Dessalines
1e9f609cdb
Consolidate and lower reqwest timeouts. Fixes #2150 ( #2151 )
2022-03-24 16:33:23 +00:00
Nutomic
83e996111e
Check that config is valid before saving ( #2152 )
2022-03-24 16:23:12 +00:00
Nutomic
cb44b14717
WIP: Email localization ( fixes #500 ) ( #2053 )
...
* Allow email localization (fixes #500 )
* add PersonAggregates::default()
* add lemmy-translations submodule
* fix gitmodules
2022-03-24 15:25:51 +00:00
Dessalines
4e6d901649
Show rate limit algorithm. Fixes #2136
2022-03-22 18:45:14 +00:00
Nutomic
166ec196b0
Rework error handling ( fixes #1714 ) ( #2135 )
2022-03-16 20:11:49 +00:00
Dessalines
514e2301b5
Version 0.16.1
2022-03-15 17:23:16 -04:00
Dessalines
9fd6a48e3c
Version 0.16.1-rc.1
2022-03-15 16:52:37 -04:00
Dessalines
05f20da51f
Version 0.16.0
2022-03-08 13:45:01 -05:00
Dessalines
82dec1911f
Version 0.16.0-rc.4
2022-03-08 08:57:57 -05:00
Dessalines
15ff832c4a
Version 0.16.0-rc.3
2022-03-07 18:59:29 -05:00
Nutomic
3c5275638f
Increase default worker count ( #2120 )
2022-03-07 22:28:50 +00:00
Dessalines
aef2abb962
Version 0.16.0-rc.2
2022-03-03 14:40:09 -05:00
Nutomic
ef1e164cc5
Make activity queue worker count configurable, log stats ( #2113 )
2022-03-03 18:54:33 +00:00
Nutomic
fa29ffade1
Add timeout for sending activities ( #2112 )
...
* Add timeout for sending activities
* Also set request timeouts in utils/src/request.rs
2022-03-03 13:40:10 -05:00
Rob Ede
b06f3eb32e
Update `actix-*` dependencies to stable v4.
2022-03-02 18:00:52 +00:00
Dessalines
1b5037e92d
Version 0.16.0-rc.1
2022-03-02 12:41:11 -05:00
RedLobster999
348077c3de
send plain-text in email along with html ( #2107 )
...
* send plain text in email along with html
* format the code using "cargo +nightly fmt"
Co-authored-by: kittiphat-kang <kittiphat.nu@easysunday.com>
2022-03-01 14:28:18 +00:00
Nutomic
9f5183fe98
Add site option for default theme ( #2104 )
2022-02-23 11:40:36 -05:00
Nutomic
5a8c894359
Upgrade to Rust 2021 edition ( #2093 )
...
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2022-02-14 15:34:54 +00:00
Nutomic
f1aef63149
Use doku(skip) for opentelemetry_url config value (ref #2085 ) ( #2091 )
2022-02-07 10:39:37 -05:00
Aode (Lion)
1546e5fd0d
Merge remote-tracking branch 'lemmynet/fix_sitemetadata_test' into asonix/document-opentelemetry-url
2022-02-04 20:37:38 -06:00
Dessalines
609d2b99f7
Fix site metadata test.
2022-02-04 18:22:43 -05:00
Aode (lion)
6058b11f6e
Add comment about opentelemetry_url
2022-02-03 17:24:19 -06:00
Dessalines
1372827b41
Adding starttls support. Fixes #1997 ( #2051 )
...
* Adding starttls support. Fixes #1997
* Change name to tls_type, make a string
2022-01-26 16:42:43 +00:00
Dessalines
16271b0a4c
Empty post bodies ( #2050 )
...
* Cleaning optional post bodies. Fixes #2039
* Only trim once.
* Using .map() instead.
* Revert "Using .map() instead."
This reverts commit a2f4907209
.
2022-01-21 13:38:01 +00:00
Dessalines
19ccaf767c
Cleaning optional post bodies. Fixes #2039 ( #2043 )
...
* Cleaning optional post bodies. Fixes #2039
* Only trim once.
* Using .map() instead.
2022-01-20 14:04:54 +00:00
Dessalines
f53902ecff
Version 0.15.1
2022-01-12 09:45:29 -05:00
Dessalines
bccb4f068d
Version 0.15.0
2022-01-12 08:46:35 -05:00
Dessalines
a24676e629
Version 0.15.0-rc.7
2022-01-09 11:09:03 -05:00
Riley
41b90bb162
Add console-subscriber ( #2003 )
...
* Add console-subscriber
* Add larg event buffer capacity
* Add console port to lemmy prod container
* Expose pict-rs console port
* Update pictrs
2022-01-07 09:53:45 -05:00
Riley
3032a2745b
Opentelemetry ( #1992 )
...
* Add otlp export
* Add jaeger to dev docker
* More instrument
* Update deps
* Merge from main.
* Add comment about viewing traces
* Fixing reqwest-tracing dep.
* Update pre-commit regex
* Move imports to top
Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2022-01-06 19:10:20 +00:00
Rens Groothuijsen
661f97a073
Use correct encoding when fetching non-UTF-8 site metadata ( #2015 )
...
* Use correct encoding when fetching non-UTF-8 site metadata
* Style fixes
2022-01-06 13:13:17 +00:00
Rob Ede
f6c13cf313
Updated actix-web dependency to `4.0.0-beta.18`
2021-12-30 18:37:59 +00:00
Dessalines
3065154f4e
Merge pull request #2007 from LemmyNet/another_tokenizer_fix
...
Trying another tokenizer fix. #1964
2021-12-21 17:24:44 -05:00
Kradyz
9f64872d5a
Case-insensitive webfinger response. Fixes #1955 & #1986 ( #2005 )
...
* Make webfinger case insensitive
* Make webfinger case insensitive
* Case insensitive domain name
* Case-insensitive webfinger
* formatting
Co-authored-by: Kradyz <k@radiz.nl>
2021-12-20 17:23:06 -05:00
Dessalines
ad4715c2a3
Trying another tokenizer fix. #1964
2021-12-20 16:57:36 -05:00
Dessalines
c883a49a40
First pass at invite-only migration. ( #1949 )
...
* First pass at invite-only migration.
* Implement email verification (fixes #219 )
* remove unwrap
* Adding views and functionality to registration application. #209
* Add private instance site column, and back end checks.
* Adding some message fields to LoginResponse
* Adding private instance to site setup.
* A few additions:
- Add a DeleteAccount response.
- RegistrationApplicationView now has the safe LocalUserSettings.
- Adding VerifyEmail to websocket API, added a proper response type.
* Adding and reorganizing some email helpers.
* A few fixes for private sites:
- Added a check_registration_application function.
- Only send a verification email if its been changed.
- VerifyEmail now returns LoginResponse.
- Deleting the old tokens after a successful email verify.
- If port is missing on email config, display a better error message.
* Version 0.15.0-rc.3
* Adding published to email_verification table.
* Adding fixes from comments.
* Version 0.15.0-rc.4
* Adding modlog private site check.
* Version 0.15.0-rc.6
Co-authored-by: Felix Ableitner <me@nutomic.com>
2021-12-15 14:49:59 -05:00
Dessalines
1410c5659c
Upgrading deps ( #1995 )
2021-12-14 13:30:37 +00:00
Dessalines
4a46dc805f
Trying out an upgraded version of html5ever. #1964 ( #1991 )
...
* Trying out an upgraded version of html5ever. #1964
* New release of webpage.
2021-12-12 23:49:25 +00:00
Dessalines
161d41999d
Adding min setup password length to the docs. Fixes #1989 ( #1990 )
2021-12-12 16:42:24 +00:00
Aode (lion)
97ebf2f6f3
Consolidate reqwest clients, use reqwest-middleware for tracing
2021-12-06 16:54:34 -06:00
Riley
35cbae61bc
Don't drop error context when adding a message to errors ( #1958 )
...
* Respond directly with LemmyError
Instrument Perform implementations for more precise traces
Use ApiError to format JSON errors when messages are present
Keep SpanTrace output in LemmyError Display impl
* Hide SpanTrace debug output from LemmyError
* Don't log when entering spans, only when leaving
* Update actix-web
* Update actix-rt
* Add newline after error info in LemmyError Display impl
* Propogate span information to blocking operations
* Instrument apub functions
* Use skip_all for more instrument attributes, don't skip 'self' in some api actions
* Make message a static string
* Send proper JSON over websocket
* Add 'message' to LemmyError display if present
* Use a quieter root span builder, don't pretty-print logs
* Keep passwords and emails out of logs
* Re-enable logging Login
* Instrument feeds
* Emit our own errors
* Move error log after status code recording
* Make Sensitive generic over the inner type
* Remove line that logged secrets
2021-12-06 09:54:47 -05:00
Dessalines
040770d7ba
Fix retry infinite loops. Fixes #1964 ( #1967 )
...
* Fix retry infinite loops. Fixes #1964
* Moving retry_limit to settings
2021-12-05 10:03:13 -05:00
Dessalines
ad76c75821
Trying to add docker:latest. Fixes #1959 ( #1960 )
...
* Trying to add docker:latest. Fixes #1959
* Version 0.14.4-rc.3
* Trying to fix clippy on crate build
* Version 0.14.4-rc.4
2021-11-26 12:38:55 +00:00
Dessalines
97b8b9c255
Version 0.14.3
2021-11-23 14:39:55 -05:00
Dessalines
7f01d8cde6
Version 0.14.2
2021-11-23 11:48:49 -05:00
Dessalines
b1f7bad0a3
Version 0.14.2-rc.1
2021-11-23 11:12:46 -05:00
Dessalines
451818749b
Fix min title char count for post titles. Fixes #1854 ( #1940 )
...
* Fix min title char count for post titles. Fixes #1854
* Adding more newline checks for actors.
* Adding helper function
2021-11-23 15:52:58 +00:00
Riley
3fea5645f8
Add tracing ( #1942 )
2021-11-23 12:16:47 +00:00
Felix Ableitner
e88106cef4
Use once_cell instead of lazy_static
2021-11-22 19:58:31 +01:00
Dessalines
a56853be05
Merge pull request #1907 from not-layla/main
...
Implement rate limits on comments
2021-11-18 11:22:38 -05:00
layla
7fe7062c47
Implement rate limits on comments
2021-11-18 13:40:16 +00:00
Dessalines
f4616789a7
Version 0.14.1
2021-11-17 16:25:50 -05:00
Dessalines
c29366328e
Version 0.14.0
2021-11-17 11:28:16 -05:00
Dessalines
dc3858c82d
Version 0.14.0-rc.2
2021-11-17 09:14:54 -05:00
Felix Ableitner
579ca37ddf
Make webfinger standard compliant
2021-11-16 18:03:09 +01:00
Dessalines
497564359b
Version 0.14.0-rc.1
2021-11-11 14:57:25 -05:00
Dessalines
b18ea3e0cc
Renaming to slur_filter. Fixes #1773 ( #1801 )
...
* Renaming to slur_filter. Fixes #1773
* Fixing config
* Updating doku for slur filter.
* Updating doku for slur filter again.
* Remove comment.
2021-10-28 20:47:25 +00:00
Dessalines
40264c17a0
Version 0.13.5-rc.7
2021-10-22 13:26:00 -04:00
Dessalines
23731cd49c
Trying out rust-musl-builder for cargo publish ( #1856 )
...
* Trying out rust-musl-builder for cargo publish
* Version 0.13.5-rc.1
* Try rust:nightly
* Version 0.13.5-rc.2
* Try rust slim
* Version 0.13.5-rc.3
* Try rust 1.51
* Version 0.13.5-rc.4
* Trying another nightly
* Version 0.13.5-rc.5
* Trying another fix
* Version 0.13.5-rc.6
2021-10-21 13:26:01 -04:00
Felix Ableitner
f24999027e
Merge crates db_schema and db_queries
2021-10-20 12:28:08 +02:00
Tmpod
e9d9bc82d8
Add cargo metadata to all crates ( #1853 )
2021-10-19 13:03:43 -04:00
Nutomic
8067244765
Dont swallow API errors ( fixes #1834 ) ( #1837 )
...
Dont swallow API errors (fixes #1834 )
2021-10-13 15:50:21 -04:00
Dessalines
35d0aba9e6
Adding a message_id to emails. Fixes #1807 ( #1826 )
2021-10-12 11:38:55 +00:00
Nutomic
454d3987a5
Generate config docs from code ( #1786 )
...
* Generate config docs from code
* update library
* move settings comments from config.hjson to code
* updte doku to 0.10
* update doku
2021-10-08 11:07:24 -04:00
Dessalines
a99ba2de24
Version 0.13.0
2021-09-29 16:16:46 -04:00
Dessalines
9c50cbf431
Adding a user agent. Fixes #1769 ( #1800 )
...
* Adding a user agent. Fixes #1769
* Fix client duplicate creation.
2021-09-29 16:05:38 -04:00
Dessalines
5a281445a3
Upgrade deps ( #1799 )
...
* Upgrade deps
* Fix web::scope
2021-09-29 14:50:00 -04:00
Nutomic
aee48f3f5d
Ansible changes ( #1781 )
...
* Use env var for config location when saving (not default location)
* Consistent variable formatting for easy replacement with sed
* Remove unmaintained lemmy_dev and uninstall playbooks
* Simplify lemmy.hjson for ansible
* cleanup ansible playbook
* add separate playbook for updating lemmy config
* Revert "add separate playbook for updating lemmy config"
This reverts commit 0a970ae1da
.
2021-09-28 11:34:18 -04:00
Dessalines
37bd9e0e6c
Version 0.13.0-rc.1
2021-09-28 10:59:29 -04:00
Dessalines
8708ad1b44
Moving settings and secrets to context.
2021-09-27 11:25:26 +02:00
Felix Ableitner
cf214ff583
Move jwt secret from config to database ( fixes #1728 )
2021-09-27 11:25:09 +02:00
Nutomic
e84e1193fc
Dont pass accept-encoding header to pictrs (ref #1734 ) ( #1738 )
...
* Allow image upload in docker/dev/ (replaces #1765 )
* Dont pass accept-encoding header to pictrs (ref #1734 )
* Fix clippy errors
2021-09-17 11:44:20 -04:00
Dessalines
e9891977ee
Version 0.12.2-rc.1
2021-09-05 13:59:28 -04:00
Dessalines
df997dff49
Version 0.12.0
2021-09-03 09:23:50 -04:00