Commit Graph

1789 Commits

Author SHA1 Message Date
Girish Ramakrishnan
09f2d069de Fix crash when LDAP server is unreachable
Fixes #667
2016-10-16 11:27:09 -07:00
Max Leiter
b503b8cb4f Add image to readme 2016-10-15 13:48:26 -07:00
Jérémie Astori
5598da73d9 Merge pull request #689 from thelounge/astorije/es5-es6-love
Replace lodash's each/map with ES5 native forEach/map
2016-10-15 16:32:56 -04:00
Jérémie Astori
e905c139d7 Use native ES5 map method instead of lodash's 2016-10-15 15:58:49 -04:00
Jérémie Astori
089c315a8e Use forEach instead of lodash's each, and ES6 fat arrows like it's 2015 2016-10-15 15:58:48 -04:00
Pavel Djundik
93053d497d Add mode command test suite 2016-10-15 14:23:39 +03:00
Pavel Djundik
bfeaeee873 Fix /mode command to correctly assume target 2016-10-15 14:17:45 +03:00
Pavel Djundik
3711aefc2d Merge pull request #664 from thelounge/xpaw/fix-defaults
Fix memory and reference shuffling when creating models
2016-10-15 14:14:53 +03:00
Pavel Djundik
db1dc3675a Merge pull request #592 from williamboman/fix/git-describe
consolidate version numbers throughout all interfaces
2016-10-15 14:06:52 +03:00
Pavel Djundik
a58b7839a7 Merge pull request #685 from thelounge/astorije/fix-nick-in-logs
Fix nick changes not being properly reported in the logs
2016-10-15 14:00:47 +03:00
Jérémie Astori
3a0017583b Merge pull request #687 from thelounge/astorije/ci-caches
Use CI caches for downloaded files instead of installed ones
2016-10-14 23:31:21 -04:00
Pavel Djundik
ebd70824f0 Merge pull request #693 from thelounge/revert-661-xpaw/no-dom-event
Revert "Do not trigger a DOM event on every message"
2016-10-14 20:11:02 +03:00
Pavel Djundik
4f5bb55951 Revert "Do not trigger a DOM event on every message" 2016-10-14 18:49:08 +03:00
Jérémie Astori
93c4c14b72 Merge pull request #647 from nornagon/prefix-lookup
Fill in prefixLookup on network initialization
2016-10-12 03:37:06 -04:00
Jeremy Apthorp
b7814bc571 Fill in prefixLookup on network initialization
Fixes #644.
2016-10-11 22:17:58 -07:00
Jérémie Astori
6dac7b1897 Use CI caches for downloaded files instead of installed ones
This allows for a more meaningful build: if a newer version of a sub-package breaks,
builds would still pass as it uses the cached version. This uses a cache for downloaded packages instead.

I am expecting this to slow down a little bit the builds (but we are OK overall)
but be more accurate in practice.

See https://docs.npmjs.com/cli/cache#configuration and https://docs.npmjs.com/files/folders#node-modules.
2016-10-11 22:30:08 -04:00
William Boman
aabdf562a6 client: re-focus input on chat form submit 2016-10-11 10:43:27 +02:00
William Boman
99218341ec consolidate version numbers throughout all interfaces 2016-10-10 21:56:57 +02:00
Max Leiter
0d058a5ef7 Begin work on overriding defaults in URL 2016-10-10 10:35:33 -07:00
Jérémie Astori
310ab8f43c Fix nick changes not being properly reported in the logs
Before:

```
[2016-10-10 15:17:47] *  nick
```

After:

```
[2016-10-10 16:32:47] * astorije nick astorije2
```
2016-10-10 13:08:23 -04:00
Jérémie Astori
7e39ae045f Merge pull request #681 from thelounge/xpaw/more-eslint
Enforce more eslint rules
2016-10-09 19:02:04 -04:00
Pavel Djundik
aa02fd5180 Enforce more eslint rules 2016-10-09 17:55:37 -04:00
Jérémie Astori
6b597d3b2f Merge pull request #684 from thelounge/astorije/strict-mode
Strict mode for all JS files
2016-10-09 17:55:19 -04:00
Jérémie Astori
8a4100cd01 Merge pull request #682 from thelounge/xpaw/svg-ttf
Remove all font files except WOFF
2016-10-09 15:26:52 -04:00
Pavel Djundik
b28bba6dd4 Remove svg and ttf font formats 2016-10-09 15:21:04 -04:00
Jérémie Astori
e416d74f57 Rename package variable, reserved in strict mode
This has been renamed similarly in other files of the projects already.
2016-10-09 15:15:20 -04:00
Jérémie Astori
caa46042bf Enforce strict mode across all JS files with ESLint
Several ES6 additions are only available in strict mode. Example:
> SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode

Strict mode was also enabled in a few of our files already, and it is a good thing to have anyway.
2016-10-09 15:14:02 -04:00
Jérémie Astori
56fb04c81e Merge pull request #683 from thelounge/xpaw/fix-csp-edge
Fix loading fonts in Microsoft Edge
2016-10-09 14:12:31 -04:00
Pavel Djundik
3b8a478e34 Fix loading fonts in Microsoft Edge 2016-10-09 12:29:17 +03:00
Jérémie Astori
e9d7d77cbd Merge pull request #661 from thelounge/xpaw/no-dom-event
Do not trigger a DOM event on every message
2016-10-08 16:35:14 -04:00
Jérémie Astori
45ff1c0a00 Merge pull request #673 from toXel/toxel/fix-missing-keys
Check if SSL key and certificate files exist
2016-10-08 15:35:25 -04:00
Pavel Djundik
8f3f1ca0b1 Fix memory and reference shuffling when creating models 2016-10-08 21:49:31 +03:00
Jérémie Astori
1e864e266e Merge pull request #632 from thelounge/xpaw/multi-prefix-support
Make use of multi-prefix cap and remove NAMES spam on mode changes
2016-10-08 14:03:37 -04:00
Pavel Djundik
2e82c6b5c6 Make use of multi-prefix cap and remove NAMES spam on mode changes 2016-10-08 20:30:25 +03:00
toXel
5b6f5d5dce Check if SSL key and certificate files exist 2016-10-08 14:56:12 +02:00
Jérémie Astori
ac3992bcdb Merge pull request #658 from thelounge/xpaw/wallops
Display wallops in server window
2016-10-08 00:02:16 -04:00
Pavel Djundik
94781c98d4 Merge pull request #653 from MaxLeiter/MaxLeiter/crypto-unhandled
Fix unhandled message color in Crypto theme
2016-10-07 19:40:05 +03:00
Pavel Djundik
da215d5465 Merge pull request #670 from thelounge/astorije/hostmask-in-logs
Add hostmasks in logs when possible
2016-10-07 19:37:59 +03:00
Jérémie Astori
41525ec20c Add hostmasks in logs when possible
This will augment logs for `join`/`part`/`quit` with something similar to:

```
[2016-10-03 23:19:29] * astorije2 (~lounge-us@123.45.67.89) join
[2016-10-03 23:22:04] * foobar (~foo@irc.example.com) join

[2016-10-03 23:22:00] * foo (foo@gateway/web/freenode/ip.12.34.56.789) quit Quit: Page closed
[2016-10-03 23:22:12] * bar (~foo@unaffiliated/bar) quit Ping timeout: 252 seconds

[2016-10-03 23:31:23] * astorije (~astorije@128.30.0.0) part
```
2016-10-03 19:40:26 -04:00
Max Leiter
565e37e873 Fix unhandled message color in Crypto theme 2016-10-03 10:20:06 -07:00
Jérémie Astori
cd87df955e Merge pull request #551 from thelounge/astorije/set-nick-ui
Changing nick in the UI
2016-10-01 16:59:16 -04:00
Pavel Djundik
024369d4c3 Implement our own /nick command to allow editing nick when not connected 2016-10-01 16:51:35 -04:00
Pavel Djundik
beb6d1ea5b Reset nickname in UI back to previous one on error 2016-10-01 16:51:35 -04:00
Jérémie Astori
4328946f80 Add tooltips to nick editor buttons 2016-10-01 16:51:35 -04:00
Jérémie Astori
12839af684 Make nick badge editable to set it in the UI 2016-10-01 16:51:34 -04:00
Pavel Djundik
2cbe0caf40 Merge pull request #662 from thelounge/astorije/consolidate-helpers
Consolidate locale time helpers
2016-10-01 23:38:06 +03:00
Jérémie Astori
4e1d89f567 Consolidate locale time helpers
When working on #660, I missed that helper already existed, added in #167.
2016-10-01 15:38:06 -04:00
Pavel Djundik
743d4b61d5 Do not trigger a DOM event on every message 2016-10-01 13:09:57 +03:00
Pavel Djundik
cd90d50a37 Merge pull request #660 from thelounge/astorije/98-add-timestamp-title
Display localized timestamp in title of message times
2016-10-01 09:50:17 +03:00
Jérémie Astori
fc03a338fc Display localized timestamp in title of message times 2016-10-01 02:46:19 -04:00