Dennis Schubert
84cfbd22fc
Back out #6723 due to Postgres breakage
...
This reverts commit 832a56134b , reversing
changes made to 75c3e6068c .
2016-03-04 13:33:32 +01:00
Benjamin Neff
e3d1f0fd16
fix order with two posts with the same timestamp for all streams
2016-03-03 21:43:11 +01:00
Benjamin Neff
7583568be8
update queries for new ShareVisibility
...
Also:
* remove ShareablesFromPerson evil-query
* improve multi-stream and aspect-stream queries
* fix logging for recieve
* don't add last 100 public posts to users streams after sharing
* delete share visibility when shareable is deleted
2016-03-03 21:43:11 +01:00
Florian Staudacher
be86014540
rspec should now be running a green build
2014-09-15 01:37:23 +02:00
khall
c42916df27
Two tests failing after rspec 2.99 => 3.0.0
2014-08-26 17:10:26 -07:00
khall
027bb9fcb0
Rspec version bump to 2.99
2014-08-26 17:00:21 -07:00
Jonne Haß
42b08e8ab8
Update to Rails 4.1
2014-08-25 17:37:02 +02:00
Jonne Haß
a0bbd899de
replace rspec_reset with obscure reset line stolen from rspec-mocks
2014-01-13 12:25:38 +01:00
Jonne Haß
7bb055932a
replace =~ array matching with match_array
2014-01-13 12:25:37 +01:00
Jonne Haß
58d1448085
update factory girl
2012-09-12 13:24:23 +02:00
Maxwell Salzberg
b124d3e5a1
Revert "update factory girl" new version does not support 1.8.7 :(
...
This reverts commit c52342b7cb .
2012-05-16 17:43:56 -07:00
Maxwell Salzberg
c52342b7cb
update factory girl
2012-05-16 17:17:14 -07:00
Jonne Haß
83103c4761
deterministic stream order take 2, this time with spec
2012-04-12 16:33:02 +02:00
Dennis Collinson
14b9f5dc5b
move user modules into user namespace.
2012-02-09 19:01:01 -08:00
danielgrippi
4f7dda6012
bang! kill redis cache.
2012-02-02 12:45:43 -08:00
Maxwell Salzberg
49f18d435a
upgrade factory girl there are 3 failing cukes.
2012-01-21 21:58:50 -08:00
danielgrippi
aed413b463
remove unused method and controller action (move_contact)
2012-01-13 12:15:32 -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
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
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
danielgrippi
90f990e8dd
use the cache if cache size is less than limit
2011-10-31 17:07:30 -07:00
danielgrippi
c49c76e2a6
DG MS; some refactoring
2011-10-19 15:47:22 -07: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
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
97342630c4
dg iz added some more documentation and only caching on all aspects
2011-10-04 14:39:56 -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
danielgrippi
91e649977c
MS DG update copyright
2011-09-14 11:23:12 -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
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
Sarah Mei
7d10b3fdb0
Remove more refs to aspects.first - should make postgres builds green
2011-09-05 19:04:56 -07:00
Raphael Sofaer
06217a0a1d
Fix stream query
2011-06-01 14:19:27 -07:00
Raphael Sofaer
ee75426963
Add failing spec for being overloaded with updated pending photos
2011-06-01 14:05:25 -07:00
danielgrippi
648a10e6d3
Merge branch 'master' into follow
...
Conflicts:
app/controllers/requests_controller.rb
app/controllers/tags_controller.rb
app/helpers/aspects_helper.rb
app/views/notifications/index.html.haml
config/routes.rb
public/javascripts/aspect-edit.js
public/javascripts/contact-list.js
spec/integration/receiving_spec.rb
spec/models/user/connecting_spec.rb
spec/models/user/posting_spec.rb
2011-05-04 11:35:35 -07:00
Raphael Sofaer
efe79eb351
Fix stream on pages other than 1, rename raw_visible_posts to visible_posts
2011-04-13 14:35:20 -07:00
Raphael Sofaer
92b50c3d90
Add some comments, a test for pagination
2011-04-13 10:45:11 -07:00
danielgrippi
106ae983d5
Merge branch 'master' into follow. all specs green.
...
Conflicts:
app/controllers/application_controller.rb
app/controllers/people_controller.rb
app/models/person.rb
config/assets.yml
db/schema.rb
public/javascripts/aspect-edit.js
spec/controllers/aspects_controller_spec.rb
spec/models/user/querying_spec.rb
spec/spec_helper.rb
2011-04-11 17:48:37 -07:00
Raphael Sofaer
a172e56290
Make the ordering in querying spec less brittle
2011-04-06 12:33:20 -07:00
Raphael Sofaer
3fb822c6c5
Fix distinct problem
2011-04-06 12:29:05 -07:00
danielgrippi
68375fdb02
added mutual flag, removed pending from contact, specs are green. wip
2011-04-05 16:12:53 -07:00
Raphael Sofaer
fa41c1fc52
Stream query... FIXED?????
2011-04-05 14:56:56 -07:00
danielgrippi
cbdbe1b29b
follow wip. 2 failures.
2011-04-04 19:22:19 -07:00
danielgrippi
590e1fd93f
All green except invite connecting +2 misc.
2011-04-04 15:16:19 -07:00