Jonne Haß
fc1f249129
Harden account deletion
...
* Wrap it into a transaction
* Use destroy over delete so dependent destroys get triggered
and we thus don't fail on the foreign key constraits
* Check if a photos status message actually exists before accessing
it
* Add missing dependent destroys
2014-05-27 00:15:15 +02:00
Erwan Guyader
24d2ac0ec2
4967 Use https to load the location form OSM
2014-05-26 11:34:01 +02:00
Jonne Haß
5f0a11dfa6
Remove debug puts
2014-05-25 09:48:45 +02:00
Jonne Haß
e6348aa705
Use toggle() to hide the poll creator
2014-05-24 21:40:48 +02:00
Jonne Haß
9537c45d2a
Merge pull request #4916 from hpetru/validate-poll-answer
...
I added the validation to poll question and poll answer
Conflicts:
app/assets/javascripts/app/views/publisher_view.js
2014-05-24 17:42:18 +02:00
Jonne Haß
cbd9c56a7a
Merge pull request #4919 from hpetru/4776-mention-on-mobile
...
Unescape text before add mention, this commit solve #4776
Conflicts:
Changelog.md
2014-05-24 17:34:29 +02:00
Jonne Haß
0c5cc216c6
Replace vaild with valid
...
Thanks to Josias for the hint
2014-05-24 17:24:36 +02:00
Jonne Haß
d36589e05b
Remove hack from exporter
...
I couldn't reproduce what the comment states anymore, so I just removed
it. This fixes a minor issue where html wouldn't be escaped in the
export.
Thanks to A Kai (@sixhundredns) for reporting.
2014-05-24 15:27:13 +02:00
Florian Staudacher
693ded8298
unset any stream that might be left over from earlier specs
2014-05-20 20:52:25 +02:00
Florian Staudacher
46e3c5a870
add 'loginAs' to bookmarklet spec
2014-05-18 23:37:59 +02:00
Lukas Matt
8170ef8363
Validate on report that post or comment does exist
2014-05-16 09:48:14 -04:00
Jason Robinson
01381ddf25
Merge pull request #4957 from MrZYX/4956_deleted_reshare
...
Use absolute_root more consistently in Reshare
2014-05-16 10:00:31 +03: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
8ae89a443b
Replaced fake post/comment with existing one
...
That fixed the correct validation whether a post/comment is gone
after the report was marked as deleted
2014-05-15 07:23:43 -04:00
Lukas Matt
e667a785ed
Assert that valid post/comment are gone
2014-05-15 07:23:43 -04:00
Lukas Matt
f6eba7966d
Added destroy_reported_item to report model spec
2014-05-15 07:23:43 -04:00
Lukas Matt
1a4ab274a3
Changed report spec
...
* Removed ActiveRecord tests (that is handled in the controller spec)
* Added Mailer tests
* Added validation tests
2014-05-15 07:23:43 -04:00
Lukas Matt
435f659467
Added report model spec
2014-05-15 07:23:43 -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
Jonne Haß
8a599e1c1d
Use absolute_root more consistently in Reshare
...
Closes #4956
2014-05-14 22:41:24 +02:00
Hincu Petru
e699a682f4
Unescape text before add mention, this commit solve #4776
2014-05-06 12:13:43 +00:00
Florian Staudacher
9da3bc347b
disable publisher after successfully posting in standalone mode
2014-04-25 19:51:45 +02:00
Florian Staudacher
0d51bba959
port bookmarklet to Backbone.js, use gon for params ( fixes #4931 )
2014-04-19 17:41:21 +02:00
Gabriel Lima
f6c0648a55
bug #4832 - send the rspec test and changelog
2014-04-15 09:23:58 -03:00
Jason Robinson
356096a7eb
Merge pull request #4836 from MrZYX/message_renderer
...
Introduce message renderer
2014-04-13 15:00:46 +03:00
Hincu Petru
2311b761e1
Redirect to stream_path if is destkop
2014-04-08 09:34:14 +00:00
Hincu Petru
57de031f6b
I added the validation for blank to poll question and poll answer
2014-04-07 17:17:41 +00:00
Jonne Haß
682a49605e
Merge pull request #4910 from hpetru/rewrite-poll-creator
...
Rewrite poll creation inputs
2014-04-06 22:27:01 +02:00
Jannik Streek
095d616198
fixed federation issue due to missing delegation + test + some minor tweaks
...
fixed indenting
renamed test
2014-04-06 20:58:58 +02:00
Hincu Petru
2d3933ccd8
Rewrite poll creation inputs
2014-04-06 15:01:18 +00:00
Hincu Petru
2ae4d41db3
Fixed 4903 and not render vote form when user is not logged
2014-04-05 14:29:07 +00:00
Hincu Petru
6c00db23cd
I update design for poll in post stream
2014-04-03 20:57:14 +00:00
Hincu Petru
cee90e737c
Make poll to be compatible with bootstrap
2014-04-03 09:03:54 +00:00
Hincu Petru
fed5ea8cda
Refactored poll_view.js
2014-04-02 16:19:07 +00:00
Jonne Haß
211963d320
Merge pull request #4889 from hpetru/4874-malformed-url
...
Catch error from decodeURI for prevent crash in posts parsing
2014-04-01 00:49:27 +02:00
Hincu Petru
552310796c
Catch error from decodeURI for prevent crash in posts parsing
2014-03-31 20:24:47 +00:00
Jannik Streek
2d0abbae23
added jasmine test for poll view
2014-03-31 18:14:07 +02:00
Jannik Streek
dde39aa1bb
added jasmine publisher tests
2014-03-31 18:14:07 +02:00
Jannik Streek
a9843ae996
added cucumber tests, updated spec with xml class test
2014-03-31 18:14:07 +02:00
Jannik Streek
95d98ff2b6
improved code for poll participation
2014-03-31 18:14:06 +02:00
Jannik Streek
c02414c36d
fixed wrong indenting and broken messages tab for polls
2014-03-31 18:14:06 +02:00
Jannik Streek
8a4f833d1d
added more tests for the poll federation + fixed broken rspec tests
2014-03-31 18:14:06 +02:00
Jannik Streek
5d560609e4
poll_participation_spec no longer fails, added poll_participation factory
2014-03-31 18:14:06 +02:00
Jannik Streek
fe67bdf2e7
added tests for poll federation and impl for the federation itself. Still in progess
2014-03-31 18:14:06 +02:00
Jannik Streek
dfbe17d046
Poll input fields and data model now available
...
question field of poll now in db
fixed merge issues
2014-03-31 18:14:06 +02:00
Jonne Haß
ab15bad53f
Merge pull request #4858 from hincupetru/4514-clicking-show-more-comments-empties-textarea
...
Save textarea value before rendering comments when clicked 'show more....'
2014-03-24 14:56:45 +01:00
Steffen van Bergerem
4fc9c6416e
Port notifications to Bootstrap
2014-03-19 18:45:52 +01:00
Steffen van Bergerem
eabdc7390c
Port aspect membership dropdown and hovercards
2014-03-19 17:54:22 +01:00