danielgrippi
565a0b21f7
fix .avatar declaration in the header template; make socketing always return nil straight away (we are not using the websocket in this branch, and it makes everything faster when it's off)
2012-01-07 14:23:26 -08:00
danielgrippi
3268726a9a
added LikesInfo view; simplified Feedback view (not sure how to mock the jasmine specs correctly... ugh)
2012-01-07 14:23:26 -08:00
danielgrippi
4fabbe93a5
fix ResharesController / StatusMessage controller spec; remove another js response
2012-01-07 14:23:26 -08:00
danielgrippi
719e265b68
modified app to return a hash if current_user is not present; removed view specs in postsController specs & moved logic to js/jasmine
2012-01-07 14:23:26 -08:00
danielgrippi
0a4b4fb344
remove duplication in jasmine tests (Post view / Feedback view); one correclty failing jasmine spec for Feedback view; created a StatusMessage model for the publisher
2012-01-07 14:23:26 -08:00
danielgrippi
02ca7a32f0
added reshare logic back (doesn't append it to the stream...)
2012-01-07 14:23:25 -08:00
danielgrippi
027bb3dee7
removed content-updater widget; better tests around likes on feedback widget; extend the defaultPresenter return value instead of passing the function in Feedback view
2012-01-07 14:23:25 -08:00
danielgrippi
4029b26c03
created publisher view; wip
2012-01-07 14:23:25 -08:00
danielgrippi
1a5e493b22
downcase namespacing of app
2012-01-07 14:23:25 -08:00
danielgrippi
21eba82e76
moved all jasmine fixture building into spec/controllers/jasmine_fixtures/
2012-01-07 14:23:25 -08:00
Dennis Collinson
f5609f2182
App views base renders subviews like magic
2012-01-07 14:23:24 -08:00
danielgrippi
31d24c60c7
added spec for .like_action link being rendered; added comments div back to stream_element for now
2012-01-07 14:23:24 -08:00
danielgrippi
1b8f78e006
remove sort order logic from controllers; backbone stream does not support it; was to be depricated anyway
2012-01-07 14:23:24 -08:00
danielgrippi
734f01402a
remove double fixture rendering
2012-01-07 14:23:24 -08:00
danielgrippi
1ffdfa8465
DC DG; created feedback view; moved jasmine fixtures; modified jasmine spec helper; jasmine is green
2012-01-07 14:23:24 -08:00
danielgrippi
67e56dce2c
backbone view for header; moved user dropdown logic in there; moved jasmine specs over; removed old widget
2012-01-07 14:23:23 -08:00
danielgrippi
c6e4172926
fixed likes_controller; half of the failing jasmine tests
2012-01-07 14:23:23 -08:00
Dennis Collinson
a7627fabea
pulling more view logic into superclass
2012-01-07 14:23:23 -08:00
danielgrippi
ae6fa5bebb
don't use Diaspora widget system or stream.js when backbone is active;
...
migrating like actions over to backbone; some cleanup; bump jquery to
1.7.1
2012-01-07 14:23:22 -08:00
danielgrippi
525fd3c4e4
make views associated in stream inherit from App.Views.StreamObject (location of shared deletion function)
2012-01-07 14:23:22 -08:00
danielgrippi
ffae0f8e85
added more jasmine spec; NSFW wip
2012-01-07 14:23:22 -08:00
danielgrippi
cec2d27204
ported likes logic for the stream over from old branch
2012-01-07 14:23:22 -08:00
danielgrippi
bc1ffd317e
reference 'el' explicitly (render methods now return this instead of this.el); comment area focusing working again
2012-01-07 14:23:22 -08:00
danielgrippi
9e4e58e002
fix facebook specs; comment controller specs
2012-01-07 14:23:22 -08:00
danielgrippi
34e3403e2e
jasmine green again; template switching in place, defaulting to displaying post text
2012-01-07 14:23:21 -08:00
Dennis Collinson
8e3db3aebe
make jasmine view tests work, load templates, party
2012-01-07 14:23:21 -08:00
danielgrippi
52e3f1b240
DC DG; test stream view WIP
2012-01-07 14:23:21 -08:00
danielgrippi
1d178116e9
DC DG; jasmine green
2012-01-07 14:23:21 -08:00
Dan Hansen
80f797a581
introduce comments
2012-01-07 14:23:21 -08:00
Dan Hansen
ba9ece0014
Use routers, remove some hacks
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
Daniel Grippi
27f580f241
Merge pull request #2560 from memarko/patch-3
...
Update spec/controllers/tag_followings_controller_spec.rb
2011-12-30 18:21:51 -08: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
memarko
399bdb885e
Update spec/controllers/tag_followings_controller_spec.rb
2011-12-26 21:51:02 +01:00
memarko
360e041bf6
Update spec/controllers/tag_followings_controller_spec.rb
2011-12-26 19:01:27 +01:00
Jonne Haß
d063db42aa
fix app config spec
2011-12-24 00:04:04 +01:00
Maxwell Salzberg
22d5e913cc
remove splunk logging
2011-12-21 14:24:03 -08: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
Pistos
a9c6905e29
Made spec text correspond to actual text tested.
2011-12-19 17:12:17 -05:00
Pistos
99f2d4f018
Original (root) posts should simply have "Reshare" as the English link text (not "Reshare original").
2011-12-19 17:12:17 -05:00