Commit graph

67 commits

Author SHA1 Message Date
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
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
encrypt 003dc96ce1 mumble tokens basic implementation, connection dialog token is replaced with tokens 2020-03-22 21:12:12 +01:00
encrypt c831b13716 fix: matching on channel is done on full channel path not just channel name 2020-03-15 22:30:02 +01:00
encrypt ac6e230c26 add default channel in connection dialog/connect 2020-03-15 20:50:54 +01:00
Jonas Herzig 3dda3d27fe Declare HTML file encoding (fixes #43)
Thanks to @bggardner and @streaps.
2019-02-06 12:41:59 +01:00
Jonas Herzig b2031ea552 Fix users being shown in incorrect channel (fixes #38) 2018-10-23 17:07:27 +02:00
Jonas Herzig 0dfdfcc27a Add setting for showing user count after channel name 2018-10-08 20:20:43 +02:00
Jonas Herzig 4482129330 Allow configuration of default Settings 2018-10-08 20:20:43 +02:00
Jonas Herzig ad3669d8bc Add config options to remove fields from Connect dialog 2018-10-08 19:21:48 +02:00
Jonas Herzig 5f2798e78c Set default address to window.location.hostname 2018-10-08 18:48:36 +02:00
Jonas Herzig f739ff9345 Add way to set default values short of forking the whole project 2018-10-08 18:44:00 +02:00
Jonas Herzig 8d39b0bdb1 Mark Address, Port and Username fields as required (fixes #36) 2018-10-08 00:23:49 +02:00
Jonas Herzig dd0c7f32a7 Make sure the AudioContext is created only after user interaction
See https://goo.gl/7K7WLu
2018-10-07 23:28:37 +02:00
Jonas Herzig bf731c7812 Add subworkers polyfill for old Chrome/Electron (fixes #37) 2018-10-07 22:39:59 +02:00
Jonas Herzig 40e084559f Fix current bandwidth shown in connection info 2018-09-27 17:31:24 +02:00
Jonas Herzig beafbe162f Move mumble client and audio encoding/resampling into a web worker 2018-09-27 17:16:25 +02:00
Jonas Herzig a050af546d Be explicit about using bytebuffer for base64 encoding 2018-09-27 00:27:34 +02:00
Jonas Herzig b0234654a5 Add server connection info dialog 2018-09-26 15:13:44 +02:00
Jonas Herzig e77da5335e Add "Audio Quality" and "Audio per packet" to settings dialog 2018-09-26 13:07:29 +02:00
Jonas Herzig 5ca332a151 Allow for configuration of audio bitrate and frames per packet 2018-09-26 13:06:37 +02:00
Jonas Herzig 3a8e730a1a Add query param to automatically upload avatar
E.g. to automatically use Matrix avatar when embedded as a Matrix widget
2018-09-24 21:38:53 +02:00
Jonas Herzig d3cf7f0f22 Implement avatar upload and removal (not persistent access sessions) 2018-09-24 21:38:53 +02:00
Jonas Herzig 2046bdf03a Implement "View Avatar" in user context menu 2018-09-24 21:38:53 +02:00
Jonas Herzig af5a134081 Add context menu for users and channels 2018-09-24 21:38:53 +02:00
Jonas Herzig 54b62b9964 Fix request(Un)Mute/Deaf expecting observable instead of its content 2018-09-24 21:38:53 +02:00
Jonas Herzig d7b03d2192 Display user avatars instead of talking indicators when possible 2018-09-24 21:38:53 +02:00
Jonas Herzig 2b7f7c1625 Properly align user name and talking indicator 2018-09-24 21:38:53 +02:00
Jonas Herzig ca83780109 Implement theming support and add MetroMumbleDark theme 2018-09-24 21:38:53 +02:00