Commit Graph

604 Commits

Author SHA1 Message Date
JC Brand
39ef1b81e8 Add a bit more delay between tests 2013-05-14 09:44:30 +02:00
JC Brand
946bb7730b Fix tests 2013-05-14 09:43:49 +02:00
JC Brand
8467dc7016 Add contact even if vcard fetching didn't work.
Also fixed a bug. We DO have to listen to the 'remove' event for roster items.
2013-05-13 23:38:37 +02:00
JC Brand
c1423928ab It's now possible to enter password protected chatrooms 2013-05-13 23:17:16 +02:00
JC Brand
2893657576 Move code into removeRoom method for reuse 2013-05-13 23:16:05 +02:00
JC Brand
631c252e83 Next task is to render password form for restricted rooms
For now just make sure the user is informed that pw is required.
2013-05-13 09:22:45 +02:00
JC Brand
01336fefd9 Defer rendering of the messages area and roster
until after we are sure that the user has actually entered the room
2013-05-13 09:10:47 +02:00
JC Brand
5f0a90d00e Make sure that checkboxes are ticked in chat config 2013-05-12 15:17:58 +02:00
JC Brand
0e1386cb60 Room configuration settings can now be saved. 2013-05-12 13:53:37 +02:00
JC Brand
151464c881 Add callback and errback to saveConfiguration method 2013-05-12 13:52:44 +02:00
JC Brand
b470d2a571 More work towards making chatroom configurable
Added a form with inputs for the configuration options (not yet usable)
2013-05-11 18:14:06 +02:00
JC Brand
0914887b4f More work towards letting users configure chatrooms
Add a configure button on chatrooms when the user is the chatroom owner.
2013-05-11 16:58:08 +02:00
JC Brand
6553b5ba73 Merge branch 'master' of github.com:jcbrand/converse.js 2013-05-11 16:26:31 +02:00
JC Brand
d6ecef48bf Add prefs icon 2013-05-11 16:26:14 +02:00
JC Brand
ef38fd0973 Add initial support for configuring chatrooms.
For now we just create an instant chatroom, but eventually we must provide a
way through the UI in which the user can request to configure the room.
2013-05-11 16:19:42 +02:00
JC Brand
cc28f7e827 Add a test to check that moderators are highlighted 2013-05-11 14:34:36 +02:00
JC Brand
6d9fe68a25 Split ChatRooms tests out into their own spec file 2013-05-11 14:20:07 +02:00
JC Brand
fc06d46baa Give visual indication/tooltips about MUC user roles 2013-05-11 14:19:07 +02:00
JC Brand
283dbd75f4 Add info on roster callback 2013-05-11 12:48:32 +02:00
JC Brand
7c1a9242d5 Add logic to parse error messages when trying to enter a room 2013-05-11 09:59:32 +02:00
JC Brand
c392a4e598 Show all available room features
when clicking the info icon next to a room's name
2013-05-11 08:50:01 +02:00
JC Brand
ee47b031ba Fixed width for inputs in chrome 2013-05-10 21:15:22 +02:00
JC Brand
7142dc58c7 Don't call disco#info for all chatrooms
It's way to inefficient when there are multiple chatrooms. Instead, I added an
info icon that can be clicked and which will fetch and display additional info
on the chatroom.
2013-05-10 21:05:58 +02:00
JC Brand
1904c62095 Make the info icon 16x16 2013-05-10 20:02:32 +02:00
JC Brand
d59066e841 Add information icon 2013-05-10 19:57:21 +02:00
JC Brand
6db0a08f0a Don't show horizontal scrollbar 2013-05-10 11:50:19 +02:00
JC Brand
d1618300a3 Make sure fullname is saved to localStorage
Also make sure that logged in user's fullname is fetched from xmppstatus obj.
2013-05-10 10:58:25 +02:00
JC Brand
1d9dda374b Fetch own vcard on startup 2013-05-10 10:00:25 +02:00
JC Brand
7a46e0ed73 Bugfix. Check if from exists 2013-05-10 10:00:14 +02:00
JC Brand
93a80e0db6 Add semi-colons 2013-05-10 08:47:25 +02:00
JC Brand
c5604515cc Add build.js and update Makefile
So that we can make releases
2013-05-09 23:16:23 +02:00
JC Brand
82ddcefa21 Remove unused files 2013-05-09 23:16:07 +02:00
JC Brand
82712315a9 update CHANGES.rst 2013-05-09 22:52:20 +02:00
JC Brand
1ac51a23d4 Update TODO 2013-05-09 22:38:32 +02:00
JC Brand
19cf4c753b Pad spinner which replaces login button 2013-05-09 22:38:17 +02:00
JC Brand
008ae5ee8c Add image credits 2013-05-09 22:29:36 +02:00
JC Brand
472280ae5d Add some padding around the login submit button 2013-05-09 19:01:34 +02:00
JC Brand
7bed939c43 css tweaks. Don't show scrollbar by default 2013-05-09 18:56:25 +02:00
JC Brand
686c94c13a Only show the delete icon when hovering 2013-05-09 18:50:18 +02:00
JC Brand
97c978bcfc Indicate when chatrooms are password protected 2013-05-09 18:34:15 +02:00
JC Brand
36c33bee31 Add read-only icon 2013-05-09 18:33:51 +02:00
JC Brand
4050327061 Don't show scrollbar by default 2013-05-09 17:20:41 +02:00
JC Brand
dc6c78331f Bugfix in tests, make sure message counter is cleared 2013-05-09 17:12:51 +02:00
JC Brand
b3ed43c450 Don't fetch rooms on roster or when leaving a room
Inefficient, causes way too much traffic and takes very long
2013-05-09 17:07:52 +02:00
JC Brand
df7f1ccf2c Use feature discovery on chatrooms 2013-05-09 15:39:27 +02:00
JC Brand
5a3ed27fbb Add spinner class 2013-05-09 15:00:17 +02:00
JC Brand
07664ed350 Also inform if no rooms were found 2013-05-09 09:22:54 +02:00
JC Brand
5b2af5b03d Add a button to manually fetch rooms from server.
Also show a spinner when logging in (to disable resubmitting login form)
and when refreshing the available chatrooms.
2013-05-09 00:09:24 +02:00
JC Brand
da483d63f3 Optimize showing of chatrooms
- by using documentFragment
2013-05-08 22:31:33 +02:00
JC Brand
bbf6e036c3 Update changes 2013-05-08 18:03:14 +02:00