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
Sarah Mei
2255e80b69
So. It turns out that postgresql has a less-consistent idea of what .first means in an association with no default ordering. All the places we were doing bob.aspects.first (& etc.) needed to be more specific. & o ya, POSTGRES IS GREEN.
2011-08-29 22:03:05 -07:00
Zach Prezkuta
3f5dd7e5b1
Issue #1811 : Share button missing in mobile version
2011-08-29 22:30:14 -06:00
Maxwell Salzberg
224b59322b
remove console.log in spec
2011-08-29 19:16:41 -07:00
Maxwell Salzberg
3bde507a3a
DC MS fix crazy status.net linkback accept header
2011-08-29 18:44:31 -07:00
Andrej Kacian
36e32ba497
Update jasmine tests for the stream element widget.
2011-08-30 01:46:39 +02:00
danielgrippi
bd77560636
cucumber green in postgres (i think?). touched up aspect spec.
2011-08-29 15:53:47 -07:00
Maxwell Salzberg
f479a9a144
Merge branch 'brianwisti-1305-full-markdown'
2011-08-29 10:56:48 -07:00
danielgrippi
b7f9400a9f
Moved post/comment text collapsing into respective widgets; removed from stream.js. Removed an unused function in stream.js (image hotlinking).
2011-08-28 22:04:06 -07:00
Sarah Mei
b60101b9ad
Use explicit parameters instead of request format to determine whether we render a remote or non-remote form in aspects#new.
...
Facebox needs to get back a text/html response. We were using text/javascript to indicate that we wanted a remote form and text/html to indicate we wanted a non-remote form. The trouble is, if we request with text/javascript then that is the format we get back. It doesn't really make sense to use formats that way anyway, so I changed it to an explicit parameter. This had the nice side effect of simplifying our new-aspect views.
2011-08-28 16:08:57 -07:00
danielgrippi
802dd989a8
remove javascript in lieu of css; feature is still failing
2011-08-27 22:04:30 -07:00
Maxwell Salzberg
c66b7d584d
Merge branch '1305-full-markdown' of https://github.com/brianwisti/diaspora into brianwisti-1305-full-markdown
...
Conflicts:
Gemfile.lock
2011-08-27 14:13:15 -07:00
Gonzalo Rodriguez
cc1add81b0
Avoid RecordNotFound exception thrown by find method when invalid person_id
2011-08-27 02:45:58 -03:00
Dan Hansen
27d4fd8176
fix retractions, fix likes, backfill likes widget tests, remove typo from jasmine.yml, remove unneeded js files
...
require confirmation for comments in js, get rid of rails helper
2011-08-26 15:24:07 -05:00
Dan Hansen
d75ef8d020
made backtotop a widget, added jquery-debounce
2011-08-26 12:30:28 -05:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
8c9a585337
reshares now have notifications, slight refactor of the notification helper
2011-08-25 17:16:09 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
e45278a043
notification for reshares WIP
2011-08-25 17:16:09 -07:00
Gonzalo Rodríguez
31733e1f9f
Merge pull request #1686 from grzuy/1486-invalid-birthday-crash
...
Fix #1486 profile update was crashing with invalid birthday date
2011-08-25 16:40:57 -07:00
Maxwell Salzberg
bcae8a1952
chubbies needs its own way of assigning a current user
2011-08-23 17:16:15 -07:00
Raphael Sofaer
a63d1ad4ae
Sign out the signed in user if a different uid is passed to AuthorizationsController#new
2011-08-23 16:37:50 -07:00
Raphael Sofaer
6b88a75174
Log out a user if they arrive at AuthorizationsController#new carrying the username of a different user
2011-08-23 16:37:50 -07:00
Raphael Sofaer
c95f80be42
Re-nullify chubbies output and correctly handle diaspora_id param in create_account
2011-08-23 16:37:50 -07:00
Raphael Sofaer
76b0f31020
Fix the chubbies icon_url field, that needs to be icon path or be a url
2011-08-23 16:37:50 -07:00
danielgrippi
a7d9bbed84
wip
2011-08-23 16:37:50 -07:00
danielgrippi
27049e52b5
connect logic
2011-08-23 16:37:50 -07:00
Dan Hansen
6b040c7b4a
clean up websocket receiver, add specs to content updater
2011-08-22 20:03:38 -05:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
7fd7fa968c
fixed the email from header issues and backfilled few tests
2011-08-22 17:38:40 -07:00
Andrej Kacian
59ba3f85e6
Moved live() bindings for post hide icon from Stream.initialize to Stream.initializeLives
2011-08-22 20:18:02 +02:00
Andrej Kacian
9fd4432e5a
Fix a jasmine test in CommentToggler
2011-08-22 20:05:18 +02:00
Dan Hansen
4a64a172d1
Merge branch 'master' of github.com:diaspora/diaspora into js-refactor-merged
...
Conflicts:
spec/javascripts/stream-spec.js
2011-08-21 20:57:01 -05:00
Dan Hansen
545611fffa
green?
2011-08-21 20:45:51 -05:00
Sarah Mei
163ac103cd
Haven't figured out why reset password email body is blank, but I pulled it into a controller test so we can figure it out there instead of in a cucumber feature.
2011-08-21 16:45:53 -07:00
Andrej Kacian
395df041db
Made toggleComments jasmine test aware that there are more posts in the fixture
2011-08-22 00:38:34 +02:00
Andrej Kacian
2a52face12
Add jasmine test for ajax spinner display
2011-08-22 00:38:34 +02:00
Dan Hansen
3ed50cab94
Merge branch 'master' of github.com:diaspora/diaspora into js-refactor-merged
...
Conflicts:
app/views/status_messages/bookmarklet.html.haml
config/assets.yml
db/schema.rb
public/javascripts/contact-edit.js
public/javascripts/publisher.js
public/javascripts/view.js
2011-08-20 14:40:56 -05:00
Gonzalo Rodriguez
ceedbb14cb
Closes #1486 . Profile update was crashing with invalid birthday date
2011-08-20 00:34:59 -03:00
Gonzalo Rodriguez
234af2a15b
Fixing some tests that weren't testing correctly
...
These assertions were always returning true even if you dont populate
the flash, because nil.should_not be_empty returns true
2011-08-19 23:57:33 -03:00
Raphael Sofaer
a74080e27d
Fix ServicesController spec
2011-08-19 16:52:26 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
834c75894c
jasmine is green again
2011-08-19 14:42:28 -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
Raphael Sofaer
60e9fd54e2
Fix a problem with re-saving deleted objects in a spec in postgres, add postgres to test group in gemfile
2011-08-18 16:05:14 -07:00
Raphael Sofaer
31584eed84
It turns out find_for_database_authentication calls find_for_authentication, not the other way around.
2011-08-18 16:05:14 -07:00
Raphael Sofaer
c7331230bc
Revert "Revert "Revert "remove uploaded test images after running the specs/cucumber"" -- using == now instead of ="
...
This reverts commit b11bd23da2 .
2011-08-18 12:06:04 -07:00
danielgrippi
b11bd23da2
Revert "Revert "remove uploaded test images after running the specs/cucumber"" -- using == now instead of =
...
This reverts commit 7969b52035 .
2011-08-18 11:20:49 -07:00
danielgrippi
7969b52035
Revert "remove uploaded test images after running the specs/cucumber"
...
This reverts commit a6eb275c7a .
2011-08-18 11:11:08 -07:00
danielgrippi
a6eb275c7a
remove uploaded test images after running the specs/cucumber
2011-08-18 11:08:57 -07:00
Gonzalo Rodriguez
2d54d9a97e
Validate presence of message text on conversations. Closes #1329 .
2011-08-17 23:52:31 -03: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
danielgrippi
bf0eb3dac3
4 failures left in postgres
2011-08-17 14:18:51 -07:00
Raphael Sofaer
88b317f0c1
Fix jasmine spec for aspectFilters
2011-08-17 10:17:14 -07:00
Brian Wisti
b87c7bb489
Improve code block support
2011-08-16 21:48:48 -07:00
Brian Wisti
03127cd592
basic support for Redcarpet Markdown
2011-08-16 21:48:48 -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
Gonzalo Rodriguez
2326206586
Refactor conversations creation
2011-08-12 23:07:01 -03:00
Raphael Sofaer
565d71a0cd
Bad solution for making sure that an invited facebook user is marked immediately as having been invited
2011-08-12 17:32:52 -07:00
danielgrippi
7b85dcec9c
dg rs; seed bob with facebook friends & fixed invitation view
2011-08-12 17:05:00 -07:00
Raphael Sofaer
8b743e7e3b
Fix stack level too deep error on reshares
2011-08-12 13:20:25 -07:00
Raphael Sofaer
cd640e1ac6
Pending spec for statusnet linkback plugin
2011-08-12 10:37:24 -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
9a77d3518f
Mobile authorizations index view
2011-08-11 16:39:39 -07:00
Raphael Sofaer
7f69714d08
Fix paul.elicker link, refactor people_helper
2011-08-11 16:26:14 -07:00
danielgrippi
08f12ee348
fixed the 'a post' bug in notification emails
2011-08-11 14:40:45 -07:00
Raphael Sofaer
7021cd79c8
Select distinct people in contacts index
2011-08-11 11:56:23 -07:00
Dan Hansen
2e9040e227
merged with master, 7 cukes failing. jasmine is green. need to remove rails.js helpers so things suck less
2011-08-10 23:57:33 -07:00
danielgrippi
db645e8da8
merged publics/show and posts/show
2011-08-10 18:07:38 -07:00
Raphael Sofaer
90a5cd2254
Get rid of error on aspect_memberships destroy if someone has noscript on or something
2011-08-10 17:40:38 -07:00
Raphael Sofaer
8086b9a9d4
Eliminate 500 errors on also_commented emails, the copy there is terrible
2011-08-10 16:58:35 -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
Raphael Sofaer
3431cd94fb
Make resque job specs specific about what error should be raised; fix expectation on hoptoad notifier
2011-08-10 16:36:42 -07:00
Raphael Sofaer
3658481c38
Fix errors when trying to mail comment notifications to post authors on posts other than status messages
2011-08-10 15:40:32 -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
Andrej Kacian
a904b59a03
Add rspec test for correct behavior of /u/nonexistentuser URL
2011-08-10 22:25:35 +02:00
Raphael Sofaer
1df654d416
Send a correct backtrace and some other nice things to airbrake on resque errors
2011-08-10 11:10:13 -07:00
danielgrippi
aa3d626ada
validate instead of throwing a db error
2011-08-10 10:38:28 -07:00
Maxwell Salzberg
8df5ba0c77
remove stray puts
2011-08-10 10:32:44 -07:00
Maxwell Salzberg
2d6a69cdc8
fix for 500s in liked emails for reshares and activity streams photos
2011-08-10 10:25:43 -07:00
Sarah Mei
0b02653f44
Merge pull request #1694 from ticho/tag-list-has-unfollow-icon
...
Add a "unfollow" icon to each tag in followed tags listing
2011-08-09 21:44:21 -07:00
Maxwell Salzberg
4fb4f71169
prevent duplicate services from being created
2011-08-09 19:01:38 -07:00
Raphael Sofaer
333081f8b1
Fix resque job logging spec
2011-08-09 17:05:34 -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
f8e53bfba5
Fix a user's atom feed route from a cell phone.
2011-08-09 16:20:27 -07:00
Raphael Sofaer
87ffce4f64
Get hoptoad notifications working from resque
2011-08-09 16:04:23 -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
Andrej Kacian
bddd7c717b
Write jasmine test for the tag unfollow icon visibility
2011-08-09 22:54:31 +02:00
Maxwell Salzberg
e9d993b8f6
throw 404s when the person is no found
2011-08-09 13:03:45 -07:00
Raphael Sofaer
69619f9ba2
Rescue from duplicate key errors in AspectMembershipsController
2011-08-09 12:50:24 -07:00
Raphael Sofaer
7f5f696642
Don't let googlebot 500 us on the public post page
2011-08-09 12:26:10 -07:00
danielgrippi
a78fa96e99
don't display a reshare link if the original post has been deleted
2011-08-09 10:26:21 -07:00
Andrej Kacian
e5b6850556
Fix the test
2011-08-07 00:44:37 +02:00
Andrej Kacian
6cf42fb8ba
Better stab at the jasmine test.
2011-08-06 23:37:21 +02:00