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
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
6381128a5f
Test was failing due to file rename
2018-03-30 15:41:09 +02:00
JC Brand
b39429b229
Bump timeouts to try and avoid unnecessary test failures on Travis
2018-03-30 15:25:31 +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
6a12a96e85
Fixes #1043 Parsing of bookmarks fail with missing nick element.
2018-03-30 14:23:39 +02:00
JC Brand
ce849aaffc
Fix failing tests
2018-03-30 14:23:39 +02:00
JC Brand
4f2b040f22
Allow setting a nickname when adding a roster contact
2018-03-30 14:22:51 +02:00
JC Brand
95406a149d
Re-add xhr_user_search_url
and autocomplete when adding contacts
2018-03-30 14:22:51 +02:00
JC Brand
1e927294e0
Fix failing test
2018-03-30 14:22:50 +02:00
JC Brand
b6d0f87129
Remove invalid test
2018-03-30 14:22:50 +02:00
JC Brand
2977643bf7
Fix failing tests
2018-03-18 03:35:34 +00:00
JC Brand
11f02f78fe
Fix more failing tests
2018-03-17 18:54:19 +00:00
JC Brand
cb0b99ac37
Bugfix. Show message author in spoiler messages
2018-03-17 14:39:30 +00:00
JC Brand
850c6aa2bd
Fix more failing tests
2018-03-16 23:37:52 +00:00
JC Brand
56e28070b2
Fix failing test
2018-03-16 19:48:31 +00:00
JC Brand
7b8a244163
Fix failing bookmarks tests
2018-03-16 11:49:39 +00:00
JC Brand
2f46bb8ce7
Fix failing tests
2018-03-14 23:10:31 +00:00
JC Brand
1565decfc0
Add identifiable class name
2018-03-14 18:25:33 +00:00
JC Brand
2ff18c2cfb
Fix emoji test (now that bootstrap dropdown is used)
2018-03-14 17:32:01 +00:00
JC Brand
044907e4fa
Looks like focus
parameter was never used.
2018-03-14 13:27:36 +00:00
JC Brand
03d7f07a4c
Bugfix. Chat wasn't being opened when receiving a message.
2018-03-13 19:11:49 +01:00
JC Brand
ca141401a0
Fix failing tests
2018-03-13 13:42:00 +01:00
JC Brand
c4c154cfa1
Fixes #1022 Include stored status message in presences.
2018-03-02 19:35:06 +01:00
JC Brand
34ac7e99ab
Fixes #1024
...
Use sizzle, otherwise we sometimes get null returned.
2018-03-02 12:36:08 +01:00
JC Brand
e630339a69
Update spec to test sent out stanza as well
2018-03-02 11:59:25 +01:00
JC Brand
03b9447f1d
Asynchronously render spoiler button only if all clients support it
2018-02-08 17:48:15 +01:00
JC Brand
ba09996998
Don't allow PEP bookmarks if #publish-options is not advertised
2018-02-08 09:49:05 +01:00
JC Brand
fbef370b65
Listen for new room bookmarks pushed from the user's PEP service
2018-02-07 21:59:45 +01:00
JC Brand
5f3761dc7f
Only initialize bookmarks and show icon if PEP is supported
...
which we check by checking if the PEP identity is provided.
https://xmpp.org/extensions/xep-0163.html#support
2018-02-07 21:05:38 +01:00
JC Brand
4732f315ed
Use "hidden message" instead of spoiler
2018-02-07 14:39:45 +01:00
JC Brand
4742e66b69
Fix linting errors and failing tests
2018-02-07 14:21:46 +01:00
JC Brand
9c3e9233e4
Test that the spoiler button is hidden when OTR is active
2018-02-07 13:16:34 +01:00
JC Brand
20706cb617
Expand the spoiler tests
2018-02-06 21:21:21 +01:00
JC Brand
d6da643a7f
Add an (incomplete) test for a received spoiler message
2018-02-06 18:05:12 +01:00
JC Brand
ed33d4e53d
Add spec for spoilers, clean up linting errors
2018-02-06 18:05:12 +01:00
JC Brand
bf97ffd381
Check JIDs of archived MAM messages
2018-01-21 22:02:12 +01:00
JC Brand
cac04d076a
Remove jquery as a dependency in MAM spec
2018-01-21 19:50:19 +01:00
JC Brand
210a75b02f
Scroll down again after all images have been loaded.
2018-01-17 19:29:11 +01:00
JC Brand
59c11526f2
Use latest releases and update test for travis
2018-01-15 21:24:08 +01:00
JC Brand
9b3c6d1a3a
Fixes #985 Give help messages a "message" class and isodate data attr.
2018-01-15 20:32:24 +01:00
JC Brand
8c616f0edd
Test breaks when run in a different timezone
2018-01-15 19:03:08 +01:00
JC Brand
e9bba77b36
Add test for /help
command in private chats
2018-01-15 18:41:04 +01:00
JC Brand
4f227b467b
Take all messages except chat events into consideration
...
when determining where to insert new messages
2018-01-10 12:45:12 +00:00
JC Brand
e5b256e45e
Fix broken tests
2018-01-10 12:27:46 +00:00
JC Brand
31e884f79a
Add code to check for duplicates
2018-01-09 22:06:53 +00:00
JC Brand
d7a113e081
Fix transcripts code.
2018-01-09 13:52:27 +00:00
JC Brand
da1f103532
Bugfix. Don't include .chat-events, to avoid null reference
2018-01-09 13:40:32 +00:00