Commit graph

658 commits

Author SHA1 Message Date
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
Benjamin Neff
f8e7b2114f
Remove fixture_builder 2017-04-04 22:14:13 +02:00
Benjamin Neff
c0fbc83ccf
Remove rails4.rake 2017-04-04 22:14:13 +02:00
Benjamin Neff
7fe7a5da97
Don't generate file fixtures anymore
When we want to test without rails, we can't use the controllers to
generate them.

Also fixes the problem where there is still an old file fixture that
doesn't match the users in the database.
2017-04-04 22:14:13 +02:00
Benjamin Neff
184954e09c
Replace factory_girl with fabrication
factory_girl has activesupport as dependency
2017-04-04 22:14:13 +02:00
Benjamin Neff
b25e2293b0
Require "openssl" in diaspora_federation.rb 2017-04-04 22:09:25 +02:00
Benjamin Neff
ed2c2b7f47
Require "nokogiri" in diaspora_federation.rb 2017-04-03 03:45:29 +02:00
Benjamin Neff
433fe1a5e5
Bump faraday 2017-04-03 01:48:34 +02:00
Benjamin Neff
9aeda2151e
Merge pull request #57 from cmrd-senya/allow-empty-signature
Allow empty strings for signatures in JSON relayables
2017-04-01 02:45:22 +02:00
Benjamin Neff
ab8d5ee59f
Merge pull request #56 from cmrd-senya/patch-1
Don't use versioning in JSON schema id
2017-04-01 02:44:54 +02:00
cmrd Senya
7cc0112877
Allow empty strings for signatures in JSON relayables 2017-03-31 21:31:27 +03:00
Benjamin Neff
9c9e0de563
Bump dependency gems 2017-03-31 02:16:10 +02:00
Benjamin Neff
18498ff2bd
Bump rubocop 2017-03-31 02:14:58 +02:00
Benjamin Neff
d65423d9c1
Bump pronto 2017-03-31 01:40:36 +02:00
Benjamin Neff
afd0c7791d
Bump codeclimate-test-reporter 2017-03-31 01:38:54 +02:00
Benjamin Neff
667e851c2a
Bump nokogiri 2017-03-31 01:29:51 +02:00
Senya
43fd6cc7ff Don't use versioning in JSON schema id 2017-03-30 09:51:43 +03:00
Benjamin Neff
1fed7b501c
Merge pull request #54 from cmrd-senya/account_rename
AccountMigration entity
2017-03-26 01:37:06 +01:00
cmrd Senya
73a9b87607 A little fix to signature verification methods doc 2017-03-26 02:18:20 +02:00
cmrd Senya
626e59c68d AccountMigration entity
A new entity to use when diaspora ID of a person has changed for some
reason (e.g. account migration, pod hostname change, etc)
2017-03-26 02:18:20 +02:00
cmrd Senya
f23f4c0ea4 Introduce Signable module
Signable is a module that encapsulate basic signature logic for entities.
2017-03-26 02:18:19 +02:00
Benjamin Neff
423465c32f
Merge pull request #52 from cmrd-senya/to_json
Entity#to_json/.from_json methods
2017-03-24 00:32:59 +01:00
cmrd Senya
c58d076c96
Entity JSON serialization/deserialization feature 2017-03-23 13:55:19 +02:00
Benjamin Neff
e1ad855cd8
Release version 0.1.8 2017-03-02 21:05:56 +01:00
Benjamin Neff
483fef1b4e
Update changelog for 0.1.8 2017-03-02 21:05:15 +01:00
Benjamin Neff
11168b5032
Bump dependency gems 2017-03-02 20:47:27 +01:00
Benjamin Neff
9d2dceac5f
Bump simplecov 2017-03-02 20:46:41 +01:00
Benjamin Neff
e72939a37f
Bump pronto and pronto-rubocop 2017-03-02 20:45:57 +01:00
Benjamin Neff
32fe88ada9
Bump codeclimate-test-reporter 2017-03-02 20:44:40 +01:00
Benjamin Neff
b99c2d8df2
Bump rails 2017-03-02 20:44:14 +01:00
Benjamin Neff
ec22dc88ea Merge pull request #55 from cmrd-senya/patch-1
Update xml_serialization.md
2017-03-01 13:39:13 +01:00
Senya
49c1b5c96e Update xml_serialization.md
The link led to /federation/relayables.html which is 404. I suppose that "relayable.html" page was actually assumed here.
2017-03-01 14:23:18 +02:00
Benjamin Neff
2ba7ee9efa
Add AGPL-3.0 license text
to have the license displayed in the projects header and inside GitHubs
License API.
2017-02-12 20:56:37 +01:00
Benjamin Neff
1f3293a403
Remove "try", because it is a rails feature
Also "&." is only available on ruby >= 2.3 (can be used later)
2017-01-26 02:21:51 +01:00
Benjamin Neff
4ff91a56cc
Add "uuid" as dependency for diaspora_federation-test
Because it is used in the factories.
2017-01-25 02:37:51 +01:00
Benjamin Neff
68bddfcb82
Bump dependency gems 2017-01-24 03:53:33 +01:00
Benjamin Neff
3c63062f26
Bump codeclimate-test-reporter 2017-01-24 03:51:54 +01:00
Benjamin Neff
5580feb5a7
Bump spring 2017-01-24 03:51:41 +01:00
Benjamin Neff
4bc04977bd
Bump faraday_middleware 2017-01-24 03:51:22 +01:00
Benjamin Neff
7fa38bffa3 Update spring binstubs 2017-01-19 01:53:07 +01:00