Steffen van Bergerem
46cbc6e52a
Filter mentions on status message creation
2016-07-04 10:26:45 +02:00
Steffen van Bergerem
e0226f9322
Raise on missing translations
2016-07-03 20:15:57 +02:00
Steffen van Bergerem
715cb1bb87
Remove unused translations
2016-07-03 18:14:23 +02:00
Steffen van Bergerem
b2d26257d4
Use the correct flash message for new conversations
2016-06-29 21:37:00 +02:00
Benjamin Neff
3bfc4003fb
fetch unknown persons to generate url
2016-06-27 14:43:19 +02:00
Jonne Haß
09908a45fb
StatusMessage#raw_message returns empty string for NULL values
...
Previously the federation layer has written the empty string to the
database, now it writes nil/no value to it while our code still expects
the empty string in some cases. Restore the old assumption by returning
the empty string, the real raw value by now is available again in
StatusMessage#text for those that need it, such as validations or tests.
2016-06-27 12:07:11 +02:00
Benjamin Neff
9a3f653c45
fix sender for messages for old pods
...
Send a second message to remote recipients with conversation-author
as salmon author if the conversation-author is local.
The first dispatch will fail on old pods. New pods will ignore the
second message, if the guid already exist.
2016-06-26 14:05:52 +02:00
Benjamin Neff
ab2118ffa5
don't participate own posts
2016-06-26 06:21:03 +02:00
Benjamin Neff
e08306dab4
remove participation parent author check
...
the check that the participation parent author is local is now done in
the diaspora_federation gem
2016-06-26 06:21:03 +02:00
Benjamin Neff
7bdf4921fd
use private_class_method with returned symbol of def
2016-06-26 06:21:02 +02:00
Benjamin Neff
bb0d7e46dc
add #object_to_receive to Diaspora::Federated::Base
2016-06-26 06:21:02 +02:00
Benjamin Neff
1cf11db634
remove diaspora_handle setter to set author
2016-06-26 06:21:02 +02:00
Benjamin Neff
70f378a1c1
don't participate own posts on creation
2016-06-26 06:21:02 +02:00
Benjamin Neff
2367be3f66
move Federated::Generator to Diaspora::Federated::Generator
2016-06-26 06:21:02 +02:00
Benjamin Neff
709ad6e909
Participation is not relayable anymore
...
only deliver to parent author
2016-06-26 06:21:02 +02:00
Benjamin Neff
c8d43a893d
move Guid module to fields
2016-06-26 06:21:02 +02:00
Benjamin Neff
67688a6022
create module for author association
2016-06-26 06:21:02 +02:00
Benjamin Neff
cf5a72719e
participates root author when receiving a reshare
2016-06-26 06:21:02 +02:00
Benjamin Neff
9fa3cc97d4
deliver message always to all participants
...
message doesn't include Diaspora::Relayable anymore
2016-06-26 06:21:02 +02:00
Benjamin Neff
0f6e0b7288
send the profile to remote persons on start shareing with them
2016-06-26 06:21:02 +02:00
Benjamin Neff
57dbcc0e67
add root author to reshare subscribers
2016-06-26 06:21:02 +02:00
Benjamin Neff
03123f1c4d
remove more unused code and cleanup
2016-06-26 06:21:01 +02:00
Benjamin Neff
2476b74dbe
refactoring delete from services
2016-06-26 06:21:01 +02:00
Benjamin Neff
bb66b973a6
only posts do have reshares
2016-06-26 06:21:01 +02:00
Benjamin Neff
0e6446d05f
create ShareVisibilities with batch import
...
and delete old batch worker and receiver
2016-06-26 06:21:01 +02:00
Benjamin Neff
c8c489eafd
remove post fetcher
2016-06-26 06:21:01 +02:00
Benjamin Neff
51aca4506f
remove HttpMulti and HydraWrapper
2016-06-26 06:21:01 +02:00
Benjamin Neff
ae05d4e928
use Diaspora::Federation::Dispatcher everywhere
2016-06-26 06:21:01 +02:00
Benjamin Neff
21fd9f23da
remove roxml
2016-06-26 06:21:01 +02:00
Benjamin Neff
7893a23927
add resharers and participants to subscribers on public posts
2016-06-26 06:21:01 +02:00
Benjamin Neff
566f4890a2
merge Federated::Shareable to Shareable
...
also drop xml-code for Shareable
2016-06-26 06:21:01 +02:00
Benjamin Neff
7f11beae37
dispatch retractions
2016-06-26 06:21:00 +02:00
Benjamin Neff
65ba573a3b
Contact retraction
2016-06-26 06:21:00 +02:00
Benjamin Neff
89fbcf7c56
federate retractions
2016-06-26 06:21:00 +02:00
Benjamin Neff
86b37466d5
add DeferredRetraction worker
2016-06-26 06:21:00 +02:00
Benjamin Neff
9ce9b4bcd0
deliver profile update with new dispatcher
2016-06-26 06:21:00 +02:00
Benjamin Neff
7184d4334e
remove after_dispatch hook
...
handle photos in StatusMessageCreationService
2016-06-26 06:21:00 +02:00
Benjamin Neff
20dabbd15f
remove user parameter from subscribers method
2016-06-26 06:21:00 +02:00
Benjamin Neff
f9f91a0e9e
create new contact for local receive
2016-06-26 06:21:00 +02:00
Benjamin Neff
596659a78f
first structure of Diaspora::Federation::Dispatcher
2016-06-26 06:21:00 +02:00
Benjamin Neff
83f5662d62
remove NotifyLocalUsers worker
2016-06-26 06:21:00 +02:00
Benjamin Neff
7bb172cefb
remove old Private and Public Receiver
2016-06-26 06:21:00 +02:00
Benjamin Neff
581f8d7226
don't force remove contact on block
...
this creates inconsistent states, if you remove the block in the future
2016-06-26 06:21:00 +02:00
Benjamin Neff
102e2a0834
remove Request class and refactor Connecting
2016-06-26 06:20:59 +02:00
Benjamin Neff
d87756c4b7
move #add_contact_to_aspect from User-model to user_methods.rb
2016-06-26 06:20:59 +02:00
Benjamin Neff
6fbfc2bf96
write receive specs and delete old unused specs
...
also refactored receive methods
2016-06-26 06:20:59 +02:00
Benjamin Neff
59bb46eeb6
handle retractions
2016-06-26 06:20:59 +02:00
Benjamin Neff
58a5a881cf
receive local
...
* Contact: auto-follow-back
* Shareable: create share visibilities
2016-06-26 06:20:59 +02:00
Benjamin Neff
ae96b4bf55
refactor message notifications
...
all visibilities are already in the conversation, so we can send
all notifications at once.
2016-06-26 06:20:59 +02:00
Benjamin Neff
d55be67df1
handle existing guids on receive
2016-06-26 06:20:59 +02:00
Benjamin Neff
4fb34139b0
cleanup notifications and fix tests
2016-06-26 06:20:59 +02:00
Benjamin Neff
ebfb0aa884
create NotificationService: send notifications after receive
2016-06-26 06:20:59 +02:00
Benjamin Neff
97f4b0c2e4
handle ignored author on receive
2016-06-26 06:20:59 +02:00
Benjamin Neff
53e14dd2d6
add ReceiveLocal worker
2016-06-26 06:20:59 +02:00
Benjamin Neff
e9f53265c9
create new receive workers
2016-06-26 06:20:59 +02:00
Benjamin Neff
800fa1786c
fix author join for federation callbacks with Poll
2016-06-26 06:20:58 +02:00
Benjamin Neff
1790efad08
implement :update_pod callback
2016-06-26 06:20:58 +02:00
Benjamin Neff
4408efdff3
fetch public key for unknown person
...
and do some refactorings
2016-06-26 06:20:58 +02:00
Benjamin Neff
7596a49b46
add new send workers
2016-06-26 06:20:58 +02:00
Benjamin Neff
b1d30aa9cc
add more "diaspora to federation entity" methods
...
move it to Diaspora::Federation::Entities and use it in some tests, but most of the tests can be removed later.
2016-06-26 06:20:58 +02:00
Steffen van Bergerem
b1943f1e46
Redesign default.haml and add a podmin welcome page
2016-06-20 02:03:53 +02:00
Jonne Haß
1ef3c1387b
Merge pull request #6872 from denschub/autolink-with-rel-noopener
...
Add rel="noopener noreferrer" to autolinks
2016-06-19 16:21:04 +02:00
Jonne Haß
35a4998707
Merge branch 'stable' into develop
2016-06-19 16:14:13 +02:00
Dennis Schubert
898c3d404f
Throw exception if no templateName gets provided but allow setting templateName to false explicitly
...
closes #6877
2016-06-19 16:14:00 +02:00
Dennis Schubert
652050a87e
Add rel="noopener noreferrer" to autolinks
2016-06-19 13:43:43 +02:00
Dennis Schubert
eb1e1e1263
Merge pull request #6768 from svbergerem/poltergeist
...
Use Poltergeist instead of Selenium
2016-06-19 11:43:50 +02:00
Steffen van Bergerem
629e6382ec
Use Poltergeist instead of Selenium
2016-06-19 01:53:18 +02:00
Dennis Schubert
61fb7410cc
Merge pull request #6844 from cmrd-senya/unique-aspect-visibilities
...
Fix possible duplication of AspectVisibility
2016-06-19 01:49:41 +02:00
Dennis Schubert
49395c0a11
Merge pull request #6812 from cmrd-senya/6811-visibilities-id-overlap
...
Don't include wrong shareable types in scopes
2016-06-19 01:40:01 +02:00
Steffen van Bergerem
657eec29f0
Update status message text after prefilling mentions
2016-06-18 23:29:59 +02:00
Dennis Schubert
520d80cc1a
Merge branch 'stable' into develop
2016-06-09 03:19:35 +02:00
Steffen van Bergerem
a14c61300e
Remove the publisher from the photos page
...
closes #6851
2016-06-09 03:17:52 +02:00
Steffen van Bergerem
8c8368d813
Merge pull request #6848 from cmrd-senya/6841-likes-from-profile
...
Fix like and reshare from the profile page
2016-06-08 23:26:06 +02:00
SansPseudoFix
5bac12d164
6853 fix usernames overflox
2016-06-07 13:02:44 +02:00
cmrd Senya
3b8b04ada8
Fix like and reshare from the profile page
...
Fix class assignment in the mobile view of profile page. Add a
cuke testing the "liking from the profile view" feature.
2016-06-06 19:00:13 +03:00
cmrd Senya
204f58e6a7
Remove repetion of shareable initialization code
2016-05-31 21:16:13 +03:00
cmrd Senya
717554edac
Fix possible duplication of AspectVisibility
...
No uniqueness control on AspectVisibility resulted in possible having
multiple AspectVisibility objects in the DB for the same aspect and
shareable which doesn't make sense. Introduce uniqueness validation
and fix up tests where duplication happened.
2016-05-27 20:22:03 +03:00
Steffen van Bergerem
1de7f8ea9e
Fix message content overflow in conversations
2016-05-13 01:18:16 +02:00
Dennis Schubert
53808847a2
Merge branch 'stable' into develop
2016-05-07 18:52:34 +02:00
Ralin Chimev
1773e3e35d
Do not change notification timestamp when making it read or unread.
...
Marking a notification as unread resets the timeago stamp causing
the times to look wrong. It can be reproduced by marking an old
notification as unread. Using the update_column instead of
update_attribute will not touch the updated_at attribute, and
thus will not affect the updated time ago in the view.
Fixes #6798 .
closes #6821
2016-05-07 18:52:27 +02:00
Dennis Schubert
209cd783c8
Merge pull request #6816 from cmrd-senya/publisher-refactor
...
A minor refactor of the Publisher
2016-05-06 02:23:54 +02:00
Dennis Schubert
230ec02ad7
Merge branch 'stable' into develop
2016-05-06 02:20:38 +02:00
sjain1107
4cd2f1d9c1
Add inviter diaspora-ID to the invite email #6796
...
closes #6817
2016-05-06 02:20:31 +02:00
Steffen van Bergerem
2263abdc82
Merge branch 'stable' into develop
2016-05-05 17:59:51 +02:00
Senya
ce6b1a3c0c
Clear unused regex in mention.rb
...
The REGEX is unused
closes #6810
2016-05-05 17:59:37 +02:00
Ralin Chimev
5dfd242eeb
Fix typo in _flash_messages.scss
...
There is a missing s in „&.alert-success“.
Fixes #6797 .
2016-05-04 17:24:55 +03:00
Steffen van Bergerem
87da8f96d9
Merge pull request #6670 from Flaburgan/fix-horizontal-scrolling-mobile
...
Fix horizontal scrolling on mobile profile
2016-05-04 01:24:56 +02:00
cmrd Senya
ab718dbbc6
A minor refactor of the Publisher
...
There was a minor copy-paste issue with publisher_public and
publisher_explain methods. Fix it and do a little refactoring
of the publisher's code.
2016-04-28 21:45:49 +03:00
Dennis Schubert
e9fb29eba4
Merge pull request #6803 from Flaburgan/5396-fix-error-message-on-mobile-upload
...
Fix error message on mobile image upload, close #5396
2016-04-21 07:25:37 +02:00
Dennis Schubert
2b5f20ef93
Merge pull request #6784 from cmrd-senya/deletion-redirect-fixup
...
Redirect to "/users/sign_in" after AccountDeletion
2016-04-21 07:23:19 +02:00
Dennis Schubert
d6171e53c3
Merge pull request #6778 from Zauberstuhl/facebook_review_changes
...
Changes for my successful facebook reviews
2016-04-21 06:50:57 +02:00
fla
96e0635bff
Fix error message on mobile image upload, close #5396
2016-04-18 20:54:32 +02:00
Flaburgan
52d1084cb1
Fix back to top icon not appearing on webkit browsers
2016-04-13 22:14:39 +02:00
Flaburgan
f2b75af08c
Back to top arrow redesign
2016-04-13 20:11:44 +02:00
Flaburgan
3e95dee58c
Fix back to top icon not appearing on webkit browsers
2016-04-11 11:33:07 +02:00
Steffen van Bergerem
75384d50a7
Improve search and mentions suggestions
2016-04-08 01:23:55 +02:00
cmrd Senya
77bd220e24
Redirect to "/users/sign_in" after AccountDeletion
...
There is no point to redirect to "/stream" after the account deletion
because the user is logged off.
2016-04-07 12:02:46 +03:00
fla
64ed7e9183
Remove bootstrap on mobile photos page
2016-04-03 18:40:50 +02:00
fla
bcf682d8ee
Fix horizontal scrolling on mobile profile
2016-04-03 18:40:50 +02:00
Lukas Matt
b9cf5995b8
Use provider name in translation
2016-03-31 13:18:35 +02:00