Commit Graph

553 Commits

Author SHA1 Message Date
Max-P
a8867c892f Merge pull request #140 from xPaw/handlebars
Update handlebars to 4.0.5
2016-03-06 00:49:33 -05:00
Max-P
94bcb21faa Merge pull request #9 from xPaw/contextmenu
Add context menus
2016-03-06 00:27:24 -05:00
Jérémie Astori
ea3c79613e Mute color of the topic actions 2016-03-05 23:53:13 -05:00
Jérémie Astori
fba862a6f3 Add missing mode action to muted colors 2016-03-05 22:29:30 -05:00
Max-P
6ef37991b9 Merge pull request #149 from xPaw/inline-chan-css
Relax inline channel style
2016-03-05 17:39:14 -05:00
Pavel Djundik
2ed9c5d522 Relax inline channel style 2016-03-06 00:20:45 +02:00
Jérémie Astori
6cee650283 Merge pull request #148 from xPaw/notif-chan-title
Fix #147: Correctly get channel name in notifications
2016-03-05 15:52:03 -05:00
Pavel Djundik
3d05127fad Fix #147: Correctly get channel name in notifications 2016-03-05 22:44:15 +02:00
Pavel Djundik
5877e2ebe5 Fix stripping colours from notifications 2016-03-05 21:40:49 +02:00
Jérémie Astori
46c2eabac2 Merge pull request #47 from xPaw/actions
Fix some of the actions coloring
2016-03-05 14:34:05 -05:00
Pavel Djundik
253cb4afd6 Update handlebars to 4.0.5 2016-03-05 16:23:35 +02:00
Jérémie Astori
83baeee988 Merge pull request #128 from xPaw/fix-chan-parse
Correctly handle inline channels in messages
2016-03-03 23:58:19 -05:00
Alistair McKinlay
88257b4931 Merge pull request #123 from xPaw/strip-colors
Strip control codes from notifications
2016-03-02 08:31:55 +00:00
Jérémie Astori
b85541e538 Fix minor issues with the main HTML file
- Simplify `checked` attributes
- Use double quotes when possible
- Remove `class` duplicates
- Fix labels in password settings
- Remove `<small>` around version number
2016-03-02 05:59:05 +00:00
Jérémie Astori
ec37b6671b Merge pull request #82 from xPaw/lock-server
Allow locking network configuration
2016-03-02 00:37:27 -05:00
Pavel Djundik
84ed021e0e Add context menus 2016-03-01 13:56:36 +02:00
Pavel Djundik
56e1d3fac7 Correctly handle inline channels in messages
Fixes #15 and #11
2016-03-01 11:06:14 +02:00
Jérémie Astori
da7efcd8da Switch a power-off icon for logging out 2016-03-01 06:35:42 +00:00
Jérémie Astori
325739c8be Merge pull request #122 from xPaw/odd-invite
Fix #116: Move 'you' handling in invites to the client
2016-03-01 00:16:55 -05:00
sprusr
4e6e4e10d2 Strip control codes from notifications 2016-02-29 11:29:13 +02:00
Jérémie Astori
cc26b7ff0f Add notifications for channel invites 2016-02-29 07:34:06 +00:00
Max-P
5242f4c8ee Merge pull request #83 from xPaw/custom-css
Add an ability to set custom css
2016-02-29 01:34:23 -05:00
Jérémie Astori
8c3322b02b Merge pull request #100 from xPaw/favicon
Replace favico.js with our simpler solution
2016-02-29 01:22:25 -05:00
Pavel Djundik
56c2530f2c Add an ability to customise CSS on the client 2016-02-29 01:40:08 +02:00
Pavel Djundik
f6563d0ea9 Fix #116: Move 'you' handling in invites to the client 2016-02-28 10:21:19 +02:00
Pavel Djundik
e33e6ca93e Mute join/kick/part/quit/nick actions in color 2016-02-28 09:43:10 +02:00
Jérémie Astori
d8884d2d75 Remove auto-select on input fields 2016-02-28 07:12:56 +00:00
Jérémie Astori
98596b310f Add target channel name in notification 2016-02-28 06:36:58 +00:00
Jérémie Astori
ce69ce333a Merge pull request #91 from xPaw/fix-highlight
Fix how highlights are handled
2016-02-28 00:45:23 -05:00
Max-P
1d8667ed4b Merge pull request #57 from diddledan/frontend-password-change
frontend password change functionality
2016-02-27 20:07:08 -05:00
Pavel Djundik
357e238a45 Fix how highlights are handled 2016-02-28 01:30:20 +02:00
Pavel Djundik
3a87f982b2 Replace favico.js with our simpler solution 2016-02-28 01:27:30 +02:00
Pavel Djundik
b53e5c407c Fix #111: Simplify message padding 2016-02-28 01:22:52 +02:00
Daniel Llewellyn
b79a918be8 frontend password change functionality
- refactor clientManager.js to allow configuration parsing as a serparate
  function.
  - refactor clientManager.js to add configuration writing function.
  - add server.js changes to allow for new password-change functionality
  - add password change ui to "settings" screen
  - refactor client.js to use new clientManager functionality for saving
    the configuration files
2016-02-26 18:38:15 +00:00
Jérémie Astori
31d938440b Merge pull request #94 from xPaw/action-templates
Move actions to templates
2016-02-26 01:26:48 -05:00
Maxime Poulin
1c877a71ab Fix built-in themes broken by #75.
Fixes #101
2016-02-25 02:29:51 -05:00
Maxime Poulin
3661d0b1a1 Fix CSS selector syntax
Doesn't do much, but it prevents unneeded exceptions which are annoying when debugging.
2016-02-24 19:07:12 -05:00
Pavel Djundik
2c8c84aec5 Move actions to templates 2016-02-23 18:22:41 +02:00
Jérémie Astori
1e8ca51d47 Merge pull request #75 from maxpoulin64/badge-fade
Fade long channel names in sidebar
2016-02-22 01:23:38 -05:00
Maxime Poulin
867917ff6e Fade long channel names in sidebar 2016-02-22 01:07:59 -05:00
Pavel Djundik
8151e07b78 Replace bootstrap tooltips with css tooltips from Primer 2016-02-21 21:47:09 +02:00
Jérémie Astori
f8d8b74352 Merge pull request #70 from xPaw/localstorage
Replace cookies with localStorage
2016-02-21 13:37:07 -05:00
Pavel Djundik
aab7f298d8 Allow locking network configuration 2016-02-21 14:02:35 +02:00
Pavel Djundik
ad6b4e8939 Update css files to confront stylelint rules 2016-02-20 19:32:23 +02:00
Jérémie Astori
36f2ee3617 Merge pull request #73 from xPaw/badge-opacity
Hide badge counter with opacity
2016-02-20 11:50:59 -05:00
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
Pavel Djundik
0ade7a7438 Hide badge counter with opacity 2016-02-19 20:09:50 +02: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
23d017d67f Replace cookies with localStorage 2016-02-18 21:53:25 +02: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
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