Reto Brunner
d6e1af0e7d
Fix regex escape for prefix patterns
...
Our regex escape function escapes proper regexes, however
it isn't meant to be shoved into a char class via string interpolation.
We need to also escape '-' if we do so.
2022-07-04 10:08:23 +02:00
Max Leiter
dd05ee3a65
TypeScript and Vue 3 ( #4559 )
...
Co-authored-by: Eric Nemchik <eric@nemchik.com>
Co-authored-by: Pavel Djundik <xPaw@users.noreply.github.com>
2022-06-18 17:25:21 -07:00
Max Leiter
4be9a282fa
Add the option to mute channels, queries, and networks ( #4282 )
...
Co-authored-by: Reto <reto@labrat.space>
2022-02-10 17:56:17 -08:00
Reto
d228a8c4f4
Bump most deps ( #4453 )
2022-02-09 15:27:34 -08:00
itsjohncs
763047889d
Remove uses of window.event.
...
window.event is a deprecated global that's set to the currently
dispatched event.
- Opened and closed mentions box by clicking its icon in the top bar
- Left and right clicked on an inline channel name and saw context menu
open both times
- Two-finger swiped on iOS and saw channel change
- Long-touched and dragged channel in network list on iOS and reordered
the list successfully
2021-12-20 15:34:28 -08:00
sfan5
1d5291929c
Add context menu when clicking inline channel name ( #4376 )
2021-11-29 15:35:26 -08:00
itsjohncs
393d4fe591
Enable Android's context menus in network list.
...
After #4326 Android users could no longer long-touch to bring up the
context menu for channels in the network list. Now they can again.
2021-10-30 02:06:35 -07:00
itsjohncs
ebe39b26dc
Two-finger swipe now switches windows ( #3901 )
...
The Alt+Up and Alt+Down keybindings on Desktop did not have an
equivalent for Mobile users. Now a two-finger swipe left on a
touchscreen is equivalent to Alt+Up (similarly swipe right is
equivalent to Alt+Down).
2021-10-07 13:39:19 -07:00
Reto
8fcd079204
Properly track user modes for context menu ( #4267 )
...
* properly track user modes for context menu
The RPL_ISUPPORT response contains a PREFIX element, which not only tracks the
prefix chars ("@", "+" etc) but also their corresponding mode chars (+O, +v)
This commit changes the context menu to not rely on a hardcoded list but rather
user the one given in the prefix response by the server.
Co-authored-by: Max Leiter <maxwell.leiter@gmail.com>
2021-07-21 00:30:07 -07:00
Max Leiter
11ba27d809
Update emoji map
2021-07-06 01:31:24 -07:00
Mary Strodl
283ef445e5
Merge remote-tracking branch 'origin/master' into richrd/message-search
2021-04-12 22:00:49 +02:00
Max Leiter
e4069f8ce9
Fix client crash when opening a user context menu in query
2021-03-30 22:33:48 -07:00
Mitaka
dc0e233fe0
Show give/revoke modes and kick on other modes than +o
...
Fix #3965
Signed-off-by: Mitaka <jin@mitaka.nl>
2021-03-12 14:33:51 +01:00
Will Lewis
9aadf1a739
Add gopher and gemini to the commonSchemes
2021-02-01 10:43:06 -05:00
Yorick Bosman
51b0ec1e98
Add ignore option to contextmenu
2020-11-18 23:57:20 +01:00
Pavel Djundik
3fde2aa7b9
Always use multi-prefix modes
...
Fixes #323
2020-09-01 11:45:08 +03:00
Pavel Djundik
19d6b7d98f
Replace dashes to underscores in emoji autocompletion
2020-08-13 10:47:50 +03:00
Pavel Djundik
8c6460b58a
Disable link prefetching for urls with no schema specified
2020-08-04 20:21:12 +03:00
Richard Lewis
b4d02c3c56
Fix context menus in search results.
2020-06-03 14:04:57 +03:00
Pavel Djundik
f0253075d8
Create an event bus
2020-04-24 14:09:09 +03:00
Pavel Djundik
52bf7b116e
Do not handle keybinds in inputs if not empty
...
Fix #3813
2020-03-22 20:44:14 +02:00
Pavel Djundik
881b3eda19
Run format after updating to prettier 2.0
2020-03-21 22:55:36 +02:00
Pavel Djundik
c463d1ddd3
Emit an event to clear history on all open clients
2020-02-28 17:01:28 +02:00
Pavel Djundik
44a8925b8c
Create a generic confirmation dialog
2020-02-28 17:01:28 +02:00
Pavel Djundik
7216b8124b
Add context menu to clear channel history
2020-02-28 17:01:28 +02:00
Pavel Djundik
6422136d50
Add emojis 13.0
2020-01-31 10:36:06 +02:00
Pavel Djundik
1870145674
Add keybinds to expand and collapse networks
...
Fixes #3523
2020-01-02 22:45:21 +02:00
Pavel Djundik
a12a24adbe
Replace control codes with a space
2019-12-27 20:39:28 +02:00
Pavel Djundik
60ca8850d9
Focus topic edit input by using $refs
2019-12-19 15:06:33 +02:00
Pavel Djundik
f2bf1fa90a
Use friendlysize helper consistently
...
Co-Authored-By: fnutt <fnutt@users.noreply.github.com>
2019-12-16 22:00:35 +02:00
Pavel Djundik
09ddbd156c
Add Unicode 12.1 emojis
2019-11-29 20:26:33 +02:00
Pavel Djundik
d6923d0c6d
Regenerate fullnamemap.json
2019-11-26 14:17:37 +02:00
Pavel Djundik
10b1cedbb6
Remove \uFE0F emoji variant from emoji name map
2019-11-26 14:17:37 +02:00
Pavel Djundik
83f3fe772a
Remove user/pass support from irc://, support multiple channels
...
Other clients and specs explicitly don't support user:pass
2019-11-25 20:13:19 +02:00
Pavel Djundik
ec85372132
Fix uri handling and add tests
2019-11-25 20:13:18 +02:00
Pavel Djundik
90ec37ce82
Replace confirm() with context menu
...
window.confirm() blocks the javascript thread and will cause the socket connection to drop
2019-11-25 20:13:18 +02:00
Richard Lewis
dca6543070
Implement closeChannel method.
2019-11-25 20:13:17 +02:00
Pavel Djundik
2a6c57abaa
Fix context menu generation
2019-11-25 20:13:16 +02:00
Pavel Djundik
49dc6ffd8f
Fix client tests
2019-11-25 20:13:15 +02:00
Pavel Djundik
e76d5d2ef9
Port keybinds to vue state; remove jQuery
2019-11-25 20:13:14 +02:00
Pavel Djundik
0cb8dc73bb
Use es6 import syntax
2019-11-25 20:13:12 +02:00
Richard Lewis
a71472a427
Port contextmenus to Vue
2019-11-25 20:13:11 +02:00
Pavel Djundik
111c3665f9
Replace moment with dayjs
...
Drop in replacement, but smaller
2019-11-25 20:13:10 +02:00
Pavel Djundik
fc1c9568e2
Rename helpers folder, move some vue filters
2019-11-25 20:12:58 +02:00