Commit graph

4804 commits

Author SHA1 Message Date
Dessalines 16a0f39321 taplo is the same image. 2024-05-16 14:51:59 -04:00
Dessalines 4b8118dce9 Use a smaller taplo. 2024-05-16 14:50:38 -04:00
Dessalines ae8c062f69 Extract taplo into its own image, ignore binstall. 2024-05-16 14:49:03 -04:00
Dessalines 5dad74b732 Removing binstall. 2024-05-16 14:42:29 -04:00
Dessalines 6aafc2066c Add logging line 4. 2024-05-16 14:37:56 -04:00
Dessalines 3340ab3a7a Add logging line 3. 2024-05-16 14:28:40 -04:00
Dessalines 332c7ef454 Add logging line 2. 2024-05-16 14:24:41 -04:00
Dessalines f60c2df222 Add logging line. 2024-05-16 12:33:21 -04:00
Dessalines ca65ddc631 Try installing mysql and postgres 13. 2024-05-16 12:31:28 -04:00
Dessalines bc227d1672 Try installing mysql and postgres 12. 2024-05-16 12:27:53 -04:00
Dessalines b05a53e664 Try installing mysql and postgres 11. 2024-05-16 12:25:49 -04:00
Dessalines 136f0f38f8 Try installing mysql and postgres 10. 2024-05-16 12:24:06 -04:00
Dessalines eabc8465af Try installing mysql and postgres 9. 2024-05-16 12:20:00 -04:00
Dessalines 6f757053d4 Try installing mysql and postgres 8. 2024-05-16 12:16:36 -04:00
Dessalines 7b9db7998e Try installing mysql and postgres 7. 2024-05-16 12:14:53 -04:00
Dessalines 7f7381589f Try installing mysql and postgres 6. 2024-05-16 12:11:01 -04:00
Dessalines 1a913e1091 Try installing mysql and postgres 5. 2024-05-16 12:07:41 -04:00
Dessalines 0c9124e94f Try installing mysql and postgres 4. 2024-05-16 12:05:29 -04:00
Dessalines b556975e93 Try installing mysql and postgres 3. 2024-05-16 11:58:48 -04:00
Dessalines 2c834beec4 Try installing mysql and postgres 2. 2024-05-16 11:29:38 -04:00
Dessalines e75d5020c4 Try installing mysql and postgres. 2024-05-16 11:26:15 -04:00
Dessalines 5cf116bf45 Abstracting diesel cli install. 2024-05-16 11:17:47 -04:00
Dessalines 02036cf1a4 Try path fix. 2024-05-16 11:13:44 -04:00
Dessalines 054910305f Try removing features. 2024-05-16 11:11:56 -04:00
Dessalines 7cb5289064 Try sequence merges 1 2024-05-16 11:10:13 -04:00
Dessalines 8f34d977b3 Trying out a multiline var. 2024-05-16 10:50:47 -04:00
Dessalines 42e2dfea4b Stop using a diesel_cli docker image, use cargo-binstall in woodpecker.
- The diesel_cli image is 500MB, and rebuilt daily. Much easier to use
  binstall to install it.
2024-05-16 10:36:23 -04:00
Nutomic 93c9a5f2b1
Dont federate post locking via Update activity (#4717)
* Dont federate post locking via Update activity

* cleanup

* add missing mod log entries

* update assets
2024-05-15 07:36:00 -04:00
Nutomic 9a9d518153
Fix import blocked objects (#4712)
* Allow importing partial backup (fixes #4672)

* Fetch blocked objects if not known locally (fixes #4669)

* extract helper fn

* add comment

* cleanup

* remove test

* fmt

* remove .ok()
2024-05-14 23:03:43 -04:00
Nutomic 7fb03c502e
Add test to ensure reports are sent to user's home instance (ref #4701) (#4711)
* Add test to ensure reports are sent to user's home instance (ref #4701)

* enable all tests

* set package-manager-strict=false
2024-05-14 22:48:24 -04:00
Nutomic 49bb17b583
Stricter rate limit for login (#4718) 2024-05-14 22:43:43 -04:00
Nutomic 723cb549d4
Allow importing partial backup (fixes #4672) (#4705)
* Allow importing partial backup (fixes #4672)

* Dont throw error on empty LocalUser::update

* fix tests
2024-05-14 22:37:30 -04:00
Nutomic 8b6a4c060e
Make nodeinfo standard compliant, upgrade to nodeinfo 2.1 (fixes #4702) (#4706)
* Always set activitypub protocol in nodeinfo response (fixes #4702)

* Add mandatory fields
2024-05-13 22:53:20 -04:00
Dessalines cb80980027 Version 0.19.4-beta.7 2024-05-11 13:51:09 -04:00
dullbananas c4fc3a8ede
Optimize stuff in attempt to fix high amount of locks, and fix comment_aggregates.child_count (#4696)
* separate triggers

* auto_explain.log_triggers=on

* Revert "auto_explain.log_triggers=on"

This reverts commit 078b2dbb9b.

* Revert "separate triggers"

This reverts commit 95600da4af.

* bring back migration

* re-order statements

* add comment about statement ordering

* no redundant updates

* optimize post_aggregates update in comment trigger

* set comment path in trigger

* update comment_aggregates.child_count using trigger

* move `LEFT JOIN post` to inner query

* clean up newest_comment_time_necro

* add down.sql
2024-05-09 08:18:55 -04:00
Nutomic b4f9ef24a5
Dont exit early when running only scheduled tasks (#4707)
* Dont exit early when running only scheduled tasks (fixes #4709)

* fix
2024-05-08 14:56:44 +02:00
Nutomic 866d752a3c
Instance.preferred_username should be optional (fixes #4701) (#4713) 2024-05-08 08:01:04 -04:00
Nutomic e0b1d0553d
Add timeout for processing incoming activities (#4708)
* Add timeout for processing incoming activities

* move to const
2024-05-08 08:00:55 -04:00
Nutomic 7c146272c3
Federate with wordpress, improvements for NodeBB, Discourse federation (#4692)
* Federate with wordpress

* upgrade apub lib with fix

* Also read post's community from `audience`

* cleanup

* cargo update

* upgrade apub lib

* add wordpress test activity
2024-05-07 16:20:43 -04:00
Nutomic cfdc732d3a
On registration set show_nsfw based on site.content_warning (#4616)
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
2024-05-07 16:18:58 -04:00
Tim Coombs 522f974e30
fix: use docker compose v2 (#4622)
* fix: use docker compose v2

* Using sudo tee.

* fix: correct postgres sed command

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
2024-05-07 11:41:40 +02:00
SleeplessOne1917 b152be7951
Update rustls (#4690)
* Update rustls

* Format code
2024-05-03 16:06:14 -04:00
SleeplessOne1917 485b0f1a54
Replace unmaintained encoding dep with maintained encoding_rs dep (#4694)
* Replace dependency on unmaintained encoding crate with dep on maintained encoding_rs crate

* Update lockfile

* Taplo format Cargo.toml

* Use better variable name

* Replace into_owned with into
2024-05-03 10:42:48 +00:00
Nutomic 7540b02723
Update activitypub library (#4691)
https://github.com/LemmyNet/activitypub-federation-rust/releases/tag/0.5.5
2024-05-02 12:46:34 -04:00
Nutomic 7746db4169
Testing and minor fix for federation with Discourse (#4628)
* Testing and minor fix for federation with Discourse

* prettier
2024-05-02 07:49:19 -04:00
Dessalines db2ce81fc4
Show trigger logging. #4681 (#4688) 2024-05-01 18:46:14 -04:00
renovate[bot] 4175a1af80
chore(deps): update rust crate serde_with to 3.8.1 (#4687)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-30 23:47:02 -04:00
renovate[bot] 563280456e
chore(deps): update pnpm to v9.0.6 (#4682)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-30 23:43:14 -04:00
Dessalines 2fecb7ecdf
Dont show own comments for liked and disliked_only. Fixes #4675 (#4679)
Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
2024-04-30 23:26:55 -04:00
renovate[bot] 2c6f9c7fd5
chore(deps): update rust crate serde to 1.0.199 (#4684)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-30 23:17:23 -04:00