Maxwell Salzberg
cc5334ce9a
make this scary join a scope [ci skip]
2012-01-27 02:23:37 -08:00
danielgrippi
c133c16dc2
DG MS; don't fetch people or contact objects (you don't need) on multi stream.
2012-01-26 14:52:31 -08:00
danielgrippi
e170829bf7
pull back less Person objects in the stream query.
2012-01-25 19:40:40 -08:00
Dennis Collinson
b0ef88fb9f
WIP convert multiStream query to evilQuery
2012-01-25 19:10:25 -08:00
Dennis Collinson
f332610016
Refactor user.shareables_from into evil query class for optimization, possibly broken.
2012-01-25 16:32:18 -08:00
Dennis Collinson
d69953b0d6
enter the idea of the evilquery
2012-01-25 14:20:16 -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
72aee6b2c1
don't use .last(3), use .limit(3) instead. also, don't put an order on an association as it isn't overridable. (this commit minimizes AR object instantiation in the stream)
2012-01-24 23:47:45 -08: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
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
danielgrippi
0e5bb81d66
remove all references to the websocket. bang bang.
2012-01-10 12:28:19 -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
Pistos
f83e56e5f3
Added a counter cache for the number of reshares of a post.
2011-12-19 17:12:17 -05:00
Robsteranium
08b23d3a7f
Condensed as per Daniel's comment
2011-12-02 12:17:24 +00:00
Robsteranium
f7bde9b654
guid being set as "" somewhere (won't be assigned with ||= as "" is not nil).
2011-11-11 04:08:17 +00: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
8da1d6a7fc
multi stream hotfix (re: cache)
2011-11-07 12:15:24 -08:00
danielgrippi
b53df6dd4d
repopulating the redis cache should clear the entire set first
2011-11-07 11:28:29 -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
Ilya Zhitomirskiy
7200b0d9b3
checking if the cache exists on the redis key
2011-11-06 11:29:36 -08:00
danielgrippi
5214556882
don't ensure populated on querying... we can do this in a job later
2011-11-06 11:14:19 -08:00
Sarah Mei
c2893a2e3d
Fix require problem with the acts_as_taggable patches
2011-11-05 22:38:14 -07:00
Sarah Mei
c30e3ee362
Merge branch 'master' of github.com:diaspora/diaspora
2011-11-05 19:58:25 -07:00
Sarah Mei
2143e0f9ba
Refactor regular expression used to find tags so that it supports unicode in both ruby 1.8 and ruby 1.9. NEVER SPEAK OF THIS AGAIN.
2011-11-05 19:57:51 -07: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
Maxwell Salzberg
f85a047f6f
MS DG; for real this time?
2011-11-04 19:56:53 -07:00
Maxwell Salzberg
b7d0ec7564
fix spelling and update job to use less obtrusive query
2011-11-04 18:46:43 -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
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
5df6bc1adf
block user now removes a contact if user is blocking a contact
2011-11-03 12:31:24 -07:00
Pistos
b3853f48ed
Way more test coverage for Taggable.format_tags .
2011-11-01 01:27:36 -04:00
Pistos
73c79bdc0d
Make Taggable.format_tags more readable.
2011-11-01 00:41:56 -04:00
Pistos
24702b9f6a
Add many more hashtag regexp specs for Taggable#tag_strings . Make them pass.
2011-11-01 00:28:04 -04:00
danielgrippi
90f990e8dd
use the cache if cache size is less than limit
2011-10-31 17:07:30 -07:00
Maxwell Salzberg
1a521a792a
zomg text collapse is finally back #thankgod
2011-10-25 19:46:09 -07:00
Maxwell Salzberg
d903ab7686
a small temp fix for tag markup getting in the way of markdown stuff
2011-10-25 19:21:07 -07:00
danielgrippi
c49c76e2a6
DG MS; some refactoring
2011-10-19 15:47:22 -07:00
Manuel Schölling
6e4b4bc81b
Fixed ruby 1.9.2 module issue
2011-10-17 23:49:05 +02:00
Manuel Schölling
37aeab4745
Fixed spelling error
2011-10-16 20:55:16 +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
Manuel Schölling
6e325f8fd5
Introduced Commentable
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
Pistos
a60e74f339
Fixed "string vs. integer" spec breakage in spec/models/user/querying_spec.rb .
2011-10-12 11:37:01 -04:00
Maxwell Salzberg
cfb28db00f
wip, but the refactored code works
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
Maxwell Salzberg
963d5c1a69
wip
2011-10-11 16:10:14 -07:00