Augier
2ce98b49d7
Fix issue #4416
...
Conflicts:
spec/helpers/notifier_helper_spec.rb
2014-10-16 23:27:48 +02:00
Jonne Haß
8280556a47
Introduce message renderer
...
This new class replaces all existing server side message
rendering helpers and is the new global entry point for such
needs. All models with relevant fields now expose an instance
of MessageRenderer for those. MessageRenderer acts as
gateway between the existing processing solutions for markdown,
mentions and tags and provides a very flexible interface for
all output needs. This makes the API to obtain a message
in a certain format clear. As a result of centralizing the
processing a lot of duplication is eliminated. Centralizing
the message processing also makes it clear where to change
its behaviour, add new representations and what options
are already available.
2014-03-15 17:16:17 +01:00
goobertron
8bffdb873a
Updated Facebook character limit.
2013-08-10 00:18:49 +01:00
Ruxton
3c605c47e0
Fix error in facebook service delete_post
...
Add spec coverage for FB delete_post
2013-07-31 14:23:13 +02:00
Jason Robinson
3fa9f6414d
Fix Twitter crossposting ( #2758 ). Refactor some service posting related code.
2013-06-08 17:38:07 +03:00
Ruxton
48b48470bc
Service.delete_post now more generic, for future implementations
...
Service.delete_post now accepts post to be more generic and supports deleting post from any service that overrides delete_post(post)
2013-05-20 12:19:39 +08:00
Jonne Haß
3fc3b249e7
End the require mess
...
* Rename and reorganize post fetcher to fix autoloading, also let it use
Faradays default connection so we get nice redirects
* Add initializer to load libs at a central place
* added lib dir to autoload_once paths to increase thread safety
* Moved lib/exceptions.rb to lib/diaspora/ to conform namespacing
2013-03-21 23:37:53 +01:00
Jason Robinson
affa713616
If post has photos, always include url in post to Facebook to stay consistant with other servies, fixes #3706
2013-03-10 08:15:12 +02:00
L3MNcakes
1120cba5f0
Issue #3939 : Posts to Facebook do not delete
2013-02-18 18:21:59 +00:00
Jason Robinson
48a332f871
Remove by default markdown formatting from posts done via service, currently only used by Twitter. Remove markdown also from Facebook posts.
2012-11-09 00:04:49 +02:00
Jason Robinson
e974d2934f
Always use basic Facebook Graph API to post messages, fixes public posts. Remove unnecessary Facebook opengraph config items
2012-11-02 00:23:33 +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
Maxwell Salzberg
06f389231a
kill services users with fire. we need this feature, but we need to just start from scratch because this is redonkalonk
2012-05-14 16:25:19 -07:00
Maxwell Salzberg
273470e6ed
include url in all twitter posts
...
also fix a homecontroller spec
2012-05-03 20:07:56 -07:00
danielgrippi
a52d8f221a
don't post to feed; post to joindiaspora OG tag. also, whoever has the diaspora OG tag, can i haz?
2012-05-03 00:02:00 -07:00
danielgrippi
8cecedc53b
TIMELINE TIME.
2012-05-02 23:28:56 -07:00
Maxwell Salzberg
3cb7003361
remove the swallowing of generic messages from facebook and twitter postiing. I want to know why sometimes these things are failing
2012-03-19 19:17:46 -07:00
Maxwell Salzberg
bd021bbd91
Correct our general exception handling.
...
thanks @mperham! see: http://t.co/Jyt7vV4I
2012-03-03 16:26:06 -08:00
Maxwell Salzberg
2d4e6e4915
forgot to uncomment a line
2011-11-04 16:04:37 -07:00
Maxwell Salzberg
745e4dea8c
queue facebook lookup job, dont do it in process
2011-11-04 16:02:17 -07:00
Ilya Zhitomirskiy
d51516fff3
bumped carrierwave, photos can now be downloaded from a url, fetching profile photo job
2011-10-24 11:00:00 -07:00
Uiri
0fbda5d077
Modularized and Tested™
2011-09-29 21:04:18 -04:00
Uiri
3aa3b9aea8
Better regex solution
2011-09-26 23:59:33 -04:00
Uiri
82feff7fb4
Links in the message translate into a proper link on Facebook when sending to facebook.
2011-09-26 23:59:33 -04:00
danielgrippi
c5fbe1584a
fix the build; don't test on enqueueing a job to fetch facebook friends every time we hit the facebook finder -- only do this on log in
2011-09-08 10:59:35 -07:00
Maxwell Salzberg
7f6104d27b
dont queue service user fetching every inf scroll
2011-09-07 13:25:00 -07:00
danielgrippi
a99e69edd6
down to 2 failures in postgres
2011-08-17 16:51:54 -07:00
danielgrippi
bf0eb3dac3
4 failures left in postgres
2011-08-17 14:18:51 -07:00
Raphael Sofaer
f0583de36c
Some optimizations to ServicesController#finder. Apparently setting an association on an unsaved record to an empty array hits the database.
2011-08-13 09:40:31 -07:00
Raphael Sofaer
31b55aef0b
Start saving the usernames of facebook users
2011-08-12 13:20:25 -07:00
Raphael Sofaer
201574c53a
Check for nil before building ServiceUser objects
2011-08-06 14:02:27 -07:00
Raphael Sofaer
8b7f938a63
Order the results of ServicesController#finder
2011-08-05 16:42:09 -07:00
Maxwell Salzberg
7e8f17cc31
refactoring this stuff
2011-08-03 16:58:55 -07:00
Raphael Sofaer
1aac60bee3
Make sure that not deleting the service_users doesn't leave them stale
2011-08-03 15:39:23 -07:00
Raphael Sofaer
7d0c796762
Make sure that related data for fb users is attached to them
2011-08-03 15:30:58 -07:00
Raphael Sofaer
4d786d687c
Forget about postgres for now, depend on On duplicate key update
2011-08-03 14:39:38 -07:00
Raphael Sofaer
55009a8381
Use activerecord-import to re-save ServiceUser objects. We should do the same in ReceiveLocalBatch.
2011-07-13 10:59:41 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
f6bf17897d
actually displaying the facebook results(first time connection), updating attributes instead of discarding the changes
2011-07-11 16:52:30 -07:00
Maxwell Salzberg
6f72a0cb38
order facebook friends
2011-07-02 19:01:58 -07:00
Raphael Sofaer
1af945de11
Merge branch 'master' into oauth
...
Conflicts:
Gemfile
Gemfile.lock
app/models/app_config.rb
app/models/post.rb
db/schema.rb
public/stylesheets/sass/application.sass
spec/lib/webfinger_spec.rb
2011-06-28 17:13:38 -07:00
Ilya Zhitomirskiy
808754f8bd
added the cert bundle for facebook http things
2011-06-08 18:20:47 -07:00
Raphael Sofaer
5218bd89c6
Revert FakeServiceUser work, needs more testing to make sure extra models aren't instantiated.
...
This reverts commit 0a8ce3b9f2 .
This reverts commit f9ef9a4b47 .
This reverts commit 164226a3d7 .
2011-05-17 10:33:33 -07:00
Raphael Sofaer
164226a3d7
Replace ServiceUser with fakes in ServicesController
2011-05-16 18:48:03 -07:00
Raphael Sofaer
73d4bf4327
Remove unneeded callback
2011-03-23 12:00:47 -07:00
Raphael Sofaer
cc39243c88
Check for nil in facebook finder
2011-03-23 11:42:33 -07:00
Raphael Sofaer
55c5b4e525
Just enqueue a job on service create for now, since our queues are empty. Resque status will let us run the job and show the user a spinny without locking up a thin
2011-03-23 10:41:34 -07:00
zhitomirskiyi
821703f4d4
fixed url. photo
2011-03-21 14:56:50 -07:00
zhitomirskiyi
93d69c4ec7
fixed the views for the friend finder
2011-03-21 14:56:50 -07:00
zhitomirskiyi
aa5bef0c3f
calls the job on login does a sync call if the cache friends was not called before, fixed the views
2011-03-21 14:56:50 -07:00