Jonne Haß
b1f357849b
API: return post oEmbed data
2020-02-02 20:15:36 +01:00
Jonne Haß
5921cd0176
API: return post open graph metadata
2020-02-02 20:15:36 +01:00
Jonne Haß
8cae234f45
API: return own vote state in polls
2020-02-02 18:40:07 +01:00
Jonne Haß
fbd0a51829
API: return current users like, reshare and subcription status in post infos
2020-02-02 18:13:55 +01:00
Jonne Haß
9e762fcc31
Use full references in API JSON schema
...
We load another schema, https://diaspora.github.io/diaspora_federation/schemas/federation_entities.json ,
that has overlapping definitions, namely #/definitions/post. When the definition from that schema is accessed
first, the json-schema gem caches it and is not smart enough to give precedence to the definition
within the schema document that contains the reference. So for now we have to disambiguate the references
likes this
2020-02-02 18:03:51 +01:00
Jonne Haß
35bfbc9c82
Return missing created_at field on reshares endpoint
2020-01-24 16:58:32 +01:00
Jonne Haß
16b242fa0f
Drop chat_enabled from aspects API
2020-01-21 23:35:01 +01:00
Jonne Haß
9bb1a36e3d
Fix passing scope name to wrong scope openid connect error message
2020-01-21 23:35:01 +01:00
Jonne Haß
39c863ead9
Merge branch 'develop' into api
2020-01-21 23:35:01 +01:00
Jonne Haß
d08b31f2ed
OpenID: remove private profile data claims that are not returned anyway and fix return values for profile and picture
2020-01-21 23:34:43 +01:00
Jonne Haß
2f7acbe4b3
API: fix missing page parameter to integer conversion
2020-01-21 23:34:43 +01:00
Jonne Haß
6d6e846916
API: photo width and height are optional
2020-01-21 23:34:43 +01:00
Jonne Haß
cb679371ac
Merge branch 'develop' into api
2020-01-21 23:34:43 +01:00
Jonne Haß
16e754f4c7
API: don't return default avatar
2020-01-21 23:34:00 +01:00
Dennis Schubert
862fa38f8b
Remove the JSXC/Prosody integration.
...
As per discussion on https://discourse.diasporafoundation.org/t/removing-diaspora-s-current-chat-integration/2718 , nobody raised serious concerns or objections. Given future plans, we do not think having an unfinished implementation of something that likely will not get finished in the current form is worth it. So let's get rid of it.
2019-10-18 23:14:14 +02:00
NG
e3de008453
Do not show getting started after account import
2019-06-26 15:56:32 +05:30
Benjamin Neff
d5b7c6d779
Don't relay others relayable on archive import
2019-05-21 23:08:34 +02:00
Benjamin Neff
314239ff2a
Merge branch 'next-minor' into develop
2019-05-12 00:25:52 +02:00
Benjamin Neff
165b8f4f6e
Don't encrypt the OTP secret
...
It doesn't add any security to have this encrypted, but it adds
complexity for podmins, because they need to backup the key.
closes #8014
2019-05-12 00:06:28 +02:00
lislis
9d5b981809
Two factor authentication ( #7751 )
2019-04-28 23:24:40 +02:00
lislis
1da118780e
Two factor authentication ( #7751 )
2019-04-28 19:06:48 +02:00
cmrd Senya
3c94c1bd29
AuthorPrivateKeyValidator: support old serialization method of RSA keys
2019-04-27 19:17:54 +03:00
cmrd Senya
ee0c3e9865
Account import: add missing profile fields
2019-04-27 17:44:19 +03:00
Jonne Haß
9b8f10358a
Introduce JSON Schema for API responses and validate the responses against it
2019-04-27 16:01:54 +02:00
cmrd Senya
b5db8820d6
Account Migration rake task: render warnings with a newline
2019-04-27 15:13:14 +03:00
cmrd Senya
f7324adb9c
Account import: import profile data too
2019-04-27 15:13:14 +03:00
cmrd Senya
a3196a1089
ArchiveValidator: remove unused TODO
2019-04-26 20:33:21 +03:00
cmrd Senya
f85f167f50
Implement archive import backend
...
This implements archive import feature.
The feature is divided in two main subfeatures: archive validation and archive import.
Archive validation performs different validation on input user archive. This can be
used without actually running import, e.g. when user wants to check the archive
before import from the frontend. Validators may add messages and modify the archive.
Validators are separated in two types: critical validators and non-critical validators.
If validations by critical validators fail it means we can't import archive.
If non-critical validations fail, we can import archive, but some warning messages
are rendered.
Also validators may change archive contents, e.g. when some entity can't be
imported it may be removed from the archive.
Validators' job is to take away complexity from the importer and perform the validations
which are not implemented in other parts of the system, e.g. DB validations or
diaspora_federation entity validations.
Archive importer then takes the modified archive from the validator and imports it.
In order to incapsulate high-level migration logic a MigrationService is
introduced. MigrationService links ArchiveValidator, ArchiveImporter and
AccountMigration.
Also here is introduced a rake task which may be used by podmins to run archive
import.
2019-04-26 18:41:27 +03:00
Hank Grabowski
e127502be5
API Branch Final Cleanup Before PR
2018-12-30 22:33:04 +01:00
Hank Grabowski
9c730fc0f3
OpenID Scopes and Security updates
2018-12-30 22:33:04 +01:00
Hank Grabowski
a53495c9aa
API Paging library and used in appropriate controllers with full tests
2018-12-30 22:33:04 +01:00
Benjamin Neff
5b0066a426
Merge branch 'next-minor' into develop
2018-11-18 19:36:51 +01:00
Benjamin Neff
8e170ab976
Add retry on travis to reduce random failures
...
closes #7932
2018-11-18 19:34:41 +01:00
Benjamin Neff
0c2cd2ef1b
Merge branch 'next-minor' into develop
2018-11-04 03:07:50 +01:00
Benjamin Neff
2c56e447ed
Ignore invalid URLs for camo
...
When people only write `https://` as image URL, this would fail with
`Addressable::URI::InvalidURIError: Absolute URI missing hierarchical segment: 'https://'`.
closes #7922
2018-11-04 03:06:21 +01:00
Dennis Schubert
9bab794ea4
Merge branch 'next-minor' into develop
2018-10-08 02:50:36 +02:00
Benjamin Neff
fc6893d4fc
Remove facebook integration
...
Facebook removed the API and facebook integration is broken now, so lets
remove it.
closes #7874
2018-10-08 02:50:25 +02:00
Dennis Schubert
883eb54ecf
Merge branch 'next-minor' into develop
2018-09-30 18:00:57 +02:00
Benjamin Neff
d765b34018
Make sure URLs are encoded before sending them to camo
...
Otherwise camo crashes with:
TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters
closes #7871
2018-09-30 18:00:49 +02:00
Benjamin Neff
e5687dd7e0
Merge branch 'next-minor' into develop
2018-07-17 01:25:53 +02:00
Senya
2be60eab1b
Update archive-format.json
...
/ was missing in the profile entity $ref
closes #7835
2018-07-17 01:23:56 +02:00
Benjamin Neff
dcbdb69e22
Merge branch 'next-minor' into develop
2018-07-11 01:35:50 +02:00
cmrd Senya
6f812a5b8f
Add LinksController
...
LinksController redirects requests for provided diaspora:// links to
respective entities urls.
2018-07-11 01:24:28 +02:00
Benjamin Neff
8daf934c45
Remove backporting of mention syntax
...
fixes #7276 , #7392 and #7640
2018-04-15 15:49:23 +02:00
Benjamin Neff
9171f6b5ef
Revert "Revert "Bump twitter-text""
...
Bump twitter-text on develop branch again
This reverts commit 15ff67499b .
2018-04-12 04:01:52 +02:00
Benjamin Neff
15ff67499b
Revert "Bump twitter-text"
...
This adds a new dependency (`libidn11-dev` on debian, I'm not sure about
other distros).
This reverts commit 070e4caa57 .
2018-04-12 04:00:41 +02:00
Benjamin Neff
070e4caa57
Bump twitter-text
2018-04-12 02:40:23 +02:00
Steffen van Bergerem
4aec9fbb42
Fix mention syntax backport for two immediately consecutive mentions
...
Fixes #7695 .
closes #7777
2018-04-12 01:44:44 +02:00
Benjamin Neff
4fa92c1823
Remove flag for contacts visible to each other
...
This feature only worked on the same pod and was more confusing than
useful.
2018-04-12 01:39:11 +02:00
Benjamin Neff
602a1dcd55
Store edited_at for relayables in additional_data
...
closes #7718
2018-02-25 04:33:03 +01:00