Maxwell Salzberg
408bafca09
add/refactor normalize_pod_services so configured services is always defined regardless if SERVICES are set up
2012-01-12 15:04:14 -08:00
danielgrippi
0e5bb81d66
remove all references to the websocket. bang bang.
2012-01-10 12:28:19 -08:00
danielgrippi
52e3f1b240
DC DG; test stream view WIP
2012-01-07 14:23:21 -08:00
Maxwell Salzberg
68f25c8d4e
fix app_config spec as we broke out setup into its own method
2012-01-05 19:05:13 -08:00
Jonne Haß
52c75a7ad4
Revert "Revert "auto follow back feature""
...
This reverts commit 6408105917 .
Conflicts:
db/schema.rb
2012-01-04 13:49:56 +01:00
Maxwell Salzberg
71b58fa6fc
only queue process_photo jobs if the owner is local. this should cut down on some resque errors
2012-01-04 00:08:29 -08:00
Maxwell Salzberg
63cdd93afc
the websocket has been completely removed, and replaced for a stub until
...
we find a better way to reimpliment it in a more sane way
2012-01-03 18:39:54 -08:00
Maxwell Salzberg
43090d38eb
AppConfig in heroku can now read array variables
2012-01-03 16:18:51 -08:00
robhogg
6571ec2fa9
Added test for nsfw?
2012-01-02 21:24:44 +00:00
danielgrippi
176a33880f
fix all specs minus one from o_embed_data_spec
2011-12-31 14:19:54 -05:00
Sarah Mei
6236fd22a0
Found 3 spec files that were never getting run because they didn't have the _spec at the end of the filename. This commit renames them, so that they are now included in rake spec. Unsurprisingly, they all fail. Since they represent actual changing code that isn't tested, I'm checking them in anyway. Thx Pistos for pointer to the first file, which prompted me to look for others.
2011-12-27 14:48:39 -08:00
Jonne Haß
d063db42aa
fix app config spec
2011-12-24 00:04:04 +01:00
danielgrippi
0f42c98a7b
merge Pistos's reshare branch into master
2011-12-20 14:42:18 -08:00
danielgrippi
e9b6da605f
fix specs; move presence_of_content validation check into a before_destory to play nicely with federation
2011-12-20 10:42:30 -08:00
Pistos
f83e56e5f3
Added a counter cache for the number of reshares of a post.
2011-12-19 17:12:17 -05:00
Pistos
a604dd2aa6
Refactor implementation of #reshare_count.
...
The old implementation which uses Post.where causes
undefined method `abstract_class?' for Object:Class
in spec/controllers/posts_controller_spec.rb. Not sure whether that's a problem
with Rails, or rspec, or what.
2011-12-19 17:12:17 -05:00
Pistos
51566ebe0b
Improve wording of error message in Reshare#root_must_be_public validation.
2011-12-19 17:12:17 -05:00
Jonne Hass
d6f98d12e1
even more spec fixing, postgres throws statement invalids for duplicate keys, luckily record not unique is a subsubclass of it so we can just catch the higher error
2011-12-11 04:45:11 +01:00
Maxwell Salzberg
7bf1970dd8
adding account deletion factory, fixed a user spec
2011-12-08 16:32:20 -08:00
Maxwell Salzberg
70dcc5becc
rebased this branch onto master
2011-12-08 16:32:20 -08:00
Ilya Zhitomirskiy
1552b5bcc2
keep the pivate key, required for retries
2011-12-08 16:32:19 -08:00
Maxwell Salzberg
f800d50a2b
i think this works
2011-12-08 16:32:19 -08:00
Ilya Zhitomirskiy
0bd101dca9
change close account to clear profile, still need to dispatch account deletion xml
2011-12-08 16:32:19 -08:00
Ilya Zhitomirskiy
7667029e71
wip, stated the serialized model
2011-12-08 16:32:19 -08:00
Ilya Zhitomirskiy
03ca34767a
ms iz rendering nothing for hcard and webfinger if account is closed, not showing aspect dropdown if the user account is closed
2011-12-08 16:32:18 -08:00
danielgrippi
e6ed2d397a
added close account to user
2011-12-08 16:32:18 -08:00
danielgrippi
644e382cfd
DG IZ; remove more stuff associated with user; removed dependant destroys
2011-12-08 16:32:18 -08:00
Ilya Zhitomirskiy
3035f173bd
ms iz wip, clearing profile, started deleting post visibilities
2011-12-08 16:32:18 -08:00
Ilya Zhitomirskiy
05612ef733
ms iz wip
2011-12-08 16:32:18 -08:00
Maxwell Salzberg
2282fd35d1
kill no longer used youtube titles code with fire
2011-12-08 16:16:57 -08:00
danielgrippi
d0f58e1bd4
Revert "upgrade devise; devise_invitable"
...
This reverts commit 0f56ee7b77 .
2011-12-06 11:01:50 -08:00
danielgrippi
0f56ee7b77
upgrade devise; devise_invitable
2011-12-06 10:50:29 -08:00
Daniel Grippi
0d41c9c5f3
update gems -- mainly omniauth (we explicitly include omniauth libs now... much cleaner)
2011-12-05 19:53:03 -08:00
danielgrippi
6408105917
Revert "auto follow back feature"
...
This reverts commit 226554becf .
Conflicts:
config/locales/diaspora/en.yml
2011-11-14 17:18:43 -08:00
Kevin Fitzpatrick & Tim Frazer
84e4866e6b
Merge branch 'master' of github.com:diaspora/diaspora
2011-11-14 12:33:10 -08:00
Kevin Fitzpatrick & Tim Frazer
96f2aaa57a
Background sending password reset instructions.
2011-11-14 12:30:47 -08:00
Jonne Hass
226554becf
auto follow back feature
2011-11-14 20:25:11 +01:00
Pistos
31b43f315e
Corrected the message length spec.
2011-11-09 21:35:16 -05:00
Pistos
e5d37c7949
Whitespace cleanup.
2011-11-09 21:35:08 -05:00
Daniel Grippi
319d72deb9
Merge pull request #2345 from 21echoes/higher_post_limit
...
higher post limits
2011-11-09 16:11:39 -08:00
Jonne Hass
0a29408497
fixed order dependent spec
2011-11-08 12:03:17 +01:00
David Kettler
74bcc6f06e
now that we have the 'read more' link in the stream, let posts be as long as the mysql character limit
2011-11-07 21:21:36 -08:00
Maxwell Salzberg
fe3fe0f5cc
MS SM save sync cache if you have some sort of contacts
2011-11-07 19:52:48 -08:00
danielgrippi
6f7c9e9301
Remove resque_rescheduler as it was killing our app servers (receiving
...
http requests).
Revert "retry less"
This reverts commit 7784156e3b .
Revert "supress resque retries"
This reverts commit 80cdcd4edd .
Revert "Retry federation if remote pod is down"
This reverts commit bcbc86e502 .
Conflicts:
app/models/jobs/http_multi.rb
2011-11-07 12:50:02 -08:00
danielgrippi
fd76cfd4c5
fix construct_shareable_from_others_query to only include posts from contacts within your aspects
2011-11-07 10:52:31 -08:00
Sarah Mei
f1d669a024
Delete all pending specs except stuff we actually want to fix in the short term. Add more useful comments to those.
2011-11-06 21:29:22 -08:00
Sarah Mei
4fba9a6989
get rid of all pending specs except the one that is actually pending
2011-11-06 20:20:27 -08:00
Sarah Mei
53dbbfbb15
Fix order-dependent test that would sometimes fail on postgres
2011-11-06 19:10:26 -08:00
Sarah Mei
db223b2a3f
Rename and make pending the spec for populating the cache
2011-11-06 12:52:01 -08:00
Jonne Hass
af1558831b
Improved reshare receive
...
- Do not error out on Reshare#fetch_post/after_parse if we get a 404
- Do error out if another error happens in Reshare#fetch_post/after_parse
- Retry failling receive jobs a few times
2011-11-06 18:26:10 +01:00
Jonne Hass
9ffeef9d20
Merge branch 'new_user_language' of https://github.com/alda519/diaspora
2011-11-06 15:17:05 +01:00
danielgrippi
c9f069d000
Revert "add participant_users to conversations"
...
This reverts commit 655558cb95 .
Revert "MS DG; for real this time?"
This reverts commit f85a047f6f .
Revert "MS DG; actually fix the bug"
This reverts commit cde12ec232 .
Revert "fix small commenting email bug #oops"
This reverts commit a552fc80c0 .
Revert "dont ban diasporahq stuff"
This reverts commit 2c12b94e67 .
Revert "Merge branch 'participants'"
This reverts commit 7417801886 , reversing
changes made to abd211ba72 .
2011-11-05 18:08:32 -07:00
Sarah Mei
92c28857b3
Refactor and backfill tags_following_controller_spec. Move normalize tag specs into model spec. Move rss fixture file into fixture directory.
2011-11-05 16:05:13 -07:00
Sarah Mei
1ecdba9bae
Fix facebook spec
2011-11-04 22:22:39 -07:00
Sarah Mei
0b329bf385
Fix notify local users spec
2011-11-04 22:16:55 -07:00
Maxwell Salzberg
f85a047f6f
MS DG; for real this time?
2011-11-04 19:56:53 -07:00
Maxwell Salzberg
a552fc80c0
fix small commenting email bug #oops
2011-11-04 19:24:48 -07:00
Maxwell Salzberg
c3dc3d103b
include post author in participats
2011-11-04 18:46:43 -07:00
Maxwell Salzberg
95c206df24
MS DG add participants
2011-11-04 18:46:43 -07:00
Ilya Zhitomirskiy
41db42a7a4
displaying public tags in the multi stream
2011-11-04 18:14:34 -07:00
danielgrippi
9ef0fbfe60
DG MS; fix last failing spec
2011-11-03 21:08:32 -07:00
danielgrippi
b56dc9205b
added ignore text on user pages if it applies
2011-11-03 12:31:25 -07:00
danielgrippi
07f713f46c
change 'mute' to 'ignore' for now; fix specs; repopulate cache upon
...
contact removal
2011-11-03 12:31:24 -07:00
danielgrippi
ae7944418c
DH DG; made privacy page; can now unblock a user; users are actually being blockocked in ajaxed streams
2011-11-03 12:31:24 -07:00
Dan Hansen & Maxwell Salzberg
0eb33b371b
blocked users works for multi stream, cuke passes
...
fixed scoping stuff
2011-11-03 12:31:24 -07:00
Dan Hansen
16e76886d9
wip
2011-11-03 12:31:24 -07:00
danielgrippi
995996add1
add spec & change syntax in http_multi
2011-11-02 15:00:30 -07:00
Daniel Grippi
ed029b2fbd
Merge pull request #2251 from manuels/retry_federations
...
Retry federation if remote pod is down
2011-11-02 14:09:30 -07:00
danielgrippi
90f990e8dd
use the cache if cache size is less than limit
2011-10-31 17:07:30 -07:00
Lennart Prelle
f2123d942d
make language for email-invitation available
2011-10-31 21:11:47 +01:00
Manuel Schölling
bcbc86e502
Retry federation if remote pod is down
2011-10-27 00:36:55 +02:00
danielgrippi
0512ade65a
made name smaller and clickable on aspects/index [ci skip]
2011-10-24 21:43:32 -07:00
danielgrippi
19897df1ec
more first_name fixing
2011-10-24 21:34:56 -07:00
danielgrippi
e71fcea762
first_name now takes everything but the last word in the name field
2011-10-24 21:27:21 -07:00
danielgrippi
e63e8299b9
fixed up stream/publisher logic; fixed cukes
2011-10-24 14:41:15 -07:00
Ilya Zhitomirskiy
51778cb22d
storing the entriety of the service profile name in first name
2011-10-24 12:41:50 -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
Ilya Zhitomirskiy
c60adda3a9
WIP, almost done for twitter, just need to figure out how to follow redirects
2011-10-24 11:00:00 -07:00
Maxwell Salzberg
484f46d70f
add validation which prevent user for signing up with dead username. fix cucumber features
2011-10-20 16:32:09 -07:00
danielgrippi
44b58d707f
featured users => community spotlight
2011-10-20 11:50:58 -07:00
danielgrippi
c49c76e2a6
DG MS; some refactoring
2011-10-19 15:47:22 -07:00
Maxwell Salzberg
cb89772a6a
when connected, external services fill in profile info that you have not yet filled out
2011-10-18 10:02:24 -07:00
Gonzalo Rodriguez
aa1623a95f
Fixing person's name construction
...
* When only has last_name, return last_name not diaspora_handle
* Strip contstructed name to avoid trailing or preceding space
when having only first or last name present
2011-10-18 02:24:29 -02:00
Manuel Schölling
8cfb854fab
Quickfixed federation of StatusMessages with photos only (no text)
2011-10-16 14:42:14 +02:00
Manuel Schölling
bdeae54c6c
Make Photos not inherit from Posts
2011-10-16 13:58:35 +02:00
Manuel Schölling
02a3c3f88b
Introduced Shareable
2011-10-16 13:58:35 +02:00
Maxwell Salzberg
f959ca0c12
refactor streams to be in a Stream module, hopefully they will auto-reload now
2011-10-13 22:26:15 -07:00
Daniel Grippi
b7f4f81d28
Merge pull request #2148 from Pistos/issue-2007-comment-order-on-postgresql
...
Explicitly specify order of comments, since we cannot assume MySQL orderi
2011-10-12 16:09:18 -07:00
Maxwell Salzberg
8acd9acb08
tests moved and passing
2011-10-11 16:12:32 -07:00
Maxwell Salzberg
139ddd726a
wip oembed refactor. still need to make a oembed_helper, and move some tests to their new home, but e but we are looking preeeetttttyyyy good.
2011-10-11 16:10:14 -07:00
Manuel Schölling
f3ea8f424f
Added oEmbed support
2011-10-11 16:08:47 -07:00
Pistos
15b3cce6ee
Refactored ordering of post comments; moved it down to model level for greater reach (DRYer code).
...
Leaving the #order call in #last_three_comments caused the generated SQL to
have two conflicting ORDER BY components, which caused the query to return
invalid results. I removed the problem by removing #last_three_comments which
I consider a premature optimization.
2011-10-11 16:06:24 -04:00
Pistos
4774b670de
Whitespace cleanup.
2011-10-11 15:50:40 -04:00
danielgrippi
882c0c2170
DG MS; fixed tags autocomplete styling and js
2011-10-10 15:59:13 -07:00
Dan Hansen
f6845c360f
Revert "change namespace from Mail to Mailers"
...
This reverts commit f859904c76 .
2011-10-09 23:34:03 -05:00
Dan Hansen
f859904c76
change namespace from Mail to Mailers
...
locally when Resque tried to constantize Jobs::Mail Object.const_get("Jobs") returned our Jobs module but when it tried to const_get("Mail") it returned the Mail gem.
added copyright
2011-10-09 22:41:01 -05:00
Maxwell Salzberg
c85209a22c
strip whitespace in name call
2011-10-07 12:59:07 -07:00
Your Name
a457ab1ca2
fix dumb post spec
2011-10-06 17:30:21 -07:00
Ilya Zhitomirskiy
018a42b001
assert that prep_opts works; reference BaseStream types in lieu of subclassed AspectStream's
2011-10-06 17:26:29 -07:00
Ilya Zhitomirskiy
7572eaaf0d
changed the default order in prep_opts, passing in opts to cache population
2011-10-06 17:14:14 -07:00
Ilya Zhitomirskiy
d891e78652
refactored post receiving; only update cache on verfied received objects
2011-10-06 12:31:09 -07:00
Ilya Zhitomirskiy
c2bb483b21
dg iz updating authors cache on creation of a post
2011-10-04 17:40:44 -07:00
Ilya Zhitomirskiy
b42d675cb7
accounting for the unified receiver interface of the method
2011-10-04 15:51:39 -07:00
Ilya Zhitomirskiy
97342630c4
dg iz added some more documentation and only caching on all aspects
2011-10-04 14:39:56 -07:00
Ilya Zhitomirskiy
6ea540fb94
wip, adding to cache in receiver, caching is only triggered for receiving of posts
2011-10-04 10:32:17 -07:00
Ilya Zhitomirskiy
01515725fe
WIP trim is still needed, also possible weirdness with the mock
2011-10-04 10:32:16 -07:00
Ilya Zhitomirskiy
8d12a57f37
reding from redis cache
2011-10-04 10:32:16 -07:00
Maxwell Salzberg
008116fa3f
IZ MS more tests for status message scopes
2011-10-03 15:23:11 -07:00
Maxwell Salzberg
9a4c478a7b
these spes are really green. too bad we need #moar
2011-10-03 15:23:10 -07:00
Maxwell Salzberg
0f073387ac
IZ MS refactor commenting disabled
2011-10-03 15:20:43 -07:00
Dan Hansen
e199010448
remove commented out spec
2011-10-03 15:00:14 -05:00
Dan Hansen
3eaa1c0584
moved photo processing from model to resque job, added tests
...
removed Photo#not_processed
2011-10-03 14:58:44 -05:00
Ilya Zhitomirskiy
5f29b77b1f
fixing wrong datatype on activity streams objectId
2011-10-01 19:07:11 -07:00
Paul Spieker
0c12471feb
add username blacklist
2011-09-30 14:17:04 +02:00
Maxwell Salzberg
dfb4c9c920
Merge pull request #2051 from uiri/672-facebook-majority-market-share
...
Links in the message translate into a proper link on Facebook when sendin
2011-09-29 18:13:33 -07:00
Uiri
0fbda5d077
Modularized and Tested™
2011-09-29 21:04:18 -04:00
danielgrippi
e3bf03636b
pass in mobile as provider_display_name on posts if posting from mobile
2011-09-28 22:15:32 -07:00
Ilya Zhitomirskiy
c3746aec7f
passing around arrays instead of object on local batch receive
2011-09-28 21:34:48 -07:00
Gonzalo Rodriguez
24be48d660
Strip full name considering cases where first or last name omitted
2011-09-20 22:18:35 -03:00
danielgrippi
60cb9e43a7
DG MS; renamed Salmon jobs; CGI::unescape() incoming xml in public receive route
2011-09-15 15:33:28 -07:00
danielgrippi
ba8e50e34c
DG MS; renamed a file; fixed the build
2011-09-15 15:16:34 -07:00
danielgrippi
97f80272b2
DG MS; changed Job:: to Jobs::; require all mail jobs from Job base class
2011-09-15 12:42:53 -07:00
danielgrippi
cfa260927d
DG MS; remove unusused job
2011-09-15 11:22:47 -07:00
danielgrippi
930ea6c425
Fix failure, decode in receiver
2011-09-14 21:41:46 -07:00
danielgrippi
fab6f9ccd9
DG MS; fixed tests; explicitly send in dispatcher in httpmulti
2011-09-14 17:51:25 -07:00
Maxwell Salzberg
60ace5c297
DG MS; Broke out HydraWrapper in HttpMulti job
2011-09-14 15:50:07 -07:00
alda519
a9e4b4ce99
fixed broken test, spec added
2011-09-14 20:46:52 +02:00
danielgrippi
91e649977c
MS DG update copyright
2011-09-14 11:23:12 -07:00
alda519
0906f21bdd
fixed spec
2011-09-14 10:43:30 +02:00
The Lambda Calculus
83fc972c61
Added RSpec test for #1126
2011-09-13 23:27:54 -04:00
Maxwell Salzberg
adaefd0cb5
MS DG rspec is green update gemfile
2011-09-13 13:34:49 -07:00
Maxwell Salzberg
665facaeb0
DG MS renamed private dispatcher; started refactor including public
...
dispatcher
2011-09-12 17:02:40 -07:00
Maxwell Salzberg
0ab0526cd6
DG MS; put validates_associated in relayable, removed from receiver logic
2011-09-12 15:06:17 -07:00
Maxwell Salzberg
6e60905d0d
DG MS major refactor of salmon and corresponding federation logic
2011-09-12 14:05:32 -07:00
Maxwell Salzberg
87c994fa47
MS DG cleaned up and fleshed out salmon specs
2011-09-12 14:05:32 -07:00
Maxwell Salzberg
34ed07260f
MS IZ DG moar salmon refactoring
2011-09-12 14:05:31 -07:00
danielgrippi
1d0bec11f7
Add counter cache for comments on posts
2011-09-11 15:02:24 -07:00
danielgrippi
1bd37038cc
fixed/moved specs; made Person.all_from_aspects scope (move direct AR querying from AspectStream; added more documentation in AspectStream
2011-09-11 14:16:48 -07:00
Maxwell Salzberg
91eabf0fce
attempt to add muting of notifications when post has a hidden visibility; i am getting a load path error in resque now, but that seems to be independent of this commit
2011-09-08 23:21:13 -07:00
Sarah Mei
37579814c4
More querying_spec refactoring. #visible_posts now has sufficient test coverage to aggressively refactor.
2011-09-08 14:55:21 -07:00
Sarah Mei
d1604a5bb5
Blow out the visible_posts specs so I can more easily see what it's doing
2011-09-08 11:58:14 -07: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
Sarah Mei
7d10b3fdb0
Remove more refs to aspects.first - should make postgres builds green
2011-09-05 19:04:56 -07:00
Sarah Mei
f06b8c7a58
First pass at removing order dependencies so specs will be reliable on postgres and mysql
2011-09-05 17:51:45 -07:00
Sarah Mei
c678f4732c
A bit of refactoring on person_spec since we got an odd failure on travis
2011-09-04 21:34:00 -07:00
Sarah Mei
b6e2e9452f
Fix YouTube titles on 1.9. (SIGH.)
2011-08-30 21:04:29 -07:00
danielgrippi
4d1c93d95b
Removed , but not the table. Record all in httpmulti success
2011-08-30 10:14:32 -07:00
danielgrippi
0dfcbca51b
Revert "removed the pod_stats table (was the cause of bloat on the database)."
...
This reverts commit 902c40e42d .
2011-08-30 10:03:56 -07:00
danielgrippi
902c40e42d
removed the pod_stats table (was the cause of bloat on the database).
2011-08-30 10:01:59 -07:00
Sarah Mei
2255e80b69
So. It turns out that postgresql has a less-consistent idea of what .first means in an association with no default ordering. All the places we were doing bob.aspects.first (& etc.) needed to be more specific. & o ya, POSTGRES IS GREEN.
2011-08-29 22:03:05 -07:00