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
itsjohncs
044cd2403b
Small cleanup of messageStorage/sqlite.
...
* Extend test coverage to the `search` function.
* Test sort order of messages from `getMessages` and `search`
* Move reversal of `search` results from Vue to messageStorage.
* Remove unnecessary uses of `sqlite.serialize` in tests.
* Return promises from test functions where possible.
2021-10-28 00:48:11 -07:00
Nachtalb
206d554ce1
Save the proxy password so you don't have to reenter it after restart
2021-10-24 21:27:43 +02:00
Reto
8fcd079204
Properly track user modes for context menu ( #4267 )
...
* properly track user modes for context menu
The RPL_ISUPPORT response contains a PREFIX element, which not only tracks the
prefix chars ("@", "+" etc) but also their corresponding mode chars (+O, +v)
This commit changes the context menu to not rely on a hardcoded list but rather
user the one given in the prefix response by the server.
Co-authored-by: Max Leiter <maxwell.leiter@gmail.com>
2021-07-21 00:30:07 -07:00
JeDaYoshi
35fcacb767
Add firstCommand and do further checks on mode tests
2021-07-06 18:15:37 +00:00
JeDaYoshi
d96704835a
Send all modes in case of no ISUPPORT
2021-07-06 15:48:01 +00:00
JeDaYoshi
23f6886cc1
Add test for ISUPPORT-less networks on /mode shorthands
2021-07-04 01:01:45 +00:00
JeDaYoshi
e0e12c1960
Fix tests for mode shorthand commands
2021-07-03 21:20:28 +00:00
Max Leiter
d106889127
Merge branch 'master' into feature/socks-support
2021-06-29 22:48:00 -07:00
Mateusz Hajder
6f7fd80044
Fix length of the link in tests
2021-05-26 13:59:04 +02:00
Mateusz Hajder
28c413319f
Change IRC server and channels in tests to more generic
2021-05-26 13:43:06 +02:00
Mateusz Hajder
af236dd280
Add the default IRC network for tests
2021-05-26 13:41:33 +02:00
Mary Strodl
3f984fad4b
network: fix test
2021-05-05 20:37:54 -04:00
Nachtalb
877e4acf7d
Add network specific leave message
2020-12-18 10:53:37 +01:00
Pavel Djundik
c2e8eaf9df
Fix test for production build
...
Webpack 5 minifies it now
2020-10-30 23:02:40 +02:00
Jay2k1
b97b145df1
add highlight exceptions
2020-08-19 00:00:56 +02:00
Pavel Djundik
67e4a4bbb2
Sync changed network name to open clients
2020-08-17 12:57:37 +03:00
Pavel Djundik
8c6460b58a
Disable link prefetching for urls with no schema specified
2020-08-04 20:21:12 +03:00
Dexter Chua
2f434be75d
Add option to disable media preview.
...
This disables image previews iff prefetchStorage is disabled. This
stops the client from making any requests to third-party sites.
2020-07-21 08:52:02 +08:00
Pavel Djundik
bc7bf9870c
Update CopyPlugin options
2020-05-16 21:33:25 +03:00
Pavel Djundik
6ee71779d1
Combine displayNetwork
into lockNetwork
2020-04-15 10:56:05 +03:00
Pavel Djundik
8a281bacd8
Preliminary SASL UI
2020-04-15 10:56:04 +03:00
Pavel Djundik
f8f692af05
Generate client certificates and automatically do SASL EXTERNAL
2020-04-15 10:56:04 +03:00
Pavel Djundik
4ce2efe86b
Upgrade mocha and remove mochapack
2020-04-11 12:27:08 +03:00
Pavel Djundik
6de6f8185e
Clean up folders in after test runs
2020-03-22 20:43:06 +02:00
Pavel Djundik
881b3eda19
Run format after updating to prettier 2.0
2020-03-21 22:55:36 +02:00
Pavel Djundik
80b0e8ad12
Fix up commander changes
2020-03-15 14:00:02 +02:00
Pavel Djundik
1b2894bf99
Fix increasing test timeout on github actions
2020-02-09 14:21:45 +02:00
Pavel Djundik
26bf0850d7
Stub checkForUpdates in tests
2020-01-19 01:14:52 +02:00
Pavel Djundik
093ef2ff55
Merge pull request #3628 from thelounge/xpaw/prefetch-error
...
Collapse prefetch errors by default, and correctly track user toggle
2019-12-31 21:31:35 +02:00
Pavel Djundik
a12a24adbe
Replace control codes with a space
2019-12-27 20:39:28 +02:00
Pavel Djundik
d2932ccea8
Correctly track user toggle of previews
2019-12-23 12:26:57 +02:00
Pavel Djundik
769585e72d
Collapse prefetch errors by default
2019-12-23 12:15:23 +02:00
Pavel Djundik
356a896fe2
Merge pull request #3603 from thelounge/xpaw/condensed-more
...
Send 100 actual messages when requesting history with hidden or condensed status messages
2019-12-19 17:32:41 +02:00
Pavel Djundik
72a954b865
Add preview for text/plain urls
2019-12-19 15:12:02 +02:00
Pavel Djundik
6091514630
Do not write to disk if the json data hasn't actually changed
2019-12-18 11:06:20 +02:00
Pavel Djundik
4a345eb6d9
Convert constants.js to commonjs
2019-12-18 00:14:36 +02:00
Pavel Djundik
86341f063c
Merge pull request #3596 from thelounge/xpaw/friendly-size
...
Use `friendlysize` helper consistently
2019-12-17 15:43:58 +02:00
Pavel Djundik
f3b383ce63
Use Set() for condensed types
2019-12-17 12:48:12 +02:00
Pavel Djundik
f2bf1fa90a
Use friendlysize helper consistently
...
Co-Authored-By: fnutt <fnutt@users.noreply.github.com>
2019-12-16 22:00:35 +02:00
Pavel Djundik
db4b292a38
Remove code that aided upgrade to v3
2019-12-02 12:10:17 +02:00
Pavel Djundik
36b105021b
Use async in parser tests
2019-11-30 11:36:19 +02:00
Pavel Djundik
320b3ea98f
Merge pull request #3434 from thelounge/xpaw/no-variant-emoji-map
...
Remove \uFE0F emoji variant from emoji name map
2019-11-28 20:15:42 +02:00
Pavel Djundik
8b7fb33627
Increase test timeout due to unpredictable I/O on CI services
2019-11-27 20:25:29 +02:00
Pavel Djundik
10b1cedbb6
Remove \uFE0F emoji variant from emoji name map
2019-11-26 14:17:37 +02:00
Pavel Djundik
83f3fe772a
Remove user/pass support from irc://, support multiple channels
...
Other clients and specs explicitly don't support user:pass
2019-11-25 20:13:19 +02:00
Pavel Djundik
ec85372132
Fix uri handling and add tests
2019-11-25 20:13:18 +02:00
Pavel Djundik
2a6c57abaa
Fix context menu generation
2019-11-25 20:13:16 +02:00
Pavel Djundik
49dc6ffd8f
Fix client tests
2019-11-25 20:13:15 +02:00
Pavel Djundik
7584f47c7d
Cleanup webpush code
2019-11-25 20:13:10 +02:00
Pavel Djundik
a1f183f216
Cleanup auth flow
2019-11-25 20:12:58 +02:00
Pavel Djundik
fc1c9568e2
Rename helpers folder, move some vue filters
2019-11-25 20:12:58 +02:00
Pavel Djundik
c8b22b2df3
Fix up network editing
2019-11-25 20:12:52 +02:00
Pavel Djundik
af0d48de72
Create InlineChannel component
2019-11-25 20:12:48 +02:00
Pavel Djundik
a13bcb8e93
Format prettier after update
2019-11-09 10:55:50 +02:00
Raqbit
95cc9a47fb
Add file size to link preview
2019-11-07 16:58:28 +01:00
Pavel Djundik
8a224809dd
Merge pull request #3498 from MiniDigger/feature/package-versions
...
Print package versions on startup
2019-11-07 11:32:43 +02:00
MiniDigger
6f8364b1dd
Print package versions on startup
2019-11-06 18:02:28 +01:00
Pavel Djundik
79e0558b73
Add some tests for built css
2019-11-02 12:53:38 +02:00
Pavel Djundik
ddebb22afe
Merge pull request #3482 from thelounge/xpaw/fix-3219
...
Load existing users on startup when LDAP is enabled
2019-11-01 13:32:24 +02:00
Pavel Djundik
fb250682a1
Merge pull request #3483 from thelounge/xpaw/improve-user-startup
...
Improvements to network connections on startup
2019-11-01 13:26:24 +02:00
Pavel Djundik
a0c2495c42
Improvements to network connections on startup
2019-10-31 11:31:37 +02:00
Pavel Djundik
fe4e0343a4
Load existing users on startup when LDAP is enabled
...
Fixes #3219
2019-10-31 11:01:44 +02:00
Jay2k1
c89aea3c1e
add bidi support to messages, actions, previews etc
2019-10-24 16:53:29 +02:00
Pavel Djundik
49fb6cc049
Hide user loaded message in tests
2019-10-23 12:42:01 +03:00
Pavel Djundik
ebfecc3e9d
Fix client not loading messages after reconnect in channels with less than 100 total messages
2019-10-17 13:27:15 +03:00
Pavel Djundik
390a0b8e83
Let OS generate a port in link prefetch tests
2019-10-04 14:19:04 +03:00
Pavel Djundik
cee3a50ddc
Move back to ldapjs dependency
...
Fixes #3381
2019-09-15 22:42:27 +03:00
Pavel Djundik
9eff3b51d7
Allow extra slash on Windows in expandHome tests
...
Github CI on Windows ends up formatting it as 'd:\\tmp', this causes no issues besides the failing test
2019-09-04 22:51:58 +03:00
Alistair McKinlay
133e7bf710
Format js/vue with prettier
2019-07-19 11:27:40 +01:00
Pavel Djundik
7e5c2672b2
Merge pull request #3307 from thelounge/xpaw/browser-object
...
Store ip and language in a separate object in user file
2019-07-19 13:11:20 +03:00
Alistair McKinlay
ab8d819193
Set up Prettier on md, html, json, and yaml
2019-07-17 10:22:30 +01:00
Pavel Djundik
54a4085b68
Store ip and language in a separate object in user file
2019-07-16 13:00:29 +03:00
Pavel Djundik
295b3a4251
Correctly parse numbers when passed in CLI
...
Fixes #3295
2019-07-12 10:56:19 +03:00
Pavel Djundik
48ae5a4cdd
Only warn for top-level unknown config keys
2019-07-08 14:12:31 +03:00
Pavel Djundik
95a3ec42c2
Add a message about experimental API
2019-07-05 10:26:22 +03:00
Alistair McKinlay
4cbe72f635
Add support for command plugins
2019-07-02 17:02:05 +01:00
Pavel Djundik
b95c8236bd
Use @github's emoji data
2019-06-10 22:17:00 +03:00
Pavel Djundik
fe68f2a1ee
Replace request
with got
2019-05-13 10:30:43 +03:00
Pavel Djundik
5723be00c7
Merge pull request #3150 from thelounge/astorije/test-stuff
...
Replace mocha-webpack with mochapack, and remove browser test setup that we never used
2019-03-27 10:13:59 +02:00
Jérémie Astori
c574234b99
Merge pull request #3073 from Jay2k1/patch-2
...
extend custom highlight regex
2019-03-27 00:10:48 -04:00
Jérémie Astori
e3dfedf8b5
Replace mocha-webpack with mochapack
2019-03-26 23:16:39 -04:00
Pavel Djundik
04dc1feaba
Hide unknown key warning in mergeConfig test
2019-03-20 12:58:30 +02:00
Pavel Djundik
50fbf93d64
Move favicon.ico to the root folder
2019-03-18 12:56:52 +02:00
Jérémie Astori
0812ffc2e7
Run ESLint autofix after requiring new line on closing brackets
2019-02-25 00:57:48 -05:00
Jay2k1
c151ad69fa
add test for custom highlights
2019-02-19 15:21:54 +01:00
Richard Lewis
caf728a2a7
Instrument tests with nyc instead of istanbul-instrumenter-loader.
2019-02-12 12:49:05 +02:00
Pavel Djundik
dd686b563d
Remove tests, fix lint, update packages
2019-02-12 12:49:05 +02:00
Pavel Djundik
47b9924f26
Use server side rendering in parse tests
...
Co-Authored-By: Richard Lewis <richrd@users.noreply.github.com>
2019-02-12 12:49:05 +02:00
Pavel Djundik
cd94b5d655
Fix lint
2019-02-12 12:48:44 +02:00
Pavel Djundik
0730825185
Convert message actions to Vue
2019-02-12 12:48:41 +02:00
moundahiwale
c30684aad1
Assert LDAP bind failed error and search warning log messages in ldap tests
2019-01-05 23:08:10 +00:00