1a5e7c1b62
View: Move search code into separate Util module
2023-02-26 18:20:50 +01:00
bb9ffd6b43
View: Allow searching cards by character name
2023-02-26 16:50:39 +01:00
4e98d744ce
Assets: New card cover
2023-02-26 16:24:42 +01:00
51f8d03a69
Collection: Fix total count when grouping dupes
...
using array length if group is true. Fixes #47
2023-02-26 14:49:59 +01:00
1dde3a0a8c
DB: Add auto_increment to Characters and Groups
...
starting at a very high ID because I was too lazy to migrate existing data
as it is referenced in json blobs.
Part of Issue #43
2023-02-25 01:55:27 +01:00
765e63b90e
Generalize labels and options
2023-02-25 00:26:04 +01:00
50da918be5
NPM: Update to fix sequelize vulnerabilities
...
Dependabot alerts: 3,4,5,7
2023-02-24 23:51:50 +01:00
3b67c140af
DB: Generalize table and model names
2023-02-24 23:51:32 +01:00
9661c65b27
Collection: Add options to filter by name,band and quality
2023-01-19 23:57:04 +01:00
98d4f5c2ac
Edit: Use unique interaction IDs for each edit action
...
Resolves #30 where follow up edits would fail if previous
modals have been canceled/dismissed
2023-01-16 17:11:16 +01:00
1548ecf73b
Collection: Only allow the initator to use the components
...
Fixes #40
2023-01-16 12:55:28 +01:00
f38b6abe19
View: Omit empty components prop for non-elevated users
...
Fixes #39
2023-01-12 15:06:56 +01:00
692904d462
Trade: Add tradehistories table
...
and create rows at the end of each trade.
Both users traded cards are logged.
2023-01-12 14:43:06 +01:00
2ef1dfe7a7
Trade: Persist trades in the database
...
using atomic transactions.
If a card happens to not be owned by the trading user, the entire
trade is being rolled back.
Rollback behaviour is a bit weird though, since we have to rollback
manually even in a managed transaction.
2023-01-02 22:49:46 +01:00
95c3f41fde
Trade: Properly handle trade cancellation and timeouts
...
- Trade finishing states are now handled properly.
- Deferring cancel button press
- A user is on a 2 minute cooldown after a trade finishes or
cancels if he is the one who initiated it.
- Updated emote IDs
2023-01-02 21:04:24 +01:00
d0535e06ad
Docker: Restart mysql container unless stopped
2023-01-02 19:26:25 +01:00
c29c018bba
Register: Always defer and update replies
2023-01-02 19:25:36 +01:00
c866bc08eb
Trade: Add TradeStore and trade flow
...
Adding a TradeStore to keep track of active trades and their states.
Also implements the core trade flow and embed logic.
2022-11-23 17:35:29 +01:00
78fe0857e8
CardUtils: Add helper to get one-line formatted card info
2022-11-23 17:34:01 +01:00
42797eb90e
[WIP] Trading and TradingStore implementation 1
2022-11-22 17:15:48 +01:00
5be326d56a
Added permission levels to all commands
2022-09-29 11:23:15 +02:00
07b48087b4
Help: Add very basic help command
2022-09-29 11:19:16 +02:00
cf159c43bc
Docker: Make DB port changeable via .env
2022-09-26 16:21:43 +02:00
e72b098dab
Docker: Always run migrations on compose up
2022-09-26 16:18:42 +02:00
b5d2b68294
Stats/View: Add wallet stats and shiny emote to card views
2022-09-26 16:15:20 +02:00
16bb46403b
Burn: Added card burning for notes and gems
2022-09-26 16:09:23 +02:00
bbbcaaaf29
User/Debug/Profile: Add primary and secondary currency
2022-09-26 13:15:40 +02:00
d8905a279a
Drop: Added icons if drop contains FPs or shiny cards as well as the droppers name
2022-09-26 12:22:53 +02:00
a49a478972
History: Add currency and XP tracking
2022-09-21 17:18:12 +02:00
dcd05322ca
Merge pull request #31 from JanGross/dependabot/npm_and_yarn/moment-timezone-0.5.37
...
Bump moment-timezone from 0.5.34 to 0.5.37
2022-09-21 14:19:56 +02:00
dependabot[bot]
9054649d0c
Bump moment-timezone from 0.5.34 to 0.5.37
...
Bumps [moment-timezone](https://github.com/moment/moment-timezone ) from 0.5.34 to 0.5.37.
- [Release notes](https://github.com/moment/moment-timezone/releases )
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md )
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.34...0.5.37 )
---
updated-dependencies:
- dependency-name: moment-timezone
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-21 12:18:47 +00:00
c8fb87dc70
View: Handle empty or invalid card IDs. Fixes #24
2022-09-21 13:41:56 +02:00
dcb7e334e2
History: Add details to drop history and split by type
...
that being 0 for drops and 1 for claims.
Fixes #16
2022-09-21 13:35:43 +02:00
f021234e45
Profile: Add initial default customStatus and allow empty values
...
Fixes #20
2022-09-21 12:49:21 +02:00
deee1bf0c4
Collection: Fix empty collection message not showing up
...
Fixes #4
2022-09-21 12:29:12 +02:00
73fb84c33d
Debug: Defer all debug replies and lock clear_cards in production
2022-09-21 12:22:34 +02:00
767f5bb761
Stats: Use sourced constants for quality names
2022-09-21 12:13:35 +02:00
4d97215891
Drop: Fix cooldown formatting ( fixes #15 )
...
Formatted cooldown strings are now properly pluralized
trimmed for zero values and also include seconds.
2022-09-21 11:51:58 +02:00
f0a0bef7e9
Drop: Always defer drop replies
2022-09-21 11:50:45 +02:00
73a2df6e74
Drop: Select quality of cards based on drop rates
2022-09-21 11:17:11 +02:00
fc45908419
Add maintenance mode
2022-09-19 09:02:42 +02:00
0afedc86e5
View/Edit: Add option to direct edit from character views
2022-09-18 01:21:10 +02:00
60f4c51353
View: Add mixed view with autocomplete
...
for cards and characters
2022-09-18 00:49:30 +02:00
f211f4976f
Cleanup some unused debug commands and arguments
2022-09-16 23:08:50 +02:00
a55ce1b5ff
Edit: Fix path sanitization.
...
Spaces are being replaced with underscores
2022-09-15 22:23:30 +02:00
820ed99021
Edit: Add command to edit existing records.
...
This currently requires global admin permissions.
Each edit gets persisted in the history table.
2022-09-14 18:25:31 +02:00
826834ebab
History: Add record history table
2022-09-14 18:24:10 +02:00
1d4ec09bf8
Collection: Add duplicate grouping
2022-09-14 14:02:39 +02:00
83947eeafd
Drop: Hightlight first prints and shiny cards in claim messages
2022-09-14 09:27:25 +02:00
055be119cc
Profile: Show rendering gif placeholder instead of thinking text
...
while the profile is being rendered in the background.
2022-09-13 00:28:14 +02:00