JC Brand
cb118b9cd0
Extract inline code into method
2018-08-01 11:10:43 +02:00
JC Brand
cbe6092c33
Handle case where chat content is empty
2018-08-01 11:10:43 +02:00
JC Brand
4cefc7cdf9
Fix failing tests due to renames
2018-07-25 12:05:09 +02:00
JC Brand
5abb9f8bb2
Found more instance of room
to be replaced with groupchat
2018-07-22 11:31:45 +02:00
JC Brand
84a10d77d9
Cancel message correction by pressing the down arrow
...
Also, add a class `correcting` to the message being corrected, to
provide a visual cue.
updates #421
2018-07-08 11:30:15 +02:00
JC Brand
a67fa6d4e5
Render URLs in the topic in the room details modal
2018-07-02 21:20:37 +02:00
JC Brand
d335173fd7
Bootstrap markup for auto-generated forms
2018-07-02 20:18:22 +02:00
JC Brand
e64edf19b4
Use "Groupchat" instead of "Chatroom"
2018-07-02 16:27:58 +02:00
JC Brand
4331f920cf
Fix failing tests
2018-07-02 15:23:49 +02:00
JC Brand
c6d7317bb2
Show the topic in the room info modal
2018-07-02 13:41:15 +02:00
JC Brand
1880b3f209
Nicer rendering of MUC disconnection messages
2018-07-02 12:52:19 +02:00
JC Brand
9a60b5bb15
Let api.disco.info
use api.sendIQ
(and therefore be promise based)
2018-06-30 14:01:47 +02:00
JC Brand
eed141b53e
Remove unnecessary path aliases from the webpack config
2018-06-06 11:04:23 +02:00
JC Brand
78d6d493d6
Add info icon in room header and show room details in modal
2018-06-04 19:54:11 +02:00
JC Brand
f7c3351e2b
Merge branch 'master' into webpack
2018-06-04 13:46:27 +02:00
JC Brand
bc872ee2cb
Fix various failing tests and update Makefile
2018-06-04 11:20:34 +02:00
JC Brand
74eed32e82
Add shims to webpack config and fix bugs in templates
2018-06-02 17:18:42 +02:00
JC Brand
8948be1d3d
In mobile view, add arrows to chat headings
...
so that you can navigate "back" to the controlbox.
2018-06-01 14:57:19 +02:00
JC Brand
5e97db95f9
Add a close button on the occupants sidebar
2018-05-30 16:55:28 +02:00
JC Brand
8c983ab2a3
Use different icon for adding a groupchat
...
Fixes #1072
2018-05-30 16:38:51 +02:00
JC Brand
d384c70929
Use double angle brackets as occupants toggle icon
...
updates #1072
2018-05-30 16:27:45 +02:00
JC Brand
6dc9e8edf1
Use webpack for module bundling
2018-05-25 14:23:32 +02:00
JC Brand
adad60e298
Refactor so that nick-deduplication takes VCard nick into account
...
Updates #968
2018-05-24 10:24:48 +02:00
JC Brand
e76dc01265
Use nickname from VCard when joining a room
...
updates #968
2018-05-24 10:15:58 +02:00
JC Brand
dd5f6f1025
Show join/leave notifications for members who go offline
...
updates #1094
2018-05-24 09:48:01 +02:00
JC Brand
d0a97fe3c2
Only inform new users that the room is not anonymous
...
instead of informing all users every time someone enters the room.
2018-05-15 10:29:56 +02:00
JC Brand
2a7c6142a5
Use newer classes
2018-05-14 13:49:04 +02:00
JC Brand
d871392039
updates #1094
...
Update the occupants list when occupants are added/removed from the
member lists.
2018-05-11 00:17:44 +02:00
JC Brand
859bc0616e
Fixes #1094
...
- Show users who are registered on the different members lists
- Show badges indicating user's roles and affiliations
2018-05-09 12:28:34 +02:00
JC Brand
b3619077f9
Remove dependency on the strophe disco plugin
...
And instead implement it ourselves.
This solves a bug with that plugin whereby the connection handlers are
added to early and are therefore never fired.
Also fixed a problem whereby entity items are queried for features
before the features have been fetched.
2018-05-07 18:06:50 +02:00
JC Brand
cb0d8c7d86
Found more MUC code that should be in the view module
2018-05-02 15:29:06 +02:00
JC Brand
53f5627b72
Add support for rendering avatars in groupchats
2018-05-01 18:18:02 +02:00
JC Brand
4f7c08b1da
Bail when in a callback for a hanging chatroom
2018-04-30 15:37:37 +02:00
JC Brand
3d42425083
Some UI improvements
...
- Render images as thumbnails
- Use the image.html template when rendering images from pasted URLs
- Update message and spoiler markup to render avatars
- Use the default avatar as fallback when user doesn't have one
- Instead of 'me' render own name or JID
2018-04-30 15:37:36 +02:00
JC Brand
6cce931086
Make sure show
is created on all chatbox types
2018-04-24 16:39:39 +02:00
JC Brand
71be72b50c
Automatically grow/shrink input as text is entered/removed
2018-04-24 14:33:00 +02:00
JC Brand
59a72efe1b
Refactor MUC message sending
...
To make it more similar to how messages are sent in private chats and to
reuse methods as far as possible.
Removed `sendChatRoomMessage` and `clearChatRoomMessages`
2018-04-24 11:09:36 +02:00
JC Brand
e0aaeb66ea
updates #161
...
* Fix typo which broke MUC file upload
* Remove unused method
* Move file input into li element
2018-04-24 07:49:37 +02:00
JC Brand
aacfe3b66b
Don't show MUC CSN if from myself. fixes #1026
2018-04-22 04:26:35 +02:00
JC Brand
74f9952b24
Move sendChatState
methods to the models
2018-04-22 04:25:05 +02:00
JC Brand
dad8eb2f48
Remove separate file converse-http-file-upload
...
It contained only `overrides` and some HTTP upload code was in other
modules.
Current thinking concerning overrides:
Usage of `overrides`, while useful in certain cases, should in general
be discouraged, since it's in essence "monkey patching" which makes it
more difficult to know whats executing at runtime and more difficult to
refactor.
Splitting modules up between XEPs is not always that useful. Some XEPs,
like HTTP Upload (and MAM comes to mind) have their functionality spread
out over single and group chats (and pubsub) and might for practical
purposes be considered "core" enough to not try and keep them in
separate modules (which inevitably requires overrides or a fundamentally
rethinking the architecture).
Where splitting code between modules makes a lot of sense is in keeping
Backbone Models and Views separate (so that alternative view libraries
like Vue could be used) and probably in keeping Single chats, MUC,
PubSub and MIX separate.
updates #161
2018-04-17 15:21:30 +02:00
JC Brand
de6ecbf07a
Render messages via a new MessageView view
...
updates #161
2018-04-17 15:21:26 +02:00
JC Brand
264e6830af
Remove references to unused parameters
...
updates #161
2018-04-17 15:21:21 +02:00
worlword
bf3e6f2363
some code-changes to align with the coding standard
2018-04-12 09:24:41 +02:00
worlword
7660dbfb31
merge httpFileUpload-Branch with master
2018-04-12 07:43:39 +02:00
JC Brand
3d29567ab6
Revert "Don't show typing from different device
CSN messages"
...
This reverts commit 7303e96cdb
.
Instead of dropping the feature entirely, we can check if the CSN is a
carbon message.
2018-04-11 18:46:50 +02:00
worlword
c9a9d01112
used code from 'http-file-upload' branch. Buttons are now added to the toolbars through converse-http-file-upload.js.
2018-04-11 17:09:32 +02:00
worlword
fa80749658
refactoring based on the review from jcbrand 06.Apr.2018
2018-04-11 15:29:41 +02:00
JC Brand
7303e96cdb
Don't show typing from different device
CSN messages
...
To avoid showing them erroneously would mean keeping track of used
message ids which seems like more work than justified by the feature.
Fixes #1026
2018-04-10 20:56:54 +02:00
JC Brand
9528d81c00
Move various MUC methods onto the Backbone.Model
...
To more cleanly separate views and models and to make MUC in headless
mode more viable.
Refs #1032
2018-04-10 18:59:02 +02:00
JC Brand
9a526d4194
Refactoring of the XEP-0085 Chat State Notifications code
...
* Distinguish between CSN messages and other types of messages
* Properly clear previous notifications
* Better handling of notifications from multiple users (in MUC)
* Rename methods to make clarify intent
2018-04-06 17:02:28 +02:00
worlword
7839f20846
fixed sendMessage for so that tests will work again
2018-04-05 08:45:58 +02:00
worlword
530e7f9d3f
fixed file-upload-button in MUC and added changes.md entry
2018-04-03 12:29:12 +02:00
worlword
b23712aec3
added httpFileUpload to converse.js
2018-04-03 11:20:57 +02:00
ChaosKid42
fce9ee0db9
replace geoURIs (e.g. from Convesations) by links to openstreetmap ( #1054 )
...
* replace geoURIs by link to openstreetmap
* Added testcase
2018-03-31 18:29:01 +02:00
JC Brand
ebfd0a8f77
Move various funcitons related to MUC member lists to utils
...
and out of the MUC views plugin.
Refs #1032
2018-03-30 14:23:39 +02:00
JC Brand
06141b3212
Move methods from MUC view to model
...
* checkForReservedNick
* parseRoomFeatures
* sendConfiguration
Refs #1032
2018-03-30 14:23:39 +02:00
JC Brand
b584f2efb3
Add a new config setting nickname
...
- for subscription requests
- when entering chat rooms
2018-03-30 14:22:53 +02:00
JC Brand
9799ecce10
Focus inputs inside modals
2018-03-30 14:22:52 +02:00
JC Brand
2580cafa76
Bugfix. Fix selector
2018-03-30 14:16:07 +02:00
JC Brand
044907e4fa
Looks like focus
parameter was never used.
2018-03-14 13:27:36 +00:00
JC Brand
ca141401a0
Fix failing tests
2018-03-13 13:42:00 +01:00
JC Brand
8bddd0d7f4
Some work on showing emoji in a dropdown
2018-03-09 11:46:50 +01:00
JC Brand
914a55707d
Replace col-
classes with Sass mixins
2018-03-09 10:12:05 +01:00
JC Brand
b3f2fafeea
Various smaller fixes and improvements
2018-03-07 14:36:19 +01:00
JC Brand
21e1b2694f
Bugfix from master.
2018-03-07 11:06:11 +01:00
JC Brand
2db4550b13
Update chat events markup.
2018-03-07 11:02:12 +01:00
JC Brand
181b1836b0
Update and further style toolbars
2018-03-06 15:26:05 +01:00
JC Brand
6bdf204be4
Show occupants sidebar again
2018-03-05 16:58:31 +01:00
JC Brand
d4d3d4c838
Merge branch 'split-muc' into bootstrap4
2018-03-05 16:51:33 +01:00
JC Brand
0013ee5506
Split MUC views into separate file/plugin
2018-03-05 16:32:13 +01:00
JC Brand
e344bf769a
New modal for adding contacts.
...
Remove the xhr_user_search and xhr_user_search_url options
Lazily create modals
2018-02-23 16:33:09 +01:00
JC Brand
b3409fd01b
Move common modal view code into a base class
2018-02-22 18:41:01 +01:00
JC Brand
4e508cfe88
Add a modal to list rooms
2018-02-22 17:40:01 +01:00
JC Brand
e143c88475
More work on the "add chatroom" modal. Working now.
2018-02-22 15:58:23 +01:00
JC Brand
d1d43edf52
Move MUC views into a new plugin
2018-02-21 22:40:30 +01:00