Commit Graph

3477 Commits

Author SHA1 Message Date
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
Pavel Djundik
63f4fc39c9 Display wallops in server window
Fixes #225
2016-10-01 00:29:49 +03:00
Pavel Djundik
52a0552bc4 Merge pull request #657 from thelounge/astorije/fix-icons
Fix title icons for channels and channel lists
2016-09-30 20:52:22 +03:00
Jérémie Astori
f2c4d08801 Fix title icons for channels and channel lists
This bug slipped when adding `/list` support in #258.
2016-09-30 01:50:54 -04:00
Jérémie Astori
28b5fdb8ce Merge pull request #637 from thelounge/xpaw/extra-loading
Display extra loading messages
2016-09-30 01:34:05 -04:00
Jérémie Astori
ad4a79cbca Merge pull request #400 from maxpoulin64/slide
Add touch slideout menu for mobile
2016-09-30 00:03:04 -04:00
Jérémie Astori
3b8e4f36eb Merge pull request #652 from innovandalism/master
Themes: Fixed CSS rule selectors for highlight messages
2016-09-30 00:01:41 -04:00
Jérémie Astori
345aac1a27 Merge pull request #258 from maxpoulin64/channel-list
Implement /list
2016-09-29 02:47:34 -04:00
Alexander Schittler
65ba8af660 Themes: Fixed CSS rule selectors for highlight messages 2016-09-28 20:23:06 +02:00
Jérémie Astori
4541309988 2.0.1 2016-09-28 00:21:01 -04:00
Jérémie Astori
7c02ef53b0 Add change log entry for upcoming v2.0.1 2016-09-28 00:20:44 -04:00
Pavel Djundik
fd9edbfd69 Merge pull request #645 from thelounge/astorije/david-url-fix
Fix devDependency URL in David badge
2016-09-27 08:30:09 +03:00
Jérémie Astori
b8c62377e6 Merge pull request #639 from thelounge/xpaw/update-dev-deps
Update developer dependencies
2016-09-27 01:26:05 -04:00