Mikael Nordfeldth
65e7840085
Publish salmon endpoint URL in Webfinger XRD
...
Specification in Panzer draft for Salmon, paragraph 3.3 mentions:
"The 'salmon' link relation may specify a Salmon endpoint used to notify
a resource, typically a user account, about external mentions of that
resource. For a user account, the salmon mention link SHOULD appear in
the Webfinger [Webfinger] XRD document for the user account."
Source:
http://salmon-protocol.googlecode.com/svn/trunk/draft-panzer-salmon-00.html#SMLR
2014-07-06 15:05:51 +02:00
Jonne Haß
89c1fd5f7f
query the set url only through #pod_uri in the app
2012-09-26 20:19:37 +02:00
Jonne Haß
2a4db54db9
New configuration system
...
* Throw away old system
* Add new system
* Add new example files
* Replace all calls
* add the most important docs
* Add Specs
* rename disable_ssl_requirement to require_ssl
* cloudfiles isn't used/called in our code
* since community_spotlight.list is only used as enable flag replace it with such one and remove all legacy and irelevant codepaths around it
* die if session secret is unset and on heroku
* First basic infrastructure for version information
2012-09-26 20:19:37 +02:00
Jonne Haß
e70e48d6ca
some refactoring regarding the law of demeter
2012-09-23 19:33:19 +02:00
Maxwell Salzberg
ab2e740ca2
upgrade to Rails 3.2.3
2012-05-14 21:53:16 -07:00
Florian Staudacher
6a9a0e61f9
adapt host-meta document to RFC 6415
2012-02-25 16:56:34 +01:00
Maxwell Salzberg
b09e76a0ce
introduce base_pod_uri, so we can support domains that use www and [bare] with webfinger
2012-01-17 17:34:42 -08:00
Jonne Hass
05be43e21a
fix #2504
2011-12-10 12:44:55 +01:00
danielgrippi
36f5e45c25
change Base64.encode64 to Base64.encode64s (encode without newlines)
2011-09-16 08:53:13 -07:00
Maxwell Salzberg
b8ca4bfcab
added Link to profile page in webfinger profile to make federation a bit easier
2011-08-31 19:57:46 -07:00
danielgrippi
db645e8da8
merged publics/show and posts/show
2011-08-10 18:07:38 -07:00
danielgrippi
118d3720c4
added view for activitystreams public post
2011-08-10 11:24:51 -07:00
Raphael Sofaer
09ac50aaac
Let html photo view render for phones, get rid of duplicate host-meta view
2011-08-09 15:36:59 -07:00
Raphael Sofaer
e19fb6d0f8
Use authority instead of host in order to get the port as well.
2011-07-21 18:23:33 -07:00
Raphael Sofaer
97ca10ddda
Huge commit I know, but move show and destroy routes into PostsController and PostsController#show into PublicsController
2011-07-10 20:06:31 -07:00
Raphael
7d18e2bcd8
Finish autocomplete
2011-02-01 11:56:56 -08:00
Raphael
518642d0d7
Move image_url defaulting logic into profile
2011-02-01 11:56:56 -08:00
Raphael
eea5b0a748
fix hcard link in webfinger profile
2011-01-21 15:03:11 -08:00
maxwell
3fe30cde12
removed message handler, postzord::dispatch is almost done, now i need to rip a bunch of methods out
2011-01-05 17:43:25 -08:00
Alec Leamas
c92f80b2eb
Cleaning up some paths.
...
Handling root_url if not ending w /, using http: for all cross-site
references.
2010-12-29 10:10:26 +01:00
Sarah Mei
1f67cc2485
Replace APP_CONFIG with lib/app_config.rb so that it's testable.
2010-12-24 12:31:09 -08:00
Maxwell Salzberg
555542da31
remove extra slash
2010-12-15 12:01:20 -08:00
Maxwell Salzberg
f8c2f15bb1
use the full pod_url in the template
2010-12-15 11:48:13 -08:00
Alec Leamas
eacee54846
Replace APP_CONFIG[:terse_pod_url] with uri object.
...
Adds a new APP_CONFIG[:pod_uri] item, an uri object parsed from
pod_url. Replace all occurrences of APP_CONFIG[:terse_pod_url] with
APP_CONFIG[:pod_uri].host. Closes http://bugs.joindiaspora.com/issues/684 ,
using the well-defined semantics of the uri object.
The pod_url is normalized using module URI's functions, always with a
trailing /.
The diaspora-handle will always reflect the pod_url with this patch
i. e., a pod_url like www.dpod.se will give the handle xx@www.dpod.se ;
previous code stripped the www. prefix. If this is a problem, it
should be addressed by another setting, since one cannot presume that
www.domain.tld resolves to the same address as domain.tld.
2010-12-10 14:29:19 +01:00
maxwell
ec05c21472
profile now knows about three images sizes, even in federation case
2010-11-30 13:40:41 -08:00
danielvincent
828635def9
Person#real_name -> Person#name
2010-11-30 13:01:53 -08:00
Hexagon
b0ff8f0f60
Mini refactor, removed terse_url function
2010-11-29 23:23:51 +01:00
Raphael
bad76d8cef
Use pod url in host-meta
2010-11-18 17:02:13 -08:00
danielvincent
da8124f8a7
hcard has searchable field, and is taken in to account when building Person from webfinger
2010-11-02 16:12:43 -07:00
maxwell
8fe339b03b
EM websocket cleanly merged with master. webfingering is now async
2010-10-29 11:05:17 -07:00
maxwell
de04e717c0
made image or default to help with hcard parsing, deleted old default user picture
2010-10-22 16:57:01 -07:00
danielvincent
6b74053e06
scratch that last commit
2010-10-05 20:37:28 -07:00
danielvincent
982f51b9c7
prepend pod_url to image paths
2010-10-05 20:31:40 -07:00
danielvincent
dc88110716
img tag in hcard
2010-10-05 20:22:13 -07:00
danielvincent
d519e46f4d
webfinger edit
2010-10-05 19:01:04 -07:00
Raphael
5847e7767d
Add profile photo url to hcard parser
2010-10-05 17:24:01 -07:00
kook
85b384010e
exchange photos on adding new friend
2010-10-05 17:18:51 -07:00
danielvincent
c284c9b07f
added public back into webfinger
2010-10-05 13:47:42 -07:00
Dorian
6ffc03a4c9
Big clean up: delete trailing whitespace
2010-09-26 12:48:40 -04:00
maxwell
84c60e5f2e
DG MS fixing webfinger, i hope to goodness
2010-09-15 13:28:06 -07:00
ilya
2311c33626
MS IZ mocked all the webrequest tests
2010-09-14 11:13:58 -07:00
maxwell
812f2550aa
removed status message webfinger link
2010-09-13 11:52:47 -07:00
Raphael
522450c9d3
RS IZ added a logger statement and a guid in the webfinger profile
2010-09-09 16:19:34 -07:00
Raphael
67f9d9dab5
Add hcard, add id for pod_location
2010-09-09 15:34:20 -07:00
Raphael
59006e657f
Hcard done manually
2010-09-09 15:15:37 -07:00
Raphael
c6aff4a562
making the hcard work
2010-09-09 13:02:59 -07:00
Raphael
91f2e2e6ae
Add public key to webfinger profile
2010-09-08 17:35:18 -07:00
maxwell
016c8fa471
MS IZ taking out URL options in sockets helper. hopefully the websocket doesnt blow up
2010-08-10 14:11:41 -07:00
maxwell
b5f962c725
trying root path in host meta
2010-08-10 13:58:17 -07:00
maxwell
71612ba33d
changing some webfinger resources
2010-08-10 12:36:00 -07:00