Benjamin Neff
8ef21d52a0
Bump fabrication
2018-01-26 23:33:18 +01:00
Dennis Schubert
58de2c2bf1
Merge pull request #95 from SuperTux88/fix-invalid-signatures-for-relayables
...
Fix relayable signatures for messages with invalid XML characters
2018-01-25 02:10:59 +01:00
Benjamin Neff
392f1f5a18
Fix relayable signatures for messages with invalid XML characters
...
Sometimes messages contain characters that are invalid for XML, but they
are filteres out before creating the XML, otherwise the property would
be empty in the XML.
But for relayables the value is also used for creating the signatures,
so we need to filter the invalid characters earlier, before calculating
the signature.
2018-01-25 01:52:34 +01:00
Benjamin Neff
63f1cbd70a
Add edited_at property to event messages
2018-01-23 03:12:38 +01:00
Benjamin Neff
057ebd69f0
Add edited_at property to the profile message
...
This is needed so we can make sure to not overwrite newer data by older
one, for example when there are two edits close together and the newer
arrives faster.
2018-01-23 03:12:26 +01:00
Benjamin Neff
8563855be1
Add edited_at property to entities with a text property
2018-01-22 04:26:29 +01:00
Benjamin Neff
0ff382248a
Fix warning about shared example group 'a signable' been defined twice
2018-01-22 04:13:45 +01:00
Benjamin Neff
f735edadc3
Merge pull request #92 from SuperTux88/update-gems
...
Update gems
2018-01-19 02:10:07 +01:00
Benjamin Neff
13ae8251c3
Bump ruby versions on travis and add ruby 2.5
2018-01-19 01:48:07 +01:00
Benjamin Neff
509b62c360
Bump dependency gems and update gemfiles
2018-01-18 04:20:51 +01:00
Benjamin Neff
b0cec50172
Bump fabrication
2018-01-18 04:19:09 +01:00
Benjamin Neff
98ff15591e
Bump rubocop
2018-01-18 04:00:20 +01:00
Benjamin Neff
09b36924c3
Bump yard
2018-01-18 03:27:34 +01:00
Benjamin Neff
31f0b1e410
Bump webmock
2018-01-18 03:27:10 +01:00
Benjamin Neff
1a40f11c73
Bump rspec and rspec-rails
2018-01-18 03:24:47 +01:00
Benjamin Neff
dd86e74467
Bump rake
2018-01-18 03:22:01 +01:00
Benjamin Neff
83f555dbfd
Bump pry and pry-byebug
2018-01-18 03:21:33 +01:00
Benjamin Neff
9ef6273f60
Bump fuubar
2018-01-18 03:20:08 +01:00
Dennis Schubert
8014abd44c
Merge pull request #91 from SuperTux88/remove-conversation-participants-limit
...
Remove participants limit for conversations
2018-01-18 03:11:12 +01:00
Benjamin Neff
5e81760f30
Remove participants limit for conversations
...
The limit was added in 2012 to prevent spam, but since the participants
need to be a mutual contact with the author nowadays, I don't think it's
a spam problem anymore.
I also added a validation for the minimum count of the participants,
because a conversion without participants doesn't make much sense.
2018-01-18 02:50:04 +01:00
cmrd Senya
03d779ef39
Merge pull request #90 from SuperTux88/fix-booleans-for-relayables
...
Fix when booleans in relayables are false
2018-01-10 16:31:31 +02:00
Benjamin Neff
e914419f40
Merge branch 'master' into develop
2017-12-29 20:39:04 +01:00
Benjamin Neff
022b2aabe4
Improve documentation for participation and like
2017-12-29 20:38:09 +01:00
Benjamin Neff
45dc3d5dc3
Refactor AccountMigration::Signable spec without mocking
2017-12-27 20:03:59 +01:00
Benjamin Neff
d9a02119b8
Merge pull request #89 from cmrd-senya/account_migration_changes
...
Extract singning of AccountMigration to a different module and introduce alternative form for account migration message
2017-12-27 20:03:17 +01:00
cmrd Senya
7e2321d6c9
Introduce alternative form of the account migration message
...
In the alternative form author can be the new diaspora user
2017-12-27 18:37:49 +02:00
cmrd Senya
69e523abd0
Extract account migration sign feature to a module
...
This module can be used to compute account migration signature in other
objects besides Entities::AccountMigration. For instance this is to be
used in AccountMigration model of diaspora* web application.
2017-12-27 18:37:48 +02:00
Senya
c8568f7256
Merge pull request #80 from SuperTux88/blocking-flag
...
Add blocking flag to contact message
2017-12-23 17:08:48 +02:00
Benjamin Neff
7503e9a804
Fix when booleans in relayables are false
...
This was a problem with dislikes.
It's safe to use `to_s` here, because we have only strings, numbers and
booleans here anyway, because relayables don't support nested entities.
`to_s` is used to generate the `signature_data` string too.
2017-11-05 01:12:19 +01:00
Benjamin Neff
3cffc9d1d2
Release version 0.2.2
2017-09-23 02:19:44 +02:00
Benjamin Neff
6a9b87166d
Update JSON schemas for github-pages
2017-09-23 02:18:13 +02:00
Benjamin Neff
e13b73656a
Update changelog for 0.2.2
2017-09-23 02:17:55 +02:00
Benjamin Neff
c5e9e8bde7
Bump nokogiri
2017-09-23 01:41:18 +02:00
Benjamin Neff
cf491c25d0
Bump pry
2017-09-23 01:39:29 +02:00
Benjamin Neff
142950c99e
Merge pull request #84 from SuperTux88/reshare-remove-public-flag
...
Reshare remove public flag
2017-09-23 01:38:11 +02:00
Benjamin Neff
470ff41caa
Add @raise to Fetcher.fetch_public method documentation
2017-09-23 01:36:57 +02:00
Senya
181d11d2f5
Merge pull request #87 from SuperTux88/fetch-only-once
...
Don't fetch the same entity twice in the same thread
2017-09-23 02:25:53 +03:00
Benjamin Neff
8535cfc1df
Don't fetch the same entity twice in the same thread
2017-09-23 01:19:10 +02:00
Senya
0b358a6c44
Merge pull request #81 from SuperTux88/relay-likes-for-comments
...
Relay likes for comments
2017-09-23 00:33:11 +03:00
Benjamin Neff
0801d4b260
Update documentation to describe the behavior with the root entity
2017-09-22 21:45:52 +02:00
Benjamin Neff
61c00b3596
Use top parent when relaying relayables of relayables
2017-09-22 21:30:09 +02:00
Benjamin Neff
b25e21f980
Add method to get the top entity to RelatedEntity
2017-09-22 21:30:09 +02:00
Senya
cddb4610c0
Merge pull request #79 from SuperTux88/validate-public-flag-for-profiles
...
Allow to receive non-public profiles without private data
2017-09-22 14:11:58 +03:00
Benjamin Neff
3b3f6ad589
Fetch linked entities before saving
2017-09-21 02:53:33 +02:00
Benjamin Neff
86ba5b619b
Fix overly strict dependencies
2017-09-16 04:36:29 +02:00
Benjamin Neff
259745f41e
Bump dependency gems and update gemfiles
2017-09-16 03:31:07 +02:00
Benjamin Neff
5bf0087e0a
Bump rubocop
...
... and update the config and code for the new version.
2017-09-16 03:23:41 +02:00
Benjamin Neff
6255260996
Bump simplecov
2017-09-16 02:56:17 +02:00
Benjamin Neff
ca93f0a30b
Bump pry-byebug
2017-09-16 02:55:44 +02:00
Benjamin Neff
f8711e9c05
Bump rails
2017-09-16 02:55:03 +02:00