Commit Graph

7 Commits

Author SHA1 Message Date
Ean Milligan (Bastion) 60e13cbd51 Moar Sonar Cleanup 2022-06-19 01:57:10 -04:00
Ean Milligan (Bastion) 65d264d1c6 Sonar cleanup 2022-06-19 01:53:51 -04:00
Ean Milligan (Bastion) 764b8c103b Sonar Cleanup - Phase 7 2022-05-22 17:16:01 -04:00
Ean Milligan (Bastion) 9eff1f0835 Sonar Cleanup - Phase 4 2022-05-22 16:12:05 -04:00
Ean Milligan (Bastion) 891a36a9ba Sonar Cleanup - Phase 1 2022-05-22 15:29:59 -04:00
Ean Milligan (Bastion) dc06bc35df Patch to API Tools Website
Some code was out of order, fixed now.
2021-02-13 01:31:26 -05:00
Ean Milligan (Bastion) d30d43b2ee V1.4.0 Completed
This update adds a handful of new features and readies the API for public use.  Detailed changes below:

config.example.ts - Bumped version, added local testing options, added prefill data, changed default logging to false, moved long strings for help and rollhelp to longStrings.ts
db/initialize.ts (previously initDB.ts) - Relocated file for organization, added local options, added new command count and allowed guilds table, created stored procedure for counting commands
db/populateDefaults.ts - Fills in db with default values, adding admin's api key and populating the command count table
flags.ts - Centralized flags for dev/local modes
longStrings.ts - Moved all long string commands to here, contains help, rollhelp, apihelp, info, and privacy commands
mod.ts - Moved flags out into flags.ts, implemented local mode for development, implemented command counting for basic statistics, added info and privacy commands for user help, added more stats to the stats command, added api command, allowing users to allow or block api rolls from happening in their server, reformatted API code, using proper HTTP methods, makes sure api is allowed to roll into chosen guild, added delete endpoint to remove user's data from the database, added endpoint to allow the general public to generate their own api keys
PRIVACY.md - I got bored and wrote a privacy policy, detailing how little data is collected and how the user can have their data removed
README.md - Added new commands to README, updated API documentation, added delete endpoint, updated self hosting details
src/utils.ts - Bumped discordeno version
www/api - Built API website
www/home (previously located in www) - Moved for better organization, minor fixes, updated API details,
2021-02-12 23:26:33 -05:00