Commit graph

697 commits

Author SHA1 Message Date
Benjamin Neff
18a23df8d5
Use Nokogiri::XML() instead of Nokogiri::XML::Document.parse() 2017-05-10 02:37:25 +02:00
Benjamin Neff
cd3a7abf4d
Remove sign-code from SignedRetraction and RelayableRetraction
Second step of #27
2017-05-10 02:37:24 +02:00
Benjamin Neff
e5b2ef71e8
Send MagicEnvelope as body with correct Content-Type
Related to #30
2017-05-10 02:37:24 +02:00
Benjamin Neff
1f99518706
Remove additional MagicEnvelope wrapper with diaspora header
Related to #30
2017-05-10 02:37:24 +02:00
Benjamin Neff
221d87d7fe
Send unwrapped entities
Remove the <XML><post>...</post></XML> wrapper.

Second step of #28
2017-05-10 02:37:24 +02:00
Benjamin Neff
52a8c89d4c
Send new property names in XML
Second step of #29
2017-05-10 02:37:24 +02:00
Benjamin Neff
87033e4cd6
Remove legacy signature ordering
Relayables are now ordered by the order of the properties of the entity.

Related to #26, but still compatible with pods older than 0.6.3.0.
2017-05-10 02:37:22 +02:00
Benjamin Neff
41ebe13126
Make Participation entity non-relayable
Fixes #35
2017-05-10 02:36:29 +02:00
Benjamin Neff
b7167b9fde
Make Message entity non-relayable
Related to #36
2017-05-10 02:35:16 +02:00
Benjamin Neff
46bff6887a
Bump dependency gems and update gemfiles 2017-05-10 02:25:41 +02:00
Benjamin Neff
9a9fada609
Bump nokogiri 2017-05-10 02:24:57 +02:00
Benjamin Neff
bb279e135f
Bump rspec 2017-05-10 02:23:30 +02:00
Benjamin Neff
8cc126db8f
Bump pronto 2017-05-10 02:21:20 +02:00
Benjamin Neff
2245e0b403
Update binstubs
Add new binstubs for: bundle, pronto and rubocop
2017-05-02 23:42:42 +02:00
Benjamin Neff
93d59fd8a8
Update gemfiles for travis 2017-05-01 02:30:24 +02:00
Benjamin Neff
52ffecc0da
Bump rails 2017-05-01 02:28:19 +02:00
Benjamin Neff
8f2ace1d36
Bump pronto 2017-05-01 02:23:09 +02:00
Benjamin Neff
a32cf6be1f
Bump nyan-cat-formatter 2017-05-01 02:22:32 +02:00
Benjamin Neff
f8c3867262
Merge branch 'master' into develop 2017-05-01 01:57:40 +02:00
Benjamin Neff
cac3ba77d9
Release version 0.1.9 2017-05-01 01:52:45 +02:00
Benjamin Neff
f318c890d6
Update changelog for 0.1.9 2017-04-30 23:42:19 +02:00
Benjamin Neff
8859c960ac
Don't log encrypted private messages
Rails logs the content of received json as parameters, but this is a bad
idea for federation messages. It only makes the logfiles bigger without
any benefit, because it's encrypted anyway ...
2017-04-30 23:34:19 +02:00
Benjamin Neff
83a6434c32
Merge pull request #60 from SuperTux88/cleanup-webfinger-deprecations
Cleanup webfinger deprecations
2017-04-27 01:55:38 +02:00
Benjamin Neff
9d5bb53267
Merge pull request #59 from SuperTux88/public-profile
Add public flag to profile entity
2017-04-27 01:48:36 +02:00
Benjamin Neff
c29ac761b3
Exclude rake tasks from packaging 2017-04-24 22:37:57 +02:00
Benjamin Neff
d2771ffdf2
Bump yard 2017-04-24 22:33:20 +02:00
Benjamin Neff
c2bf685f81
Bump pronto and pronto-rubocop 2017-04-24 22:30:35 +02:00
Benjamin Neff
b788fbdad1
Remove more backward-compatibility code for discovery
This was needed for pods older than 0.5.2.0
2017-04-24 02:37:06 +02:00
Benjamin Neff
a3ad1ea7e4
Remove deprecated guid and public key from webfinger
Closes #39

This breaks compatibility with pods older than 0.5.3.0
2017-04-24 02:36:36 +02:00
Benjamin Neff
f08db93d74
Fail when no-rails.Gemfile.lock contains a rails dependency
Since all rails dependencies somehow depend on activesupport, we only
need to check for activesupport :)
2017-04-24 00:05:46 +02:00
Benjamin Neff
e81acd0a0f
Add public flag to profile entity 2017-04-23 23:18:17 +02:00
Benjamin Neff
df1c9b0350
Bump dependency gems and update gemfiles 2017-04-22 23:48:24 +02:00
Benjamin Neff
2c8cd4aa13
Bump webmock 2017-04-22 23:47:05 +02:00
Benjamin Neff
3eab161119
Bump rubocop
Use old style for Style/PercentLiteralDelimiters for now. Maybe we can
change this in the future, because the ruby style guide suggests to
use `[]`.

See: https://github.com/bbatsov/ruby-style-guide#percent-literal-braces
2017-04-22 23:42:19 +02:00
Benjamin Neff
46a67f4ffa
Bump pronto-rubocop 2017-04-22 23:32:19 +02:00
Benjamin Neff
de8f39825d
Bump faraday 2017-04-22 23:29:30 +02:00
Benjamin Neff
c31f076b10
travis: Bump ruby versions 2017-04-22 23:27:18 +02:00
Benjamin Neff
5ad1bd32c9
Merge pull request #58 from SuperTux88/rspec-without-rails
rspec without rails
2017-04-19 00:03:52 +02:00
Benjamin Neff
e238edf4ec
Don't use hash.transform_values
It's only available in ruby >= 2.4
2017-04-05 03:37:20 +02:00
Benjamin Neff
9daf1d495e
Update .travis.yml to build all gemfiles 2017-04-05 03:31:06 +02:00
Benjamin Neff
bb3a4e0b2a
Generate gemfiles 2017-04-05 03:22:13 +02:00
Benjamin Neff
e6e9893c1f
Make rspec work without rails dependency 2017-04-05 02:02:04 +02:00
Benjamin Neff
1f067c62a7
Generate default users only once and reset db after each test 2017-04-05 00:36:53 +02:00
Benjamin Neff
696f50f40d
Replace String#indent from activesupport with helper method 2017-04-05 00:36:53 +02:00
Benjamin Neff
40919b4c69
Create change_time helper method
Time#change is an activesupport feature

Also: Use seconds instead of Numeric#minute and Numeric#hour
2017-04-05 00:36:53 +02:00
Benjamin Neff
ccd4b7eceb
Extract helper methods 2017-04-05 00:36:52 +02:00
Benjamin Neff
f860a62382
Only set actionpack as dependency for diaspora_federation-rails 2017-04-05 00:36:52 +02:00
Benjamin Neff
3ce908e713
Fix typo in rspec-persistence.txt 2017-04-05 00:36:52 +02:00
Benjamin Neff
26cfe7090b
Cleanup dummy rails app 2017-04-05 00:36:52 +02:00
Benjamin Neff
b0f6131527
Remove active_record and save models in-memory
Simple inmemory "database" to be independent from active_record.
2017-04-05 00:36:52 +02:00