Commit Graph

214 Commits

Author SHA1 Message Date
6edc6771ef Profile: Fix showcase card being out of order.
The showcase cards were rendered based on the order in which
the render calls returned within the slots.map call.
Using the original slot keys fixes this issue.
2023-08-07 17:34:19 +02:00
596a6b5dc5 Bot: Change ENV to NODE_ENV in ready.js 2023-08-07 17:34:19 +02:00
de37b9d348 Bot: Clear global commands when running as dev 2023-08-07 17:34:19 +02:00
643c027ce8 Rendering: Better card debug output
- Add timestamp
- Larger font
2023-08-07 17:34:19 +02:00
0c232a55cb Debug: Catch and print errors when fetching from Jose 2023-08-07 17:34:19 +02:00
d7a99968bc GeneralUtils/Profile: Shorten numbers to K M B format
- Implemented for currencies on the profile
2023-08-07 17:34:19 +02:00
b099c29ecf Rendering: Add debug output in develop mode
- Burn node info into rendered card
- Log job def onto console
2023-08-07 17:34:19 +02:00
aaaac430e6 Editprofile: Properly defer updates on non-modal interactions
Also fixes interaction filtering by user id.
Also fixes collector filtering by modal customID
2023-08-07 17:34:19 +02:00
56a76b0fbb Bump node versiom to 20
node:20-alpine
2023-08-07 17:34:19 +02:00
e50449ec03 Cleanup legacy rendering code and files
also removes dockerfile and imagemagick.
2023-08-07 17:34:19 +02:00
2a4b58f7af Rendering: Reposition labels for top-aligned default 2023-08-07 17:34:19 +02:00
e1cc82eb32 Rendering: Add placeholder frame
and fix profile card alignment
2023-08-07 17:34:19 +02:00
6d35019e3e Profile: Add stats bar to new rendering 2023-08-07 17:34:19 +02:00
490db1c70f Profile: Add userimage and status to new profile 2023-08-07 17:34:19 +02:00
21ccd3a3d1 Profile: Add new rendering for username and showcase 2023-08-07 17:34:19 +02:00
a33a7d737e Editprofile: Remove top level defer which broke modal inputs 2023-08-07 17:34:19 +02:00
5a31ef95fb Rendering: Hide card if it's unclaimed 2023-08-07 17:34:19 +02:00
f2ac0ed10e Rendering: Replace card stack rendering with external API call 2023-08-07 17:34:19 +02:00
6d86799e02 API: Serve static assets via express 2023-08-07 17:34:19 +02:00
189e126983 Rendering: Add configurable Jose endpoint 2023-08-07 17:34:19 +02:00
d99b8ab4d6 Rendering: WIP Replacing renderer with external API 2023-08-07 17:34:19 +02:00
ce98c9e736 Merge pull request #57 from JanGross/dependabot/npm_and_yarn/semver-5.7.2
Bump semver from 5.7.1 to 5.7.2
2023-07-12 16:06:14 +02:00
a3439da93f Merge pull request #55 from JanGross/dependabot/npm_and_yarn/dottie-2.0.4
Bump dottie from 2.0.3 to 2.0.4
2023-07-12 16:05:53 +02:00
dependabot[bot]
03c5153e59 Bump semver from 5.7.1 to 5.7.2
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-11 15:52:04 +00:00
dependabot[bot]
646d1a61c0 Bump dottie from 2.0.3 to 2.0.4
Bumps [dottie](https://github.com/mickhansen/dottie.js) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/mickhansen/dottie.js/releases)
- [Commits](https://github.com/mickhansen/dottie.js/compare/v2.0.3...v2.0.4)

---
updated-dependencies:
- dependency-name: dottie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 21:08:29 +00:00
e25d3bb2cb Update toho-jose reference 2023-06-11 20:56:53 +02:00
7e045df971 Add Toho-Miku banner 2023-06-11 20:56:05 +02:00
d4caefc077 Missing: Use embeds 2023-06-06 14:52:38 +02:00
088079cc0e Commands: Add core missing command 2023-06-05 17:56:48 +02:00
5a47d0695f Clear guild commands on production
to avoid duplicates
2023-05-31 21:39:36 +02:00
fc927aa664 Add related project references to README 2023-05-25 10:01:48 +02:00
4f62cceaa0 API: Redirect 404 routes to homepage 2023-05-25 09:06:13 +02:00
da9044bb15 Readme: Add Discord and Patreon badges 2023-05-03 17:42:24 +02:00
06f968bceb Docs: Fix link paths 2023-04-17 18:21:21 +02:00
969c257ee4 Docs: Add docs for API routes
and remove legacy import instructions
2023-04-17 18:15:37 +02:00
85cebd2886 API: Add missing auth check to POST /characters 2023-04-17 17:53:12 +02:00
aea807ca3c API: Properly handle not found cases for groups and characters 2023-04-17 16:00:12 +02:00
3915956bea API: Add routes for badges 2023-04-17 15:57:36 +02:00
833fcd4c74 API: Move character routes to separate file 2023-04-17 15:47:43 +02:00
2e04a85eb8 API: Move group routes to separate file 2023-04-17 15:46:28 +02:00
5712ea38c1 API: Move API Key auth to middelware file 2023-04-17 15:28:13 +02:00
e2f18e1df5 API: Add routes to create and update groups/characters 2023-04-17 15:07:29 +02:00
1b9693401c API: Add routes to fetch groups and characters 2023-04-17 14:31:12 +02:00
1449e816e1 API: Don't send response if no res object is passed to auth check 2023-04-17 14:29:33 +02:00
babb45f461 Drop: Only ping when wishlist pings are enabled
by the user.
2023-04-05 17:17:10 +02:00
6067fbb24e Editprofile: Add buttons to toggle ping user-settings 2023-04-05 16:48:46 +02:00
a1c9f9f32e ReplyUtils: Make component recreation compatible with multi-row components 2023-04-05 16:47:13 +02:00
4b598cadbf DB: Add fields for ping settings 2023-04-05 15:23:42 +02:00
c5ab964cef API: Add type filter to most-recent-drop
otherwise claims would break the output
2023-04-05 13:07:20 +02:00
f1e01f2a9f API: Add experimental Json API
in preparation for external healthchecks and the
admin backend. We define a couple test routes:

- / List all routes
- /ping Replies pong for online-checks
- /stats Get high-level bot statistics
- /most-recent-drop Returns the most recent entry from dropHistories

The last two routes require a valid apikey header.
All routes are prefixed by /api/v1
2023-04-05 12:00:46 +02:00