Skip to content

Commit 5845a1e

Browse files
committed
Merge branch 'develop' into travis/remove-presence
2 parents 504a575 + 8644a5e commit 5845a1e

117 files changed

Lines changed: 4093 additions & 1530 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.gitignore‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ electron/dist
1616
electron/pub
1717
**/.idea
1818
/config.json
19+
/config.json.*
20+
/config.local*.json
1921
/src/component-index.js

‎.travis.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ dist: trusty
33

44
# we don't need sudo, so can run in a container, which makes startup much
55
# quicker.
6-
sudo: false
6+
#
7+
# unfortunately we do temporarily require sudo as a workaround for
8+
# https://github.com/travis-ci/travis-ci/issues/8836
9+
sudo: required
710

811
language: node_js
912
node_js:

‎CHANGELOG.md‎

Lines changed: 230 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,233 @@
1+
Changes in [0.14.0](https://github.com/vector-im/riot-web/releases/tag/v0.14.0) (2018-04-11)
2+
============================================================================================
3+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v0.14.0-rc.6...v0.14.0)
4+
5+
* Cosmetic changes for group UI
6+
7+
Changes in [0.14.0-rc.6](https://github.com/vector-im/riot-web/releases/tag/v0.14.0-rc.6) (2018-04-09)
8+
======================================================================================================
9+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v0.14.0-rc.5...v0.14.0-rc.6)
10+
11+
* Bump react-sdk to [rc.6](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v0.12.0-rc.6)
12+
13+
Changes in [0.14.0-rc.5](https://github.com/vector-im/riot-web/releases/tag/v0.14.0-rc.5) (2018-04-09)
14+
======================================================================================================
15+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v0.14.0-rc.4...v0.14.0-rc.5)
16+
17+
* Add CSS for new control to set group join policy
18+
19+
Changes in [0.14.0-rc.4](https://github.com/vector-im/riot-web/releases/tag/v0.14.0-rc.4) (2018-03-22)
20+
======================================================================================================
21+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v0.14.0-rc.3...v0.14.0-rc.4)
22+
23+
* Fix tagging rooms as direct messages
24+
25+
Changes in [0.14.0-rc.3](https://github.com/vector-im/riot-web/releases/tag/v0.14.0-rc.3) (2018-03-20)
26+
======================================================================================================
27+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v0.14.0-rc.2...v0.14.0-rc.3)
28+
29+
* Fix a bug where the badge on a room tile would not update
30+
when a room was read from a different device.
31+
32+
Changes in [0.14.0-rc.2](https://github.com/vector-im/riot-web/releases/tag/v0.14.0-rc.2) (2018-03-19)
33+
======================================================================================================
34+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v0.14.0-rc.1...v0.14.0-rc.2)
35+
36+
* Take TagPanel out of labs
37+
[\#6347](https://github.com/vector-im/riot-web/pull/6347)
38+
* Add languages (czech, galician and serbian)
39+
[\#6343](https://github.com/vector-im/riot-web/pull/6343)
40+
41+
Changes in [0.14.0-rc.1](https://github.com/vector-im/riot-web/releases/tag/v0.14.0-rc.1) (2018-03-19)
42+
======================================================================================================
43+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v0.13.5...v0.14.0-rc.1)
44+
45+
* Force update RoomSubList after reading a room
46+
[\#6342](https://github.com/vector-im/riot-web/pull/6342)
47+
* Ensure entire LeftPanel is faded when settings open
48+
[\#6340](https://github.com/vector-im/riot-web/pull/6340)
49+
* Update from Weblate.
50+
[\#6330](https://github.com/vector-im/riot-web/pull/6330)
51+
* Implement a simple shouldComponentUpdate for DNDRoomTile
52+
[\#6313](https://github.com/vector-im/riot-web/pull/6313)
53+
* Remove og:image with status.im URL
54+
[\#6317](https://github.com/vector-im/riot-web/pull/6317)
55+
* Add change delay warning in GroupView settings
56+
[\#6316](https://github.com/vector-im/riot-web/pull/6316)
57+
* Correctly position mx_TagPanel_clearButton
58+
[\#6289](https://github.com/vector-im/riot-web/pull/6289)
59+
* Fix gap between avatar and border
60+
[\#6290](https://github.com/vector-im/riot-web/pull/6290)
61+
* Fix bug where cannot send group invite on GroupMemberInfo phase
62+
[\#6303](https://github.com/vector-im/riot-web/pull/6303)
63+
* Fix themeing bug with Firefox where "disabled" ignored
64+
[\#6301](https://github.com/vector-im/riot-web/pull/6301)
65+
* Changes for E2E "fudge-button"
66+
[\#6288](https://github.com/vector-im/riot-web/pull/6288)
67+
* Make sure mx_TagPanel_tagTileContainer occupies full height
68+
[\#6286](https://github.com/vector-im/riot-web/pull/6286)
69+
* Add transparent CSS class for RoomTile
70+
[\#6281](https://github.com/vector-im/riot-web/pull/6281)
71+
* Fix crash; fs event received /w langauge file empty
72+
[\#6273](https://github.com/vector-im/riot-web/pull/6273)
73+
* Add setting to disable TagPanel
74+
[\#6269](https://github.com/vector-im/riot-web/pull/6269)
75+
* CSS for my groups microcopy
76+
[\#6257](https://github.com/vector-im/riot-web/pull/6257)
77+
* Add Bulgarian to the list of languages
78+
[\#6246](https://github.com/vector-im/riot-web/pull/6246)
79+
* Make media dropdown wider
80+
[\#6245](https://github.com/vector-im/riot-web/pull/6245)
81+
* Make dropdowns with long options degrade more gracefully
82+
[\#6244](https://github.com/vector-im/riot-web/pull/6244)
83+
* Fix un-tinted "View Community" icon in TagTile context menu
84+
[\#6223](https://github.com/vector-im/riot-web/pull/6223)
85+
* Fix RoomDropTarget and emptySubListTip to have containers
86+
[\#6160](https://github.com/vector-im/riot-web/pull/6160)
87+
* Fix syntax error of wrong use of self-closing HTML tag
88+
[\#6154](https://github.com/vector-im/riot-web/pull/6154)
89+
* Use translucent black for RoomSubList bg to fix tinting
90+
[\#6227](https://github.com/vector-im/riot-web/pull/6227)
91+
* CSS for changing "R" to "X" for clearing group filter
92+
[\#6216](https://github.com/vector-im/riot-web/pull/6216)
93+
* CSS for new global TagPanel filter
94+
[\#6187](https://github.com/vector-im/riot-web/pull/6187)
95+
* Separate the middle panel from the room list
96+
[\#6194](https://github.com/vector-im/riot-web/pull/6194)
97+
* Only use DNDRoomTile for editable sub lists
98+
[\#6176](https://github.com/vector-im/riot-web/pull/6176)
99+
* Adjust CSS to prevent scrollbars on message panel spinner
100+
[\#6131](https://github.com/vector-im/riot-web/pull/6131)
101+
* Implement riot-web side of dragging GroupTile avatars to TagPanel
102+
[\#6143](https://github.com/vector-im/riot-web/pull/6143)
103+
* Fix LeftPanel size being incorrect when TagPanel disabled
104+
[\#6140](https://github.com/vector-im/riot-web/pull/6140)
105+
* Fix TagPanel from collapsing to < 60px when LP collapsed
106+
[\#6134](https://github.com/vector-im/riot-web/pull/6134)
107+
* Temporary hack to constrain LLP container size.
108+
[\#6138](https://github.com/vector-im/riot-web/pull/6138)
109+
* Fix typo
110+
[\#6137](https://github.com/vector-im/riot-web/pull/6137)
111+
* Add context menu to TagPanel
112+
[\#6127](https://github.com/vector-im/riot-web/pull/6127)
113+
* Make room tagging flux-y
114+
[\#6096](https://github.com/vector-im/riot-web/pull/6096)
115+
* Move groups button to TagPanel
116+
[\#6130](https://github.com/vector-im/riot-web/pull/6130)
117+
* Fix long group name pushing settings cog into void
118+
[\#6106](https://github.com/vector-im/riot-web/pull/6106)
119+
* Fix horizontal scrollbar under certain circumstances
120+
[\#6103](https://github.com/vector-im/riot-web/pull/6103)
121+
* Split MImageBody into MFileBody to match JS Classes.
122+
[\#6067](https://github.com/vector-im/riot-web/pull/6067)
123+
* Add Catalan
124+
[\#6040](https://github.com/vector-im/riot-web/pull/6040)
125+
* Update from Weblate.
126+
[\#5777](https://github.com/vector-im/riot-web/pull/5777)
127+
* make FilteredList controlled, such that it can externally persist filter
128+
[\#5718](https://github.com/vector-im/riot-web/pull/5718)
129+
* Linear Rich Quoting
130+
[\#6017](https://github.com/vector-im/riot-web/pull/6017)
131+
* Highlight ViewSource and Devtools ViewSource
132+
[\#5995](https://github.com/vector-im/riot-web/pull/5995)
133+
* default url, not domain
134+
[\#6022](https://github.com/vector-im/riot-web/pull/6022)
135+
* T3chguy/num members tooltip
136+
[\#5929](https://github.com/vector-im/riot-web/pull/5929)
137+
* Swap RoomList to react-beautiful-dnd
138+
[\#6008](https://github.com/vector-im/riot-web/pull/6008)
139+
* CSS required as part of moving TagPanel from react-dnd to react-beautiful-
140+
dnd
141+
[\#5992](https://github.com/vector-im/riot-web/pull/5992)
142+
* fix&refactor DateSeparator and MessageTimestamp
143+
[\#5984](https://github.com/vector-im/riot-web/pull/5984)
144+
* Iterative fixes on Rich Quoting
145+
[\#5978](https://github.com/vector-im/riot-web/pull/5978)
146+
* move piwik whitelists to conf and add piwik config.json info to readme
147+
[\#5653](https://github.com/vector-im/riot-web/pull/5653)
148+
* Implement Rich Quoting/Replies
149+
[\#5804](https://github.com/vector-im/riot-web/pull/5804)
150+
* Change author
151+
[\#5950](https://github.com/vector-im/riot-web/pull/5950)
152+
* Revert "Add a &nbsp; after timestamp"
153+
[\#5944](https://github.com/vector-im/riot-web/pull/5944)
154+
* Add a &nbsp; after timestamp
155+
[\#3046](https://github.com/vector-im/riot-web/pull/3046)
156+
* Corrected language name
157+
[\#5938](https://github.com/vector-im/riot-web/pull/5938)
158+
* Hide Options button from copy to clipboard
159+
[\#2892](https://github.com/vector-im/riot-web/pull/2892)
160+
* Fix for `If riot is narrow enough, such that 'Send a message (unecrypted)'
161+
wraps to a second line, the timeline doesn't fit the window.`
162+
[\#5900](https://github.com/vector-im/riot-web/pull/5900)
163+
* Screenshot UI
164+
[\#5849](https://github.com/vector-im/riot-web/pull/5849)
165+
* add missing config.json entry such that scalar-staging widgets work
166+
[\#5855](https://github.com/vector-im/riot-web/pull/5855)
167+
* add dark theme styling to devtools input box
168+
[\#5610](https://github.com/vector-im/riot-web/pull/5610)
169+
* Fixes #1953 by adding oivoodoo as author
170+
[\#5851](https://github.com/vector-im/riot-web/pull/5851)
171+
* Instructions on security issues
172+
[\#5824](https://github.com/vector-im/riot-web/pull/5824)
173+
* Move DND wrapper to top level component
174+
[\#5790](https://github.com/vector-im/riot-web/pull/5790)
175+
* Widget title bar max / min visual cues.
176+
[\#5786](https://github.com/vector-im/riot-web/pull/5786)
177+
* Implement renumeration of ordered tags upon collision
178+
[\#5759](https://github.com/vector-im/riot-web/pull/5759)
179+
* Update imports for accessing KeyCode
180+
[\#5751](https://github.com/vector-im/riot-web/pull/5751)
181+
* Set html lang attribute from language setting
182+
[\#5685](https://github.com/vector-im/riot-web/pull/5685)
183+
* CSS for new TagPanel
184+
[\#5723](https://github.com/vector-im/riot-web/pull/5723)
185+
* getGroupStore no longer needs a matrix client
186+
[\#5707](https://github.com/vector-im/riot-web/pull/5707)
187+
* CSS required for moving group publication toggles to UserSettings
188+
[\#5702](https://github.com/vector-im/riot-web/pull/5702)
189+
* Make sure the SettingsStore is ready to load the theme before loading it
190+
[\#5630](https://github.com/vector-im/riot-web/pull/5630)
191+
* Add some aria-labels to RightPanel
192+
[\#5661](https://github.com/vector-im/riot-web/pull/5661)
193+
* Use badge count format for member count in RightPanel
194+
[\#5657](https://github.com/vector-im/riot-web/pull/5657)
195+
* Exclude the default language on page load
196+
[\#5640](https://github.com/vector-im/riot-web/pull/5640)
197+
* Use SettingsStore to get the default theme
198+
[\#5615](https://github.com/vector-im/riot-web/pull/5615)
199+
* Refactor translations
200+
[\#5613](https://github.com/vector-im/riot-web/pull/5613)
201+
* TintableSvgButton styling
202+
[\#5605](https://github.com/vector-im/riot-web/pull/5605)
203+
* Granular settings
204+
[\#5468](https://github.com/vector-im/riot-web/pull/5468)
205+
* CSS/components for custom presence controls
206+
[\#5286](https://github.com/vector-im/riot-web/pull/5286)
207+
* Set widget tile background colour
208+
[\#5574](https://github.com/vector-im/riot-web/pull/5574)
209+
* Widget styling tweaks
210+
[\#5573](https://github.com/vector-im/riot-web/pull/5573)
211+
* Center mixed content warnings in panel.
212+
[\#5567](https://github.com/vector-im/riot-web/pull/5567)
213+
* Status.im theme
214+
[\#5578](https://github.com/vector-im/riot-web/pull/5578)
215+
216+
Changes in [0.13.5](https://github.com/vector-im/riot-web/releases/tag/v0.13.5) (2018-02-09)
217+
============================================================================================
218+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v0.13.4...v0.13.5)
219+
220+
* SECURITY UPDATE: Sanitise URLs from 'external_url'. Thanks to walle303 for contacting
221+
us about this vulnerability.
222+
223+
Changes in [0.13.4](https://github.com/vector-im/riot-web/releases/tag/v0.13.4) (2018-01-03)
224+
============================================================================================
225+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v0.13.3...v0.13.4)
226+
227+
* Change config of riot.im electron build to fix some widgets not working. This only affects
228+
electron builds using the riot.im config - for all other builds, this is identical to
229+
v0.13.3.
230+
1231
Changes in [0.13.3](https://github.com/vector-im/riot-web/releases/tag/v0.13.3) (2017-12-04)
2232
============================================================================================
3233
[Full Changelog](https://github.com/vector-im/riot-web/compare/v0.13.2...v0.13.3)

‎README.md‎

Lines changed: 62 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ config.json
106106
You can configure the app by copying `config.sample.json` to
107107
`config.json` and customising it:
108108

109-
1. `default_hs_url` is the default home server url.
109+
For a good example, see https://riot.im/develop/config.json
110+
111+
1. `default_hs_url` is the default homeserver url.
110112
1. `default_is_url` is the default identity server url (this is the server used
111113
for verifying third party identifiers like email addresses). If this is blank,
112114
registering with an email address, adding an email address to your account,
@@ -115,21 +117,49 @@ You can configure the app by copying `config.sample.json` to
115117
addresses) to matrix IDs: see http://matrix.org/docs/spec/identity_service/unstable.html
116118
for more details. Currently the only public matrix identity servers are https://matrix.org
117119
and https://vector.im. In future identity servers will be decentralised.
120+
1. `features`: Lookup of optional features that may be `enable`d, `disable`d, or exposed to the user
121+
in the `labs` section of settings. The available optional experimental features vary from
122+
release to release.
123+
1. `brand`: String to pass to your homeserver when configuring email notifications, to let the
124+
homeserver know what email template to use when talking to you.
118125
1. `integrations_ui_url`: URL to the web interface for the integrations server. The integrations
119126
server is not Riot and normally not your Home Server either. The integration server settings
120127
may be left blank to disable integrations.
121128
1. `integrations_rest_url`: URL to the REST interface for the integrations server.
129+
1. `integrations_widgets_urls`: list of URLs to the REST interface for the widget integrations server.
130+
1. `bug_report_endpoint_url`: endpoint to send bug reports to (must be running a
131+
https://github.com/matrix-org/rageshake server)
122132
1. `roomDirectory`: config for the public room directory. This section is optional.
123-
1. `roomDirectory.servers`: List of other Home Servers' directories to include in the drop
133+
1. `roomDirectory.servers`: List of other homeservers' directories to include in the drop
124134
down list. Optional.
135+
1. `default_theme`: name of theme to use by default (e.g. 'light')
125136
1. `update_base_url` (electron app only): HTTPS URL to a web server to download
126137
updates from. This should be the path to the directory containing `macos`
127138
and `win32` (for update packages, not installer packages).
128139
1. `cross_origin_renderer_url`: URL to a static HTML page hosting code to help display
129140
encrypted file attachments. This MUST be hosted on a completely separate domain to
130141
anything else since it is used to isolate the privileges of file attachments to this
131-
domain. Default: `usercontent.riot.im`. This needs to contain v1.html from
142+
domain. Default: `https://usercontent.riot.im/v1.html`. This needs to contain v1.html from
132143
https://github.com/matrix-org/usercontent/blob/master/v1.html
144+
1. `piwik`: an object containing the following properties:
145+
1. `url`: The URL of the Piwik instance to use for collecting Analytics
146+
1. `whitelistedHSUrls`: a list of HS URLs to not redact from the Analytics
147+
1. `whitelistedISUrls`: a list of IS URLs to not redact from the Analytics
148+
1. `siteId`: The Piwik Site ID to use when sending Analytics to the Piwik server configured above
149+
1. `teamServerConfig`, `teamTokenMap`, `referralBaseUrl`: an obsolete precursor to communities
150+
with referral tracking; please ignore it.
151+
1. `welcomeUserId`: the user ID of a bot to invite whenever users register that can give them a tour
152+
153+
154+
Note that `index.html` also has an og:image meta tag that is set to an image
155+
hosted on riot.im. This is the image used if links to your copy of Riot
156+
appear in some websites like Facebook, and indeed Riot itself. This has to be
157+
static in the HTML and an absolute URL (and HTTP rather than HTTPS), so it's
158+
not possible for this to be an option in config.json. If you'd like to change
159+
it, you can build Riot as above, but run
160+
`RIOT_OG_IMAGE_URL="http://example.com/logo.png" npm run build`.
161+
Alternatively, you can edit the `og:image` meta tag in `index.html` directly
162+
each time you download a new version of Riot.
133163

134164
Running as a Desktop app
135165
========================
@@ -314,31 +344,51 @@ For a developer guide, see the [translating dev doc](docs/translating-dev.md).
314344
Triaging issues
315345
===============
316346
317-
Issues will be triaged by the core team using the following primary set of tags:
347+
Issues will be triaged by the core team using the below set of tags.
348+
349+
Tags are meant to be used in combination - e.g.:
350+
* P1 critical bug == really urgent stuff that should be next in the bugfixing todo list
351+
* "release blocker" == stuff which is blocking us from cutting the next release.
352+
* P1 feature type:voip == what VoIP features should we be working on next?
318353
319-
priority:
354+
priority: **compulsory**
320355
321-
* P1: top priority; typically blocks releases
356+
* P1: top priority - i.e. pool of stuff which we should be working on next
322357
* P2: still need to fix, but lower than P1
323358
* P3: non-urgent
324-
* P4: intereseting idea - bluesky some day
359+
* P4: interesting idea - bluesky some day
325360
* P5: recorded for posterity/to avoid duplicates. No intention to resolves right now.
326361
327-
bug or feature:
362+
bug or feature: **compulsory**
328363
329364
* bug
330365
* feature
331366
332-
bug severity:
367+
bug severity: **compulsory, if bug**
333368
334-
* cosmetic - feature works functionally but UI/UX is broken
335369
* critical - whole app doesn't work
336370
* major - entire feature doesn't work
337371
* minor - partially broken feature (but still usable)
372+
* cosmetic - feature works functionally but UI/UX is broken
373+
374+
types
375+
* type:* - refers to a particular part of the app; used to filter bugs
376+
on a given topic - e.g. VOIP, signup, timeline, etc.
338377
339-
additional categories:
378+
additional categories (self-explanatory):
340379
341380
* release blocker
342381
* ui/ux (think of this as cosmetic)
343382
* network (specific to network conditions)
344-
* platform (platform specific)
383+
* platform specific
384+
* accessibility
385+
* maintenance
386+
* performance
387+
* i18n
388+
* blocked - whether this issue currently can't be progressed due to outside factors
389+
390+
community engagement
391+
* easy
392+
* hacktoberfest
393+
* bounty? - proposal to be included in a bounty programme
394+
* bounty - included in Status Open Bounty

‎config.sample.json‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@
2424
"welcomeUserId": "@riot-bot:matrix.org",
2525
"piwik": {
2626
"url": "https://piwik.riot.im/",
27+
"whitelistedHSUrls": ["https://matrix.org"],
28+
"whitelistedISUrls": ["https://vector.im", "https://matrix.org"],
2729
"siteId": 1
30+
},
31+
"enable_presence_by_hs_url": {
32+
"https://matrix.org": false
2833
}
2934
}

‎docs/translating.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Head to the explanations under Steb 2b
3535
## Step 2b: Adding a new language
3636

3737
1. Go to one of the projects listed https://translate.riot.im/projects/riot-web/
38-
2. Click the ``Start new language`` button at the bottom
38+
2. Click the ``Start new translation`` button at the bottom
3939
3. Select a language
4040
4. Start translating like in 2a.3
4141
5. Repeat these steps for the other projects which are listed at the link of step 2b.1

0 commit comments

Comments
 (0)