Commit graph

2402 commits

Author SHA1 Message Date
Jérémie Astori 8e4582f3f5
2.4.0 2017-07-30 18:50:15 -04:00
Jérémie Astori 769fdab252
Remove temporary npm tag for pre-releases 2017-07-30 18:50:09 -04:00
Jérémie Astori db9e34da8d
Add changelog entry for v2.4.0 2017-07-30 18:49:49 -04:00
Jérémie Astori 1bcf59f704
2.4.0-rc.2 2017-07-27 13:36:51 -04:00
Jérémie Astori 5e9d203f3e
Add changelog for v2.4.0-rc.2 2017-07-27 13:36:30 -04:00
Pavel Djundik 5ccc184509 Merge pull request #1378 from thelounge/astorije/install-urijs
Move urijs from devDependencies to dependencies
2017-07-27 11:50:55 +03:00
Jérémie Astori 8115dea4bf Move urijs from devDependencies to dependencies
https://github.com/thelounge/lounge/pull/1276 refactored previews, and in particular [reused our link-in-messages detection](https://github.com/thelounge/lounge/pull/1276/files#diff-4805d608cbc31851a7bee1bf4c7e247eR6) instead of [having a separate logic](https://github.com/thelounge/lounge/pull/1276/files#diff-4805d608cbc31851a7bee1bf4c7e247eL19). 

Unfortunately, this loads a client library, which requires `urijs`. Since these are built at release time, we were not including this package in the production dependencies, and it is now breaking at install time.

This might happen again if we add a client dependency in this file and forget it is also loaded by the server. We could in the future either extract this logic into a shared location, or we could move this logic entirely on the server (or maybe many other options), but in the meantime this will fix the issue in `v2.4.0-rc.1`.
2017-07-27 02:04:47 -04:00
Jérémie Astori 9f9b300d26
2.4.0-rc.1 2017-07-27 00:50:54 -04:00
Jérémie Astori 365bed34a3
Prepare changelog entry for v2.4.0-rc.1 and set up pre-release publish tag 2017-07-27 00:50:42 -04:00
Jérémie Astori 8aa89d7da2 Merge pull request #1366 from thelounge/astorije/persist-preview-toggle
Keep track of preview visibility on the server so it persists at page reload
2017-07-26 18:26:12 -04:00
Jérémie Astori 157289258a
Keep track of preview visibility on the server so it persists at page reload 2017-07-26 18:16:50 -04:00
Jérémie Astori e34da8a9f3 Merge pull request #1376 from thelounge/greenkeeper/webpack-3.4.1
Update webpack to the latest version 🚀
2017-07-26 18:07:09 -04:00
Pavel Djundik 5ffecac70d Merge pull request #1374 from thelounge/astorije/fix-hover-glitch
Remove user link color override on dark theme
2017-07-26 20:04:48 +03:00
greenkeeper[bot] dddfc78279 chore(package): update webpack to version 3.4.1 2017-07-26 09:02:43 +00:00
Jérémie Astori 60bf17fe91
Remove user link color override on dark theme
This fixes a UI glitch on hover when colored nicknames are disabled on Morning and Zenburn.
2017-07-26 01:38:51 -04:00
Jérémie Astori 1f6ac656aa Merge pull request #1370 from thelounge/xpaw/image-viewer-focus
Remove focus from input when opening image viewer
2017-07-25 12:41:13 -04:00
Jérémie Astori 30a1bb7b9b Merge pull request #1371 from thelounge/greenkeeper/webpack-3.4.0
Update webpack to the latest version 🚀
2017-07-25 12:37:03 -04:00
Pavel Djundik 45a2d074fb Remove focus from input when opening image viewer
Fixes #1342
2017-07-25 18:07:14 +03:00
greenkeeper[bot] 334768d5d5 chore(package): update webpack to version 3.4.0 2017-07-25 14:41:38 +00:00
Pavel Djundik 2a7dadd6ee Merge pull request #1369 from thelounge/greenkeeper/semver-5.4.0
Update semver to the latest version 🚀
2017-07-25 11:29:36 +03:00
greenkeeper[bot] 8a7b0c1440
fix(package): update semver to version 5.4.1 2017-07-24 19:24:49 -04:00
Jérémie Astori 8259b0924b Merge pull request #1367 from thelounge/astorije/fix-viewer-cycle
Fix image viewer cycling when some previews are hidden
2017-07-24 19:21:49 -04:00
Jérémie Astori 8dcb4700e3 Merge pull request #1368 from thelounge/astorije/rm-viewer-blur
Remove background blur filter/transition when opening the image viewer
2017-07-24 19:21:27 -04:00
Jérémie Astori 5b60bb0b0c
Remove background blur filter/transition when opening the image viewer 2017-07-24 02:31:12 -04:00
Jérémie Astori 60b531a174
Fix image viewer cycling when some previews are hidden 2017-07-24 02:14:14 -04:00
Jérémie Astori 2a81af6949 Merge pull request #1365 from thelounge/astorije/image-viewer-previous-next
Add Previous/Next cycling buttons to the image viewer
2017-07-24 01:47:53 -04:00
Jérémie Astori dc33b3ea95 Merge pull request #1363 from thelounge/xpaw/fix-preview-overflow
Fix link previews not truncating correctly
2017-07-24 01:47:03 -04:00
Jérémie Astori b9f17b77ab
Add Previous/Next cycling buttons to the image viewer 2017-07-23 13:14:27 -04:00
Pavel Djundik 52d85559aa Fix link previews not truncating correctly 2017-07-22 12:33:49 +03:00
Jérémie Astori 30cf980506 Merge pull request #1359 from thelounge/xpaw/fix-link-previews
Fix remaining issues with link previews
2017-07-22 01:24:13 -04:00
Jérémie Astori e73f82e46c Merge pull request #1361 from thelounge/xpaw/fix-mobile-zalgo
Hide overflow on entire message row
2017-07-21 23:01:08 -04:00
Jérémie Astori 2102c79835 Merge pull request #1362 from thelounge/greenkeeper/eslint-4.3.0
Update eslint to the latest version 🚀
2017-07-21 23:00:15 -04:00
greenkeeper[bot] f35fc4acf3 chore(package): update eslint to version 4.3.0 2017-07-21 16:46:00 +00:00
Pavel Djundik 30f40ee448 Fix remaining issues with link previews
Fixes #1357
2017-07-21 19:39:06 +03:00
Pavel Djundik ed9bfcf2fa Merge pull request #1194 from thelounge/xpaw/lazy-user-list
Lazily load user list in channels on init, keep autocompletion sort on server
2017-07-21 17:25:23 +03:00
Pavel Djundik 74ca130d51 Hide overflow on entire message row
Fixes #1360
2017-07-21 15:00:42 +03:00
Pavel Djundik f642a3c776 Merge pull request #1353 from thelounge/astorije/better-preview-ordering
Enforce correct order for previews on server-side prefectch rather than at client parsing
2017-07-21 11:12:37 +03:00
Pavel Djundik 7d981d60d8 Recycle existing User objects in names event
This is required to keep lastMessage correct. This will also be useful for the away tracking PR.
2017-07-21 11:05:37 +03:00
Pavel Djundik 48d367e379 Use findUser 2017-07-21 11:05:37 +03:00
Pavel Djundik d06c279f02 Lazily load user list 2017-07-21 11:05:36 +03:00
Pavel Djundik 7af573fd96 Handle auto completion order on the server
Fixes #289.
2017-07-21 11:05:21 +03:00
Jérémie Astori 900d41bf47
Re-use .previews to order incoming previews instead of extra links 2017-07-21 01:51:51 -04:00
Jérémie Astori 1c8ea0b75c
Fix preserved whitespace-related issues for previews by separating them from main text 2017-07-21 01:50:09 -04:00
Jérémie Astori a13c08a45b
Enforce correct order for previews on server-side prefectch rather than at client parsing
This has the benefit of not adding `.preview` divs everywhere, anytime we use `parse()`, and also to un-tie the position of the preview blocks from the result of the helper. This means that templates that call `parse` and have some extra markup after that are not constrained anymore.

This is effectively an alternative, better way to fix https://github.com/thelounge/lounge/issues/1343, but the initial fix that was put in place (https://github.com/thelounge/lounge/pull/1347) is still relevant, for example to make sure a preview stays hidden (and does not add extra margin/padding/etc.) if the link does not prefetch.
2017-07-21 01:06:42 -04:00
Al McKinlay d839a9e64a Merge pull request #1319 from MaxLeiter/patch-1
Update README for when to run `npm run build`
2017-07-20 08:56:26 +01:00
Max Leiter e0d6e11d4c Update README directions on when to npm run build
need to `npm run build` a lot more since webpack was added
2017-07-19 22:28:02 -07:00
Jérémie Astori 4e7eed7958 Merge pull request #1334 from MaxLeiter/MaxLeiter/emoji
Emoji fuzzysearching
2017-07-20 01:20:57 -04:00
Jérémie Astori 9a5f577ae8 Merge pull request #1354 from thelounge/yamanickill/more-index
Change more to use id rather than count.
2017-07-20 01:18:52 -04:00
Max Leiter 4a56870c08 Emoji fuzzysearching 2017-07-19 11:33:16 -07:00
Alistair McKinlay e01e21cdbe Change more to use id rather than count. 2017-07-19 07:37:13 +01:00