Hank Grabowski
d6915ff5d0
Likes API endpoint complete
2018-11-01 11:06:45 -04:00
Frank Rousseau
4370315d6c
Fix post controller test
2018-11-01 13:56:18 +01:00
Frank Rousseau
a7ea3ba254
Adapt error formatting to documentation
2018-11-01 13:56:18 +01:00
Frank Rousseau
c1ece44c53
Make Post API match specs
...
https://diaspora.github.io/api-documentation/routes/posts.html
2018-11-01 13:56:18 +01:00
Frank Rousseau
bcbcf6bce3
Make the comment API match the API specs
2018-11-01 13:56:18 +01:00
Frank Rousseau
348790292b
Make API likes controller match specs
2018-11-01 13:56:18 +01:00
Frank Rousseau
797afb1c9b
Changes to use V1 API version instead of V0
2018-11-01 13:56:18 +01:00
Frank Rousseau
3532a340c2
Fix code styles
2018-11-01 13:56:18 +01:00
Frank Rousseau
b00df8c2e7
Adapt API tests to recent changes
2018-11-01 13:56:18 +01:00
Frank Rousseau
50e034769f
Make syntax compliant with the pronto configuration
2018-11-01 13:56:18 +01:00
Frank Rousseau
71d324a8e4
Follow official specs
2018-11-01 13:56:18 +01:00
Frank Rousseau
3f00195eed
Merge conv deletion and visibility deletion
2018-11-01 13:56:18 +01:00
Frank Rousseau
bbbe3aea7f
Make messages API conformed with docs
2018-11-01 13:56:18 +01:00
Frank Rousseau
454be1b468
Make conversation API data format ok with docs
...
* Base the API requesting on GUID instead of ID
* Include read field
* Do not include messages in conversation results
2018-11-01 13:56:18 +01:00
Frank Rousseau
d03b830b07
Fix styles for some API controllers
...
* Comments
* Likes
* Streams
2018-11-01 13:56:18 +01:00
Frank Rousseau
84f972b368
Add conversation visibilities API controller
2018-11-01 13:56:18 +01:00
Frank Rousseau
43a8cbff5d
Add messages API controller
2018-11-01 13:56:18 +01:00
Frank Rousseau
0af04a5c1e
Add conversations API controller
2018-11-01 13:56:18 +01:00
theworldbright
e84e3e64c6
Add likes API route
2018-11-01 13:56:18 +01:00
theworldbright
44742109b0
Add streams API routes
2018-11-01 13:56:18 +01:00
theworldbright
ea3395378f
Combine Comment index with Post show API route
2018-11-01 13:56:18 +01:00
theworldbright
47c7de22ae
Add comments API routes
2018-11-01 13:56:18 +01:00
theworldbright
c432bb4891
Add posts API routes
2018-11-01 13:56:18 +01:00
Benjamin Neff
e82690963d
Add # frozen_string_literal: true to all files
2017-09-17 19:29:15 +02:00
Benjamin Neff
2a6515fab9
Add params keyword to controller specs
2017-08-12 15:39:23 +02:00
Justin Ramos
fa71af71c1
require spec_helper in .rspec
...
closes #7223
2016-11-27 21:27:12 +01:00
theworldbright
a76f51a6a5
Use redirect_uri if no sector identifier for ppid
...
As according to http://openid.net/specs/openid-connect-core-1_0.html#PairwiseAlg :
"If the Client has not provided a value for
sector_identifier_uri in Dynamic Client Registration
[OpenID.Registration], the Sector Identifier used
for pairwise identifier calculation is the host
component of the registered redirect_uri."
2016-01-04 16:49:55 +09:00
theworldbright
6e1a673459
Replace let!() with factory girl
2016-01-04 16:49:52 +09:00
theworldbright
99d6d7b3e7
Add pairwise pseudonymous identifier support
...
Squashed commits:
[a182de7] Fix pronto/travis errors
2016-01-04 16:49:51 +09:00
theworldbright
d834a1d4d0
Replace user info endpoint with supported claims
...
The route /api/v0/user/ will now be used as a
non-OIDC route. In other words, the /api/v0/user/
will require the "read" scope while
/api/openid_connect/user_info/ will require the
"openid" scope
2016-01-04 16:49:51 +09:00
theworldbright
bc5e5c7420
Fix pronto errors
2016-01-04 16:49:51 +09:00