Commit Graph

1160 Commits

Author SHA1 Message Date
Pavel Djundik
96a983b310
Merge pull request #3875 from thelounge/xpaw/statusmsg-ui
Add an indicator to statusmsg messages
2020-04-24 14:07:48 +03:00
Pavel Djundik
53bd9c2f68
Merge pull request #3868 from thelounge/xpaw/mentions-fixes
Some fixes in mentions window
2020-04-24 14:07:40 +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
bcd2e7cb08 Some fixes in mentions window 2020-04-20 13:40:45 +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
3900e9dd81 Consolidate irc-framework options 2020-04-15 10:56:03 +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
a6f70696f3 Separate active sessions section
Fixes #2562
2020-03-17 17:36:13 +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
80b0e8ad12 Fix up commander changes 2020-03-15 14:00:02 +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
c463d1ddd3 Emit an event to clear history on all open clients 2020-02-28 17:01:28 +02:00
Pavel Djundik
eb7f9ab298 Implement channel history clearing on the server 2020-02-28 17:01:28 +02:00
Pavel Djundik
d2e4f56219
Merge pull request #3783 from thelounge/xpaw/uninstall
Fix not being able to uninstall packages
2020-02-27 21:06:42 +02:00
Alexandre Oliveira
ab8593d3cd Write prettier error messages for IRC errors 2020-02-27 15:27:34 -03:00
Pavel Djundik
8f15548770 Fix not being able to uninstall packages 2020-02-27 19:21:01 +02:00
Pavel Djundik
d99d56fe81
Merge pull request #3762 from thelounge/xpaw/sqlite-serialize
Change sqlite parallelize to serialize when loading messages
2020-02-27 14:02:29 +02:00
Pavel Djundik
365613f0ee
Merge pull request #3767 from thelounge/setname
Unprefix setname cap
2020-02-27 14:01:03 +02:00
Pavel Djundik
8976fa163e Do not reconnect if STS cap is received in CAP NEW 2020-02-27 13:48:48 +02:00
Pavel Djundik
db866f9823 Refresh STS policy expiration on network quit 2020-02-27 13:48:48 +02:00
Pavel Djundik
568427ca98 Disable changing TLS if STS is enforced 2020-02-27 13:48:48 +02:00
Pavel Djundik
d9985e7318 Enforce STS policies 2020-02-27 13:48:47 +02:00
Pavel Djundik
9b9db35e3c Implement basic STS reconnection 2020-02-27 13:48:47 +02:00
Pavel Djundik
63fd0def6c Improve wav audio file support 2020-02-26 10:07:40 +02:00
Pavel Djundik
e0d5f4c2ff Change uuidv4 require 2020-02-24 15:35:15 +02:00
Pavel Djundik
3ca9fd2e80 Unprefix setname cap 2020-02-18 14:07:03 +02:00
Pavel Djundik
5a0e0b6718 Change sqlite parallelize to serialize when loading messages 2020-02-15 11:50:07 +02:00
Pavel Djundik
469fe577f2 Wrap stdout parsing from yarn into try/catch 2020-02-11 11:48:02 +02:00
Richard Lewis
f12a13916b
Merge pull request #3712 from thelounge/xpaw/fix-3302
Add support for webirc secure option
2020-02-10 16:42:56 +02:00
Richard Lewis
f8642dd2a5
Merge pull request #3711 from thelounge/xpaw/server-notice-host
Use hostname from notice if available
2020-02-10 16:34:22 +02:00
Pavel Djundik
87c9abe9da Change minimumBytes in file-type 2020-02-06 12:41:43 +02:00
Pavel Djundik
6aabd9bacb Optimize user list updates for quit/part/kick events 2020-02-01 19:15:46 +02:00
Pavel Djundik
0dd0d8fb12 Undo username pattern 2020-01-23 22:14:30 +02:00
Pavel Djundik
e8ba4f4fb9
Merge pull request #3658 from thelounge/xpaw/version-notify
Display icon when update is available, check on server start
2020-01-22 10:29:18 +02:00
Pavel Djundik
5b68fb5054
Merge pull request #3715 from thelounge/xpaw/nick-pattern
Disallow some invalid characters in nicknames and usernames
2020-01-22 10:28:51 +02:00
Pavel Djundik
8b04979eac
Merge pull request #3676 from thelounge/xpaw/csp
Remove `child-src` from CSP, add `base-uri 'none'`
2020-01-22 10:28:44 +02:00
Pavel Djundik
1a7135c5e0 Clean up strings on server 2020-01-21 15:47:59 +02:00
Pavel Djundik
36f4284e07 Add support for webirc secure option
Fixes #3302
2020-01-19 00:56:07 +02:00