Commit Graph

550 Commits

Author SHA1 Message Date
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
Paul Friederichsen
b25905fb08 Revert "Turn off input autocomplete"
This reverts commit d5fe68b27e.
2015-10-12 12:59:35 -05:00
Jérémie Astori
75cef25d20 Merge pull request #449 from vtduncan/referrer-protection
Prevent browsers leaking referrer headers
2015-10-08 00:15:36 -04:00
Jérémie Astori
7e2daebd79 Merge pull request #481 from williamboman/fix/chat-clear-prevent-default
client/js/shout.js: prevent default action when clearing chat
2015-10-07 22:58:14 -04:00
Jérémie Astori
8b6167b227 Merge pull request #474 from astorije/astorije/user-list-icon
Replace menu icon with users icon for userlist toggle and smooth the 2 icons
2015-10-07 07:26:34 -04:00
William Boman
c66a3917cb client/js/shout.js: prevent default action, don't overshadow native keyboard shortcut
Closes #453.
2015-10-07 12:34:25 +02:00
Jérémie Astori
51cdf6dc88 Merge pull request #499 from floogulinc/local-fonts
Replace Google hosted fonts with local ones
2015-10-06 22:41:51 -04:00
Jérémie Astori
df4a91fd05 Merge pull request #409 from kalaksi/fix_topic_on_ui
Fix topic on UI
2015-10-04 14:54:57 -04:00
Paul Friederichsen
5ab44cbf31 Fix Morning and Zenburn themes on mobile 2015-10-03 23:10:34 -05:00
Olli Mäntylä
4293336f3e Move escaping of topic and improve UI for long topics
- Data should be handled as is and only do the escaping on
the view/template or wherever it is used and escaping is necessary.
Keeps things simple and the focus of escaping values in the right place.
- Remove topic capitalization
- For long topics: hide overflow and add a title to topic span
- Also, simplify the code a tiny bit.
2015-10-03 17:04:05 +03:00
Paul Friederichsen
56871dd963 Replace Google hosted fonts with local ones 2015-09-30 01:34:39 -05:00
Jérémie Astori
a4d3911a3f Replace menu icon with users icon for userlist toggle and smooth the 2 icons 2015-09-23 21:18:26 +00:00
The Bastard Operator
5656244e60 Included changes to shout.templates.js after grunt 2015-09-18 11:10:25 +02:00
The Bastard Operator
7ef2da0c83 Fix XSS vulnerability 2015-08-16 03:28:21 +02:00
Duncan
3f65ff77dc Prevent browsers leaking referrer headers 2015-07-23 11:48:49 +12:00
Olli Mäntylä
dc79d71ae5 Revert "Fix topic exploit"
This reverts commit ef041d6612.
To show topic again. Commit was just disabling the topic.
2015-04-26 23:03:11 +03:00
Mattias Erming
0ea6890e87 Fix undefined 'displayNetwork' in template 2015-04-16 01:14:37 -07:00
Mattias Erming
eb608611d5 Fix Crypto theme top margin 2015-04-16 01:09:34 -07:00
Mattias Erming
71846dbadc Revert fonts 2015-04-16 01:07:13 -07:00
aynik
5ac16653b5 increased font size 2015-04-15 19:42:47 +02:00
aynik
4adba8a71c adjusted general monospace chat font size 2015-04-15 11:59:44 +02:00
aynik
a5ee8e1cf4 switched Droid Sans Mono for Inconsolata-g, defined Leto under different weights 2015-04-15 11:54:03 +02:00
aynik
53453f2ee3 fixed top margin 2015-04-14 21:43:50 +02:00
aynik
37ec35c3a9 created 2015-04-14 21:43:50 +02:00
Kjetil Mehl
20103a29a5 Adds configurable network form display 2015-03-22 15:58:28 +01:00
Mattias Erming
203e9a8747 Merge pull request #334 from japesinator/zenburn
Added zenburn theme
2015-01-22 18:45:22 +01:00
Mattias Erming
ef041d6612 Fix topic exploit 2015-01-22 09:29:28 -08:00
JP Smith
705e207c53 made theme not suck 2015-01-12 09:57:58 -06:00
Mattias Erming
928cf38dfe Merge pull request #336 from janza/expand-chat-window
expand main chat window when userlist is hidden
2015-01-11 23:41:38 +01:00
Josip Janžić
8397928529 expand main chat window when userlist is hidden 2015-01-11 20:17:26 +01:00
JP Smith
7c1d78d0aa added zenburn theme 2015-01-10 11:05:47 -06:00
Josip Janžić
fb4159b409 removes vertical whitespace that some times apear
closes #327
2015-01-02 21:25:53 +01:00
Mattias Erming
4715492c88 Update minified js 2014-12-12 00:58:03 +01:00
Mattias Erming
67f6e526f2 Fetch max 1 link per message 2014-12-12 00:48:43 +01:00
Mattias Erming
4fcd21ccff Fix '/me' color 2014-12-12 00:20:52 +01:00
Mattias Erming
ccea9ea43d Close button now correctly says 'Close' for private messages 2014-12-12 00:10:15 +01:00
Mattias Erming
c9cc666373 'Check for updates' now opens the changelog 2014-12-12 00:07:06 +01:00
Mattias Erming
a1f864b511 Use interval to clear inactive channel buffers 2014-12-12 00:04:45 +01:00
Mattias Erming
07a509a862 Only confirm exit in public mode 2014-12-11 23:42:22 +01:00
Graeme
2274f92833 Update styled items class names 2014-12-10 22:35:17 -05:00
Graeme
635646b0f3 🎊 full mirc colour+style compliance 2014-12-10 06:30:45 -05:00
Mattias Erming
b3b7d126be Detect web-app-capable 2014-11-18 22:50:55 +00:00
Mattias Erming
79db485a91 Merge pull request #241 from xeoncore/appleapp
Make Shout run fullscreen on iOS
2014-11-18 23:48:04 +01:00
Mattias Erming
eb3bc22d71 Added dynamic title 2014-11-07 20:52:38 +01:00
Mattias Erming
d5fe68b27e Turn off input autocomplete 2014-11-07 19:58:59 +01:00
Mattias Erming
f6636ad028 Fix username input 2014-11-06 12:00:14 +00:00
Mattias Erming
7aafa8a956 Fix username input 2014-11-05 23:19:29 +01:00
Mattias Erming
a88b06bc27 Merge pull request #274 from rikukissa/username-input 2014-11-05 23:06:43 +01:00
Mattias Erming
ddba841e7d Added 'morning' theme by @rikukissa 2014-11-03 20:17:39 +01:00
Riku Rouvila
aff5492ee4 add username input to user preferences 2014-11-02 17:44:52 +02:00
Mattias Erming
a0ed791926 Merge pull request #263 from megawac/style-parser 2014-10-27 22:52:37 +01:00
Mattias Erming
277887382c Merge pull request #253 from codl/fix/bold+color+url
Fix urls preventing proper closure of bold and color tags
2014-10-27 22:48:45 +01:00
megawac
3d5e070c56 Support nested colours 2014-10-25 15:16:54 -04:00
megawac
fbe43b3b7a Fix indentation 2014-10-25 15:07:15 -04:00
megawac
a53544b44a Support MIRC style terminators (^O) 2014-10-25 15:02:12 -04:00
Corentin Delcourt
44c20b327d fix urls preventing proper closure of bold and color tags 2014-10-20 13:28:29 +02:00
Mattias Erming
90a3bb8ba8 Remove mode from badge count 2014-10-16 23:29:18 +02:00
Mattias Erming
b380ab5793 Update color CSS
Thanks @spencerthayer!
2014-10-14 20:54:34 +02:00
XeonCore
35f49666c8 Make Shout run fullscreen on iOS 2014-10-13 21:04:56 +11:00
XeonCore
20d1e1b212 Add thumbnail to toggles when sites have them
Displays a small thumbnail above each toggle that comes from either og:image or twitter:image meta tags.
2014-10-12 12:42:30 +11:00
Mattias Erming
5b1820ca2e Fix message parser 2014-10-12 01:53:13 +02:00
Mattias Erming
1b476bfefd Edit color parser 2014-10-11 19:38:53 +02:00
Mattias Erming
d86005e84a Added text color 2014-10-11 01:12:03 +02:00
Mattias Erming
681d3dac1a Added 'prefetch' option 2014-10-10 23:12:08 +02:00
Mattias Erming
66352d6519 Added drag-and-drop tolerance 2014-10-10 22:42:04 +02:00
Mattias Erming
f42a6487d6 Emit topic over socket 2014-10-10 22:05:25 +02:00
Mattias Erming
b3712842bf Always show right toggle 2014-10-10 21:21:40 +02:00
Mattias Erming
3a9065849c Minor changes 2014-10-10 19:39:57 +02:00
Mattias Erming
7038766095 Disable login button on authentication 2014-10-09 16:35:29 +02:00
Mattias Erming
a76df88c88 Smarter nick completion 2014-10-08 23:21:41 +02:00
Mattias Erming
2e964ca629 Prevent multiple logins 2014-10-08 22:16:10 +02:00
William Jackson
5cbbc7fbe7 Half-op section in user list is missing title 2014-10-06 11:31:32 -05:00
Mattias Erming
eae1e661b7 Split users by mode in the sidebar 2014-10-04 12:47:27 -07:00
Mattias Erming
b801689eaa Show user modes in channel 2014-10-04 05:31:45 -07:00
Mattias Erming
d9f48f0e94 Fix tab completion 2014-10-01 11:53:16 -07:00
Mattias Erming
e1e0b4f3cc Scrolling now works correctly when loading thumbnails 2014-09-30 14:44:29 -07:00
Mattias Erming
bf8939cf06 List users on server start 2014-09-30 13:23:14 -07:00
Mattias Erming
80b43c4eab Added colored nicknames (optional) 2014-09-30 11:00:23 -07:00
Mattias Erming
8b392a9fa0 Fix text selection 2014-09-29 12:48:14 -07:00
Mattias Erming
20f0ca6666 Update image files 2014-09-28 15:46:32 -07:00
Mattias Erming
7932420bc0 Remove 'apple-mobile-web-app-capable' 2014-09-28 15:00:36 -07:00
Mattias Erming
6aba36460d Fix 'Show More' button 2014-09-28 14:51:24 -07:00
Mattias Erming
5eb6f09b12 Remove stray </div> tag 2014-09-27 17:21:37 -07:00
Mattias Erming
e4b4e0e065 Fix log highlight 2014-09-27 17:14:52 -07:00
Mattias Erming
6c6e76afda Persist inline links 2014-09-27 16:47:04 -07:00
Mattias Erming
7a0e572100 Added inline links settings 2014-09-27 16:22:34 -07:00
Mattias Erming
2e293ce785 Fix IE 2014-09-27 15:08:21 -07:00
Mattias Erming
e4f100a177 Break really long words 2014-09-27 15:01:44 -07:00
Mattias Erming
3a28afe408 Fetch page titles 2014-09-27 13:39:14 -07:00
Mattias Erming
2a00fb1bb6 Added link plugin 2014-09-27 12:17:13 -07:00
Mattias Erming
e49f3e6892 Remove debug mode 2014-09-27 08:19:14 -07:00
Mattias Erming
dd697c4918 Change colors 2014-09-26 17:21:14 -07:00
Mattias Erming
96fcfcfdcc Minor fix 2014-09-26 15:08:18 -07:00
Mattias Erming
7936dab6e3 Show current nick 2014-09-25 16:51:53 -07:00
Mattias Erming
36dd749820 Hide close button on mobile 2014-09-25 03:05:24 -07:00
Mattias Erming
4d9b58ecd5 Autoload users 2014-09-24 15:23:54 -07:00
Mattias Erming
8793551371 Sync sidebar order 2014-09-24 12:42:36 -07:00
Mattias Erming
d283c512d5 Sortable sidebar (experimental) 2014-09-23 16:05:48 -07:00
Mattias Erming
ec3de9b9d3 Fix focus 2014-09-23 15:42:59 -07:00
Mattias Erming
4f5465df82 Use <div> instead of <button> in sidebar 2014-09-22 11:54:38 -07:00
Mattias Erming
85988168c8 Set cookie expiration date 2014-09-22 02:58:42 -07:00
Mattias Erming
2fd5f293f0 Minor fixes 2014-09-21 12:48:26 -07:00
Mattias Erming
11f3d452dd Server-side tracking of new message count 2014-09-21 09:46:43 -07:00
Mattias Erming
9edaf6a2e4 Added 'Close' button 2014-09-21 08:59:50 -07:00
Mattias Erming
0607516872 Added 'Send' button 2014-09-21 08:21:26 -07:00
Mattias Erming
a837ed270b Sort by z-index on close 2014-09-19 16:56:38 -07:00
Mattias Erming
e9a8f86819 Custom scrollbar in the sidebar 2014-09-19 16:12:17 -07:00