David Baker
43d8ccf128
Hopefully sort out strings with appended '.'s
2017-05-25 19:21:18 +01:00
David Baker
c3c2916449
Use array literals
2017-05-25 18:26:42 +01:00
David Baker
6c41be3c14
Missed OKs
2017-05-25 18:23:15 +01:00
David Baker
443ab1add7
Put back default strings on dialogs
...
But make them work by calling _t in render rather than
getDefaultProps().
Also sort out some 'Warning!' strings
2017-05-25 18:20:48 +01:00
David Baker
9112fc231a
More translation string fixups
2017-05-25 17:35:18 +01:00
David Baker
6d67655f66
Add german for Change password
2017-05-25 17:22:04 +01:00
David Baker
85756c78b4
Change to object literal
2017-05-25 17:17:37 +01:00
David Baker
feef7d49e9
More tabs
2017-05-25 16:55:24 +01:00
David Baker
3a379d09de
Update translations
...
Actually translate the language dropdown label & add the string.
Remove some unused ones.
2017-05-25 16:52:15 +01:00
David Baker
39dbc4c6e1
Lots of changes to languageHandler
...
* Replace callbacks with promises
* Move plain functions to top level
* De-duplicate bits that fetched languages.json
* Take full language preference list from the browser if we
can get it, rather than just the first.
2017-05-25 16:45:32 +01:00
David Baker
db45e99536
Remove defaulting here
...
We already do it in the place this function gets called
2017-05-25 12:09:48 +01:00
David Baker
913723b76b
Remove extCounterpart now we only use one instance
2017-05-25 12:08:14 +01:00
David Baker
9fa6e8b1e2
Add us to copyright
...
As I've now added code to this file
2017-05-25 12:02:05 +01:00
David Baker
c7776915f7
Kill off more tabs
2017-05-25 11:45:36 +01:00
David Baker
107024efa8
Unnecessary whitespace
2017-05-25 11:42:19 +01:00
David Baker
5c359e63ab
Bulk change counterpart imports
...
to use languageHandler wrapper func
2017-05-25 11:39:08 +01:00
David Baker
ec146c7f45
Switch to stock counterpart
...
We no longer need the custom counterpart. The things that were
changed in it and reasosn we no lomger need them are:
1. set separator - this can be done with standard counterpart
2. ES6 port: this was done to allow importing as _t, but is
unnecessary with the _t wrapper function in react-sdk
(although also seems to work fine with
`import _t from 'counterpart';`)
3. Fallback to key name: unnecessary with
`setMissingEntryGenerator` in 0.18, but we've changed to just
using a fallback locale anyway since No code missing en
translations should ever make it to the devbelop branch.
4. Logging on missing translations. Unnecessary with
`onTranslationNotFound`, but now not used anyway because we
let missing translations show up in the UI as
'missing translation'
Bulk changes to imports coming in separate commit for easy reading.
2017-05-25 11:24:17 +01:00
David Baker
b677a2002f
Minimal UI fixes
...
Add a label. Make css selector match style. Also fix import.
2017-05-24 14:36:14 +01:00
David Baker
aef068b00e
Indenting
2017-05-24 14:28:30 +01:00
David Baker
c2df23395d
Fix up language dropdown
...
* Read languages from the available ones rather than the config
* Make the search work (add searchEnabled=true)
* Move variables to the class since they were populated there
2017-05-24 11:25:06 +01:00
Michael Telatynski
edcfb77a6d
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/electron_call_sleep
2017-05-24 10:56:41 +01:00
David Baker
a95f3252b8
s/tabs/spaces/
2017-05-24 10:48:10 +01:00
David Baker
f412552c2c
Fix imports/exports
2017-05-23 18:32:45 +01:00
David Baker
cc0924f1c7
Fix imports
2017-05-23 18:16:02 +01:00
MTRNord
9bce417400
fix algorithm ReferenceError
2017-05-23 18:01:30 +01:00
David Baker
dd1c50ce80
README formatting
...
Move translation status to its own heading
2017-05-23 15:30:36 +01:00
David Baker
d419c42a4f
Squash merge https://github.com/matrix-org/matrix-react-sdk/pull/801
2017-05-23 15:16:31 +01:00
David Baker
46bb29a3af
Merge pull request #910 from matrix-org/t3chguy/version_anchor_newtab
...
Make the linked versions open a new tab, turt2live complained :P
2017-05-23 13:51:40 +01:00
Michael Telatynski
a10c2faac1
lets not open an attack vector :)
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-05-23 13:12:21 +01:00
Michael Telatynski
b65ba6b080
Merge pull request #919 from matrix-org/rav/delint_slashcommands
...
Fix lint errors in SlashCommands
2017-05-23 12:10:34 +01:00
David Baker
6d30bc7182
Merge pull request #911 from matrix-org/t3chguy/autofocus_directorysearchbox
...
autoFocus input box
2017-05-23 09:57:20 +01:00
Richard van der Hoff
5df4b9de16
Fix lint errors in SlashCommands
2017-05-23 09:44:11 +01:00
Richard van der Hoff
26c8540d03
Add in a "verify" slash command to confirm signing keys ( #912 )
...
Allows users to send a text string via an alternative channel (like email
or SMS) which Riot can leverage to confirm that the signing keys match.
Effectively removes the tedium of checking keys until a better mechanism
is completed.
Signed-off-by: Kit Sczudlo <kit@kitscz.com>
2017-05-23 09:24:18 +01:00
Michael Telatynski
024964aceb
pass call state through, for things that don't have access to full API
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-05-22 18:33:14 +01:00
Luke Barnard
f2e526f1d5
Merge pull request #916 from matrix-org/dbkr/use_right_riot_branch
...
Add right-branch logic to travis test script
2017-05-22 16:57:03 +01:00
David Baker
52d3dd4de9
cd first so we checkout the right repo
2017-05-22 16:48:53 +01:00
David Baker
c5a873c316
Remove depth=1 otherwise we won't find the branch
2017-05-22 16:41:43 +01:00
David Baker
77cd9d78db
Use develop if no matching branch found
2017-05-22 16:34:15 +01:00
David Baker
2c462bdfb4
Add right-branch logic to travis test script
2017-05-22 16:27:41 +01:00
Michael Telatynski
0d70f796e2
Merge pull request #914 from matrix-org/rav/key_formatting
...
Group e2e keys into blocks of 4 characters
2017-05-22 12:14:14 +01:00
Richard van der Hoff
fc08dc33c6
Group e2e keys into blocks of 4 characters
...
Hopefully this will make them a bit easier to compare.
2017-05-22 12:01:09 +01:00
Richard van der Hoff
2ba7d91869
Merge pull request #913 from matrix-org/rav/factor_out_verify
...
Factor out DeviceVerifyDialog
2017-05-22 11:38:52 +01:00
David Baker
f05de44646
Merge branch 'master' into develop
2017-05-22 11:37:29 +01:00
David Baker
eadd6192e8
v0.8.9
2017-05-22 11:36:56 +01:00
David Baker
545bcbdc77
Prepare changelog for v0.8.9
2017-05-22 11:36:55 +01:00
David Baker
3a0ee385b8
Released js-sdk
2017-05-22 11:35:02 +01:00
Richard van der Hoff
574b820d11
Factor out DeviceVerifyDialog
2017-05-22 11:12:36 +01:00
Michael Telatynski
02a1c1868c
autoFocus input box
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-05-20 00:08:53 +01:00
Kieran Gould
47e5e8d678
Moved isTwelveHour alllll the way up to TimelinePanel.
2017-05-19 23:04:37 +01:00
Kieran Gould
6b32975e0c
Add 12 hour class to mx_EventTile
2017-05-19 22:36:13 +01:00