Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Ban #240

Open
wants to merge 39 commits into
base: master
Choose a base branch
from
Open

Ban #240

Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
88b1841
Add endpoint for ban initialization
0nkery May 18, 2023
5af42da
Add NatsClient to AppContext
0nkery May 18, 2023
dcea306
Impl stage ban_intent
0nkery May 19, 2023
d2b9808
Add upsert query for ban account op
0nkery May 19, 2023
1776faf
Increase rustc version in Dockerfile
0nkery May 22, 2023
6159ced
Fix clippy
0nkery May 22, 2023
b1308c2
Impl ban_intent handler
0nkery May 22, 2023
6f849e6
Move migrations into single script
0nkery May 22, 2023
8b957b1
Update deps
0nkery May 23, 2023
b5ab3ab
WIP add nats consumer
0nkery May 23, 2023
7342ecd
Add nats consumer and ban handlers
0nkery May 24, 2023
f78b950
Rename fields + add missing pieces
0nkery May 25, 2023
b65b7dc
Publish BanRejected (almost)
0nkery May 25, 2023
b7ccd66
Use new event id format + re-arrange stage code a bit
0nkery May 25, 2023
92c57f9
Change op_id: Uuid -> i64
0nkery May 25, 2023
98d1882
Update src/app/error.rs
0nkery Jun 2, 2023
aa6bed0
Fix OperationFailed occurrences
0nkery Jun 2, 2023
33f3e5a
Apply suggestion from review
0nkery Jun 2, 2023
ca107f7
Update dependencies
mgrachev Jun 5, 2023
fffa90c
Bump `sqlx-cli` version to `0.6.3`
mgrachev Jun 5, 2023
6d56ac7
Merge pull request #243 from foxford/update-deps
mgrachev Jun 5, 2023
9a6c01b
Merge branch 'master' into ULMS-1896/ban
0nkery Jun 6, 2023
2458b56
Fix errors after updates
0nkery Jun 6, 2023
357c37e
Move transient/permanent errors to svc-nats-client
0nkery Jun 6, 2023
532de17
Fix fmt
0nkery Jun 6, 2023
57fa564
Use AgentId instead of AccountId for intent.sender
0nkery Jun 6, 2023
111d3dc
Fix clippy
0nkery Jun 6, 2023
47d0487
Use latest crates from crates.io
0nkery Jun 7, 2023
aecb21b
Add docs about ban endpoint
0nkery Jun 8, 2023
0610782
Add endpoint to get last ban operation id
0nkery Jun 8, 2023
2fc8ec8
Merge branch 'master' into ULMS-1896/ban
0nkery Jun 9, 2023
c4a5803
Update chart with nats config
0nkery Jun 13, 2023
94600c6
Fix config values
0nkery Jun 13, 2023
76666b1
Add trace
0nkery Jul 11, 2023
1004e14
Fix ban op upsert query
0nkery Jul 11, 2023
ea698f8
Merge branch 'master' into ULMS-1896/ban
0nkery Jul 14, 2023
c07fb5e
Avoid listing recordings whose author were banned during class
0nkery Jul 14, 2023
ad3e5a2
Add missing files
0nkery Jul 17, 2023
9ea0d24
Add tests for ban + refactor tests to use sqlx::test macro
0nkery Jul 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@1.64.0
- uses: dtolnay/rust-toolchain@1.70.0
with:
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v1
Expand All @@ -39,7 +39,7 @@ jobs:
- name: fmt
run: cargo fmt -- --check
- name: Install sqlx-cli
run: cargo install sqlx-cli --version 0.5.7 --no-default-features --features postgres
run: cargo install sqlx-cli --version 0.6.3 --no-default-features --features native-tls,postgres
- name: Run tests
run: >
cargo sqlx database create &&
Expand Down
Loading