Commit Graph

53 Commits (863a662ec6b14b62cb8b6f3ede286bc258d41de0)

Author SHA1 Message Date
Dessalines 7cc5f53cad Add line showing default ports for nginx. Fixes #1167 2020-10-03 09:53:48 -05:00
Dessalines 698fb20c12
Fixing ansible install. (#1150)
* Fixing ansible install.

* Fixing LEMMY_EXTERNAL_HOST docs.
2020-09-24 09:47:24 -04:00
Dessalines 2bee3ac33b Fix nginx docs, fix test deploy. 2020-09-22 11:28:16 -05:00
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>
2020-09-15 15:26:47 -04:00
Felix Ableitner 51b410ce01 Disable rate limiting for pictrs 2020-08-10 14:19:53 +02:00
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
2020-08-05 16:00:00 +00:00
alltheseteeth 4acd3c5bd2
added trailing slash fix to every nginx conf I could find (#1046) 2020-08-01 19:33:39 -04:00
Felix Ableitner bbcb782b33 Remove proxy_cache from nginx config 2020-07-21 18:10:53 +02:00
Dessalines 284f00249a
Going back from jolt to dogbin iframely. jolt one had problems. (#900) 2020-07-03 18:19:24 +00:00
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.
2020-06-30 11:11:36 +00:00
Dessalines 0112d0d955 Fixing test deploy, adding a rate limiter to ansible nginx config. 2020-06-28 13:44:42 -04:00
Felix Ableitner a9d98fd09b Improve config files by adding documentation and removing some fields 2020-06-24 16:09:52 +02:00
Dessalines 040bd4361f Fixing nginx.conf, adding nginx config update to releases.md. 2020-06-22 14:48:46 -04:00
Dessalines cb128256ed Updating nginx.conf, upgrading pict-rs 2020-06-22 08:31:15 -04:00
Dessalines 6dea945a3a Pictshare image redirect. 2020-06-13 15:24:53 -04:00
Dessalines f647f2ae6c Blocking pict-rs import location 2020-06-12 17:05:19 -04:00
Dessalines bd26e4e9c1 Fixing some front end pictshare to pictrs conversions. 2020-06-09 17:17:24 -04:00
Felix Ableitner e583e45d9a Use pictrs instead of pictshare 2020-06-08 19:52:32 +02:00
Felix Ableitner b2a7ce834d Enable gzip compression for .svg 2020-06-03 11:59:39 +02:00
Dessalines 1e88b815da Updating pictshare docker image. 2020-06-02 19:29:29 -04:00
Dessalines 36312e91e4 Revert "Deploy multiple Lemmy instances to the same server (ref #474)"
This reverts commit aa341933da.
2020-03-28 18:18:20 -04:00
Dessalines a03b9d8f02 Changing rust logging to error on ansible and prod. 2020-03-20 22:22:53 -04:00
Dessalines f85242af28 Merge branch 'nutomic-multiple-instances' into dev 2020-03-18 22:37:33 -04:00
Dessalines 62ab68d317 Adding full logging. 2020-03-13 11:08:42 -04:00
Felix 6c31a1f9cc Deploy multiple Lemmy instances to the same server (ref #474) 2020-03-11 01:05:50 +01:00
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>
2020-03-09 16:50:28 +00:00
Dessalines 55f91ac5dc First pass at adding oembeds / iframely. 2020-02-17 11:18:01 -05:00
Felix 032ebe7a9e Integrate email relay in Ansible setup 2020-02-03 14:10:24 +01:00
Dessalines a2267aa056 Version v0.6.9 2020-02-02 17:15:48 -05:00
Dessalines 142b19bf86 Updating ansible version. 2020-02-02 12:54:35 -05:00
Felix 91234db53b Fix Ansible installation, add uninstall playbook 2020-01-28 17:39:27 +01:00
Dessalines e603b52a5b Adding proxy_cache. #408 2020-01-12 13:28:05 -05:00
Dessalines 146e405979 Adding image caching via immutable to ansible. #371 #408 2020-01-12 12:58:06 -05:00
Dessalines 8da44c343d Fixing ansible deploy. 2019-12-28 20:22:53 -05:00
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.
2019-12-28 16:11:03 -05:00
Felix Ableitner 1f7546789a update documentation, docker and ansible files 2019-12-27 17:28:46 +01:00
Dessalines e4cea91ea8 Fix nginx config. 2019-12-13 18:38:30 -08:00
Dessalines 665dca80d0 Moving front end routes from nginx to actix
- Fixes #363
2019-12-11 21:28:33 -08:00
Dessalines a6810da992 Fixing inbox nginx config due to adding feeds/inbox. 2019-12-07 18:18:05 -08:00
Dessalines ab53840324 Upping rate limit for register and community creation to 3/hour.
- Fixes #353
2019-12-06 20:57:48 -08:00
Dessalines 32c1d56bc7 Fixing issue with wrongly routed rss feeds.
- Fixes #352
2019-12-01 19:47:17 -08:00
Dessalines 3021d19e1f Fixing ansible build, and email link. 2019-11-02 13:07:19 -07:00
Dessalines 68e4b61808 Password reset mostly working. 2019-11-01 23:41:57 -07:00
Dessalines 3d987210cd Adding ansible defaults. 2019-10-13 16:24:15 -07:00
Dessalines bd40a784cf Adding image cache max. 2019-09-08 11:32:39 -07:00
Dessalines c39ae06bd4 Allow Image uploads through docker pictshare.
- Fixes #210
2019-09-07 20:42:01 -07:00
Dessalines 951a3d0616 Some fixes for ansible.
- Also updating the nginx template
- Updating deploy.sh
2019-09-02 10:37:30 -07:00
Dessalines 28d3207b23 Fixing ansible build.
- Fixes #227
2019-08-30 12:52:02 -07:00
Dessalines f474904a46 Fixing nginx config.
- Fixes #247
2019-08-29 11:40:23 -07:00
Felix Ableitner 5e44ac207b copy template files into docker/prod folder 2019-08-20 19:51:07 +02:00