Commit Graph

3471 Commits

Author SHA1 Message Date
Alistair McKinlay
0b83ba6a40 Stop expanding condensed messages on /expand 2018-01-26 08:52:51 +00:00
Jérémie Astori
5722bd9845
Allow timestamp tooltips to expand beyond message boundaries 2018-01-24 00:22:18 -05:00
Jérémie Astori
6bfd6ed473
Fix timestamp tooltips not aligning correctly with timestamps 2018-01-23 00:49:17 -05:00
greenkeeper[bot]
25f02eb211 chore(package): update jquery to version 3.3.1 2018-01-20 17:37:32 +00:00
milindl
d6d54c2c56 Show channels for only active server in autocomplete
Fix #1381.
2018-01-20 18:24:21 +05:30
greenkeeper[bot]
cfca2fa155 chore(package): update eslint to version 4.16.0 2018-01-20 06:15:08 +00:00
Jérémie Astori
b2eebfa65e
2.7.0-rc.2 2018-01-19 23:33:00 -05:00
Jérémie Astori
54af12b329
Add changelog entry for v2.7.0-rc.2 2018-01-19 23:30:33 -05:00
Jérémie Astori
25d69438b8
Merge pull request #1986 from thelounge/astorije/fix-deleting-package
Make sure existing packages (and themes) are not deleted when installing a new one on Node.js v8
2018-01-18 01:30:17 -05:00
greenkeeper[bot]
710ba10772 chore(package): update mocha to version 5.0.0 2018-01-18 06:10:02 +00:00
greenkeeper[bot]
9946b918d7 fix(package): update primer-tooltips to version 1.5.2 2018-01-18 00:44:09 +00:00
Jérémie Astori
432023fc7e
Make sure existing packages (and themes) are not deleted when installing a new one on Node.js v8
- When installing a package on Node v8 (or whatever npm version ships with it - v5), all packages not listed in `package.json` are removed. Since we explicitly added `--no-save`, installing a theme would delete the previous one. I am now checking that the file already exists or not. This means that it will still happen to people the next time they run `thelounge install`, because the previous install did not save into `package.json` :/
- Adding `--save` to make sure that the same, correct behavior is done on Node v6 as well (npm v3)
- Adding `--save-exact` for good measure.
2018-01-16 20:25:35 -05:00
greenkeeper[bot]
d3cbcfcc8b fix(package): update semver to version 5.5.0 2018-01-16 20:35:46 +00:00
Pavel Djundik
33de4840c6
Merge pull request #1984 from thelounge/astorije/vulnerability-disclosure
Add SECURITY guidelines about security vulnerability disclosures, and link them from the CONTRIBUTING guidelines
2018-01-16 10:35:12 +02:00
Jérémie Astori
fda03b8362
Add SECURITY guidelines about security vulnerability disclosures, and link them from the CONTRIBUTING guidelines 2018-01-15 20:26:26 -05:00
Jérémie Astori
33d82287be
Do not statically serve the index template prior to rendering it
Without this, going to `https://thelounge.example.com/index.html` would return the raw file. This now excludes it from the `public` folder so it cannot be rendered as is.
Renaming the file is for good measure, to indicate that this HTML file must be templated. Because it is a straight rename with no modification, rebasing PRs on it should not be to painful, as git re-applies changes on renamed files.
2018-01-14 13:02:27 -05:00
Jérémie Astori
7a691b8e6c
2.7.0-rc.1 2018-01-13 19:23:24 -05:00
Jérémie Astori
aac4025c59
Add changelog entry for v2.7.0-rc.1 2018-01-13 19:23:06 -05:00
Jérémie Astori
42199eda29
Merge pull request #1978 from merlinthp/chpass_callback
Add missing execution of callback in ClientManager.updateUser
2018-01-13 18:47:01 -05:00
Howard Johnson
10d43f27ed Add missing executions of callback in ClientManager.updateUser
Signed-off-by: Howard Johnson <merlin@merlinthp.org>
2018-01-13 23:05:23 +00:00
Pavel Djundik
1aaa9391db
Merge pull request #1970 from thelounge/astorije/fix-themes
Fix local themes not being found in theme selector dropdown, and serve local themes using the themes route instead of the public folder
2018-01-13 23:09:55 +02:00
Jérémie Astori
c49239b4f1
Fix themes not being found in theme selector dropdown 2018-01-13 13:45:30 -05:00
Jérémie Astori
f8c66aa512
Merge pull request #1975 from thelounge/xpaw/fix-1902
Fix enabling push notifications on Firefox
2018-01-13 13:14:33 -05:00
Jérémie Astori
503c1538f5
Merge pull request #1974 from thelounge/astorije/fix-uninstall
Fix `thelounge uninstall` command
2018-01-13 13:13:19 -05:00
Jérémie Astori
45dc52886e
Fix thelounge uninstall command
- Exit with code 1 when package was not installed
- Run a pre-step to check if package is installed before uninstalling. I have tried every possible way I could think of without that first `npm list` step based on output of `npm uninstall`, but different npm versions produce different outputs, so there is nothing reliable. This is a more robust way to do so anyway.
- Consolidate error handlers
2018-01-13 02:00:37 -05:00
Pavel Djundik
8d0bdfc200 Fix #1902 - unable to enable push notifications on Firefox 57 2018-01-12 12:04:04 +02:00
Jérémie Astori
3eb017caf8
Merge pull request #1964 from thelounge/sign-git-tag
Set sign-git-tag to true in .npmrc
2018-01-11 23:50:17 -05:00
Jérémie Astori
d1c7613535
Merge pull request #1963 from thelounge/greenkeeper/commander-2.13.0
Update commander to the latest version 🚀
2018-01-11 23:36:42 -05:00
Jérémie Astori
edaa8119af
Merge pull request #1965 from thelounge/greenkeeper/ldapjs-1.0.2
Update ldapjs to the latest version 🚀
2018-01-11 23:17:50 -05:00
Pavel Djundik
59a1a9cd36 Fix #1958: Remove session token hash conversion 2018-01-11 21:44:00 +02:00
greenkeeper[bot]
fd6f740d36 fix(package): update ldapjs to version 1.0.2 2018-01-11 18:41:53 +00:00
Pavel Djundik
cdd9418bb0
Set sign-git-tag to true in .npmrc 2018-01-11 17:12:04 +02:00
greenkeeper[bot]
c4b5671aef fix(package): update commander to version 2.13.0 2018-01-11 15:08:34 +00:00
Pavel Djundik
98c3108bde
Merge pull request #1940 from thelounge/xpaw/fix-1934
Hash user tokens, increase token entropy
2018-01-11 13:34:14 +02:00
Jérémie Astori
40aadf7c95
Merge pull request #1619 from thelounge/1447-css-plugin
Allow custom css from plugins
2018-01-10 21:44:47 -05:00
Jérémie Astori
6cbc2eeef3
Merge pull request #1956 from thelounge/xpaw/fix-notif-timestamp
Provide correct timestamp to browser notifications
2018-01-10 21:42:23 -05:00
Pavel Djundik
eac092e661 Hash user tokens, increase token entropy
Fixes #1934
2018-01-10 15:54:52 +02:00
Pavel Djundik
31c33e43d5 Provide correct timestamp to browser notifications 2018-01-09 18:47:13 +02:00
Pavel Djundik
e77de3315a Prevent user contextmenu from opening while selecting text 2018-01-09 18:16:20 +02:00
Jérémie Astori
b3702b0550
Merge pull request #1938 from thelounge/astorije/uninstall-packages
Add a `thelounge uninstall` command to remove themes and packages
2018-01-09 00:51:27 -05:00
Jérémie Astori
b8bd6fccbb
Merge pull request #1949 from thelounge/xpaw/no-history-spam
Only emit "more" history to the client that requested it
2018-01-07 13:37:36 -05:00
Pavel Djundik
fc39a67e10 Only emit "more" history to the client that requested it 2018-01-07 15:06:59 +02:00
Jérémie Astori
011b086760
Merge pull request #1947 from thelounge/greenkeeper/eslint-4.15.0
Update eslint to the latest version 🚀
2018-01-07 01:18:34 -05:00
greenkeeper[bot]
41d872bcaf chore(package): update eslint to version 4.15.0 2018-01-07 02:37:59 +00:00
Jérémie Astori
d2388dc623
Bail when uninstalling if package.json for TL packages does not exist
It is on purpose that the message is the same than when a package was not installed. From a user standpoint, it only matters that this specific package was not installed.
2018-01-06 12:12:10 -05:00
Jérémie Astori
3971ecff63
Customize a bit thelounge install|uninstall
- Hides progress bars that flash when installing/uninstalling as it does not bring real value here, at least for now
- Inform user if package being uninstalled was not actually installed
- Do not display npm outputs, mention which version was installed (this will probably need refining when installing packages with dependencies)
2018-01-06 12:12:10 -05:00
Jérémie Astori
d9cb640c2a
Add a thelounge uninstall command to remove themes and packages 2018-01-06 12:12:09 -05:00
Pavel Djundik
52b3ef18f7
Merge pull request #1941 from thelounge/xpaw/fix-log-from
Fix nicknames in text logs
2018-01-05 20:47:30 +02:00
Al McKinlay
3510094665 Allow custom css from plugins 2018-01-05 17:40:47 +00:00
Pavel Djundik
4307bb0563
Fix nicknames in text logs 2018-01-05 15:41:03 +02:00