Jérémie Astori
5b4c00d8ca
Extract findLinks into its own file and add tests
...
Tests were taken from 5a249c30b1/test/findLinks.js
.
The underlying code is different but the tests are the same.
2017-04-21 20:31:27 +03:00
Bonuspunkt
0b85ded53f
Add bonuspunkt's parser
...
Fixes #15 .
Fixes #199 .
Fixes #583 .
Fixes #654 .
Fixes #928 .
Fixes #1001 .
2017-04-21 20:29:04 +03:00
Daniel Oaks
5c336d3789
Add slug with command to unhandled messages
2017-04-16 12:31:32 +03:00
Jérémie Astori
4363ef4abe
Merge pull request #973 from thelounge/xpaw/use-require
...
Use require() instead of import in client code
2017-03-31 01:41:29 -04:00
Pavel Djundik
3b2e3fc08c
Enforce more space and new line rules
2017-03-18 21:40:39 +02:00
Pavel Djundik
dcefcd19cb
Use require() instead of import in client code
...
Closes #895
2017-03-18 11:21:18 +02:00
Jérémie Astori
280d145502
Merge pull request #836 from thelounge/xpaw/slideout-width
...
Calculate menu width on touch start
2017-01-04 01:48:38 -05:00
Pavel Djundik
c75771f13d
Fix stuff that breaks in jQuery 3
2016-12-29 23:43:10 +02:00
Pavel Djundik
8fd1d161ea
Remove vendor client code
2016-12-27 19:15:31 +02:00
Pavel Djundik
fb87bd3a58
Webpack
2016-12-27 19:15:30 +02:00
Pavel Djundik
3017e67f3a
Calculate menu width on touch start
...
Fixes #831
2016-12-21 19:58:36 +02:00
stepie22
93f0f6942e
Add a date seperator
2016-11-23 16:35:42 +02:00
Jérémie Astori
d82a894b7b
Remove browser notification polyfill and inform user when unsupported
2016-10-22 17:26:34 -04:00
Pavel Djundik
aa02fd5180
Enforce more eslint rules
2016-10-09 17:55:37 -04:00
Jérémie Astori
caa46042bf
Enforce strict mode across all JS files with ESLint
...
Several ES6 additions are only available in strict mode. Example:
> SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
Strict mode was also enabled in a few of our files already, and it is a good thing to have anyway.
2016-10-09 15:14:02 -04:00
Jérémie Astori
4e1d89f567
Consolidate locale time helpers
...
When working on #660 , I missed that helper already existed, added in #167 .
2016-10-01 15:38:06 -04:00
Jérémie Astori
fc03a338fc
Display localized timestamp in title of message times
2016-10-01 02:46:19 -04:00
Jérémie Astori
ad4a79cbca
Merge pull request #400 from maxpoulin64/slide
...
Add touch slideout menu for mobile
2016-09-30 00:03:04 -04:00
Henning Hoefer
08d3633ae2
Prevent Ctrl-Tab from triggering tab completion
...
Fixes #529
This is probably the simplest workaround for Firefox sending a keydown event when switching browser tabs via Ctrl-Tab
2016-08-04 04:31:19 +02:00
Maxime Poulin
0eef5d9240
Add touch slideout menu for mobile
2016-07-22 21:30:45 -04:00
Maxime Poulin
2d3464aa04
Use a textarea instead of an input for channel messages
2016-07-04 23:49:45 -04:00
Pavel Djundik
8b8050d02a
Remove javascript scrollbar library, use hover appearing scrollbar instead
2016-07-02 13:28:22 +03:00
Pavel Djundik
a94b9623f9
Prepend http protocol to www. links in chat
...
Fixes #406
2016-06-16 17:40:02 +03:00
Pavel Djundik
2ffd85d89f
Update eslint and enforce key-spacing
2016-06-05 21:48:34 +03:00
Pavel Djundik
b6fa4471ab
Merge pull request #346 from maxpoulin64/sticky-fix
...
Keep chat stickied to the bottom on resize
2016-06-05 11:31:04 +03:00
Maxime Poulin
312b7eaa0c
Keep chat stickied to the bottom on resize
...
Fixes the chat not staying at the bottom when opening the on-screen keyboard on mobile.
2016-06-04 20:01:53 -04:00
Alex Howard
963cc95388
Add ! modechar to admin
...
For the odd network out that uses it!
2016-05-27 23:39:14 -04:00
Jérémie Astori
b3103e8c3f
Add light colors for dark themes Morning and Zenburn
...
These colors have been generated by the randomColor package
2016-05-15 15:21:18 -04:00
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
75f04e6cd0
Improve sticky scroll
2016-04-28 09:04:26 +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
43f58a8075
Format topic set date
2016-04-07 16:07:40 -04:00
Pavel Djundik
2bb3951476
Fix message and topic text wrapping
2016-03-22 18:04:34 +02:00
Pavel Djundik
d7750db87f
Remove moment.js from the client
2016-03-11 22:18:49 +02:00
Pavel Djundik
42ae08b6a3
Remove string.contains
2016-03-07 17:16:34 +02: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
Pavel Djundik
253cb4afd6
Update handlebars to 4.0.5
2016-03-05 16:23:35 +02:00
Pavel Djundik
56e1d3fac7
Correctly handle inline channels in messages
...
Fixes #15 and #11
2016-03-01 11:06:14 +02:00
Pavel Djundik
3a87f982b2
Replace favico.js with our simpler solution
2016-02-28 01:27:30 +02:00
Pavel Djundik
8151e07b78
Replace bootstrap tooltips with css tooltips from Primer
2016-02-21 21:47:09 +02:00
Pavel Djundik
23d017d67f
Replace cookies with localStorage
2016-02-18 21:53:25 +02:00
Jérémie Astori
39dc4e8957
Update name and link to repo to new project
2016-02-10 06:20:05 +00:00
Pavel Djundik
cd92d1640e
Simply parse all 0-99 irc colors
2016-01-24 15:57:44 +02: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
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
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
eae1e661b7
Split users by mode in the sidebar
2014-10-04 12:47:27 -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
e4f100a177
Break really long words
2014-09-27 15:01:44 -07:00
Mattias Erming
2a00fb1bb6
Added link plugin
2014-09-27 12:17:13 -07:00
Mattias Erming
4f5465df82
Use <div> instead of <button> in sidebar
2014-09-22 11:54:38 -07:00
Mattias Erming
2fd5f293f0
Minor fixes
2014-09-21 12:48:26 -07:00
Mattias Erming
e9a8f86819
Custom scrollbar in the sidebar
2014-09-19 16:12:17 -07:00
Mattias Erming
216030710a
Minor changes
2014-09-16 10:33:15 -07:00
Mattias Erming
0e7d3b93cd
Prevent link exploit
2014-09-15 09:46:46 -07: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
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
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
0fcdbeadec
Added thumbnail plugin
2014-08-16 12:49:28 -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
b7338eeab7
Handle timezones
2014-07-23 17:16:00 -07:00
Mattias Erming
d014f0cdae
Use /js/libs instead of /components
2014-07-20 14:24:46 -07:00