Commit graph

168 commits

Author SHA1 Message Date
manuroe
b7b0884821 WidgetManager: Patch: Modular uses a malformed key: "stateKey" instead of "state_key" 2018-05-07 17:34:54 +02:00
manuroe
5e1144f11e Send Stickers: WidgetManager: add userWidgets
and show them in the widget picker and within the list of installed widgets of the integration manager

#1860
2018-05-07 11:15:18 +02:00
manuroe
5ab475cf35 Send Stickers: Pass widget id to widgets urls
#1860
This is mandatory for the sticker picker widget
2018-05-07 10:46:33 +02:00
manuroe
7a0afe157d Widget: Support new "m.widget" state event type but keep using "im.vector.modular.widgets" for operations
while the move is not fully done (https://docs.google.com/document/d/1uPF7XWY_dXTKVKV7jZQ2KmsI19wn9-kFRgQ1tFQP7wQ/edit?usp=sharing)
2018-05-07 10:12:02 +02:00
manuroe
4cb68c7619 Widgets: Make sure we have a scalar token before opening one (#1723).
Make the build of the true widget URL asynchronous and build it only when necessary.
2018-01-04 12:25:32 +01:00
giomfo
e3ff84c53e
Merge pull request #1710 from vector-im/groups
Groups enhancements
2017-12-28 13:42:30 +01:00
Giom Foret
30be79959d Group Details: Home page
- Add the number of members and rooms in the home screens.

vector-im/riot-meta#115
2017-12-28 12:00:46 +01:00
manuroe
d4ff908025 Merge remote-tracking branch 'origin/release-v0.6.7' into develop
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
2017-12-27 16:23:42 +01:00
manuroe
c353ea6979 Widget: Fix crash when widget JSON data contains a number value instead of an expected string (https://github.com/matrix-org/riot-ios-rageshakes/issues/765) 2017-12-27 08:57:14 +01:00
manuroe
c65edecef3 Widget: Integrate widget data into widget URL (https://github.com/vector-im/riot-meta/issues/125) 2017-12-21 09:28:21 +01:00
Giom Foret
255f2fc726 Groups: self-management of membership of groups
- Prepare Group Details screen

vector-im/riot-meta#114
2017-12-14 16:05:11 +01:00
manuroe
16ff65f745 Widget: Integrate widget data into widget URL (https://github.com/vector-im/riot-meta/issues/125) 2017-12-08 16:46:46 +01:00
giomfo
ed81ea13ba
Merge pull request #1665 from aaronraimist/oled-black
Add basic OLED black theme
2017-11-27 09:59:35 +01:00
Aaron Raimist
4cb667181a Remove kRiotKeyboard initialization 2017-11-23 11:15:51 -06:00
manuroe
45f07ab466 Make code compatible with !use_frameworks in Podfile 2017-11-23 16:09:19 +01:00
Aaron Raimist
2c1d87b032 Add basic OLED black theme 2017-11-21 20:55:11 -06:00
manuroe
95dd8eb724 BF: Jitsi: Crash if the user display name has several components (#1616) 2017-10-25 16:46:03 +02:00
manuroe
34056cefd3 EventFormatter: Improve updateRoomSummary:withStateEvents: to avoid to compute room avatar & displayname on almost every state events.
When initialsyncing with big rooms, the previous implementation leaded the app to out of memory because ARC did not have time to auto release objects (mainly objects returned by MXRoomState.members).
2017-10-05 09:34:17 +02:00
manuroe
78d4d55f8b Jitsi: Enable the "Create conference calls with jitsi" settings by default 2017-10-03 13:17:07 +02:00
manuroe
39423bab97 Merge pull request #1536 from vector-im/format_widgets
Widgets: add notices for widgets events
2017-09-28 14:33:10 +02:00
manuroe
31051d145b Widgets: add notices for widgets events 2017-09-27 17:15:09 +02:00
manuroe
4b2a5a7e18 Widgets: list active widgets in a room
List them into an alertVC for the moment
2017-09-27 15:21:38 +02:00
manuroe
f4f8b66671 Widget: code cleaning 2017-09-21 15:36:09 +02:00
manuroe
819f407ae1 BF: [iOS11] "Smart [colors] Invert" renders badly in the app
https://github.com/vector-im/riot-ios/issues/1524

- the app does its own dark theme and prevents the OS from automatically revert the colors in the app
- there are 3 choices on iOS11 for the Riot theme: "auto", "light", "dark". "auto" uses the system settings
2017-09-21 15:29:46 +02:00
manuroe
5664eb2cfd Widget: Fix crash. Handle the case where a scalar token is not required (jitsi). 2017-09-19 10:04:19 +02:00
manuroe
6e818bc502 Add WidgetViewController
Not yet use
2017-09-18 16:22:59 +02:00
manuroe
dea81dadf4 Merge pull request #1511 from vector-im/widget_manager_2
Show the "Integrations Manager" into a webview
2017-09-15 16:55:28 +02:00
manuroe
0facbaec9e Modular integrations UI: Clear Modular data on logout 2017-09-15 15:35:27 +02:00
Giom Foret
e4bf4f7dfa Handle the room display name and its avatar at the room summary level.
- Update the room display name and its avatar url when the Room Summary is updated on state events change (see `[session: updateRoomSummary: withStateEvents:]`).
- Store the riot display room name and its avatar url in the Room Summary.
- Add a new category `MXRoomSummary+Riot` to handle avatar display.

TODO: Increase file store version in `MXFileStore.h`.
2017-09-14 16:00:50 +02:00
Giom Foret
8f3736c403 Dark theme - Improvements
- the keyboard bubble should be darker too
2017-09-11 22:37:00 +02:00
manuroe
548d9d42b8 WidgetManager: createWidget did not call the success block 2017-09-11 16:35:42 +02:00
Giom Foret
0ad5b737a3 Dark theme - Improvements
- some hairlines being too bright
- fading behind dialog modals being white rather than dark
- grey highlight bar in room list being too light (i think)?
2017-09-11 11:27:47 +02:00
manuroe
3c99550f0c Modular integrations UI: Show the Modular integrations webapp into a webview 2017-09-07 11:32:40 +02:00
manuroe
653ae7f925 Widget: Define same app settings for modular as in https://riot.im/app/config.json
And use it
2017-09-06 16:05:36 +02:00
manuroe
2886daf4c6 Jitsi widget: Add notices for jitsi widget in rooms histories 2017-08-30 17:37:14 +02:00
manuroe
4d3c30cf9b Widget: In comments, replace scalar by modular, the official public name that replaces the codename 2017-08-30 11:28:51 +02:00
Giom Foret
b278f7d4b3 Re-enable the display of jitsi conference widget on develop 2017-08-25 20:08:23 +02:00
Giom Foret
8a06f8e8bf Disable the display of jitsi conference widget. 2017-08-25 14:04:26 +02:00
manuroe
eb2455e360 Jitsi widget: add display or creation of jitsi conference under USE_JITSI_WIDGET compilation flag 2017-08-18 11:56:32 +02:00
manuroe
32a996beb4 Jitsi widget: naming sanitisation 2017-08-18 09:49:14 +02:00
manuroe
191e449337 Jitsi widget: WidgetManager: add WidgetManagerErrorCodeCreationFailed 2017-08-17 18:45:49 +02:00
manuroe
b2a27145bc Jitsi widget: WidgetManage add createWidget and createJitsiWidget methods 2017-08-17 18:28:24 +02:00
manuroe
9e02006abd Jitsi widget: Add [WidgetManager closeWidget] and use it for jitsi conference 2017-08-17 12:17:07 +02:00
manuroe
f13baec441 Merge remote-tracking branch 'origin/develop' into jitsi_widget
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
2017-08-16 17:14:20 +02:00
manuroe
43f9a278a2 Jitsi widget: Fix in [WidgetManager widgetsOfTypes:inRoom:] 2017-08-16 17:05:14 +02:00
manuroe
40995c9663 Jitsi widget: Remove WidgetManager.enabled settings. Let's user check what they want with [WidgetManager widgetsOfTypes:inRoom:] 2017-08-16 11:49:01 +02:00
manuroe
c50ecaf571 Jitsi widget: Implement [Widget description] 2017-08-16 11:47:03 +02:00
Giom Foret
193c0566bc Dark Theme - Fix Manu's remarks 2017-08-16 09:40:47 +02:00
Giom Foret
b521962db1 Dark Theme - Improvement
HTML string rendering: Use the grayscale component of the secondary bg color to set the background color in the default CSS
2017-08-14 15:43:50 +02:00
Giom Foret
e9bc00959d Enable Dark theme
TODO:
- fix the app freeze when user changes the app theme.
2017-08-11 16:56:09 +02:00
manuroe
c7e2ca6de2 Jitsi widget: Add Settings > LABS > Use jitsi for conference calls 2017-08-10 15:43:25 +02:00
manuroe
e73cea2892 Jitsi widget: Make [WidgetManager removeMatrixSession] work 2017-08-09 18:06:33 +02:00
manuroe
bd956855c5 Jitsi widget: Dedup widgets - full algo that trusts on-one 2017-08-09 17:59:10 +02:00
manuroe
506ace40cf Jitsi widget: Show/hide the widget presence in RoomVC at runtime 2017-08-09 17:31:15 +02:00
manuroe
f76ed0cd82 Jitsi widget: Dedup widgets 2017-08-09 16:48:05 +02:00
manuroe
a4e85e844d Merge remote-tracking branch 'origin/master' into jitsi_widget 2017-08-08 17:35:12 +02:00
manuroe
f7f2f70bbe Emojis: Boost size of messages containing only emojis (not only one) 2017-08-08 14:14:00 +02:00
manuroe
c0c951365d Jitsi widget: Use new [MXRoomState stateEventsWithType:] method 2017-08-08 11:56:11 +02:00
manuroe
87546112da Jitsi widget: Add WidgetManager and Widget, generic classes to manage scalar widgets 2017-08-04 13:07:04 +02:00
Giom Foret
5f75c33137 Prepare Dark Theme
Observe user interface theme change.

https://github.com/vector-im/riot-meta/issues/22
2017-07-21 11:28:17 +02:00
manuroe
6eb65f4ff0 MXKEventFormatter: Add singleEmojiTextFont property to special case the display of message with a single emoji.
https://github.com/vector-im/riot-ios/issues/1157: optionally boost size of lone emoji like on riot-web
2017-07-18 14:43:46 +02:00
manuroe
ec701c5813 MELS: s/serie/series 2017-07-17 10:30:46 +02:00
manuroe
c093c34b1f MELS: some i18n 2017-07-07 17:58:39 +02:00
manuroe
498fe978fc MELS: EventFormater: provide a string for membership events as simple as possible for now 2017-07-07 15:26:30 +02:00
Giom Foret
b1f334a41c UX Rework: Apply a different colour scheme on each application tab.
https://github.com/vector-im/riot-meta/issues/72
2017-05-11 10:22:18 +02:00
Giom Foret
2597e36f4e RiotDesignValues: use hex color values 2017-04-11 09:39:08 +02:00
giomfo
7860d46996 Rebranding: replace Vector by Riot everywhere in the git and github repos
- Rename VectorDesignValues with RiotDesignValues
2017-03-08 16:14:41 +01:00
giomfo
568af33fdf Rebranding: replace Vector by Riot everywhere in the git and github repos
- Rename "Vector" directory with "Riot"
2017-03-08 11:08:03 +01:00