Commit Graph

52 Commits

Author SHA1 Message Date
Jon Honeycutt 5765604408 Issue #1263: Desynchronized nicklist
This is fallout from #1244, which moved models.delNick from using a filter to
using the delete operator.

The delete operator creates a sparse array that has an empty slot for the item
that was deleted. This empty slot is iterable with some constructs, giving a
value of undefined. These unexpected undefined values in the nicklist cause
exceptions to be thrown in some situations, like when calling
models.updateNickSpeak.

To fix this, use Array.splice to remove elements from the nicklist, instead of
the delete operator.
2024-02-01 18:40:31 -06:00
Lorenz Hübschle-Schneider b6ca906192 Follow-up to #1244: underscore cleanup 2023-07-09 16:44:44 +02:00
Lorenz Hübschle-Schneider 380316e9ad Revert "Bump version to 0.11.0"
This reverts commit 6596b48043.
2023-07-09 16:44:38 +02:00
Lorenz Hübschle-Schneider 6596b48043 Bump version to 0.11.0 2023-07-09 15:25:25 +02:00
Lorenz Hübschle-Schneider 147028f1a5 lint 2023-07-09 14:13:35 +02:00
Lorenz Hübschle 9e025b2e82
Merge pull request #1257 from torhve/buffercolor
Support for colors in buffer short name
2023-07-02 20:43:59 +02:00
Lorenz Hübschle-Schneider 857b7d856a Default to WeeChat 2.9+ handshake & update message 2023-06-18 15:02:07 +02:00
Tor Hveem 1f268693a1 Support for colors in buffer short name
Took quite a few years before anyone tried that
2023-06-02 21:39:44 +02:00
Lorenz Hübschle faa515aa07
Merge pull request #1246 from torhve/handlebuffercleared
Handle buffer cleared
2023-03-25 19:07:53 +01:00
Lorenz Hübschle 8c5eaebfa6
Merge pull request #1244 from torhve/removeunderscore2
Remove underscore.js and reimplement all usage using native code
2023-03-25 19:07:39 +01:00
Tor Hveem 3d3377b686 Remove everything electron from the repository
Tauri.app will take its place.
2023-02-18 14:59:39 +01:00
Tor Hveem d64930662a Handle buffer cleared 2023-02-17 09:22:19 +01:00
Tor Hveem 79d6f4fed1 Remove underscore.js and reimplement all usage using native code 2023-02-16 19:23:52 +01:00
Tor Hveem 23c0eda718
Merge branch 'master' into removecordova 2023-02-16 19:15:54 +01:00
Tor Hveem b4585bdd69
Merge pull request #1241 from torhve/tauri
Update tauri to latest version, and make some improvements when running under tauri
2023-02-16 19:14:33 +01:00
Tor Hveem 65dfd33972 Remove all corodova stuff 2023-02-12 17:48:16 +01:00
Tor Hveem 415583c3f5 fix a long standing bug with alt+# not respecting only unread setting 2023-02-11 16:03:28 +01:00
Tor Hveem 22fe5963c5 tauri: disable servicework for tauri, since its just complicating
matters

  * add Backquote key to a keybinding to make it work on macos under
    tauri
  * sync document title with window title when running in tauri
2023-02-10 11:47:55 +01:00
Tor Hveem 8875e0604a tauri: expose isTauri in utils to check if gb is running in tauri
environment
2023-02-10 11:47:55 +01:00
Justin Tracey 597ed1aeb9 add [] to the ignored end characters in url regex 2022-05-07 21:10:37 -04:00
Lorenz Hübschle-Schneider 10ee209e85
Merge pull request #1216 from moo-the-cow/twitch-plugin
Twitch plugin
2022-04-24 14:49:29 +02:00
tbabik 23e579a38d Removed non-necessary warning on index.html and also incorrect hint for plaintext transmission 2022-04-23 10:54:26 +02:00
moo bf47792b67
added embedded videos,streams,clips for twitch 2022-04-18 14:03:48 +02:00
moo 326a82ad8f
added twitch clips plugin 2022-04-18 09:50:44 +02:00
tbabik 7dbbcd74da Bug 1157 - Authentication in Non-Secure Context 2022-03-29 19:58:37 +02:00
Lorenz Hübschle-Schneider 68473321f8 Remove cdnjs notice 2022-01-23 14:27:03 +01:00
Lorenz Hübschle-Schneider 6508993fea
Merge pull request #1186 from rain0r/issue-1184
Use self-hosted css and js
2022-01-23 13:42:32 +01:00
Lorenz Hübschle-Schneider 57d0ce1282
Merge pull request #1197 from ericonr/timeout
Revert "Change handshake timout to 200ms"
2021-09-28 11:41:46 +02:00
Amir Yalon ff0ebca779 Set attribute dir="auto" on message text span
Has no effect on non-RTL messages, but can help greatly with reading
ones written in RTL languages.
2021-08-26 14:26:34 +03:00
Érico Nogueira 8eefd59095 Revert "Change handshake timout to 200ms"
This reverts commit 5fb51c07e6.

200ms is too little for some setups, and will make authentication not
work even with weechat>=3.0.

For a specific example, my VPN setup has a roundtrip of 300ms.
2021-08-09 09:24:57 -03:00
Lorenz Hübschle-Schneider 03d83d5361
Merge pull request #1189 from glowing-bear/freenodewarning
Add a warning about freenode
2021-06-15 10:39:06 +02:00
Lorenz Hübschle-Schneider 5d554152bf
Merge pull request #1193 from glowing-bear/strip-protocol
Strip protocol information from host field, checking for encryption
2021-06-10 11:34:17 +02:00
Lorenz Hübschle-Schneider 1503cabfb3 Update documentation labels regarding WeeChat 2.9 2021-06-07 18:18:51 +02:00
Lorenz Hübschle-Schneider bc41cab976 Strip protocol information from host field, checking for encryption
Fixes #1192
2021-06-07 18:08:25 +02:00
Rainer Hihn 12cb53142d Merged package-lock.json 2021-05-31 19:12:21 +02:00
Lee Burton 99a9760202
Add Alt-J keyboard binding info
Add Alt-J keyboard binding info
2021-05-28 09:31:43 -07:00
Lorenz Hübschle-Schneider f818437a6c Add a warning about freenode 2021-05-26 15:34:20 +02:00
Lorenz Hübschle-Schneider 68d44cf669 Note that we've moved to libera 2021-05-25 16:38:48 +02:00
Rainer Hihn dbfde3658d Removed old code 2021-04-13 18:53:46 +02:00
Rainer Hihn 6f37567be0 Copy needed css and js-files to the build folder. 2021-04-13 18:51:08 +02:00
Rainer Hihn 7a1839c572 Use self-hosted css and js 2021-04-11 14:53:41 +02:00
Lorenz Hübschle-Schneider 44a3a1ac11 electron: format, add missing semicolons 2021-03-29 10:39:34 +02:00
Lorenz Hübschle-Schneider 4d53d193fc electron: catch exceptions when saving init.json
See #1183
2021-03-29 10:35:13 +02:00
David Cormier a8b4ccb91b irc-utils: declare use strict on first line
Fix jshint issue introduced in #1170.
2020-12-16 08:33:20 -05:00
Michael 2975385b2a Fix tab completion
Fixes #1169.
2020-12-13 12:58:45 +11:00
Yeiniel Suarez Sosa 8251e0833a
remove commented out script from index html file 2020-12-05 16:48:14 -05:00
Yeiniel Suárez Sosa 6fe87ac6cc
add missing import to inputbar module 2020-12-05 16:48:13 -05:00
Yeiniel Suárez Sosa 6f808bd4a6
fix missing underscore imports 2020-12-05 16:47:47 -05:00
Yeiniel Suárez Sosa 30e89c0393
fix jshint issues 2020-12-05 16:47:09 -05:00
Yeiniel Suárez Sosa d3901cc286
improve unit testing
currently the only problem is that phantomjs is unable to parse the js files

fix test exec on travis env
2020-12-05 16:45:11 -05:00