Commit graph

1650 commits

Author SHA1 Message Date
Jérémie Astori dba885be47 Merge pull request #709 from thelounge/astorije/rm-notification-poyfill
Remove browser notification polyfill and inform user when unsupported
2016-10-22 17:36:26 -04:00
Jérémie Astori d82a894b7b Remove browser notification polyfill and inform user when unsupported 2016-10-22 17:26:34 -04:00
Pavel Djundik f3f933ed44 Merge pull request #707 from thelounge/astorije/rm-rf-osx
Get rid of OSX CI builds until they get much faster
2016-10-21 22:38:40 +03:00
Pavel Djundik 45554ec7b7 Merge pull request #703 from thelounge/astorije/test-handlebars
Add a simple (first) test for localetime Handlebars helper
2016-10-20 16:53:48 +03:00
Jérémie Astori dec9a173bf Get rid of OSX CI builds until they get much faster
OSX builds have been nothing but a pain on Travis CI: they fail with no good reason, they stay pending forever, etc.

As far as I can tell, I can't remember one valid build they failed and we legitimately discovered a bug. Dev env on OSX is very close to Linux so it's good enough to have it here.
2016-10-20 01:40:20 -04:00
Jérémie Astori 1ff011dfaf Add a simple (first) test for localetime Handlebars helper 2016-10-20 01:49:34 +02:00
Jérémie Astori 04f23704b8 Merge pull request #679 from thelounge/xpaw/fix-mode-command
Fix /mode command to correctly assume target
2016-10-17 15:30:02 -04:00
Jérémie Astori 427a630094 Merge pull request #700 from thelounge/astorije/appveyor-cache
Fix AppVeyor cache never being successfully built
2016-10-17 03:34:09 -04:00
Jérémie Astori f5af8a4986 Merge pull request #674 from MaxLeiter/MaxLeiter/override-defaults
Override defaults with URL
2016-10-17 02:11:30 -04:00
Jérémie Astori 794b5e4734 Merge pull request #636 from thelounge/xpaw/sync-channels
Improve support for opening multiple clients at once
2016-10-17 01:56:12 -04:00
Jérémie Astori 79e20c83d5 Fix AppVeyor cache never being successfully built
Oh that wonderful Windows world...
2016-10-17 01:41:14 -04:00
Pavel Djundik a1f56c7395 Improve support for opening multiple clients at once
- Synchornize unread counter with the server
- Fix unread marker on no attached clients
- Increase unread counter for server messages
2016-10-17 01:31:22 -04:00
Jérémie Astori b2a0cae626 2.1.0 2016-10-17 00:49:52 -04:00
Jérémie Astori 38efe89f56 Add change log entry for upcoming v2.1.0 2016-10-17 00:49:48 -04: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 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