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
Benjamin Neff
3ce0a5eb2d
Bump rake
2017-09-16 02:54:42 +02:00
Benjamin Neff
23fcf11acb
Update documentation for the future of reshares
...
See #83
2017-09-14 00:10:26 +02:00
Benjamin Neff
c32406f279
Merge pull request #86 from denschub/diaspora-id-regex
...
Tighten the validation of diaspora* IDs
2017-09-13 13:15:44 +02:00
Dennis Schubert
f9b24b15f8
Disallow diaspora* IDs longer than 255 characters
2017-09-13 12:35:08 +02:00
Dennis Schubert
b83619cd2c
Disallow uppercased usernames and hostnames
...
Drive-by: replaced some of the parts by named POSIX character classes to
make the regex easier to read.
2017-09-13 12:05:49 +02:00
Dennis Schubert
4f87ab1582
Add tests for not validating uppercase characters
2017-09-13 11:51:34 +02:00
Dennis Schubert
c73e0eb14b
Merge branch 'master' into develop
2017-09-13 08:09:05 +02:00
Benjamin Neff
4f48f43455
Add author parameter for diaspora:// URLs to the documentation
2017-09-13 08:08:58 +02:00
Dennis Schubert
0a358c8724
Merge pull request #85 from SuperTux88/add-author-to-diaspora-url
...
Add author to diaspora:// URL
2017-09-13 08:08:35 +02:00
Benjamin Neff
67a2ba7449
Add author parameter for diaspora:// URLs to the documentation
2017-09-12 23:46:43 +02:00
Benjamin Neff
b6ec405e55
Add author to the diaspora:// URL parser
2017-09-12 23:46:42 +02:00
Benjamin Neff
e663a65c7e
Remove not_nil for diaspora IDs from validators
...
The diaspora ID validator now is not nil by default.
Also:
* mark root_author as optional for reshares.
* make author for profiles mandatory (I don't remember why this was
optional, we never generate a profile without author and we wouldn't
receive a profile without author anyway, because we validate that the
author is the sender).
* refactor validator specs for diaspora IDs
2017-09-12 23:11:05 +02:00
Benjamin Neff
5e3f510a88
Refactor diaspora ID regex to be used in diaspora:// URL regex
2017-09-12 23:11:05 +02:00
Benjamin Neff
92dc8b0277
Fix GUID regex
2017-09-12 21:24:50 +02:00
Benjamin Neff
30859e54b4
Fix css for warning_box include
2017-09-12 01:01:34 +02:00
Benjamin Neff
35efeb8345
Move public flag from status_message to post
...
This represents the current state of the documentation.
2017-09-12 00:45:59 +02:00