Benjamin Neff
36778dbeac
Remove /user/auth_token route, this was a leftover from the chat
...
Also remove authentication_token from database
2022-02-27 23:06:24 +01:00
Thorsten Claus
6c4c6f8889
Migration Backend Part
2021-11-23 01:48:32 +01:00
Benjamin Neff
b1a2cf616e
Merge pull request #8302 from SuperTux88/fix-local-sharing-with-me
...
Fix sharing status of local contacts after an import
2021-11-23 01:40:37 +01:00
Benjamin Neff
4902a35972
Merge branch 'next-minor' into develop
2021-11-23 00:56:41 +01:00
Benjamin Neff
1570e3fb9a
Migrate remote_photo_path and cleanup old photo uploads
...
If the migration contains a new remote_photo_path migrate all photos of
the old person to this path. If the person was local before, cleanup old
uploaded files of the photos.
closes #8314
2021-11-23 00:43:56 +01:00
Benjamin Neff
95c0bb9ef2
Merge branch 'next-minor' into develop
2021-10-25 03:46:48 +02:00
Benjamin Neff
3cb1e470a4
Resend AccountMigration or AccountDeletion for closed recipients
2021-10-25 03:34:03 +02:00
Benjamin Neff
0e6caf61ff
Fix sharing status with local users when importing archive
...
* Local contacts also start sharing again with imported user if they
were sharing with the old account
* Don't create empty contact entities for contacts which the imported
user doesn't share with and also maybe the contact doesn't share with
the importer
* Ensure people which were a contact in the archive still receive the
migration, even when the importer doesn't share with them, so they can
resend their contact message
fixes #8106 for real this time
2021-09-29 05:05:28 +02:00
Benjamin Neff
fab48ee96d
Also need to exclude account_migration from persons reference
...
Also backported from #7660
2021-09-19 03:41:26 +02:00
Benjamin Neff
b8ea120ff2
Backport account_migration relation on person from #7660
2021-09-19 03:13:02 +02:00
Benjamin Neff
e2b96c81f2
Merge branch 'next-minor' into develop
2021-08-16 00:24:47 +02:00
Thorsten Claus
8691e650dc
Person.find_or_fetch_by_identifier never return nil
...
Person.find_or_fetch_by_identifier raises an exception if person is not found localy and not fetchable. It never returns nil. These code changes take care about this behaviour and changes specs and code to behave equally.
Also related to #8253
2021-08-16 00:24:33 +02:00
Benjamin Neff
4c46ca1a94
Merge branch 'next-minor' into develop
2021-07-04 22:09:32 +02:00
Dennis Schubert
407f51d5a3
Allow points and dashes in the username.
...
This reverts b3ca504c40 . We don't quite know why that was added, but we assume it's because of format strings. Some pre-2011 users exist that still have dots or dashes in their username, and those accounts are somewhat broken now.
closes #8266
2021-07-04 22:07:21 +02:00
Benjamin Neff
caeeac6c59
Merge branch 'next-minor' into develop
2021-07-03 03:03:32 +02:00
Thorsten Claus
b31f9106a1
Migration: Exporting user blocks
...
closes #8263
2021-07-03 02:51:41 +02:00
Benjamin Neff
a6c79f5e57
Merge pull request #8232 from tclaus/local_public_posts
...
Show Local public posts
closes #8220
2021-06-13 01:32:24 +02:00
Benjamin Neff
a17fca02ff
Merge branch 'next-minor' into develop
2021-06-13 01:27:34 +02:00
Thorsten Claus
43d489edda
Fixed test
...
closes #8244
2021-06-13 01:26:27 +02:00
Thorsten Claus
3793d36609
Added tag handling
2021-06-13 01:24:49 +02:00
Allan Klaus
b2b03d2679
Improve Service::Tumblr
...
- Fix rubocop styles
- Improve specs coverage
2021-06-13 01:24:48 +02:00
Thorsten Claus
64d65269d8
Fixing robocop
2021-04-18 13:25:50 +02:00
Thorsten Claus
7fae5ca3b8
More optimized and faster query for local public posts
...
Even faster with new index
2021-04-18 13:11:25 +02:00
Thorsten Claus
ddee980426
Adds a local-public tag on the sidebar that shows all posts local to this pod
2021-04-18 13:11:25 +02:00
Jonne Haß
28213b1a47
Merge branch 'next-minor' into develop
2021-04-11 17:29:57 +02:00
Jonne Haß
ee35ad3200
update devise-two-factor to 4.0.0
2021-04-11 17:25:18 +02:00
Jonne Haß
f4dc6d0dc7
Merge branch 'next-minor' into develop
2021-04-11 17:23:46 +02:00
gabrielrumiranda
394eafccc5
Actually implement validation error case in Photo#ownserhip_of_status_message
...
closes #8214
closes #8048
Co-authored-by: Thorsten Claus <thorstenclaus@web.de>
2021-04-11 17:22:40 +02:00
Jonne Haß
d9db761c79
API: Add endpoint to toggle conversation read status
2020-11-30 18:03:38 +01:00
Dennis Schubert
31b28e731d
Merge branch 'next-minor' into develop
2020-06-13 23:31:09 +02:00
Noah Leal
ad91dddd63
Issue #8119 - Add length validation to a profile's gender field.
...
closes #8127
2020-06-13 23:31:03 +02:00
Jonne Haß
1a7b2b0c31
API: extend /search/user with a filter option
...
See API docs for more details
2020-03-20 12:39:09 +01:00
Benjamin Neff
4139ae2549
Merge branch 'next-minor' into develop
2020-02-12 00:13:19 +01:00
Dennis Schubert
2e2b42ef1a
Mark non-attribute usage in SQL queries as safe.
...
Non-attribute arguments will be disallowed in Rails 6.0.
2020-02-11 23:54:55 +01:00
Dennis Schubert
4685df634c
Make Person.search_query_string public.
...
Accessibility of private/protected class methods in :scope is deprecated and will be removed in Rails 6.0.
2020-02-11 23:53:14 +01:00
Dennis Schubert
25e9728fae
Do not depend on the default parameter being set in Person#initialize.
...
ActiveRecord 5.2.x occasionally calls with a nil parameter explicitly provided, so using default arguments does not work.
2020-02-11 23:53:14 +01:00
Jonne Haß
b921b71b97
API: ensure nsfw field in post is returned as a boolean
2020-02-02 18:31:46 +01:00
Jonne Haß
0935451cd8
Return a default token_endpoint_auth_method when the client gives none in its OpenID Connect registration request
...
Since we announce it in the supported metadata, some clients expect to be told what to use and don't fallback to the spec standard of
client_secret_basic on their own.
2020-01-24 11:02:02 +01:00
Jonne Haß
3abf6b6f41
return required client_secret_expires_at in openid connect dynamic registration response
2020-01-21 23:35:01 +01:00
Jonne Haß
39c863ead9
Merge branch 'develop' into api
2020-01-21 23:35:01 +01:00
cmrd Senya
c348a763cf
API: add profile:read_private scope
2020-01-21 23:34:43 +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ß
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
Benjamin Neff
034d78e3e4
Remove commentable functionality from photos
...
This is not (and as far as I know, was never) used. If we want to make
standalone photos commentable, we can always add it back, but it would
also need to change federation for it to work, because comments support
only posts there. But for now it makes the code cleaner and easier to
remove it.
2019-07-02 01:58:54 +02:00
Benjamin Neff
6f14f1b850
Merge branch 'next-minor' into develop
2019-06-17 01:20:42 +02:00
Benjamin Neff
ef31ea6b96
Enable remember me for all forms
...
fixes #8023
2019-06-17 01:12:42 +02:00
Jonne Haß
700e5588e0
Merge branch 'next-minor' into develop
2019-05-24 22:43:13 +02:00
Jonne Haß
1227f34b2a
Pass normalized URI to OpenGraphReader
...
This ensures the hostname is downcase and thus subsequent third party library
assumptions hold, namely http-cookie (pulled through faraday-cookie_jar) doesn't
raise
closes #8021
2019-05-24 22:43:08 +02:00
Benjamin Neff
314239ff2a
Merge branch 'next-minor' into develop
2019-05-12 00:25:52 +02:00