Commit graph

2070 commits

Author SHA1 Message Date
Pavel Djundik
e3bd30b05f Merge pull request #1077 from thelounge/yamanickill/1073-ban-unban
Add ban/unban command
2017-04-26 11:17:41 +03:00
Pavel Djundik
ba20d4f70e Merge pull request #1080 from thelounge/yamanickill/1042-back-twice
Replace the state on init rather than adding a new entry
2017-04-26 11:16:43 +03:00
Alistair McKinlay
b03d01b6eb Add ban/unban command
Fixes #1073
2017-04-26 08:54:25 +01:00
Alistair McKinlay
d0987719ce Replace the state on init rather than adding a new entry
Fixes #1042
2017-04-26 08:36:26 +01:00
Jérémie Astori
ac9101ed61 Merge pull request #1066 from thelounge/yamanickill/options-module
Create options module
2017-04-26 00:17:51 +02:00
Jérémie Astori
b1159eff9b Merge pull request #1082 from MaxLeiter/setTopic
Use irc-framework setTopic() for topic command
2017-04-25 23:32:58 +02:00
Al McKinlay
443b1e8048 Merge pull request #1087 from thelounge/yamanickill/fix-index
Fix showing prefetch options
2017-04-25 11:12:09 +00:00
Alistair McKinlay
b69ba5e4b1 Fix showing prefetch options 2017-04-25 10:26:52 +01:00
Max Leiter
e45cfbf02c Use irc-framework setTopic() for topic command 2017-04-24 21:05:57 -07:00
Jérémie Astori
eca52bf8e3 Merge pull request #1079 from thelounge/greenkeeper/mocha-3.3.0
Update mocha to the latest version 🚀
2017-04-25 00:10:10 +02:00
Pavel Djundik
5ab79effd2 Merge pull request #1074 from thelounge/greenkeeper/irc-framework-2.8.0
Update irc-framework to the latest version 🚀
2017-04-24 13:46:09 +03:00
greenkeeper[bot]
413ab234d6 chore(package): update mocha to version 3.3.0
https://greenkeeper.io/
2017-04-24 09:45:02 +00:00
Alistair McKinlay
326f1ac476 Create options module 2017-04-24 09:06:01 +01:00
greenkeeper[bot]
36a7cf4007 fix(package): update irc-framework to version 2.8.0
https://greenkeeper.io/
2017-04-23 18:13:49 +00:00
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