Commit Graph

1164 Commits

Author SHA1 Message Date
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
Pavel Djundik
4d3fd1c8f2 Use hostname from notice if available 2020-01-19 00:53:03 +02:00
Pavel Djundik
d5ac13f91c Notify all connected clients when new version is available 2020-01-17 12:17:37 +02:00
Pavel Djundik
3f928d8742 Check for updates every day 2020-01-17 12:09:42 +02:00
Pavel Djundik
efc421c0a6 Display icon in footer when an update is available 2020-01-17 12:03:16 +02:00
Pavel Djundik
0bdac63953 Check for TL updates on server start 2020-01-17 12:03:14 +02:00
Pavel Djundik
fa57814678
Merge pull request #3684 from thelounge/richrd/style-loading
Load styles from vue components, fix hot reload
2020-01-10 20:03:24 +02:00
Pavel Djundik
41e3762e57 Update file-type api usage 2020-01-08 16:11:30 +02:00
Richard Lewis
23ac0fef32 Load styles from vue components, fix hot reload
Fixes #3615
2020-01-08 16:02:09 +02:00
Pavel Djundik
b93cae2e01
Merge pull request #3647 from thelounge/xpaw/mode-string
Display the original sets mode string and make nicks clickable
2020-01-04 15:22:27 +02:00
Pavel Djundik
c6f77f0668
Merge pull request #3656 from thelounge/xpaw/self-ctcp
Ignore echoed ctcp requests that aren't targeted at us
2020-01-02 10:46:03 +02:00
Pavel Djundik
27e08baf25
Merge pull request #3653 from thelounge/xpaw/utf8-mistake
Fix passing utf-8 to readFileSync
2020-01-02 10:45:52 +02:00
Pavel Djundik
7ef88523ca Ignore echoed ctcp requests that aren't targeted at us
Fixes #3655
2020-01-01 18:06:42 +02:00
Pavel Djundik
42ee21bfb8 Fix url in useragent when fetching releases from github 2020-01-01 01:15:45 +02:00
Pavel Djundik
0c246f0bbe Fix passing utf-8 to readFileSync 2020-01-01 01:11:04 +02:00
Pavel Djundik
093ef2ff55
Merge pull request #3628 from thelounge/xpaw/prefetch-error
Collapse prefetch errors by default, and correctly track user toggle
2019-12-31 21:31:35 +02:00
Pavel Djundik
99175bef82 Check if there are any packages installed in upgrade command 2019-12-30 19:28:28 +02:00
Pavel Djundik
813b49d7b1 Make nicks in sets mode clickable 2019-12-30 12:10:21 +02:00
Pavel Djundik
30595ed23f Display the original sets mode string
Fixes #675
2019-12-30 12:06:54 +02:00
Pavel Djundik
d2932ccea8 Correctly track user toggle of previews 2019-12-23 12:26:57 +02:00
Pavel Djundik
769585e72d Collapse prefetch errors by default 2019-12-23 12:15:23 +02:00
Pavel Djundik
fe031c8b12 Connect networks after setting user defaults 2019-12-23 10:27:12 +02:00
Pavel Djundik
27986f5811 Remove child-src from CSP, add base-uri none 2019-12-22 21:24:46 +02:00
Pavel Djundik
356a896fe2
Merge pull request #3603 from thelounge/xpaw/condensed-more
Send 100 actual messages when requesting history with hidden or condensed status messages
2019-12-19 17:32:41 +02:00
Pavel Djundik
7a350ac69a
Merge pull request #3602 from thelounge/xpaw/ua
Pretend to be facebook and twitter bots in link prefetcher
2019-12-19 15:25:39 +02:00
Pavel Djundik
72a954b865 Add preview for text/plain urls 2019-12-19 15:12:02 +02:00
Pavel Djundik
0d7b980f90 Remove unnecessary client.sockets ref 2019-12-18 11:22:11 +02:00
Pavel Djundik
6091514630 Do not write to disk if the json data hasn't actually changed 2019-12-18 11:06:20 +02:00
Pavel Djundik
2365c9489e Enforce user file types at runtime 2019-12-18 10:47:09 +02:00
Pavel Djundik
f269ac3bee Update user file without reading, debounce all saves 2019-12-18 10:47:08 +02:00
Pavel Djundik
def56dc694 Update user file once on auth 2019-12-18 10:47:08 +02:00
Pavel Djundik
c1920eb566 When updating user file, write to temp file first 2019-12-18 10:47:07 +02:00
Pavel Djundik
a9f97ddf22 Send 100 actual messages when requesting history with hidden or condensed status messages 2019-12-18 00:14:36 +02:00
Pavel Djundik
c108c20c91 Pretend to be facebook and twitter bots 2019-12-17 22:35:15 +02:00
Paul Oppenheimer
dcf08ecac6 Fix format of IPv6 URI 2019-12-16 12:24:30 -05:00
Pavel Djundik
a8dd85d21e Fix keep nick setting nick to undefined on socket close 2019-12-16 10:56:25 +02:00
Pavel Djundik
0486f43f9f
Merge pull request #3557 from thelounge/xpaw/premature-close
Fix "premature close" on link previews
2019-12-14 22:45:49 +02:00
Pavel Djundik
6f7444dfe3
Merge pull request #3577 from thelounge/xpaw/thumb-assign
Assign `preview.thumb` only after it is processed
2019-12-14 21:34:07 +02:00
Pavel Djundik
e3a2fa7dd1 Create packages/package.json on server start 2019-12-14 20:48:25 +02:00
Pavel Djundik
7fbba14b69 Watch package.json and load new packages 2019-12-14 20:47:52 +02:00
Pavel Djundik
24e41327a3 Provide fake $HOME env to Yarn commands 2019-12-13 17:45:10 +02:00
Pavel Djundik
bbf92f1aa0 Assign preview.thumb only after it is processed 2019-12-13 11:43:13 +02:00
Pavel Djundik
e9cbea9569 Update link prefetch stream handling
Fixes #3564
2019-12-09 21:05:33 +02:00
Pavel Djundik
07ea17b180
Merge pull request #3548 from thelounge/xpaw/remove-upgrades
Remove code that aided upgrade to v3
2019-12-05 12:14:08 +02:00
Pavel Djundik
3dae767937 Make client awayMessage a client setting 2019-12-02 12:24:22 +02:00
Pavel Djundik
db4b292a38 Remove code that aided upgrade to v3 2019-12-02 12:10:17 +02:00
Pavel Djundik
7584f47c7d Cleanup webpush code 2019-11-25 20:13:10 +02:00
Pavel Djundik
a4490bf1d6 Fix up connect uri parsing, use direct router references
Co-Authored-By: Tim Miller-Williams <timmw@users.noreply.github.com>
2019-11-25 20:13:08 +02:00
Pavel Djundik
a1f183f216 Cleanup auth flow 2019-11-25 20:12:58 +02:00
Pavel Djundik
fc1c9568e2 Rename helpers folder, move some vue filters 2019-11-25 20:12:58 +02:00
Pavel Djundik
6b8fea8afc Avoid emitting multiple events to the server when collapsing/expanding channel previews
Fixes #1377
2019-11-25 20:12:56 +02:00
Pavel Djundik
c8b22b2df3 Fix up network editing 2019-11-25 20:12:52 +02:00
Richard Lewis
2ef3e3e5b4 Add success: false to change-password error emits. 2019-11-25 20:12:26 +02:00
Richard Lewis
6c10a2a6cf Port part of the settings functionality to vue. 2019-11-25 20:12:26 +02:00
Pavel Djundik
1410256e42
Merge pull request #3489 from thelounge/xpaw/fix-3221
Enable some user commands for LDAP
2019-11-11 12:01:48 +02:00
Pavel Djundik
74fd296d61
Merge pull request #3490 from thelounge/xpaw/showinactive-fix
Fix potential issue of history not loading when `showInActive` is the first message
2019-11-11 12:01:41 +02:00
Pavel Djundik
874385814d
Merge pull request #3502 from thelounge/webpack-hmr
Add webpack hot module reloading for development
2019-11-08 17:26:10 +02:00
Tim Miller-Williams
19d8178606 Add webpack hot module reloading for development
Co-Authored-By: Tim Miller-Williams <timmw@users.noreply.github.com>
2019-11-08 15:02:44 +02:00
Raqbit
95cc9a47fb Add file size to link preview 2019-11-07 16:58:28 +01:00
Pavel Djundik
8a224809dd
Merge pull request #3498 from MiniDigger/feature/package-versions
Print package versions on startup
2019-11-07 11:32:43 +02:00
MiniDigger
6f8364b1dd Print package versions on startup 2019-11-06 18:02:28 +01:00
Pavel Djundik
14c2cf6b0b Remove away message from channels
Fixes #3026
2019-11-02 16:53:41 +02:00
Pavel Djundik
064d36a6cc
Merge pull request #3488 from thelounge/renovate/commander-4.x
Update dependency commander to v4
2019-11-01 19:56:54 +02:00
Pavel Djundik
75eb812f05 Fix potential issue of history not loading when showInActive is set 2019-11-01 16:43:55 +02:00
Pavel Djundik
959ec5b598
Merge pull request #3471 from MiniDigger/feature/plugin-messages
Add message type for plugins
2019-11-01 16:41:41 +02:00
Pavel Djundik
e58a895293 Enable some user commands for LDAP
Fixes #3221
2019-11-01 13:37:32 +02:00
Pavel Djundik
ddebb22afe
Merge pull request #3482 from thelounge/xpaw/fix-3219
Load existing users on startup when LDAP is enabled
2019-11-01 13:32:24 +02:00
Pavel Djundik
fb250682a1
Merge pull request #3483 from thelounge/xpaw/improve-user-startup
Improvements to network connections on startup
2019-11-01 13:26:24 +02:00
Pavel Djundik
e09599aeae Fix running commands 2019-11-01 12:51:57 +02:00
Pavel Djundik
6c57339668 Allow configure base url for uploads
Fixes #3484
2019-10-31 13:21:22 +02:00
Pavel Djundik
a0c2495c42 Improvements to network connections on startup 2019-10-31 11:31:37 +02:00
Pavel Djundik
fe4e0343a4 Load existing users on startup when LDAP is enabled
Fixes #3219
2019-10-31 11:01:44 +02:00
MiniDigger
dbec8330ce Pass package info around so it can be used as identifier 2019-10-22 20:03:54 +02:00
MiniDigger
19d69ba4c3 Add message type for plugins 2019-10-22 18:44:05 +02:00
Pavel Djundik
41e5090fb0 Do not crash on first run due to config.js not existing 2019-10-22 15:00:05 +03:00
Pavel Djundik
d4198e4360
Merge pull request #3461 from thelounge/xpaw/reconnect-unread
Synchronize open channel on client on reconnection
2019-10-21 17:59:34 +03:00
Pavel Djundik
28949fb5e2
Merge pull request #3458 from thelounge/xpaw/remove-warn
Do not print "no packages" warning when opening help on client
2019-10-21 15:59:11 +03:00
Pavel Djundik
1ca16816c2 Synchronize open channel on client on reconnection 2019-10-17 13:54:30 +03:00
Pavel Djundik
ebfecc3e9d Fix client not loading messages after reconnect in channels with less than 100 total messages 2019-10-17 13:27:15 +03:00
Pavel Djundik
8aa8768dcc Do not print no packages warning when opening help on client 2019-10-16 17:07:25 +03:00
Pavel Djundik
b3a13f1aa5
Merge pull request #3416 from thelounge/xpaw/add-user-chown
Set correct file owner for created user files and warn about it
2019-10-10 10:05:45 +03:00
Al McKinlay
f163e20a93 Add public files for plugins 2019-10-02 10:33:08 +01:00
Pavel Djundik
5d13e4c97d Check config owner synchronously
Fixes async warning printing during prompt when adding a user
2019-09-24 22:06:04 +03:00
Pavel Djundik
a24c03a35c Set correct file owner for created user files 2019-09-24 17:42:14 +03:00
Pavel Djundik
b96e5cc042 Print error and stacktrace when package fails to load 2019-09-17 19:57:21 +03:00
Pavel Djundik
600115b8d1 Implement keep nick 2019-09-16 17:12:05 +03:00
Pavel Djundik
cee3a50ddc Move back to ldapjs dependency
Fixes #3381
2019-09-15 22:42:27 +03:00
Pavel Djundik
5a94727d79 Bump minimum node version to v10 2019-09-04 22:50:25 +03:00
Pavel Djundik
16d070c19e Update error messages for uploads 2019-08-25 20:14:34 +03:00
Pavel Djundik
4753d58c0b Display an error on unknown command 2019-08-12 11:03:52 +03:00
Pavel Djundik
858f8425fd Make /raw actually write to network as-is 2019-08-05 20:16:39 +03:00
Pavel Djundik
72bebd8681
Merge pull request #3326 from thelounge/xpaw/theme-color
Allow themes to change theme-color
2019-08-03 22:28:20 +03:00
Pavel Djundik
65713e5509
Merge pull request #3339 from thelounge/xpaw/statusmsg
Parse target group for sent messages when echo-message is not enabled
2019-08-03 22:14:24 +03:00
Pavel Djundik
59d2d6fec8 Disable io cookie
Ref https://github.com/socketio/socket.io/issues/2276
2019-08-03 12:03:02 +03:00
Pavel Djundik
ad984fa377 Parse target group for sent messages when echo-message is not enabled 2019-08-01 00:16:00 +03:00
Pavel Djundik
efa0aeb2c6 Allow themes to change theme-color 2019-07-22 19:50:04 +03:00
Alistair McKinlay
20816d509d Add check for outdated packages, and show on the help screen. 2019-07-19 13:33:09 +01:00