Commit graph

331 commits

Author SHA1 Message Date
Max Leiter 19d5beb562
Replace vetur with volar, small types cleanup 2022-06-01 11:45:08 -07:00
Max Leiter cb0c6222cf
Work on LDAP tests 2022-05-31 22:37:16 -07:00
Max Leiter 73014369c4
Possibly fix one reason tests fail 2022-05-31 18:50:58 -07:00
Max Leiter ba3c616bb8
bump eslint, fix tsconfig helper issue 2022-05-31 18:37:02 -07:00
Max Leiter 03eadf0288
Add separate yarn lint command 2022-05-31 15:21:16 -07:00
Max Leiter 8f27e03b40
Fix sqlite tests? 2022-05-31 15:06:45 -07:00
Max Leiter db5eae414c
Fix user test 2022-05-31 14:52:53 -07:00
Max Leiter ade6269de9
Add more socketio types 2022-05-31 14:47:55 -07:00
Max Leiter 4f41d80b88
Replace as string with String constructor 2022-05-31 14:47:54 -07:00
Max Leiter c682550e1f
Fix UserConfig type in clientManager 2022-05-31 14:00:59 -07:00
Max Leiter 3d4d29bca4
linting 2022-05-31 13:56:33 -07:00
Max Leiter 96aa50c673
Fix types in client/keybinds 2022-05-31 13:48:29 -07:00
Max Leiter afba008363
Fix package commands by adding .argument() call 2022-05-31 13:44:54 -07:00
Max Leiter 21b52a99a0
linting 2022-05-31 12:54:21 -07:00
Max Leiter cff9209a25
fix joining channels from net form(?), major progress in tests 2022-05-31 12:46:55 -07:00
Max Leiter b10ef5363a
remove jsdom 2022-05-30 22:12:40 -07:00
Max Leiter b8e04add38
Fix mention loading, progresson mocha 2022-05-30 22:11:28 -07:00
Max Leiter ca6ae93b3e
Fix some tests / linting 2022-05-30 12:54:33 -07:00
Max Leiter f189e9766c
Chat is rendering 2022-05-23 12:17:10 -07:00
Max Leiter f37d82dd19
vue 3 progress 2022-05-23 00:44:01 -07:00
Max Leiter aace97056b
progress before vue 3 2022-05-21 17:27:51 -07:00
Max Leiter 4c98b81e35
some test fixes 2022-05-21 11:56:03 -07:00
Eric Nemchik b798cfdc64
Ts more configs again (#4567)
* tsconfig comments
also recreate tsconfig base from tsc --init
* Add eslint-define-config
Rewrite eslintrc
* More tsconfig adjustments
* Move bad tsRules to separate var
2022-05-21 11:56:03 -07:00
Max Leiter a06bc904ae
Add src/dist to prettier/eslint ignores, apply lint, webpack adjustments 2022-05-21 11:56:01 -07:00
Max Leiter ed02acfad4
more tests, eslint work 2022-05-21 11:49:34 -07:00
Max Leiter 303c6ae7b3
[ts-migrate][test] Rename files from JS/JSX to TS/TSX
Co-authored-by: ts-migrate <>
2022-05-21 11:49:34 -07:00
Max Leiter 3de58c53b4
[ts-migrate][test] Init tsconfig.json file
Co-authored-by: ts-migrate <>
2022-05-21 11:49:33 -07:00
Max Leiter bdf0fcdbcb
client, some tests, eslint 2022-05-21 11:49:33 -07:00
Max Leiter f4be90813d
[ts-migrate][test] Rename files from JS/JSX to TS/TSX
Co-authored-by: ts-migrate <>
2022-05-21 11:49:32 -07:00
Max Leiter 3a7c9006bb
[ts-migrate][test] Init tsconfig.json file
Co-authored-by: ts-migrate <>
2022-05-21 11:49:32 -07:00
Max Leiter 36e7a61007
[ts-migrate][client] Init tsconfig.json file
Co-authored-by: ts-migrate <>
2022-05-21 11:49:31 -07:00
Max Leiter 1560b07f36
[ts-migrate][client] Run TS Migrate
Co-authored-by: ts-migrate <>
2022-05-21 11:49:31 -07:00
Max Leiter a4b0a1daa1
[ts-migrate][client] Rename files from JS/JSX to TS/TSX
Co-authored-by: ts-migrate <>
2022-05-21 11:49:31 -07:00
Max Leiter c4bf69b9ec
[ts-migrate][client] Init tsconfig.json file
Co-authored-by: ts-migrate <>
2022-05-21 11:49:30 -07:00
Max Leiter 044876534f
[ts-migrate][test] Init tsconfig.json file
Co-authored-by: ts-migrate <>
2022-05-21 11:49:30 -07:00
Max Leiter 5bb94d6428
ts progress 2022-05-21 11:47:49 -07:00
Max Leiter 01d640db47
ts progress 2022-05-21 11:47:08 -07:00
Reto d4cc2dd361
Refactor config out of Helper (#4558)
* Remove config from Helper

Helper is the usual util grab bag of useful stuff.
Somehow the config ended up there historically but
structurally that doesn't make any sense.

* Add cert folder to prettier ignore file
2022-05-01 12:12:39 -07:00
Reto Brunner c9c8cadb1a Merge pull/4477 Preserve client certificate 2022-04-27 17:58:09 +02:00
Val Lorentz 20ed3e6dc5
sqlite: Escape '%' and '_' in search queries. (#4487)
I picked '@' arbitrarily, it doesn't matter much.
I just don't like '\' because it needs to be escaped itself in the JS code,
which is annoying.
2022-04-11 17:49:13 -07:00
Val Lorentz ae7020f569 Do not remove client certificate, even when TLS is disabled
It does not really make sense to remove it, as it can lock someone out of
their account, just by temporarily disabling TLS.
2022-03-05 11:20:57 +01:00
Val Lorentz 53b4d00732 Preserve client certificate when TLS is indirectly enabled by a STS policy
Closes GH-4152.
2022-02-13 14:43:04 +01:00
Val Lorentz ba210e853b test/models/network.js: Add tests for automatic client certificate creation/deletion 2022-02-13 14:42:38 +01:00
Val Lorentz bd2a6cc5be test/models/network.js: Add a simple test for STS policies 2022-02-13 14:42:01 +01:00
Val Lorentz bcd4a060ec test/models/network.js: Reorder tests 2022-02-13 13:24:38 +01:00
Val Lorentz ed3ec6a560 test/models/network.js: Fix test groupping 2022-02-13 13:24:06 +01:00
Max Leiter 4be9a282fa
Add the option to mute channels, queries, and networks (#4282)
Co-authored-by: Reto <reto@labrat.space>
2022-02-10 17:56:17 -08:00
Reto d228a8c4f4
Bump most deps (#4453) 2022-02-09 15:27:34 -08:00
Max Leiter 186f8f68cd
Merge pull request #4351 from brunnre8/glob
Allow wildcards in hostmask
2021-11-04 14:36:27 -07:00
Reto Brunner 67503efd21 Allow wildcards in hostmask
According to https://modern.ircdocs.horse/#wildcard-expressions
masks should support "*" and "?" wildcards.
Within TL this only impacts the /ignore functionality.

The reasoning for doing this is to ignore say GuestNNNN!*@* with
guest*!*@* and be done with it if someone spams a gateway.
2021-11-04 20:16:20 +01:00