Commit graph

829 commits

Author SHA1 Message Date
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
Benjamin Neff
b1b511b6f7
Remove public and provider_display_name from reshare entity
Also don't extend from Post module anymore to represent the future state
of a reshare as it's own type only used to increase the reach of a post.

See #83
2017-09-12 00:13:21 +02:00
Benjamin Neff
b968e37357
Improve documentation for profile entity 2017-09-11 21:38:46 +02:00
Benjamin Neff
834d358eca
Allow to receive non-public profiles without private data 2017-09-11 21:38:46 +02:00
cmrd Senya
0b07b36017
Merge pull request #74 from SuperTux88/parse-rfc-7033-webfinger
Parse RFC 7033 webfinger
2017-09-10 16:30:38 +03:00
Benjamin Neff
f24dd528ee
Add option for RFC 7033 WebFinger http fallback 2017-09-10 03:08:13 +02:00
Benjamin Neff
80e4844654
Update documentation for RFC 7033 WebFinger 2017-09-10 03:08:12 +02:00
Benjamin Neff
3e7e649025
Fetch RFC 7033 WebFinger with fallback to legacy WebFinger 2017-09-10 03:08:12 +02:00
Dennis Schubert
1d195a0401
Merge branch 'master' into develop 2017-09-09 15:05:52 +02:00
Benjamin Neff
40ad6546bc
Add documentation for the diaspora:// URI scheme 2017-09-09 15:05:39 +02:00
Dennis Schubert
ad21e21669
Merge pull request #78 from SuperTux88/fetch-linked-posts
Fetch posts linked with diaspora:// URLs
2017-09-09 15:01:42 +02:00
Benjamin Neff
6852f9ca36
Add support to parse RFC 7033 WebFinger JSON
Also:
* Fix date format when generating JRD document
* Sort elements always with the same order
2017-09-05 22:56:22 +02:00
Benjamin Neff
b1a5c13a08
Add documentation for the diaspora:// URI scheme 2017-09-04 23:48:31 +02:00
Benjamin Neff
add5e16abf
Fetch linked entities from received entities with text 2017-09-04 23:48:31 +02:00
Benjamin Neff
0b927290e3
Add DiasporaUrlParser to extract diaspora:// URLs from texts 2017-09-04 23:48:31 +02:00