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

Qol updates #7

Draft
wants to merge 251 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
251 commits
Select commit Hold shift + click to select a range
2993232
Revert "Add interface for Events": Redundant, already specified in ev…
FinlayDaG33k Apr 27, 2023
2bf8d95
Update comments and make sure a class with the convention name was found
FinlayDaG33k Apr 27, 2023
c87a22f
Add some utils.
FinlayDaG33k Apr 27, 2023
2d4052d
Always lowercase the channel name
FinlayDaG33k Apr 27, 2023
e492ff0
Export Event and change type to number for intents
FinlayDaG33k May 7, 2023
76ffc1f
Allow disabling of cache sweepers
FinlayDaG33k Jun 4, 2023
20d50c0
Add class for interfacting with Loki
FinlayDaG33k Jul 16, 2023
cdfa4be
Move some stuff around
FinlayDaG33k Jul 20, 2023
787d968
Create a few dozen "mod.ts" files
FinlayDaG33k Jul 20, 2023
86950df
Add CouchDB communication class
FinlayDaG33k Jul 20, 2023
8fec4eb
Fix some minor errors
FinlayDaG33k Jul 20, 2023
fa9d5c3
Fix more errors
FinlayDaG33k Jul 20, 2023
062128f
Replace Cron with Croner
FinlayDaG33k Jul 20, 2023
e0d280e
Remove env from "mod.ts"
FinlayDaG33k Jul 20, 2023
b349bd9
Magic with exports
FinlayDaG33k Jul 20, 2023
c28fbd1
Fix some todos
FinlayDaG33k Jul 20, 2023
7c75715
Load interactions by convention
FinlayDaG33k Jul 20, 2023
f6a9108
Change log from warning to debug
FinlayDaG33k Jul 20, 2023
9255bf7
Add debug statement
FinlayDaG33k Jul 20, 2023
4dda83b
Automatically load events from directory
FinlayDaG33k Jul 20, 2023
91ca284
Deprecate ucfirst and lcfirst in favour of the Inflector class
FinlayDaG33k Jul 20, 2023
74baec3
use the inflector for the InteractionDispatcher
FinlayDaG33k Jul 20, 2023
7aa1b19
Add some comments
FinlayDaG33k Jul 20, 2023
b003a65
Remove assignment
FinlayDaG33k Jul 20, 2023
9439ca9
Rename tests
FinlayDaG33k Jul 20, 2023
e254027
Write test for the inflector
FinlayDaG33k Jul 20, 2023
3e9f4c0
Revert "Remove assignment"
FinlayDaG33k Jul 20, 2023
4901b91
Add Codecov action
FinlayDaG33k Jul 20, 2023
10da1b6
Update codecov
FinlayDaG33k Jul 20, 2023
29bc33e
Update codecov
FinlayDaG33k Jul 20, 2023
646be6b
Update codecov
FinlayDaG33k Jul 20, 2023
e875c4b
Update codecov
FinlayDaG33k Jul 20, 2023
ea01594
update codecov
FinlayDaG33k Jul 20, 2023
5c5ba34
Update codecov
FinlayDaG33k Jul 20, 2023
515bbf2
Update codecov
FinlayDaG33k Jul 20, 2023
47192e2
Update codecov
FinlayDaG33k Jul 20, 2023
f32a4b0
Update codecov
FinlayDaG33k Jul 20, 2023
21b3e77
Update Codecov
FinlayDaG33k Jul 20, 2023
535c728
Update readme
FinlayDaG33k Jul 21, 2023
24ee577
Ignore getting data if not using HEAD
FinlayDaG33k Jul 23, 2023
a1d4d7b
Use GET instead of HEAD when upserting
FinlayDaG33k Jul 23, 2023
9514c8d
Do not accept numbers (causes errors)
FinlayDaG33k Jul 25, 2023
e1ab586
Do note use default
FinlayDaG33k Jul 25, 2023
14443af
Cache imports and return error responses if something goes wrong
FinlayDaG33k Jul 27, 2023
cb3d440
Add comment
FinlayDaG33k Jul 27, 2023
0738b72
Export websocket
FinlayDaG33k Jul 27, 2023
239f01f
Remove async and await from route
FinlayDaG33k Jul 27, 2023
b0a292c
Fix bug with 404 not being sent when route wasn't found
FinlayDaG33k Jul 27, 2023
9002422
Add comments and clean up a wee bit
FinlayDaG33k Jul 27, 2023
d20a500
Fix typo
FinlayDaG33k Jul 27, 2023
c330df9
Move type to its own class
FinlayDaG33k Jul 27, 2023
33c9099
Do not set CORS to '*' you moron
FinlayDaG33k Jul 27, 2023
b5c7b3d
Cleanup setter
FinlayDaG33k Jul 27, 2023
9caf34f
Some consistency
FinlayDaG33k Jul 27, 2023
e950f6f
Add enum with all status codes
FinlayDaG33k Jul 27, 2023
c137f7d
Create mod files
FinlayDaG33k Jul 27, 2023
3b6cd06
Cleanup template directory handling
FinlayDaG33k Jul 27, 2023
49be2f1
Clean up controller dir path
FinlayDaG33k Jul 27, 2023
f5fba39
Use Deno CWD
FinlayDaG33k Jul 27, 2023
872a1c6
Add class for GraphQL queries
FinlayDaG33k Jul 27, 2023
d2924ca
Add utility function to raise errors
FinlayDaG33k Jul 28, 2023
d72f2d2
Split handlebars renderer and update controller a bit
FinlayDaG33k Jul 28, 2023
2d6ce69
Wrap return time in boolean
FinlayDaG33k Jul 28, 2023
3b431ef
Create ResponseBuilder and put it in charge of managing headers as well
FinlayDaG33k Jul 28, 2023
2764a3f
Update comment
FinlayDaG33k Jul 28, 2023
c4f8436
Use a Request object to pass data to the controller more easily
FinlayDaG33k Jul 28, 2023
9f34dbc
Remove useless assigment
FinlayDaG33k Jul 28, 2023
fe88e05
Fix a small naming conflict
FinlayDaG33k Jul 28, 2023
62064a1
Update deprecation notice
FinlayDaG33k Jul 28, 2023
7d1e648
Replace 'any' with a proper type
FinlayDaG33k Jul 28, 2023
540ebf4
Update types on properties
FinlayDaG33k Jul 28, 2023
9e88ba9
Get rid of more any types
FinlayDaG33k Jul 28, 2023
e55c7b3
Cast everything to string
FinlayDaG33k Jul 28, 2023
bdea0f8
Fix errors
FinlayDaG33k Jul 28, 2023
7d182a3
Fix more any types
FinlayDaG33k Jul 28, 2023
2c754d8
Move more of the routing logic to the router to clean up the Webserve…
FinlayDaG33k Jul 28, 2023
5340a68
Add comment
FinlayDaG33k Jul 28, 2023
1dcb057
Remove an "any" type
FinlayDaG33k Jul 28, 2023
1260726
Add withType method
FinlayDaG33k Jul 28, 2023
c461dd3
Update type
FinlayDaG33k Jul 28, 2023
7775c00
Cleanup Request a bit
FinlayDaG33k Jul 28, 2023
e8eee39
Try to prevent people from accidentally screwing with the important data
FinlayDaG33k Jul 28, 2023
acfda8d
Make sure controller extends our own controller
FinlayDaG33k Jul 28, 2023
1315bcc
Fix phrasing
FinlayDaG33k Jul 28, 2023
12d37d1
Remove unused interface
FinlayDaG33k Jul 28, 2023
7feb778
Nutty stuff
FinlayDaG33k Jul 29, 2023
6c59b47
Update deprecation messages
FinlayDaG33k Jul 29, 2023
280d246
Remove env completely
FinlayDaG33k Jul 29, 2023
aa57e5f
Make the Webserver module only export what's really needed
FinlayDaG33k Jul 29, 2023
f69e89f
Remove ucfirst and lcfirst completely
FinlayDaG33k Jul 29, 2023
ef4a305
Prevent people abusing module files to overfetch what they don't need
FinlayDaG33k Jul 29, 2023
5d4892a
Do not use CWD (causes bugs on Windows)
FinlayDaG33k Jul 29, 2023
e580f1d
Add rudimentary cache control
FinlayDaG33k Jul 29, 2023
d6390c9
Optimise cache and cut out middleman repo
FinlayDaG33k Jul 30, 2023
cda27f5
Add Cache class
FinlayDaG33k Jul 30, 2023
00b71d4
Make Router-stuff just completely static
FinlayDaG33k Jul 30, 2023
8d45f99
Do not use new for router
FinlayDaG33k Jul 31, 2023
c930a9d
Allow re-useable components to be loaded
FinlayDaG33k Jul 31, 2023
33e2b5d
Add components and some more utility functions
FinlayDaG33k Jul 31, 2023
82eae58
Build more general-purpose cache for modules
FinlayDaG33k Jul 31, 2023
bd86d48
Remove obsolete code
FinlayDaG33k Jul 31, 2023
dc8306e
Allow Brotli-compression
FinlayDaG33k Jul 31, 2023
2a3d3ad
Reorganize a bunch of stuff
FinlayDaG33k Aug 3, 2023
6ddfa0f
Fix forgotten "." in extention checkers
FinlayDaG33k Aug 3, 2023
4770d00
Fix wrong event dispatch
FinlayDaG33k Aug 16, 2023
4c4e347
Allow turning strings into camelCase
FinlayDaG33k Aug 20, 2023
8952997
Do a bit of refactoring
FinlayDaG33k Aug 20, 2023
8383273
Fix message
FinlayDaG33k Aug 27, 2023
0536683
Add class for logging into InfluxDB
FinlayDaG33k Aug 27, 2023
77d2d60
export enum
FinlayDaG33k Aug 27, 2023
6848860
Fix some bugs with highlighting and non-brotli accepting requests
FinlayDaG33k Sep 5, 2023
c982345
Fix some bugs in highlighting and allow Query parameters to be obtain…
FinlayDaG33k Sep 6, 2023
c98ad31
Remove console log
FinlayDaG33k Sep 6, 2023
d4ae9a4
Allow octet-streams
FinlayDaG33k Sep 7, 2023
28a358f
Allow reading files
FinlayDaG33k Sep 7, 2023
d75b114
Make logger methods overrideable by app.
FinlayDaG33k Sep 13, 2023
44b3961
Fix minor error
FinlayDaG33k Oct 4, 2023
a0942d4
Update the way Interaction configs are made and handled
FinlayDaG33k Oct 4, 2023
204ce92
Fix small bug
FinlayDaG33k Oct 4, 2023
eed7ccf
Use caching when finding role by name
FinlayDaG33k Dec 3, 2023
f66a2d5
Move `raise` function to `error` folder
FinlayDaG33k Dec 13, 2023
b9cd05b
Update raise to quickly be able to make custom error names
FinlayDaG33k Dec 13, 2023
b2aed3e
Allow passing custom error classes
FinlayDaG33k Dec 13, 2023
801e42e
Update type for bot
FinlayDaG33k Dec 14, 2023
aeaa866
Fix bug with role cache
FinlayDaG33k Dec 14, 2023
1ebd6f6
Update dispatcher.ts
FinlayDaG33k Jan 9, 2024
01fd913
Fix bug with query parameters not properly parsing
FinlayDaG33k Jan 15, 2024
23bfecd
Update comments and add Random.float() and Random.integer()
FinlayDaG33k Jan 17, 2024
1f8c6c0
update discordeno 13 -> 18 (#9)
sebakocz Jan 18, 2024
d9923cb
Update interaction.ts
FinlayDaG33k Jan 23, 2024
a7c7caa
Bunch of renaming and moving stuff around to make imports and updates…
FinlayDaG33k Jan 24, 2024
ef3e8b2
Start writing proper docs
FinlayDaG33k Jan 24, 2024
47a643e
Add InteractionBuilder
FinlayDaG33k Jan 24, 2024
1fd5eee
Change exports a wee bit
FinlayDaG33k Jan 24, 2024
f19c767
Move getting started to main README.md
FinlayDaG33k Jan 24, 2024
2fa5007
Start documenting CouchDB
FinlayDaG33k Jan 24, 2024
ccf016b
Update README.md
FinlayDaG33k Jan 24, 2024
8c71f7d
Restructure documentation a bit.
FinlayDaG33k Jan 24, 2024
8605e81
Fix typo
FinlayDaG33k Jan 24, 2024
cf6b952
Add links to pages
FinlayDaG33k Jan 24, 2024
b53082c
Change wording a bit
FinlayDaG33k Jan 24, 2024
2bbe2de
Missing header
FinlayDaG33k Jan 24, 2024
7122c53
Add optimistic caching, use a Map instead of an object and add a cons…
FinlayDaG33k Jan 25, 2024
19d1226
Add Cache.dump() method
FinlayDaG33k Jan 25, 2024
b46665e
Clean up cache every hour
FinlayDaG33k Jan 25, 2024
0d15ddc
No need to check if an item existed
FinlayDaG33k Jan 25, 2024
e50a927
Over-documentation
FinlayDaG33k Jan 25, 2024
e58302d
Document Cache
FinlayDaG33k Jan 25, 2024
ca18b4c
Remove "raise" from default package
FinlayDaG33k Jan 25, 2024
5f336ef
Update README.md
FinlayDaG33k Jan 25, 2024
fe14476
Update comment
FinlayDaG33k Jan 25, 2024
058e293
Comments and allow creation of directories
FinlayDaG33k Jan 25, 2024
9ae713b
Fix minor bug
FinlayDaG33k Jan 25, 2024
c55f7d7
Set debug key by default
FinlayDaG33k Jan 25, 2024
12b18dc
Allow resetting Configure to default state
FinlayDaG33k Jan 25, 2024
d7b73c3
Start documenting the Configure
FinlayDaG33k Jan 25, 2024
69e37c2
Add linebreak
FinlayDaG33k Jan 25, 2024
fb920a3
Remove Codecov and replace with regular Deno test
FinlayDaG33k Jan 30, 2024
676bd63
Add deno lint stage
FinlayDaG33k Jan 30, 2024
e9a3753
Change when to run actions
FinlayDaG33k Jan 30, 2024
7f61bdd
Fix deprecation
FinlayDaG33k Jan 30, 2024
c108b75
Use const instead of let
FinlayDaG33k Jan 30, 2024
35fb9f3
Do allow inferrable types
FinlayDaG33k Jan 30, 2024
97d0c7a
Replace let with const
FinlayDaG33k Jan 30, 2024
62676df
Remove async and fix some type juggling
FinlayDaG33k Jan 30, 2024
89cf564
Remove redundant check
FinlayDaG33k Jan 30, 2024
ee3bd5f
Do not use async and remove unused variable
FinlayDaG33k Jan 30, 2024
8f8cc4b
Remove any from Discord
FinlayDaG33k Jan 30, 2024
962f04e
Remove any
FinlayDaG33k Jan 30, 2024
f738bf4
Method requires bigstring
FinlayDaG33k Jan 30, 2024
df4b41b
Fix type
FinlayDaG33k Jan 30, 2024
078c7d2
Add todo to find out types for spec
FinlayDaG33k Jan 30, 2024
f38a337
Add types for Redis
FinlayDaG33k Jan 30, 2024
0fca054
Optimize snowflakeToDate a bit and write a test for it
FinlayDaG33k Jan 30, 2024
e046263
Make handlebars unable to return nothing
FinlayDaG33k Jan 30, 2024
bf774d7
Make the linter a wee-bit less upset with me
FinlayDaG33k Jan 30, 2024
52bebc7
Upgrade Deno version
FinlayDaG33k Jan 30, 2024
2910e9d
Update "raise"
FinlayDaG33k Jan 30, 2024
b50ac69
Remove unused ignore
FinlayDaG33k Jan 30, 2024
2ebd5bd
Remove obsolete events
FinlayDaG33k Feb 1, 2024
122525b
Make time public
FinlayDaG33k Feb 1, 2024
0bf361d
Fix errors where Discord.getBot() could possibly be undefined
FinlayDaG33k Feb 1, 2024
9edeed3
Fix cache error and ignore TS error
FinlayDaG33k Feb 1, 2024
3a88a28
Fix variable name error
FinlayDaG33k Feb 1, 2024
bc4f784
Add type to dispatcher
FinlayDaG33k Feb 1, 2024
7c98a33
Add more types
FinlayDaG33k Feb 1, 2024
ddcbbfe
Do not allow empty interaction data
FinlayDaG33k Feb 1, 2024
15eb66f
TSIgnore error
FinlayDaG33k Feb 1, 2024
eaca257
Just ts-ignore a few things into the TODO list
FinlayDaG33k Feb 1, 2024
827a7c2
Fix error when assigning new Configure
FinlayDaG33k Feb 1, 2024
3e60952
No longer use env for debug logging
FinlayDaG33k Feb 1, 2024
cd93116
Add TODO item
FinlayDaG33k Feb 1, 2024
dfeb05d
Make LogLevels dynamic
FinlayDaG33k Feb 1, 2024
738faf6
Forgotten in previous commit
FinlayDaG33k Feb 1, 2024
02fbd5d
Disable explicit any
FinlayDaG33k Feb 1, 2024
f6afce3
Update test to handle linting and testing seperately
FinlayDaG33k Feb 1, 2024
d93ef8d
Remove env access during test
FinlayDaG33k Feb 1, 2024
1f35ac3
Update raise function and add tests (Closes #11)
FinlayDaG33k Feb 2, 2024
065d4b7
Document raise function
FinlayDaG33k Feb 2, 2024
dd75073
Finish documenting configure
FinlayDaG33k Feb 2, 2024
d6eddf8
Add PR template
FinlayDaG33k Feb 2, 2024
e48ec01
Document CheckSource
FinlayDaG33k Feb 2, 2024
77a2e22
Update documentation a bit
FinlayDaG33k Apr 2, 2024
24b7d9c
Add method to Text to allow for escaping HTML entities
FinlayDaG33k Apr 4, 2024
47232bc
Fix bug with source checks never running properly
FinlayDaG33k May 26, 2024
82389a3
Allow writing bulk to InfluxDB
FinlayDaG33k Jun 17, 2024
4519c7c
Allow multiple paths to be checked in one go
FinlayDaG33k Aug 17, 2024
e572c03
Disallow setting null and undefined
FinlayDaG33k Aug 17, 2024
adeaf7e
Standardize error codes
FinlayDaG33k Sep 1, 2024
f0019bd
Move CouchDB docs to file instead
FinlayDaG33k Sep 3, 2024
d6841d0
Allow executing a view design
FinlayDaG33k Sep 8, 2024
576d93f
Move Logger to Core
FinlayDaG33k Sep 18, 2024
0d248eb
Move old docs while I'm rewriting them
FinlayDaG33k Sep 18, 2024
1b7623d
Document Random
FinlayDaG33k Sep 18, 2024
59bbfc8
Copy-pasta too stronk
FinlayDaG33k Sep 18, 2024
954f7f7
Migrate all existing docs
FinlayDaG33k Sep 18, 2024
1515931
Fix some imports
FinlayDaG33k Sep 18, 2024
04d920d
Fix tests
FinlayDaG33k Sep 18, 2024
70fad8a
Update docs
FinlayDaG33k Sep 18, 2024
4e616d0
Ignore docs while linting
FinlayDaG33k Sep 18, 2024
ab12f8a
Fix Text test not running
FinlayDaG33k Sep 18, 2024
ddfa50d
Test Text.tokenize
FinlayDaG33k Sep 18, 2024
473f8bf
Add linting to the pipeline
FinlayDaG33k Sep 18, 2024
e006027
Run fmt
FinlayDaG33k Sep 18, 2024
86d40cc
Fix small test error
FinlayDaG33k Sep 18, 2024
eff6242
Attempt number 2
FinlayDaG33k Sep 18, 2024
a3acdce
*sigh*
FinlayDaG33k Sep 18, 2024
ab64c59
*sigh^2*
FinlayDaG33k Sep 18, 2024
f879ea9
Update workflow
FinlayDaG33k Sep 18, 2024
1dc9863
Fix error
FinlayDaG33k Sep 18, 2024
4d7564c
Add new utility for "contracts"
FinlayDaG33k Sep 21, 2024
c3c2fa7
Split up in seperate jobs so they one error doesn't cause others to fail
FinlayDaG33k Sep 21, 2024
47d80e3
Fix some errors
FinlayDaG33k Sep 21, 2024
7ff66b1
Add never types
FinlayDaG33k Nov 10, 2024
70ddae2
Add experimental read-through cache
FinlayDaG33k Nov 10, 2024
58cf23b
Add Cache metrics
FinlayDaG33k Nov 16, 2024
df189d4
Fix errors
FinlayDaG33k Nov 16, 2024
ad596a0
Create metrics entry for total
FinlayDaG33k Nov 16, 2024
b31a757
Fix bug and add note
FinlayDaG33k Nov 16, 2024
409dd95
Add byte-formatting utility
FinlayDaG33k Nov 16, 2024
648e396
Keep track of writes and swept entries as well
FinlayDaG33k Nov 16, 2024
88074da
Actually increase counter for writes
FinlayDaG33k Nov 16, 2024
da23f5e
Increase counter on miss for Cache.remember
FinlayDaG33k Nov 16, 2024
2444db5
Fix some errors and change percentage calculation
FinlayDaG33k Nov 16, 2024
9a46647
Allow getting size of cache
FinlayDaG33k Nov 22, 2024
42648ae
Add finder method
FinlayDaG33k Nov 24, 2024
1a2eda8
Export CouchOverrides
FinlayDaG33k Nov 27, 2024
2c30000
Make linter happier (might break stuff)
FinlayDaG33k Dec 7, 2024
a785a3f
Create new requireNotEmpty
FinlayDaG33k Dec 7, 2024
bc6533c
Add requireEmpty contract
FinlayDaG33k Dec 7, 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 codecov
  • Loading branch information
FinlayDaG33k committed Jul 20, 2023

Verified

This commit was signed with the committer’s verified signature.
semuadmin SEMU Admin
commit 515bbf22dcd7eb882380168445303ec4acf74315
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -14,4 +14,4 @@ jobs:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
file: ./coverage.lcov
files: coverage.lcov