Dennis Collinson
04bd507025
federated generators take a user
2012-02-09 19:01:01 -08:00
Dennis Collinson
5e26a7e6bb
Participate stream query uses participations
2012-02-09 19:01:01 -08:00
Dennis Collinson
14b9f5dc5b
move user modules into user namespace.
2012-02-09 19:01:01 -08:00
Dennis Collinson
f3c1eff3e9
Refactor Relayable Creation
2012-02-09 19:01:00 -08:00
Dennis Collinson
9e1816dc12
Participations are a federated, relayable model :)
2012-02-09 19:01:00 -08:00
Maxwell Salzberg
3d569cc4bc
fix for some crazy lack-of-stubbing on some http requests...
2012-02-09 16:20:22 -08:00
Diaspora Europe
8eda9aaf52
added user_is_following method, added 2 model specs
2012-02-09 14:17:43 +01:00
danielgrippi
a819f38b99
touch interacted_at on Post#after_create
2012-02-07 21:32:10 -08:00
Dennis Collinson
a72a09a24c
posts made by nsfw people are marked nsfw by default
2012-02-07 19:37:38 -08:00
Dennis Collinson
558ceec92a
a user can mark themselves as nsfw
2012-02-07 19:03:20 -08:00
danielgrippi
a3e13e3c0e
User#like! method.
2012-02-03 14:42:03 -08:00
danielgrippi
4f7dda6012
bang! kill redis cache.
2012-02-02 12:45:43 -08:00
Sarah Mei
085d6552b3
Drop comments, likes, and PMs from people who the (post/conversation) owner is ignoring.
2012-02-01 17:52:11 -08:00
danielgrippi
02021584a7
EvilQuery for Participation, refactor comment creation
...
you can now create a comment with User#comment!(post, text)
2012-02-01 15:09:31 -08:00
Jonne Haß
7a8bd7595b
do not auto follow back if already sharing
2012-01-31 14:34:09 +01:00
Steven Fuchs
487c404d0d
incorporated suggested improvements to spec.
2012-01-29 19:51:18 -05:00
Steven Fuchs
5d15fa43b5
take url shortening into effect before truncating twitter posts
2012-01-29 17:42:17 -05:00
danielgrippi
005b165e87
defer dispatching to help app processes not bloat in memory
2012-01-26 13:24:53 -08:00
Jonne Haß
9c67cd7eb9
collapse Post#last_three_comments and Commentable#last_three_comments, do not double query comments in CommentsController#index for a JSON response, remove spec that tests ordering as it's not deterministic on psql without specified order
2012-01-25 12:44:50 +01:00
danielgrippi
eaed3505e4
Don't create share_visibilities for public posts, sans migration of deleting old data.
2012-01-24 16:49:07 -08:00
Jonne Haß
100625d18c
fix people and person specs for the guid stuff on psql
2012-01-24 23:02:07 +01:00
Jonne Haß
7aaaf4f43b
use guid instead of id for /people/ urls
2012-01-23 23:35:31 +01:00
Daniel Grippi
2c50de0726
Merge pull request #2714 from stwf/im-sorry-bye-vanna
...
Remove Vanna Controller from app and fix up notifications controller, views, scripts, specs
2012-01-22 22:15:14 -08:00
Maxwell Salzberg
49f18d435a
upgrade factory girl there are 3 failing cukes.
2012-01-21 21:58:50 -08:00
Steven Fuchs
9836860ca3
Merge remote branch 'upstream/master' into im-sorry-bye-vanna
2012-01-20 12:23:45 -05:00
Maxwell Salzberg
0ce0e47ff8
fix #2698 ; allow a user to delete a reshare of a deleted post
2012-01-19 15:24:07 -08:00
danielgrippi
5721c9e512
remove depricated methods
2012-01-18 13:29:43 -08:00
Maxwell Salzberg
392e317962
fix person spec
2012-01-17 22:10:03 -08:00
Maxwell Salzberg
22bd70664f
fix post spec
2012-01-17 21:12:47 -08:00
Maxwell Salzberg
254860bddc
SM MS; Read email sent to diaspora-dev for more information about this
...
commit. Add migration and rake task to copy hidden information from
share_visibilities to users. see: http://devblog.joindiaspora.com/?p=44
2012-01-17 19:29:01 -08: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
Steven Fuchs
a11c8d8a96
javascripts for marking notifications items as unread on both the notifications page and popup menu.
2012-01-17 19:20:42 -05:00
danielgrippi
91e3f5f6ff
remove cache counter for photos, as it was causing too many edge-case errors & added complexity across models
2012-01-14 15:40:43 -08:00
danielgrippi
240d595714
removing photos_count method from StatusMessage in hopes of fixing the counter (still a bit confused, though...)
2012-01-13 23:33:59 -08:00
Maxwell Salzberg
9dbe644b25
fix app_config spec
2012-01-13 15:03:44 -08:00
danielgrippi
aed413b463
remove unused method and controller action (move_contact)
2012-01-13 12:15:32 -08:00
Maxwell Salzberg
258d55df51
fully reset app_config spec to prevent test polution
2012-01-12 16:11:41 -08:00
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