Commit Graph

96 Commits (c239b9af83fd948d2c36fa5d38ea9b5f9d9353cf)

Author SHA1 Message Date
Dessalines 3a6982e7b2 Adding rate_limiter and api_structs. 4 years ago
Dessalines 8015f560d6 Adding in a more reliable docker dev build. (The other wouldn't use buildkit). 4 years ago
Dessalines e3140235de Use romacs cargo-build-deps tool. 4 years ago
Dessalines dc1bc741b4 Fixing docker caching. 4 years ago
Dessalines 34e539cdc0 Updating dev docker-compose. 4 years ago
nutomic c34fffc2c4 Proxy pictrs requests through Lemmy (fixes #371) (#77)
fix check_only value for image rate limit

Fix image rate limit

Add rate limit for image uploads

Proxy pictrs requests through Lemmy (fixes #371)

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/77
4 years ago
Dessalines 49bd28e2d4
Adding visual captchas for register and login. (#1027)
* Adding visual captchas for register and login.

* Adding audio wav file for Captcha using espeak.

* Lots of captcha fixes.

- Removed login captchas.
- Added settings to disable captchas, and change difficulty.
- Captchas can only be checked / used once, front end gives a new one on
  failure.
- Added front end button for regenerating captcha.
- Added a disabled / pause button audio playing.

* Some more fixes.
4 years ago
Dessalines 22a33929e2
Adding docker workspace caching. Fixes #940 (#958) 4 years ago
nutomic 80aef61aed Split code into cargo workspaces (#67)
More fixes

- fixed docker builds
- fixed mentions regex test
- fixed DATABASE_URL stuff
- change schema path in diesel.toml

Address review comments

- add jsonb column back into activity table
- remove authors field from cargo.toml
- adjust LEMMY_DATABASE_URL env var usage
- rename all occurences of LEMMY_DATABASE_URL to DATABASE_URL

Decouple utils and db

Split code into cargo workspaces

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/67
4 years ago
Dessalines 284f00249a
Going back from jolt to dogbin iframely. jolt one had problems. (#900) 4 years ago
Dessalines cd007febef Merge branch 'master' into federation 4 years ago
Riley a074564458
Federation async (#848)
* Asyncify more

* I guess these changed

* Clean PR a bit

* Convert more away from failure error

* config changes for testing federation

* It was DNS

So actix-web's client relies on TRust DNS Resolver to figure out
where to send data, but TRust DNS Resolver seems to not play nice
with docker, which expressed itself as not resolving the name to
an IP address _the first time_ when making a request. The fix was
literally to make the request again (which I limited to 3 times
total, and not exceeding the request timeout in total)

* Only retry for connecterror

Since TRust DNS Resolver was causing ConnectError::Timeout,
this change limits the retry to only this error, returning
immediately for any other error

* Use http sig norm 0.4.0-alpha for actix-web 3.0 support

* Blocking function, retry http requests

* cargo +nightly fmt

* Only create one pictrs dir

* Don't yarn build

* cargo +nightly fmt
4 years ago
Dessalines c0b11d4fa3
Replacing dogbin/iframely docker image with jolt one. (#869)
* Replacing dogbin/iframely docker image with jolt one.

* Replacing dogbin/iframely docker image with jolt one.
4 years ago
Dessalines 0112d0d955 Fixing test deploy, adding a rate limiter to ansible nginx config. 4 years ago
Dessalines dc94e58cbf Merge branch 'master' into federation_merge_from_master_2 4 years ago
Dessalines 983a45e178 Merge branch 'master' into iav-arm-musl-dessalines 4 years ago
Dessalines 186e261fc0 Fixing docker-compose to rely on pictrs 4 years ago
Dessalines cb128256ed Updating nginx.conf, upgrading pict-rs 4 years ago
Dessalines bda657b638 Some reorg of Dockerfiles. 4 years ago
Igor Velkov 6f58be9493 dockerfile for x64 and arm building with musl 4 years ago
Dessalines 5594bed6a8 Merge branch 'master' into use-pictrs-1 4 years ago
Dessalines f647f2ae6c Blocking pict-rs import location 4 years ago
Dessalines 7cb7c1f0f9 Adding lld to docker builds. #810 4 years ago
Felix Ableitner 4ea6c4ad5d Various build optimizations 4 years ago
Dessalines cddc23494d Upgrading pict-rs for working gifs. 4 years ago
Dessalines 4cf1f080bf Adding delete picture via pict-rs delete tokens. Fixes #505 4 years ago
Dessalines bd26e4e9c1 Fixing some front end pictshare to pictrs conversions. 4 years ago
Felix Ableitner 0f1a8ec928 Merge branch 'master' into federation 4 years ago
Felix Ableitner e583e45d9a Use pictrs instead of pictshare 4 years ago
Dessalines 1e88b815da Updating pictshare docker image. 4 years ago
Felix 5753c4feaa Let community announce posts 4 years ago
Felix 4e80543edb Update test_deploy.sh, supporting different branches 4 years ago
Dessalines 6d5518cbd4 Merge branch 'dev' into admin_settings 4 years ago
Dessalines b9aef5891f Fixing test deploy. 4 years ago
Dessalines bb287cbd07 Adding an admin settings page.
- Fixes #620
- Adding a UserListing component. Fixes #627
4 years ago
Dessalines 6e5729c660 Fixing deploy script. 4 years ago
Dessalines dc14719b08 Updating rust, rust deps, yarn deps. Fixes #605 4 years ago
Dessalines 62ab68d317 Adding full logging. 4 years ago
nutomic bf1db428f6 Move volumes into subfolder (ref #474) (#23)
Change ports and container names

Move volumes into subfolder (ref #474)

Merge pull request #587 from StaticallyTypedRice/patch-2

Clarify that content violating this code of conduct will likely be removed.
Clarify that content violating this code of conduct will likely be removed.

Lemmy has a general policy of removing any content that violates the rules whenever possible, which is typically a good thing, and I felt it important to mention that in the code of conduct.

Co-authored-by: Felix <me@nutomic.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: Richie Zhang <12566991+StaticallyTypedRice@users.noreply.github.com>
4 years ago
Dessalines 9c50d5f073 Fix weblate deploy. 4 years ago
Dessalines 565524a80b Adding git add to deploy. 4 years ago
Felix Ableitner ee7949a0fc update deploy script to pull translations from weblate 4 years ago
Dessalines 55f91ac5dc First pass at adding oembeds / iframely. 4 years ago
Felix 032ebe7a9e Integrate email relay in Ansible setup 4 years ago
Dessalines f2f9502ab6 Merge pull request #498 from iav/docs4arm
Add doc compilation to multiplatform workflow
4 years ago
Igor Velkov c6c95204f8 Add doc compilation to multiplatform workflow
Change rust builder version to current
4 years ago
Dessalines 025d6dcd80 Fixing ansible deploy. 4 years ago
Dessalines cc6c173828 Formatting translation file, changing deploy script to const. 4 years ago
Dessalines 222374583b Adding to deploy. 5 years ago
Dessalines 5c5650d123 Fix aarch64 dockerfile. 5 years ago