Commit graph

567 commits

Author SHA1 Message Date
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
Mattias Erming
695fd35797 Added '/clear' command 2014-09-19 13:24:11 -07:00
William Boman
2d618969e4 Added Unix-like chat clear keybindings. Now only clears the chat if the main input is focused. 2014-09-19 13:52:36 +02:00
William Boman
ab80c91054 Added chat clear keybinding. 2014-09-19 13:18:02 +02:00
Mattias Erming
2f74c2fb27 Fix input focus 2014-09-18 03:02:52 -07:00
Mattias Erming
216030710a Minor changes 2014-09-16 10:33:15 -07:00
Mattias Erming
b6f6cc160e Added 'defaults' to config.js 2014-09-15 14:54:01 -07:00
Mattias Erming
78d36d6750 Added 'Remember' login option 2014-09-15 14:13:03 -07:00
Mattias Erming
5799b0828f Added exit confirmation 2014-09-15 11:34:25 -07:00
Mattias Erming
dbeddccca6 Don't auto-focus new query windows 2014-09-15 11:25:57 -07:00
Mattias Erming
7d72f40d91 Optional notification badge 2014-09-15 11:16:45 -07:00
Mattias Erming
9e1c33d658 Added print CSS style 2014-09-15 10:52:15 -07:00
Mattias Erming
cec9a55880 Added apple-mobile-web-app support 2014-09-15 10:07:41 -07:00
Mattias Erming
0e7d3b93cd Prevent link exploit 2014-09-15 09:46:46 -07:00
Mattias Erming
95df0ccec7 Bring back Menlo font 2014-09-14 15:50:26 -07:00
Mattias Erming
f783c9ccb0 Update connect 2014-09-14 14:26:39 -07:00
Mattias Erming
b52b860167 Fix login 2014-09-14 12:13:34 -07:00
Mattias Erming
66785be200 Fix bugs 2014-09-14 11:49:42 -07:00
Mattias Erming
3cf870bc06 Merge pull request #147 from Fumler/test
Added boolean flag if message was sent from "me"
2014-09-14 20:09:14 +02:00
Mattias Erming
b0c99ac6c4 Added apple-icon, logo and favicon 2014-09-14 10:50:00 -07:00
Fredrik Pettersen
fabbb43e18 Added boolean flag if message was sent from "me"
Your own messages now have a different color, and the possibility of
changing colors etc in css of all things sent by yourself
2014-09-14 19:06:56 +02:00
Mattias Erming
0c6c54bc83 Fix notifications 2014-09-14 06:33:45 -07:00
Mattias Erming
524cb14870 Merge pull request #142 from yuvipanda/typo-fix
Make comment about notification timeout match reality
2014-09-14 02:08:10 +02:00
Mattias Erming
c38067edfe Merge pull request #140 from yuvipanda/notification-img
Add icon to notification message
2014-09-14 02:08:05 +02:00
YuviPanda
2c70271007 Make comment about notification timeout match reality 2014-09-14 00:31:39 +01:00
YuviPanda
9cb12ef532 Increase notification appearance timeout to 5s from 2s 2014-09-14 00:23:14 +01:00
YuviPanda
7f99342bfb Add icon to notification message 2014-09-14 00:16:02 +01:00
YuviPanda
d1b3f375c5 Implement notifications for queries and highlights
- Asks for permission when opening the app if it isn't already
  granted
- Highlights with a notification that stays for 2s
- Clicking on the notification brings that window/channel
  to focus
- Uses document.hasFocus() rather than document.hidden, since
  it seems to be more accurate when the tab is in focus
  but the window is not

Imlements issue #128
2014-09-13 23:51:10 +01:00
Mattias Erming
41027adc69 Normalize line endings 2014-09-13 14:29:45 -07:00
Mattias Erming
881a5badb9 Merge pull request #129 from yuvipanda/channel-nav-wraparound
Wrap around when using cmd+up / cmd+down to navigate channels
2014-09-13 23:28:25 +02:00
Mattias Erming
edc572b0f8 Merge pull request #126 from yuvipanda/code-cleanup-1
Minor code cleanup
2014-09-13 23:25:19 +02:00
YuviPanda
37cc5d20a8 Specify full stack of fonts for the chat input as well
Also removes Menlo from the stack, since it is not fixed-width
unlike the others in the stack, and Monaco already accounts
for OS X
2014-09-13 20:53:31 +01:00
YuviPanda
e5564bb99d Wrap around when using cmd+up / cmd+down to navigate channels 2014-09-13 19:08:52 +01:00
YuviPanda
f101efbd35 Remove duplicate definition of i 2014-09-13 18:51:35 +01:00
YuviPanda
601cfc380f Don't use bare fractions 2014-09-13 18:51:34 +01:00
YuviPanda
4a3bea1928 Use strict equality checking 2014-09-13 18:51:34 +01:00
YuviPanda
fe6e592c20 Add missing semicolon 2014-09-13 18:51:34 +01:00
Mattias Erming
6bcbe1b702 Fix line height 2014-09-12 18:16:29 -07:00
Mattias Erming
d01f4b37a1 Added server password to 'Connect' window 2014-09-12 18:03:26 -07:00
Mattias Erming
cabf766fba Improve sidebar message counter 2014-09-12 16:27:27 -07:00
Mattias Erming
428f63946b Added password hashing 2014-09-11 13:37:16 -07:00
Mattias Erming
9a7d00781f Modify build process 2014-09-11 11:23:19 -07:00
Mattias Erming
815ed887f4 Fix multiple query windows 2014-09-11 11:05:33 -07:00
Mattias Erming
666f21cd66 Added MOTD messages 2014-09-11 10:24:32 -07:00
Mattias Erming
b1217aa416 Fix login screen disappearing 2014-09-11 03:08:33 -07:00
Mattias Erming
585391905e Fix sidebar toggle 2014-09-10 14:43:56 -07:00
Mattias Erming
1862e2af93 Reload page on disconnect 2014-09-10 13:30:36 -07:00
Mattias Erming
64d1c99241 Merge pull request #100 from sciyoshi/remove-login-form
Remove login form from DOM after a successful login
2014-09-10 22:11:35 +02:00
Mattias Erming
4ef468bd32 Added messages show/hide toggles 2014-09-10 13:08:32 -07:00
Samuel Cormier-Iijima
f43d48ddc9 Remove login form from DOM after a successful login.
This fixes issues when using password manager browser extensions.
2014-09-10 19:55:31 +00:00
Mattias Erming
38397248c6 Minor fix 2014-09-10 12:33:15 -07:00
Mattias Erming
05a51f74a7 Fix the 'Show More' button 2014-09-10 12:23:56 -07:00
Mattias Erming
37b68b7bc4 Try-catch Audio fallback 2014-09-10 10:04:27 -07:00
Mattias Erming
ced6227818 User/users wording 2014-09-10 09:51:05 -07:00
Mattias Erming
ef22d84d97 Add TLS/SSL support 2014-09-10 08:56:32 -07:00
Mattias Erming
1338a99536 Update Handlebars 2014-09-09 14:55:45 -07:00
Mattias Erming
2ff4f2bd6e Update build.js 2014-09-09 14:29:15 -07:00
Mattias Erming
dea1fe1b66 Merge pull request #65 from matiassingers/patch-2
Lowercase user search string in chat sidebar to match lowercased names
2014-09-09 19:46:57 +02:00
Matias Singers
a206b26eb9 Lowercase user search in chat sidebar to match lowercased names 2014-09-09 14:49:17 +08:00
Matias Singers
24920bf7ab Load Lato Google Font without protocol, to allow for HTTPS serving of Shout 2014-09-09 14:38:12 +08:00
Mattias Erming
6badf7079c Use FontAwesome 2014-08-29 13:55:26 -07:00
Mattias Erming
e7a2dd71e6 Use Handlebars runtime 2014-08-29 10:22:59 -07:00
Mattias Erming
752c4c491b Save users in ~/.shout/ 2014-08-26 11:01:26 -07:00
Mattias Erming
fb6ac7168e Precompile Handlebars templates 2014-08-25 16:13:47 -07:00
Mattias Erming
6d06e7020e Added debug mode 2014-08-25 15:39:23 -07:00
Mattias Erming
2e36414b26 Fix window focus on join 2014-08-25 15:09:25 -07:00
Mattias Erming
523a9cd734 Fix failing thumbnails 2014-08-18 17:07:21 -07:00
Mattias Erming
a904de5d7a Minor changes 2014-08-18 17:07:21 -07:00
Mattias Erming
357578e20c Use superagent for image download 2014-08-17 14:40:26 -07:00
Mattias Erming
0fcdbeadec Added thumbnail plugin 2014-08-16 12:49:28 -07:00
Mattias Erming
68922365d5 Check permissions for cli commands 2014-08-16 09:15:59 -07:00
Mattias Erming
8fe9f86423 Clean up redundant code 2014-08-15 17:35:59 -07:00
Mattias Erming
cb1effa375 Minor changes 2014-08-15 17:05:37 -07:00
Mattias Erming
03a79a1312 Fix user toggle 2014-08-15 14:33:22 -07:00
Mattias Erming
e4d6f8f9ab Fix responsive interface 2014-08-15 06:52:21 -07:00
Mattias Erming
c78c577637 Improved keybindings 2014-08-14 12:26:36 -07:00
Mattias Erming
6a67e310dd More design changes 2014-08-12 18:18:04 -07:00
Mattias Erming
dfe9ec3b82 New sidebar design 2014-08-12 16:04:24 -07:00
Mattias Erming
78d7034f50 Remove logo from sidebar 2014-08-12 11:32:02 -07:00
Mattias Erming
ccf8e4586f Added keybindings 2014-08-05 02:47:59 -07:00
Mattias Erming
3f163565cd Update stickyscroll 2014-08-03 17:24:32 -07:00
Mattias Erming
3fb8096daa Focus input on change 2014-08-03 17:05:17 -07:00
Mattias Erming
98465ce9e5 Highlight on private message 2014-08-03 16:30:31 -07:00
Mattias Erming
e37a585f1e Show version in settings 2014-07-25 04:49:41 -07:00