Commit graph

96 commits

Author SHA1 Message Date
Jonas Herzig 59bb00cbe4 Lazily initialize fallback client
So we do not need to load the huge encoders bundle if we do not even need it.
2020-11-25 18:29:10 +01:00
Jonas Herzig 506a799592 Re-add UDPTunnel fallback to WebRTC version 2020-11-25 18:29:03 +01:00
Jonas Herzig 36801fb641 Merge branch 'master' into webrtc 2020-11-25 14:11:03 +01:00
raddinox 9f36bc7c3b Added AddChanelDialog and fixed add channel menu options
Must be registered user to be able to add, use mumble-django or something to add a user with password login.
2020-11-25 13:55:54 +01:00
joker-x cad3a3e07b Add browser notifications of new messages if supported 2020-11-25 13:45:37 +01:00
joker-x d41b39cb15 Set LocaleTimeString to navigator.language 2020-11-25 13:45:37 +01:00
joker-x 8e653f430c Allow write line break with SHIFT+ENTER 2020-11-25 13:45:37 +01:00
joker-x 94c73a8c1f Add multiline chat message support 2020-11-25 13:15:08 +01:00
joker-x fd8c7fe4f7 Avoid blank messages 2020-11-25 13:15:08 +01:00
joker-x 7692a02ab7 Added anchorme to make chat messages with links clickable 2020-11-25 13:15:08 +01:00
joker-x 78161b3a2c Added startMute and startDeaf as configuration options 2020-11-25 13:12:20 +01:00
mspecht 335f46603a Add tooltips and alt texts to toolbar buttons 2020-10-06 16:34:01 +02:00
joker-x 73407fa904 Responsive improvements 2020-07-21 08:23:27 +02:00
Jonas Herzig 95dbf255e1 Merge branch 'master' into webrtc 2020-05-23 09:07:36 +02:00
Jonas Herzig 737a2feabd
Merge pull request #104 from jeromelebleu/fix-usercontextmenu-loc
Fix translation key for mute and deafen in user context menu
2020-05-08 21:01:31 +02:00
Jérôme Lebleu 0b2d773ff6 Translate log entries and chat message placeholder 2020-05-08 15:37:44 +02:00
Jérôme Lebleu 71f462e868 Fix translation key for mute and deafen 2020-05-08 15:20:44 +02:00
Jonas Herzig 2fda5fd158 Merge branch 'master' into webrtc 2020-05-04 19:26:51 +02:00
Jonas Herzig f6b8bdcb3b Merge branch 'localization' (see #67, based on #78) 2020-05-03 19:03:57 +02:00
Jonas Herzig 995d2ffb65 Make actual use of JSON format in localization (i.e. nesting) 2020-05-03 18:58:36 +02:00
Jonas Herzig ddbe10c291 Allow a bunch more dialogs to be localized 2020-05-03 18:56:50 +02:00
Jonas Herzig abc78769ec Log a warning if a localization selector cannot find any target 2020-05-03 18:03:31 +02:00
Jonas Herzig a380f4ee70 Initialize knockout after localization
That way the localization can still affect DOM nodes which will be hidden by
knockout.
2020-05-03 18:02:02 +02:00
Jonas Herzig 064dd195c1 Fix loading of localization when browser returns region code
E.g. if the browser returns `de-DE` or `en-US` and we don't have those specific
ones, we want to fall back to `de` and `en` respectively.
2020-05-03 17:34:57 +02:00
Jonas Herzig d6d55c9f9c Do not restrict language codes to two characters
In fact, they may be of 2-8 characters in length according to [BCP 47] 2.2.1.
I do not really see any reason to validate them anyway, and this way we could
also support e.g. `en-US` vs `en-GB`.

[BCP 47]: https://tools.ietf.org/rfc/bcp/bcp47.txt
2020-05-03 17:27:13 +02:00
Jonas Herzig 0ca2a45358 Put webpack in charge of language file copying and loading
And HTTP in charge of caching.
2020-05-03 17:25:02 +02:00
Jonas Herzig c44523b78a
Merge pull request #90 from Fab1en/features/fabien/join-channel-on-reload
[dev] Reflect channel change in URL
2020-04-25 14:43:15 +02:00
Fabien Quatravaux c0f0309966 [fix] Take care of Root channel 2020-04-25 14:39:15 +02:00
Fabien Quatravaux b6237e86a6 [fix] Take care of subchannels 2020-04-25 13:25:24 +02:00
Jonas Herzig e008ef171f
Merge pull request #89 from Fab1en/features/fabien/display-permission-denied
[fix] Display permission denied error messages
2020-04-14 23:48:52 +02:00
Fabien Quatravaux eb8de9c2c2 [dev] Reflect channel change in URL
It means that if I go to a channel and refresh the page, I will be
reconnected to this channel after refresh.
2020-04-14 22:16:19 +02:00
Fabien Quatravaux a5d59df923 [fix] Display permission denied error messages 2020-04-14 22:12:03 +02:00
Fabien Quatravaux 5ff3e593ef [fix #87] Channel update event has no "actor" argument 2020-04-14 22:06:08 +02:00
Christian Fraß 812990c5bd fix for concrete translations 2020-04-04 23:05:58 +02:00
Christian Fraß f93c042adc adjusted authorship 2020-04-04 14:33:48 +02:00
Christian Fraß 5ce78cc262 some concrete translations 2020-04-04 14:11:23 +02:00
Christian Fraß 1d7bf5a08b logic 2020-04-04 14:10:53 +02:00
lawl 6e018288de cleanup worker migration 2020-03-31 18:13:58 +02:00
lawl d57db886ac fix workers to work with worker-loader 2020-03-31 17:16:30 +02:00
lawl f7ec12aa8d Change worker stuff to use worker-loader
Previously we used webworkify-webpack to make web-workers work. We now
use the worker-loader webpack plugin which is available since webpack 4
to handle workers.

It still doesn't want to connect to the server, but all JS errors in the
dev console are gone. Progress.
2020-03-31 16:05:14 +02:00
encrypt bf134819f9 splitting tokens replaced by native parsing of urllib 2020-03-26 22:36:13 +01:00
encrypt ff89f541f7 remove debug log 2020-03-26 22:07:14 +01:00
encrypt 90b1222473 move user and pass before token 2020-03-26 22:04:11 +01:00
encrypt da7a811dc9 hide token list if there are no tokens 2020-03-26 22:00:21 +01:00
encrypt 5b0e62ef3c fix indentation and remove debug log 2020-03-26 21:45:33 +01:00
encrypt 1315052756 s/token/tokens/ in query 2020-03-26 18:28:14 +01:00
encrypt e721e66e24 remove attempt to bind deletetoken event to del key 2020-03-26 18:20:48 +01:00
encrypt c54cf56a7b handle both tokens and token in query 2020-03-26 18:01:08 +01:00
encrypt a3312ec8ff append / to the beginning of channelName if it is not present 2020-03-26 17:56:21 +01:00
encrypt f30f6db786 remove debug log and little fix 2020-03-26 17:36:42 +01:00