William Perron
4c09153756
wip: implement embedded distributed tracing
10 months ago
William Perron
171ef4ee98
Add `claimables` view to database
...
Materialize all claimable provinces into a view with a column for the
claim type. the `provinc` column contains duplicated rows but each row
contains a unique combination of province and claim type.
This makes it much easier to search possible conflicts, or to list the
availability of provinces.
11 months ago
William Perron
0a9cc8d7e0
add correlation IDs and propagate ctx
11 months ago
William Perron
5cbaff0820
improve logging, use console writer
11 months ago
William Perron
f0c401f604
add tests
11 months ago
William Perron
b040694c2a
add basic audit log
12 months ago
William Perron
aaf569cb69
add golang-migrate
1 year ago
William Perron
c454b92d41
Rename /ping to /info
...
Related to #17
Renames the `/ping` command to `/info` and adds the following
information to the Discord response
* Uptime of the server
* Total number of claims currently held
* Total number of unique players holding claims
2 years ago
William Perron
aa90a44117
smol refactors
2 years ago
William Perron
b2d5332f67
WIP: command to run arbitrary selects
2 years ago
William Perron
bd490bc18f
make claim command case insensitive
...
Fixes #3
2 years ago
William Perron
ad22f31bcd
add CI workflow
...
* silence lint errors in certain errchecks
* golangci-lint: skip go installation step
* silence lint error in ResponseWriter Write call
Fixes #13
2 years ago
William Perron
541e8691a9
Add claim details to conflicts output
...
Fixes #2
2 years ago
William Perron
955a2648dd
Add flush command
...
Fixes #8
2 years ago
William Perron
9e63f05ebc
Add describe-claim command
...
Fixes #5
2 years ago
William Perron
84df9458be
Add userid column to claims table
...
Fixes #11
2 years ago
William Perron
0f9668704d
add `delete-claim` command ( #12 )
...
Closes #9
2 years ago
William Perron
702f3c9da3
add autocomplete for the claim function
2 years ago
William Perron
601aa1076b
working version of Discord app
2 years ago
William Perron
2f09527677
add ✨ tests ✨
2 years ago
William Perron
9ac33440fd
add claims detail
2 years ago
William Perron
8ed0806f10
add list claims and improve error handling
2 years ago
William Perron
89ad6bbe2e
add function to take claim
2 years ago
William Perron
8ecb6ed394
WIP
2 years ago