Commit graph

7214 commits

Author SHA1 Message Date
Max Leiter 462488edfd
Allow cancel button in ConfirmDialog to be customizable 2021-11-16 00:03:02 -08:00
Max Leiter 2b0beac1d9
Add confirm dialog for uploading long lines as a file 2021-11-15 23:55:20 -08:00
Pavel Djundik b6819b6dfc
Upload multi line or long input as file 2021-11-15 18:11:21 -08:00
Max Leiter 25d493453e
Merge pull request #4356 from thelounge/maxleiter/rmNode10
Bump required node version to 12.x and add 16.x builds
2021-11-04 17:11:31 -07:00
Max Leiter f3af454c9e
Add Node 16 LTS tests and bump mac/windows tests 2021-11-04 16:59:38 -07:00
Max Leiter 186f8f68cd
Merge pull request #4351 from brunnre8/glob
Allow wildcards in hostmask
2021-11-04 14:36:27 -07:00
Max Leiter 59280cfdfd
Merge pull request #4329 from brunnre8/plugins
Add more plugin functionality
2021-11-04 14:12:02 -07:00
Reto Brunner 67503efd21 Allow wildcards in hostmask
According to https://modern.ircdocs.horse/#wildcard-expressions
masks should support "*" and "?" wildcards.
Within TL this only impacts the /ignore functionality.

The reasoning for doing this is to ignore say GuestNNNN!*@* with
guest*!*@* and be done with it if someone spams a gateway.
2021-11-04 20:16:20 +01:00
Max Leiter 7ba977d56a
Bump required node version to 12.x
Node 10 was deprecated in April 2021.
2021-11-04 02:36:06 -07:00
Max Leiter 2a901b3475
v4.3.0-pre.6 2021-11-04 02:06:21 -07:00
Max Leiter 2777cc2db9
Add changelog entry for v4.3.0-pre.6 2021-11-04 02:06:09 -07:00
Max Leiter 979dfaf3eb
v4.3.0-pre.5 2021-11-03 15:52:46 -07:00
Max Leiter 9592563a27
Add changelog entry for v4.3.0-pre.5 2021-11-03 15:52:37 -07:00
Max Leiter 0381cd11bf
Merge pull request #4345 from itsjohncs/small-db-cleanups
Small cleanup of messageStorage/sqlite.
2021-11-03 15:45:48 -07:00
Max Leiter b5e99c0489
Merge pull request #4352 from itsjohncs/very-rounded-search
Prevent round and white search styling in iOS 15.
2021-11-03 15:45:33 -07:00
itsjohncs ea619f5463 Prevent round and white search styling in iOS 15. 2021-11-03 01:50:11 -07:00
Max Leiter 3cab39c59b
Merge pull request #4340 from itsjohncs/long-channel-names
Improve responsiveness of channel name and topic.
2021-11-02 13:18:39 -07:00
Max Leiter fd730eeeb1
Merge pull request #4344 from brunnre8/csp
Force CSP headers for all requests
2021-11-02 12:51:39 -07:00
Max Leiter a8d438261a
Merge pull request #4332 from itsjohncs/android-context-menu
Enable Android's context menus in network list.
2021-11-02 11:57:24 -07:00
Max Leiter 3bb8d2f4b8
Merge pull request #4348 from thelounge/renovate/linkify-it-3.x
Update dependency linkify-it to v3.0.3
2021-11-01 17:56:00 -07:00
Max Leiter 80e0e0fd16
Merge pull request #4349 from thelounge/renovate/mime-types-2.x
Update dependency mime-types to v2.1.33
2021-11-01 17:55:50 -07:00
Renovate Bot 3da5e8e8ca
Update dependency mime-types to v2.1.33 2021-11-01 00:21:57 +00:00
Renovate Bot 411ce5d2f8
Update dependency linkify-it to v3.0.3 2021-11-01 00:21:41 +00:00
itsjohncs 602de668ee Use patched Sortable JS from itsjohncs/Sortable.
This is a (hopefully) temporary solution while we wait for SortableJS
to merge in SortableJS/Sortable#2095 and make a release.
2021-10-30 02:06:35 -07: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
Max Leiter a3a9a2cdd9
Merge pull request #4342 from deejayy/password-reveal-icon
Move font assignment of password reveal icon
2021-10-28 09:53:36 -07:00
itsjohncs 044cd2403b Small cleanup of messageStorage/sqlite.
* Extend test coverage to the `search` function.
* Test sort order of messages from `getMessages` and `search`
* Move reversal of `search` results from Vue to messageStorage.
* Remove unnecessary uses of `sqlite.serialize` in tests.
* Return promises from test functions where possible.
2021-10-28 00:48:11 -07:00
Reto Brunner 544146d9aa Force CSP header for all requests
Currently styles / plugins were not actually under the CSP
header protection.
There's no real reason to not have them for all requests, so
add them as a root middleware.
2021-10-26 22:20:06 +02:00
Max Leiter 97f3800785
Merge pull request #4343 from hom3chuk/master
bump vulnerable ua-parser-js version
2021-10-26 12:50:46 -07:00
Evgeniy Chekan 8ab486ef0f bump vulnerable ua-parser-js version 2021-10-25 21:09:02 +03:00
deejayy cf18d04f06 Move font assignment of password reveal icon 2021-10-25 19:39:59 +02:00
Max Leiter 5d7e62ed67
Merge pull request #4341 from Nachtalb/na/fix-proxy-password
* Fix authenticated proxy
* Save the proxy password so you don't have to reenter it after restart
2021-10-24 14:06:53 -07:00
Nachtalb 206d554ce1
Save the proxy password so you don't have to reenter it after restart 2021-10-24 21:27:43 +02:00
Nachtalb 578b1947e2
Fix authenticated proxy 2021-10-23 01:11:54 +02:00
itsjohncs 56d4a6afde Improve responsiveness of channel name and topic.
This commit makes two changes:

1. Long channel names are truncated.
2. Topics cannot be shrinked into non-existence.
2021-10-22 13:57:13 -07:00
Reto 3ba7fb6de4
Prevent autocomplete for highlight settings (#4337)
Chrome seems to somewhat often auto fill the text input of the
highlight exception list with my username as the next field that
follows is of type password.
Try to work around that by telling chrome not to autofill either of
those.

Do note that this is only a hint... The broser vendors apply some
$magic heuristics and if they trigger they ignore the hint.
2021-10-20 18:34:31 -07:00
John Sullivan 21c6abdd1d
Clarify description of prefetchMaxSearchSize. (#4338)
This is a comments only change that fixes two problems:

1. The previous comment described it as limiting request size, but it
   instead limits the response size.
2. Previously it was unclear _why_ this size was significant. It wasn't
   obvious to me that the entire response would be stored in memory.
2021-10-18 23:20:11 -07:00
John Sullivan 80acbc7c06
Fix sporadic rounding on message search bar. (#4333)
This is fixed in the same way as #4328.
2021-10-17 22:11:08 -07:00
Reto Brunner 1e896a9672 plugins: prefix logger with the plugin name 2021-10-13 23:39:32 +02:00
John Sullivan 5d76ed888c
Clean up global listener in Sidebar component. (#4331)
Every time the component was mounted it would add another listener.
Since old listeners would often error this could cause a lot of log
spam, particularly when using the hotloader on a mobile device.
2021-10-13 13:19:34 -07:00
John Sullivan 2b634a6ba6
Use SortableJS 1.14.0. (#4330)
This should be reverted after SortableJS/Vue.Draggable#1085 is merged
and a new release of Vue.Draggable becomes available.
2021-10-13 13:18:03 -07:00
William Boman 2693db4274
client/Mentions: change button copy to "Dismiss all" (#4322)
* client/Mentions: change button copy to "Dismiss all"

* s/hide/dismiss/g
2021-10-12 15:56:39 -07:00
Max Leiter 1d33e0195a
Merge pull request #4324 from itsjohncs/gestures-next-channel
Two-finger swipe now switches windows (#3901)
2021-10-12 15:53:54 -07:00
Max Leiter fcffab1259
Merge pull request #4326 from itsjohncs/mobile-channel-list-sorting
Allow network list reordering via touch.
2021-10-12 15:53:18 -07:00
Reto Brunner 02ccbc1f69 plugins: expose persistant data dir
Plugins need to be able to store persistant files, say settings or
databases or similar things.
Expose a standard location that gets created when the path is
accessed.
2021-10-12 23:24:06 +02:00
Reto Brunner bb4ab4f168 plugins: add Logger interface
Plugins need to be able to log messasages, say for errors.
2021-10-12 23:24:06 +02:00
John Sullivan 8a57f90b65
Prevent sporadic rounding of search input on iOS. (#4328) 2021-10-11 10:23:20 -07:00
Noah van der Aa 9a0ba1da6c
Add keyboard shortcut for help screen (#4315)
* Add keyboard shortcut for help screen

* Make escape key go back to the previous screen

* Use key instead of which

* Use router for navigating back

* Use alt instead of cmd/ctrl
2021-10-10 20:48:28 -07:00
itsjohncs 5c614785bf Suppress iOS long touch behavior in network list.
When a user long touches on iOS, they will select the nearest
selectable text. This causes a distracting visual bug when reordering
the network list (which also uses a long press).
2021-10-10 17:08:17 -07:00
itsjohncs a48f449c59 Allow network list reordering via touch.
Users can now long touch and drag a channel or network to change its
ordering in the sidebar.
2021-10-10 14:40:08 -07:00