From 79a9f1509c4430f6e65c67e41098ef7aaa227c3f Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 4 Jul 2019 14:31:22 +0300 Subject: Render email using templates * do not include tracking pixel in pm * reorganize snapshots layout * reconfigure pebble to not trim anything --- src/test/resources/mocks/activity/testfollow.json | 15 ------------- src/test/resources/mocks/activity/testuser.json | 27 ----------------------- 2 files changed, 42 deletions(-) delete mode 100644 src/test/resources/mocks/activity/testfollow.json delete mode 100644 src/test/resources/mocks/activity/testuser.json (limited to 'src/test/resources/mocks') diff --git a/src/test/resources/mocks/activity/testfollow.json b/src/test/resources/mocks/activity/testfollow.json deleted file mode 100644 index e308e52e..00000000 --- a/src/test/resources/mocks/activity/testfollow.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "@context": [ - "https://www.w3.org/ns/activitystreams", - "https://w3id.org/security/v1", - { - "schema": "http://schema.org#", - "PropertyValue": "schema:PropertyValue", - "value": "schema:value" - } - ], - "id": "https://example.com/12345678", - "type": "Follow", - "actor": "https://example.com/u/testuser", - "object": "http://localhost:8080/u/ugnich" -} \ No newline at end of file diff --git a/src/test/resources/mocks/activity/testuser.json b/src/test/resources/mocks/activity/testuser.json deleted file mode 100644 index 95fc2aa9..00000000 --- a/src/test/resources/mocks/activity/testuser.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "@context": [ - "https://www.w3.org/ns/activitystreams", - "https://w3id.org/security/v1", - { - "schema": "http://schema.org#", - "PropertyValue": "schema:PropertyValue", - "value": "schema:value" - } - ], - "id": "https://example.com/u/testuser", - "type": "Person", - "following": "https://example.com/u/testuser/following", - "followers": "https://example.com/u/testuser/followers", - "inbox": "https://example.com/u/testuser/inbox", - "outbox": "https://example.com/u/testuser/outbox", - "preferredUsername": "testuser", - "url": "https://example.com/@testuser", - "publicKey": { - "id": "https://example.com/u/testuser#main-key", - "owner": "https://example.com/u/testuser", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAiHKRdKFFeT4P/MVlNbxC\nbbgXOkEdeQzvJB/wAJgSYbUwm9SzNFzttePQXk3/MWoK2awWUInZTduVHsWt8zU7\nO3d9PAW6YH6L1oDkjgMLAb9aUWV2ClQWMwsn88WKK9Rb1WOmd8BrXjPfmeFK2ypQ\n9eg8aKpH36WAXiiaTDfBupBZ0Ki2+E87BrWxpbUeDC1dkV+zbl8BMm7X0rp+reoC\nYUWMcjQMzhMmQOXUd4zwJIDPZDMdF4beq/y6WPSUTVgjs4kPDS1HT60ATnsUqyPE\n6tuGxG4j0msb4TTre87PKxMU5YPOxSiqNL0O/3u9/2shVPpjDa/uy9W+VaeBHbFm\nSQIDAQAB\n-----END PUBLIC KEY-----\n" - }, - "endpoints": { - "sharedInbox": "https://example.com/inbox" - } -} \ No newline at end of file -- cgit v1.2.3