Commit Graph

139 Commits

Author SHA1 Message Date
Syfaro
3e144828c8 Include when results were posted. 2021-12-12 18:14:52 -05:00
Syfaro
424d4c54f4 Remove unused video code. 2021-12-10 17:03:14 -05:00
Syfaro
9de76851bb Attempt to port builds to GitHub Actions. 2021-12-09 00:06:05 -05:00
Syfaro
de95393147 Bump versions. 2021-12-08 23:45:17 -05:00
Syfaro
1eb5fba3f7 Add support for Twitter webhooks. 2021-08-25 13:22:53 -04:00
Syfaro
15ab9563e0
Add worker for refreshing submission data (#11)
* Initial attempt at a worker to refresh old data.

* Build refresh image on non-master branches.

* Allow specifying missing batch sizes.

* Store more data for deleted submissions.

* Add refresh to builds.

* Update furaffinity-rs dependency.

* Update furaffinity-rs, again.

* Update refresh Dockerfile to avoid extra build.

* Update faktory dependency.

* Update deleted flag migration order.
2021-08-21 22:48:05 -07:00
Syfaro
af40099773 Small updates. 2021-08-22 01:37:36 -04:00
Syfaro
9255a49fb5 Add missing isnumeric function migration. 2021-08-22 01:22:46 -04:00
Syfaro
914a9b24ba Add Weasyl metrics, rework metric names. 2021-08-22 00:09:44 -04:00
Syfaro
9920fff69c Skip unneeded logging with Weasyl submissions. 2021-08-21 22:19:01 -04:00
Syfaro
4c0fb5ac2e Setting for ingesters to download files. 2021-08-21 18:28:54 -04:00
Syfaro
25e7ef3109 Fix clippy lints, update Rust version. 2021-08-10 21:41:11 -04:00
Syfaro
56e4e96d7a Merge branch 'main' 2021-08-10 21:33:38 -04:00
Syfaro
5773cc03f5
Break apart into multiple microservices (#10)
* Update CI.

* Bump versions.

* Fix dependencies.

* Unify tracing and metrics export.

* Create service to hash image.

* Updates for hashing service.

* Fix missing file changes.

* Old changes I don't remember.

* Update dependencies, improve Docker images.

* Use BKApi instead of in-memory tree.

* Include health endpoint with metrics.

* Avoid some unwraps.
2021-08-10 18:28:32 -07:00
Syfaro
1dce2b4bdb Bump versions. 2021-05-11 11:49:21 -04:00
Syfaro
81984734f1 Update CI. 2021-05-11 11:49:12 -04:00
Syfaro
097a350724 Update branch in drone file. 2021-04-30 22:34:26 -04:00
Syfaro
c64ca4a6bd Correctly parse Weasyl's explicit rating. 2021-04-30 21:34:31 -04:00
Syfaro
23affc3952 Each webhook should be own job. 2021-04-22 23:59:48 -04:00
Syfaro
f040cf3dde Revert using UNION instead of UNION ALL. 2021-04-22 22:33:18 -04:00
Syfaro
96bc22c65b Update sqlx data. 2021-04-22 21:46:56 -04:00
Syfaro
a1f28707ab Improve query performance, instrumentation. 2021-04-22 21:34:02 -04:00
Syfaro
34d32821cb Use UNION ALL for performance. 2021-04-22 12:54:41 -04:00
Syfaro
ca2247b79f Update opentelemetry. 2021-04-22 12:41:08 -04:00
Syfaro
6a0a7f2e2e Change more logging messages. 2021-04-21 22:54:08 -04:00
Syfaro
36ea876043 Other logging changes. 2021-04-21 21:59:19 -04:00
Syfaro
47703694d1 More logging updates. 2021-04-21 21:46:10 -04:00
Syfaro
32fbfe1d00 Small changes to force build. 2021-04-21 21:21:42 -04:00
Syfaro
e00f99686e Build webhook image, change base images. 2021-04-21 20:53:22 -04:00
Syfaro
3974f85ce8
JSON log output (#9)
* Allow outputting JSON logs from ingesters.

* Skip instrument for faktory.

* Use more specific timestamp format.

* Update logger for webhooks too.
2021-04-21 19:26:15 -04:00
Syfaro
dd7805d052
Webhooks (#8)
* Rough initial progress on webhooks.

* Better webhook error handling, use all ingesters.

* Include hash in webhook data.

* Always pull Rust image.

* Fix missing features.
2021-04-21 16:58:32 -04:00
Syfaro
a9b5b95350 Update dependencies. 2021-04-19 22:17:21 -04:00
Syfaro
bd1238b34a
Remove hashes table, add Weasyl lookups (#7) 2021-04-19 17:22:40 -04:00
Syfaro
bc278441b6 Remove broken test. 2021-04-12 22:27:22 -04:00
Syfaro
f8744080fd Authenticate e621 ingester. 2021-04-12 22:14:36 -04:00
Syfaro
f99d718603 Install missing dependency in Docker image. 2021-03-20 03:21:40 -04:00
Syfaro
dbfee26a40 Add looking up FA submissions by site ID. 2021-03-20 02:25:01 -04:00
Syfaro
17a4d39a75
Improve FurAffinity ingester (#5)
* Improve FurAffinity retry logic, add timeout.

* Only build images when pushing to master.

* Use tracing instead of directly printing messages.

* Make case consistent on messages.

* Use tracing instead of panics directly.

* Record users online.

* Extract submission handling to new function.
2021-02-27 22:26:53 -05:00
Syfaro
0e0b7e0ecb Fix typo in drone.yml file. 2021-02-21 01:59:33 -05:00
Syfaro
5f5a93c85b Update package names and Dockerfiles. 2021-02-21 01:26:29 -05:00
Syfaro
e57d932042 Derive more for types. 2021-02-21 00:38:48 -05:00
Syfaro
08f1b6ad22 Update drone.yml to build images. 2021-02-21 00:30:38 -05:00
Syfaro
f94f6a35f4 Remove panic, monitor video hashing duration. 2021-02-21 00:30:28 -05:00
Syfaro
eded80fd78 Include sample data and images. 2021-02-20 23:40:03 -05:00
Syfaro
ce3793f9a3 Add complete database migrations. 2021-02-20 22:48:03 -05:00
Syfaro
4ad577cee5 Update everything to Tokio v1. 2021-02-20 21:16:58 -05:00
Syfaro
8914227f23 Merge branch 'master' into unify 2021-02-20 18:05:04 -05:00
Syfaro
ed865ba512 Updates. 2021-02-20 17:36:48 -05:00
Syfaro
f592cc624d Add 'fuzzysearch-ingest-e621/' from commit 'd557d9bbaef52b8b86904ceade7ae04b7666b210'
git-subtree-dir: fuzzysearch-ingest-e621
git-subtree-mainline: e1160f54db
git-subtree-split: d557d9bbae
2021-02-20 16:46:45 -05:00
Syfaro
6fe6c8ee0d Fixes for content ratings. 2021-02-19 15:47:31 -05:00