Releases: Maximus7474/tebexsync-bot
Releases · Maximus7474/tebexsync-bot
v2.1.0
Features
- utils: GetUnixSecondsFromDate helper function #6 (Maximus7474)
- staff_commands: view claimed purchases command #6 (Maximus7474)
- handler: utility functions for browser handler #8 (Maximus7474)
- package: puppeteer dependencies #8 (Maximus7474)
- types: browser types for handler #8 (Maximus7474)
- handlers/browser: CfxPortalSearch class #8 (Maximus7474)
- browser_handler: implement GetCfxUserAssetGrants function and instance management #8 (Maximus7474)
- commands/staff: view cfx account assets #8 (Maximus7474)
- handlers/browser: added closeInstance method #8 (Maximus7474)
Bug Fixes
- handler/purchase: resolve deprecation warning on discord.js ready event (Maximus7474)
- browser_handler: update getUserAssets return type and error handling #8 (Maximus7474)
- tsconfig: include "DOM" in libs #8 (Maximus7474)
- handler/purchase: resolve deprecation warning on discord.js ready event #8 (Maximus7474)
Documentation
- handlers/browser: add code credit attribution for cfx-portal-upload #8 (Maximus7474)
- added guide in finding your cfx auth cookie #8 (Maximus7474)
- tebex-secret: added guide on obtaining a tebex apikey (Maximus7474)
- README: added link to external guides in docs (Maximus7474)
- added tos file (Maximus7474)
- README: added link to Terms of service (Maximus7474)
- cfx-cookie: added disclaimer #8 (Maximus7474)
- tos: expanded section 4 with more explicit information #8 (Maximus7474)
- README: added obtaining cfx cookie guide to configuration section #8 (Maximus7474)
Chores
- package: updated version to v2.0.1 (GitHub Actions)
- use types with typescript #7 (Zoo)
- .env: update required fields (Maximus7474)
- env: added CFX_COOKIE field #8 (Maximus7474)
- .env: update required fields #8 (Maximus7474)
- commands: made all commands be snake_case #9 (Maximus7474)
Commits
- staff_commands/view_purchases: added visible flag if purchase was refunded / chargebacked #6 (Maximus7474)
- commands/staff: response layout if not transferred #8 (Maximus7474)
- de3f796: Merge branch 'main' into feat/view-cfx-granted-assets (Maximus7474) #8
v2.0.1
Bug Fixes
- ticket_handler: not awaiting deferReply when creating a ticket (Maximus7474)
Chores
- package: updated version to v2.0.0 (GitHub Actions)
v2.0.0
Features
- prisma #3 (Maximus7474)
- prisma: schema #3 (Maximus7474)
- prisma: initial migration #3 (Maximus7474)
- prisma: database seed #3 (Maximus7474)
- package: seed script & prisma devDependencies #3 (Maximus7474)
- utils: GetUserIdFromMention function #3 (Maximus7474)
- package: setup script #5 (Maximus7474)
Bug Fixes
- schema: added unique constraint to TransactionPackages #3 (Maximus7474)
- schema: made discordId required for Customers model #3 (Maximus7474)
- prisma/seed: incorrect type values for settings #3 (Maximus7474)
- utils: tbxIdRegex - include manual id format #3 (Maximus7474)
- static_messages/tickets: ts compiler error, description can be null and not undefined. refactored to use StringSelectMenuOptionBuilder #4 (Maximus7474)
- package: license field (Maximus7474)
Code Refactoring
- settings_handler: use prisma #3 (Maximus7474)
- ticket_handler: use prisma #3 (Maximus7474)
- customer_commands/add_developer: use prisma #3 (Maximus7474)
- customer_commands/claim_role: use prisma #3 (Maximus7474)
- customer_commands/remove_developer: use prisma #3 (Maximus7474)
- customer_commands/transfer_purchase: use prisma #3 (Maximus7474)
- customer_commands/view_developer: use prisma #3 (Maximus7474)
- staff_commands/verify: use prisma #3 (Maximus7474)
- types/tickets: adapted ticket category type to work with prisma #3 (Maximus7474)
- ticket_handler: use prisma & adapt to work with changes to TicketCategory interface #3 (Maximus7474)
- purchase_handler: use prisma & adapt to work with changes to TicketCategory interface #3 (Maximus7474)
- purchase_handler: use prisma & adapt to work with changes to TicketCategory interface #3 (Maximus7474)
- settings_handler: add user_id as setting type #3 (Maximus7474)
- events/transaction: use prisma & use PurchaseManager to check if customer linked to purchase still has active purchases #3 (Maximus7474)
- ticket_handler: alter field info regarding transaction id if ticket requires tbxid #3 (Maximus7474)
- types/transaction: separate the two types of payloads (complete & refund/chargeback) (Maximus7474)
Chores
- package: updated version to v1.1.2 (GitHub Actions)
- admin_commands/settings_manager: validate new value if it's type is 'user_id' #3 (Maximus7474)
- events: move transaction logging into events/ #3 (Maximus7474)
- scripts: remove scripts relating to previous datbase connector #4 (Maximus7474)
- prisma: update initial migration for release (Maximus7474)
- package: updated version to v2.0.0 (GitHub Actions)
- tebex_handler: adapt with changes brought to types (Maximus7474)
Commits
- previous database handler system #3 (Maximus7474)
- prisma/schema: set avatar for TicketMessages as optional #3 (Maximus7474)
- utils/database: remove old database connection logic #3 (Maximus7474)
- customer_commands/claim_role: response if purchase was refunded / chargebacked #3 (Maximus7474)
- events/transaction: removed tbxid regex commentt #3 (Maximus7474)
- README: update section regarding database handling #3 (Maximus7474)
- README: added info in regards to the setup script #5 (Maximus7474)
- configure-tebex-logging: improved information (Maximus7474)
- configure-tebex-logging: added a note element to extend the logging capability via tebex's webhook system. (Maximus7474)
v1.1.2
Features
- customer_commands: transfer purchase to new account (Maximus7474)
- handlers: purchase handler (Maximus7474)
- purchase_handler: check if a customer has valid purchases (Maximus7474)
Bug Fixes
- customer_commands: add dev using old replaced system for tracking purchases (Maximus7474)
- customer_commands: remove dev using old replaced system for tracking purchases (Maximus7474)
- customer_commands: view devs using old replaced system for tracking purchases (Maximus7474)
- customer_commands: placed overide flag for getCustomerId to not create a new entry if not already listed. (Maximus7474)
- purchase_handler: correct escape clause for skipCreate early return in getCustomerId (Maximus7474)
Code Refactoring
- customer_commands: use purchase manager more within the transfer command (Maximus7474)
Chores
- package: updated version to v1.1.1 (GitHub Actions)
- index: set client instance within PurchaseManager (Maximus7474)
- tebex_handler: remove get internal customer id method (Maximus7474)
Commits
- events/transaction: use PurchaseManager for customer internal id (Maximus7474)
- customer_commands: use PurchaseManager for customer internal id (Maximus7474)
- purchase_handler: added create flag for getCustomerId (Maximus7474)
v1.1.1
Features
- ticket_handler: removeTicketParticipant don't insert new member if already listed in the DB (Maximus7474)
- staff_commands: remove ticket partipant command (Maximus7474)
Bug Fixes
- ticket_handler: await permissionOverwrite creation when adding a user to propagate the error if adding it fails (Maximus7474)
Code Refactoring
- ticket_handler: addTicketParticipant don't insert new member if already listed in the DB (Maximus7474)
- ticket_handler: return false if user is not a ticket member in the DB when removing (Maximus7474)
Chores
- package: updated version to v1.1.0 (GitHub Actions)
v1.1.0
Features
- utils: get id for channel and role mentions (Maximus7474)
Code Refactoring
- settings_handler: track data type for a settings (Maximus7474)
- commans/settings_manager: display of the stored data for role_id and channel_id values (Maximus7474)
- commands/settings_manager: validate inputed values (Maximus7474)
Chores
- package: updated version to v1.0.0 (GitHub Actions)
Commits
- 23529ce: Update README.md (Maximus7474)
- 1ccea6d: Update README.md (Maximus7474)
- bf0de2a: Update LICENSE (Maximus7474)
- config/ (Maximus7474)
- base-sqlite: placed placeholder values for default settings (Maximus7474)
v1.0.0
Merge pull request #2 from Maximus7474/ticket-system Feature: Ticket system