Emily Strickland
3796485217
Configure link fetch to use prefetchTimeout
...
This change modifies the `fetch` function in `link.js` to use the new `prefetchTimeout` config setting introduced in the previous commit. This allows configuring the length of the timeout.
I've added a comment here to indicate milliseconds are the unit in use, since otherwise that would no longer be obvious from the code without looking at the default value (which could change).
2022-04-08 22:49:20 +00:00
Emily Strickland
3202b79990
Set prefetchTimeout
setting default to 5000 ms
...
This change adds a `prefetchTimeout` setting to the default configuration and sets it to 5000 milliseconds. Its description indicates the advantages and disadvantages of changing its default value.
2022-04-08 15:42:31 -07:00
Renovate Bot
a42325d801
Lock file maintenance
2022-04-06 19:03:11 +00:00
dependabot[bot]
bbc7280c41
Bump minimist from 1.2.5 to 1.2.6
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-06 18:42:08 +00:00
Reto Brunner
b76058e4cf
Merge renovate/express-4.x
2022-04-06 20:39:12 +02:00
Reto Brunner
ace09d434c
Merge renovate/babel-monorepo
2022-04-06 20:37:14 +02:00
Renovate Bot
4d9442d9e3
Update babel monorepo
2022-04-06 17:19:54 +00:00
Renovate Bot
56bf078e29
Update dependency express to v4.17.3
2022-04-01 00:57:31 +00:00
Renovate Bot
9f7a2e942b
Update dependency node-forge to v1.3.0 [SECURITY]
2022-03-26 03:05:38 +00:00
Reto Brunner
f440b67dbe
Change sqlite3 module name to the actual name
...
It leads to confusion as the module is named "sqlite3", not
"node-sqlite3"
2022-03-12 16:39:03 +01: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
Max Leiter
38fa3bee22
v4.3.1-rc.1
2022-03-02 16:38:22 -08:00
Max Leiter
2e1b2d44f6
Add changelog entry for v4.3.1-rc.1
2022-03-02 16:37:49 -08:00
renovate[bot]
69f3501165
Update actions/setup-node action to v3 ( #4496 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-02 16:31:28 -08:00
renovate[bot]
8a92bc9fb9
Update dependency dayjs to v1.10.8 ( #4499 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-02 16:27:50 -08:00
renovate[bot]
7cf95d3cbd
Update dependency @babel/core to v7.17.5 ( #4498 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-01 16:29:56 -08:00
renovate[bot]
53f5b8e991
Lock file maintenance ( #4491 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-21 12:39:54 -08:00
Val Lorentz
d145fb3738
Re-add missing space between timestamp and nick ( #4492 )
...
It was accidentally removed by 027c5b4ff7
2022-02-21 12:38:50 -08:00
Max Leiter
551f85ea51
Fix /collapse and /expand from interacting with the server in public mode ( #4488 )
...
Reported by xnaas on IRC
2022-02-18 12:21:17 -08:00
Val Lorentz
66455f2c40
Show a nicer error in Chan.loadMessages() when network is misconfigured ( #4476 )
...
Show a nicer error in Chan.loadMessages() when network is misconfigured
ie. an actual error message instead of crashing on a `null` value.
2022-02-16 16:27:41 -08:00
Val Lorentz
c12dd6c740
Network.validate: Deduplicate code + tell users what the invalid hostname is ( #4475 )
...
* De-duplicate error message creation in Network.validate()
* Tell users what the invalid hostname is.
* Reword the log error message
2022-02-16 16:27:14 -08:00
Reto Brunner
cb28204517
Use the DNS result order returned by the OS
2022-02-15 09:20:52 +01:00
Reto Brunner
e2e050d3c3
Add leading '<' + trim space when copying messages
...
Fixes : #4369
2022-02-15 09:15:34 +01:00
sfan5
17b174dddb
Use the DNS result order returned by the OS
...
Effectively, this stops Node from always preferring IPv4.
2022-02-15 07:44:13 +01:00
Val Lorentz
027c5b4ff7
Remove leading space when copying multiple messages
2022-02-14 19:41:34 +01:00
renovate[bot]
1ed4f57afc
Lock file maintenance ( #4479 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-13 16:41:18 -08: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
Val Lorentz
8edec1a5a8
Make sure the leading '<' is select when copypasting a message
...
Firefox does not seem to select leading (or trailing) characters that are
too small; so this commit sets a very small width, that is still large
enough to be selected.
This commit also adds `display: inline-block`, so the width is not
ignored; but this causes Chrome to ignore the space after `>`, so I made
it a non-breakable space.
An alternative is to make only the leading `only-copy` an
`inline-block`, but I think the non-breakable space is a good idea
regardless.
2022-02-12 13:59:31 +01:00
xnaas
9dfb2a3fdb
Upload m4a as audio/mp4; embed audio/mp4, x-flac, and x-m4a ( #4470 )
...
* 'audio/x-m4a' should be 'audio/mp4'
* add handling for x-flac and x-m4a
2022-02-11 17:42:59 -08: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
renovate[bot]
337bfa489b
Update dependency cssnano to v5.0.17 ( #4441 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-10 16:27:12 -08:00
Val Lorentz
1e3a7b1250
Emit a message for SASL loggedin/loggedout events
...
Closes GH-3921
2022-02-10 22:30:04 +01:00
renovate[bot]
3fb18717a7
Update dependency postcss to v8.4.6 ( #4456 )
2022-02-09 18:12:08 -08:00
renovate[bot]
76cbec9ac6
Update dependency @babel/core to v7.17.2 ( #4439 )
2022-02-09 18:11:05 -08:00
renovate[bot]
734f5b18d3
Lock file maintenance ( #4465 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 15:40:08 -08:00
Reto
d228a8c4f4
Bump most deps ( #4453 )
2022-02-09 15:27:34 -08:00
Val Lorentz
f07d6b1ea4
README: suggest running 'yarn format:prettier' when linting fails ( #4467 )
...
* README: suggest running 'yarn format:prettier' when linting fails
Co-authored-by: Max Leiter <maxwell.leiter@gmail.com>
2022-02-08 17:52:07 -08:00
Max Leiter
d0fab98c1d
Merge pull request #4462 from thelounge/bookworm/certErr
...
clientCert: fix up error message
2022-02-04 16:56:33 -08:00
Max Leiter
d4d139505f
Merge pull request #4463 from thelounge/bookworm/canIuse
...
update caniuse-lite
2022-02-04 16:55:54 -08:00
Reto Brunner
9528515647
update caniuse-lite
2022-02-04 23:21:26 +01:00
Reto Brunner
c0b81902f5
clientCert: fix up error message
2022-02-04 23:06:53 +01:00
Reto
a86fa168b8
Merge pull request #4450 from itsjohncs/renovate-lock-file
...
Have Renovate bot refresh our lockfile for us.
2022-02-03 00:16:34 +01:00
itsjohncs
3e387156f7
Have Renovate bot refresh our lockfile for us.
...
I noticed that caniuse-lite wants to be updated regularly via
`npx browserslist@latest --update-db`. Renovate bot can do this if we
enable its `lockFileMaintenance` option
([source](https://github.com/renovatebot/renovate/issues/8615 )).
I'm not sure exactly how annoying Renovate bot will be if we enable
this option but I figure we can just try it and disable it if it's
annoying.
2022-02-02 14:37:24 -08:00
itsjohncs
7e0afc90fd
Replace deprecated Renovate config options.
...
This was an automatically requested migration that the
`renovate-config-validator` asked for. It's hard to tell because the
config options it asked to be removed are no longer in their docs, but
I believe this will not change the behavior of the renovate bot at all.
2022-02-02 14:36:02 -08:00
Max Leiter
dcce9eba25
Merge pull request #4459 from fnutt/patch-2
...
Adding 'to' in a sentence in config.js
2022-02-01 14:39:34 -08:00
fnutt
b1aa8528a4
Added 'to* in a sentence
2022-02-01 11:31:34 +01:00