Nachtalb
d6a23061fc
Remove searchNicks for the time being
...
We should not have search implementation without a specced filter /
facet setup.
2021-04-12 23:23:04 +02:00
Mary Strodl
283ef445e5
Merge remote-tracking branch 'origin/master' into richrd/message-search
2021-04-12 22:00:49 +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
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
Nachtalb
877e4acf7d
Add network specific leave message
2020-12-18 10:53:37 +01:00
Yorick Bosman
651a7ac2e9
Add extended join information to join message.
2020-11-19 00:25:28 +01:00
Pavel Djundik
a9fb563c01
Update mini-css-extract-plugin
2020-10-11 11:06:52 +03:00
Pavel Djundik
3fde2aa7b9
Always use multi-prefix modes
...
Fixes #323
2020-09-01 11:45:08 +03:00
Pavel Djundik
ac842108f3
Merge pull request #4047 from thelounge/xpaw/avif
...
Detect `image/avif` as an image
2020-08-24 11:54:14 +03:00
Pavel Djundik
df115333ba
Merge pull request #4041 from thelounge/mcinkay/2333/version-compatibility
...
Add version support for packages.
2020-08-23 20:46:44 +03:00
Pavel Djundik
c89dcca449
Detect image/avif
as an image
2020-08-23 12:51:52 +03:00
Al McKinlay
86e570efb2
Add version support for packages.
2020-08-21 15:03:12 +01:00
Pavel Djundik
1e38262d69
Add missing return
2020-08-21 10:18:41 +03:00
Pavel Djundik
9e13694b21
Skip video/audio embeds if og:type exists but does not specify it
2020-08-21 10:16:54 +03:00
Jay2k1
b97b145df1
add highlight exceptions
2020-08-19 00:00:56 +02:00
Pavel Djundik
5861ffadf2
Increase unread counter for HELP and INFO messages
2020-08-14 14:26:03 +03:00
Pavel Djundik
8c6460b58a
Disable link prefetching for urls with no schema specified
2020-08-04 20:21:12 +03:00
Pavel Djundik
40954c9a3a
Fix mode message only making last nick clickable
2020-07-29 10:29:51 +03:00
Pavel Djundik
ec65fd17af
Merge pull request #3983 from SRCF/audio
...
Add option to disable media preview.
2020-07-27 11:04:06 +03:00
Pavel Djundik
5a1963647e
Merge pull request #3962 from thelounge/xpaw/help-info-blocks
...
Implement generic monospace blocks for INFO and HELP numerics
2020-07-27 11:02:14 +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
63a420ac21
Implement generic monospace blocks for INFO and MOTD numerics
...
Fixes #3961
2020-07-20 10:07:49 +03:00
Pavel Djundik
b1115475bf
Fix upload tokens expiring while uploading
...
Fixes #3982
2020-07-15 12:29:02 +03:00
Pavel Djundik
4becb152bb
Changes for irc-framework update
2020-07-13 10:25:54 +03:00
Pavel Djundik
72b7906949
Merge branch 'renovate/mocha-8.x'
2020-06-14 12:34:07 +03:00
Pavel Djundik
d29f2fb251
Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
2020-06-14 12:32:08 +03:00
Richard Lewis
f3236538a0
Fix searching channels with uppercase letters in name.
2020-06-03 14:17:53 +03:00
Richard Lewis
b4d02c3c56
Fix context menus in search results.
2020-06-03 14:04:57 +03:00
Pavel Djundik
dbc829b5f8
Reply to the server if that's where CTCP VERSION originated
2020-05-11 21:55:30 +03:00
Pavel Djundik
24d4276a7c
Fix msg id order when loading from sqlite
2020-04-28 17:45:27 +03:00
Richard Lewis
9a1fb0c0a0
Search improvements.
2020-04-26 22:39:05 +03:00
Richard Lewis
2591ae9e8e
Disable searching nicks.
2020-04-26 22:39:05 +03:00
Richard Lewis
0f3c292098
Message search WIP.
2020-04-26 22:39:05 +03:00
Pavel Djundik
ad6569cf06
Add an indicator to statusmsg messages
2020-04-24 11:46:39 +03:00
Pavel Djundik
4ac25d4bc5
Merge pull request #3871 from ebardie/ebardie/dont_load_extinct_users
...
Filter user loading at startup for "advanced" LDAP
2020-04-24 10:21:42 +03:00
Jonathan Sambrook
878ac0d192
Filter user loading at startup for "advanced" LDAP
...
Users are loaded at startup. Currently when using "advanced" LDAP
authentication this is true even if they no longer have a
valid entry in the LDAP server.
This commit uses the existing LDAP filter (specified in config.js's searchDN
used by the "advanced" LDAP mechanism) to weed out any users that no
longer have the relevant LDAP entry.
Local and "simple" LDAP auth mechanisms continue to use the existing
load all users approach. In the "simple" LDAP case this is because we
only have access to the hashed password, and so can't bind to LDAP.
2020-04-23 15:54:09 +01:00
Jonathan Sambrook
a0d10989ad
Tidy up the auth plugin API mechanism to hide implementation details
...
The caller doesn't care which plugin is being used, so this commit
consolidates implementation details within auth.js
The motivation for this work is to prepare for extending the auth API
(to allow "advanced" LDAP to query user entry ontological state at start
up), by tidying up rather than duplicating the existing mechanism.
2020-04-23 15:11:35 +01:00
Pavel Djundik
2b0afcacf2
Safeguard nick randomizer up to allowed length
2020-04-22 15:18:55 +03:00
Pavel Djundik
f8f692af05
Generate client certificates and automatically do SASL EXTERNAL
2020-04-15 10:56:04 +03:00
Pavel Djundik
1754c77517
Merge pull request #3857 from thelounge/xpaw/optimize-userlist-updates
...
Optimize user list updates for quit/part/kick events
2020-04-13 11:39:57 +03:00
Pavel Djundik
bc4f9b5f51
Track mentions and add a window to view them
2020-04-11 12:49:42 +03:00
Pavel Djundik
487a438f02
Replace all uses of fs-extra
with native methods
2020-03-22 20:42:16 +02:00
Pavel Djundik
4bf4b7baf0
Merge pull request #3797 from thelounge/xpaw/fix-changelog-check
...
Pass in client manager object in update checker
2020-03-22 20:41:39 +02:00
Pavel Djundik
881b3eda19
Run format after updating to prettier 2.0
2020-03-21 22:55:36 +02:00
Pavel Djundik
424bc4f7df
Fix up first argument not being used as part message
2020-03-15 20:16:53 +02:00
Pavel Djundik
0e62103010
Pass in client manager object in update checker
2020-03-09 17:58:40 +02:00
Pavel Djundik
a4ef328d8d
Merge pull request #3778 from thelounge/xpaw/clear-history
...
Clear channel history (and a new confirmation dialog)
2020-03-09 15:59:37 +02:00
Pavel Djundik
5233fb2dbb
Fix sending unhandled numerics to target channel
2020-03-03 11:47:09 +02:00
Pavel Djundik
eb7f9ab298
Implement channel history clearing on the server
2020-02-28 17:01:28 +02:00