Commit Graph

7513 Commits

Author SHA1 Message Date
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
36844f948c
Merge pull request #3870 from thelounge/xpaw/random-nick-safeguard
Safeguard nick randomizer up to allowed length
2020-04-23 12:47:44 +03:00
Pavel Djundik
2b0afcacf2 Safeguard nick randomizer up to allowed length 2020-04-22 15:18:55 +03:00
Pavel Djundik
beb9fbd940 Set native app badge for highlights 2020-04-22 14:16:39 +03:00
Pavel Djundik
0642ae58ce
Merge pull request #3844 from thelounge/xpaw/certfp
CertFP support; separate SASL configuration
2020-04-22 14:05:34 +03:00
Pavel Djundik
635b8b3eef
Merge pull request #3866 from thelounge/renovate/vue-monorepo
Update dependency vuex to v3.2.0
2020-04-22 14:05:15 +03:00
Pavel Djundik
bcd2e7cb08 Some fixes in mentions window 2020-04-20 13:40:45 +03:00
Renovate Bot
91b48e061d
Update dependency vuex to v3.2.0 2020-04-20 08:16:43 +00:00
Pavel Djundik
89edc6aa30
Merge pull request #3867 from maxpoulin64/fix-manifest-color
Fix off-by-one color error in webmanifest
2020-04-20 10:22:40 +03:00
Maxime Poulin
be78a5809a Fix off-by-one color error in webmanifest 2020-04-19 20:46:37 -04:00
Pavel Djundik
ce6f188acc
Merge pull request #3863 from thelounge/renovate/semver-7.x
Update dependency semver to v7.3.2
2020-04-16 14:21:47 +03:00
Pavel Djundik
b8eaae3a50
Merge pull request #3864 from thelounge/xpaw/rm-polyfill
Remove intersection-observer polyfill
2020-04-16 14:21:35 +03:00
Pavel Djundik
9105a3db06 Remove intersection-observer polyfill 2020-04-15 16:14:21 +03:00
Renovate Bot
18a10a9efb
Update dependency semver to v7.3.2 2020-04-15 08:54:49 +00:00
Pavel Djundik
e772c4eab5
Merge pull request #3861 from MaxLeiter/mentionsLoading
Move mentions loading text out of header
2020-04-15 11:23:35 +03:00
Max Leiter
177d4d78ba Move mentions loading text out of header 2020-04-15 01:20:16 -07:00
Pavel Djundik
fce71f4a7c Use v-model in network form, auto size commands 2020-04-15 11:12:07 +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
58553d7691
Merge pull request #3798 from thelounge/richrd/image-viewer-navigation
Implement navigation in image viewer
2020-04-13 13:05:29 +03:00
Pavel Djundik
f3d2dc1678
Merge pull request #3862 from thelounge/xpaw/mentions-zindex
Render sidebar over the mentions popup on mobile
2020-04-13 13:02:22 +03:00
Pavel Djundik
05ff8530cc Render sidebar over the mentions popup on mobile 2020-04-13 12:31:56 +03:00
Pavel Djundik
0fcaa46095
Merge pull request #3859 from thelounge/renovate/stylelint-13.x
Update dependency stylelint to v13.3.2
2020-04-13 11:45:51 +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
999095b7df
Merge pull request #3858 from thelounge/xpaw/mentions
Track mentions and add a window to view them
2020-04-13 10:49:06 +03:00
Renovate Bot
d39a6dd012
Update dependency stylelint to v13.3.2 2020-04-11 15:25:00 +00:00
Pavel Djundik
bc4f9b5f51 Track mentions and add a window to view them 2020-04-11 12:49:42 +03:00
Pavel Djundik
8e00e26054
Merge pull request #3826 from thelounge/xpaw/mocharc
Upgrade to mocha@7 and remove mochapack
2020-04-11 12:32:45 +03:00
Pavel Djundik
c1607bd8e7
Merge pull request #3856 from thelounge/macos-10x
Exclude node 10 on macOS from build matrix
2020-04-11 12:31:07 +03:00
Pavel Djundik
4ce2efe86b Upgrade mocha and remove mochapack 2020-04-11 12:27:08 +03:00
Pavel Djundik
99bb58a7a7
Merge pull request #3848 from thelounge/renovate/css-loader-3.x
Update dependency css-loader to v3.5.2
2020-04-11 12:23:11 +03:00
Pavel Djundik
49189d5649
Merge pull request #3849 from thelounge/renovate/dayjs-1.x
Update dependency dayjs to v1.8.24
2020-04-11 12:23:03 +03:00
Pavel Djundik
74181d0783
Merge pull request #3847 from thelounge/renovate/babel-monorepo
Update dependency @babel/preset-env to v7.9.5
2020-04-11 12:22:54 +03:00
Pavel Djundik
b885673341
Merge pull request #3843 from thelounge/renovate/semver-7.x
Update dependency semver to v7.2.2
2020-04-11 12:22:47 +03:00
Pavel Djundik
013e55a9a6 Exclude node 10 on macOS from build matrix 2020-04-11 12:19:05 +03:00
Renovate Bot
2e31325de6
Update dependency semver to v7.2.2 2020-04-11 08:59:26 +00:00
Renovate Bot
0ad907982d
Update dependency dayjs to v1.8.24 2020-04-11 08:59:16 +00:00
Renovate Bot
2156c6ba97
Update dependency css-loader to v3.5.2 2020-04-11 08:59:05 +00:00
Renovate Bot
e7d0ad93f9
Update dependency @babel/preset-env to v7.9.5 2020-04-11 08:58:54 +00:00
Pavel Djundik
a5bb486012
Merge pull request #3850 from thelounge/renovate/husky-4.x
Update dependency husky to v4.2.5
2020-04-11 11:57:29 +03:00
Pavel Djundik
a3490af5a3
Merge pull request #3851 from thelounge/renovate/prettier-2.x
Update dependency prettier to v2.0.4
2020-04-11 11:57:19 +03:00
Pavel Djundik
484ec95f24
Merge pull request #3852 from thelounge/renovate/sinon-9.x
Update dependency sinon to v9.0.2
2020-04-11 11:57:12 +03:00
Pavel Djundik
d8495bdc54
Merge pull request #3853 from thelounge/renovate/stylelint-13.x
Update dependency stylelint to v13.3.1
2020-04-11 11:57:03 +03:00
Pavel Djundik
2891c1e89c
Merge pull request #3854 from thelounge/renovate/vue-monorepo
Update vue monorepo to v1.0.0-beta.33
2020-04-11 11:56:56 +03:00
Pavel Djundik
c8eee85b28
Merge pull request #3855 from thelounge/renovate/emoji-regex-9.x
Update dependency emoji-regex to v9
2020-04-11 11:56:48 +03:00
Renovate Bot
f0d985637b
Update dependency emoji-regex to v9 2020-04-11 05:31:07 +00:00
Renovate Bot
dc288c4c66
Update vue monorepo to v1.0.0-beta.33 2020-04-11 04:40:14 +00:00