Jonne Haß
619bc3f537
A reshares root may be already gone when generating the notification
2014-09-07 10:47:47 +02:00
Jonne Haß
777e3123d6
Try fetching missing parent of relayables
...
* Extract post fetching logic from Reshare into
its own module
* raise proper error message when fetching fails
* raise proper error message when parent is still missing
We can't skip fetch failures or missing parents and
still need to retry them in case we're sent the parent
later on
2014-09-07 10:47:47 +02:00
Jonne Haß
9c88fde821
Switch Faraday adapter to typhoeus
...
It uses curl which has less problems connecting
to a missconfigured IPv6 host (falls back to v4)
2014-09-07 10:47:47 +02:00
Jonne Haß
01e0127287
Ignore embedded photos if invalid
...
For example if they're already present
Also refactor StatusMessage XML specs
2014-09-06 04:52:18 +02:00
Steffen van Bergerem
ba0bccbef1
Redirect conversations/new to conversations
2014-09-01 17:11:56 +02:00
Jonne Haß
99de61fdfa
Merge branch 'release/0.4.1.0' into develop
2014-08-30 22:15:56 +02:00
Jonne Haß
6df79f6983
so turns out whether an id is serialized to a json integer or string
...
depends on the DB backend
2014-08-30 22:15:05 +02:00
Jonne Haß
1515848120
Merge branch 'release/0.4.1.0' into develop
...
Conflicts:
app/controllers/conversations_controller.rb
spec/controllers/conversations_controller_spec.rb
2014-08-30 20:09:08 +02:00
Jonne Haß
5d549f553b
Escape person name in contacts json
...
jQuery autoSuggest uses .html to insert it into the DOM
2014-08-30 20:06:03 +02:00
Jonne Haß
79e1a9aafd
port notify local users worker spec to doubles
2014-08-29 01:42:16 +02:00
Steffen van Bergerem
3f3087c77f
Port tags page to Bootstrap
2014-08-28 18:02:02 +02:00
Jonne Haß
ccd7c670b3
Merge pull request #5170 from khall/issue_5149a
...
Issue 5149a
Conflicts:
spec/controllers/aspects_controller_spec.rb
spec/controllers/contacts_controller_spec.rb
2014-08-27 18:20:56 +02:00
Jonne Haß
f1ab434b18
Merge pull request #5153 from svbergerem/redesign-contacts-page
...
Redesign contacts page
2014-08-27 10:01:41 +02:00
khall
fe492c6fb8
Fixing a .should test to expect(), adding suggested line to spec_helper to prevent the use of .should in the future
2014-08-26 17:39:13 -07:00
khall
b7c68031fa
Last rspec fix brought to you by jhass
2014-08-26 17:12:58 -07:00
khall
c27b38d69a
Merge branch 'develop' into issue_5149
...
Conflicts:
spec/controllers/aspects_controller_spec.rb
spec/controllers/conversations_controller_spec.rb
spec/controllers/people_controller_spec.rb
spec/controllers/photos_controller_spec.rb
spec/integration/receiving_spec.rb
spec/lib/postzord/receiver/public_spec.rb
spec/models/post_spec.rb
spec/models/user/querying_spec.rb
2014-08-26 17:11:39 -07:00
khall
4edd824d3c
No deprecation warnings, but one spec still fails (but only when I run all the specs, not when I run just the one spec)
2014-08-26 17:10:29 -07:00
khall
c42916df27
Two tests failing after rspec 2.99 => 3.0.0
2014-08-26 17:10:26 -07:00
khall
027bb9fcb0
Rspec version bump to 2.99
2014-08-26 17:00:21 -07:00
Flaburgan
2151b4f791
Add jasmine tests
2014-08-27 00:03:49 +02:00
Steffen van Bergerem
ff84ee0485
Small style changes, add tests
2014-08-26 22:45:43 +02:00
Jonne Haß
f772af86a6
Merge pull request #5156 from khall/issue_5040
...
Fix for issue 5040
2014-08-26 01:16:41 +02:00
Jonne Haß
ac998407b5
bump jasmine-core
2014-08-25 19:16:55 +02:00
Jonne Haß
42b08e8ab8
Update to Rails 4.1
2014-08-25 17:37:02 +02:00
khall
6d3528c539
Fix for issue 5040: Adds completed_at column to account_deletions and sets timestamp upon successful completion. Depends on uniqueness of diaspora_handle when combined with person_id
2014-08-24 17:06:33 -07:00
Jonne Haß
2619beb157
Merge pull request #4481 from diaspora/rails4
...
Port to Rails 4
2014-08-24 13:42:31 +02:00
Steffen van Bergerem
c18df1c32f
Change mark read link on notifications page
2014-08-23 17:42:19 +02:00
Jonne Haß
d070f19243
make rspec and jasmine pass with the new code
2014-08-23 16:47:57 +02:00
Florian Staudacher
b07f6cf1db
adapt rebased changes to jasmine 2
2014-08-23 16:47:48 +02:00
Florian Staudacher
037671f1b6
port remaining specs - jasmine is green again (non-CI)
2014-08-23 16:46:08 +02:00
Florian Staudacher
304e560e43
use new jasmine async code
2014-08-23 16:46:08 +02:00
Florian Staudacher
d4aca571ac
add jasmine-jquery gem and use it, port some more specs
2014-08-23 16:46:08 +02:00
Florian Staudacher
4d3874cc2e
port more specs, add aspect factory
2014-08-23 16:46:04 +02:00
Florian Staudacher
adf7aa98dd
port router specs, don't test backbone - our own code is enough
2014-08-23 16:38:58 +02:00
Florian Staudacher
c81379d38f
port some more JS specs to jasmine 2.0... still a lot to do
2014-08-23 16:38:57 +02:00
Florian Staudacher
43f156420d
update jasmine mock-ajax, port SpecHelper to jasmine 2.0
...
- some tests should be passing again now
2014-08-23 16:38:57 +02:00
Jonne Haß
b3e59dc3d5
fix PostsController specs by using explicit form of the sign_in helper
2014-08-23 16:38:57 +02:00
Jonne Haß
244388fcb5
make aspect membership controller specs green
2014-08-23 16:34:01 +02:00
Jonne Haß
21feb91d27
always pass desired format in specs unless it's html
2014-08-23 16:34:01 +02:00
Jonne Haß
7e7082a3bd
Fix expectations for changes in generated HTML
...
Just a minor change, supplied attributes now go before the
standard ones
2014-08-23 16:34:01 +02:00
Jonne Haß
659f0b96d4
do not pass relations to a method that expects a set of aspects ids or a single aspect
2014-08-23 16:34:01 +02:00
Jonne Haß
09f0665225
replace deprecated usages for all
2014-08-23 16:34:01 +02:00
Jonne Haß
a9e107364a
make status message controller spec pass and deprecation free
2014-08-23 16:34:00 +02:00
Jonne Haß
33c3b38f2f
replace deprecated finder and finder_options syntax
2014-08-23 16:34:00 +02:00
Jonne Haß
b582e1f707
i18n.js: Add interface to retrieve entire sections
...
And make use of that in HelpView
2014-08-18 21:06:52 +02:00
Jonne Haß
ae24495c7d
Merge pull request #5127 from Raven24/hpetru-2875-ignore-user-posts
...
Remove ignored peoples posts without refresh (II)
2014-08-18 11:35:56 +02:00
Jonne Haß
ec02f54613
Merge pull request #5122 from jaideng123/5113-mark-as-read-by-filter
...
Added Mark all in filter as read feature
2014-08-18 11:30:18 +02:00
Jonne Haß
fa9c079955
Merge pull request #5121 from wegotcoders/4943-add-services-to-statistics-json
...
Service have been added to /statistics.json
2014-08-18 11:20:26 +02:00
jaideng123
6456a441fe
Modified behavior of mark all as read button
2014-08-17 10:12:23 -05:00
Florian Staudacher
4fd9bae056
refactor global event broker and user blocking from stream posts
2014-08-17 14:05:56 +02:00
Steffen van Bergerem
022bc1007d
Remove unused code
2014-08-16 11:47:31 +02:00
damzcodes
de069962b3
Service have been added to /statistics.json
...
Services have been added to /statistics.json
tidying up
edits
2014-08-15 14:02:03 +01:00
Jonne Haß
92a6fc9eb5
Add fallback system to frontend I18n system
...
Load the default locale and fall back to it on missing key
and interpolation errors
2014-08-15 13:53:28 +02:00
Florian Staudacher
163b76ae3d
Merge branch '2875-ignore-user-posts' of https://github.com/hpetru/diaspora into hpetru-2875-ignore-user-posts
...
Conflicts:
Changelog.md
2014-08-13 14:30:28 +02:00
Jonne Haß
0421d9336a
Merge pull request #5100 from Faldrian/feature/add_help_keyboard_shortcuts
...
added keyboard shortcut help topic
2014-08-03 20:12:15 +02:00
Faldrian
9636f372a4
inserted line breaks and wrote a test for app.views.Content.smallPhotos
2014-08-03 17:17:12 +02:00
Faldrian
207b351049
added test for help section keyboard shortcuts
2014-08-02 10:30:17 +02:00
arlogn
2394c3df39
flexible font-size for sign_in podname huge text
2014-07-06 19:18:21 +02:00
Florian Staudacher
13b716a449
allow admins to close user accounts from the backend
...
* thanks to @maxwell for the initial work on this
port admin pages to bootstrap
* improve user view on admin search page
* add 'close account' link to each user in the search results
* keep the same blue color for the admin menu
some refactoring of the routes and the admin code
* try to be more RESTful (possibly)
* use a 'UserSearch' model for search parameters and querying
add changelog entry
2014-07-01 23:33:15 +02:00
Maxwell Salzberg
cc53e1762b
A podmin can now disable a spam account from the interface.
2014-07-01 17:51:39 +02:00
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
Jason Robinson
c6f2691cc3
Merge pull request #5009 from taratatach/4951-sharing-notification-not-marked-as-read-when-visiting-profile
...
Set sharing notification as read
2014-06-27 10:16:17 +03:00
Hincu Petru
653612b74d
Remove posts for ignored person
2014-06-25 08:56:12 +00:00
Lukas Matt
01a45ccf40
Reports email notification; wrong recipient
...
The mailer uses the person_id to find a user
which cannot work on a production environment.
I haven't used a remote user on my test setup.
2014-06-23 15:54:25 -04:00
Jason Robinson
126ced4383
Fix broken bookmarklet if params have encoded linefeeds.
...
Closes #4994
2014-06-22 11:48:24 +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
Erwan Guyader
3ebc0f0387
Test returned path for Show More on mobile
...
- Added test when the currant page is Aspects Stream
- Modified test for the Stream page to account for the new possibility
(i.e current page is Aspects Stream)
2014-06-17 21:36:38 +02:00
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
Steffen van Bergerem
f217a5bc11
Add filters to notifications controller
2014-03-19 17:54:22 +01:00
Hincu Petru
1cef3e42ce
I save textarea value before rendering comments when clicked 'show more..'
2014-03-19 12:36:04 +00:00
Jonne Haß
835608f06f
Merge pull request #4856 from hincupetru/3692-hashtags-inside-markdown-link
...
Check if the hashtag is a link in function .hashtagify
2014-03-16 14:39:20 +01:00
Hincu Petru
694dc7d80b
Check if the hashtag is a link in function .hashtagify
2014-03-16 11:59:49 +00:00
Jonne Haß
cfca0e88f1
Revert "Merge pull request #4847 from hincupetru/3692-hashtags-inside-markdown-link"
...
This reverts commit 06ab498620 , reversing
changes made to 3c4d8d95d3 .
Conflicts:
Changelog.md
2014-03-15 21:08:54 +01:00
Jonne Haß
06ab498620
Merge pull request #4847 from hincupetru/3692-hashtags-inside-markdown-link
...
Solved problem with hashtags inside markdown links
2014-03-15 19:12:37 +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
Jonne Haß
8280556a47
Introduce message renderer
...
This new class replaces all existing server side message
rendering helpers and is the new global entry point for such
needs. All models with relevant fields now expose an instance
of MessageRenderer for those. MessageRenderer acts as
gateway between the existing processing solutions for markdown,
mentions and tags and provides a very flexible interface for
all output needs. This makes the API to obtain a message
in a certain format clear. As a result of centralizing the
processing a lot of duplication is eliminated. Centralizing
the message processing also makes it clear where to change
its behaviour, add new representations and what options
are already available.
2014-03-15 17:16:17 +01:00
Hincu Petru
7c4d783d51
Check if the hashtag is a link in function .hashtagify
2014-03-14 15:49:41 +00:00
Hincu Petru
e0b23b2dc4
Fixed #4726 infinite photo stream
2014-03-12 22:22:24 +00:00
Jonne Haß
11603f5496
Merge pull request #4843 from svbergerem/4228-hovercards-same-pod
...
Show hovercards in the notification drop-down for users on the same pod
Conflicts:
Changelog.md
2014-03-11 21:50:33 +01: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
aefcfc7b30
Show hovercards in the notification drop-down for users on the same pod
2014-03-11 20:44:28 +01:00
Steffen van Bergerem
0241d9c7db
use fixture
2014-03-10 17:21:54 +01:00
Steffen van Bergerem
0cc3b10b1f
port publisher and bookmarklet to bootstrap
2014-03-10 15:15:40 +01:00
Jonne Haß
bd24cb71a4
Fix plaintext mode for mentionable
...
Also slight refactors to it.
2014-03-09 14:02:15 +01:00
Florian Staudacher
a2aff720a2
clear locale on each spec run, fix indentation
2014-02-23 17:13:01 +01:00
Florian Staudacher
dc1c156175
try to appease CI
2014-02-23 16:48:48 +01:00
Florian Staudacher
69a1718d08
fix comment spec, jasmine should be ok now
2014-02-23 16:48:48 +01:00
Florian Staudacher
e3b22ed95c
fix likes spec
2014-02-23 16:48:47 +01:00
Florian Staudacher
b27edcb2d1
fix search specs
2014-02-23 16:48:47 +01:00
Jason Robinson
5fe5507128
Add devise_lastseenable for user last seen tracking.
...
Adds a timestamp to user model which is touched when user comes back. Statistics active users counts now use these more reliable timestamps. Fixes #4734
2014-02-22 23:22:46 +02:00
Jannik Streek
d603ff818c
added comment count to statistic to calculate posts/comments ratios
...
fixeds tests for comment count in statistics
added changelog entry and default entry
2014-02-21 12:25:23 +01:00
Jonne Haß
3ed4467155
Merge pull request #4765 from goobertron/jquery_source
...
Update JQuery source to jquery.com
Conflicts:
Changelog.md
2014-02-10 17:02:09 +01:00
Jonne Haß
2e8dc8fb61
move PasswordsController specs to the new appropiate location
2014-02-10 10:18:20 +01:00
goobertron
23e8bfa082
Update JQuery source to jquery.com
2014-02-09 17:36:35 +00:00
Jonne Haß
e402a4093d
Actually load a different section when requested in get_javascript_strings_for, add spec for changes in JS i18n helper
2014-02-09 16:00:16 +01:00
Richard
55efa82756
made a help view spec and cleaned up the views a bit.
2014-02-09 16:00:15 +01:00
goobertron
7bcea07b99
Standardise - code refs to 'messages' to 'conversations'
2014-02-09 15:44:12 +01:00
Jonne Haß
17754f1da8
Merge pull request #4747 from Raven24/fix_aspect_stream
...
fix regression caused by updating backbone.js in aspect stream
2014-02-09 15:38:35 +01:00
Florian Staudacher
6c9cce7cda
Merge branch '4264-embed-youtube-on-https' of https://github.com/arlogn/diaspora into arlogn-4264-embed-youtube-on-https
2014-02-09 13:05:39 +01:00
arlogn
1563d088bc
embedding youtube videos over https
2014-01-30 18:01:27 +01:00
Raphael Sofaer
300a7c1c31
Merge pull request #4737 from rsofaer/no_retries_for_bad_cert
...
Do not retry sending out posts on SSL errors. See #4728
2014-01-27 20:11:57 -08:00
Raphael Sofaer
de593f6e9f
Do not retry sending out posts on SSL errors. See #4728
...
Refactor HydraWrapper so the when-to-retry logic is in the worker
2014-01-27 15:45:45 -08:00
Florian Staudacher
09a840ea41
fix regression caused by updating backbone.js without updating changed parameters
2014-01-26 19:51:12 +01:00
Steffen van Bergerem
0f156cd9a4
Remove unused beta code
2014-01-24 09:01:30 +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
Florian Staudacher
1924c40d38
replace vendored backbone.js/underscore.js with 'backbone-on-rails' gem
...
- updates underscore to 1.5.2 and backbone to 1.1.0
backbone had some breaking changes:
- fix url/urlRoot handling in models & collections
- options are no longer attached to the view by default
- collections reset when 'fetch' is called, tell it to keep the existing
models
other changes:
- fix some events triggering multiple times in connection with deleting
a model
- use document fragments instead of an element array for stream entries
- adapt jasmine and cucumber specs to the changed code
* no longer test the backbone router as part of our code
* jasmine factory already returns model instances, no need to wrap
that again
2014-01-16 23:23:30 +01:00
Jonne Haß
15b1dae362
update devise to 3.2
2014-01-15 12:59:59 +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ß
c11ddaa770
remove not_to raise_error deprecations
2014-01-13 12:25:38 +01:00
Jonne Haß
32b9caa08c
replace stub and mock deprecations with doubles
2014-01-13 12:25:38 +01:00
Jonne Haß
b5854d3172
remove outer (deprecated) describe blocks from shared examples
2014-01-13 12:25:38 +01:00
Jonne Haß
a0bbd899de
replace rspec_reset with obscure reset line stolen from rspec-mocks
2014-01-13 12:25:38 +01:00
Jonne Haß
7bb055932a
replace =~ array matching with match_array
2014-01-13 12:25:37 +01:00
Jonne Haß
525cd4cc02
fix stream helper spec for new rspec
2014-01-13 12:25:37 +01:00
Jonne Haß
01ecd9d054
do not overwrite rspec methods (receive)
2014-01-13 12:25:37 +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
Jonne Haß
42f790fa13
Merge pull request #4666 from jaywink/signup-form-error-redirect
...
Instead of redirect on signup form validation, render new
2014-01-11 14:08:18 -08:00
Jason Robinson
35ece9d65f
Instead of redirect on signup form validation, render new with submitted data.
2014-01-06 22:12:07 +02:00
Jason Robinson
db71c9c50b
Add mobile signup page captcha. Add test for user.sign_up method. Rewrite simple_captcha views to haml. Revert .rvmrc, fix indentation in config examp$
2014-01-06 22:00:53 +02:00
Damien Monet
b849d6c641
Fix: remove location when publisher is cleared by user
2014-01-05 11:09:03 +01: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
Steffen van Bergerem
db382f6929
fix typo in lightbox spec
2013-12-08 15:02:41 +01:00
Fabian Rodriguez
d700c66deb
remove useless specs
2013-12-06 20:07:35 -02:00
Fabian Rodriguez
ea58324aa8
remove template picker
2013-12-04 20:08:54 -02:00
Fabian Rodriguez
6c8c4fc99e
remove template picker functionality
2013-12-03 20:53:00 -02: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
cfc247db75
remove PostViewerFeedback
2013-12-01 20:55:49 -02:00
Fabian Rodriguez
bf3ee8d7bb
remove PostViewer
2013-12-01 20:55:48 -02:00
Fabian Rodriguez
d7b8cb2997
remove #next_post_path and #previous_post_path from postpresenter
2013-12-01 20:55:48 -02:00
Fabian Rodriguez
92db8cb929
remove #next and #previous from posts_controller
2013-12-01 20:55:48 -02:00
Richard
ff07bddd1b
using status messages instead of popup and updated specs for publisher view.
2013-11-28 16:08:03 +11:00
Jonne Haß
eea9467846
refactor twitter service model
2013-09-30 10:13:14 +02:00
Florian Staudacher
260d86d501
refactor ConversationsController, move query builing to User model
2013-09-30 01:44:57 +02:00
Florian Staudacher
e614562470
avoid publishing empty posts ( fixes #4401 )
...
invalidate empty posts when created by a local user
add changelog entry
2013-09-24 21:57:22 +02:00
Florian Staudacher
39810e6196
decode URLs before processing them ( fixes #4507 )
2013-09-21 15:23:30 +02:00
flaburgan
02ef9e08f6
Remove the (now useless) last post link from the user profile.
2013-09-20 17:37:34 -07:00
Jonne Haß
363103cdaf
Make sure there always was a call to Diaspora.I18n.loadLocale before running a jasmine spec
2013-09-20 00:21:16 +02:00
Florian Staudacher
96f80c8cab
cleanup jasmine tests
...
and added changelog entry for bugfix #4005
2013-09-19 23:22:49 +02:00
PallaviTS
5caa46cc83
fixing commenting
...
Added jamisne tests for comments
Added 2 jasmine tests for fixing commenting
Bugfix: #4005 added changelog entry
2013-09-19 23:22:48 +02:00
Florian Staudacher
41c0880a9d
add jasmine specs for uploader, minor changes
2013-09-03 23:18:19 +02:00
Florian Staudacher
bedfacecfd
fix jasmine tests
2013-09-03 23:18:18 +02:00
Srihari Sriraman
3131eb920b
Collapsing aspects_list and followed_tags when they aren't active
...
- Each time a stream is rendered, other lists are emtied
- Using Backbone.history.fragment to detect active stream
- hideInactiveStreamLists is best pushed into a before/after filter
Added tests for hideInactiveStreamLists
2013-08-29 14:51:54 +02:00
Florian Staudacher
ba9e715c66
Merge branch '4239-move-federation-stuff-into-lib' of github.com:oliverbarnes/diaspora into oliverbarnes-4239-move-federation-stuff-into-lib
2013-08-27 22:05:27 +02:00
Jonne Haß
f9a3990562
do not leak photos through photos#show
2013-08-26 09:39:39 +02:00
Jonne Haß
348a7b6c5b
update branding
2013-08-25 18:21:14 +02:00
Steffen van Bergerem
7fe972555a
profile message and mention icons
2013-08-21 23:05:42 +02:00
Jonne Haß
554d0a93d0
Do not leak photos in the profile sidebar
2013-08-20 20:56:37 +02:00
Roger Braun
e9977af7b1
Fix specs for TemplatePicker
2013-08-16 11:08:22 +02:00
Oliver Azevedo Barnes
8ee26f43e5
Remove commented requires
2013-08-14 15:08:47 -05:00