Commit graph

2056 commits

Author SHA1 Message Date
Jérémie Astori 30bf20eb12 Merge pull request #1064 from thelounge/xpaw/harden-sort
Rewrite server code of channel sorting
2017-04-23 14:12:53 -04:00
Jérémie Astori b45946ff2f Merge pull request #1070 from thelounge/greenkeeper/irc-framework-2.7.0
Update irc-framework to the latest version 🚀
2017-04-23 11:46:27 -04:00
Jérémie Astori 37bfd91944 Merge pull request #1072 from thelounge/babel-env
Use babel-preset-env
2017-04-23 11:23:51 -04:00
Pavel Djundik 2cfc9119cb Use babel-preset-env 2017-04-23 10:58:02 +03:00
Pavel Djundik 98e3bd0ca2 Merge pull request #1054 from thelounge/astorije/friendly-date-marker
Use moment on the client to display friendly dates
2017-04-23 10:24:21 +03:00
Pavel Djundik e6961c5aab Merge pull request #1063 from thelounge/greenkeeper/babel-loader-7.0.0
Update babel-loader to the latest version 🚀
2017-04-23 10:23:43 +03:00
Pavel Djundik 57acf0f5ce Revert "Disable (temporarily) client ping timeouts"
This reverts commit ffa0740b50.
2017-04-23 09:42:16 +03:00
greenkeeper[bot] 184dd177a6 fix(package): update irc-framework to version 2.7.0
https://greenkeeper.io/
2017-04-23 02:13:17 +00:00
Jérémie Astori 3c60a67a11 Merge pull request #1067 from thelounge/yamanickill/constants-module
Move commands into constants module
2017-04-22 19:46:38 -04:00
Alistair McKinlay 2e286849fc Move commands into constants module 2017-04-22 20:16:59 +01:00
Jérémie Astori 52814113a9 Merge pull request #1068 from thelounge/patch-show-more
Enable show more button correctly
2017-04-22 12:50:01 -04:00
Jérémie Astori ad41a6f76e Merge pull request #1069 from thelounge/patch-displaynetwork
Fix displayNetwork to work correctly
2017-04-22 12:49:05 -04:00
Pavel Djundik d1ecdb6b52 Fix displayNetwork to work correctly 2017-04-22 19:05:58 +03:00
Pavel Djundik 7522847ecc Enable show more button correctly 2017-04-22 19:04:46 +03:00
Pavel Djundik 78221fc50b Merge pull request #1009 from thelounge/yamanickill/1008-banlist
Add support for banlist messages
2017-04-22 16:22:16 +03:00
Pavel Djundik 934400f5ee Do not build feature branch with open pull requests on AppVeyor
Ref: https://github.com/appveyor/ci/issues/882
2017-04-22 16:04:18 +03:00
Alistair McKinlay 1e504f4383 Add support for banlist messages 2017-04-22 13:51:28 +01:00
Pavel Djundik a1bdd6f740 Rewrite server code of channel sorting
Fixes server crash, fixes losing channels
2017-04-22 13:32:42 +03:00
Pavel Djundik 761dfbb33c Merge pull request #1057 from thelounge/1055-handlebars-index
Change index.html to be rendered using handlebars
2017-04-22 11:26:13 +03:00
Jérémie Astori 5fabf2f61a Make sure friendly date markers are reset at midnight 2017-04-22 00:39:00 -04:00
Jérémie Astori 648cfd12db Use moment on the client to display friendly dates
Also, unread and date markers are now half-transparent based on their colors and not parent opacity. This is necessary to display a non-translucide tooltip.
2017-04-22 00:38:19 -04:00
Jérémie Astori bc5b03d2fc Merge pull request #1060 from thelounge/yamanickill/modularise-socket
Create socket module
2017-04-22 00:36:06 -04:00
Jérémie Astori 060627487a Merge pull request #1058 from thelounge/greenkeeper/handlebars-loader-1.5.0
Update handlebars-loader to the latest version 🚀
2017-04-21 21:14:07 -04:00
greenkeeper[bot] 751d6690ff chore(package): update babel-loader to version 7.0.0
https://greenkeeper.io/
2017-04-21 20:25:48 +00:00
Jérémie Astori 6c0cf7cfcc Merge pull request #972 from thelounge/bonuspunkt/message-parser
New IRC message parser
2017-04-21 13:40:16 -04:00
Jérémie Astori fa1aecdd9e Remove URI.js monkey-patch as fix landed in v1.18.5
See https://github.com/medialize/URI.js/issues/325
2017-04-21 20:31:27 +03:00
Jérémie Astori 03e3444a35 Explain the modules of the message parser and add tests
- Add comments and descriptions to:
  - `findChannels.js`
  - `parseStyle`
  - `findLinks`
  - `fill`
  - `anyIntersection`
  - `merge`
  - `parse`
- Minor optimizations to `parseStyle`
- Add tests for `fill`
2017-04-21 20:31:27 +03:00
Jérémie Astori 90f4a94bb2 Use template literals in parse
Also make it output double quotes for consistency with web stuff.
2017-04-21 20:31:27 +03:00
Jérémie Astori 5b4c00d8ca Extract findLinks into its own file and add tests
Tests were taken from 5a249c30b1/test/findLinks.js.
The underlying code is different but the tests are the same.
2017-04-21 20:31:27 +03:00
Bonuspunkt eb1360c3af Add message parser tests 2017-04-21 20:31:27 +03:00
Bonuspunkt 0b85ded53f Add bonuspunkt's parser
Fixes #15.
Fixes #199.
Fixes #583.
Fixes #654.
Fixes #928.
Fixes #1001.
2017-04-21 20:29:04 +03:00
Al McKinlay ef8a2bab18 Merge pull request #1044 from thelounge/1043-slugify-undefined
Add fix for undefined name being slugified
2017-04-21 14:35:18 +01:00
Alistair McKinlay 05d363d9a5 Create socket module 2017-04-21 09:54:46 +01:00
Alistair McKinlay adfd99c92c Add fix for undefined name being slugified 2017-04-21 09:32:57 +01:00
Alistair McKinlay b4310dbc03 Review changes
(Should be squashed before merge)
2017-04-21 09:26:02 +01:00
Alistair McKinlay cc85b2143c Change index.html to be rendered using handlebars 2017-04-21 09:16:24 +01:00
greenkeeper[bot] f9de811df1 chore(package): update handlebars-loader to version 1.5.0
https://greenkeeper.io/
2017-04-21 03:48:20 +00:00
Pavel Djundik 8658f15751 Merge pull request #1051 from thelounge/astorije/irc-colors-https
Use HTTPS version to the IRC color guide
2017-04-20 16:09:50 +03:00
Al McKinlay 9072fda146 Merge pull request #1052 from KlipperKyle/KlipperKyle/motd
Issue 1019: Show MOTD by default
2017-04-20 09:07:27 +01:00
Jérémie Astori 5bab511c42 Use HTTPS version to the IRC color guide 2017-04-20 01:50:03 -04:00
Jérémie Astori 4de632ba3c Merge pull request #1018 from swordbeta/sort_channel_list
Improve channels list.
2017-04-20 01:40:14 -04:00
Jérémie Astori f16823393a Merge pull request #1053 from thelounge/astorije/coverage-exclude
Exclude Webpack config from coverage report
2017-04-19 10:13:19 -04:00
Jérémie Astori f5dc6cc28f Merge pull request #1050 from metsjeesus/ssl_bundle
Fix to helper.expandhome to correctly resolve "" and undefined
2017-04-19 10:13:01 -04:00
Jérémie Astori 5a274f3316 Merge pull request #1045 from thelounge/495-disable-more-messages
Disable show more button when loading messages
2017-04-19 10:12:14 -04:00
Michael van Tricht 764ac831d4 Improve channels list.
- Set fixed width to channel and users column.
- Sort by number of users in channel.
- Executing /list multiple times wont show multiple tables.
- Channel list is not stickied to the bottom.
- Limit channels to 500. Scrolling through 1k is very slow on my system.
2017-04-19 12:02:15 +02:00
Jérémie Astori 8aa6f9c500 Exclude Webpack config from coverage report 2017-04-19 01:19:11 -04:00
Kyle Terrien a900abc2a4 Issue 1019: Show MOTD by default 2017-04-18 19:48:14 -07:00
Metsjeesus b750da3f9d Fix to helper.expandhome to correctly resolve "" and undefined 2017-04-18 17:36:43 +03:00
Alistair McKinlay 4938878d10 Disable show more button when loading messages 2017-04-17 10:35:27 +01:00
Jérémie Astori fb04f9fcbf Merge pull request #1030 from thelounge/greenkeeper/webpack-2.4.0
Update webpack to the latest version 🚀
2017-04-16 12:27:25 -04:00