Commit graph

845 commits

Author SHA1 Message Date
Jérémie Astori
c87d82dc48 Replace color generation with CSS classes
These colors were built using the current generation function to have
similar style.
2016-05-15 15:21:18 -04:00
Pavel Djundik
876ce4bc6e Do not ignore our handlebars plugins in eslint 2016-05-12 16:07:15 +03:00
Pavel Djundik
ed700ef504 Fix unread counter not being formatted on page load 2016-05-08 22:49:53 +03:00
Pavel Djundik
d143542fe5 Add security headers to minimize XSS damage 2016-05-06 11:08:45 +03:00
Pavel Djundik
e75a8f40a6 Stricter eslint rule for curly brackets 2016-05-01 12:41:17 +03:00
Pavel Djundik
c6c32e7d5f Merge pull request #217 from thelounge/xpaw/keep-autocomplete
Keep autocompletion sort whenever user list updates
2016-05-01 08:56:13 +03:00
Jérémie Astori
d73c6d0440 Merge pull request #252 from thelounge/xpaw/setnick
Do not display incorrect nick when switching to a non connected network
2016-04-30 19:40:27 -04:00
Jérémie Astori
404bf2c4df Merge pull request #270 from thelounge/ircv3/echo-message
Add support for echo-message and znc.in/self-message caps
2016-04-30 19:37:10 -04:00
Pavel Djundik
a082039ecb Keep autocompletion sort whenever an user joins 2016-04-28 22:44:27 +03:00
Pavel Djundik
75f04e6cd0 Improve sticky scroll 2016-04-28 09:04:26 +03:00
Pavel Djundik
80ac72709d Do not count your own messages as unread 2016-04-26 13:10:17 +03:00
Pavel Djundik
5a58d1a369 Only increase unread counter for whitelisted actions 2016-04-24 11:21:26 +03:00
Pavel Djundik
91aa4c6c4a Never highlight self messages in queries, and leave it up to the server to decide 2016-04-22 19:38:59 +03:00
Jérémie Astori
af2c36e86e Fix missing channel name from invite notifications 2016-04-11 00:56:59 -04:00
Pavel Djundik
8f217ad3fb Do not display incorrect nick when switching to a non connected network 2016-04-10 12:08:31 +03:00
Jérémie Astori
e799cc493c Move the sidebar serverOptions to the according template 2016-04-10 01:04:39 -04:00
Pavel Djundik
16370d8fcc Add /ctcp command and handle ctcp responses 2016-04-07 16:08:31 -04:00
Pavel Djundik
43f58a8075 Format topic set date 2016-04-07 16:07:40 -04:00
Pavel Djundik
28ae544b2a Move connection events to a separate file, sync PREFIX with frontend 2016-04-07 16:04:40 -04:00
Pavel Djundik
e380319400 Handle parts, quits, topics and topic set by 2016-04-07 16:04:40 -04:00
Pavel Djundik
7d7c3edcec Add a query command that simply opens a query window 2016-03-24 22:40:36 +02:00
Pavel Djundik
2bb3951476 Fix message and topic text wrapping 2016-03-22 18:04:34 +02:00
Jérémie Astori
eadcca0b5e Merge pull request #208 from thelounge/xpaw/remove-commands
Remove join, nick and whois inputs, they are cleanly handled by the server
2016-03-22 02:03:50 -04:00
Jérémie Astori
4f7f862a55 Add a specific item divider for the context menu, allowing some margin 2016-03-20 17:40:12 -04:00
Maxime Poulin
d3a8b2b217 Add a menu where the Leave button was 2016-03-20 22:33:55 +02:00
Pavel Djundik
73930688cc Remove dedicated close button next to user button 2016-03-20 22:33:42 +02:00
Pavel Djundik
52b953c492 Remove join, nick and whois inputs, they are cleanly handled by the server
Fixes #201
2016-03-20 16:14:37 +02:00
Pavel Djundik
d7750db87f Remove moment.js from the client 2016-03-11 22:18:49 +02:00
Pavel Djundik
52bc324a63 Update eslint to 2.3.0 and add stricter rules 2016-03-09 10:50:20 +02:00
Jérémie Astori
c8664b7cfa Merge pull request #161 from xPaw/whois-tpl
Make whois a client template
2016-03-09 00:16:47 -05:00
Pavel Djundik
42ae08b6a3 Remove string.contains 2016-03-07 17:16:34 +02:00
Pavel Djundik
a61973a156 Make whois a client template 2016-03-07 17:10:46 +02:00
Jérémie Astori
c4d628db49 Merge pull request #28 from lpoujol/desktopNotificationSetting
Remove "badge" setting and rely on browser choice for desktop notifcations
2016-03-06 14:45:52 -05:00
Ludovic POUJOL
bf9e50083b Rename badge setting to desktopNotifications
Also checks the browser status and display a warning message if it
blocks desktop notifications
2016-03-06 19:03:51 +01:00
Pavel Djundik
062fded4cc Update socket.io to 1.4.5 and use client library provided by the dependancy 2016-03-06 11:41:19 +02:00
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
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
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
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
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
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
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
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
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
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
23d017d67f Replace cookies with localStorage 2016-02-18 21:53:25 +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
Jérémie Astori
6122b02c5d Revert "Allow The Lounge to be proxied behind a /path/ url" 2016-02-13 02:20:07 -05:00
Damjan Georgievski
1f72f81b91 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
2016-02-13 01:26:45 +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
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
e5aa02d696 Change user buttons to as. Allows highlighting on firefox. 2016-01-24 16:53:06 +00: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
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
Pavel Djundik
bb98be475a Render user actions separately 2016-01-24 16:59:13 +02: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
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
7a9bc41b30 Use a single function to process and render messages 2016-01-23 16:59:05 +02:00
William Boman
ba7c7de9af client/js/shout.js: tag Notifications to reduce spam 2016-01-20 14:49:08 +01: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
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
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
df4a91fd05 Merge pull request #409 from kalaksi/fix_topic_on_ui
Fix topic on UI
2015-10-04 14:54:57 -04: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
The Bastard Operator
5656244e60 Included changes to shout.templates.js after grunt 2015-09-18 11:10:25 +02: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
ef041d6612 Fix topic exploit 2015-01-22 09:29:28 -08:00
Mattias Erming
4715492c88 Update minified js 2014-12-12 00:58:03 +01:00
Mattias Erming
ccea9ea43d Close button now correctly says 'Close' for private messages 2014-12-12 00:10:15 +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
eb3bc22d71 Added dynamic title 2014-11-07 20:52:38 +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
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
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
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
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
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
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
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
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
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
dd697c4918 Change colors 2014-09-26 17:21:14 -07:00
Mattias Erming
7936dab6e3 Show current nick 2014-09-25 16:51:53 -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
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
0e7d3b93cd Prevent link exploit 2014-09-15 09:46:46 -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
b0c99ac6c4 Added apple-icon, logo and favicon 2014-09-14 10:50:00 -07: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
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
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
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
1338a99536 Update Handlebars 2014-09-09 14:55:45 -07:00
Matias Singers
a206b26eb9 Lowercase user search in chat sidebar to match lowercased names 2014-09-09 14:49:17 +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
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
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
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
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
c484b83aca Show authentication errors 2014-07-25 04:36:25 -07:00
Mattias Erming
c341d7a0b6 Remember active window between logins 2014-07-25 04:25:10 -07:00
Mattias Erming
8ae98d81b2 Minor changes 2014-07-25 04:14:57 -07:00
Mattias Erming
b7338eeab7 Handle timezones 2014-07-23 17:16:00 -07:00
Mattias Erming
cfa304d028 Handle focus on login screen 2014-07-20 18:40:43 -07:00
Mattias Erming
b2ca5eb172 Design changes 2014-07-20 18:18:20 -07:00
Mattias Erming
d014f0cdae Use /js/libs instead of /components 2014-07-20 14:24:46 -07:00
Mattias Erming
0a3cdc1e9b Added 'Show more' functionality 2014-07-20 12:49:44 -07:00
Mattias Erming
7ac793fc89 Remember user 2014-07-20 04:23:08 -07:00
Mattias Erming
73b995931b Added user login 2014-07-18 18:31:00 -07:00
Mattias Erming
76ccf0f204 Added default connection values 2014-07-18 07:40:08 -07:00
Mattias Erming
760efd5ef0 Added 'Sign in' window 2014-07-17 08:12:05 -07:00
Mattias Erming
fa2ec6de3d Added tooltips 2014-07-17 06:58:43 -07:00
Mattias Erming
fa97a5177c Tabcomplete channel names 2014-07-10 00:47:38 +02:00
Mattias Erming
daf384f18b Added settings 2014-07-10 00:40:51 +02:00
Mattias Erming
e946633c18 Added close button again 2014-07-09 19:11:07 +02:00
Mattias Erming
33d3f8f386 Tabcomplete names 2014-07-09 18:54:16 +02:00
Mattias Erming
9e528e5f00 Added node-webkit grunt build 2014-07-09 03:38:53 +02:00
Mattias Erming
1c7d4f2396 Added 'Connect' window 2014-07-08 22:50:41 +02:00
Mattias Erming
966b4ef28e Added badges and notifications 2014-07-08 01:15:10 +02:00
Mattias Erming
85d2ef0d39 Responsive interface 2014-07-07 23:44:49 +02:00
Mattias Erming
9c2ffee7d0 Updated chat rendering 2014-07-07 14:43:37 +02:00
Mattias Erming
cb663777b4 Added window management 2014-07-07 02:44:31 +02:00
Mattias Erming
a1d5f52875 Added inputhistory 2014-07-06 17:58:57 +02:00
Mattias Erming
ce792d1a60 Implemented client.connect() 2014-07-06 17:22:43 +02:00
Mattias Erming
9491de4cb1 Added stickyscroll 2014-07-05 02:31:20 +02:00
Mattias Erming
d38c5c77d4 Added user search 2014-07-05 01:32:40 +02:00
Mattias Erming
dbcf26d1bd Implemented the rest of the input plugins 2014-07-04 00:49:15 +02:00
Mattias Erming
9e41d4d746 Added input plugins 2014-07-03 00:00:20 +02:00
Mattias Erming
f3f3858663 Render chat 2014-06-30 03:20:54 +02:00
Mattias Erming
abd9099018 Establish socket events 2014-06-29 03:08:28 +02:00
Mattias Erming
fd2011764a Client-side stuff 2014-06-26 17:47:44 -07:00
Mattias Erming
8e4cdc3e9f Add models and plugins 2014-06-26 16:06:02 -07:00
Mattias Erming
7370b10c22 Begin rewrite 2014-06-26 09:14:45 -07:00
Mattias Erming
8b9572b00b Always show header on mobile 2014-06-23 21:01:28 +02:00
Mattias Erming
a690395086 Added support for multiple users 2014-06-23 19:28:49 +02:00
Mattias Erming
ffabc7cfea Minor fixes 2014-06-23 10:40:39 +02:00
Mattias Erming
72ad03c6ea Added settings page 2014-06-22 23:54:31 +02:00
Mattias Erming
095bdc407b Added dynamic page title 2014-06-21 22:37:21 +02:00
Mattias Erming
5736422a73 Update to Socket.IO 1.0 2014-06-20 03:33:49 +02:00
Mattias Erming
fe014fc66d Whoops.. 2014-06-20 02:32:23 +02:00
Mattias Erming
afda79db4b Add MOTD toggle 2014-06-20 02:26:48 +02:00
Mattias Erming
f5596ea121 Escape URIs replaced in messages 2014-06-19 12:58:25 +02:00
Mattias Erming
06bd770c9b Remember active window 2014-06-19 01:21:20 +02:00
Mattias Erming
a8aa3f59d1 Update favico.js 2014-06-18 17:25:11 +02:00
Mattias Erming
8bcb61bdbd Better URI replace for messages. Close #16 2014-06-18 13:51:23 +02:00
Mattias Erming
3e153b9ebc Remove bower 2014-06-17 18:20:22 +02:00
Mattias Erming
2622ee9c62 Added bower and grunt-uglify task 2014-06-17 17:04:57 +02:00
Mattias Erming
250995adbe Added favico.js 2014-06-17 02:01:58 +02:00
Mattias Erming
7e0672e035 Case insensitive tab completion 2014-06-17 00:59:01 +02:00
Mattias Erming
5bd148d7b5 Make it pop 2014-06-16 23:16:22 +02:00
Mattias Erming
ff707153b2 Scroll to bottom on window focus 2014-06-16 10:53:50 +02:00
Mattias Erming
d805e1edb9 Sign in / Sign out links 2014-06-15 23:45:16 +02:00
Mattias Erming
0757450859 Better window handling when closing 2014-06-15 22:56:45 +02:00
Mattias Erming
7e0b11ebf2 Minor changes 2014-06-15 22:36:55 +02:00
Mattias Erming
86e4ad770f Added sign in 2014-06-15 21:18:45 +02:00
Mattias Erming
e506522eac Refactoring 2014-06-15 19:26:29 +02:00
Mattias Erming
37581b7e45 Added 'Sign in' page placeholder 2014-06-15 18:10:20 +02:00
Mattias Erming
23b4bc74b9 Minor bugfix 2014-06-15 16:36:22 +02:00
Mattias Erming
7d36997b83 Press tab to complete usernames 2014-06-14 23:21:28 +02:00
Mattias Erming
0f456596ed Better 'Show more' implementation 2014-06-14 22:33:01 +02:00
Mattias Erming
ba559c8fed Updated the sidebar 2014-06-13 18:52:36 +02:00
Mattias Erming
fca95d9b79 Swipe/click chat to toggle sidebar. Close #9 2014-06-13 16:23:37 +02:00
Mattias Erming
047f8b0302 Show errors in current window 2014-06-13 14:02:18 +02:00
Mattias Erming
9f5d3807ec Added support for ~ and % modes. Close #10 2014-06-13 12:16:47 +02:00
Mattias Erming
2e511378ad Added inputhistory 2014-06-13 00:41:23 +02:00
Mattias Erming
03d8510486 Added '/whoami' command 2014-06-12 14:11:35 +02:00
Mattias Erming
5e3abe2347 Release 1.0.0-alpha4 2014-06-09 21:45:38 +02:00
Mattias Erming
7a509e6a1a Refresh user count on channel activity 2014-06-09 21:39:36 +02:00
Mattias Erming
ad03879a34 Updated slate-irc and tabcomplete 2014-06-06 22:05:47 +02:00
Mattias Erming
5e9058faa6 Re-implemented the 'Show more' button 2014-06-02 23:08:03 +02:00
Mattias Erming
1cdae95a44 Better device width detection 2014-05-31 09:41:00 -07:00
Mattias Erming
ab2a7b2aa3 Improved mobile interface 2014-05-31 07:03:58 -07:00
Mattias Erming
8bb484da11 Animate sidebar toggle 2014-05-30 14:31:47 -07:00
Mattias Erming
fb38df1405 Release 1.0.0-alpha3 2014-05-30 04:36:54 -07:00
Mattias Erming
acdd7bcbcb Minor changes 2014-05-29 18:01:20 -07:00
Mattias Erming
f33670954d Added mobile interface. Close #8 2014-05-29 17:23:23 -07:00
Mattias Erming
9a06832e6e Re-design 2014-05-28 14:21:22 -07:00
Mattias Erming
276db34c34 Force user to confirm server disconnect 2014-05-26 01:20:16 +02:00
Mattias Erming
3eb3ef081f Improved close buttons 2014-05-25 21:39:17 +02:00
Mattias Erming
08a78d2879 Added close buttons 2014-05-24 23:56:28 +02:00
Mattias Erming
799b10c6d9 Update stickyScroll 2014-05-24 21:45:28 +02:00
Mattias Erming
a516a1ac12 Refactoring 2014-05-23 01:14:01 +02:00
Mattias Erming
f731707fe7 Added '/ame' and '/amsg' command 2014-05-18 18:19:02 +02:00
Mattias Erming
8fe6110a93 Added '/invite' command 2014-05-18 00:17:50 +02:00
Mattias Erming
8d5514ea65 Added '/partall' command 2014-05-16 15:13:16 +02:00
Mattias Erming
3497bfc39f Added some command aliases 2014-05-15 23:59:00 +02:00
Mattias Erming
f320d4c208 Added '/say' command 2014-05-15 23:56:54 +02:00
Mattias Erming
2c34d129d8 Bugfixes 2014-05-14 03:36:51 +02:00
Mattias Erming
ebabd789ed Updated jQuery plugins 2014-05-14 00:47:46 +02:00
Mattias Erming
ececa3d55c Added temp menu 2014-05-09 00:12:16 +02:00
Mattias Erming
b1e5ac516d Added /send 2014-05-07 21:30:14 +02:00
Mattias Erming
c7de3a897d Use location.hash to remember active window 2014-05-07 16:01:46 +02:00
Mattias Erming
53257ee2b2 Minor changes 2014-05-04 13:05:14 +02:00
Mattias Erming
ea543e90e1 Added ACTION messages 2014-05-03 21:33:10 +02:00
Mattias Erming
880b9b4104 Added message count 2014-05-03 19:54:51 +02:00
Mattias Erming
13e4115f04 Added /notice 2014-05-03 19:21:11 +02:00
Mattias Erming
750a0313ba Added cleaner message style 2014-05-03 01:47:09 +02:00
Mattias Erming
bf9f113e2f Minor changes 2014-05-02 23:54:31 +02:00
Mattias Erming
cfb7edd659 Refactoring 2014-05-02 19:46:18 +02:00
Mattias Erming
9174bf49ff Implemented flat UI design 2014-04-30 17:14:54 +02:00
Mattias Erming
fd29a95260 Minor changes 2014-04-30 02:00:27 +02:00
Mattias Erming
b730e60582 Added tab completion for users 2014-04-28 20:06:49 +02:00
Mattias Erming
88e694d0c1 Design changes 2014-04-26 21:56:10 +02:00
Mattias Erming
4952a11e10 Added port to config 2014-04-26 19:44:23 +02:00
Mattias Erming
47280e7490 Added 'See more' functionality 2014-04-26 17:26:30 +02:00
Mattias Erming
efeb4a537a Release 1.0.0-alpha1 2014-04-24 20:11:45 +02:00
Mattias Erming
91001cf102 Added close button again 2014-04-24 00:03:35 +02:00
Mattias Erming
2852942241 Removing Backbone dependency. Closes #6 2014-04-23 20:44:44 +02:00
Mattias Erming
413e48818b Removing Bootstrap 2014-04-22 19:57:16 +02:00
Mattias Erming
32e486bfb8 Removing mobile interface 2014-04-22 07:52:14 -07:00
Mattias Erming
9a55dbdf86 Use local js files 2014-04-22 07:48:13 -07:00
Mattias Erming
712f923d9b Remove submodules and merge into plugins.js 2014-04-22 07:29:35 -07:00
Mattias Erming
55172d40db Bugfix active channel 2014-04-21 23:04:53 +02:00
Mattias Erming
a458ad24b3 Bugfixes 2014-04-21 16:40:43 +02:00
Mattias Erming
d49ee1326b Parse URLs with Handlebars 2014-04-21 12:27:43 +02:00
Mattias Erming
9e860b14d7 Use handlebars instead of mustache 2014-04-20 23:48:05 +02:00
Mattias Erming
5f59f937ee Refactoring 2014-04-19 23:59:01 +02:00
Mattias Erming
475e8004da Rename submodules 2014-04-16 02:26:29 +02:00
Mattias Erming
738c61350e Added user count 2014-04-14 17:18:18 +02:00
Mattias Erming
0c20e29c41 Fix active window after closing 2014-04-14 14:54:17 +02:00
Mattias Erming
b5caaf44a9 Added input history 2014-04-14 02:47:59 +02:00
Mattias Erming
56956ec85a Better URL parse with jQuery 2014-04-14 02:39:34 +02:00
Mattias Erming
421f585d23 Moved js libraries to submodules 2014-04-14 01:49:22 +02:00
Mattias Erming
661e1d7b1d Release 0.2.0 2014-04-10 23:59:38 +02:00
Mattias Erming
b574c87028 Clickable URLs in text messages 2014-04-10 23:58:08 +02:00
Mattias Erming
30ea34ffd3 Bugfix 2014-04-10 23:34:53 +02:00
Mattias Erming
7c3cf140d8 Sort users 2014-04-10 00:35:04 +02:00
Mattias Erming
541e41e804 Clickable users 2014-04-09 22:54:04 +02:00
Mattias Erming
da74cdece4 Update jquery.tabComplete.js 2014-04-08 19:40:54 +02:00
Mattias Erming
d6b7a5331a Added show/hide for kick and modes 2014-04-08 16:18:06 +02:00
Mattias Erming
dd4c9a400a Added tab completion 2014-04-07 23:19:20 +02:00
Mattias Erming
087ae21137 Allow calling /part from queries 2014-04-06 23:13:08 +02:00
Mattias Erming
9119555f44 Added whois 2014-04-02 17:26:55 +02:00
Mattias Erming
c3aee3d025 Moving back to mustache templating 2014-04-01 20:09:08 +02:00
Mattias Erming
6e03377d7d Removed data attributes 2014-04-01 00:02:28 +02:00
Mattias Erming
23b3108b1b Only show visible events 2014-03-30 23:53:01 +02:00
Mattias Erming
e3bfc43a78 Reimplemented join/parts 2014-03-29 16:59:28 -07:00
Mattias Erming
2c8040a6ca Fix event trigger bug 2014-03-29 08:36:12 -07:00
Mattias Erming
d88967e712 Replace node-irc with slate-irc 2014-03-24 16:47:29 +01:00
Mattias Erming
dc0add0fef Remove code 2014-03-24 14:44:41 +01:00
Mattias Erming
678f6e3c08 Unique color per nick 2014-03-23 02:48:40 +01:00
Mattias Erming
cd68d12436 Load some of the libraries from CDN instead 2014-03-23 01:37:48 +01:00
Mattias Erming
98331decd6 Linkify urls in chat 2014-03-23 00:42:07 +01:00
Mattias Erming
8049e93703 Use handlebars instead of mustache 2014-03-22 22:42:02 +01:00
Mattias Erming
dcd72b2345 Save settings in a cookie 2014-03-22 20:23:48 +01:00
Mattias Erming
fb85b38e7c Added jquery.cookie.js 2014-03-22 17:57:46 +01:00
Mattias Erming
a3e958108b Updated jquery.scrollGlue.js 2014-03-20 00:24:45 +01:00
Mattias Erming
e6679fc35b Added render() function 2014-03-19 19:31:56 +01:00
Mattias Erming
923dbcbeeb Minor bugfix 2014-03-19 01:57:45 +01:00
Mattias Erming
db4e62b693 More improvements to the rendering 2014-03-19 00:08:11 +01:00
Mattias Erming
a8ad02b738 Improved rendering 2014-03-17 17:24:32 +01:00
Mattias Erming
bb090ef331 Added mobile user interface 2014-03-17 01:54:58 +01:00
Mattias Erming
4e66f1c071 Toggle show/hide events 2014-03-16 21:07:27 +01:00
Mattias Erming
ff53a94440 Added tabs to sidebar 2014-03-16 20:00:57 +01:00
Mattias Erming
765f8ad4cc Sort users by mode 2014-03-16 17:19:53 +01:00
Mattias Erming
5eefa31400 Show errors in current window 2014-03-15 17:14:05 +01:00
Mattias Erming
be945fe4de Usernames are now clickable 2014-03-15 16:51:21 +01:00
Mattias Erming
2516dce8cb Added message counter 2014-03-15 16:07:49 +01:00
Mattias Erming
158abd7526 Fixed issues with NICK events 2014-03-15 02:19:50 +01:00
Mattias Erming
aa40319ee9 Added close buttons 2014-03-14 23:14:12 +01:00
Mattias Erming
dd9dec5d1c Frontend stuff 2014-03-14 20:21:00 +01:00
Mattias Erming
ecc889373e Added bootstrap 2014-03-14 20:03:25 +01:00
Mattias Erming
cc4b6cdfe5 Solve nick collisions 2014-03-14 03:00:01 +01:00
Mattias Erming
a4a3499a54 Implemented NAMES events 2014-03-13 01:02:21 +01:00
Mattias Erming
62a40246a9 Implemented JOIN and PART events 2014-03-12 16:09:37 +01:00
Mattias Erming
f57d994c5c Partial rendering 2014-03-12 14:10:53 +01:00
Mattias Erming
f86f67ff24 Added custom events 2014-03-11 23:57:29 +01:00
Mattias Erming
ea2d20e118 Connect to IRC networks 2014-03-09 22:22:37 +01:00
Mattias Erming
a783a71789 Added sticky jQuery plugin 2014-03-09 19:39:25 +01:00
Mattias Erming
bd963fbd8c Added Backbone 2014-03-07 22:28:30 +01:00
Mattias Erming
efa3fcd7ab Improved the event/render flow 2014-03-07 22:28:30 +01:00
Mattias Erming
3acb7402be Focus windows on refresh 2014-03-07 22:28:30 +01:00
Mattias Erming
b45a3e09fd Sticky scroll to bottom 2014-03-07 22:28:30 +01:00
Mattias Erming
7f3656e458 Added node-irc 2014-03-07 22:28:21 +01:00
Mattias Erming
4cc34d6456 Refactoring 2014-03-06 07:11:25 -08:00
Mattias Erming
56ae48eb89 Send user input to server 2014-03-05 09:33:11 -08:00
Mattias Erming
b1023bf76c Implemented views 2014-03-05 05:46:16 -08:00
Mattias Erming
3fe9022d3e Added the Event model 2014-03-04 13:50:43 -08:00
Mattias Erming
156a8748ef Added models 2014-03-04 11:40:27 -08:00
Mattias Erming
9cdcfdefd2 Added socket.io 2014-03-04 09:22:06 -08:00