Commit Graph

3767 Commits (21455d6b73a559e3cbaff894c68d2bf069f06c92)

Author SHA1 Message Date
Felix Ableitner 4eced2518c try caching 2020-12-10 13:33:24 +01:00
Felix Ableitner 331985f0a0 start postgres later 2020-12-10 13:24:16 +01:00
Felix Ableitner 37fc1d721f use volume for diesel cli 2020-12-10 13:21:34 +01:00
Felix Ableitner 82c3778082 change step order for better caching 2020-12-10 13:14:32 +01:00
Felix Ableitner 2d0bf7d40d full diesel path 2020-12-10 13:11:05 +01:00
Felix Ableitner fc382e20e1 install diesel_cli 2020-12-10 13:06:10 +01:00
Felix Ableitner a2cd1ff367 set DATABASE_URL, run diesel migration, separate steps 2020-12-10 13:00:31 +01:00
Felix Ableitner 2d88dfdaef run a query 2020-12-10 12:34:56 +01:00
Felix Ableitner b5b670b8b9 try db connection with psql 2020-12-10 12:31:59 +01:00
Felix Ableitner e02d0f39ec retry service env 2020-12-10 02:10:17 +01:00
Felix Ableitner 003852f884 try to fix postgres service 2020-12-10 02:03:29 +01:00
Felix Ableitner 69c2fe19e4 remove docker socket mount 2020-12-10 01:44:11 +01:00
Felix Ableitner b79c10c122 apt-get -y 2020-12-10 01:26:45 +01:00
Felix Ableitner 94ab4f6164 apt update 2020-12-10 01:24:28 +01:00
Felix Ableitner af2a27935b add espeak and postgres client 2020-12-10 01:23:47 +01:00
Felix Ableitner 5b34d2be6c fix test, run clippy 2020-12-10 00:55:14 +01:00
Felix Ableitner ec13759ca6 use alt docker image 2020-12-10 00:24:14 +01:00
Felix Ableitner b7563bfbf5 set toolchain 2020-12-10 00:17:55 +01:00
Felix Ableitner 7aa686b650 build as root 2020-12-10 00:16:50 +01:00
Felix Ableitner d0e730fed4 perm issues 2 2020-12-10 00:13:53 +01:00
Felix Ableitner 58850a0b0c permission issues 2020-12-10 00:13:21 +01:00
Felix Ableitner ef22f70e18 syntax again 2020-12-10 00:00:43 +01:00
Felix Ableitner 88cd8b2d74 syntax 2020-12-09 23:59:45 +01:00
Felix Ableitner 84ac188cee cargo test + service 2020-12-09 23:58:50 +01:00
Felix Ableitner cdc7df8625 fix 2020-12-09 23:18:52 +01:00
Felix Ableitner 2d011468b4 remove comment 2020-12-09 23:18:10 +01:00
Felix Ableitner 4557f2b03d make debug build 2020-12-09 23:17:32 +01:00
Felix Ableitner b83cafc454 separate steps 2020-12-09 22:43:32 +01:00
Dessalines dabcfca67b Adding tests for current aggregates. 2020-12-09 11:52:10 -05:00
Felix Ableitner 09212bb6b7 fix docker image 2020-12-09 15:00:31 +01:00
Felix Ableitner d3a89a2a22 trigger another build 2020-12-09 14:58:58 +01:00
Felix Ableitner bfd306e9de add volume back in 2020-12-09 14:56:45 +01:00
Felix Ableitner cb9a06e249 Minor grammar change in docs 2020-12-09 12:34:50 +01:00
Felix Ableitner f9f95a2b92 try plugins/docker image 2020-12-08 21:30:05 +01:00
Felix Ableitner 91be01fd63 docker in docker 2020-12-08 21:27:03 +01:00
Felix Ableitner 04fe7c29cb remove workspace, fix paths 2020-12-08 21:25:24 +01:00
Felix Ableitner df0f609cce log dir 2020-12-08 21:23:54 +01:00
Felix Ableitner e8ffa283f2 fix docker image? 2020-12-08 21:22:36 +01:00
Felix Ableitner b04944d9a5 try manually without sudo 2020-12-08 21:20:23 +01:00
Felix Ableitner eb06bbfef7 run test script 2020-12-08 21:17:11 +01:00
Felix Ableitner 0e364a4efe remove volume 2020-12-08 21:15:04 +01:00
Felix Ableitner d3b2ce7b35 wip: add drone ci, remove travis ci 2020-12-08 21:13:53 +01:00
Dessalines 742b78523a Merge branch 'main' into move_views_to_diesel 2020-12-08 13:31:25 -05:00
Dessalines a432f939b6 Merge remote-tracking branch 'yerba/main' into main 2020-12-08 13:31:09 -05:00
dessalines 6908feb3ba Merge pull request 'Some more minor docs changes' (#149) from more-docs into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/149
2020-12-08 18:31:45 +00:00
Dessalines 46e38bf714 Merge branch 'main' into move_views_to_diesel 2020-12-08 13:17:55 -05:00
Felix Ableitner 5010f693ba Some more minor docs changes 2020-12-08 19:09:11 +01:00
Felix Ableitner 08ab85a9d5 Remove logging to find bug (yerbamate.ml/LemmyNet/lemmy/pulls/146) 2020-12-08 12:48:18 -05:00
Dessalines 16deec7443 Merge remote-tracking branch 'yerba/main' into main 2020-12-08 12:38:21 -05:00
Nutomic 9cc1cfc973
Apub local object handling (#1297)
* Limit visibility of some traits and methods

* WIP: alternative way to handle non-local object parsing

* finish this

* cleanup

* Move check for locked post into Comment::from_apub()

* Mark user as updated after fetching

* Should set last_refreshed_at, not updated

* Add ApubObject trait in DB, with method read_from_apub_id()

* Create shared, generic implementation for `FromApub`, prefer local data

* Check for community ban when parsing post/comment (fixes #1287)

* Fix tests (changes in get_object_from_apub() prevented `Update` from working)

* Support parsing `like.object` either as URL or object

* Send out like.object as URL, instead of full object (fixes #1283)

* add todo
2020-12-08 12:38:48 -05:00