Commit Graph

456 Commits

Author SHA1 Message Date
Alistair McKinlay
761958e3ee Merge pull request #7 from xPaw/invites
Handle invite event
2016-02-19 21:58:22 +00:00
Alistair McKinlay
972aadd674 Merge pull request #58 from maxpoulin64/userlist-lag
Only update the users list when needed
2016-02-19 21:24:09 +00:00
Jérémie Astori
1e51cdacf1 Merge pull request #63 from thelounge/astorije/remove-compiled-assets
Remove compiled assets and generate them at prepublish time
2016-02-19 00:57:15 -05:00
Pavel Djundik
15a6efa605 Fix #41: Replace close button image 2016-02-18 12:13:15 +02:00
Alistair McKinlay
a95d5e22ee Merge pull request #27 from gdamjan/proxy-path-support
Allow The Lounge to be proxied behind a /path/ url
2016-02-18 08:18:37 +00:00
Jérémie Astori
fe6da75854 Remove compiled assets and generate them at prepublish time
- Remove minified libs and compiled templates
- Add a `prepublish` script to build assets, that run on `npm install`
  and right before publishing
  See https://docs.npmjs.com/misc/scripts
- Include these compiled assets to the `.gitignore` file
- Add an empty .npmignore to make sure the compiled assets are not
  ignored when publishing
  https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package
- Update the README to reflect changes in development

Note that the Travis CI configuration does not need any tweaking
because it cleans up all extra and changed files, up to publishing on
npm. That is, right before `prepublish` gets run.
See https://docs.travis-ci.com/user/deployment/npm#Releasing-build-artifacts
2016-02-18 06:01:37 +00:00
Maxime Poulin
5bf205195d Only update the users list when needed
Currently, for join/part/kick/nick/... the server will send an updated list of users and the client will re-render the list entirely. This ends up being a very expensive operation when joined on large channels and causes the client to slow down a lot.
2016-02-17 04:35:55 -05:00
Pavel Djundik
533ec1071b Handle invite event 2016-02-15 19:23:10 +02:00
Max Leiter
20e9e6b611 Update chat template so no user-icon shown when a server or PM is selected. 2016-02-13 16:32:00 -08:00
Damjan Georgievski
cf1f24bff6 Allow The Lounge to be proxied behind a /path/ url
contains three small changes to use relative urls instead of absolute rooted at /

* favicons in index.html
* badge and pop sound in lounge.js
* the url for the socket.io endpoint

Typical use with nginx:

    location /path/ {
      proxy_http_version 1.1;
      proxy_set_header Upgrade $http_upgrade;
      proxy_set_header Connection "upgrade";
      proxy_pass http://localhost:9000/;
    }

those trailing / are important.
2016-02-13 22:40:06 +01:00
Maxime Poulin
75972b3f7c Add dummy method to forms (quiets LastPass)
It appears LastPass looks for the use of the GET method in forms on the page to determine if it is secure or not. Since Shout never actually submits any of the forms, no method is set, which means the default of GET is used. Changes form methods to POST to quiet the warning. Should fix #648
2016-02-12 18:51:40 -05:00
Jérémie Astori
5311224371 Improve wording and link for viewing the changelog 2016-02-10 06:31:26 +00:00
Jérémie Astori
fd2c157cc7 Update project name in additional themes 2016-02-10 06:20:05 +00:00
Jérémie Astori
39dc4e8957 Update name and link to repo to new project 2016-02-10 06:20:05 +00:00
Jérémie Astori
e079ec70d6 Rename client source and templates files to new project name 2016-02-10 05:40:53 +00:00
Max Leiter
3420e9b80b Rotate part/quit icon 2016-01-27 10:32:59 -08:00
Jérémie Astori
3b55229462 Merge pull request #574 from YaManicKill/user-button-span
Change user buttons to as. Allows highlighting on firefox.
2016-01-26 00:05:03 -05:00
Alistair McKinlay
e3e4cc9fb7 Fix styles for .user instead of button 2016-01-24 16:56:33 +00:00
Jérémie Astori
b4bcf8f5ee Merge pull request #570 from YaManicKill/fix-word-wrap
Fix word wrap on firefox.
2016-01-24 11:55:55 -05:00
Alistair McKinlay
4588079eb5 Fix word wrap on firefox. 2016-01-24 16:54:59 +00:00
Alistair McKinlay
e5aa02d696 Change user buttons to as. Allows highlighting on firefox. 2016-01-24 16:53:06 +00:00
Jérémie Astori
c669a16527 Merge pull request #593 from xPaw/scrollbars
Nicer scrollbar (webkit only)
2016-01-24 11:45:22 -05:00
Mattias Erming
9aaf9348da Merge pull request #418 from williamboman/patch-2
client/js/shout.js: tag Notifications to reduce notification spam
2016-01-24 17:41:38 +01:00
Mattias Erming
aea3c3ea18 Recompile templates 2016-01-24 10:16:27 -05:00
Mattias Erming
6db15b3091 Merge pull request #610 from xPaw/gitattributes
Add gitattributes to normalize line endings
2016-01-24 16:03:42 +01:00
Mattias Erming
6f33b79c0a Merge pull request #609 from xPaw/ignore-bad-colors
Simply parse all 0-99 irc colors
2016-01-24 16:03:23 +01:00
Mattias Erming
62672e4b1b Merge pull request #588 from xPaw/user-actions
Render user actions separately
2016-01-24 16:03:12 +01:00
Pavel Djundik
bb98be475a Render user actions separately 2016-01-24 16:59:13 +02:00
Mattias Erming
474b9f6b2b Merge pull request #605 from xPaw/theme-fixes
A couple of fixes for Morning and Zenburn themes
2016-01-24 15:53:42 +01:00
Mattias Erming
97bb284078 Merge pull request #598 from xPaw/patch-4
Limit max size of inline images
2016-01-24 15:50:50 +01:00
Mattias Erming
0f4209733f Merge pull request #587 from xPaw/patch-3
Run new topic through parser when it is updated
2016-01-24 15:47:29 +01:00
Pavel Djundik
4b4dc060ca Add gitattributes to normalize line endings 2016-01-24 16:12:08 +02:00
Pavel Djundik
cd92d1640e Simply parse all 0-99 irc colors 2016-01-24 15:57:44 +02:00
Pavel Djundik
58496baeba Recompile templates 2016-01-23 20:55:31 +02:00
Pavel Djundik
e838a33f25 A couple of fixes for Morning and Zenburn themes
- Removes white background on `#main` which flashes while chat is loading
- Removes 5px padding on the left of the whole window on mobile devices
- Brings back Leave and Send buttons
- Style buttons to be a darker style (leave, send, show more history)
2016-01-23 19:31:05 +02:00
Pavel Djundik
7a9bc41b30 Use a single function to process and render messages 2016-01-23 16:59:05 +02:00
Pavel Djundik
62744761c2 Limit max size of inline images 2016-01-20 18:16:27 +02:00
William Boman
ba7c7de9af client/js/shout.js: tag Notifications to reduce spam 2016-01-20 14:49:08 +01:00
Jérémie Astori
5b1787eca3 Fix wrong color class on Zenburn style 2016-01-20 06:29:03 +00:00
Pavel Djundik
8ddc4085a6 Nicer scrollbar (webkit only) 2016-01-18 19:49:23 +02:00
Pavel Djundik
a9344c1ade Run new topic through parser when it is updated
Fixes #584
2016-01-16 19:11:14 +02:00
Jérémie Astori
ab2dc3e806 Merge pull request #540 from nickel715/patch-446
Implement notifications for all messages
2016-01-10 18:03:32 -05:00
Nicolas Hohm
3fe78e8972 Implement notifications for all messages
Implement option to get notifications also for message not just for mentions

Resolves: #446
2016-01-10 23:31:53 +01:00
Jérémie Astori
37aa9c7eeb Revert "Change user buttons to as. Allows highlighting on firefox." 2016-01-09 14:16:44 -05:00
Alistair McKinlay
fe0eff8abd Change user buttons to as. Allows highlighting on firefox. 2016-01-09 15:51:54 +00:00
Jérémie Astori
409936e57a Merge pull request #385 from AmShaegar13/click_channel
made channel names in chat clickable; lets users join channels
2016-01-07 00:53:42 -05:00
Finn Glöe
58d4a2fda1 made channel names in chat clickable; lets users join channels 2015-12-02 09:56:41 +00:00
William Boman
8fdfd70c7e Comply with ESLint 2015-10-26 03:01:47 +01:00
JocelynDelalande
f4a6f46bcc Merge pull request #518 from floogulinc/fix-autocomplete
Turn back on input autocomplete
2015-10-15 20:20:28 +02:00
Jérémie Astori
344e256054 Merge pull request #507 from floogulinc/fix-themes
Fix Morning and Zenburn themes on mobile
2015-10-14 22:23:48 -04:00