Commit graph

7063 commits

Author SHA1 Message Date
Luke Barnard
93997ac5fd Merge pull request #1502 from matrix-org/dbkr/prunei18n
Add script to prune unused translations
2017-10-20 11:21:45 +01:00
Luke Barnard
f15bf8931a Merge pull request #1510 from matrix-org/dbkr/fix_dms
Fix creation of DM rooms
2017-10-20 11:01:28 +01:00
David Baker
f829012045 Fix creation of DM rooms
The check on whether a new chat was being started as a DM room got
broken, so we weren't using the trusted_private_chat preset or
setting the appropriate DM flags.

Fixes https://github.com/vector-im/riot-web/issues/5318 and
probably https://github.com/vector-im/riot-web/issues/3987
2017-10-20 10:16:51 +01:00
Luke Barnard
a85a011db9 Fix faulty translation in GroupView 2017-10-19 18:06:32 +01:00
Luke Barnard
d4aac4a69c Merge pull request #1507 from matrix-org/dbkr/groupid_only_enter_localpart
Group create dialog: only enter localpart
2017-10-19 17:37:56 +01:00
Luke Barnard
877f213057 Merge pull request #1509 from matrix-org/luke/groups-my-groups
Improve MyGroups UI
2017-10-19 17:35:48 +01:00
David Baker
cbb36f4780 Lint 2017-10-19 17:31:06 +01:00
Luke Barnard
bd982cf0ae Merge pull request #1508 from matrix-org/dbkr/image_objecturl
Use object URLs to load Files in to images
2017-10-19 17:28:49 +01:00
Luke Barnard
b0f8619754 Improve MyGroups UI
as per design layed out by @tur2live!
2017-10-19 17:24:45 +01:00
David Baker
b74ad8634b Use object URLs to load Files in to images
Fixes https://github.com/vector-im/riot-web/issues/5326
2017-10-19 17:16:52 +01:00
David Baker
b9574ff382 Group create dialog: only enter localpart
Since we currently can only create groups on the local server anyway,
there's no point making the user jump through the hoop of forming the
whole group ID and telling them off if they got the server name wrong.
2017-10-19 16:47:43 +01:00
David Baker
0f4ca1992d Merge pull request #1506 from matrix-org/dbkr/group_id_alphanum
Add clientside error for non-alphanumeric group ID
2017-10-19 16:43:16 +01:00
David Baker
19173ab4d6 Space, man. 2017-10-19 16:31:45 +01:00
David Baker
4abaa93cf0 Add clientside error for non-alphanumeric group ID 2017-10-19 16:28:02 +01:00
David Baker
21b684381d Merge pull request #1505 from matrix-org/luke/groups-fix-invites-to-unnamed-groups
Fix invites to groups without names
2017-10-19 16:18:32 +01:00
Luke Barnard
8b047737b9 Merge pull request #1504 from matrix-org/dbkr/group_add_warning
Add warning when adding group rooms/users
2017-10-19 16:03:27 +01:00
David Baker
9141ba280a Lint 2017-10-19 15:55:57 +01:00
Luke Barnard
ea1dbe1f76 Fix invites to groups without names 2017-10-19 15:47:52 +01:00
David Baker
f98fe7fa87 Add warning when adding group rooms/users 2017-10-19 15:37:35 +01:00
Luke Barnard
e324511143 Merge pull request #1503 from matrix-org/luke/groups-are-communities-2
More Groups->Communities
2017-10-19 15:07:40 +01:00
Luke Barnard
2be0ebdd1d More Groups->Communities 2017-10-19 15:01:16 +01:00
David Baker
d397858e81 Don't remove other plural variants 2017-10-19 14:39:23 +01:00
Luke Barnard
fd65cb1396 Merge pull request #1501 from matrix-org/luke/groups-are-communities
Groups -> Communities
2017-10-19 12:16:15 +01:00
David Baker
8a9de7343c Add script to prune unused translations 2017-10-19 12:11:21 +01:00
Luke Barnard
059f46b7a5 Merge pull request #1500 from matrix-org/luke/groups-flair-store
Factor out Flair cache into FlairStore
2017-10-19 12:05:06 +01:00
Luke Barnard
bafa2c6be0 Fix typo 2017-10-19 12:03:59 +01:00
Luke Barnard
25d14af616 Export a global.singletonFlairStore to allow cross-project singleton 2017-10-19 12:00:03 +01:00
Luke Barnard
c3f143acc3 Merge branch 'develop' into luke/groups-are-communities 2017-10-19 11:31:00 +01:00
Luke Barnard
2db0eab5c5 s/Groups/Communities 2017-10-19 11:29:03 +01:00
David Baker
17c610559f Merge pull request #1499 from matrix-org/dbkr/i18n_script
Add i18n script to package.json
2017-10-19 11:18:29 +01:00
David Baker
027a70ffe7 Add gen-i18n as a 'binary'
and add appropriate shebang
2017-10-19 10:51:54 +01:00
Luke Barnard
71443e9b94 Remove logs comments 2017-10-19 10:34:24 +01:00
Luke Barnard
5f3c06b38a Factor out Flair cache into FlairStore
This will make invalidating the userGroups cache for the user architecturally more sound (the plan is to have GroupStore hit FlairStore as opposed to Flair itself in order to invalidate the cache).
2017-10-19 10:28:59 +01:00
David Baker
61b05e7ec3 Add i18n script to package.json 2017-10-19 10:19:43 +01:00
Luke Barnard
e56f9ec63b Merge pull request #1498 from matrix-org/dbkr/geni18n-html
Make gen-i18n support 'HTML'
2017-10-19 09:23:20 +01:00
Luke Barnard
1c8c393a44 Merge pull request #1497 from matrix-org/matthew/cosmetics2
fix editing visuals on groupview header
2017-10-19 09:20:25 +01:00
Matthew Hodgson
7fe8c9cb01 fix lint 2017-10-19 01:48:49 +02:00
David Baker
1bada070ca Make gen-i18n support 'HTML'
Where by 'HTML' I mean just run the same regex as riot does over
some text.

Also make it walk multiple paths.

This mostly means it can be used for riot-web.
2017-10-18 19:36:07 +01:00
Matthew Hodgson
1087b36597 fix editing visuals on groupview header 2017-10-18 17:49:49 +01:00
Luke Barnard
a40704f085 Merge branch 'develop' into luke/groups-are-communities 2017-10-18 15:57:37 +01:00
David Baker
9160b70e12 Merge pull request #1493 from matrix-org/dbkr/geni18n
Script to generate the translations base file
2017-10-18 15:54:21 +01:00
David Baker
12d6722265 Re-run the fun 2017-10-18 15:48:33 +01:00
David Baker
e6ff09a99b Merge remote-tracking branch 'origin/develop' into dbkr/geni18n 2017-10-18 15:47:42 +01:00
David Baker
474b0c96ad Merge pull request #1495 from RiotTranslateBot/weblate-riot-web-matrix-react-sdk
Update from Weblate.
2017-10-18 15:19:24 +01:00
David Baker
577d68f628 Merge pull request #1494 from matrix-org/luke/groups-auto-relate-group-to-added-room
Attempt to relate a group to a room when adding it
2017-10-18 15:18:21 +01:00
Luke Barnard
96cc74ab62 Attempt to relate a group to a room when adding it
So as to remove another step on "The Route To Flair" (the steps taken for a user to get flair to appear on their SenderProfile in a room).
2017-10-18 15:00:54 +01:00
David Baker
2bbac903f1 'base file' is a bit overloaded by weblate 2017-10-18 14:45:04 +01:00
David Baker
caa4979e37 Comment ignoring getTKey returning null 2017-10-18 14:43:18 +01:00
David Baker
63a7d37f5a commented logging 2017-10-18 14:41:54 +01:00
David Baker
a2bfdd8925 missing saemi 2017-10-18 14:33:21 +01:00