Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update main #17

Draft
wants to merge 62 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
a87a2ee
feat(dockerize): add Dockerfile + K8s conf
codeinuit Jul 18, 2020
1455616
feat(dockerization): update dockerfile
codeinuit Jul 19, 2020
053b2f8
Merge pull request #2 from P147x/feat/dockerization
codeinuit Jul 19, 2020
d24490e
fix(dev): fixed dockerfile issues + base structure
codeinuit Jul 19, 2020
4a97a0e
chore(dev): remove useless Makefile
codeinuit Jul 19, 2020
f218b3d
feat(better-logs): add logrus as logger
codeinuit Jul 19, 2020
b6bdeca
feat(better-logs): change fmt to logrus
codeinuit Jul 29, 2020
46f7404
Merge pull request #3 from P147x/feat/better-logs
codeinuit Jul 29, 2020
ffc5b22
Add timer on presence update function
codeinuit Nov 7, 2020
5527099
Merge pull request #5 from P147x/fix/daily-usage-counter
codeinuit Dec 20, 2020
6115508
Add GitHub actions
Jun 29, 2021
bb355ea
Merge pull request #6 from P147x/feat/use-github-actions
codeinuit Jun 29, 2021
338a3d6
Add support for slash commands
codeinuit Aug 18, 2021
b16ae88
Merge pull request #7 from P147x/feature/support-slash-commands
codeinuit Aug 18, 2021
5c89b44
Encapsulate logger + add Zap & Logrus support
codeinuit Jun 30, 2023
058a5b8
Use local logger implementation
codeinuit Jul 3, 2023
67e1447
Update packages
codeinuit Jul 3, 2023
1c8cf2a
Update Golang version for GitHub CI
codeinuit Jul 3, 2023
4de300d
Merge pull request #9 from codeinuit/add-logger-support
codeinuit Jul 3, 2023
815d3cf
Update Golang version in Dockerfile
codeinuit Jul 3, 2023
53ab215
Merge pull request #10 from codeinuit/update-dockerfile-version
codeinuit Jul 3, 2023
6c9c972
Remove private tokens from image providers
codeinuit Jul 3, 2023
e728867
Protected cases without data
codeinuit Jul 3, 2023
3fa2af9
Remove usage counter
codeinuit Jul 3, 2023
4e934d5
Merge pull request #11 from codeinuit/remove-private-tokens
codeinuit Jul 3, 2023
cecf9bb
Update .gitignore to remove vscode & bin files
codeinuit Jul 3, 2023
8b4fb11
Merge pull request #12 from codeinuit/update-gitignore
codeinuit Jul 3, 2023
a17eb2d
Move deployments scripts to /scripts folder
codeinuit Jul 3, 2023
1111aed
Merge pull request #13 from codeinuit/move-deployment-scripts-to-dedi…
codeinuit Jul 3, 2023
1b3cf50
Add Redis support as cache
codeinuit Jul 5, 2023
b15c235
Update go.mod
codeinuit Jul 7, 2023
ea8a170
Merge pull request #14 from codeinuit/support-caching
codeinuit Jul 7, 2023
052ac36
Count usage and display it as Discord game status
codeinuit Jul 7, 2023
0c7bc5c
Update log messages without uppercases
codeinuit Jul 10, 2023
a504831
Reset daily counter every day at midnight
codeinuit Jul 10, 2023
4669b28
Add error handling
codeinuit Jul 11, 2023
724fa27
Merge pull request #15 from codeinuit/handle-daily-counter-as-game-st…
codeinuit Jul 11, 2023
64df2c4
Add linter support on GitHub CI
codeinuit Jul 11, 2023
56f39fb
Fix lint issue
codeinuit Jul 11, 2023
e607cd3
Merge pull request #16 from codeinuit/add-lint-to-github-ci
codeinuit Jul 11, 2023
54f5f8b
Fix daily key not set
codeinuit Jul 14, 2023
2fda3ae
Merge pull request #18 from codeinuit/fix-daily-key
codeinuit Jul 14, 2023
f3a79e3
Create local storage implementation for caching
codeinuit Jul 24, 2023
a7d8ca8
Fix lint issues
codeinuit Jul 24, 2023
beba9ac
Merge pull request #19 from codeinuit/local-storage-implementaion-for…
codeinuit Jul 24, 2023
4699b20
Add main unit tests
codeinuit Jul 25, 2023
adff7af
add base monitoring with prometheus
codeinuit Feb 1, 2024
f788267
Merge pull request #21 from codeinuit/feat/instrumentation
codeinuit Feb 1, 2024
8f5a788
update go version to 1.21
codeinuit Feb 11, 2024
4e02d62
Merge pull request #22 from codeinuit/feat/update-go-version-1-21
codeinuit Feb 11, 2024
cdd6bf0
update golang from 1.19 to 1.21 + rename package
codeinuit Mar 3, 2024
b253217
Merge pull request #23 from codeinuit/refactor/rename-package-and-upd…
codeinuit Mar 3, 2024
4823244
feat(logger) support formatting
codeinuit Mar 6, 2024
a52e649
Merge pull request #24 from codeinuit/feat/update-logger-to-support-f…
codeinuit Mar 6, 2024
564801b
chore(main) remove unused calls + use local cache by default
codeinuit Mar 6, 2024
6cc974a
Merge pull request #25 from codeinuit/chore/clean-and-remove-unused-c…
codeinuit Mar 6, 2024
8386128
(clean) remove deprecated commands
codeinuit May 12, 2024
79bd069
Merge pull request #26 from codeinuit/remove-deprecated-commands
codeinuit May 12, 2024
1c9e86f
(feat) add debug wrap for logger
codeinuit May 12, 2024
83f0472
Merge pull request #27 from codeinuit/add-debug-support-on-loggers
codeinuit May 12, 2024
b53907c
add debug logging
codeinuit May 12, 2024
cd224c3
Merge pull request #28 from codeinuit/add-debug-logging-to-load-cmd
codeinuit May 12, 2024
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
Prev Previous commit
Next Next commit
Update packages
  • Loading branch information
codeinuit committed Jul 3, 2023
commit 67e14471295e5829f7ccbd002c36293e3e9ae052
14 changes: 7 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
@@ -3,19 +3,19 @@ module github.com/P147x/shibesbot
go 1.18

require (
github.com/bwmarrin/discordgo v0.23.3-0.20210627161652-421e14965030
github.com/bwmarrin/discordgo v0.27.1
github.com/ivolo/go-giphy v0.0.0-20150927080050-d31b832022e4
github.com/sirupsen/logrus v1.8.1
github.com/sirupsen/logrus v1.9.3
)

require (
go.uber.org/atomic v1.7.0 // indirect
go.uber.org/multierr v1.6.0 // indirect
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
)

require (
github.com/gorilla/websocket v1.4.2 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
go.uber.org/zap v1.24.0
golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e // indirect
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c // indirect
golang.org/x/crypto v0.10.0 // indirect
golang.org/x/sys v0.9.0 // indirect
)
18 changes: 18 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,38 +1,56 @@
github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8=
github.com/bwmarrin/discordgo v0.23.3-0.20210627161652-421e14965030 h1:JgAlPJlCqsrUqXcClndnvF6LOjV528hpU/l5YzN++PA=
github.com/bwmarrin/discordgo v0.23.3-0.20210627161652-421e14965030/go.mod h1:NJZpH+1AfhIcyQsPeuBKsUtYrRnjkyu0kIVMCHkZtRY=
github.com/bwmarrin/discordgo v0.27.1 h1:ib9AIc/dom1E/fSIulrBwnez0CToJE113ZGt4HoliGY=
github.com/bwmarrin/discordgo v0.27.1/go.mod h1:NJZpH+1AfhIcyQsPeuBKsUtYrRnjkyu0kIVMCHkZtRY=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc=
github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc=
github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
github.com/ivolo/go-giphy v0.0.0-20150927080050-d31b832022e4 h1:Rq1bBuOq3A4P/41LjhqHV9nqWAfFTiaPe83WdkI+MYc=
github.com/ivolo/go-giphy v0.0.0-20150927080050-d31b832022e4/go.mod h1:9KUT8qK3+k9SRKuDCiqe3BS2GZ74e5HtIVSGNorAbHk=
github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE=
github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ=
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.8.0 h1:pSgiaMZlXftHpm5L7V1+rVB+AZJydKsMxsQBIJw4PKk=
go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw=
go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE=
go.uber.org/atomic v1.11.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0=
go.uber.org/goleak v1.1.11 h1:wy28qYRKZgnJTxGxvye5/wgWr1EKjmUDGYox5mGlRlI=
go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4=
go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y=
go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60=
go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg=
golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4=
golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e h1:gsTQYXdTw2Gq7RBsWvlQ91b+aEQ6bXFUngBGuR8sPpI=
golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.10.0 h1:LKqV2xt9+kDzSTfOhx4FrkEBcMrAgHSYgzywV9zcGmM=
golang.org/x/crypto v0.10.0/go.mod h1:o4eNf7Ede1fv+hwOwZsTHl9EsPFO6q6ZvYR8vYfY45I=
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c h1:F1jZWGFhYfh0Ci55sIpILtKKK8p3i2/krTr0H1rg74I=
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.9.0 h1:KS/R3tvhPqvJvwcKfnBHJwwthS11LRhmM5D59eEXa0s=
golang.org/x/sys v0.9.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=