Bruno Windels
f5da8162c1
filter out reply text when editing
2019-05-27 17:04:26 +02:00
Bruno Windels
dee24ac27a
extract constant
2019-05-27 16:45:26 +02:00
Bruno Windels
651cb8b9a7
lint
2019-05-27 16:43:12 +02:00
Bruno Windels
918de849c7
make sure in the future arrow up/down only goes through own events
2019-05-27 16:41:03 +02:00
Weblate
a9f6d694c2
Merge branch 'origin/develop' into Weblate.
2019-05-27 14:37:29 +00:00
Walter
4bf7e8b941
Translated using Weblate (Russian)
...
Currently translated at 84.6% (1382 of 1634 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-05-27 14:37:29 +00:00
csybr
c5309e8c2b
Translated using Weblate (Norwegian Nynorsk)
...
Currently translated at 62.1% (1014 of 1634 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nn/
2019-05-27 14:37:27 +00:00
Travis Ralston
6174cd2998
Merge pull request #3031 from spantaleev/fix-non-integer-thumb-sizes
...
Do not try to request thumbnails with non-integer widths
2019-05-27 08:37:22 -06:00
Bruno Windels
25e2c747ed
focus main composer after cancel or saving edit
2019-05-27 16:26:21 +02:00
Bruno Windels
e193522db1
PR feedback: put findPrev/NextEditableEvent in one function with flag
2019-05-27 16:22:55 +02:00
Tirifto
1a0ea08cd1
Translated using Weblate (Esperanto)
...
Currently translated at 79.4% (1298 of 1634 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2019-05-27 12:19:29 +00:00
Mani Farone
d733788ab1
Translated using Weblate (Bulgarian)
...
Currently translated at 97.6% (1595 of 1634 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-05-27 12:19:28 +00:00
Besnik Bleta
9758e9aa10
Translated using Weblate (Albanian)
...
Currently translated at 96.7% (1580 of 1634 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-05-27 12:19:27 +00:00
Besnik Bleta
a11ae18577
Translated using Weblate (Albanian)
...
Currently translated at 100.0% (20 of 20 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/sq/
2019-05-27 12:19:23 +00:00
Slavi Pantaleev
4e63e3b0de
Base Docker image on nginx:alpine, not the larger nginx:latest
...
`nginx:latest` is based on Debian Stretch and is listed as being 45MB,
while `nginx:alpine` is based on Alpine 3.9 and is just 7MB.
Basing the riot-web Docker image on `nginx:alpine` should
make it 38MB smaller compared to the current situation.
The nginx version seems to be "latest mainline" on both (currently 1.15.12),
judging by each Dockerfile:
- https://github.com/nginxinc/docker-nginx/blob/e5123eea0d29c8d13df17d782f15679458ff899e/mainline/stretch/Dockerfile
- https://github.com/nginxinc/docker-nginx/blob/e5123eea0d29c8d13df17d782f15679458ff899e/mainline/alpine/Dockerfile
2019-05-27 11:57:37 +03:00
Slavi Pantaleev
3f60b4336f
Do not try to request thumbnails with non-integer widths
...
Issue described in https://github.com/vector-im/riot-web/issues/9690 .
With certain `window.devicePixelRatio` values
(e.g. `1.5789473684210527`), the calculated thumb width/height
would be a non-integer value.
Passing such values to `client.mxcUrlToHttp()` causes it to
generate URLs to the thumbnail API with non-integer values.
As per the spec, non-integer values are forbidden for that API and a
400 HTTP response is returned (`Query parameter b'width' must be an
integer`).
Fixing matrix-js-sdk's `mxcUrlToHttp()` to sanitize such values
would also be a good idea and likely fix more than just matrix-react-sdk
and riot-web. Still, it feels like matrix-react-sdk should play nice
as well, and not request thumbnails for weird widths/heights.
Signed-off-by: Slavi Pantaleev <slavi@devture.com >
2019-05-27 11:06:10 +03:00
random
7ea1193015
Translated using Weblate (Italian)
...
Currently translated at 100.0% (20 of 20 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/it/
2019-05-26 07:19:22 +00:00
Szimszon
5b69e7268e
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (20 of 20 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/hu/
2019-05-26 07:19:22 +00:00
Kévin C
1e61918d1c
Translated using Weblate (French)
...
Currently translated at 100.0% (20 of 20 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/fr/
2019-05-26 07:19:22 +00:00
Tirifto
ee67cf7d49
Translated using Weblate (Esperanto)
...
Currently translated at 100.0% (20 of 20 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/eo/
2019-05-26 07:19:22 +00:00
wonx
58f20b4fe5
Translated using Weblate (Catalan)
...
Currently translated at 90.0% (18 of 20 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/ca/
2019-05-26 07:19:22 +00:00
Mani Farone
9525989560
Translated using Weblate (Bulgarian)
...
Currently translated at 100.0% (20 of 20 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/bg/
2019-05-26 07:19:22 +00:00
Slavi Pantaleev
c600f328a1
Translated using Weblate (Bulgarian)
...
Currently translated at 100.0% (20 of 20 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/bg/
2019-05-26 07:19:22 +00:00
Weblate
bb1dabe06c
Merge branch 'origin/develop' into Weblate.
2019-05-24 19:05:17 +00:00
Travis Ralston
c30908c380
Merge pull request #3030 from aaronraimist/preserve-strikethrough
...
Message editing: preserve strikethrough as well
2019-05-24 13:05:14 -06:00
Aaron Raimist
fec5abadd6
Message editing: preserve strikethrough as well
...
Signed-off-by: Aaron Raimist <aaron@raim.ist >
2019-05-24 13:57:09 -05:00
Weblate
b39759e5cb
Merge branch 'origin/develop' into Weblate.
2019-05-24 17:01:13 +00:00
Tuomas Hietala
1bc95252ea
Translated using Weblate (Finnish)
...
Currently translated at 99.4% (1625 of 1634 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-05-24 17:01:13 +00:00
Travis Ralston
04c20b6e68
Merge pull request #3027 from matrix-org/travis/colr-logging
...
Add some logging for COLR checks
2019-05-24 11:01:07 -06:00
Bruno Windels
b2592583c4
maintain caret at current line when position is on newline part
2019-05-24 18:54:29 +02:00
Travis Ralston
093de71ff8
Minus one log
2019-05-24 10:53:24 -06:00
Travis Ralston
ef9ef0e654
Add some logging for COLR checks
2019-05-24 10:36:07 -06:00
Weblate
deaf81e07b
Merge branch 'origin/develop' into Weblate.
2019-05-24 14:24:30 +00:00
Tuomas Hietala
3f4c0d76fa
Translated using Weblate (Finnish)
...
Currently translated at 98.8% (1615 of 1634 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-05-24 14:24:30 +00:00
Bruno Windels
cf932e0eab
Merge pull request #3026 from matrix-org/bwindels/tabcompletionfixup
...
Fixup for tab completion: take part length into account as well
2019-05-24 14:24:25 +00:00
Bruno Windels
8c0b8ff618
take part length into account as well
2019-05-24 15:43:55 +02:00
Bruno Windels
4626581dbe
scroll event into view when starting to edit
2019-05-24 15:38:51 +02:00
Weblate
3a183c22fc
Merge branch 'origin/develop' into Weblate.
2019-05-24 13:29:14 +00:00
Tuomas Hietala
57d3349fde
Translated using Weblate (Finnish)
...
Currently translated at 98.6% (1611 of 1634 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-05-24 13:29:14 +00:00
Bruno Windels
9d6a818591
Merge pull request #3024 from matrix-org/bwindels/autocomplete-tab
...
Message editing: tab completion
2019-05-24 13:29:10 +00:00
Bruno Windels
fbb79e4686
don't navigate to next/prev message when editor has modifications
...
to prevent losing modifications by accident
2019-05-24 14:46:34 +02:00
Bruno Windels
bd3dbd1a89
remove edit history from main composer
2019-05-24 14:42:57 +02:00
Bruno Windels
3591eedcfa
move between editable events with arrow keys
2019-05-24 14:42:33 +02:00
Bruno Windels
8926fcb3a6
helper functions to find next & previous editable events in timeline
2019-05-24 14:41:24 +02:00
Bruno Windels
cf5e4d3d94
make consecutive :/@/# separate pill candidates
...
e.g. accept the first character always to start the autocompletion
but after that refer to the plainpart logic to split up in
new pill candidates. Also, don't allow merging adjacent parts.
This makes sure that "@nonmatchingfoo @someuser"
only matches "someuser" in the autocomplete.
2019-05-24 12:38:19 +02:00
Bruno Windels
a024fd8991
port tab completion from MessageComposerInput
2019-05-24 12:38:01 +02:00
J. Ryan Stinnett
28ffca1f84
Ignore /electron_app/pub
2019-05-24 11:34:03 +01:00
J. Ryan Stinnett
e129db4978
Upgrade electron-builder
2019-05-24 11:29:02 +01:00
J. Ryan Stinnett
734d8a8151
Clarify Electron steps
2019-05-24 11:28:12 +01:00
Weblate
bc9d801a60
Merge branch 'origin/develop' into Weblate.
2019-05-24 10:11:49 +00:00