mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 08:42:41 +01:00
No description
4f2aa99248
Summary: Make each adapter provide a "serviceType" (campfire, flowdock, IRC) and "serviceName" (irc network / chat server) so that we can disambiguate between, e.g., "#phabricator on EFNet" and "#phabricator on FreeNode". Make the chatlog handler ship them over Conduit. Also fix some "policy can not be null" bugs with chatlog recording. Test Plan: Verified data inserted correctly: mysql> select * from chatlog_channel; +----+------------------+-------------+--------------+------------+------------+-------------+--------------+ | id | serviceName | serviceType | channelName | viewPolicy | editPolicy | dateCreated | dateModified | +----+------------------+-------------+--------------+------------+------------+-------------+--------------+ | 1 | irc.freenode.net | IRC | #phabricator | users | users | 1361201689 | 1361201689 | +----+------------------+-------------+--------------+------------+------------+-------------+--------------+ 1 row in set (0.00 sec) mysql> select * from chatlog_event where channelID = 1; +----+--------------+------------+------------+------+---------------+--------------------------------+-----------+ | id | channel | epoch | author | type | message | loggedByPHID | channelID | +----+--------------+------------+------------+------+---------------+--------------------------------+-----------+ | 45 | #phabricator | 1361201689 | epriestley | mesg | blip blip | PHID-USER-5bt2phfepag4cdvjtzg5 | 1 | | 46 | #phabricator | 1361201700 | epriestley | mesg | boop boop bip | PHID-USER-5bt2phfepag4cdvjtzg5 | 1 | +----+--------------+------------+------------+------+---------------+--------------------------------+-----------+ 2 rows in set (0.00 sec) Reviewers: Afaque_Hussain, indiefan Reviewed By: Afaque_Hussain CC: aran Maniphest Tasks: T837 Differential Revision: https://secure.phabricator.com/D4996 |
||
---|---|---|
bin | ||
conf | ||
externals | ||
resources | ||
scripts | ||
src | ||
support | ||
webroot | ||
.arcconfig | ||
.divinerconfig | ||
.editorconfig | ||
.gitignore | ||
LICENSE | ||
NOTICE | ||
README |
Phabricator is a open source collection of web applications which make it easier to write, review, and share source code. Phabricator was developed at Facebook. This is an early release. It's pretty high-quality and usable, but under active development so things may change quickly. You can learn more about the project and find links to documentation and resources at: http://phabricator.org/ LICENSE Phabricator is released under the Apache 2.0 license except as otherwise noted.