Jason Robinson
831af6507d
Merge pull request #5006 from taratatach/4940-mention-notification-not-marked-as-read-when-viewing-post
...
Set mention notification as read when viewing post
2014-06-27 10:17:01 +03:00
Erwan Guyader
f92dd85748
Set sharing notification as read
...
Fix issue #4951
If the displayed user (on her profile) started sharing with the
current user, mark the notification as read
2014-06-20 10:55:17 +02:00
Erwan Guyader
126252d47a
Add test for mention notifications
2014-06-20 01:23:53 +02:00
Lukas Matt
218845d5b4
Changed and renamed database columns
...
* changed user_id type to integer
* renamed post_id to item_id
* renamed post_type to item_type
2014-05-15 07:23:44 -04:00
Lukas Matt
8b8a232b17
Added diaspora copyright
2014-05-15 07:23:43 -04:00
Lukas Matt
ed9cd81504
Fixed put request for Report controller
2014-05-15 07:23:43 -04:00
Lukas Matt
1748d3b940
It is now possible to report comments
...
* Renamed PostReport to Report
* Added report button to SPV
* Updated rspec
refs diaspora/diaspora#4732
refs diaspora/diaspora#4710
refs diaspora/diaspora#4711
refs diaspora/diaspora#4517
2014-05-15 07:23:43 -04:00
Florian Staudacher
0d51bba959
port bookmarklet to Backbone.js, use gon for params ( fixes #4931 )
2014-04-19 17:41:21 +02:00
Hincu Petru
2311b761e1
Redirect to stream_path if is destkop
2014-04-08 09:34:14 +00:00
Steffen van Bergerem
eabdc7390c
Port aspect membership dropdown and hovercards
2014-03-19 17:54:22 +01:00
Steffen van Bergerem
f217a5bc11
Add filters to notifications controller
2014-03-19 17:54:22 +01:00
Jonne Haß
d4e046ecbc
Merge pull request #4787 from hincupetru/4726-infinite-photo-stream
...
Added limit by max_time to photos#index for prevent "infinite photo stream"
2014-03-15 19:07:48 +01:00
Hincu Petru
e0b23b2dc4
Fixed #4726 infinite photo stream
2014-03-12 22:22:24 +00:00
MatrixCrawler
3273028ed2
Fix atom feed for reshares of deleted posts.
...
Propose for fix #4638
Added Changelog line
Added Specs for testing if the reshared origin post is deleted and therefore not shown in the atom feed
2014-03-11 21:27:08 +01:00
Steffen van Bergerem
0241d9c7db
use fixture
2014-03-10 17:21:54 +01:00
Jonne Haß
2e8dc8fb61
move PasswordsController specs to the new appropiate location
2014-02-10 10:18:20 +01:00
arlogn
1563d088bc
embedding youtube videos over https
2014-01-30 18:01:27 +01:00
Jonne Haß
9ea6e9c166
Merge pull request #4517 from Zauberstuhl/report_post_feature
...
Added post reporter feature
Conflicts:
Changelog.md
app/assets/stylesheets/application.css.sass
db/schema.rb
2014-01-20 10:03:45 +01:00
Lukas Matt
5c9a3aaf3e
Added post report feature
...
You can report a single post by clicking the correct icon in the controler section
Workflow:
* Report a post as offensive
* Trigger alerts to every pod-admin
* Pod-admin can review it in the admin interface
* Delete the post or mark it as reviewed
2014-01-14 15:00:55 -05:00
Jonne Haß
32b9caa08c
replace stub and mock deprecations with doubles
2014-01-13 12:25:38 +01:00
Jonne Haß
df0bff6537
replace stub! with stub
2014-01-13 12:25:37 +01:00
Fabian Rodriguez
08acd6e5bf
bump Timecop
...
Time.now remains the same inside the block, outside of the block it
returns
2014-01-12 23:27:15 +01:00
Jason Robinson
35ece9d65f
Instead of redirect on signup form validation, render new with submitted data.
2014-01-06 22:12:07 +02:00
Jonne Haß
c660c90091
Merge pull request #4612 from diaspora/drop_spv_old_code
...
Drop spv old code
2013-12-11 07:41:51 -08:00
Jason Robinson
2c83d0e846
Statistics route with general info, some user and total posts stats. By default statistics off, enabled in settings.
2013-12-02 22:35:18 +02:00
Fabian Rodriguez
92db8cb929
remove #next and #previous from posts_controller
2013-12-01 20:55:48 -02: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
Oliver Azevedo Barnes
4b516603f7
Fix #4361 twitter access level check breaking facebook addition to user
...
Rewrite twitter access-level check
Fixed tests, still working on getting facebook up
Add heroku example to diaspora.example.yml
2013-08-12 13:17:18 -05:00
Jonne Haß
14c78da6cd
whitelist getting_started as a user settable attribute, fixes #4378
2013-08-11 16:52:54 +02:00
Oliver Azevedo Barnes
452301b34d
Fix #4361 twitter access level check breaking facebook addition to user
2013-08-07 18:59:49 -05:00
Jonne Haß
a2e5f1f88e
Merge pull request #4335 from Team-D/feature/4169-tag_search_autocomplete
...
#4169 tag search autocomplete
2013-08-06 13:29:12 -07:00
Jonne Haß
efbd3c8605
Merge pull request #4344 from oliverbarnes/4124-check-twitter-write-access-before-auth
...
Issue #4124 Check write access before authorizing Twitter
2013-08-06 21:21:56 +02:00
Oliver Azevedo Barnes
55a58713a5
Issue #4124 Check write access before authorizing Twitter
2013-08-05 13:52:19 -05:00
mokus
df9a42c397
update search controller + serch.js so that autocomplete works
...
Added search_controller_spec, moved some tests from people_controller_spec to search_controller_spec
Fixed merged conflict in Changelog
update routes and search controller
remove useless except from search controller
Fix indentation in search_controller
2013-08-05 11:49:23 +02:00
Jonne Haß
2055a0aef8
Merge branch 'jflemingprod-feature/4143-port_to_strong_parameters' into develop
2013-08-02 11:44:55 +02:00
James Fleming
e8db2804cb
Fix ProfilesController#update spec for tags.
2013-08-02 11:39:06 +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
James Fleming
a0a9f01be1
Remove tests for strong parameters
...
Remove a duplicated test.
2013-08-02 11:38:56 +02:00
James Fleming
938de466f8
Strong parameters for Aspect
2013-08-02 10:09:04 +02:00
carolina
f6fe74aeae
Migration to turn ActivityStreams::Photo to StatusMessage
...
deletes ActivityStream model and all it's references
update migration with the without_protection option to disable mass assignment protection
2013-07-31 15:15:08 +02:00
kevivmatrix
6623e86a5a
private message sending changed to ajax
...
added specs for change in controller
one form of hash used in single line of code
rendering create response on sending message
redirect user to conversation page if message sent successfully
removed deprecated way of rendering file
conversations create for mobile fixed
minor code style change
updated changelog
2013-07-06 14:35:09 +05:30
David Thompson
0cc02fb512
Use InviteEmail worker in InvitationsController create action.
2013-07-01 21:10:56 -04:00
Jonne Haß
521aaf894b
Merge pull request #4255 from netom/4194-mobile-photo-view
...
4194 mobile photo view
2013-06-29 10:06:46 +02:00
Jonne Haß
92d3bb9c69
Merge pull request #4252 from Raven24/diasp-feature/1283-coppa-admin
...
Admin: find users under the age of 13 (COPPA)
2013-06-29 10:03:59 +02:00
Jonne Haß
94207e844c
Drop weird stop in conversations controller spec
2013-06-27 17:50:44 +02:00
Tamas Laszlo Fabian
d59648504d
Added test to avoid regression
2013-06-24 15:37:17 +02:00
Florian Staudacher
02be4a5335
make age search postgres compatible, add spec, changelog
2013-06-24 12:34:22 +02:00
David Thompson
b3c859bcd5
Check for nil before splitting contact_ids param.
2013-06-15 17:14:30 -04:00
Braulio Martinez
c651cbab78
Always redirect user to downcase version of tags on UTF-8 encoding
2013-04-10 00:08:58 -03:00
Jonne Haß
79a79d65d6
Bye Resque. Ohai Sidekiq.
...
* Dropped all references to Resque
* Moved all jobs under app/workers since that's the Sidekiq convention
* Renamed Jobs module to Worker to match new location
* Adapted all jobs to Sidekiq
* Replaced all enqueue calls with perform_async
* Dropped Resque hacks from specs and features, replaced with
sidekig/testing in RSpec and sidekig/testing/inline in Cucumber
* Updated scripts to start a Sidekiq server
* Inline Sidekiq sinatra app
* Let Sidekiq create the actual Redis instance
* Workaround already initialized constant warnings in service models
* Resolved ToDo in one job definition by creating proper exception clases
for some errors in receiving posts
* Added sidekiq section to configuration to make it completly
configurable to the user
* Add Sidekiq middleware for clean backtraces
* Delay HttpMulti retry to give offline pods a chance to come back up
* Do not retry on GUID already taken and alike errors
* Be graceful about deleted posts in GatherOEmbedData
2013-03-21 23:39:07 +01:00
Marcelo Dominguez
88e76448b6
Avoid unnecessarily redirect
2013-03-03 23:10:53 -02:00
Jonne Haß
cf9659de4a
fix XSS vulnerability in conversations#new, closes #4010
2013-02-26 19:09:30 +01:00
Jonne Haß
35350d1ceb
Include reshares in the public user feed, closes #1781
2013-02-21 14:32:28 +01:00
Florian Staudacher
4cbae601e8
[WIP] aspect membership dropdown Backbone.js rework
...
* initial backbone port
* changed AspectMembershipsController#destroy to use aspect_membership_id
* included rudimentary jasmine specs
* more specs, updating the list elements after de-/selection
* update selected aspect count on button
* don't even try to render html in AspectMembershipsController
* more specs for button summary text
* adapt aspect management on contacts page and in the popup boxes
* adapt inline creation of aspects + memberships
TODO
* more tests
2013-02-17 13:40:10 +01:00
Jonne Haß
b8128d356b
Merge branch 'hotfix/0.0.2.4' into develop
...
Conflicts:
Changelog.md
app/views/people/show.html.haml
config/defaults.yml
spec/helpers/layout_helper_spec.rb
2013-02-01 22:24:37 +01:00
Jonne Haß
7134513b28
Fix XSS vulnerabilities caused by not escaping a users name fields when loading it from JSON. #3948
...
From a quick look at the for us available databases this was not actually used in the wild.
2013-02-01 22:20:31 +01:00
movilla
0010819343
add settings web mobile
2013-01-27 20:38:19 +01:00
Fabián Rodríguez
aabbea6ee2
fix issue #3671 reshare a post multiple times
2013-01-12 04:52:56 -02:00
Diaspora Europe
c8ddba6b3e
add images to notifications
2013-01-11 12:30:12 +01:00
Florian Staudacher
0092acd492
re-add hovercards
...
* added a presenter for hovercard json
* added new backbone view for handling hovercard JS
* refactoring of PeopleController
* finished the backbone js version of hovercards
* don't try to make people_controller more restfull, out of scope
just add a new route and use that for hovercard json
* added spec for people_controller#hovercard
* add new exception for "AccountClosed" to be able to raise from anywhere
* removed legacy code, since everything got ported to backbone
(except the "cache" stuff, but that's not strictly necessary)
2012-12-28 22:37:13 +01:00
movilla
597ab20715
Show error and flash-notice when sending messages to non contacts
2012-12-26 12:23:37 +01:00
movilla
c1b858a877
Mark all unread post-related notifications as read, if one of this gets opened
2012-12-24 00:13:32 +01:00
Jonne Haß
7b548fd571
Merge pull request #3713 from davecocoa/feature/3630-backbone-ify-followed-tags
...
port tagFollowings to BackBone
2012-11-25 09:30:47 -08:00
rschaden
49d4079065
add email validation to invitations
2012-11-25 14:25:20 +01:00
Fabián Rodríguez
be2db47f02
remove unnecesary stuff from specs
2012-11-21 18:26:17 -02:00
David McMullin
97664cb880
port tagFollowings to BackBone
2012-11-12 21:37:00 +00:00
Jonne Haß
63f2d335a4
Merge branch 'notifications_count' of git://github.com/movilla/diaspora into develop
2012-11-11 15:00:46 +01:00
movilla
554fe40235
Web mobile notificacions count dont change to unread-read when click in link post
2012-11-11 14:45:07 +01:00
movilla
10aea3ebce
add test :unread => true
2012-11-10 23:23:08 +01:00
Braulio Martinez
ab3a7d991c
Remove ugly whitespaces
2012-11-07 23:16:25 -02:00
Braulio Martinez
3260bada38
Remove posts#new action from Rails and related tests
2012-11-07 23:14:35 -02:00
Gonzalo
e1756b5b3f
Privatize non-action controller methods
2012-10-14 19:32:53 -02:00
Gonzalo
78953fe2bf
Move ApplicationController specs to application_controllers_spec
2012-10-14 19:32:53 -02:00
Gonzalo
83809c924a
Refactor MessagesController
2012-10-13 17:10:52 -02:00
Fabián Rodríguez
82082005ba
redirect users back on registration failure
2012-10-11 19:47:04 -02:00
Florian Staudacher
8678c14735
Merge pull request #3589 from MrZYX/refactor_config
...
New configuration system, details: see changelog
2012-09-30 13:07:40 -07:00
Marek Lewandowski
125e45cdba
Force user to authenticate instead of raising error
2012-09-29 16:57:34 +02:00
Jonne Haß
2a4db54db9
New configuration system
...
* Throw away old system
* Add new system
* Add new example files
* Replace all calls
* add the most important docs
* Add Specs
* rename disable_ssl_requirement to require_ssl
* cloudfiles isn't used/called in our code
* since community_spotlight.list is only used as enable flag replace it with such one and remove all legacy and irelevant codepaths around it
* die if session secret is unset and on heroku
* First basic infrastructure for version information
2012-09-26 20:19:37 +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ß
58d1448085
update factory girl
2012-09-12 13:24:23 +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ß
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
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
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
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
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
3e09d4ed14
Revert "don't seed beta users with default aspects"
...
This reverts commit 946f78b025 .
2012-05-24 11:42:52 -07:00
danielgrippi
946f78b025
don't seed beta users with default aspects
2012-05-24 11:37:34 -07:00
Dan Hansen
cf847d61ba
bug mash #5
...
fix NoMethodError on InvitationsController
2012-05-23 13:05:01 -07:00
Maxwell Salzberg
471ce309ea
kill your darlings; remove diaspora_client with fire
2012-05-17 14:55:53 -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
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
Dennis Collinson
f6e3c1b88b
seperate interactions from posts
...
Lazily load post interactions on show page
hella refactorz
2012-05-12 17:41:58 -07:00