Alistair McKinlay
bc2a37913f
Fix issue with falsey user options getting overridden by truthy defaults
2017-08-16 09:01:09 +01:00
Pavel Djundik
e4ee3fbb3c
Do not throw an exception when URI parsing fails
2017-08-14 15:25:34 +03:00
Pavel Djundik
28e32dc558
Merge pull request #759 from thelounge/yamanickill/condense-joins
...
Initial part/join condensing
2017-08-14 11:18:51 +03:00
Jérémie Astori
43a8604b32
Add some human-friendliness to the condensed status messages
2017-08-13 16:16:48 -04:00
Jérémie Astori
853e646670
Move condense caret to the right, animate transition, add hover state (with transition), reuse thumbnail toggle style
2017-08-13 16:16:38 -04:00
Jérémie Astori
b508783101
Improve UI of expanded/condensed status message selection in client settings
2017-08-13 16:14:38 -04:00
Pavel Djundik
3190fd00bf
Refactor authentication flow
2017-08-13 21:37:12 +03:00
Alistair McKinlay
499dfdfe92
Condense Joins
2017-08-13 14:30:30 -04:00
Pavel Djundik
e5ce2f2688
Remove 10 second interval to trim buffer
...
Fixes #96
2017-08-13 12:23:51 +03:00
Pavel Djundik
6b00cdeba9
Change history button text while loading
2017-08-09 14:18:37 +03:00
Pavel Djundik
c14f7da1b2
Generate unique tokens for each login and session
2017-07-31 02:02:15 +03:00
Jérémie Astori
157289258a
Keep track of preview visibility on the server so it persists at page reload
2017-07-26 18:16:50 -04:00
Pavel Djundik
45a2d074fb
Remove focus from input when opening image viewer
...
Fixes #1342
2017-07-25 18:07:14 +03:00
Jérémie Astori
8259b0924b
Merge pull request #1367 from thelounge/astorije/fix-viewer-cycle
...
Fix image viewer cycling when some previews are hidden
2017-07-24 19:21:49 -04:00
Jérémie Astori
5b60bb0b0c
Remove background blur filter/transition when opening the image viewer
2017-07-24 02:31:12 -04:00
Jérémie Astori
60b531a174
Fix image viewer cycling when some previews are hidden
2017-07-24 02:14:14 -04:00
Jérémie Astori
b9f17b77ab
Add Previous/Next cycling buttons to the image viewer
2017-07-23 13:14:27 -04:00
Pavel Djundik
30f40ee448
Fix remaining issues with link previews
...
Fixes #1357
2017-07-21 19:39:06 +03:00
Pavel Djundik
ed9bfcf2fa
Merge pull request #1194 from thelounge/xpaw/lazy-user-list
...
Lazily load user list in channels on init, keep autocompletion sort on server
2017-07-21 17:25:23 +03:00
Pavel Djundik
d06c279f02
Lazily load user list
2017-07-21 11:05:36 +03:00
Pavel Djundik
7af573fd96
Handle auto completion order on the server
...
Fixes #289 .
2017-07-21 11:05:21 +03:00
Jérémie Astori
900d41bf47
Re-use .previews
to order incoming previews instead of extra links
2017-07-21 01:51:51 -04:00
Jérémie Astori
1c8ea0b75c
Fix preserved whitespace-related issues for previews by separating them from main text
2017-07-21 01:50:09 -04:00
Jérémie Astori
a13c08a45b
Enforce correct order for previews on server-side prefectch rather than at client parsing
...
This has the benefit of not adding `.preview` divs everywhere, anytime we use `parse()`, and also to un-tie the position of the preview blocks from the result of the helper. This means that templates that call `parse` and have some extra markup after that are not constrained anymore.
This is effectively an alternative, better way to fix https://github.com/thelounge/lounge/issues/1343 , but the initial fix that was put in place (https://github.com/thelounge/lounge/pull/1347 ) is still relevant, for example to make sure a preview stays hidden (and does not add extra margin/padding/etc.) if the link does not prefetch.
2017-07-21 01:06:42 -04:00
Jérémie Astori
4e7eed7958
Merge pull request #1334 from MaxLeiter/MaxLeiter/emoji
...
Emoji fuzzysearching
2017-07-20 01:20:57 -04:00
Max Leiter
4a56870c08
Emoji fuzzysearching
2017-07-19 11:33:16 -07:00
Alistair McKinlay
e01e21cdbe
Change more to use id rather than count.
2017-07-19 07:37:13 +01:00
Jérémie Astori
5fb34ce93f
Fix previews in actions ("/me") after page reload
2017-07-18 01:27:18 -04:00
Jérémie Astori
511b173b6f
Add an image viewer for thumbnails and image previews
2017-07-16 19:25:48 -04:00
Pavel Djundik
199bc459b4
Merge pull request #1303 from thelounge/astorije/multiple-previews
...
Support multiple previews per message
2017-07-09 18:29:31 +03:00
Al McKinlay
2d853f20aa
Merge pull request #1309 from thelounge/astorije/collapse-previews
...
Add collapse/expand commands to toggle all previews
2017-07-09 15:20:48 +01:00
Jérémie Astori
28200830ed
Move preview toggle buttons next to their respective URLs and switch from ellipsis to caret
2017-07-08 04:36:26 -04:00
Jérémie Astori
64ebe0f437
Support multiple previews per message
...
- Load up to 5 previews per message (to avoid abuse)
- Do not load multiple times the same URL
- Prepare preview containers per message instead of appending (to maintain correct order)
- Store an array of previews instead of a single preview in `Msg` objects
- Consolidate preview rendering for new messages and upon refresh/load history (when rendering entire channels)
- Update `parse` tests to reflect previous point
- Add test for multiple URLs
- Switch preview tests from `assert` API to `expect` API
2017-07-08 04:34:12 -04:00
Jérémie Astori
b1fa78665c
Merge pull request #1294 from awalgarg/autocomplete-optout
...
Allow opting out of autocomplete
2017-07-08 03:46:35 -04:00
Jérémie Astori
e08f18f447
Add collapse/expand commands to toggle all previews
2017-07-07 00:18:37 -04:00
Pavel Djundik
818a21b52e
Fix jumps when toggling link preview
2017-07-04 20:51:22 +03:00
Awal Garg
8c8d683348
Allow opting out of autocomplete
2017-07-03 22:37:38 +05:30
Pavel Djundik
14b2ad7938
Refactor link previews
2017-07-03 00:41:18 +03:00
Jérémie Astori
0b85582744
Merge pull request #1175 from thelounge/yamanickill/socket-modules
...
Add modules for socket events
2017-06-20 23:42:52 -04:00
Pavel Djundik
28528dc865
Correctly finish scroll animation when using page keys
...
Fixes #1022 .
2017-06-20 13:22:58 +03:00
Pavel Djundik
2091a5b41b
Merge pull request #1120 from thelounge/xpaw/scroll-perf
...
Include trickery to reduce paints and improve performance
2017-06-20 13:18:06 +03:00
Alistair McKinlay
f90c355c8e
Add modules for socket events
2017-06-20 07:22:58 +01:00
Pavel Djundik
32a73d49f1
Merge pull request #1016 from swordbeta/unread_marker_hidden_joins
...
Unread marker takes hidden messages into account.
2017-06-20 08:15:31 +03:00
Pavel Djundik
f6dd616d5e
Update to eslint 4 and enforce extra rules
2017-06-19 09:58:29 +03:00
Jérémie Astori
1a6f2fc387
Merge pull request #1150 from bews/bews/dev-9-reload
...
Add "reload page" button when Lounge fails to start.
2017-06-10 13:25:37 -04:00
Niko Bews
cba87582a5
Add "reload page" button when Lounge fails to start.
2017-06-10 20:15:32 +03:00
Pavel Djundik
53ffcb5960
Merge pull request #1141 from bews/bews/dev-6-seconds
...
Show seconds in timestamp
2017-06-10 16:15:03 +03:00
Niko Bews
fd983a7f6b
Show seconds in timestamp
2017-06-10 14:53:15 +03:00
Pavel Djundik
7ec0dcfec8
Mark touch events as passive
2017-06-09 23:20:00 -04:00
Pavel Djundik
93bc406c2e
Consider click also a read activity
2017-06-09 14:10:55 +03:00
Pavel Djundik
ca54c40d0f
Merge pull request #1197 from thelounge/xpaw/socketio-transports
...
Correctly configure client socket transports
2017-06-08 20:19:49 +03:00
Jérémie Astori
c88a0875b6
Merge pull request #1205 from thelounge/xpaw/no-hardcoded-title
...
Keep original <title> name when changing the title
2017-06-08 09:10:11 -04:00
Jérémie Astori
5a5bf823a0
Merge pull request #1195 from thelounge/xpaw/consistent-user-object
...
Do not store unnecessary information in user objects
2017-06-08 02:46:25 -04:00
Pavel Djundik
571818d4c2
Keep original <title> name when changing the title
2017-06-05 14:40:25 +03:00
Pavel Djundik
22c00aca95
Do not store passwords in settings storage
2017-06-03 21:41:21 +03:00
Pavel Djundik
16fb118d02
Correctly configure client transports
...
Fixes #848
2017-06-01 22:43:23 +03:00
Pavel Djundik
acf5dd5351
Do not store unnecessary information in user objects
2017-06-01 21:54:46 +03:00
swordbeta
24419cb8e8
Assign last visible div to var.
2017-05-17 13:19:18 +02:00
Al McKinlay
07e4f4d1a4
Merge pull request #1157 from thelounge/astorije/motd-default
...
Display MOTD by default on client
2017-05-10 10:14:22 +01:00
Jérémie Astori
895fcc4066
Display MOTD by default on client
2017-05-09 18:18:32 -04:00
PolarizedIons
54a9637ed4
Fix fixing the date-marker not being removed when it should be.
...
Accidentally copy-pasted more than I should have when I moved the scrollable height calculation code, and I caused the older
messages to be added before doing checks for the date-markers, which would fail.
2017-05-09 19:23:31 +02:00
Pavel Djundik
691f628e48
Merge pull request #1095 from thelounge/xpaw/fix-nick-autocomplete
...
Fix nick autocomplete
2017-05-06 13:43:27 +03:00
Pavel Djundik
7ae364e360
Merge pull request #1100 from thelounge/xpaw/0x04
...
Add support for 0x04 hex colors
2017-05-06 13:43:14 +03:00
Pavel Djundik
fe77563cdb
Merge pull request #1114 from thelounge/xpaw/moment
...
Use moment to render dates everywhere
2017-05-06 13:43:02 +03:00
Pavel Djundik
57d7616d1b
Merge pull request #1109 from thelounge/astorije/autocomplete-colors
...
Add autocomplete strategy for foreground and background colors
2017-05-06 13:42:47 +03:00
Pavel Djundik
9766c3e254
Allow autocompleting full emoji short names
2017-05-05 21:08:41 +03:00
PolarizedIons
c5e215f439
Fix date-marker not being removed on loading new messages
2017-05-05 14:07:01 +02:00
swordbeta
979d992bd1
Don't show unread marker for date marker.
2017-05-04 21:38:58 +02:00
Pavel Djundik
700d3c1ff2
Use moment to render dates everywhere
2017-05-01 21:31:31 +03:00
Jérémie Astori
0981605fae
Add autocomplete strategy for background colors
2017-05-01 02:49:35 +02:00
Jérémie Astori
6d1eef836a
Add autocomplete strategy for foreground colors
2017-04-30 14:08:12 +02:00
Pavel Djundik
f7b7248ff7
Fix nick autocomplete
...
Fixes #1119 .
2017-04-30 15:03:27 +03:00
Pavel Djundik
0b645d54c6
Add support for 0x04 hex colors
...
Ref: https://modern.ircdocs.horse/formatting.html#hex-color
2017-04-29 09:50:26 +03:00
Max Leiter
70655120cb
Add ctcp to constants, adds to auto-complete
2017-04-28 14:45:18 -07:00
PolarizedIons
81a5615c9a
Fix nick autocomplete
2017-04-26 19:34:31 +02:00
Jérémie Astori
06af65cf01
Merge pull request #1078 from thelounge/1022-slow-scrolling
...
Add fix for slow scrolling when holding pg-up/pg-dn
2017-04-26 13:47:40 +02:00
Pavel Djundik
586dde7761
Merge pull request #856 from thelounge/astorije/fuzzy-match-user-list
...
Implement fuzzy-matching for the user list
2017-04-26 12:57:06 +03:00
Pavel Djundik
dd5e50fc68
Merge pull request #1062 from thelounge/remove-cycle-nicks
...
Remove cycle nicks button
2017-04-26 11:41:51 +03:00
Jérémie Astori
e000ba45df
Improve details of emoji/chan/nick/command autocompletion
...
- Make dropdown items match context menu items
- Disable transparency on dropdown item links
- Clean up help page additions
- Better align help page autocompletion characters
- Use ES6 features (`const`, arrow functions, method definition shorthands)
- Use `Array#filter` instead of `$.map`
- Do not display `@` in nick completion *when* only one `@` is used (to be less confusing and more consistent)
2017-04-26 13:58:43 +05:30
Yash Srivastav
7229e0dda4
Disable history completion during emoji completion
2017-04-26 13:58:43 +05:30
Yash Srivastav
785842cde5
Add emoji/nick/commands/chan autocomplete
2017-04-26 13:58:36 +05:30
Pavel Djundik
e3bd30b05f
Merge pull request #1077 from thelounge/yamanickill/1073-ban-unban
...
Add ban/unban command
2017-04-26 11:17:41 +03:00
Alistair McKinlay
b03d01b6eb
Add ban/unban command
...
Fixes #1073
2017-04-26 08:54:25 +01:00
Alistair McKinlay
d0987719ce
Replace the state on init rather than adding a new entry
...
Fixes #1042
2017-04-26 08:36:26 +01:00
Alistair McKinlay
fe07bf6637
Add fix for slow scrolling when holding pg-up/pg-dn
...
Fixes #1022
2017-04-24 12:01:24 +01:00
Alistair McKinlay
326f1ac476
Create options module
2017-04-24 09:06:01 +01:00
Pavel Djundik
c583d6edf9
Correctly update user list and search filtering on user updates
2017-04-23 18:18:56 -04:00
Pavel Djundik
b1e9a7ffda
Use separate container for search results
2017-04-23 18:18:56 -04:00
Jérémie Astori
cfa9da17a7
Rely on fuzzy's case insensitivity, do not trim mode
2017-04-23 18:18:56 -04:00
Jérémie Astori
6a26014b81
Implement fuzzy-matching for the user list
2017-04-23 18:18:56 -04:00
Pavel Djundik
98e3bd0ca2
Merge pull request #1054 from thelounge/astorije/friendly-date-marker
...
Use moment on the client to display friendly dates
2017-04-23 10:24:21 +03:00
Alistair McKinlay
2e286849fc
Move commands into constants module
2017-04-22 20:16:59 +01:00
Pavel Djundik
7522847ecc
Enable show more button correctly
2017-04-22 19:04:46 +03:00
Alistair McKinlay
1e504f4383
Add support for banlist messages
2017-04-22 13:51:28 +01:00
Jérémie Astori
5fabf2f61a
Make sure friendly date markers are reset at midnight
2017-04-22 00:39:00 -04:00
Jérémie Astori
648cfd12db
Use moment on the client to display friendly dates
...
Also, unread and date markers are now half-transparent based on their colors and not parent opacity. This is necessary to display a non-translucide tooltip.
2017-04-22 00:38:19 -04:00
Jérémie Astori
bc5b03d2fc
Merge pull request #1060 from thelounge/yamanickill/modularise-socket
...
Create socket module
2017-04-22 00:36:06 -04:00
Pavel Djundik
999e419636
Remove cycle nicks button
...
Reverts #708 .
Fixes #869 .
Fixes #1023 .
2017-04-21 21:00:57 +03:00
Jérémie Astori
fa1aecdd9e
Remove URI.js monkey-patch as fix landed in v1.18.5
...
See https://github.com/medialize/URI.js/issues/325
2017-04-21 20:31:27 +03:00
Jérémie Astori
03e3444a35
Explain the modules of the message parser and add tests
...
- Add comments and descriptions to:
- `findChannels.js`
- `parseStyle`
- `findLinks`
- `fill`
- `anyIntersection`
- `merge`
- `parse`
- Minor optimizations to `parseStyle`
- Add tests for `fill`
2017-04-21 20:31:27 +03:00
Jérémie Astori
90f4a94bb2
Use template literals in parse
...
Also make it output double quotes for consistency with web stuff.
2017-04-21 20:31:27 +03:00
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
Alistair McKinlay
05d363d9a5
Create socket module
2017-04-21 09:54:46 +01:00
Al McKinlay
9072fda146
Merge pull request #1052 from KlipperKyle/KlipperKyle/motd
...
Issue 1019: Show MOTD by default
2017-04-20 09:07:27 +01:00
Jérémie Astori
4de632ba3c
Merge pull request #1018 from swordbeta/sort_channel_list
...
Improve channels list.
2017-04-20 01:40:14 -04:00
Michael van Tricht
764ac831d4
Improve channels list.
...
- Set fixed width to channel and users column.
- Sort by number of users in channel.
- Executing /list multiple times wont show multiple tables.
- Channel list is not stickied to the bottom.
- Limit channels to 500. Scrolling through 1k is very slow on my system.
2017-04-19 12:02:15 +02:00
Kyle Terrien
a900abc2a4
Issue 1019: Show MOTD by default
2017-04-18 19:48:14 -07:00
Alistair McKinlay
4938878d10
Disable show more button when loading messages
2017-04-17 10:35:27 +01:00
Daniel Oaks
5c336d3789
Add slug with command to unhandled messages
2017-04-16 12:31:32 +03:00
William Boman
cc0962ba12
client: implement states using the History Web API
2017-04-15 22:34:14 +02:00
Pavel Djundik
d093a7f4c2
Reset notification markers on document focus
...
Fixes #837
2017-04-15 18:43:34 +03:00
Pavel Djundik
fce3d11e74
Stick to bottom when opening user list
...
Fixes #1031
2017-04-14 21:29:04 +03:00
Michael van Tricht
bcbd29cd22
Unread marker takes hidden messages into account.
2017-04-08 15:56:09 +02:00
Pavel Djundik
bb24bc645c
Merge pull request #1013 from awalgarg/patch-1
...
fix: count only message items for show-more
2017-04-06 06:43:29 +03:00
Awal Garg
c066f25b17
fix: count only message items for show-more
...
the `messages` div contains a `date-marker` div and an `unread-marker` div. this causes the `count` variable to be 2 more than the expected value, which makes the show-more button skip two messages when loading history. this change filters the counted elements to fix this issue.
2017-04-06 00:45:28 +05:30
Jérémie Astori
09eaf80f8c
Fix page scroll glitch
2017-04-02 21:03:01 -04:00
Pavel Djundik
2d9aa35c06
Implement pgup/pgdown keys
2017-04-01 22:35:07 +03:00
Pavel Djundik
110c0f0c87
Correctly append date marker when receiving a message
2017-04-01 11:06:01 +03:00
Pavel Djundik
212703d162
Merge pull request #810 from thelounge/xpaw/color-hotkeys
...
Implement color hotkeys
2017-03-31 19:17:16 +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
Jérémie Astori
e62da5b1ea
Remove extra newline to please ESLint
...
See https://travis-ci.org/thelounge/lounge/jobs/217041734#L1200
2017-03-31 01:26:37 -04:00
Jérémie Astori
abd155e881
Merge pull request #873 from PolarizedIons/fix-username-override
...
Fix filling in the nickname, overriding the username (in add network tab)
2017-03-31 01:20:12 -04:00
Pavel Djundik
3b2e3fc08c
Enforce more space and new line rules
2017-03-18 21:40:39 +02:00
Stephan
3318acd16b
fix filling in nickname overriding username (in add network tab)
2017-03-18 18:11:43 +02:00
Pavel Djundik
dcefcd19cb
Use require() instead of import in client code
...
Closes #895
2017-03-18 11:21:18 +02:00
Pavel Djundik
f2e43b84be
Implement color hotkeys
2017-03-12 11:50:18 +02:00
Jérémie Astori
dcc98c3efb
Un-ellipsis placeholder and use ES6 template
2017-01-24 23:55:57 -05:00
Alistair McKinlay
0d8b58425e
Merge pull request #855 from MaxLeiter/MaxLeiter/search
...
Fix searching for user in user list, closes #851
2017-01-04 11:15:14 +00: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
Max Leiter
ba00738f1f
Fix searching for user in user list, closes #851
2016-12-29 18:03:05 -10: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
Jérémie Astori
b07ec94bc3
Remind channel name or nick in input placeholder
2016-12-20 20:13:05 -05:00
Pavel Djundik
7709847267
Fix unread marker being removed from DOM
2016-12-19 14:46:18 +02:00
Pavel Djundik
d24eb44991
Merge pull request #818 from thelounge/xpaw/no-notif-controls
...
Strip control characters from notifications
2016-12-19 12:52:12 +02:00
Pavel Djundik
8fff5ee829
Strip control characters from notifications
2016-12-18 18:19:03 +02:00
Pavel Djundik
3d6e4a38c6
Prevent focus on mobile
2016-12-17 21:17:23 +02:00
Pavel Djundik
7933b2453d
Only append "says" to notifications if its a message
2016-12-17 13:05:12 +02:00
Jérémie Astori
3d0e1fd9f0
Merge pull request #745 from thelounge/xpaw/away-command
...
Implement /away and /back commands
2016-12-16 23:16:02 -05:00
Jérémie Astori
86358c619b
Lock input message when app is disconnected
2016-12-14 01:35:32 -05:00
Pavel Djundik
a8926e2ced
Stop refreshing the page on every socket.io error
2016-12-13 01:55:11 -05:00
stepie22
a5ad573b2d
Sync reordering of channels/networks to other clients
2016-12-09 14:56:19 +02:00
stepie22
10fefab279
Switch to jQuery's hasClass instaid of checking direct class equality
2016-12-01 13:25:49 +02:00
stepie22
c160852042
slight nit-pick
2016-11-28 19:55:16 +02:00
stepie22
06ecf625c6
Fix date-marker not being removed when at the top of the page sometimes
2016-11-25 18:05:04 +02:00
stepie22
93f0f6942e
Add a date seperator
2016-11-23 16:35:42 +02:00
Alistair McKinlay
c954d9c9a3
Merge pull request #739 from williamboman/fix/dont-dismiss-notifications
...
client: don't dismiss native web notifications programmatically after 5s
2016-11-22 15:44:03 +00:00
Pavel Djundik
6023035838
Update depdencides to latest stable versions
2016-11-19 10:49:16 +02:00
Pavel Djundik
f24f707119
Implement /away and /back commands
2016-11-19 10:27:39 +02:00
William Boman
6e1cdb370b
client: don't dismiss native web notifications programmatically after 5s
2016-11-16 17:43:30 +01:00
Jérémie Astori
dff1a48e05
Prevent sound notification to throw an exception on mobile
2016-11-08 01:02:56 -05:00
Jérémie Astori
e21ec8b447
Silence failures to trigger notifications when not available
...
Recent Chrome versions are dropping out `new Notification` in favor of `ServiceWorkerRegistration.showNotification`.
This makes sure nothing bad happens until we have proper support for Service Workers.
See:
- https://stackoverflow.com/questions/29774836/failed-to-construct-notification-illegal-constructor
- https://stackoverflow.com/questions/31512504/html5-notification-not-working-in-mobile-chrome
2016-11-08 01:02:25 -05:00
Pavel Djundik
837f78f1ae
Merge pull request #483 from williamboman/fix/focus-input-on-submit
...
client: re-focus input on chat form submit
2016-10-28 19:14:26 +03:00
Jérémie Astori
e9b118ea71
Merge pull request #708 from thelounge/astorije/nick-cycle
...
Add a UI element to cycle through nick completions on mobile
2016-10-25 18:45:07 -04:00
Maxime Poulin
0bef9e9cde
Merge pull request #720 from stepie22/unread-counters-fix
...
Fix unread counters resetting when they shouldn't
2016-10-25 12:41:10 -04:00
stepie22
ee1a629be9
Fix incorrect selector for undead badge on channels
2016-10-25 13:58:28 +02:00
Jérémie Astori
ddaf7ff300
Add a way to cycle through nicks on mobile
...
This was heavily inspired by https://github.com/maxpoulin64/lounge/commit/a877e46 .
Clearly not a definitive solution but a good start to have and to improve upon.
2016-10-25 01:03:43 -04:00
stepie22
1a4974b7df
Fix channels drag'n'droping
2016-10-23 11:47:33 +02:00
Jérémie Astori
d82a894b7b
Remove browser notification polyfill and inform user when unsupported
2016-10-22 17:26:34 -04:00
Jérémie Astori
f5af8a4986
Merge pull request #674 from MaxLeiter/MaxLeiter/override-defaults
...
Override defaults with URL
2016-10-17 02:11:30 -04:00
Pavel Djundik
a1f56c7395
Improve support for opening multiple clients at once
...
- Synchornize unread counter with the server
- Fix unread marker on no attached clients
- Increase unread counter for server messages
2016-10-17 01:31:22 -04:00
Pavel Djundik
4f5bb55951
Revert "Do not trigger a DOM event on every message"
2016-10-14 18:49:08 +03:00
William Boman
aabdf562a6
client: re-focus input on chat form submit
2016-10-11 10:43:27 +02:00
Max Leiter
0d058a5ef7
Begin work on overriding defaults in URL
2016-10-10 10:35:33 -07: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
e9d7d77cbd
Merge pull request #661 from thelounge/xpaw/no-dom-event
...
Do not trigger a DOM event on every message
2016-10-08 16:35:14 -04:00
Pavel Djundik
024369d4c3
Implement our own /nick command to allow editing nick when not connected
2016-10-01 16:51:35 -04:00
Jérémie Astori
12839af684
Make nick badge editable to set it in the UI
2016-10-01 16:51:34 -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
Pavel Djundik
743d4b61d5
Do not trigger a DOM event on every message
2016-10-01 13:09:57 +03: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
28b5fdb8ce
Merge pull request #637 from thelounge/xpaw/extra-loading
...
Display extra loading messages
2016-09-30 01:34:05 -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
Jérémie Astori
345aac1a27
Merge pull request #258 from maxpoulin64/channel-list
...
Implement /list
2016-09-29 02:47:34 -04:00
Pavel Djundik
396a9cffb1
Display extra loading messages
2016-09-25 09:52:16 +03:00
Jérémie Astori
813572de47
Ensure localStorage cannot fail because of quota or Safari private browsing
...
See http://stackoverflow.com/q/14555347/1935861
2016-09-20 23:43:23 -04:00
Jérémie Astori
b153d568a0
Add a theme selector in the settings
...
Power to the people!
There is now 2 ways to set the theme: on the app config file (defaults
for all users) and in the user settings.
All CSS files present in the `client/themes` folder will be given as
choices to the users.
This is temporary (as in, temporary for a fairly long time) until we
have proper theme management.
2016-09-06 01:11:31 -04:00
Jérémie Astori
c4cfd7e4b5
Alphabetically order default user settings, remove unnecessary continue statement, transform ifs into else-ifs
2016-09-06 01:11:31 -04:00
Jérémie Astori
34036a4b7a
Allow ourselves to have decent looking select elements in the settings
2016-09-06 01:11:31 -04:00
Jérémie Astori
d48830a1fd
Make custom highlights case-insensitive
2016-08-16 10:09:19 -04:00
Jérémie Astori
dd02f0f029
Make sure input height is reset when submitting with icon
...
This is especially noticeable on mobile, where clicking Send icon is more natural.
2016-08-11 01:13:41 -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
Jérémie Astori
a7fe19deca
Merge pull request #496 from davibe/restore-scroll
...
restore scroll position after loading previous messages
2016-07-28 00:48:08 -04:00
Davide Bertola
6af8da2106
restore scroll position after loading previous messages
2016-07-27 07:53:41 +02:00
Maxime Poulin
1f11293ac9
Reset the unread marker on channel change
...
This restores the old behavior of resetting the unread marker on channel change, as that's usually at this point one wants to check for new messages and is also what matches on the server. I feel this is overall more consistent and useful, and also more in line with what other clients do.
2016-07-24 02:21:44 -04:00
Maxime Poulin
1d47290ada
Implement /list
...
Thanks to @xPaw for the base of this code
2016-07-22 21:42:42 -04:00
Maxime Poulin
0eef5d9240
Add touch slideout menu for mobile
2016-07-22 21:30:45 -04:00
Pavel Djundik
1fa545152f
Create a single function to render networks to reduce code duplication
2016-07-22 01:10:20 -04:00
Maxime Poulin
3f86dde979
Merge pull request #486 from thelounge/astorije/notification-menu
...
Add a red dot to the mobile menu icon when being notified
2016-07-17 18:50:02 -04:00
Jérémie Astori
27b33f49a8
Fix a bug breaking textarea on Android
2016-07-17 16:22:27 -04:00
Jérémie Astori
e599f9d69f
Revert "Slight optimization in the textarea code"
2016-07-16 23:38:20 -04:00
Maxime Poulin
22d2751a67
Slight optimization in the textarea code
...
Not that it matters (7.9ms->3.8ms), but I figured since I took the time to profile it as a joke I might as well make it a PR. Mobile might have a slight reduction in typing lag from it?
2016-07-16 02:56:54 -04:00
Jérémie Astori
c9d4513b26
Send user to lobby of deleted chan when parting from active chan
...
Instead of always sending them back to the very first lobby on the app.
This fixes a bug introduced in recent layout change but does not bring previous behavior back:
When closing active channel, user gets sent to lobby instead of previously visited channel.
2016-07-11 01:24:43 -04:00
Jérémie Astori
0520c6a6ec
Add a red dot to the mobile menu icon when being notified
...
On mobile, there is no favicon to toggle, so nothing shows up when a new notification arrives.
This commit changes this by adding a marker on the burger menu icon, visible on all channels
2016-07-10 16:42:15 -04:00
William Boman
41eede7003
client: fix chat not being stickied to the bottom when joining channel
2016-07-10 13:01:31 +02:00
Maxime Poulin
26bf948fdc
Fix being unable to switch window from settings to chan
2016-07-06 03:08:27 -04:00
Maxime Poulin
37b5f28919
Fix window layout a bit
2016-07-06 00:18:40 -04:00
Maxime Poulin
18c615236d
Merge pull request #332 from thelounge/xpaw/unread-marker
...
A proper unread marker
2016-07-06 04:06:14 +00:00
Jérémie Astori
b3d3582d2f
Merge pull request #286 from thelounge/xpaw/unknown-command
...
Display unhandled numerics on the client
2016-07-05 23:23:15 -04:00
Pavel Djundik
d37e94308d
Unread marker MVP
2016-07-05 15:32:41 -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
34b4a7a018
Merge pull request #366 from thelounge/xpaw/fix-clicks
...
Improve click handling on users and inline channels
2016-07-03 20:51:20 +03:00
Pavel Djundik
083b2d54e6
Merge pull request #455 from williamboman/fix/tap-hide-chat-prevent-default
...
client: stop propagation when hiding the chat through click/tapping the chat
2016-07-03 19:10:30 +03:00
William Boman
a23a26679f
client: stop propagation when hiding the chat through tapping/clicking
2016-07-03 17:36:18 +02:00
Pavel Djundik
2d7922769f
Only trigger custom highlights for non-self messages and notices
2016-07-03 16:28:02 +03:00
Pavel Djundik
cada00ab6a
Display unhandled numerics on the client
2016-07-03 11:47:53 +03:00
Pavel Djundik
8b8050d02a
Remove javascript scrollbar library, use hover appearing scrollbar instead
2016-07-02 13:28:22 +03:00
Alistair McKinlay
feda6615f9
Add custom highlights
2016-06-29 19:04:39 +01:00
Jérémie Astori
7289844182
Select search targets based on class and not element
...
This fixes the search after changing from buttons to spans.
2016-06-24 02:31:28 -04:00
Pavel Djundik
da9b0636fb
Improve click handling on users and inline channels
2016-06-22 18:36:01 +03:00
Pavel Djundik
c4ac0fd127
Remove navigator.standalone detection
2016-06-22 15:56:33 +03:00
Jérémie Astori
e5dddbac01
Make style of loading page similar to other pages
...
- Move markup around to make the loading page a window of its own
instead of a sub-window of `#chat`
- Remove inline styling in loading page
- Use same styling than other non-messages windows for title and text
- Add a `z-index` to the loading page to hide the message input
- Vertically align the sign in page title with all other titles
- Make sure all `h1.title`s are bottom-margined consistently and remove
negative margin on the Settings page title to align with the Connect
page title (Reverting/Improving this should be done at the `h2` level
instead)
2016-06-21 18:01:11 -04:00
Jérémie Astori
1f4e2b42fd
Do not display the sidebar on loading and sign-in pages
...
Also:
- Remove burger menu icon on mobile version of sign-in page
- Add the .signed-out class to the initial body instead of only when
sign-in has failed
- Remove hiding connect and logout button icons, which was buggy and is
now useless anyway
2016-06-21 01:17:07 -04:00
Pavel Djundik
85a536726f
Display a loading message instead of blank page
2016-06-19 20:38:38 +03:00
Jérémie Astori
500c6e2f2b
Merge pull request #364 from williamboman/fix/chat-input-focus
...
client: fix focusing input when clicking chat container
2016-06-19 12:01:34 -04:00
Jérémie Astori
75c578c02c
Merge pull request #369 from thelounge/xpaw/fix-losing-auth
...
Do not lose authentication token when the connection gets lost
2016-06-18 22:35:12 -04:00
Pavel Djundik
a94b9623f9
Prepend http protocol to www. links in chat
...
Fixes #406
2016-06-16 17:40:02 +03:00
Pavel Djundik
2008abc0e8
Do not lose authentication token when the connection gets lost
2016-06-13 10:39:01 +03:00
Pavel Djundik
9384cd9ca6
Implement user token persistency
2016-06-13 10:33:39 +03:00
William Boman
e5905dee9e
client: fix focusing input when clicking chat container
2016-06-10 15:21:34 +02: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
Maxime Poulin
21eafef32d
Don't send completely empty messages
2016-05-25 03:27:25 -04:00
Pavel Djundik
080495e0d1
Turn favicon red on page load if there are highlights
2016-05-23 20:51:24 +03:00
Max-P
423151ad97
Merge pull request #334 from thelounge/xpaw/query-highlights
...
Fix notifications in query windows
2016-05-21 22:09:55 -04:00
Pavel Djundik
1c57363106
Fix notifications in queries, limit message highlights to channels
2016-05-16 22:46:54 +03:00
Jérémie Astori
1af00d30c5
Invert no-colors CSS class and rename option
...
This will reset users' preference regarding colored nicknames but it's to make
it more specific than just "colors".
2016-05-15 15:56:48 -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
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