add client field to chatpresence - which will give us a place to put IP addresses for webRTC. Might as well allow for that since we'll (soon) have presence. Then we wouldn't need SIP and folks can "just" p2p each other using any mechanism they wish if they have permission to do so.

This commit is contained in:
friendica 2014-01-28 15:05:44 -08:00
parent f104b4dc27
commit 8c8be2a05e
5 changed files with 12 additions and 5 deletions

View file

@ -46,7 +46,7 @@ define ( 'RED_PLATFORM', 'Red Matrix' );
define ( 'RED_VERSION', trim(file_get_contents('version.inc')) . 'R');
define ( 'ZOT_REVISION', 1 );
define ( 'DB_UPDATE_VERSION', 1093 );
define ( 'DB_UPDATE_VERSION', 1094 );
define ( 'EOL', '<br />' . "\r\n" );
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );

View file

@ -17,7 +17,7 @@ We need much more than this, but here are areas where developers can help. Pleas
* (Advanced) create a UI for building Comanche pages
* Help with WebDAV and file storage implementation, especially replacing the fugly Sabre web UI.
* templatise and translate the Web interface to webDAV
* Extend WebDAV to provide desktop access to photo albums
@ -25,7 +25,7 @@ We need much more than this, but here are areas where developers can help. Pleas
* service classes - account overview page showing resources consumed by channel. With special consideration this page can also be accessed at a meta level by the site admin to drill down on problematic accounts/channels.
* Events module - bring back birthday reminders for friends, fix permissions on events, and provide JS translation support for the calendar overview
* Events module - bring back birthday reminders for friends, fix permissions on events, and provide JS translation support for the calendar overview; integrate with calDAV
* Events module - event followups and RSVP

View file

@ -232,6 +232,7 @@ CREATE TABLE IF NOT EXISTS `chatpresence` (
`cp_xchan` char(255) NOT NULL DEFAULT '',
`cp_last` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`cp_status` char(255) NOT NULL,
`cp_client` char(128) NOT NULL DEFAULT '',
PRIMARY KEY (`cp_id`),
KEY `cp_room` (`cp_room`),
KEY `cp_xchan` (`cp_xchan`),

View file

@ -1,6 +1,6 @@
<?php
define( 'UPDATE_VERSION' , 1093 );
define( 'UPDATE_VERSION' , 1094 );
/**
*
@ -1054,3 +1054,9 @@ function update_r1092() {
function update_r1093() {
$r = q("ALTER TABLE `chatpresence` ADD `cp_client` CHAR( 128 ) NOT NULL DEFAULT ''");
if($r)
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}

View file

@ -1 +1 @@
2014-01-27.570
2014-01-28.571