Commit graph

70 commits

Author SHA1 Message Date
dessalines db4fe8031c Merge pull request 'Insert announced activities into DB for fetching (fixes #1494)' (#187) from insert-local-announce into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/187
2021-03-16 13:47:32 +00:00
Nutomic 72b5e0cab5
Merge pull request #1491 from LemmyNet/upgrade_pictrs_3
Upgrading pictrs.
2021-03-15 12:14:31 +00:00
Dessalines 0a7271a185 Upgrading pictrs. 2021-03-12 10:13:20 -05:00
nutomic fc74bfeb23 Add memory limit for pictrs 2021-03-10 18:38:00 +00:00
Patrick Mulligan a650312858 revert Compose file version from 3.3 to 2.2 2021-03-08 09:23:50 -06:00
Dessalines ff2c71a74a Adding more mem limits 2021-03-04 22:41:08 -05:00
Dessalines 462c4a2954
Rewrite settings implementation. Fixes #1270 (#1433)
* A first attempt at using deser-hjson. Fixes #1270

* Trying to fix tests, try 1

* Trying to fix tests, try 2

* A few fixes to deser_hjson

- Removing unwrap_or_defaults, using impl functions.
- Reorganized settings

* Make clippy happy

* hjson list strings must be quoted.

* Adding support for env vars.

* Moving to structs and defaults file.

* Moving settings default and struct.
2021-03-01 17:24:11 +00:00
Dessalines d5d99fa3b9
Moving docs to join.lemmy.ml . Fixes #1396 (#1410)
* Moving docs to join.lemmy.ml . Fixes #1396

* Removing submodule fetch from drone.
2021-02-05 12:30:49 +00:00
Felix Ableitner db0a51de2a Handle long activitystreams header in nginx config (ref #1322) 2020-12-16 18:24:14 +01:00
Felix Ableitner 998e824bd8 Add IP forwarding headers to nginx config (fixes #1318) 2020-12-15 15:01:37 +01:00
Dessalines 01a14e3b3c
Change references of dev.lemmy.ml to lemmy.ml (#1281)
* Change references of dev.lemmy.ml to lemmy.ml

* Remove the dev.lemmy.ml refs in RELEASES.md
2020-11-26 11:47:01 -05:00
Dessalines 5e2a5c0266
Upgrading pictrs to v0.2.5 (#1249) 2020-11-02 18:12:21 +00:00
Dessalines 2527c59e55
Fixing ansible for ubuntu 20.04 (#1218)
* Fixing ansible for ubuntu 20.04

* Changing federation to false.
2020-10-22 14:32:56 +00:00
Dessalines 1b62e65a5d
Fix IP forwarding headers. Fixes #1214 (#1215) 2020-10-21 09:47:45 +00:00
Dessalines dd99e77881
Upgrade pictrs to v0.2.4-r0 (#1212) 2020-10-20 10:44:55 +00:00
Felix Ableitner e190ecbefb Make lemmy-ui restart: always 2020-10-19 12:18:05 +02:00
Dessalines c87a009b37 Altering lemmy pict-rs-v2 forwarding. 2020-10-14 11:48:10 -05:00
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