Commit Graph

31 Commits (5c6258390c46159c16f49295314c6519215fc6ae)

Author SHA1 Message Date
Dessalines 5c6258390c
Isomorphic docker (#1124)
* Adding a way to GetComments for a community given its name only.

* Adding getcomments to api docs.

* A first pass at locally working isomorphic integration.

* Testing out cargo-husky.

* Testing a fail hook.

* Revert "Testing a fail hook."

This reverts commit 0941cf1736.

* Moving server to top level, now that UI is gone.

* Running cargo fmt using old way.

* Adding nginx, fixing up docker-compose files, fixing docs.

* Trying to re-add API tests.

* Fixing prod dockerfile.

* Redoing nightly fmt

* Trying to fix private message api test.

* Adding CommunityJoin, PostJoin instead of joins from GetComments, etc.

- Fixes #1122

* Fixing fmt.

* Fixing up docs.

* Removing translations.

* Adding apps / clients to readme.

* Fixing main image.

* Using new lemmy-isomorphic-ui with better javascript disabled.

* Try to fix image uploads in federation test

* Revert "Try to fix image uploads in federation test"

This reverts commit a2ddf2a90b.

* Fix post url federation

* Adding some more tests, some still broken.

* Don't need gitattributes anymore.

* Update local federation test setup

* Fixing tests.

* Fixing travis build.

* Fixing travis build, again.

* Changing lemmy-isomorphic-ui to lemmy-ui

* Error in travis build again.

Co-authored-by: Felix Ableitner <me@nutomic.com>
4 years ago
Dessalines 8015f560d6 Adding in a more reliable docker dev build. (The other wouldn't use buildkit). 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 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 186e261fc0 Fixing docker-compose to rely on pictrs 4 years ago
Dessalines cb128256ed Updating nginx.conf, upgrading pict-rs 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 e583e45d9a Use pictrs instead of pictshare 4 years ago
Dessalines 1e88b815da Updating pictshare docker image. 4 years ago
Dessalines bb287cbd07 Adding an admin settings page.
- Fixes #620
- Adding a UserListing component. Fixes #627
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 55f91ac5dc First pass at adding oembeds / iframely. 4 years ago
Dessalines 786be3fa66 Config fixes.
- Adding front_end_dir to settings.
- Adding unit test for PasswordResetRequest encryption.
- Readme points to lemmy.hjson
- Fixing docker prod, dev, and ansible builds.
- Removing redundant env files, as all config is now in a single file.
- Some formatting fixes.
4 years ago
Felix Ableitner 1f7546789a update documentation, docker and ansible files 4 years ago
Dessalines 2bab0370fa Adding restart=always to other docker services. 5 years ago
Dessalines 222cd8325f Changing back to shtripok pictshare. 5 years ago
Dessalines 68e4b61808 Password reset mostly working. 5 years ago
Felix Ableitner 7ea4eca599 Only bind to local ports in docker-compose.yml 5 years ago
Dessalines 35dfe31a39 Externalizing rate limits. Upgrading to Rust 1.38
- Fixes #290
5 years ago
Dessalines d21e020f18 Adding restart always to docker. 5 years ago
Dessalines c39ae06bd4 Allow Image uploads through docker pictshare.
- Fixes #210
5 years ago
Dessalines bdb1c72153 Updating docker-compose to version 3
- Removing health checks.
- #227
5 years ago
Dessalines 431210025d Some fixes for the docker build.
- Messed with readme.
- They needed to be `.env`, not `env`.
- Leaving the nginx file there, but extracting it out of the main setup. Ppl might use apache, or none at all.
- Docker 3.3 doesn't work with the DB health check unfortunately, so I changed that back to 2.4.
- Changed the env in the docker folder so it doesn't need to be edited, someone could just pull this and start it up if they just wanna test it.
5 years ago
Dessalines b3e363828c Reorganizing docker compose files.
- Fixes #197
5 years ago