Jonne Haß
2f9dbdbd86
use self instead of AppConfig to query redis_url inside AppConfig
2012-09-18 15:52:57 +02:00
Florian Staudacher
8193978fd2
in 'standalone' mode, the close button is hidden
...
... publisher is embedded into something, that has its own close button
2012-09-17 20:46:33 +02:00
Florian Staudacher
452de1b866
fix remaining cukes and some cleanup
2012-09-17 20:35:38 +02:00
Florian Staudacher
200887ca45
adapt jasmine specs to the new structure
2012-09-17 15:33:52 +02:00
Jonne Haß
6c1a1ec6d2
it's enviroNment
2012-09-15 18:52:12 +02:00
Jonne Haß
4bada36bf1
do not redirect admin to his profile upon sign in
2012-09-14 15:01:19 +02:00
Jonne Haß
358ed79f99
Merge branch 'update_devise'
...
Conflicts:
Gemfile.lock
2012-09-12 15:11:34 +02:00
Jonne Haß
142e38e78b
update devise
2012-09-12 13:29:57 +02:00
Jonne Haß
58d1448085
update factory girl
2012-09-12 13:24:23 +02:00
Jonne Haß
7ec2f8f419
finish beta striping
...
A lot of cleanup is still needed, refactoring the CSS to be consistent, removing all sorts of unused stuff etc
2012-09-12 07:51:19 +02:00
Jonne Haß
ab0ad630df
strip last beta leftovers and fix syntax errors, travis is kinda down, lets hope nothing breaks while I sleep
2012-09-12 05:48:12 +02:00
Jonne Haß
088446e86e
bump rspec-rails, remove deprecated rspec syntax
2012-09-11 00:46:36 +02:00
Jonne Haß
8a759c3aca
Use Builder::XChar.encode instead of to_xs in spec
2012-09-07 00:09:43 +02:00
Jonne Haß
a488dd50c4
follow up of last commit fixing remaining specs
...
changed spec since it didn't actually test what it said
2012-09-06 22:11:04 +02:00
Jonne Haß
81442f0f2a
Erb::Util.h now escapes ' which it didn't before
...
this is what 3.2.8 actually fixes to prevent XSS iirc
We're including the raw message in the atom feed so
we should test for it
2012-09-06 21:12:49 +02:00
Jonne Haß
60e8107763
remove percent memory/swap usage info in testsuites
2012-09-06 20:36:56 +02:00
Florian Staudacher
2e3da0cf05
fix date and guid assignment for fetched posts
2012-09-06 18:16:40 +02:00
Florian Staudacher
99c6b8bf45
don't test for actually deleted likes,
...
instead check whether the `retract` method was called, everything
else should be tested there.
2012-09-05 23:48:23 +02:00
Maxwell Salzberg
e0408e6fae
dont auto beta flag anyone
2012-08-20 10:39:14 -07:00
Florian Staudacher
645fa76b20
make the "last post" link show ownly if the person has any posts
...
(fixes #3437 )
2012-08-09 15:12:22 +02:00
Florian Staudacher
1a94a24fde
fix autolinking links that start with just www... and not a complete http://...
...
(fixes #3468 )
2012-08-09 13:09:06 +02:00
Florian Staudacher
fb9da740bb
Merge pull request #3482 from Raven24/public-fetcher
...
first working version of a 'post fetcher' for remote accounts
2012-08-08 06:42:45 -07:00
Florian Staudacher
6613522097
implement "special symbols" (switch certain strings for utf-8 symbols), fixes #3140
2012-08-08 00:26:20 +02:00
Florian Staudacher
8d512c22ac
fix markdown linking of images, also improve tests grammatically
...
+ 1 js syntax error
2012-08-07 23:53:24 +02:00
Florian Staudacher
932fb186e3
fix failing bookmarklet specs (wait for js to finish)
2012-08-04 16:10:11 +02:00
Florian Staudacher
8f1204d05a
first working version of a 'post fetcher' for remote accounts
2012-08-04 13:22:03 +02:00
Florian Staudacher
c7f66ee647
add specs for #3464
2012-07-25 15:22:53 +02:00
Florian Staudacher
1809897aa2
should fix the mobile toggle for the case: desktop --to--> mobile #3299
...
also, (possibly) fix tablet issue #3421 , + tests
2012-07-04 01:47:55 +02:00
Maxwell Salzberg
190fceaf5c
[SECURITY FIX] please update your pod ASAP
...
This is a fix for public messages, where a malicious pod could spoof a message from someone a user was connected to, as the verified signatures were not checked that the object was also from said sender. This hole only affected public messages, and the private part of code had the correct checks
THX to s-f-s(Stephan Schulz) for reporting and tracking down this issue, and props to Raven24(florian.staudacher@gmx.at ) for helping me test the patch
2012-07-02 10:00:12 -07:00
Jonne Haß
8434b25e56
do not bypass pluralization in test
2012-06-24 13:03:22 +02:00
Steven Hancock
ee6941fa18
Get Spork running again
...
Use Rails.root.join in `spec/spec_helper.rb` to help Spork find
`helper_methods.rb` and `spec_doc.rb`.
2012-06-14 00:53:10 -07:00
Steven Hancock
a8de3a5a3f
Rails.root and File.join cleanup
...
- `Rails.root` is a `Pathname`, so let's use `Rails.root.join`
- Clean up most of the remaining `File.join`s
2012-06-11 03:13:20 -07:00
Florian Staudacher
e021fd821d
Merge pull request #3362 from diaspora/non-public-error-page
...
show a "post is not public" message when visitor is not logged in
2012-06-11 02:35:48 -07:00
Zach Prezkuta
9f6d84141c
fix incorrect comment on RSpec text
2012-06-09 09:34:06 -06:00
Zach Prezkuta
44e43158cc
add rspec test and make fix more rails-y
2012-06-08 22:51:16 -06:00
Florian Staudacher
8ca39f5936
show a "post is not public" message when visitor is not logged in
...
and tries to access a show page of a non-public post
2012-06-07 22:16:37 +02:00
Maxwell Salzberg
1da029a22f
this stopped working because there is a new way to render views by default in spec_helper.rb
2012-06-04 12:49:24 -07:00
Maxwell Salzberg
304c33f19e
explicitly render_views in publics controller
2012-06-04 12:49:24 -07:00
danielgrippi
a836b06d3e
mixpanel on posting
2012-05-30 17:32:18 -07:00
Dennis Collinson
a9288daf19
refactor stream page scroll spy
2012-05-30 16:58:21 -07:00
danielgrippi
d8470d303a
simple mixtracking
2012-05-30 15:25:19 -07:00
Maxwell Salzberg
6dba7fe9a9
fix case sensitivity
2012-05-30 12:44:39 -07:00
Maxwell Salzberg
82c4e0d577
add a podname app config var, and use it throughout the app
2012-05-30 12:11:59 -07:00
Steven Hancock
99a2865e23
Make hashtags clickable in emails
...
Refactor the Redcarpet renderer created in c2bc7272f to parse hashtags
into clickable links (for HTML emails only).
2012-05-29 10:01:58 -07:00
Steven Hancock
c2bc7272fb
Escape hashtags in emails
...
Custom Redcarpet renderer to escape hashtags (but not legitimate headers)
in emails before Markdown processing. Prevents hashtags from being rendered
as H1 headers. This also leaves open the possibility of parsing hashtags
into clickable links in the future.
fixes #3325
2012-05-28 21:31:27 -07:00
Dan Hansen
d334097ee2
bugmash #3
...
persist unsaved comment value after expanding comments
2012-05-24 19:08:43 -07:00
Florian Staudacher
f19f6110b1
match tag arrays by what they actually contain, not by order
2012-05-24 22:18:10 +02:00
Dennis Collinson
c4240154b1
back to profile works
2012-05-24 12:43:06 -07:00
danielgrippi
58ac040f8f
clicking a permalink on the new stream does not make an HTTP request to go to the post's page
2012-05-24 12:05:27 -07:00
danielgrippi
3e09d4ed14
Revert "don't seed beta users with default aspects"
...
This reverts commit 946f78b025 .
2012-05-24 11:42:52 -07:00
Dennis Collinson
f3174941bd
fix the "has no posts" on back bug.
2012-05-24 11:40:27 -07:00
danielgrippi
946f78b025
don't seed beta users with default aspects
2012-05-24 11:37:34 -07:00
Maxwell Salzberg
bed07872f2
composer now prevents you from submitting an empty frame.
2012-05-24 11:36:43 -07:00
Maxwell Salzberg
d270910500
set the submit button to be disabled on the framer, and write a test
2012-05-24 11:36:43 -07:00
Maxwell Salzberg
82218fd7cb
new stream now remembers how far you have scrolled.
...
also, jasmine is really cool.
2012-05-23 17:25:40 -07:00
Maxwell Salzberg
92c0fa0163
backfill some stream.js specs
2012-05-23 17:25:40 -07:00
danielgrippi
5d2ea71766
added EditbaleSmallFrame class; frame on framer second step is partially editable
2012-05-23 17:07:41 -07:00
Dan Hansen
cf847d61ba
bug mash #5
...
fix NoMethodError on InvitationsController
2012-05-23 13:05:01 -07:00
danielgrippi
0e1c66f5b6
DG MS; only show applicable frames in the framer step
2012-05-23 12:59:27 -07:00
danielgrippi
92cbcae9c3
DG MS; moved framer controls into a subview & off to the side
2012-05-23 12:16:35 -07:00
danielgrippi
120c6b46e0
MS; Fix fake following, as we took it out so I nuked the tests
2012-05-22 19:04:04 -07:00
Dennis Collinson
1c342282b0
fixing event passing
2012-05-22 15:11:21 -07:00
Dennis Collinson
36ef010ed9
DG DC MS; stream has one interactions div
2012-05-22 12:38:48 -07:00
danielgrippi
64a73fb665
new post types. remove old ones. yeah.
2012-05-21 18:45:01 -07:00
Dennis Collinson
10201f2e40
more work on new stream interactions, hella refactorz.
2012-05-21 17:15:10 -07:00
Dennis Collinson
fe0156a18b
cuking out new stream, refactors.
2012-05-21 15:14:23 -07:00
danielgrippi
777c037e16
kill rich-media type with fire
2012-05-21 12:33:28 -07:00
Florian Staudacher
d815cf5d82
take acts-as-taggable-on gem from git, solve tag case-sensitivity
2012-05-21 17:20:04 +02:00
Maxwell Salzberg
e007b39f0d
make newhere test less dumb [ci skip]
2012-05-20 23:42:40 -07:00
danielgrippi
f4c06c8f88
add rounded buttons to the composer flow; slay multi-photo option
2012-05-18 19:46:51 -07:00
danielgrippi
62ba75ad1b
DG DC; Move stuff to second page of framer
2012-05-17 19:02:58 -07:00
Maxwell Salzberg
64dae868fe
fix some tests around pubsubhubub
2012-05-17 18:23:40 -07:00
Maxwell Salzberg
af1109dcf7
remove a couple more stray files we dont use anymore, and remove rest-client
2012-05-17 18:23:39 -07:00
Florian Staudacher
788f328a77
resolve reshare root posts to the first one
2012-05-18 01:45:41 +02:00
Dennis Collinson
00f1adc8b2
Going back to the composer from the framer is happy via button
2012-05-17 15:32:35 -07:00
Florian Staudacher
fd5aedeb01
updated webmock, hopefully fix cucumber
2012-05-18 00:21:04 +02:00
Maxwell Salzberg
471ce309ea
kill your darlings; remove diaspora_client with fire
2012-05-17 14:55:53 -07:00
Maxwell Salzberg
69d81951a5
wip
2012-05-17 14:55:22 -07:00
danielgrippi
c8aa67360b
backfill some tests; jasmine green
2012-05-17 13:31:40 -07:00
danielgrippi
ed6785d7cb
don't use an iframe for the composer anymore. yayyyyy
2012-05-16 18:55:25 -07: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
Maxwell Salzberg
ab2e740ca2
upgrade to Rails 3.2.3
2012-05-14 21:53:16 -07:00
Dennis Collinson
a90968ea2d
basic experimental stream
2012-05-14 17:57:02 -07:00
Maxwell Salzberg
06f389231a
kill services users with fire. we need this feature, but we need to just start from scratch because this is redonkalonk
2012-05-14 16:25:19 -07:00
Maxwell Salzberg
7a256d7810
window.preloads is always set to at least a empty json object
2012-05-14 16:24:55 -07:00
Dennis Collinson
f6e3c1b88b
seperate interactions from posts
...
Lazily load post interactions on show page
hella refactorz
2012-05-12 17:41:58 -07:00
Jonne Haß
7a6d325f64
looks like there are sometimes objects passed into post presenter that respond to root while root is nil
2012-05-11 14:23:05 +02:00
Dennis Collinson
51b1ade3bc
DC DG; added LastThreeComments decorator so we don't have to load those comments when not needed (i.e. new profile pages)
2012-05-10 13:53:00 -07:00
Dennis Collinson
efa79a4ad7
Refactor Post Presenter
...
and comment presenter
2012-05-10 12:24:21 -07:00
Maxwell Salzberg
eaedfc9827
create a new publisher using the new composer. only for beta users
2012-05-09 16:55:33 -07:00
Florian Staudacher
b1dac3e216
don't test for opacity but for the selector
2012-05-09 22:16:40 +02:00
Florian Staudacher
0aa845f87e
hopefully fix another weirdly fluctuating test failure
2012-05-09 21:25:06 +02:00
danielgrippi
0ec364e44c
DG MS; popup on services, inlined in the composer
2012-05-08 18:09:33 -07:00
Steven Hancock
605b418d42
Reshares delegate nsfw to the root post
...
fixes #3120
2012-05-08 03:20:01 -07:00
Maxwell Salzberg
3e78dd702b
be really pedantic about the stupid service selector spec
2012-05-07 19:28:14 -07:00
Dennis Collinson
d1d99d5dd4
Jamie Cai DC refactor isOwnProfile, fix tests
2012-05-07 17:53:37 -07:00
Dennis Collinson
1c135b61fd
Jamie Cai DC message in profile when user has no posts
2012-05-07 15:56:30 -07:00
Maxwell Salzberg
7d0f79c29b
fix pg rspec
2012-05-07 15:43:53 -07:00
danielgrippi
c31413e73c
green build = happy dan
2012-05-07 14:30:30 -07:00
danielgrippi
01d5c0473a
DG MS; don't redirect to legacy getting started if you're a beta user
2012-05-07 12:05:36 -07:00
danielgrippi
92230383a7
added controller test; put wallpaper into separate wallpaper/ directory
2012-05-06 12:35:11 -07:00
Dennis Collinson
bd6a9cfe00
next and previous now return post as json
...
clean up controller
2012-05-05 16:41:16 -07:00
Maxwell Salzberg
e79d78302e
when a user is invited from a beta user, they are also beta
2012-05-04 17:38:08 -07:00
Dennis Collinson
6fcba2dd4b
preload javascript vars using gon
2012-05-04 15:17:32 -07:00
Maxwell Salzberg
273470e6ed
include url in all twitter posts
...
also fix a homecontroller spec
2012-05-03 20:07:56 -07:00
danielgrippi
a52d8f221a
don't post to feed; post to joindiaspora OG tag. also, whoever has the diaspora OG tag, can i haz?
2012-05-03 00:02:00 -07:00
danielgrippi
8cecedc53b
TIMELINE TIME.
2012-05-02 23:28:56 -07:00
danielgrippi
1b6c33aff5
show a user's full profile info if she's on her own page. duh.
2012-04-28 17:41:22 -07:00
danielgrippi
d5f511c325
hitting profiles.json publically displays only public stuff; if you're connected to a user, it shows that user's complete profile response
2012-04-28 17:05:25 -07:00
danielgrippi
c3b0bbd425
show new profile pages for those who have it activated
2012-04-28 16:06:36 -07:00
danielgrippi
bbd4ee5738
correctly redirect for beta and admin users (profile vs stream homepages)
2012-04-28 15:09:02 -07:00
danielgrippi
52efb3710c
show a follow button for users with pre-existing contacts (legacy beta testers)
2012-04-28 14:13:43 -07:00
danielgrippi
699b0cff16
don't expose follow/unfollow to a user in the UI
...
following is good for bookkeeping in the database, but provides confusion, and could limit likes and/or commenting to start receiving notifications in a conversation.
2012-04-28 11:07:18 -07:00
Jonne Haß
008ed32e9e
unambigousify community spotlight query in the multi stream, fix #3196
2012-04-28 12:28:07 +02:00
danielgrippi
7f4af0359f
add bootstrap tooltips for great justice (and clarity) [ci skip]
2012-04-27 20:45:26 -07:00
danielgrippi
889b86f9cb
implicitly expand / contract a post by clicking on it. use the permalink icon to go to the show page. (user tested, mother approved)
2012-04-27 19:38:06 -07:00
Maxwell Salzberg
592a3f99b5
Role system to replace the yml admins and community spotlight. we can
...
also now add a beta role
2012-04-27 16:14:43 -07:00
danielgrippi
562e6641e1
fix jasmine
2012-04-27 16:02:44 -07:00
Jonne Haß
9cb803831f
improve webfinger failure handling
...
* do not raise if profile xrd isn't found
* error out on a ssl error rather than on the unexpected nil value later
* be more verbose about failed xrd fetches
2012-04-27 16:53:26 +02:00
danielgrippi
c9d0879d3d
fav by clicking on something yeahhhh
2012-04-26 18:39:43 -07:00
Maxwell Salzberg
2b3bc5a0f0
fix profile json birthday response with some tests.
2012-04-26 16:00:23 -07:00
Jonne Haß
2357d9b0f1
update xrd fixture to include namespace and remove namespace before trying to set fields in webfinger profile
2012-04-27 00:05:28 +02:00
Dennis Collinson
c3c3d57d69
huge basketball shorts
2012-04-25 16:59:06 -07:00
Maxwell Salzberg
d22a98cd96
monkey patch to_xs for ruby 1.8, and fix a test as a result
2012-04-25 11:38:42 -07:00
Dennis Collinson
7346921473
MS DC; you can now kill a post on your profile.
2012-04-24 20:46:09 -07:00
danielgrippi
9853197063
only show edit and new post controls if you're on your profile page
2012-04-24 19:24:45 -07:00
danielgrippi
570de98365
animate isotope! and inject image height in relation to ratio for quicker organization. [ci skip]
2012-04-24 16:38:17 -07:00
Dennis Collinson
8149648e5b
MS DC; youtube videos now display thumbnail, and sound cloud embeds are not total train wrecks;
2012-04-24 16:18:00 -07:00
Dennis Collinson
8cca2f028b
extract oembed view to seperate view
2012-04-24 15:38:38 -07:00
danielgrippi
91ebff75dd
added tests and stuff for own profile checking... for some reason something isn't getting triggered properly in the presenter call, though :(
2012-04-24 01:04:49 -07:00
danielgrippi
84bd1fb1fc
return the person json response for profiles to get a correctly formatted name and expected avatar response; fix a jasmine spec around redirection
2012-04-23 23:31:39 -07:00
danielgrippi
dbe3b48aee
now you can click on an entire post to favorite / unfav it. yay. [ci skip]
2012-04-23 23:04:53 -07:00
Dennis Collinson
e8cfe01c8a
reLayouts when something is favorited, whoa
2012-04-23 12:35:13 -07:00
Dennis Collinson
afc26c684b
DC MS infinite scroll with isotope on new profile page. boom!
2012-04-22 16:46:39 -07:00
danielgrippi
75d25e9475
users can now favorite posts
2012-04-22 12:06:15 -07:00
danielgrippi
ab7ac667d8
only focus on photos for now with ratios. one thing at a time, yo.
...
i've temporarily removed all the arbitrary text switching for now (which is still in version control // which we will get to later)
also moved photo dimensions into a dimensions hash in photo.rb.
2012-04-21 20:42:50 -07:00
Dennis Collinson
ca33070b9e
loader is background image of span
...
fix tests
2012-04-21 15:21:52 -07:00
danielgrippi
aa4c554177
DG MS; added photos and more styling to the canvas view.
2012-04-21 13:12:57 -07:00
danielgrippi
32d8cfd48d
MS DG; basic style enumeration for profile
2012-04-21 13:12:57 -07:00
Dennis Collinson
f46dd08cb5
canvas view is infinite stream
2012-04-21 13:12:57 -07:00
Dennis Collinson
062de4c269
MDC DC New Profile shows users info
...
Profile show json
Profile backbone model
2012-04-21 13:12:56 -07:00
danielgrippi
f62b9f9698
wip.
2012-04-21 13:12:56 -07:00
Maxwell Salzberg
63a0a37171
width and height should now federate
2012-04-20 12:53:02 -07:00
Maxwell Salzberg
1b2440f68a
we now store image height and width locally; still need to federate the values
2012-04-20 12:22:12 -07:00
Maxwell Salzberg
6d7f6129fe
remove puts in spec [ci skip]
2012-04-19 17:47:32 -07:00
Dennis Collinson
7f3c4c209e
fix post spec
2012-04-19 14:37:46 -07:00
Dennis Collinson
f7d320b622
MS DG; checkboxes are togglable, with tested css magick
2012-04-19 14:05:55 -07:00
Dennis Collinson
8386179f16
max, you're a princess, WIP
2012-04-19 11:15:59 -07:00
danielgrippi
e379a6df0f
Merge branch 'master' into stream-for-photos
...
Conflicts:
app/assets/javascripts/app/views/stream_view.js
2012-04-18 18:30:54 -07:00