Aster Fialla
|
75c4c548d8
|
deleted extra file added during merge
|
2026-02-18 21:13:25 -05:00 |
|
Aster Fialla
|
9d5493e8ab
|
Merge remote-tracking branch 'origin/add-tests' into add-tests
# Conflicts:
# src/bot.js
# src/commands.js
# src/database.js
# src/helpers/importHelper.js
# src/helpers/memberHelper.js
# src/helpers/messageHelper.js
# src/helpers/webhookHelper.js
|
2026-02-18 21:03:44 -05:00 |
|
Aster Fialla
|
fc1c463696
|
more tests for webhookhelper
|
2026-02-18 17:14:04 -05:00 |
|
Aster Fialla
|
1bba8099e9
|
updating docstring for messageHelper parseProxyTags
|
2026-02-18 16:29:08 -05:00 |
|
Aster Fialla
|
acd9ce7c3e
|
more cases for messageHelper just in case
|
2026-02-18 16:28:35 -05:00 |
|
Aster Fialla
|
da9a3d2c8a
|
finished tests for messageHelper!
|
2026-02-18 12:37:39 -05:00 |
|
Aster Fialla
|
274f1ead15
|
added "return" so tests dont terminate on failure and deleted env.jest
|
2026-02-18 12:11:55 -05:00 |
|
Aster Fialla
|
223292c2d3
|
added tests for parseProxyTags and updated logic
|
2026-02-18 10:17:08 -05:00 |
|
Aster Fialla
|
400e40a405
|
updated sendMessageAsAttachment to returnBufferFromText and updated commands/webhookHelper accordingly
|
2026-02-18 09:19:44 -05:00 |
|
Aster Fialla
|
152bc8873d
|
added test for memberHelper
|
2026-02-18 09:16:26 -05:00 |
|
Aster Fialla
|
e16694ac2d
|
fixed test and logic
|
2026-02-18 08:47:37 -05:00 |
|
Aster Fialla
|
f0ac02e86d
|
readded line i shouldn't have removed in sendMessageAsMember
|
2026-02-18 00:33:05 -05:00 |
|
Aster Fialla
|
5c01f2e284
|
test setup for messagehelper and webhookhelper
|
2026-02-18 00:28:18 -05:00 |
|
Aster Fialla
|
da5a250445
|
added return to addFullMember so that addNewMember can reference it properly in strings
|
2026-02-18 00:27:51 -05:00 |
|
Aster Fialla
|
23a57b3e99
|
simplified sendMessageAsAttachment
|
2026-02-18 00:26:51 -05:00 |
|
Aster Fialla
|
1bf6c8c1f2
|
think i fixed weird error with webhook sending error when a user has no members
|
2026-02-18 00:25:41 -05:00 |
|
Aster Fialla
|
fe00f66104
|
more tests for member helper
|
2026-02-17 23:03:45 -05:00 |
|
Aster Fialla
|
15703c24cd
|
moved import to helpers folder
|
2026-02-17 23:03:19 -05:00 |
|
Aster Fialla
|
3dbbe7df50
|
moved import to helpers folder
|
2026-02-17 23:03:08 -05:00 |
|
Aster Fialla
|
31eb4262dd
|
upgraded fluxer.js
|
2026-02-17 22:23:55 -05:00 |
|
Aster Fialla
|
c645bb0aea
|
renamed db to database
more tests and fixing logic for memberhelper
|
2026-02-17 22:23:47 -05:00 |
|
Aster Fialla
|
0b7f549bdf
|
added error handling parseMemberCommand test
|
2026-02-17 21:21:07 -05:00 |
|
Aster Fialla
|
bfc633a755
|
setup fixed more
|
2026-02-17 20:52:22 -05:00 |
|
Aster Fialla
|
01e620a935
|
finally figured out issue with tests (referencing the method directly in the test.each calls the real method not the mock in beforeEach())
|
2026-02-17 20:49:19 -05:00 |
|
Aster Fialla
|
a4804c2ea7
|
added babel to convert es modules to cjs
|
2026-02-17 20:48:44 -05:00 |
|
Aster Fialla
|
164ff7d8b6
|
nevermind it wasn't actually working, gonna move on for now
|
2026-02-17 19:58:56 -05:00 |
|
Aster Fialla
|
5e3b3f33d3
|
mostly working except for the weirdest error
|
2026-02-17 19:38:50 -05:00 |
|
Aster Fialla
|
4fcb53482c
|
separating out enum return from method return
|
2026-02-17 19:36:14 -05:00 |
|
Aster Fialla
|
ba9552b4aa
|
updated jest to sort of work with es6
|
2026-02-17 17:38:06 -05:00 |
|
Aster Fialla
|
35b454bc80
|
Revert "converted import syntax to commonJS"
This reverts commit 5ab0d62b
|
2026-02-17 17:25:18 -05:00 |
|
Aster Fialla
|
321fe7f0a9
|
more correct dockerfile and compose.yaml
|
2026-02-17 17:16:48 -05:00 |
|
Aster Fialla
|
0a4bfa59ad
|
more correct test setup
|
2026-02-17 17:16:10 -05:00 |
|
Aster Fialla
|
79d98c3618
|
adjusted beforeeach/beforeall so more pass
|
2026-02-17 17:16:10 -05:00 |
|
Aster Fialla
|
a44e2745c5
|
got test sort of working (jest set up is not crashing but also not mocking correctly)
|
2026-02-17 17:16:10 -05:00 |
|
Aster Fialla
|
5ab0d62bdb
|
converted import syntax to commonJS
removed unused methods
|
2026-02-17 17:16:09 -05:00 |
|
Aster Fialla
|
876f9486ad
|
more correct test setup
|
2026-02-17 07:14:47 -05:00 |
|
Aster Fialla
|
5e28cdfd01
|
adjusted beforeeach/beforeall so more pass
|
2026-02-17 07:11:22 -05:00 |
|
Aster Fialla
|
5a39610547
|
got test sort of working (jest set up is not crashing but also not mocking correctly)
|
2026-02-16 18:46:33 -05:00 |
|
Aster Fialla
|
a3caa2dc42
|
converted import syntax to ES modules
removed unused methods
|
2026-02-16 18:46:32 -05:00 |
|
Aster Fialla
|
055ecdf20d
|
removed unneeded code
|
2026-02-16 13:43:34 -05:00 |
|
Aster Fialla
|
51ada567ce
|
made bot search and query lowercase instead of only applying to uppercase
|
2026-02-16 13:30:57 -05:00 |
|
Aster Fialla
|
be5505b03c
|
added --help functionality to import command
|
2026-02-16 13:15:28 -05:00 |
|
Aster Fialla
|
07d4e735eb
|
changed parseProxyTags to filter proxy differently. changed conditional in sendMessageAsMember because obj will never not exist
|
2026-02-16 12:48:26 -05:00 |
|
Aster Fialla
|
8b709b75ce
|
updated readme and enums
|
2026-02-16 12:31:44 -05:00 |
|
Aster Fialla
|
6cd34e9c68
|
adjusted webhook helper to not query twice for member.
adjusted proxy message to just reply to message w/ attachments with "Attachment sent by" instead of sending error message
|
2026-02-16 12:30:46 -05:00 |
|
Aster Fialla
|
b2fc9f9111
|
fixed regex to escape proxy tags that match a normal regex
|
2026-02-16 12:16:06 -05:00 |
|
Aster Fialla
|
b3813d771d
|
tentative adding of system model (not used yet)
|
2026-02-16 11:09:03 -05:00 |
|
Aster Fialla
|
f19a5ba58c
|
gitignore of env added
|
2026-02-16 11:08:53 -05:00 |
|
Aster Fialla
|
5a9a2977c6
|
adding build of whole image to compose
|
2026-02-16 11:08:41 -05:00 |
|
Aster Fialla
|
b15262e1c5
|
added .env to bot.js and db.js
|
2026-02-16 11:08:19 -05:00 |
|