Commit Graph

7433 Commits

Author SHA1 Message Date
Mary Strodl
fe0178c0d2
Remove stuff from gitignore 2021-04-12 22:00:51 +02:00
Mary Strodl
49cd90d0e9
SearchResults: lint 2021-04-12 22:00:51 +02:00
Mary Strodl
e6856a9e7d
client: lay some groundwork for jump to message 2021-04-12 22:00:51 +02:00
Mary Strodl
283ef445e5
Merge remote-tracking branch 'origin/master' into richrd/message-search 2021-04-12 22:00:49 +02:00
Nachtalb
08f45eabb2
Restrict what the browser should try to autocomplete
Browsers often autocomplete into wrong fields. Eg. wanting to put the password in a fields in the settings screen and then use a sudo random other fields for username etc.
This is rather annoying and can break someones configuration, thus we should only enable it on fields where it somewhat makes sense (name, server & password fields).
2021-04-12 14:10:33 +02:00
Max Leiter
db9eb05dfa
Merge pull request #4187 from Nachtalb/na/filename-in-contentDisposition
Add proper filename to the content-disposition header
2021-04-11 20:29:23 -07:00
Max Leiter
df4f78098c
Merge pull request #4190 from Nachtalb/na/improved-handling-of-empty-userdata
Improved handling of empty userdata
2021-04-11 20:12:35 -07:00
Nachtalb
0ccbb90d98
Improved handling of empty userdata
Does not show gecos and account data in join message if they are an empty string
2021-04-11 15:59:42 +02:00
Nachtalb
3a42b5385e
Support inline flac audio 2021-04-11 15:43:42 +02:00
Nachtalb
14d76f8023
Add proper filename to the content-disposition header
By default we take the slug given in the request, if this is not set we try to give a filename from known types.
If we still have no filename we fallback to the previous method of setting no filename.

If the filename is non ascii we will only create the encoded "filename*" and not the ascii only "filename". This is to prevent other applications to save a file like "?????.png" if the filename contains non ascii chars.

For the browsers nothing will really change comapred to the behaviour before this change as good fallbacks if no content-disposition filename is set. But that is not the case for all application, thus it makes sense to include the proper way to set the filename.
2021-04-11 15:41:21 +02:00
Max Leiter
a5e9463431
Merge pull request #4196 from thelounge/maxleiter/readme
`client/views` -> `client/components` in README
2021-04-06 15:39:08 -07:00
Max Leiter
f213a8973c
client/views -> client/components in README 2021-04-06 14:56:23 -07:00
Max Leiter
9382beb3b1
Merge pull request #4195 from brunnre8/nickPostfix
Settings: show label for nick autocompletion postfix
2021-04-06 14:46:34 -07:00
Reto Brunner
c6d7bd4b4a Settings: show label for nick autocompletion postfix 2021-04-06 15:27:23 +02:00
Max Leiter
8dd9bc0e98
Merge pull request #4185 from thelounge/renovate/commander-7.x
Update dependency commander to v7.2.0
2021-04-05 16:25:56 -07:00
Renovate Bot
7df94f01a7
Update dependency commander to v7.2.0 2021-04-05 23:18:45 +00:00
Max Leiter
d94d09f4ba
Merge pull request #4076 from thelounge/renovate/eslint-7.x
Update dependency eslint to v7.23.0
2021-04-05 16:17:34 -07:00
Max Leiter
d248f98618
Merge pull request #4182 from thelounge/renovate/babel-monorepo
Update babel monorepo
2021-04-05 16:17:06 -07:00
Max Leiter
5cef511469
Merge pull request #4184 from thelounge/renovate/chai-4.x
Update dependency chai to v4.3.4
2021-04-05 16:16:37 -07:00
Max Leiter
c6282b0a50
Merge pull request #4193 from brunnre8/labelFix
NetworkForm: s/away message/leave message/
2021-04-05 16:16:20 -07:00
Renovate Bot
1913a3ade6
Update babel monorepo 2021-04-05 20:40:02 +00:00
Renovate Bot
386f90614b
Update dependency eslint to v7.23.0 2021-04-05 20:39:11 +00:00
Renovate Bot
d1995a0f7d
Update dependency chai to v4.3.4 2021-04-05 20:38:41 +00:00
Max Leiter
aede86bc98
Merge pull request #4183 from thelounge/renovate/font-awesome
Update dependency @fortawesome/fontawesome-free to v5.15.3
2021-04-05 13:37:40 -07:00
Reto Brunner
a496ba8cfc NetworkForm: s/away message/leave message/
877e4acf7d - Add network specific leave message
introduced the wrong label for the leave message.
2021-04-05 19:19:36 +02:00
Renovate Bot
d600a10f48
Update dependency @fortawesome/fontawesome-free to v5.15.3 2021-04-01 00:22:11 +00:00
Max Leiter
500034ff5d
Merge pull request #4181 from thelounge/maxleiter/fixQueryModes
Fix client crash when opening a user context menu in query
2021-03-30 22:49:55 -07:00
Max Leiter
e4069f8ce9
Fix client crash when opening a user context menu in query 2021-03-30 22:33:48 -07:00
Max Leiter
4f6659897f
Merge pull request #4176 from mitaka8/feature-admin-actions
Show give/revoke modes and kick on other modes than +o
2021-03-30 22:10:54 -07:00
Max Leiter
5329483a40
Merge pull request #4135 from brunnre8/master
Add prefetchMaxSearchSize to override limit for link previews
2021-03-16 18:18:31 -07:00
Mitaka
dc0e233fe0 Show give/revoke modes and kick on other modes than +o
Fix #3965

Signed-off-by: Mitaka <jin@mitaka.nl>
2021-03-12 14:33:51 +01:00
Max Leiter
6b074a6660
Merge pull request #4174 from thelounge/v4.3.0-pre.1_release
v4.3.0-pre.1 release
2021-03-03 00:36:55 -08:00
Max Leiter
57bce195de
v4.3.0-pre.1 2021-03-03 00:24:15 -08:00
Max Leiter
34086369db Add changelog entry for v4.3.0-pre.1 2021-03-02 21:53:10 -08:00
Max Leiter
8ce947130b
Merge pull request #4142 from thelounge/renovate/sqlite3-5.x
Update dependency sqlite3 to v5.0.2
2021-03-02 21:47:32 -08:00
Max Leiter
70fcf6f3ee
Merge pull request #4167 from thelounge/renovate/babel-monorepo
Update babel monorepo
2021-03-02 21:47:15 -08:00
Renovate Bot
f0a3611d1e
Update dependency sqlite3 to v5.0.2 2021-03-03 05:37:04 +00:00
Renovate Bot
df6226c7ca
Update babel monorepo 2021-03-03 05:36:36 +00:00
Max Leiter
8dfa7305b3
Merge pull request #4168 from thelounge/renovate/commander-7.x
Update dependency commander to v7.1.0
2021-03-02 21:35:02 -08:00
Max Leiter
850b49d802
Merge pull request #4169 from thelounge/renovate/css-loader-5.x
Update dependency css-loader to v5.1.1
2021-03-02 21:34:42 -08:00
Max Leiter
8a14b75a47
Merge pull request #4170 from thelounge/renovate/eslint-7.x
Update dependency eslint to v7.21.0
2021-03-02 21:34:33 -08:00
Max Leiter
c94ace5843
Slightly adjust config option wording 2021-03-02 15:03:39 -08:00
Renovate Bot
19c7a513f1
Update dependency eslint to v7.21.0 2021-03-02 22:12:30 +00:00
Renovate Bot
fbad88f9da
Update dependency css-loader to v5.1.1 2021-03-02 22:12:15 +00:00
Renovate Bot
2f29089bbf
Update dependency commander to v7.1.0 2021-03-02 22:12:01 +00:00
Max Leiter
afe136fee8
Merge pull request #4171 from emilyst/patch-1
Configure server ping timeout to 60 seconds
2021-03-02 13:10:03 -08:00
Max Leiter
9474cd96d3
Merge pull request #4112 from thelounge/socketio
Upgrade to socket.io v3
2021-03-02 13:07:29 -08:00
Emily Strickland
c782ca5b93
Configure server ping timeout to 60 seconds
The default socket.io server-side ping timeout was changed from 60 seconds to 5 seconds. In browsers based on Chrome, this is not enough time to respond when the browser is idle. The end result is that the server sets the user away and then back approximately once every minute if the client window is idle, which is undesirable.

This change restores the previous timeout value.

See https://github.com/socketio/socket.io/issues/3259#issuecomment-474523271.
2021-02-28 18:53:36 -08:00
Pavel Djundik
e6fc726c91 Upgrade to socket.io v3 2021-02-28 15:30:44 -08:00
Reto Brunner
7c17662fea Add prefetchMaxSearchSize to override limit for link previews
YouTube puts the opengraph tags needed for the preview after ~300KB in the body
instead of the beginning of the <head> tag.
Instead of hardcoding the value, allow the server admin to set the policy as
they prefer.
2021-02-27 00:10:53 +01:00