Commit Graph

2346 Commits

Author SHA1 Message Date
camaran
2178822e97 update italian language 2015-08-29 21:30:01 +02:00
JC Brand
ce222e5b75 Small improvements to theming page and tweak css. 2015-08-29 11:51:41 +02:00
JC Brand
de9d8625ea Use released version of backbone.overview 2015-08-26 14:34:16 +02:00
JC Brand
0672e84990 Correctly place config setting in right order. 2015-08-24 18:42:08 +02:00
JC Brand
6369465661 Making a new 0.9.5 release. 2015-08-24 17:56:50 +02:00
JC Brand
1390e1a3b0 3 changes
- updated version of moment.js
- remove unused variables in converse.js
- fix broken link in index.html
2015-08-24 17:01:55 +02:00
JC Brand
20c2a57736 Merge branch 'master' of github.com:jcbrand/converse.js 2015-08-11 09:13:46 +02:00
JC Brand
fa4aae38ce Merge pull request #448 from basilioferraz/patch-1
Adicionando Tradução de palavra
2015-08-10 18:20:55 +02:00
Basilio Ferraz
b9b0b096d8 Adicionando Tradução de palavra
Procurei pela tradução e não hávia encontrado a tradução dessa frase, por isso venho aqui propor esta melhoria.
2015-08-05 12:54:43 -03:00
JC Brand
bfa75d5ee6 Merge pull request #444 from skope/fix-french-translation
Excessive double quote in french translation file
2015-07-31 16:37:27 +02:00
Sami Keinänen
3301a88ae3 Excessive double quote in french translation file 2015-07-31 13:33:32 +03:00
JC Brand
a37bcc3058 Don't include moment locales when building without locales. 2015-07-30 15:42:04 +02:00
JC Brand
2cc76c3af7 Type attribute on data forms is mandatory. updates #306
See here:
https://github.com/strophe/strophejs-plugins/pull/65
2015-07-29 14:35:07 +02:00
JC Brand
f7c27a08a5 Mention that MAM is now supported. 2015-07-29 14:20:39 +02:00
JC Brand
c508b9962c Merge pull request #442 from jcbrand/mam
Message Archive Management
2015-07-27 10:50:36 +02:00
JC Brand
96253f9673 Document using serviceDiscovery with archive.query. 2015-07-22 00:40:51 +02:00
JC Brand
cd4aabc586 Rename the page size option and document it.
updates #306
2015-07-22 00:18:51 +02:00
JC Brand
f0df6df219 Add a test for serviceDiscovered event. 2015-07-21 23:24:05 +02:00
JC Brand
87760ee233 Merge branch 'master' into mam 2015-07-21 23:19:43 +02:00
JC Brand
1dbe0ed8de Trying to work around timezone issues.
Causing tests to fail on Travis.
2015-07-21 23:18:03 +02:00
JC Brand
8e7dba9b74 MAM-related bugfixes.
- Don't show another spinner if one already exists.
- last_msg_date's selector was matching chat state notifications.
- Remove the spinner when errback gets called.

updates #306
2015-07-21 21:21:33 +02:00
JC Brand
44abbeadf3 Better support for infinite scrolling with MAM for MUC.
updates #306
2015-07-21 20:42:14 +02:00
JC Brand
5eea22f245 More work on showing archived chatroom messages.
updates #306
2015-07-21 20:10:31 +02:00
JC Brand
404ab96609 Bugfix for groupchat archive queries.
Groupchat queries should have a "to" parameter on the IQ stanza and don't use
the "with" query option.

updates #306
2015-07-21 11:38:44 +02:00
JC Brand
e03db127cf Add a new configuration setting. muc_history_max_stanzas 2015-07-21 11:36:07 +02:00
JC Brand
268c4b9389 Add support for receiving messages in random order.
Needed for ejabberd support.

updates #306
2015-07-20 20:07:29 +02:00
JC Brand
8d84d5ed03 Bugfix. Duplicate messages slipped through if they were forwarded. 2015-07-20 19:42:36 +02:00
JC Brand
388012f2cd Workaround for ejabberd...
which doesn't support getting the item count of archived messages.
See here: https://xmpp.org/extensions/xep-0059.html#count

So we don't first fetch a count of archived messages instead try to fetch the
messages themselves immediately.

updates #306
2015-07-20 09:57:28 +02:00
JC Brand
79fba8a6c6 Bugfix. Didn't call debounced method.
Causing the chat box to not appear when a new message is received.
2015-07-20 09:54:56 +02:00
JC Brand
1675109e71 Two changes, see below.
- Don't play a sound notification for forwarded messages.
- Bugfix. Return when no chat box returned.
2015-07-19 23:54:45 +02:00
JC Brand
ccf908a658 Document that previous and next RSM methods take limit parameter.
updates #306
2015-07-19 23:36:26 +02:00
JC Brand
7ff38896e9 Refactored the code showing messages and day indicators.
Fixes the issue where a topmost day indicator wasn't shown when doing infinite
scrolling upwards.
2015-07-19 23:23:02 +02:00
JC Brand
e8fba4a7d0 Refactored showNewDay to indicate day changes between messages.
updates #306
2015-07-19 13:43:26 +02:00
JC Brand
06a6d6c4d0 Refactor out code for showing a new day in the chat box. 2015-07-19 12:22:10 +02:00
JC Brand
3ba12580c4 Store the isodate on chat messages in the DOM.
This will be useful later when we want to better place messages in the right
order.
2015-07-19 12:21:49 +02:00
JC Brand
6bd0037cbb Save the chat content area on the view.
To reduce $.find queries.
2015-07-19 12:08:43 +02:00
JC Brand
1a7a5e8054 Add a spinner when loading during infinite scrolling.
updates #306
2015-07-18 21:39:49 +02:00
JC Brand
ec02d34af9 Improvement. Don't lose your place with infinite upscroll.
updates #306
2015-07-18 09:20:13 +02:00
JC Brand
796582d96f Refactoring: got rid of the maybeFetchArchivedMessages method.
updates #306
2015-07-18 00:08:21 +02:00
JC Brand
3b2b4ed6c7 Some improvements to scrolling. 2015-07-17 23:46:02 +02:00
JC Brand
36306c7418 Improve support for infinite scrolling of arhived messages.
updates #306
2015-07-17 23:13:43 +02:00
JC Brand
8a6bca191a Small doc fixes. 2015-07-17 20:57:00 +02:00
JC Brand
99c7b9cb95 Add a new emitted event: serviceDiscovered.
Gets thrown every time converse learns of a supported server service.
Useful when 3rd party code wants to use API methods that depend on the service
being discovered first.
2015-07-17 20:34:48 +02:00
JC Brand
10e53468fb Initial work on adding infinite scrolling for archived messages.
updates #306
2015-07-17 20:11:13 +02:00
JC Brand
080d86e7fe Show most recent archived messages first.
- Also ensure that the archive.query API always return messages chronologically.
- Fix docs which wrongly state that null can be passed in.

updates #306
2015-07-17 17:56:47 +02:00
JC Brand
8625d1daba Add initial support for fetching and showing archived messages.
In the proces I added converse.chatboxes.getChatBox which allowed me to
remove the getWrappedChatBox method.
2015-07-17 16:49:58 +02:00
JC Brand
d992efc34b Optimization: only query for MAM prefs when necessary
updates #306
2015-07-17 16:43:20 +02:00
JC Brand
393dd6150d Use the Strophe.NS.XFORM constant 2015-07-17 16:42:00 +02:00
JC Brand
8ab0d7e8b7 Add sudo:false to travis so that containers are used.
http://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_medium=banner&utm_campaign=legacy-upgrade
2015-07-15 15:47:03 +02:00
JC Brand
6cd9fb5500 Merge branch 'master' into mam 2015-07-14 10:43:35 +02:00