Commit graph

955 commits

Author SHA1 Message Date
Pavel Djundik 211ebbfe5f Allow forcing /disconnect to stop reconnection timer from running 2019-02-06 12:10:07 +02:00
creesch 39071aff50 Invites should not automatically highlight you. 2019-02-05 13:06:00 +01:00
Pavel Djundik 3d82378cbd Fix incorrect 404 error for files with unknown file type 2019-01-31 10:12:50 +02:00
Jérémie Astori 3e623e8b77
Merge pull request #2939 from thelounge/renovate/file-type-10.x
Update dependency file-type to v10.7.0
2019-01-27 18:23:20 -05:00
Pavel Djundik 03c4fc58a3
Merge pull request #2993 from thelounge/xpaw/require-resolve-yarn
Use require.resolve for yarn
2019-01-28 00:56:19 +02:00
Pavel Djundik c870545b46 Use require.resolve for yarn 2019-01-24 18:52:15 +02:00
Pavel Djundik 02a343624e Always emit part message (required for logging)
Fixes #2988
2019-01-21 18:07:00 +02:00
Pavel Djundik f49bf19023
Merge pull request #2979 from thelounge/xpaw/set-yarn-cache
Set yarn cache folder in the packages folder
2019-01-21 14:42:14 +02:00
Pavel Djundik 221b7145f1
Fix incorrect use of fs.stat 2019-01-19 12:00:09 +02:00
Pavel Djundik 6937e6e772 Set yarn cache folder in the packages folder
Fixes thelounge/thelounge-docker#71
2019-01-16 12:51:52 +02:00
Pavel Djundik e80b058550
Don't allow setting values to be objects 2019-01-16 10:59:52 +02:00
Pavel Djundik 95a0045a0d
Add an extra check for setting names 2019-01-16 10:52:09 +02:00
Pavel Djundik 6fb41b44d4
Merge pull request #2937 from thelounge/xpaw/empty-storage-later
Empty storage directory after destroying all channels
2019-01-15 13:51:35 +02:00
Pavel Djundik 13d21ce002
Merge pull request #2959 from thelounge/xpaw/relax-identd
Relax identd checks to make it more compatible
2019-01-15 13:32:39 +02:00
Pavel Djundik 2f777627b9
Merge pull request #2958 from thelounge/xpaw/ident-bind
Don't fallback to `host` in identd server
2019-01-15 13:32:13 +02:00
Pavel Djundik d0f6c70df5 Add fallback ip address for unix sockets
Fixes #2966
2019-01-09 11:38:21 +02:00
Pavel Djundik a9aac1648c
Relax identd checks to make it more compatible 2019-01-06 21:44:43 +02:00
Pavel Djundik fedbb0b819
Don't fallback to host in identd server 2019-01-06 20:55:15 +02:00
Pavel Djundik ab083f9eb6 Fix wav mime type in uploader 2018-12-19 17:20:47 +02:00
Pavel Djundik ed10e14b47
Empty storage directory after destroying all channels 2018-12-18 13:08:18 +02:00
Pavel Djundik 7da036bf34 Add extra logging in ldap 2018-12-12 22:33:30 +02:00
Pavel Djundik e97db8e244
Merge pull request #2895 from thelounge/xpaw/manifest
Rename `manifest.json` to `thelounge.webmanifest`
2018-11-21 11:48:17 +02:00
Pavel Djundik e033010841 Rename manifest.json to thelounge.webmanifest
This makes express serve it with correct content-type of application/manifest+json

Refs:
- https://w3c.github.io/manifest/#media-type-registration
- https://webhint.io/docs/user-guide/hints/hint-manifest-file-extension/
2018-11-13 13:33:25 +02:00
Pavel Djundik dd61e6e09a Use fileType.minimumBytes 2018-11-13 13:30:02 +02:00
Pavel Djundik d5aa00b753 Fix timing issue crashing on undefined when setting openChannel 2018-10-21 11:05:05 +03:00
Pavel Djundik 8d5d9617ae Hard limit nicks to 100 characters, add maxlength on connect inputs 2018-10-20 14:10:26 +03:00
Pavel Djundik 1d8a0e639f Encode uploaded file slugs 2018-10-14 00:23:41 +03:00
Pavel Djundik de028e5dd8 Force express server to run in production mode 2018-10-14 00:23:32 +03:00
Pavel Djundik 010ddab78e
Merge pull request #2849 from thelounge/xpaw/webirc-ownprop
Use hasOwnProperty when checking for webirc
2018-10-13 13:11:57 +03:00
Pavel Djundik 9686c0383e Use hasOwnProperty when checking for webirc 2018-10-13 12:54:46 +03:00
Pavel Djundik 338b1d2642 Make sure registered command is actually a function 2018-10-13 12:42:51 +03:00
Pavel Djundik 8b4b8fbe9e Fix stored image previews not being dereferenced
Broken in 64ebe0f437
2018-10-03 15:44:24 +03:00
Pavel Djundik 88ce0cee99 Use Date.toISOString for logging 2018-09-23 21:57:40 +03:00
Pavel Djundik 2162f4a55a Fix issues in regards to ignoring your own nickname 2018-09-22 13:27:03 +03:00
Pavel Djundik b538360c5e Limit network name length and replace spaces in log folders 2018-09-09 13:09:30 +03:00
Pavel Djundik bec241e7fa Move correct file after upload, put file extension in slug 2018-09-05 10:08:46 +03:00
Pavel Djundik 8fa8526698 Only emit upload url to the client that uploaded the file
Fixes #2747
2018-09-04 12:08:30 +03:00
Pavel Djundik ce212e001c Add file uploading support
Co-Authored-By: Max Leiter <hello@maxleiter.com>
Co-Authored-By: Jérémie Astori <astorije@users.noreply.github.com>
2018-09-03 10:30:05 +03:00
Pavel Djundik f2ee299004 Fix passwords not being saved in Firefox
Fixes #1740
2018-09-02 20:34:47 +03:00
Pavel Djundik 0519c8a857 Enforce lobby to be the first 0th channel when sorting 2018-08-30 20:16:26 +03:00
Pavel Djundik 7830bfb096 Drop spdy module in favor of native https module 2018-08-29 15:35:06 +03:00
Pavel Djundik 295fe2bd09 Make sure data is an object 2018-08-29 13:55:30 +03:00
Jérémie Astori 0569ee2269
Merge pull request #2721 from thelounge/xpaw/fix-query-away-spam
Fix displaying away message multiple times in query windows
2018-08-26 21:06:36 -04:00
Pavel Djundik f8bb8f9d6f Fix displaying away message multiple times in query windows 2018-08-26 23:14:09 +03:00
Pavel Djundik 9bcec3bea5 Remember disconnected networks between server restarts 2018-08-25 12:11:59 +03:00
Jérémie Astori 039d1220cb
Pass network name along to the client connect window when network is locked and not displayed 2018-08-11 18:10:13 -04:00
Alexandre Oliveira 619b054b95 Add X-Purpose header to link prefetcher 2018-08-07 21:10:03 -03:00
Jérémie Astori 7b926f7c32
Merge pull request #2515 from thelounge/xpaw/transparent-sw-cache
Network-first service worker caches
2018-07-25 00:57:20 -04:00
Pavel Djundik e8c02d5ad2
Merge pull request #2669 from MaxLeiter/humandate-refactor
refactor getHumanDate() to accept a timestamp; avoids possible test failure; more accurate log times
2018-07-22 11:39:11 +03:00
Max Leiter 9bee3eca5a refactor getHumanDate() to accept a timestamp; fixes test 2018-07-22 00:27:49 -07:00