Commit Graph

2034 Commits

Author SHA1 Message Date
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
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
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
greenkeeper[bot]
955aada1cf chore(package): update webpack to version 2.4.1
https://greenkeeper.io/
2017-04-16 12:45:30 +03:00
Pavel Djundik
f185c86a47 Merge pull request #816 from DanielOaks/master+unhandled-slug
Add slug with command to unhandled messages
2017-04-16 12:37:32 +03:00
Daniel Oaks
5c336d3789 Add slug with command to unhandled messages 2017-04-16 12:31:32 +03:00
Jérémie Astori
53e419355d Merge pull request #575 from williamboman/feat/history
client: implement History Web API
2017-04-16 02:36:00 -04:00
William Boman
cc0962ba12 client: implement states using the History Web API 2017-04-15 22:34:14 +02:00
Jérémie Astori
6ae6600518 Merge pull request #1024 from metsjeesus/ssl_bundle
Add SSL CA bundle option
2017-04-15 14:46:23 -04:00
Jérémie Astori
5bc1be1f39 Merge pull request #1040 from thelounge/focusin-reset-notifications
Reset notification markers on document focus
2017-04-15 13:20:23 -04:00
Metsjeesus
fa51a2c281 Add CA bundle option in SSL 2017-04-15 19:12:21 +03:00
Pavel Djundik
d093a7f4c2 Reset notification markers on document focus
Fixes #837
2017-04-15 18:43:34 +03:00
Jérémie Astori
8627bbb713 Merge pull request #1032 from thelounge/userlist-sticky
Stick to bottom when opening user list
2017-04-15 01:51:44 -04:00
Jérémie Astori
ecb60e3c78 Merge pull request #1033 from thelounge/preload-scripts
Preload scripts as soon as possible
2017-04-15 01:35:38 -04:00
Jérémie Astori
3140c66b9e Merge pull request #1034 from thelounge/rel-opener
Add rel noopener to URLs in index.html
2017-04-14 20:46:43 -04:00
Pavel Djundik
1e2e8a82db Add rel noopener to URLs in index.html 2017-04-14 21:36:41 +03:00
Pavel Djundik
8020c3c817 Preload scripts as soon as possible 2017-04-14 21:29:40 +03:00
Pavel Djundik
507bf05d24 Remove referrer meta tag, we send Referrer-Policy header 2017-04-14 21:29:40 +03:00
Pavel Djundik
fce3d11e74 Stick to bottom when opening user list
Fixes #1031
2017-04-14 21:29:04 +03:00
Pavel Djundik
3e9678d9cf Merge pull request #1028 from thelounge/xpaw/cert-var
Use local variables to check length
2017-04-14 10:52:03 +03:00
Pavel Djundik
f645c32cb9 Use local variables to check length 2017-04-14 00:05:28 +03:00
Jérémie Astori
725d8431f7 Merge pull request #1027 from thelounge/astorije/rm-perspective
Remove invalid CSS perspective properties
2017-04-13 12:34:16 -04:00
Jérémie Astori
b7d353b620 Remove invalid CSS perspective properties
These are not valid without units per the CSS validator, which is confirmed in the Chrome dev tools. I could not trigger any consequences by removing these.
2017-04-13 02:30:36 -04:00
Jérémie Astori
5890a3def1 Merge pull request #824 from thelounge/xpaw/time-tooltip
Use css tooltips on time elements, ability to view time on mobile
2017-04-13 02:04:15 -04:00
Jérémie Astori
5b721c1b99 Update Primer tooltips to latest v0.5.3
This:

- Makes tooltips appear after timer instead of instantly, necessary for timestamp tooltips (see https://github.com/thelounge/lounge/pull/824#pullrequestreview-13676231)
- Uses Primer default animation (not sure if .2s transition was ours or theirs but here it is)
- Goes closer to default tooltips which will help to bump future versions and/or to streamline this in build process
2017-04-13 01:55:27 -04:00