Compare commits

..

21 Commits
v1.0.4 ... main

Author SHA1 Message Date
Renovate Bot 926959fa7e chore(deps): update docker/build-push-action digest to ca877d9
Build image / build (pull_request) Successful in 25m17s Details
Unit Tests with docker compose and cargo / unit-test (push) Successful in 1m20s Details
2025-01-24 10:01:17 +00:00
bizcochito 94e3f53d19 Merge pull request 'chore(deps): update docker/build-push-action digest to 67a2d40' (#36) from renovate/docker-build-push-action-digest into main
Unit Tests with docker compose and cargo / unit-test (push) Successful in 2m24s Details
Reviewed-on: #36
2025-01-15 19:39:05 +00:00
Renovate Bot e83b20081b chore(deps): update docker/build-push-action digest to 67a2d40
Unit Tests with docker compose and cargo / unit-test (push) Successful in 1m24s Details
Build image / build (pull_request) Successful in 25m25s Details
2025-01-15 13:01:02 +00:00
Renovate Bot 3a7a39d170 fix(deps): update rust crate log to v0.4.25
Unit Tests with docker compose and cargo / unit-test (push) Successful in 1m31s Details
2025-01-14 12:03:01 +00:00
bizcochito 22e2dd92e6 chore: Uptade renovate.json
Unit Tests with docker compose and cargo / unit-test (push) Successful in 1m20s Details
2025-01-12 13:28:20 +00:00
bizcochito cffc5e04e0 Merge pull request 'fix(deps): update rust crate log to v0.4.24' (#34) from renovate/log-0.x into main
Unit Tests with docker compose and cargo / unit-test (push) Successful in 1m14s Details
Reviewed-on: #34
2025-01-11 09:09:54 +00:00
Renovate Bot 1a384cfdfe fix(deps): update rust crate log to v0.4.24
Unit Tests with docker compose and cargo / unit-test (push) Successful in 1m35s Details
2025-01-10 23:02:55 +00:00
bizcochito 27f0b1bfe6 Merge pull request 'chore(deps): update rust docker tag to v1.84.0' (#33) from renovate/rust-1.x into main
Unit Tests with docker compose and cargo / unit-test (push) Successful in 2m30s Details
Reviewed-on: #33
2025-01-10 06:45:31 +00:00
Renovate Bot a2aa2654ff chore(deps): update rust docker tag to v1.84.0
Unit Tests with docker compose and cargo / unit-test (push) Successful in 1m40s Details
2025-01-10 01:01:20 +00:00
bizcochito d50c1d7e61 Merge pull request 'chore(deps): update docker/build-push-action digest to b32b51a' (#31) from renovate/docker-build-push-action-digest into main
Unit Tests with docker compose and cargo / unit-test (push) Successful in 1m26s Details
Reviewed-on: #31
2025-01-09 17:57:52 +00:00
bizcochito 9aa7be030a Merge pull request 'fix(deps): update rust crate tokio to v1.43.0' (#32) from renovate/tokio-1.x into main
Unit Tests with docker compose and cargo / unit-test (push) Successful in 2m7s Details
Reviewed-on: #32
2025-01-09 16:40:25 +00:00
Renovate Bot f4e463abc1 fix(deps): update rust crate tokio to v1.43.0
Unit Tests with docker compose and cargo / unit-test (push) Successful in 2m14s Details
2025-01-08 16:03:26 +00:00
Renovate Bot 5d91a9979e chore(deps): update docker/build-push-action digest to b32b51a
Unit Tests with docker compose and cargo / unit-test (push) Successful in 2m42s Details
Build image / build (pull_request) Successful in 23m49s Details
2025-01-08 10:01:37 +00:00
Alie 9b9ddc1d42 cleanup comments
Unit Tests with docker compose and cargo / unit-test (push) Successful in 2m19s Details
2025-01-07 17:16:50 +01:00
Alie e9d332487d Added register feature back with reqwest
Unit Tests with docker compose and cargo / unit-test (push) Successful in 2m13s Details
Build image / build (push) Successful in 27m27s Details
2025-01-07 16:55:45 +01:00
Alie 64a5ebca2f refactor: deprecated mastodon-async and only make requests with reqwest 2025-01-07 16:06:24 +01:00
Alie 079ad337ca fmt
Unit Tests with docker compose and cargo / unit-test (push) Successful in 2m52s Details
Build image / build (push) Successful in 41m5s Details
2025-01-07 11:31:52 +01:00
Alie 34d902cfc8 fmt 2025-01-07 11:28:56 +01:00
Alie 467027fffe fix: remove uneeded dependency 2025-01-07 11:28:49 +01:00
Sugui 197743889d fix: changed visibility to public
Unit Tests with docker compose and cargo / unit-test (push) Successful in 2m51s Details
Build image / build (push) Successful in 43m17s Details
2025-01-07 00:05:12 +01:00
Sugui 6d7d04c7e8 fix: added ca-certificates on Dockerfile layer
Unit Tests with docker compose and cargo / unit-test (push) Has been cancelled Details
Build image / build (push) Successful in 44m33s Details
2025-01-06 22:28:39 +01:00
7 changed files with 846 additions and 1435 deletions

View File

@ -43,7 +43,7 @@ jobs:
username: ${{ secrets.DOCKER_USER }} username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }} password: ${{ secrets.DOCKER_PASS }}
- name: Build and push - name: Build and push
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v6 uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6
with: with:
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
context: . context: .

1306
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -6,14 +6,9 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
tokio = { version = "=1.42.0", features = ["macros", "rt-multi-thread"] } tokio = { version = "=1.43.0", features = ["macros", "rt-multi-thread"] }
reqwest = { version = "=0.11.27", features = ["json"] } reqwest = { version = "=0.12.12", features = ["json", "multipart", "stream"] }
serde = "=1.0.217" serde = { version = "=1.0.217", features = ["derive"] }
toml = "=0.8.19" toml = "=0.8.19"
log = "=0.4.22" log = "=0.4.25"
stderrlog = "=0.6.0" stderrlog = "=0.6.0"
async-std = "=1.13.0"
[dependencies.mastodon-async]
version = "=1.3.2"
features = ["toml", "mt"]

View File

@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1 # syntax=docker/dockerfile:1
FROM rust:1.83.0-slim-bullseye AS deps FROM rust:1.84.0-slim-bullseye AS deps
RUN apt update && apt install pkg-config openssl libssl-dev -y RUN apt update && apt install pkg-config ca-certificates openssl libssl-dev -y
WORKDIR /app WORKDIR /app
COPY Cargo.toml Cargo.toml COPY Cargo.toml Cargo.toml
COPY Cargo.lock Cargo.lock COPY Cargo.lock Cargo.lock
@ -24,7 +24,7 @@ EOF
FROM debian:bullseye-slim AS final FROM debian:bullseye-slim AS final
WORKDIR /app WORKDIR /app
RUN apt update && apt install pkg-config openssl libssl-dev -y RUN apt update && apt install pkg-config ca-certificates openssl libssl-dev -y
ARG UID=10001 ARG UID=10001
RUN adduser \ RUN adduser \

View File

@ -1,10 +1,10 @@
db = new Mongo().getDB("bot"); db = new Mongo().getDB("bot");
db.createCollection('authorizations'); db.createCollection("authorizations");
db.authorizations.insert([ db.authorizations.insert([
{ {
app: "tester", app: "tester",
secret: "test", secret: "test",
} },
]); ]);

View File

@ -1,5 +1,6 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended", "helpers:pinGitHubActionDigests"], "extends": ["config:recommended", "helpers:pinGitHubActionDigests"],
"rangeStrategy": "pin" "rangeStrategy": "pin",
"automerge": true
} }

File diff suppressed because it is too large Load Diff