Benjamin Neff
f913128967
don't add public shareables to aspect_visibilities
2016-03-04 20:13:52 +01:00
Steffen van Bergerem
89f21e87f8
Remove unused code
2016-02-14 02:48:51 +01:00
Jonne Haß
0508c1b8d4
Merge branch 'stable' into develop
2015-09-14 22:06:52 +02:00
Steffen van Bergerem
05a6d95811
Always show public photos
...
closes #6398
2015-09-14 22:04:53 +02:00
Dennis Schubert
04135d7b28
Merge branch 'stable' into develop
2015-07-27 02:05:14 +02:00
Steffen van Bergerem
6fea450777
Fix mobile photos index page
...
closes #6243
2015-07-27 01:59:26 +02:00
cmrd Senya
7a5a0a909a
Allow extended profile fields (previously private profile) to be set public ( #5684 ).
...
This adds a new boolean field "public_details" to person model.
By default it is false and represents old behaviour. When it is
set to true, extended profile (bio,location,gender,birthday)
get available to people who didn't log into diaspora and to
people you don't share with (i.e. it is made public).
In UI, a bootstrap-switch added on the profile-edit page in order to
change the setting.
This also changes wording from public/private profile to basic/extended.
The latter could be public and limited.
2015-07-11 04:36:45 +03:00
Steffen van Bergerem
176938c486
Fix layout regression: missing header on search page
2015-03-28 13:54:52 +01:00
Steffen van Bergerem
3a202d8fa9
Remove footer from stream and profile pages
2015-03-26 16:28:01 +01:00
Steffen van Bergerem
d9bf4a2fa6
Remove layout 'centered_with_header_with_footer'
2015-03-18 21:59:56 +01:00
Steffen van Bergerem
d2222a97e5
Fix photo count in the profile view
2015-03-10 11:38:49 +01:00
Steffen van Bergerem
e188782a9a
Remove blueprint code
2015-03-02 00:04:57 +01:00
Steffen van Bergerem
976ff0fcda
Redesign profile page and port to Bootstrap
2014-10-01 12:28:56 +02:00
Jonne Haß
42b08e8ab8
Update to Rails 4.1
2014-08-25 17:37:02 +02:00
Niall Paterson
f33038f105
updated before_filters to before_actions as recommended for rails 4
2014-08-23 16:34:01 +02:00
Hincu Petru
e0b23b2dc4
Fixed #4726 infinite photo stream
2014-03-12 22:22:24 +00:00
Jonne Haß
f9a3990562
do not leak photos through photos#show
2013-08-26 09:39:39 +02:00
Jonne Haß
554d0a93d0
Do not leak photos in the profile sidebar
2013-08-20 20:56:37 +02:00
mokus
8df8855ac0
remove the limit 3 for @photos in photo controller
2013-08-19 12:49:38 +02:00
carolina
9a5691c46a
Add to leftsidebar link to photos index + thumbnails from last 3 photos
2013-08-19 12:39:51 +02:00
James Fleming
d6ba6d1b02
Use strong params in photos_controller
...
Add specs to check mass-assignment gotchas in PhotosController.
2013-08-02 11:39:05 +02:00
Tamas Laszlo Fabian
175908e079
Return 404 for nonexistent photo on mobiles
2013-06-24 15:23:57 +02:00
Braulio Martinez
00a3332013
Remove unnecessary ruby187 hacks
2013-05-02 10:07:30 -03:00
Fabián Rodríguez
7472642bd1
Refactor:
...
*people_controller#show
*photos_controller#index
*views/people/show both html and mobile
2013-02-23 22:36:03 -02:00
Jonne Haß
e70e48d6ca
some refactoring regarding the law of demeter
2012-09-23 19:33:19 +02:00
Dennis Collinson
426f0278f9
DG DC uploading a photo shows up in the stream
2012-03-27 14:52:51 -07:00
Dennis Collinson
1ec2b73d59
DG DC remotipartjarvascripts
2012-03-27 14:52:51 -07:00
danielgrippi
6dce04d2f5
callbax, yo
2012-03-27 14:52:51 -07:00
Dennis Collinson
37bf5c5aee
REMOTIPART WIP
2012-03-27 14:52:51 -07:00
Dennis Collinson
9769dfb303
cukes passing
2012-02-23 17:24:19 -08:00
Florian Staudacher
082d5c9fd4
initial photo page functionality is back, featuring backbone and handlebars
2012-02-09 20:55:34 +01:00
Jonne Haß
e1658f8d8b
switch PhotosController#index over to guid, fix #2729
2012-01-25 12:45:02 +01:00
Sarah Mei
ad27eaac3d
Fix photo#show for non-logged-in user
2011-11-19 21:17:39 -08:00
Jonne Hass
b3142ac208
redirect to sign in page from photo#show on a private photo when user isn't signed in
2011-11-10 22:44:12 +01:00
Jonne Hass
10fa7ba024
fixed 500 on photos#show for private photos and logged out user
2011-11-10 19:31:00 +01:00
Pistos
14842c1b43
Merge remote-tracking branch 'johnedmonds/issue1144'
2011-11-06 22:21:53 -05:00
Sarah Mei
f9a9654c86
Allow non-logged-in users to see public photos
2011-11-03 22:07:48 -07:00
John Edmonds
b482d16622
Merge branch 'master' into issue1144
2011-10-22 14:39:03 -04:00
Manuel Schölling
bdeae54c6c
Make Photos not inherit from Posts
2011-10-16 13:58:35 +02:00
John Edmonds
8d0f6699ae
Move photo upload logic to file_handler.
2011-09-29 21:49:58 -04:00
John Edmonds
b999617dde
Respond with HTML for Opera.
...
If we don't respond with the content-type text/html, rails will return a 406 Not Acceptable.
2011-09-25 12:01:44 -04:00
John Edmonds
5f906defc8
Directly use UploadedFile object if available.
...
Opera doesn't support XHR file uploads and instead submits a regular form.
Thus, we are provided with an UploadedFile object which can be used instead of creating our own compatible object.
2011-09-25 11:51:13 -04:00
danielgrippi
91e649977c
MS DG update copyright
2011-09-14 11:23:12 -07:00
The Lambda Calculus
f8f1ef3f91
Refactored code so that the controller got thinner while the model become fatter [Finishes #1126 ]
2011-09-13 03:04:22 -04: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
Raphael Sofaer
38a8962945
Fix 500 on photo destroy
2011-08-12 15:58:42 -07:00
Raphael Sofaer
caf26a5c64
Upgrade rails.js, add CSRF token manually in the photo uploader.
2011-07-21 17:49:33 -07:00
Raphael Sofaer
af6547815e
Some view helper cleanup
2011-07-04 07:36:01 -07:00