Benjamin Neff
|
4ded6da139
|
Entity#to_h returns nested entities as hash
|
2016-05-30 03:22:07 +02:00 |
|
Benjamin Neff
|
38922d5f30
|
add string representation to entities for better and easier logging
|
2016-05-15 00:11:04 +02:00 |
|
Benjamin Neff
|
c9d0b978d4
|
add validators for empty arrays
|
2016-04-29 03:59:24 +02:00 |
|
Benjamin Neff
|
1d4d3d732d
|
use shorter callback keys for key-callbacks
|
2016-03-29 02:42:19 +02:00 |
|
Benjamin Neff
|
2db0931ce5
|
write more tests for retractions
|
2016-03-29 02:30:43 +02:00 |
|
Benjamin Neff
|
23fc8dc180
|
use related entity as parent for relayables
|
2016-03-28 17:46:37 +02:00 |
|
Benjamin Neff
|
ca0a853134
|
return MagicEnvelope after parsing a Slap
|
2016-03-21 01:05:13 +01:00 |
|
Benjamin Neff
|
3a83dc97ac
|
use author_id from slap to fetch pubkey in magic-env
|
2016-03-20 17:16:08 +01:00 |
|
Benjamin Neff
|
d83b6f14f5
|
create entity fetcher for public entities
|
2016-03-15 02:17:04 +01:00 |
|
Benjamin Neff
|
57ed20719f
|
add created_at to comment entity
this is a preparation for diaspora/diaspora#4269
|
2016-03-08 03:08:28 +01:00 |
|
Benjamin Neff
|
823db3ee18
|
refactoring xml generation
also refactoring `xml_name`
|
2016-02-18 03:17:08 +01:00 |
|
Benjamin Neff
|
5ebda543a1
|
change diaspora_id to author
see #29
|
2016-02-10 03:17:10 +01:00 |
|
Benjamin Neff
|
76f6929668
|
add unknown xml elements to the xml again
|
2016-02-06 02:35:26 +01:00 |
|
Benjamin Neff
|
cf5da6e1ab
|
move guid and diaspora_id to Relayable
|
2016-02-03 01:59:14 +01:00 |
|
Benjamin Neff
|
eb486b2a18
|
improve dummy app callbacks
|
2016-02-03 00:47:21 +01:00 |
|
Benjamin Neff
|
b19e1b8e52
|
move signing logic for relayables to Relayable
refactoring exceptions for relayables
|
2016-01-31 20:22:51 +01:00 |
|
Benjamin Neff
|
583d567d67
|
bump rubocop and pronto-rubocop
make some refactorings for new cops
|
2016-01-19 01:32:22 +01:00 |
|
Benjamin Neff
|
c7f33d7cf4
|
rename 'pkey' to 'privkey' and 'pubkey'
|
2016-01-13 02:20:49 +01:00 |
|
cmrd Senya
|
91c3753019
|
Add signature computation for entities support
|
2015-11-22 23:40:46 +03:00 |
|
cmrd Senya
|
b9b5ee6f7d
|
Do the same generalization for Relayable for validators taking
into account that "author_signature" and "parent_author_signature"
are allowed to be empty, actually.
|
2015-11-13 17:44:45 +03:00 |
|
cmrd Senya
|
f12a4c21db
|
Merge all the entities left from the @Raven24's gem.
These are: AccountDeletion, Comment, Conversation, Like, Message,
RelayableRetraction, Reshare, Retraction, SignedRetraction
|
2015-11-06 01:50:04 +03:00 |
|
cmrd Senya
|
761534f13c
|
DRY specs more by introducing "a property with data-types restriction" shared behavior
|
2015-11-05 17:27:31 +03:00 |
|
cmrd Senya
|
9391d4b9eb
|
Reduce the entity stubs initialization calls to a single entity_stub
to make the code more DRY
|
2015-11-03 01:23:10 +03:00 |
|
cmrd Senya
|
9cb6fe4d1b
|
Some more code merged from the @Raven24's gem. The code is
related to the request, status_message, participation, photo and
location entities, its validators and tests for all of the things.
|
2015-11-03 00:39:30 +03:00 |
|
Benjamin Neff
|
d5041912f3
|
refactored shared_entity_specs.rb
|
2015-10-28 03:04:17 +01:00 |
|
Benjamin Neff
|
42e994e01e
|
use xml_name when parsing an entity
|
2015-10-28 02:53:17 +01:00 |
|
Benjamin Neff
|
60cf4ca64f
|
refactoring AES part and add specs
|
2015-10-25 01:21:42 +02:00 |
|
Benjamin Neff
|
0848ada216
|
add more shared examples
|
2015-09-27 03:17:45 +02:00 |
|
Benjamin Neff
|
8c63655886
|
allow nil for diaspora_id in profile
refactor some tests
|
2015-08-06 02:21:49 +02:00 |
|
Benjamin Neff
|
2b8aad766d
|
add entities tests and shared examples for entities
|
2015-07-29 01:48:50 +02:00 |
|
Benjamin Neff
|
c15fee279c
|
extend profile validator
|
2015-07-28 02:06:46 +02:00 |
|
Benjamin Neff
|
c1e700d560
|
add own URI validation rule that allows nil
|
2015-07-27 03:47:56 +02:00 |
|
Benjamin Neff
|
d7a5e71ce6
|
refactor shared examples and use more of them
|
2015-07-27 01:38:11 +02:00 |
|
Benjamin Neff
|
0deb74c103
|
refactor: rename diaspora_handle to diaspora_id
diaspora uses the new wording "diaspora ID" instead of "diaspora handle"
|
2015-07-23 01:22:23 +02:00 |
|
Benjamin Neff
|
2301b1433e
|
add validators from raven24
|
2015-07-20 03:43:54 +02:00 |
|
Benjamin Neff
|
3a94930dcd
|
add test for Discovery
|
2015-07-18 23:19:30 +02:00 |
|
Benjamin Neff
|
002f3d2683
|
some rubocop fixes
|
2015-06-23 01:17:51 +02:00 |
|
Benjamin Neff
|
b1b98adb21
|
generate fixtures
|
2015-06-23 00:01:13 +02:00 |
|
Benjamin Neff
|
cd563dd337
|
add fixtures
|
2015-06-15 02:49:54 +02:00 |
|