Графік комітів

133 commits

Автор SHA1 Повідомлення Дата
Jérôme Lebleu
0b2d773ff6 Translate log entries and chat message placeholder 2020-05-08 15:37:44 +02:00
Jonas Herzig
56262ca895 Fix channelcontextmenu keys in oc.json 2020-05-05 08:56:45 +02:00
Jonas Herzig
a89c7f6351
Merge pull request #101 from joker-x/translate-es
Translated into spanish
2020-05-05 08:56:04 +02:00
joker-x
0d97e365ae Fix channelcontextmenu keys in locales 2020-05-05 04:58:30 +02:00
joker-x
60c40ad64e Traslated into spanish 2020-05-05 03:51:39 +02:00
Jonas Herzig
b02a8ff9b3 Move oc.json into correct folder 2020-05-04 20:56:22 +02:00
Jonas Herzig
511051025f Add note about WebRTC version to README (see #93) 2020-05-04 19:54:17 +02:00
Jonas Herzig
b56614723a Fix install-from-git instructions (see #92)
Turns out the reason npm did not run the script configured in the package.json
was because it behaves differently when ran as root.
When ran as a normal user, a simple `npm install` is sufficient to build the
whole thing.
2020-05-04 18:52:36 +02:00
Jonas Herzig
9596025e47
Merge pull request #100 from Mejans/master
Translation in Occitan
2020-05-04 16:09:56 +02:00
Mejans
e61eb0786b
Translation in Occitan 2020-05-04 13:31:19 +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
e730b65bef Use position: absolute instead of float for tree (fixes #98)
Using float has the huge disadvantage that different floating elements can block
each other if they're just slightly too big (e.g. because of fractional pixels
when zooming), leading to the same-level channels being displayed with
increasing indention, even though they shouldn't.
2020-05-03 15:10:46 +02:00
Jonas Herzig
9d10427ee7 Add package-lock.json to git 2020-05-03 15:10:16 +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
e8f6e61dfb
Merge pull request #95 from ChillerDragon/pr_word_dupe
Fix word dupsi woopsi
2020-04-23 21:23:55 +02:00
Chiller Dragon
10fbdbf265
Fix word dupsi woopsi 2020-04-23 18:40:12 +02:00
Jonas Herzig
9226765956
Add npm run postinstall to README (closes #92)
Appears to be required for `patch-package` to do its thing (at least patch-package suggests you use `postinstall`, not really sure why though since it isn't ran on `npm install`).
2020-04-17 15:24:52 +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
Jonas Herzig
c3c05ee76a
Merge pull request #88 from Fab1en/features/fabien/87-channel-change-not-shown
[fix #87] Channel update event has no "actor" argument
2020-04-14 23:47:46 +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
Jonas Herzig
5640c6c108
Merge pull request #84 from Fab1en/features/fabien/80-join-button-misaligned
[fix] Display join only dialog correctly on the screen
2020-04-12 16:48:21 +02:00
Fabien Quatravaux
01853bd238 [fix] Display join only dialog correctly on the screen 2020-04-12 14:57:39 +02:00
Jonas Herzig
ccdf93f619
Merge pull request #83 from Fab1en/features/fabien/dev
[dev] Add npm run watch command for development
2020-04-12 11:32:08 +02:00
Fabien Quatravaux
5b1dca21c2 [dev] Add npm run watch command for development 2020-04-12 11:10:50 +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
Jonas Herzig
8f97d6326c
Merge pull request #73 from lawl/master
add patch-package to auto apply patches

followup to f7e14cf
2020-04-02 18:07:13 +02:00
lawl
5206f9d00b add patch-package to auto apply patches 2020-04-02 17:58:58 +02:00
Jonas Herzig
6e3e58415b
Merge pull request #70 from lawl/master
Upgrade dependencies
2020-04-02 15:04:19 +02:00
Jonas Herzig
c03b78d096
Merge pull request #72 from Echsecutor/patch-1
fixes websockify "--web" argument in docker file
2020-04-02 15:04:00 +02:00
Sebastian Schmittner
23cfd0df7f
fixes !71 2020-04-02 00:02:54 +02:00
lawl
f7e14cf749 upgrade more dependencies 2020-04-01 20:40:38 +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
lawl
d3e47d7d29 further upgrade babel 2020-03-30 13:20:13 +02:00
lawl
f5dac9ea37 remove old dependencies 2020-03-30 13:00:41 +02:00