Commit Graph

452 Commits (bfd8f52497ced3e252a240f61f9ecb53258702ec)

Author SHA1 Message Date
Dessalines abadc79756 Fix community_view clippy 4 years ago
Dessalines dd0418af18 Version v0.7.50 4 years ago
Dessalines 49892690ff Version v0.7.49 4 years ago
Felix Ableitner c1f48d6a0e In federation test setup, run yarn build by default 4 years ago
Dessalines 0acd0bba3a Version v0.7.48 4 years ago
Dessalines 5e9ffde0b1 Version v0.7.47 4 years ago
Dessalines 71a0dd4cc9 Version v0.7.46 4 years ago
Dessalines 992b3ca95b Some UI fixes. 4 years ago
Dessalines ce8622b9cd Version v0.7.43 4 years ago
Dessalines 3e5d5abd53 Version v0.7.42 4 years ago
Dessalines e645386842 Version v0.7.41 4 years ago
Dessalines 88bd368660 Version v0.7.40 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 e9e1497830
Add bio federation. (#1052)
* Re-organizing federation tests. #746 #1040

* Adding federation support for user bios. Fixes #992
4 years ago
Dessalines e336e5bcc0
Re-organizing federation tests. #746 #1040 (#1047)
* Re-organizing federation tests. #746 #1040

* Add more checks in inbox, plus some refactoring (#76)

Merge branch 'main' into more-inbox-permissions

Move check_community_ban() into helper function

Move slur check into helper functions

Move Claims::decode and site ban check into helper function

Note: this changes behaviour in that site ban is checked in more
places now. we could easily add a boolean parameter
check_for_site_ban to get the previous behaviour back

Rewrite user_inbox and community_inbox in the same way as shared_inbox

Add check against instance allowlist etc in shared_inbox

Co-authored-by: dessalines <dessalines@noreply.yerbamate.dev>
Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/76

* Adding verbose to test results.

Co-authored-by: nutomic <nutomic@noreply.yerbamate.dev>
Co-authored-by: dessalines <dessalines@noreply.yerbamate.dev>
Co-authored-by: Felix Ableitner <me@nutomic.com>
4 years ago
Dessalines ce874e183b Version v0.7.39 4 years ago
Dessalines 5b23595710 Version v0.7.38 4 years ago
Dessalines dee5c302a8 Version v0.7.37 4 years ago
alltheseteeth 4acd3c5bd2
added trailing slash fix to every nginx conf I could find (#1046) 4 years ago
Dessalines 1a0f70450c Version v0.7.36 4 years ago
Dessalines dc4ac6345c Version v0.7.35 4 years ago
Dessalines 25e61b276a Version v0.7.34 4 years ago
Dessalines 04cb1e0161 Version v0.7.33 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 5dd0efb280 Version v0.7.32 4 years ago
Dessalines 52b221e3c9 Version v0.7.31 4 years ago
Dessalines 617d636432 Version v0.7.30 4 years ago
Dessalines 0ff9af5ba5 Version v0.7.29 4 years ago
Dessalines edb2e40383
Automated travis docker testing and deploys. (#1023)
* Testing out a travis 1.

* Testing out a travis 2.

* Testing out a travis 3.

* Testing out a travis 4.

* Testing out a travis 5.

* Testing out a travis 6. Trying a failing test

* Testing out a travis 7. Trying to cache the docker images.

* Testing out a travis 8. Still not correctly failing.

* Trying full path for docker_images dir.

* Fixing test again, trying a dockerhub deploy.

* Fixing test again, trying a dockerhub deploy 2.

* Remove caching.

* Trying to fix docker deploy.

* Try using the travis tag

* Using dessalines/lemmy:travis

* Try using the prod dockerfile now.

* Update http sigs dependency

* Finally getting this mostly working.

Co-authored-by: asonix <asonix@asonix.dog>
4 years ago
Dessalines edfd10262f Version v0.7.28 4 years ago
Dessalines db0d213710 Version v0.7.26 4 years ago
Dessalines 55ce7b1339
Adding version to GetSite. Fixes #1001 (#1002)
* Adding version to GetSite. Fixes #1001

* Removing version.ts file
4 years ago
Dessalines 3342a6a910 Version v0.7.25 4 years ago
Dessalines 2a206e1b4d Version v0.7.24 4 years ago
Dessalines c4d54fc427 Updating deploy to use weblate/main 4 years ago
Dessalines 1e30fcf235 Version v0.7.23 4 years ago
Dessalines f69f044aaa Version v0.7.22 4 years ago
Dessalines 2f5e191b2d Changing references from master to main. #820 4 years ago
Dessalines 70f15ffd6f Version v0.7.21 4 years ago
Dessalines 5ccf81349e Version v0.7.20 4 years ago
Dessalines 52983907c4 Version v0.7.19 4 years ago
Dessalines abe7a41f58 Version v0.7.18 4 years ago
Dessalines 22a33929e2
Adding docker workspace caching. Fixes #940 (#958) 4 years ago
Dessalines f0357bc988 Version v0.7.17 4 years ago
Dessalines d63eb7c8f5 Version v0.7.16 4 years ago
Dessalines cb77339370 Version v0.7.15 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 debbd316c2 Version v0.7.14 4 years ago
Dessalines d720993141 Merge branch 'master' into migrate-apub-lib 4 years ago
Felix Ableitner c9338027f2 Migrate user and group to new activitystreams library 4 years ago
Dessalines cd5f500d11 Version v0.7.13 4 years ago
Dessalines 8fda7d00d5 Version v0.7.12 4 years ago
Riley ce8e22ae3b
Improve import script UI, errors (#887)
* Improve import script UI, errors

* Fix jq check

* Add space between ! and which
4 years ago
Dessalines 6780855b1f Version v0.7.11 4 years ago
Dessalines bca62cbf0f Version v0.7.10 4 years ago
Dessalines e95992b704 Version v0.7.9 4 years ago
Dessalines 284f00249a
Going back from jolt to dogbin iframely. jolt one had problems. (#900) 4 years ago
Dessalines 9e1e12f6ce Version v0.7.8 4 years ago
Dessalines 8d49dc958e Version v0.7.7 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 5c03e9e9ee Version v0.7.6 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 eded51aab6 Version v0.7.5 4 years ago
Dessalines 15ea264fcf Version v0.7.4 4 years ago
Dessalines c10a05cb68 Version v0.7.3 4 years ago
Dessalines 0112d0d955 Fixing test deploy, adding a rate limiter to ansible nginx config. 4 years ago
Dessalines 4c1cb5999c Fixing some scripts for the federation-test 4 years ago
Dessalines e517de5480 Merge branch 'master' into federation 4 years ago
Dessalines bd3051e058 Merge branch 'master' into improve-config 4 years ago
Dessalines b6fc1959e6 Merge branch 'improve-config' of https://yerbamate.dev/LemmyNet/lemmy into improve-config 4 years ago
Dessalines da2bb724e9 Version v0.7.2 4 years ago
Dessalines 86dc50f9f0 Some fixes to federation.
- Advanced code migrations now disable then re-enable triggers.
  Brings run time down to < 15 seconds, no need to thread them.
- Changing ap_ids and actor_ids in migrations to a fake url,
  so it doesn't break XsdAnyUri in activitystreams.
4 years ago
Felix Ableitner 0c89de8065 Fix previous comment, also fix link in docs 4 years ago
Dessalines 3928556033 Merge branch 'master' into improve-config 4 years ago
Dessalines 6e736e1f1e Version v0.7.1 4 years ago
Felix Ableitner a9d98fd09b Improve config files by adding documentation and removing some fields 4 years ago
Dessalines dc94e58cbf Merge branch 'master' into federation_merge_from_master_2 4 years ago
Dessalines 0680dd2398 Version v0.7.0 4 years ago
Dessalines 27f2fd352a Version v0.6.85 4 years ago
Dessalines 5d1212b83c Version v0.6.84 4 years ago
Dessalines 11f771469f Version v0.6.83 4 years ago
Dessalines e3484de3b8 Merge branch 'master' into iav-arm-musl-dessalines 4 years ago
Dessalines 54c735841e Version v0.6.82 4 years ago
Dessalines c9dcb2662c Version v0.6.81 4 years ago
Dessalines 234be6fb09 Changing to prod_lemmy:latest 4 years ago
Dessalines 32d1f42626 Version v0.6.80 4 years ago
Dessalines 1b38e33bd3 Fixing deploy script. 4 years ago
Dessalines 132e3534de Removing some commented lines from the dockerfile. 4 years ago
Dessalines 983a45e178 Merge branch 'master' into iav-arm-musl-dessalines 4 years ago
Dessalines cbed185040 Version v0.6.79 4 years ago
Dessalines 186e261fc0 Fixing docker-compose to rely on pictrs 4 years ago
Dessalines 1fa7d17e35 Version v0.6.78 4 years ago
Dessalines b161cad982 Fixing up the migration script some more. 4 years ago
Dessalines 4332828dd7 Fixing some things in the pictrs upgrade script. 4 years ago
Dessalines 5872658f8c Checking for imagemagick install. 4 years ago
Dessalines cb128256ed Updating nginx.conf, upgrading pict-rs 4 years ago
Dessalines ceb1284f27 Fixing deploy.sh 4 years ago
Dessalines 207caeda5b Version v0.6.77 4 years ago
Dessalines 294acfe412 Version v0.6.76 4 years ago