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
4a75ca57e0
Merge pull request #1125 from thelounge/astorije/rm-autocompletion-help
...
Remove autocompletion section from the help page
2017-05-06 13:41:46 +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
Jérémie Astori
60bf4b22b0
Remove autocompletion section from the help page
...
Rationale for this is that the whole point of autocompletion is to be intuitive and show up naturally when starting to type something else. For example, all commands start with `/`, so obviously starting to type a command will trigger autocomplete. This is true for channels as well. Emoji are a bit particular because all systems that support emoji open their completion with `:`. The only not-so-intuitive completion strategy is for nicks because it is not so common to start them with `@` on IRC, but as long as we keep tab completion after any set of characters, this is fine. It will be even nicer once regular tab completion uses the same autocompletion dropdown.
2017-05-01 15:32:23 +02: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
381ea326f4
Disable tabindex on userlist search input
...
Fixes #1036 .
2017-04-30 15:07:09 +03:00
Pavel Djundik
0773bf1ecb
Merge pull request #1108 from MaxLeiter/ctcp-command
...
Add ctcp to constants, adds to auto-complete
2017-04-29 09:17:48 +03:00
Max Leiter
70655120cb
Add ctcp to constants, adds to auto-complete
2017-04-28 14:45:18 -07:00
Pavel Djundik
a3810dea06
Fix chat layout on small devices when users list is hidden
...
Fixes #1092
2017-04-28 21:58:00 +03:00
Jérémie Astori
927c40739e
Fix network layout displaying the scrollbar incorrectly
...
This was introduced by https://github.com/thelounge/lounge/pull/856/files#diff-97db1f70168fb5f12457b238ff6052b5R773 (and L794-798): a right position got introduced for all channel containers, but default position for other types of containers was absent before this script.
2017-04-26 23:30:51 +02: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
29d8bc9d3d
Add Help for autocompletion
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
Jérémie Astori
ac9101ed61
Merge pull request #1066 from thelounge/yamanickill/options-module
...
Create options module
2017-04-26 00:17:51 +02:00
Alistair McKinlay
b69ba5e4b1
Fix showing prefetch options
2017-04-25 10:26:52 +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
Jérémie Astori
52814113a9
Merge pull request #1068 from thelounge/patch-show-more
...
Enable show more button correctly
2017-04-22 12:50:01 -04:00
Pavel Djundik
d1ecdb6b52
Fix displayNetwork to work correctly
2017-04-22 19:05:58 +03: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
Pavel Djundik
761dfbb33c
Merge pull request #1057 from thelounge/1055-handlebars-index
...
Change index.html to be rendered using handlebars
2017-04-22 11:26:13 +03: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
Alistair McKinlay
adfd99c92c
Add fix for undefined name being slugified
2017-04-21 09:32:57 +01:00
Alistair McKinlay
b4310dbc03
Review changes
...
(Should be squashed before merge)
2017-04-21 09:26:02 +01:00