Maxwell Salzberg
0ab0526cd6
DG MS; put validates_associated in relayable, removed from receiver logic
2011-09-12 15:06:17 -07:00
Maxwell Salzberg
5177e5b218
DG MS test receive_relayable
2011-09-12 14:05:32 -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
Maxwell Salzberg
e0429ee823
MS DG pulling apart salmon and making our custom hacks more obvious
2011-09-12 14:05:31 -07:00
Maxwell Salzberg
6b0507949c
updated salmon to let us not always encrypt the header
2011-09-12 14:05:31 -07:00
danielgrippi
293afd80ff
all_public scope in Post for clarity
2011-09-11 19:28:52 -07:00
Jonne Hass
4b0c45d895
rescue unmeaningful exception from settingslogic if the namespace doesn't exists and replace it with meaningful error message
2011-09-12 01:05:49 +02:00
danielgrippi
1d0bec11f7
Add counter cache for comments on posts
2011-09-11 15:02:24 -07:00
Jonne Hass
fcc6d95067
Merge branch 'refactor_models_2' of https://github.com/buddhamagnet/diaspora
2011-09-11 23:46:13 +02: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
buddhamagnet
010024c4f9
continuing refactor of model validation calls to rails 3 syntax
2011-09-11 21:39:02 +01:00
buddhamagnet
cfa659c47e
refactored model validations to use newer rails 3 syntax
2011-09-11 21:31:39 +01:00
Jonne Hass
a614985d83
made single process mode configuration more consistent
...
* SINGLE_PROCESS_MODE environment variable takes precedence over
application.yml setting
* SINGLE_PROCESS environment variable takes precedence over
SINGLE_PROCESS_MODE environment variable to be backward compatible
2011-09-11 13:54:14 +02:00
Daniel Grippi
4ab112645f
removed a puts in Person.search
2011-09-10 07:40:35 -07:00
danielgrippi
961272d1bd
tweaked search a little (don't put a double wildcard on diaspora_id) -- this is a quick fix; solr pending
2011-09-09 11:54:10 -07:00
Maxwell Salzberg
bea76a4801
move the ugly type check into the ugly method, to keep all the ugly in
...
one place; restore listening to single process mode in resque; move the
exception handling to inside the method, rather than around the
intializer, and log when resque errors happen in development in single
process mode
2011-09-09 08:58:06 -07:00
Sarah Mei
9e4c450eea
Not all notifications are for posts :)
2011-09-09 06:55:15 -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
c72ee05ca1
Merge branch 'master' of github.com:diaspora/diaspora
2011-09-08 12:01:55 -07:00
Maxwell Salzberg
9917dac4c2
block diasporahq from posting to federation for today
2011-09-08 11:57:06 -07:00
Sarah Mei
1363021859
Update some oddly-worded comments
2011-09-08 11:55:29 -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
Maxwell Salzberg
7f6104d27b
dont queue service user fetching every inf scroll
2011-09-07 13:25:00 -07:00
Jonne Hass
c0780f3af2
only touch post on comment creation, fix #1911
2011-09-07 15:55:48 +02:00
Maxwell Salzberg
0780491d4f
fix for 'undefined method 'post' for nil:NilClass' in Mail::AlsoCommented
2011-09-03 16:06:30 -07:00
Maxwell Salzberg
1853720513
MS SM fix for 'No method limit for []'
2011-09-03 16:05:44 -07:00
Maxwell Salzberg
26151263c5
put receiving in a transaction, to prevent the crazy duplicate index errors and hopefully fix federation visibility.
2011-09-03 16:04:53 -07:00
Gonzalo Rodriguez
2afb646286
Minor changes on status message
2011-09-03 03:47:33 -03:00
Gonzalo Rodriguez
8dd05a5e5b
Fixing method signature semantics
2011-09-03 03:36:38 -03:00
The Lambda Calculus
9d7b8d7f5d
Have passing Cucumber tests [Finishes issue #1126 ]
2011-09-01 01:59:51 -04:00
The Lambda Calculus
98b71f92ab
We now do a check on photo deletion to ensure that any associated status messages are also deleted if now empty [Issue #1126 ]
2011-09-01 01:59:51 -04: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
Ilyaaaaaaaaaaaaa Zhitomirskiy
a40543e15c
a user now has the option to disable reshare email notifications
2011-08-25 17:16:09 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
8c9a585337
reshares now have notifications, slight refactor of the notification helper
2011-08-25 17:16:09 -07:00
Gonzalo Rodriguez
ceedbb14cb
Closes #1486 . Profile update was crashing with invalid birthday date
2011-08-20 00:34:59 -03:00
Maxwell Salzberg
70fe2cf10f
wip
2011-08-19 15:56:31 -07:00
Maxwell Salzberg
6f20e11a67
better invite emails wip
2011-08-19 12:15:11 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
96d183a041
fixed private message emails not including the message
2011-08-19 11:33:55 -07:00
Maxwell Salzberg
6beeecefd8
add better messages telling a user that they sent share requests if they try and email exsisting users
2011-08-18 18:27:37 -07:00
Gonzalo Rodriguez
2d54d9a97e
Validate presence of message text on conversations. Closes #1329 .
2011-08-17 23:52:31 -03:00
Raphael Sofaer
8231ce2239
Don't log big xml things
2011-08-17 18:59:25 -07:00
danielgrippi
a99e69edd6
down to 2 failures in postgres
2011-08-17 16:51:54 -07:00
Maxwell Salzberg
ad1b122e20
test batch_invite
2011-08-17 16:28:21 -07:00
Maxwell Salzberg
e0fb8a08cb
set the user email if inviting by email
2011-08-17 16:28:21 -07:00
Maxwell Salzberg
19eb549889
fixed up update controller action and building users #scary #gladsofaerisstillhere
2011-08-17 16:28:21 -07:00
Maxwell Salzberg
e039aabeef
senders must now own aspects
2011-08-17 16:28:21 -07:00
danielgrippi
eb8c540ac1
MS DG IZ major invite refactor. all tests are green minus weird stuff on dans computer, need to checkout this out on pivots
2011-08-17 16:28:21 -07:00
Maxwell Salzberg
cc6618d294
some progress
2011-08-17 16:28:21 -07:00
danielgrippi
159fce3ef2
refactor wip
2011-08-17 16:28:21 -07:00
danielgrippi
bf0eb3dac3
4 failures left in postgres
2011-08-17 14:18:51 -07:00
Maxwell Salzberg
a06f25b297
Merge pull request #1763 from grzuy/conversation-creation-refactor
...
Refactor conversations creation
2011-08-16 10:26:54 -07:00
danielgrippi
511517b3c7
cleaned up and documented Invitation. moved an action into a User before_create callback
2011-08-15 16:44:37 -07:00
danielgrippi
32ae21a213
removed user invite counter, as it was already depricated
2011-08-15 15:15:43 -07:00
danielgrippi
669cd8578e
scoped invite_user_by_email job into Mail module
2011-08-15 12:35:32 -07:00
Raphael Sofaer
f0583de36c
Some optimizations to ServicesController#finder. Apparently setting an association on an unsaved record to an empty array hits the database.
2011-08-13 09:40:31 -07:00
Gonzalo Rodriguez
2326206586
Refactor conversations creation
2011-08-12 23:07:01 -03:00
Raphael Sofaer
3831c13a4a
Move the app/models/jobs folder to match the name of the module
2011-08-12 15:56:26 -07:00
Raphael Sofaer
8b743e7e3b
Fix stack level too deep error on reshares
2011-08-12 13:20:25 -07:00
Raphael Sofaer
31b55aef0b
Start saving the usernames of facebook users
2011-08-12 13:20:25 -07:00
Raphael Sofaer
3c34749dd7
Put a select limit on the person query on contactsController index, since we know exactly what we're doing with the data
2011-08-12 10:13:29 -07:00
Raphael Sofaer
78a637f251
Take out useless line in Reshare#receive
2011-08-11 14:42:44 -07:00
Raphael Sofaer
3594d3ba8b
Fix error raising in message after_receive
2011-08-11 14:01:27 -07:00
Raphael Sofaer
0b00616b8c
Create appConfig option for following diasporahq
2011-08-11 12:01:14 -07:00
Raphael Sofaer
a2043671ce
Move comment email subject line code into models
2011-08-11 10:46:15 -07:00
Raphael Sofaer
350a4b4f6d
Fix 500 on invitations new on unknown facebook user... bad solution, maybe we should just delete the offending invitations?
2011-08-10 16:42:08 -07:00
danielgrippi
b6c26611ef
placed all mail jobs in the Job::Mail:: namespace & added into appropriate folders
2011-08-10 15:31:40 -07:00
Raphael Sofaer
a2bfc4a487
Limit the length of some log statements
2011-08-10 10:56:23 -07:00
danielgrippi
aa3d626ada
validate instead of throwing a db error
2011-08-10 10:38:28 -07:00
Maxwell Salzberg
4fb4f71169
prevent duplicate services from being created
2011-08-09 19:01:38 -07:00
Maxwell Salzberg
86e374b8ce
add hovercards back to mentions, reorganized some helpers, made getting started view mobile accessible
2011-08-09 16:54:24 -07:00
Raphael Sofaer
015879a96a
Move the unserialized_attribute override into the youtube_titles module.
2011-08-09 14:23:50 -07:00
Raphael Sofaer
a4e54a7b05
Protect ourselves from problems with youtube title serialization by rescuing type mismatches in the marshaller.
2011-08-09 14:04:31 -07:00
Maxwell Salzberg
e9d993b8f6
throw 404s when the person is no found
2011-08-09 13:03:45 -07:00
Maxwell Salzberg
77cb93be24
fix up the inviter sidebar
2011-08-08 17:53:04 -07:00
Raphael Sofaer
201574c53a
Check for nil before building ServiceUser objects
2011-08-06 14:02:27 -07:00
Sarah Mei
421bfe6d8f
Handle the case in which the pod owner has not set up featured users.
2011-08-06 12:47:46 -07:00
Raphael Sofaer
8b7f938a63
Order the results of ServicesController#finder
2011-08-05 16:42:09 -07:00
Raphael Sofaer
c7360fe6ce
Document contact.sharing and receiving a little
2011-08-05 15:25:26 -07:00
danielgrippi
d51e495925
fetch featured users from remote servers on app init unless already in the db
2011-08-03 18:02:56 -07:00
Maxwell Salzberg
7e8f17cc31
refactoring this stuff
2011-08-03 16:58:55 -07:00
Raphael Sofaer
1aac60bee3
Make sure that not deleting the service_users doesn't leave them stale
2011-08-03 15:39:23 -07:00
Raphael Sofaer
7d0c796762
Make sure that related data for fb users is attached to them
2011-08-03 15:30:58 -07:00
Raphael Sofaer
4d786d687c
Forget about postgres for now, depend on On duplicate key update
2011-08-03 14:39:38 -07:00
Raphael Sofaer
406ab7a073
Delete a stray file, some cleanup
2011-08-02 09:47:17 -07:00
Raphael Sofaer
983d4e5598
Hopefully make youtube_titles a little less ridiculous
2011-08-01 12:30:21 -07:00
Maxwell Salzberg
bb8db654d6
add basic pod error logging, and added guard and removed autotest
2011-07-30 11:44:27 -07:00
Maxwell Salzberg
bbf8f2a15b
for tests, only try to connect with an actual person
2011-07-29 21:52:46 -07:00
danielgrippi
9037748d23
fixed search
2011-07-29 19:21:18 -07:00
danielgrippi
905a982d35
add two more default aspects for new users
2011-07-29 19:21:18 -07:00
Maxwell Salzberg
73616a3e7a
new users now autofollow diasporahq@joindiaspora.com; upon connecting to a user, you now get post visibilities for their public posts (that your pod knows about)
2011-07-29 17:20:10 -07:00
Raphael Sofaer
b8df1dca5c
remove pretty print
2011-07-29 14:56:06 -07:00
danielgrippi
2b550906fc
downcase query string for search
2011-07-29 14:05:59 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
16bd3e4c2f
less delay on search; start on 2 chars instead of 3
2011-07-29 12:26:04 -07:00
danielgrippi
f560321626
optimized people search
2011-07-29 12:04:10 -07:00
Raphael Sofaer
ddd4424df8
Merge remote branch 'manuels/842-sortable-aspects'
...
Conflicts:
app/models/user.rb
db/schema.rb
2011-07-28 14:36:41 -07:00
maxwell
7a5852e73a
fix a bug with openssl keys in development. note to future max and
...
rafi. never monkey patch anything on the top of a completely random
model. never again. ever.
TODO: look into replacing a monkey patch on a to_s in User#generate_key
that makes the single test green, but my dell had a heart attack other
places, that might just be sqlite3 or my dell
2011-07-24 20:06:07 -07:00
Raphael Sofaer
99aafb18cd
Reshares show up on sharing, prevent multi-resharing, still need to make that ui nice
2011-07-22 17:13:31 -07:00
Raphael Sofaer
78bced56bb
Reshares and reshare retractions are green.
2011-07-22 16:00:19 -07:00
Raphael Sofaer
5a12636967
Clarify Reshare#after_parse
2011-07-22 14:38:56 -07:00
Raphael Sofaer
4b1d5b772d
Failing spec for the second retraction for a reshared post, reshares need to refer to guids
2011-07-22 14:19:58 -07:00
Raphael Sofaer
ad5dba052c
First reshare retraction spec is green
2011-07-22 13:12:12 -07:00
Raphael Sofaer
17774d8b3b
Getting repost back to almost green.
2011-07-21 19:15:47 -07:00
Raphael Sofaer
a1bf22fe7e
More work on retracting posts with reshares, one failing spec on User#retract
2011-07-21 18:23:34 -07:00
Raphael Sofaer
7382dfb7be
Multi-server spec now successfully passes along a reshare
2011-07-21 18:23:33 -07:00
Raphael Sofaer
e19fb6d0f8
Use authority instead of host in order to get the port as well.
2011-07-21 18:23:33 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
537766d0d7
Started working on repost integration test
2011-07-21 18:23:33 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
bd1c8efe54
wip integration servers
2011-07-21 18:23:33 -07:00
danielgrippi
2d6f51f68c
repost wip
2011-07-21 18:22:18 -07:00
danielgrippi
987d44c41c
fixed reshare specs; all specs green
2011-07-21 18:22:18 -07:00
danielgrippi
a8400ad460
2 more specs failing. wip
2011-07-21 18:22:18 -07:00
danielgrippi
a32ef3c1d8
added xml response to the post
2011-07-21 18:22:18 -07:00
danielgrippi
bdc4b9f746
marsharing reshares now grabs the post from the original poster, also fetcheer that person if they don't exist locally still need to ping for xml and give the right xml back
2011-07-21 18:22:18 -07:00
danielgrippi
509a435cc9
moving to not including the post in the reshare xml
2011-07-21 18:22:17 -07:00
danielgrippi
7b3180e5da
user can retract a reshared post
2011-07-21 18:22:17 -07:00
danielgrippi
f3a515eef1
DG IZ reshare retractions is WIP
2011-07-21 18:22:17 -07:00
Ilya Zhitomirskiy
ce94779766
not showing the reshare button to the users on things they can't reshare
2011-07-21 18:22:17 -07:00
Maxwell Salzberg
fa9269541f
wip removed some generated specs
2011-07-21 18:22:17 -07:00
Raphael Sofaer
20de3a5622
Refactor StatusMessagesController#create, move the photo dispatching into an after_dispatch hook
2011-07-21 16:30:00 -07:00
Maxwell Salzberg
eee2225f04
rspec is green
2011-07-21 14:32:10 -07:00
Maxwell Salzberg
df62f58156
fixed the safe_buffer issues
2011-07-21 14:32:09 -07:00
Raphael Sofaer
b01ffb4489
We don't use perform_delegate anymore
2011-07-19 10:55:23 -07:00
Raphael Sofaer
9797e04957
Merge remote branch 'yolk/348-change-email-with-confirmation' into merge_email_change
...
Conflicts:
app/controllers/users_controller.rb
config/locales/diaspora/en.yml
db/schema.rb
spec/controllers/users_controller_spec.rb
spec/mailers/notifier_spec.rb
2011-07-19 10:44:00 -07:00
Raphael Sofaer
37e939d476
Use activerecord-import in ReceiveLocalBatch. The default behavior of it is to do an On Duplicate Key Update updated_at = Time.now, but we have a test for that case anyway.
2011-07-14 21:27:16 -07:00
Raphael Sofaer
55009a8381
Use activerecord-import to re-save ServiceUser objects. We should do the same in ReceiveLocalBatch.
2011-07-13 10:59:41 -07:00
Raphael Sofaer
e30b82dd45
Fix resend links in inviter
2011-07-12 15:08:03 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
f6bf17897d
actually displaying the facebook results(first time connection), updating attributes instead of discarding the changes
2011-07-11 16:52:30 -07:00
danielgrippi
67882c775e
Addded Diaspora::Likeable module. Corrected the unique index for likes to include author_id; extracted before_save callback needed for tags into Diaspora::Taggable.
2011-07-11 15:06:35 -07:00
danielgrippi
d364f158b8
cache counters in for likes. pending Diaspora::Likeable module...
2011-07-11 15:05:55 -07:00
danielgrippi
797a6f5ca9
like comments js response wip
2011-07-11 15:02:46 -07:00
danielgrippi
2e15b6a61e
Likes in comments, cache counter disabled for now.
2011-07-11 15:00:48 -07:00
Raphael Sofaer
39ff51a9d7
Make comments index ajaxy
2011-07-11 14:03:59 -07:00
Manuel Schölling
0855144a0a
Issue #842 : Sortable aspects
...
Signed-off-by: Manuel Schölling <manuel.schoelling@gmx.de>
2011-07-10 20:37:11 +02:00
Raphael Sofaer
c83276a9d9
OK, now I get what was going on.
2011-07-07 22:17:42 -07:00
Raphael Sofaer
d0ce257107
Revert "Revert "Merge branch 'hashtags-in-comments'""
...
This reverts commit d2e26f6937 .
2011-07-07 15:10:04 -07:00
danielgrippi
d2e26f6937
Revert "Merge branch 'hashtags-in-comments'"
...
This reverts commit f85d5ad6d4 , reversing
changes made to b8d70393f4 .
2011-07-07 13:39:15 -07:00
danielgrippi
310b9969f3
hashtags module now in comments. not sure how to pull back relevant posts on tags/show from here...
2011-07-07 12:21:57 -07:00
Raphael Sofaer
8cf0fa8446
Don't get tags in the publisher
2011-07-07 10:48:07 -07:00
danielgrippi
f3d185fe41
hovercard on comments
2011-07-06 17:13:11 -07:00
danielgrippi
fd015129c4
final touchups to hovercard
2011-07-06 13:51:19 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
1c79c2c6f0
made aspect_dropdown ajax in (created route), in the process of removing aspect_membership js responses
2011-07-06 12:45:16 -07:00
danielgrippi
675d9d7485
wip. Person#as_json is breaking right now
2011-07-06 12:45:16 -07:00
Daniel Grippi
0cd3878bb8
Merge pull request #670 from galaxor/1137-bad_rsa_keys
...
1137 bad rsa keys
2011-07-06 10:00:44 -07:00
Raphael Sofaer
efd6275e68
Don't instantiate objects in tag_string
2011-07-05 17:56:38 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
f0d9d318e8
a user can now follow and unfollow a tag
2011-07-05 15:03:26 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
1e4ee472b7
WIP you can now follow a tag, needs a clean up, and ajax love
2011-07-05 15:03:26 -07:00
Raphael Sofaer
4f056dca8e
Ajax in likes in stream
2011-07-04 22:10:30 -07:00
Ryan Hughes
00589c10c6
If one user has a bad rsa key, don't abort all sends.
2011-07-04 18:00:55 -07:00
Maxwell Salzberg
408690f0fa
remove stray puts
2011-07-04 13:57:23 -07:00
Maxwell Salzberg
2f1118f95f
refactor AppConfig to guess what services are configured, and clean up the services view for a user. also, add a box so people can realize what they can connect
2011-07-04 13:54:05 -07:00
danielgrippi
511a651377
don't query for mentioned people if mention syntax isn't present in message text.
2011-07-03 20:36:46 -07:00
danielgrippi
829c86823d
remove dislikes; didn't change the db structure, just removed the traces in the code since we're not using them
2011-07-03 20:08:11 -07:00
Maxwell Salzberg
6f72a0cb38
order facebook friends
2011-07-02 19:01:58 -07:00
Maxwell Salzberg
2d9d9bd1a1
Revert "Revert "remove perform delegate: use a gem that unobtrusivly does the same""
...
This reverts commit 696779d589 .
2011-07-02 12:05:26 -07:00
Maxwell Salzberg
696779d589
Revert "remove perform delegate: use a gem that unobtrusivly does the same"
...
the connection adapter messes with single process mode...
This reverts commit dd752d7dd9 .
2011-07-02 12:01:31 -07:00
Maxwell Salzberg
dd752d7dd9
remove perform delegate: use a gem that unobtrusivly does the same
...
thing. use built in resque inline method for single process mode
2011-07-02 11:57:10 -07:00
danielgrippi
3a5f0c9678
proper uniqueness validation in auth model
2011-06-29 17:32:55 -07:00
danielgrippi
38ddb4b744
correctly scoping the uniqueness validation dg iz
2011-06-29 17:24:05 -07:00
Raphael Sofaer
d1a149f9f6
Some stuff to not need an application.yml in CI
2011-06-29 11:52:13 -07:00
Raphael Sofaer
1ced4c502d
Put as_json back in person
2011-06-29 08:48:34 -07:00
Raphael Sofaer
1af945de11
Merge branch 'master' into oauth
...
Conflicts:
Gemfile
Gemfile.lock
app/models/app_config.rb
app/models/post.rb
db/schema.rb
public/stylesheets/sass/application.sass
spec/lib/webfinger_spec.rb
2011-06-28 17:13:38 -07:00
danielgrippi
00ffade884
sub menu for people only sharing with you on contacts page
2011-06-27 17:22:36 -07:00
Raphael Sofaer
240eb78b08
Change homepage_url to application_base_url
2011-06-27 16:44:18 -07:00
Raphael Sofaer
e468075ffd
Doc AS::Photo
2011-06-26 20:59:02 -07:00
Raphael Sofaer
2857de5f1b
doc a user method
2011-06-24 10:38:06 -07:00
Raphael Sofaer
18138e1507
Doc
2011-06-24 10:38:06 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
d46f3a8d1f
fixed every spec but the activity stream photos controller spec
2011-06-23 15:22:36 -07:00
danielgrippi
74a7c3ab00
collapsed oauth2 migrations; made app factory
2011-06-23 14:49:19 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
052adc3213
Fix authorizations controller and app_config specs, require 2048 bit keys. We're now using config/application.yml.example in the test env.
2011-06-23 14:20:53 -07:00
danielgrippi
5917f0d695
added JWT verification support to diaspora
2011-06-22 16:15:03 -07:00
Raphael Sofaer
a987b198fd
Fix search in PG
2011-06-22 15:09:00 -07:00
Raphael Sofaer
e8552fc417
Fix direct query execution issues in PG by using select_values/select_rows instead of execute.
2011-06-22 14:47:59 -07:00
Ilya Zhitomirskiy
c09fb776fb
added a couple of validations on the Oauth models, added an index on a user's authorizations
2011-06-20 18:30:18 -07:00
danielgrippi
890dc7efd5
put some dependent destroys on models for better sqlite compatability
2011-06-19 23:39:57 +02:00
Raphael Sofaer
f0cb2159c7
Make contacts appear at the beginning of search results in postgreSQL
2011-06-19 16:16:30 +02:00
Ilya Zhitomirskiy
75a1012c1c
moved the monkey patching to a model, need to do a couple of validations
2011-06-15 18:30:05 -07:00
Raphael Sofaer
800e701f89
Document User#accept_invitation
2011-06-14 10:27:29 -07:00
Raphael Sofaer
305c107ba1
Take loop out of remove_mentions
2011-06-14 10:17:22 -07:00
Raphael Sofaer
10f5d658b2
Document liked? and like_for
2011-06-14 10:15:32 -07:00
danielgrippi
b446404348
Revert "Without loaded? I was confused by the liked? and like_for methods."
...
This reverts commit 2103d54fe4 .
2011-06-13 22:56:36 -07:00
Raphael Sofaer
2103d54fe4
Without loaded? I was confused by the liked? and like_for methods.
2011-06-13 17:14:00 -07:00
Raphael Sofaer
480d7c47cf
Documentation is so rad.
2011-06-13 17:02:18 -07:00
Raphael Sofaer
7171aa05ed
Do a little bit more documenting.
2011-06-13 16:31:40 -07:00
Raphael Sofaer
4815482354
Start some real docs
2011-06-13 16:12:32 -07:00
Ilya Zhitomirskiy
3d77186d35
added authorizations page where a user can see all of their authorized applications
2011-06-13 15:40:55 -07:00
Ilya Zhitomirskiy
56525c9f4f
made a slightly nicer heads up about nil ca_file
2011-06-09 16:28:45 -07:00
Ilya Zhitomirskiy
71dd8dc7f3
Merge branch 'master' of github.com:diaspora/diaspora
...
Conflicts:
app/models/app_config.rb
2011-06-09 15:51:59 -07:00
Raphael Sofaer
e1fb5846b6
Use the example config file if travis
2011-06-09 15:45:01 -07:00
Raphael Sofaer
ac8587290a
Throw in a travis config file to try using travis
2011-06-09 15:31:16 -07:00
Ilya Zhitomirskiy
a03423309d
fixed the getting started step 3, ignore the CA certs in developement is now in initializer, changed the 'login' -> 'connect' [to facebook] png
2011-06-09 15:12:35 -07:00
Ilya Zhitomirskiy
b575983c22
WIP certs
2011-06-08 18:46:38 -07:00
Ilya Zhitomirskiy
808754f8bd
added the cert bundle for facebook http things
2011-06-08 18:20:47 -07:00
Raphael Sofaer
6d105e5c09
Don't n query in UsersController#public
2011-06-04 22:34:48 -07:00
Sarah Mei
243699c8e9
Tumblr service swallows exceptions raised by tumblbeasts.
2011-06-04 20:45:09 -07:00
Raphael Sofaer
381b85189d
Add Chubbies, the oauth sample app, and a cucumber feature for part of an oauth flow
2011-06-03 16:22:38 -07:00
danielgrippi
40ab168a5a
DH DG; fix re-liking a post after unliking it
2011-06-03 12:20:59 -07:00
Raphael Sofaer
686464c36e
move account deletion out of a tranaction and into a job
2011-06-03 12:05:57 -07:00
Maxwell Salzberg
149c086d5e
make the tumblr posting smarter
2011-06-02 17:02:29 -07:00
MrZYX
668c4ddfc5
d'oh
...
- just check for existance before accessing in services initializer
- before_validation has no option :post
- dry up routes.rb
2011-06-02 12:32:21 +02:00
Maxwell Salzberg
72c6efe41c
basic specs
2011-06-01 22:38:15 -07:00
Maxwell Salzberg
5cbbdf2949
initial post to tumblr support
2011-06-01 22:30:22 -07:00
Raphael Sofaer
283e376712
Move initialize_signatures method out of user and into relayable
2011-06-01 16:45:30 -07:00
Raphael Sofaer
df04b59857
Change :on to :post in the comment and post methods
2011-06-01 16:45:29 -07:00
Sebastian
f42055ae24
User#confirm_email with specs
2011-06-01 16:26:54 +02:00
Sebastian
37ccbce153
Added confirmation email + specs + User#mail_confirm_email + call User#mail_confirm_email in UsersController#update
2011-06-01 16:26:53 +02:00
Sebastian
5b408ecca3
Added User#unconfirmed_email and #confirm_email_token with specs
2011-06-01 16:26:53 +02:00
Raphael Sofaer
537de1ce4c
build_like and build_comment now take only an options hash, and call build_relayable
2011-05-31 12:27:58 -07:00
Raphael Sofaer
71c3a29aa6
Move YoutubeTitles callback into module
2011-05-31 12:27:57 -07:00
MrZYX
cd887e9373
fixed unlike the right way
2011-05-29 18:15:46 +02:00
MrZYX
7b864dd208
Rails, welcome to 2011. Fyi: string concatenation is bad
2011-05-29 18:14:54 +02:00
MrZYX
d66fc9d99f
fix validation message if text is too long
2011-05-29 16:45:41 +02:00
Sarah Mei
828cbab792
Keep pod_url and pod_uri settings in sync.
2011-05-28 20:13:38 -07:00
Sarah Mei
31a5ef19de
Switching to settingslogic to manage our configuration. THE FILE FORMAT HAS CHANGED. OLD APP.YML AND APP_CONFIG.YML FILES WILL NOT WORK ANYMORE.
...
Two important differences:
1. The app only looks in one file for settings: config/application.yml. If you want to override something, do it in that file. It is gitignore'd. If config/application.yml does not exist, or exists but is in the old format, you'll get a nice friendly set of instructions on how to convert your old file.
2. script/server settings are no longer in application.yml. They have their own settings file - copy config/script_server_config.yml.example to config/script_server_config.yml. This is also gitignore'd. script/server will print a message and exit if that file doesn't exist.
2011-05-28 19:44:40 -07:00
MrZYX
54f1effdf8
Merge branch '1092-no-pic-select' of https://github.com/gandaro/diaspora
2011-05-27 19:35:39 +02:00
Jakob Kramer
0efaa77c46
fixes bug #1092
2011-05-27 18:59:02 +02:00
MrZYX
e201340bb2
Photo association on GUID 2/2: replace status_message_id with status_message_guid
2011-05-27 18:56:24 +02:00
danielgrippi
d12944d57e
record objectId in post (cant use object_id booo)
2011-05-25 12:16:52 -07:00
Raphael Sofaer
609439f948
Destroy notifications on contact destroy
2011-05-23 18:33:18 -07:00
Raphael Sofaer
e28ec16781
Gross, but hopefully temporary solution for namespaced classes and old versions of libxml
2011-05-23 16:24:28 -07:00
Raphael Sofaer
cc84051541
Fall back to author if the diaspora_handle isn't set, that column just needs to be removed
2011-05-23 14:54:27 -07:00
Raphael Sofaer
d22878f3f0
Fix AS::Photo federation, hopefully
2011-05-23 13:56:42 -07:00
Maxwell Salzberg
d4d3b1e44c
MSSM like notification are concatinated, and backfilled some like tests
2011-05-22 13:59:33 -07:00
Raphael Sofaer
286f1b876d
Allow anyone to generate a token, restrict tokens to ActivityStreams::PhotosController#create, don't let tokens create sessions.
2011-05-20 15:14:23 -07:00
Raphael Sofaer
93be5497a7
Small controller for generating an auth token, if you are an authable user
2011-05-19 18:29:53 -07:00
Maxwell Salzberg
3c4c62abd5
moved auth token to admins page, and added a link in the dropdown
2011-05-19 14:23:04 -07:00
danielgrippi
925292a7b2
hey, federation works.
2011-05-19 13:20:58 -07:00
danielgrippi
6c31867345
check for AS object in partial hack
2011-05-19 12:40:05 -07:00
danielgrippi
e7095ba788
Tests now pass, stream_element needs de-hacking
2011-05-19 12:19:27 -07:00
danielgrippi
c8e31825c5
Bookmark -> ActivitiyStreams::Photo
2011-05-19 11:57:06 -07:00
danielgrippi
9b941e6520
Bookmark now consumes cubbi.es JSON, cubbi.es things can be saved to Diaspora, but are not displayed.
2011-05-19 11:57:06 -07:00
danielgrippi
be662a65c6
added token authenticatable to user model
2011-05-19 11:57:06 -07:00
Ilya Zhitomirskiy
6cda0bf9ea
Revert "added a podwide email preference"
...
This reverts commit 60c0a9839b .
2011-05-18 10:38:45 -07:00
MrZYX
66380fd33f
fixed some translations
2011-05-18 13:55:50 +02:00
Ilya Zhitomirskiy
60c0a9839b
added a podwide email preference
2011-05-17 18:19:47 -07:00
Raphael Sofaer
c942f76d29
Turn off user collapse and turn up status messages to over 9000
2011-05-17 18:14:35 -07:00
danielgrippi
7eaca0346c
Merge branch 'master' into follow
...
Conflicts:
config/assets.yml
public/stylesheets/sass/_mixins.scss
spec/models/user/posting_spec.rb
2011-05-16 14:56:28 -07:00
Raphael Sofaer
a4f81c6410
Finish fixing password changing and keeping emails downcased
2011-05-13 16:32:07 -07:00
Raphael Sofaer
f8b7307441
Downcase emails upon inviting
2011-05-13 16:32:07 -07:00
Raphael Sofaer
5f531f14f1
Don't use rails case_sensitive false, it is very slow.
2011-05-13 16:32:07 -07:00
Raphael Sofaer
a46ff394b1
update devise_invitable and devise
2011-05-13 16:32:07 -07:00
danielgrippi
60a60733df
Merge branch 'master' into follow
...
Conflicts:
app/controllers/aspects_controller.rb
app/controllers/contacts_controller.rb
app/controllers/people_controller.rb
app/controllers/photos_controller.rb
app/controllers/tags_controller.rb
app/helpers/notifications_helper.rb
app/models/notifications/new_request.rb
app/models/user_preference.rb
public/javascripts/view.js
spec/controllers/aspects_controller_spec.rb
spec/controllers/contacts_controller_spec.rb
spec/controllers/home_controller_spec.rb
spec/controllers/post_visibilities_controller_spec.rb
spec/controllers/requests_controller_spec.rb
spec/mailers/notifier_spec.rb
spec/models/user_spec.rb
2011-05-12 15:49:51 -07:00
Raphael Sofaer
970190fb7a
OMG SO MANY EMAILS, fixed
2011-05-11 16:07:24 -07:00
Raphael Sofaer
b8d9610877
added translation to the likes popup, made the notification models a little clearer
2011-05-11 13:50:26 -07:00
danielgrippi
ebb17ff70c
few cucumber steps failing. wip.
2011-05-11 11:08:30 -07:00
danielgrippi
7e838fc778
only display contacts you are sharing with in aspect edit panes
2011-05-04 18:05:49 -07:00
danielgrippi
0db8541f6e
added a pane for people sharing with you on all aspect page
2011-05-04 17:57:42 -07:00
danielgrippi
e854bd0a32
split 'mutual' flag into 'sharing' and 'receiving' on Contact
2011-05-04 17:09:48 -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
Maxwell Salzberg
c20cd5381e
create a new notifciation if previous was read, only concatinate when it is the same unread message
2011-05-02 18:18:30 -07:00
Raphael Sofaer
b4e36878fe
Fix pages after 1 on tag page
2011-04-28 09:28:59 -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
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
danielgrippi
352d1c6abf
fixed disconnecting logic. specs&cucumber green
2011-04-11 15:10:51 -07:00
Raphael Sofaer
080f08187d
Disable typhoeus everywhere but the HTTPMulti specs
2011-04-11 14:52:21 -07:00
danielgrippi
1b8257e960
fixed 'destroy for nil class' warning in cucumber:
2011-04-11 11:11:32 -07:00
MrZYX
fbe91aba3a
refetch profile if it's missing, comment out hydra stub for now because it breaks the specs
2011-04-09 15:20:28 +02:00
danielgrippi
aeda5a4e39
dispatching / receiving logic complete. following wip.
2011-04-07 18:29:24 -07:00
maxwell
51b3cd9c77
attempt to fix the problem where people who wanted emails were no longer getting them
2011-04-07 14:05:40 -07:00
danielgrippi
4f972a23f6
drop requests table wip
2011-04-06 19:01:41 -07:00
danielgrippi
2e5b5e1efe
request notification emails -> started sharing notification emails
2011-04-06 13:21:15 -07:00
danielgrippi
847f4fd260
edited subscribers to include all contacts on public posts. added the ability to drop an aspect regardless of contacts contained. wip.
2011-04-05 18:53:10 -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
fdb6675f28
Make things more postgres compatible
2011-04-05 09:49:39 -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
danielgrippi
c800b0bfef
use fixtures in request spec; collapsed xml specs
2011-04-04 11:57:25 -07:00
MrZYX
8639dc3a77
fixed #993
2011-04-03 18:36:34 +02:00
MrZYX
4b7c9315c8
log error when receiving a post instead of letting the job fail with weired error later in the chain
2011-04-02 17:44:48 +02:00
MrZYX
65263f1905
damn, typo
2011-04-02 16:02:51 +02:00
MrZYX
e8b006eadb
finally eliminate no method error when processing a photo
2011-04-02 16:01:54 +02:00
zhitomirskiyi
5a9ec82597
can now hide posts
2011-03-30 16:43:28 -07:00
Raphael Sofaer
716a7f64b8
Make contacts_visible accessible
2011-03-30 15:43:44 -07:00
Raphael Sofaer
c9d58d9308
Revert "Don't instantiate all contacts on aspects index, temporary querying in views for aspect listings"
...
This reverts commit 3b7063d44a .
2011-03-30 14:47:40 -07:00
Raphael Sofaer
3b7063d44a
Don't instantiate all contacts on aspects index, temporary querying in views for aspect listings
2011-03-30 14:28:58 -07:00
maxwell
6364f2a332
clean activity streams, fix test
2011-03-30 14:27:20 -07:00
danielgrippi
e922ef8f22
add includes() to search query for profiles
2011-03-30 13:24:47 -07:00
danielgrippi
d3c0f1b3d2
ruby objects, get outta my face. (conversationscontroller new)
2011-03-30 12:45:47 -07:00
Raphael Sofaer
5c7bd6298a
Fix 500 on tags index
2011-03-30 12:43:44 -07:00
Raphael Sofaer
22b9f92c27
FIx post socketing
2011-03-30 10:55:59 -07:00
maxwell
86fe2db24e
update publish job to include .atom
2011-03-30 10:41:47 -07:00
danielgrippi
97d8b34599
Fix all specs, add foreign key constraints on post_visibility
2011-03-29 17:31:56 -07:00
danielgrippi
8816bd7f91
8 failures left. wip.
2011-03-29 17:31:56 -07:00
danielgrippi
9a0d6219b5
Moving PostVisibility to aspects, WIP, model specs pass
2011-03-29 17:31:56 -07:00
maxwell
5392b5c6ef
strip more than 5 tags when updating profile so people with broken profiles can update again
2011-03-29 10:56:11 -07:00
Raphael Sofaer
349aa13c05
Revert "reduce db quries on aspects#index"
...
This reverts commit 3af5e24ac6 .
Conflicts:
app/controllers/aspects_controller.rb
2011-03-28 14:59:16 -07:00
MrZYX
c2a4c2157d
oh yeah it's delete_all on has_many, seems like I shouldn't code today…
2011-03-28 18:04:21 +02:00
MrZYX
824c4b38ad
dependent delete for likes
2011-03-28 17:54:07 +02:00
MrZYX
5c4979ccf0
use explicit check in User#disconnect_everyone, the previous check failed in rarly weired situations, I can't tell why
2011-03-28 00:09:07 +02:00
MrZYX
315fdabd76
let the user upload an image without touching the textarea, improved check in Photo#process to not yield no method on nil error in some cases
2011-03-27 21:08:30 +02:00
MrZYX
3af5e24ac6
reduce db quries on aspects#index
2011-03-27 17:22:35 +02:00
MrZYX
11b0a2c19d
dependent destroy for likes
2011-03-26 21:47:40 +01:00
danielgrippi
8a2dd36b7e
Fix autocomplete JSON
2011-03-25 17:28:04 -07:00
Raphael Sofaer
aed190dc6d
cucumber for comment retractions, modified views
2011-03-25 16:26:03 -07:00
Raphael Sofaer
fef226156c
Update controllers to use User#retract, change Relayable#relayable to Relayable#relayable?
2011-03-25 16:09:37 -07:00
Raphael Sofaer
b9af450628
Relayable retractions pretty much done
2011-03-25 16:09:37 -07:00
Raphael Sofaer
31f43696cb
Initial work on retracting comments
2011-03-25 16:09:37 -07:00
danielgrippi
c0ce0d71b8
Make pending specs green, I think there are still some to_jsons where there should be as_json
2011-03-25 15:06:22 -07:00
danielgrippi
517f3fd802
statuses/ and users/ GET routes
2011-03-25 15:06:22 -07:00
maxwell
c5b6cdff4e
make a public search method
2011-03-25 15:06:22 -07:00
maxwell
ea3d839e1c
initial public api'
2011-03-25 15:06:22 -07:00
zhitomirskiyi
7a31531258
added location to the profile
2011-03-23 15:56:46 -07:00
Raphael Sofaer
73d4bf4327
Remove unneeded callback
2011-03-23 12:00:47 -07:00
zhitomirskiyi
9abe22d5d2
added a dependant destroy to the service_users
2011-03-23 11:56:15 -07:00
Raphael Sofaer
cc39243c88
Check for nil in facebook finder
2011-03-23 11:42:33 -07:00
Raphael Sofaer
dd11edf033
Take out extra callback
2011-03-23 10:42:27 -07:00
Raphael Sofaer
55c5b4e525
Just enqueue a job on service create for now, since our queues are empty. Resque status will let us run the job and show the user a spinny without locking up a thin
2011-03-23 10:41:34 -07:00
Raphael Sofaer
3e8f455cbc
Add after_create to queue an updateserviceusers job on service create. We'll see how it works
2011-03-23 10:41:34 -07:00
Raphael Sofaer
8835559ae5
Additional logging to debug extra pvs
2011-03-22 13:44:55 -07:00
Sarah Mei
631163ec02
"Add contact" buttons on tag page are smaller and don't appear on top of names.
...
Moved some logic from view into user model.
2011-03-22 13:16:58 -07:00
zhitomirskiyi
23d6441d77
start people off with invites if the pod is open
2011-03-22 11:27:29 -07:00
Raphael Sofaer
fdd158d86a
Make urls not change on processing
2011-03-21 18:42:36 -07:00
Raphael Sofaer
2b997e70c2
Refactor image processing to use 2 uploaders. Federation and s3 need testing
2011-03-21 16:40:53 -07:00
zhitomirskiyi
c929ce21ad
fixed validation on tag length in profile
2011-03-21 16:01:34 -07:00
zhitomirskiyi
821703f4d4
fixed url. photo
2011-03-21 14:56:50 -07:00
zhitomirskiyi
93d69c4ec7
fixed the views for the friend finder
2011-03-21 14:56:50 -07:00
zhitomirskiyi
aa5bef0c3f
calls the job on login does a sync call if the cache friends was not called before, fixed the views
2011-03-21 14:56:50 -07:00
zhitomirskiyi
dcc80d5b43
almost done, need to figure out how whats the deal with the controller not being called
2011-03-21 14:56:50 -07:00
zhitomirskiyi
70d71ec491
service users is green
2011-03-21 14:56:50 -07:00
zhitomirskiyi
ede7d4e8e2
made the job, broke outthe save_users, still need to do lifecycle callbacks
2011-03-21 14:56:50 -07:00
zhitomirskiyi
3afa14d341
wip
2011-03-21 14:56:50 -07:00
MrZYX
1b1a23aa8f
likes/dislikes WIP TODO: better icons, better styling, integration on photo show page
2011-03-20 18:10:58 +01:00
maxwell
8f9f24f383
fix for photo urls before they are processed
2011-03-18 19:00:24 -07:00
maxwell
5aa969559c
add processed to post, which is set to default false for photos
2011-03-18 18:51:53 -07:00
maxwell
91a96adb4b
fix syntax error
2011-03-18 18:15:57 -07:00
maxwell
358fdb9521
return the right url for gifs
2011-03-18 18:12:20 -07:00
Raphael Sofaer
e2f78a8b8c
Protect against pre-existing post_visibilities, log them so we can find out where they are coming from.'
2011-03-18 14:52:27 -07:00
maxwell
924dc13adc
profile tagging now federates #FO #REAL
2011-03-17 18:05:49 -07:00
maxwell
562c0d40ac
profile tags now federate
2011-03-17 16:28:17 -07:00
Raphael Sofaer
e5f9876256
Don't socket the unsocketable, for real this time
2011-03-17 15:51:19 -07:00
Raphael Sofaer
bef06d18d8
Move notifying iteration into resque job
2011-03-17 15:19:26 -07:00
zhitomirskiyi
43fc2c4d63
fixed the style on the share with list element
2011-03-17 15:19:12 -07:00
zhitomirskiyi
6cc085d64e
addded slideToggle
2011-03-17 14:32:07 -07:00
zhitomirskiyi
2b6165d8ea
wip
2011-03-17 14:32:07 -07:00
zhitomirskiyi
433db9fc8b
wip, still need to auto hide, and expand on click the contact setting, styling, also would be nice to cache the friend list, and maybe on login queue up a job to refresh it
2011-03-17 14:32:06 -07:00
maxwell
82a79c95fe
wrote a test for the callback, need to make it pass...
2011-03-17 13:59:53 -07:00
maxwell
58282b91cb
move processing to photo callback
2011-03-17 13:59:53 -07:00
maxwell
bca184eaf3
photos are now successfully delayed
2011-03-17 13:59:53 -07:00
maxwell
b987b47f5f
there is a job to process photos and it is called from the controller
2011-03-17 13:59:53 -07:00
maxwell
516b620148
gif and delayed processing wip
2011-03-17 13:59:53 -07:00
Raphael Sofaer
d2cdc20e2b
Finish receive local batch job
2011-03-17 12:56:23 -07:00
Raphael Sofaer
72523cc7f9
SocketsController now takes a user object or a user id, so that we only instantiate the user if we need to
2011-03-17 12:56:23 -07:00
danielgrippi
f0df6deed3
added job and spec for BatchLocalReceive. wip
2011-03-17 12:56:23 -07:00
danielgrippi
8c7ad9a0a3
Remove unused receive local job
2011-03-15 16:13:09 -07:00
danielgrippi
c608c70ca7
tagging profiles complete
2011-03-15 13:21:36 -07:00
danielgrippi
1988e195fb
a user can put tags in their profile and they show up on the person/show page.
2011-03-15 13:21:36 -07:00
danielgrippi
20f5105e5d
breaking out Diaspora::Taggable wip
2011-03-15 13:21:36 -07:00
maxwell
b14ac9606f
fix typo, puts in a test, and made the emails types a constant in UserPreferences
2011-03-14 12:21:30 -07:00
Raphael Sofaer
1b0445563e
Specs passing with text
2011-03-14 11:39:31 -07:00
Raphael Sofaer
4b4654a408
Changing message to text, partway done, deleted data conversion
2011-03-14 11:39:31 -07:00
maxwell
adbd23ec50
more tests for mailing. the bug was i think we have to restart the resque workers
2011-03-14 11:32:59 -07:00
maxwell
28fc093a01
fix bug in user edit mailer view
2011-03-14 11:32:59 -07:00
Kiran Soumya
7c3a173010
Bug Fix for #913 with Rspec and Cucumber test cases, for a scenario, where a user is mentioned on a post and when that user closes his account, then his contacts cannot see their homepages due to this post
2011-03-12 11:08:40 +05:30
maxwell
e52d14f1e9
attempting to fix bug #913
2011-03-11 17:43:55 -08:00
maxwell
d825eeaaa0
updated to listen to disable mail
2011-03-11 15:43:40 -08:00
maxwell
e9a843b095
email prefs are now saved. need more tests and use it in user#mail
2011-03-11 15:42:53 -08:00
Raphael Sofaer
c35f143b29
always link to hashtag.
2011-03-10 18:37:45 -08:00
Raphael Sofaer
ea98b1ca81
Tags now link to meaningless query in PostsController
2011-03-10 18:37:45 -08:00
Raphael Sofaer
f19857cc40
Simplify regex madness
2011-03-10 18:37:45 -08:00
Raphael Sofaer
c1bcfef90c
TAGS ARE SO COOL
2011-03-10 18:37:45 -08:00
Michael Nutt
8c5621158d
notification now only created when message is received, not when message is first saved
2011-03-10 16:41:03 -05:00
maxwell
7b0a354677
slight tweaks to pubsubhubub publishing
2011-03-10 12:17:34 -08:00
maxwell
1baafac84b
added content to rss feed
2011-03-09 19:11:09 -08:00
maxwell
9d480b0961
remove status_message#public_message: we never use it
2011-03-09 17:14:37 -08:00
maxwell
f9279f9bbc
fixed public route not fetching posts, also an error in status_message activity markup
2011-03-09 17:08:41 -08:00
danielgrippi
1f5edb1d92
Merge branch 'private_messages'
...
Conflicts:
app/controllers/status_messages_controller.rb
app/models/data_point.rb
app/models/status_message.rb
db/schema.rb
lib/fake.rb
public/stylesheets/sass/application.sass
spec/models/mention_spec.rb
2011-03-08 21:23:41 -08:00
zhitomirskiyi
c252cfa025
added the email notification, the notification is not persisted, fixed the receive callback spec
2011-03-08 18:24:56 -08:00
MrZYX
7b5b980095
link to public feed of the person on the profile person show page instead of to the one of current_user
...
fixed #700
fixed #864
fixed #774
2011-03-08 20:30:48 +01:00
zhitomirskiyi
8bcf1b49c7
notifier for the messages, we're so close
2011-03-08 10:53:49 -08:00
danielgrippi
fca5310c77
dispatch the conversation in ConversationsController
2011-03-07 17:54:25 -08:00
danielgrippi
97aff09140
added autocomplete on message 'to' field, minor css tweaks to inbox
2011-03-07 11:22:59 -08:00
zhitomirskiyi
80a3a3446a
pulling in
2011-03-06 21:37:27 -08:00
danielgrippi
48fff29bf6
fixed conversation receive. made visibilities on conversation :dependent => :destroy
2011-03-04 11:19:01 -08:00
danielgrippi
5f55dfa1bc
private message inbox wip
2011-03-03 17:32:26 -08:00
zhitomirskiyi
3812612c86
added a validation of participant, as well as messages controller spec wip
2011-03-01 19:24:07 -08:00
danielvincent
21fd546cd0
posts now have authors instead of people
2011-03-01 18:05:05 -08:00
Raphael Sofaer
0cb218bba0
Delete statistic and data point models
2011-03-01 16:54:12 -08:00
danielvincent
11309574cf
messages are now relayable, a comment has an author as opposed to a person.
2011-03-01 12:39:42 -08:00
danielvincent
c62e9db397
private messages wip
2011-03-01 12:28:34 -08:00
danielvincent
f4e6d0d82b
broke out some comment logic to a replayable module
2011-03-01 12:28:33 -08:00
zhitomirskiyi
bd908a9b95
conversations federate
2011-03-01 12:25:55 -08:00
danielvincent
1072806d8f
PrivateMessage -> Conversation, Message.
2011-03-01 12:25:55 -08:00
danielvincent
c5801ffb37
basic views / controller actions for private messages
2011-03-01 12:14:31 -08:00
danielvincent
9fe0320881
added PrivateMessage and PrivateMessageVisibility models and migrations
2011-03-01 12:14:31 -08:00
Raphael Sofaer
00cca370ad
Add translation key method, should be replaced with separate partials.
2011-03-01 11:03:58 -08:00
Raphael Sofaer
1c1fba63e7
Refactor notification to have subclasses, just a start
2011-03-01 10:30:29 -08:00
Raphael Sofaer
809ee8a678
Started notifications refactor
2011-03-01 10:30:29 -08:00
Raphael Sofaer
d8956a7cd5
Add foreign key constraints
2011-02-28 15:18:35 -08:00
MrZYX
afecfe5e93
save the correct url on redirect in http_multi job; be tolerant about messed up urls in the db
2011-02-26 14:22:14 +01:00
maxwell
782dc55d63
remove puts, fix admins controller test
2011-02-26 14:22:13 +01:00
maxwell
b95c9b2e66
actually send email from admin interface inviter
2011-02-25 14:54:07 -08:00
Raphael Sofaer
22d83ec502
update http_multi to adjust urls when you get a redirect
2011-02-25 14:46:21 -08:00
Raphael Sofaer
f3202e15d6
add follow_location to typhoeus default jobs
2011-02-25 13:38:24 -08:00
Raphael Sofaer
7693c162c2
LOG MORE, better logging in http_multi failures
2011-02-25 12:16:17 -08:00
zhitomirskiyi
78b242b110
removed post to services since we are not using it
2011-02-24 17:31:54 -08:00
Raphael Sofaer
c030e8b21e
Move the @ inside the mention links
2011-02-24 15:52:47 -08:00
Raphael Sofaer
40dea1f625
LOG MORE, when http to another pod fails
2011-02-24 15:52:37 -08:00
Raphael Sofaer
e964490a9a
Escape xml before dispatch
2011-02-23 16:06:55 -08:00
Raphael Sofaer
faf026dec6
Update dispatcher to use HttpMulti job
2011-02-23 16:06:55 -08:00
maxwell
bb5d5fc2c0
typhoeus fixes and a few changes to the chef scripts
2011-02-23 16:06:55 -08:00
maxwell
638311125f
typhoeus should now be in. there is a new dependancy on curl and the curl dev headers, so install
2011-02-23 16:06:55 -08:00
maxwell
c9dd2d5b50
add files
2011-02-23 16:06:54 -08:00
zhitomirskiyi
97e00f9ee3
changed the delete to a destroy on retraction, also removed a puts
2011-02-23 12:00:42 -08:00
zhitomirskiyi
61dd5a835a
default scope on contact
2011-02-18 17:38:02 -08:00
zhitomirskiyi
ba779e18d6
aspect memberships are now dependant delete_all on contact
2011-02-17 18:05:21 -08:00
maxwell
8c2e6dd8cb
aspect membership refactor complete
2011-02-17 18:05:21 -08:00
maxwell
c6eb5d0340
IZ MS; refactored aspect_membership_controller, moved and updated views accordingly
2011-02-17 18:05:21 -08:00
maxwell
17a801394e
work in progress. need to update the views for the controller changes
2011-02-17 18:05:21 -08:00
Raphael Sofaer
2304827569
Only save the connected person if it has changed
2011-02-17 20:30:38 -05:00
Raphael Sofaer
cd7e4d6e8f
Requests create a read, rather than unread, notification
2011-02-16 23:44:25 -05:00
danielvincent
a636ceec7f
search does not wildcard on both sides of search term; is less dumb.
2011-02-16 12:41:45 -05:00
danielvincent
41f077e039
posts are ordered by recent comment activity instead of time created
2011-02-16 02:04:46 -05:00
danielvincent
164fe1c1b5
adjust column width, leading, serifs, etc. in stream for better readability.
2011-02-13 15:27:14 -08:00
MrZYX
20e1316491
it can somehow happen that a person has no profile. somehow. idk why.
2011-02-13 19:29:04 +01:00
Raphael Sofaer
de475ec4eb
Take error out of posting status messages with photos
2011-02-11 19:20:19 -08:00
Raphael Sofaer
3e2c9b4b94
set photo-message relations based on guid on federation
2011-02-11 18:47:26 -08:00
Raphael Sofaer
ff0f37ceea
eliminate one source of dup pvs
2011-02-11 18:25:57 -08:00
maxwell
c6bdbc987a
strip whitespace on comments
2011-02-11 17:54:37 -08:00
zhitomirskiyi
34dbc5a872
added mention created logging statement
2011-02-11 17:36:21 -08:00
maxwell
dc08efacf9
strip mention html for services
2011-02-11 17:13:48 -08:00
Raphael Sofaer
bc22851dd2
Add a little bit of info to create_invitee logging
2011-02-11 12:09:02 -08:00
zhitomirskiyi
3b2d323448
fixed the notifications to call the base_class
2011-02-11 11:49:47 -08:00
zhitomirskiyi
0e9fdeeab0
destroy
2011-02-10 19:55:30 -08:00
zhitomirskiyi
4033c19323
destroy_all so that the callbacks are called
2011-02-10 19:50:21 -08:00
zhitomirskiyi
36d7973005
fixed the problem where notifications are not keeping track of the target id as well as making notifications for a mention be destroyed when a post is
2011-02-10 19:23:01 -08:00
Raphael Sofaer
0b6375ae63
Increase comment size limit
2011-02-10 15:51:59 -08:00
Raphael Sofaer
d6f886fbe2
Double comment length limit
2011-02-10 15:51:59 -08:00
zhitomirskiyi
ca7b4e5477
fixed the build
2011-02-10 13:42:31 -08:00
zhitomirskiyi
d1771bbe17
notifications for mentions
2011-02-10 12:39:05 -08:00
zhitomirskiyi
7b1abacfe6
wip
2011-02-10 12:39:05 -08:00
Raphael Sofaer
f1fe913527
Change up logging a little bit
2011-02-10 11:52:00 -08:00
Raphael Sofaer
7b3a2b07ee
Removed n-query, created mentions table
2011-02-09 16:07:25 -08:00
Raphael Sofaer
f8cec95d7a
no authentication, n-query in stream
2011-02-09 16:07:24 -08:00
Raphael
0000185875
Status messages now process mentions and output links
2011-02-09 16:07:24 -08:00
danielvincent
3efc31c68f
mention js working minus tracking keypresses with the hidden message field.
2011-02-09 16:07:24 -08:00
Raphael
216a2c3cdb
write formatted_message
2011-02-09 16:07:23 -08:00
zhitomirskiyi
e4d9ec64cd
moved tests and slayed the profile not updating bug
2011-02-09 13:33:42 -08:00
zhitomirskiyi
d147da1b4a
invitation text
...
setting the invites
added requests to the fb hash
finder has options
remove the requester from the list
typo
making a block
another typo
remove the if statement for the notifications
checking on the right field
translations and correct indenting
fixed stuff added
added a temp puts
added a temp puts
now actually referencing the service
not double nesting
remove stream element
updated remote friends to old style
removed it from the h1 block
putting the stream element back
2011-02-08 16:40:32 -08:00
zhitomirskiyi
a06ba9105b
uniqueness of aspect name through user non case sensitive
2011-02-08 14:52:47 -08:00
maxwell
a649d18cd7
add tests to see if timestamps are updated on recevie...they are not
2011-02-08 14:07:25 -08:00
zhitomirskiyi
e3170504b8
using blank instead of checking for nil, since mongo import make these bank
2011-02-05 16:53:14 -08:00
zhitomirskiyi
78c30b847e
added files
2011-02-05 15:01:04 -08:00
zhitomirskiyi
83a9e916e4
resending of invitation in resque and works
2011-02-05 15:01:04 -08:00
zhitomirskiyi
41bb7a8564
blank instead of nil
2011-02-03 15:16:00 -08:00
Raphael
636242283b
Fix cucumber features
2011-02-02 18:49:45 -08:00
Raphael
8a2e0eef7c
No semicolons in names
2011-02-02 16:57:04 -08:00
Raphael
cfd6639f4d
Revert "Merge branch 'open-aspects'"
...
This reverts commit 181bd823c4 , reversing
changes made to 2c3ed2ab73 .
2011-02-01 13:15:20 -08:00
zhitomirskiyi
27f1231479
Merge branch 'master' of github.com:diaspora/diaspora
2011-02-01 12:11:49 -08:00
Raphael
7d18e2bcd8
Finish autocomplete
2011-02-01 11:56:56 -08:00
Raphael
518642d0d7
Move image_url defaulting logic into profile
2011-02-01 11:56:56 -08:00
Raphael
7be232e33e
autocomplete wip
2011-02-01 11:56:56 -08:00
Raphael
9080649180
Starting work on an autocomplete feature
2011-02-01 11:56:56 -08:00
maxwell
7bb7bb396a
Revert "persists open aspects across logins also fixed the status message controller spec broken in master"
...
This reverts commit 9e7f03236e .
2011-01-31 21:41:05 -08:00
zhitomirskiyi
9e7f03236e
persists open aspects across logins also fixed the status message controller spec broken in master
2011-01-31 18:37:20 -08:00
zhitomirskiyi
789ff679a9
persists open aspects across logins also fixed the status message controller spec broken in master
2011-01-31 18:31:41 -08:00
zhitomirskiyi
7a667abc73
unread true on notification receive
2011-01-31 15:09:01 -08:00
zhitomirskiyi
ac50a0119a
spec for not raising on already existant actor
2011-01-31 10:23:26 -08:00
zhitomirskiyi
cfef9a747e
all green
2011-01-30 20:10:34 -08:00
zhitomirskiyi
a4988a28b4
WIP
2011-01-30 10:00:03 -08:00
zhitomirskiyi
17dde3a7b9
farther along towards getting the specs to pass
2011-01-29 23:58:48 -08:00
zhitomirskiyi
17a2c9e311
moving over some code migration successful
2011-01-29 23:34:11 -08:00
zhitomirskiyi
9d4d0cecdb
wip
2011-01-28 22:39:29 -08:00
zhitomirskiyi
f48d7a0826
wip
2011-01-28 22:37:38 -08:00
Raphael
d545900759
Delete comments of a deleted person, until we implement tombstoning
2011-01-28 17:34:32 -08:00
zhitomirskiyi
9d091bbf6a
facebook invitations actually work
2011-01-28 17:22:18 -08:00
Raphael
605e70f095
Do application side join to retrieve contacts for fb finder, rather than n query
2011-01-28 16:26:52 -08:00
Raphael
2dfb9f9618
remove unused method
2011-01-28 15:18:22 -08:00
zhitomirskiyi
3b68fc3e9a
the friend finder is respecting of searchable
2011-01-28 13:45:58 -08:00
Raphael
ca76572eae
Include profile in services finder
2011-01-28 12:49:30 -08:00
maxwell
0913389698
fix the null person ID bug in profile
2011-01-27 13:44:37 -08:00
Raphael
a8306f9f37
don't select duplicate people
2011-01-27 13:41:22 -08:00
Raphael
31e4683183
Finished contacts of contacts for local users
2011-01-27 13:41:22 -08:00
zhitomirskiyi
01ce26cbf3
fixed errror on services inviter action, specs
2011-01-27 10:58:09 -08:00
maxwell
a705824b0c
make invites default to 5 again
2011-01-27 10:36:02 -08:00
Raphael
b67aca0ffc
Put in a lot of non nullable fields, edit the specs to match, drop a couple superfluous columns
2011-01-26 18:29:23 -08:00
zhitomirskiyi
a610618057
display resend link if already sent invitation in friend finder
2011-01-26 16:57:39 -08:00
zhitomirskiyi
9e22f4a6e6
checks if you already invited the person
2011-01-26 16:31:34 -08:00
zhitomirskiyi
1a911a8b99
translation of invitation message, better checking of existing users and unique index on user(invitation_service and invitation_identifier)
2011-01-26 16:01:57 -08:00
zhitomirskiyi
6242ac64ed
removed unique index on email to a regular index in order to make inviting users through fb work (no email present)
2011-01-26 15:04:46 -08:00
zhitomirskiyi
be57170bf9
added the empty email spec
2011-01-26 14:22:04 -08:00
zhitomirskiyi
8bc857cf4d
updated devise added a devise_invitable fork and performed migration
2011-01-26 13:46:50 -08:00
zhitomirskiyi
89a8817ce6
made service#invite redirect to the right place
2011-01-26 12:16:48 -08:00
zhitomirskiyi
3392f11b64
Job::InviteUser -> Job::InviteUserByEmail
2011-01-26 12:16:48 -08:00
zhitomirskiyi
5c5e450a1e
Invitation.new_or_existing_user_by_email -> Invitation.new_or_existing_user_by_service_and_identifier
2011-01-26 12:16:47 -08:00
zhitomirskiyi
d595a64169
new interface to send invitation WIP
2011-01-26 12:16:47 -08:00
zhitomirskiyi
b3467b5d17
pending specs for facebook inviter
2011-01-26 12:16:47 -08:00
zhitomirskiyi
cf45f31712
facebook friend finder is now contact-aware
2011-01-26 12:16:47 -08:00
zhitomirskiyi
d976bf0966
fixed bug in facebook service finder
2011-01-26 12:16:46 -08:00
zhitomirskiyi
f3f38cf4fd
fetch person object associated with facebook id in friend finder
2011-01-26 12:16:46 -08:00
zhitomirskiyi
8bc52cdb55
facebook friend finder gathers fb friends.
2011-01-26 12:16:46 -08:00
Raphael
f9fbb63ecb
Make 'not sharing' a button, eliminate xss in alert
2011-01-26 11:26:14 -08:00
Raphael
e4ad229a5a
Requestors are now high in search
2011-01-25 18:24:11 -08:00
Raphael
906cb36adf
Fix double notifications on comments, write a bunch of comment dispatch tests. Alliterate.
2011-01-25 16:46:51 -08:00
Raphael
5fe0613a97
Remove extra token from search
2011-01-25 10:47:11 -08:00
zhitomirskiyi
e9e01e965e
fixed error with comments saving twice on the same pod
2011-01-24 17:24:29 -08:00
maxwell
495154b2b5
Merge branch 'master' of github.com:diaspora/diaspora
2011-01-21 11:15:40 -08:00
zhitomirskiyi
190daa76dd
getting rid of gruff and it's imagemagic deps. made graphs on stats pending.
2011-01-21 11:11:58 -08:00
maxwell
4bff854a04
pass params to super
2011-01-21 11:11:00 -08:00