Commit graph

947 commits

Author SHA1 Message Date
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 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
Pavel Djundik 265876786c Don't put .log in text log folder name 2018-07-22 00:39:22 +03:00
Pavel Djundik e8b3836050 Fix ignore list resetting on server restart 2018-07-11 10:57:02 +03:00
Pavel Djundik 9bb8d4f385 Do not write /list messages to logs 2018-07-10 12:44:23 +03:00
Pavel Djundik 95e6fb3a49
Merge pull request #2609 from RockyTV/rockytv
Stop handling CTCP messages if the sender/target is ignored
2018-07-07 11:09:35 +03:00
Pavel Djundik 28df906957 Implement caching for static resources 2018-07-06 15:38:57 +03:00
Pavel Djundik 184f6bae09
Merge pull request #2570 from thelounge/xpaw/uid
Warn if config owner doesn't match process uid
2018-07-04 11:53:58 +03:00
Alexandre Oliveira 671dad4ed6 Stop handling CTCP messages if the sender/target is ignored 2018-07-01 15:48:37 -03:00
Jérémie Astori 10642b8f5a
Merge pull request #2576 from thelounge/xpaw/query-away-notify
Also send away notices to query windows
2018-06-21 21:01:58 -04:00