akkoma
4 years agoIO list, not concatenation
Mark Felder [Mon, 6 Jul 2020 16:28:08 +0000 (11:28 -0500)]
IO list, not concatenation

4 years agoSimplify the logic
Mark Felder [Mon, 6 Jul 2020 15:59:41 +0000 (10:59 -0500)]
Simplify the logic

4 years agoFollowValidator: Add basic validation.
lain [Mon, 6 Jul 2020 13:57:19 +0000 (15:57 +0200)]
FollowValidator: Add basic validation.

4 years agoBlockValidation test: Rename.
lain [Mon, 6 Jul 2020 13:44:35 +0000 (15:44 +0200)]
BlockValidation test: Rename.

4 years agoObjectValidator tests: Extract block validation tests.
lain [Mon, 6 Jul 2020 13:14:58 +0000 (15:14 +0200)]
ObjectValidator tests: Extract block validation tests.

4 years agoObjectValidator tests: Extract update validation tests.
lain [Mon, 6 Jul 2020 13:13:11 +0000 (15:13 +0200)]
ObjectValidator tests: Extract update validation tests.

4 years agoObjectValidation tests: Extract announce validation tests.
lain [Mon, 6 Jul 2020 13:11:49 +0000 (15:11 +0200)]
ObjectValidation tests: Extract announce validation tests.

4 years agoObjectValidator tests: Extract undo validation tests.
lain [Mon, 6 Jul 2020 13:09:41 +0000 (15:09 +0200)]
ObjectValidator tests: Extract undo validation tests.

4 years agoObjectValidation tests: Extract like validation tests.
lain [Mon, 6 Jul 2020 13:08:11 +0000 (15:08 +0200)]
ObjectValidation tests: Extract like validation tests.

4 years agoObjectValidation tests: Extract delete validation tests.
lain [Mon, 6 Jul 2020 13:05:02 +0000 (15:05 +0200)]
ObjectValidation tests: Extract delete validation tests.

4 years agoObjectValidator tests: Extract emoji react testing
lain [Mon, 6 Jul 2020 13:02:35 +0000 (15:02 +0200)]
ObjectValidator tests: Extract emoji react testing

4 years agoObjectValidator tests: Extract chat tests
lain [Mon, 6 Jul 2020 11:01:44 +0000 (13:01 +0200)]
ObjectValidator tests: Extract chat tests

4 years agoObjectValidator Test: Extract attachments.
lain [Mon, 6 Jul 2020 10:59:06 +0000 (12:59 +0200)]
ObjectValidator Test: Extract attachments.

4 years agoConfig: Remove Statusnet preloader.
lain [Mon, 6 Jul 2020 10:25:25 +0000 (12:25 +0200)]
Config: Remove Statusnet preloader.

4 years agoPreloaders: Remove status_net preloader
lain [Mon, 6 Jul 2020 10:24:45 +0000 (12:24 +0200)]
Preloaders: Remove status_net preloader

4 years agoUpdate frontend
lain [Mon, 6 Jul 2020 10:20:20 +0000 (12:20 +0200)]
Update frontend

4 years agoUpdate frontend
lain [Mon, 6 Jul 2020 10:17:08 +0000 (12:17 +0200)]
Update frontend

4 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into remove-twitter-api
lain [Mon, 6 Jul 2020 10:15:59 +0000 (12:15 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remove-twitter-api

4 years agoStaticFE Plug: Use phoenix helper to get the requested format.
lain [Mon, 6 Jul 2020 10:11:10 +0000 (12:11 +0200)]
StaticFE Plug: Use phoenix helper to get the requested format.

4 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into 1507-static-fe...
lain [Mon, 6 Jul 2020 10:07:56 +0000 (12:07 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into 1507-static-fe-prioritize-json

4 years agoActivityPub: Add new 'capabilities' to user.
lain [Mon, 6 Jul 2020 09:38:40 +0000 (11:38 +0200)]
ActivityPub: Add new 'capabilities' to user.

4 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into chat-federation...
lain [Mon, 6 Jul 2020 09:27:06 +0000 (11:27 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into chat-federation-information

4 years agoMerge branch '1915-dont-filter-announce-notifications' into 'develop'
rinpatch [Mon, 6 Jul 2020 09:21:03 +0000 (09:21 +0000)]
Merge branch '1915-dont-filter-announce-notifications' into 'develop'

Streamer: Don't filter out announce notifications.

Closes #1915

See merge request pleroma/pleroma!2719

4 years agoMerge branch 'filter-tesla-config' into 'develop'
lain [Mon, 6 Jul 2020 09:20:10 +0000 (09:20 +0000)]
Merge branch 'filter-tesla-config' into 'develop'

Filter tesla config

See merge request pleroma/pleroma!2722

4 years agoChangelog: Document description limits.
lain [Mon, 6 Jul 2020 09:18:01 +0000 (11:18 +0200)]
Changelog: Document description limits.

4 years agoDocs: document instance differences
lain [Mon, 6 Jul 2020 09:16:58 +0000 (11:16 +0200)]
Docs: document instance differences

4 years agoInstanceView: Add chat limit, description limit
lain [Mon, 6 Jul 2020 09:12:37 +0000 (11:12 +0200)]
InstanceView: Add chat limit, description limit

4 years agoDocs: Add description limits to cheat sheet
lain [Mon, 6 Jul 2020 09:08:53 +0000 (11:08 +0200)]
Docs: Add description limits to cheat sheet

4 years agoUpload: Restrict description length
lain [Mon, 6 Jul 2020 09:08:13 +0000 (11:08 +0200)]
Upload: Restrict description length

4 years agotest fixes
Alexander Strizhakov [Wed, 17 Jun 2020 09:34:27 +0000 (12:34 +0300)]
test fixes

4 years agotests fixes
Alexander Strizhakov [Fri, 1 May 2020 06:20:54 +0000 (09:20 +0300)]
tests fixes

4 years agoadding benchmarks in new format
Alexander Strizhakov [Tue, 31 Mar 2020 13:53:11 +0000 (16:53 +0300)]
adding benchmarks in new format

4 years agorenaming back and reject nil on create
Alexander Strizhakov [Wed, 26 Feb 2020 14:50:56 +0000 (17:50 +0300)]
renaming back and reject nil on create

4 years agoApply suggestion to test/notification_test.exs
Alexander Strizhakov [Wed, 26 Feb 2020 14:00:38 +0000 (14:00 +0000)]
Apply suggestion to test/notification_test.exs

4 years agoApply suggestion to test/notification_test.exs
Alexander Strizhakov [Wed, 26 Feb 2020 14:00:28 +0000 (14:00 +0000)]
Apply suggestion to test/notification_test.exs

4 years agoApply suggestion to lib/pleroma/filter.ex
Alexander Strizhakov [Wed, 26 Feb 2020 13:59:07 +0000 (13:59 +0000)]
Apply suggestion to lib/pleroma/filter.ex

4 years agodon't filter notifications for follow and move types
Alexander Strizhakov [Fri, 7 Feb 2020 15:16:39 +0000 (18:16 +0300)]
don't filter notifications for follow and move types

4 years agoRestrict thread statuses that contain user's irreversible filters
Sergey Suprunenko [Mon, 25 Nov 2019 15:59:55 +0000 (16:59 +0100)]
Restrict thread statuses that contain user's irreversible filters

4 years agoSkip notifications for statuses that contain an irreversible filtered word
Sergey Suprunenko [Fri, 22 Nov 2019 18:52:50 +0000 (19:52 +0100)]
Skip notifications for statuses that contain an irreversible filtered word

4 years agoRestrict statuses that contain user's irreversible filters
Sergey Suprunenko [Sat, 16 Nov 2019 21:54:13 +0000 (22:54 +0100)]
Restrict statuses that contain user's irreversible filters

4 years agomigration to delete migrated tesla setting
Alexander Strizhakov [Mon, 6 Jul 2020 06:12:29 +0000 (09:12 +0300)]
migration to delete migrated tesla setting

4 years agodon't save tesla settings into db
Alexander Strizhakov [Mon, 6 Jul 2020 05:48:20 +0000 (08:48 +0300)]
don't save tesla settings into db

4 years agoDelete activity before sending response to client
Roman Chvanikov [Sun, 5 Jul 2020 21:01:25 +0000 (00:01 +0300)]
Delete activity before sending response to client

4 years agoEnsure all CSP parameters for remote hosts have a scheme
Mark Felder [Sun, 5 Jul 2020 15:11:43 +0000 (10:11 -0500)]
Ensure all CSP parameters for remote hosts have a scheme

4 years agoStreamer: Don't filter out announce notifications.
lain [Sat, 4 Jul 2020 15:11:37 +0000 (17:11 +0200)]
Streamer: Don't filter out announce notifications.

4 years agoDocument the Captcha CSP fix
Mark Felder [Fri, 3 Jul 2020 22:19:43 +0000 (17:19 -0500)]
Document the Captcha CSP fix

4 years agoRename function and clarify that CSP is only strict with MediaProxy enabled
Mark Felder [Fri, 3 Jul 2020 22:18:22 +0000 (17:18 -0500)]
Rename function and clarify that CSP is only strict with MediaProxy enabled

4 years agoAdd Captcha endpoint to CSP headers when MediaProxy is enabled.
Mark Felder [Fri, 3 Jul 2020 22:06:20 +0000 (17:06 -0500)]
Add Captcha endpoint to CSP headers when MediaProxy is enabled.

Our CSP rules are lax when MediaProxy enabled, but lenient otherwise.

This fixes broken captcha on instances not using MediaProxy.

4 years agoRevert "Document Oban update"
Mark Felder [Fri, 3 Jul 2020 18:49:02 +0000 (13:49 -0500)]
Revert "Document Oban update"

This reverts commit bc956d0c419f156915dbf0185d6dd9c98dd7a6fe.

4 years agoDocument Oban update
Mark Felder [Fri, 3 Jul 2020 16:29:17 +0000 (11:29 -0500)]
Document Oban update

4 years agoUpdate Oban to 2.0-rc3
Mark Felder [Fri, 3 Jul 2020 15:37:07 +0000 (10:37 -0500)]
Update Oban to 2.0-rc3

4 years agoMerge branch 'develop' into issue/1790-updated-oban
Mark Felder [Fri, 3 Jul 2020 15:36:41 +0000 (10:36 -0500)]
Merge branch 'develop' into issue/1790-updated-oban

4 years agoMerge branch 'features/mastoapi-2.9.0-status_text' into 'develop'
lain [Fri, 3 Jul 2020 15:06:33 +0000 (15:06 +0000)]
Merge branch 'features/mastoapi-2.9.0-status_text' into 'develop'

MastoAPI 2.9.0: status text on deletion

See merge request pleroma/pleroma!2690

4 years agoMerge branch '1912-leading-trailing-space-search' into 'develop'
lain [Fri, 3 Jul 2020 14:59:12 +0000 (14:59 +0000)]
Merge branch '1912-leading-trailing-space-search' into 'develop'

SearchController: Trim query.

Closes #1912

See merge request pleroma/pleroma!2717

4 years agoUpdate changelog
lain [Fri, 3 Jul 2020 14:46:11 +0000 (16:46 +0200)]
Update changelog

4 years agoMerge branch 'develop' of git.pleroma.social:pleroma/pleroma into features/mastoapi...
lain [Fri, 3 Jul 2020 14:44:31 +0000 (16:44 +0200)]
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into features/mastoapi-2.9.0-status_text

4 years agoMerge branch '1892-exclude-bots-from-search-results' into 'develop'
lain [Fri, 3 Jul 2020 14:38:22 +0000 (14:38 +0000)]
Merge branch '1892-exclude-bots-from-search-results' into 'develop'

[#1892] Exclusion of service actors from user search results

Closes #1892

See merge request pleroma/pleroma!2708

4 years agoSearchController: Trim query.
lain [Fri, 3 Jul 2020 14:36:55 +0000 (16:36 +0200)]
SearchController: Trim query.

4 years agoUpdate changelog
lain [Fri, 3 Jul 2020 13:59:42 +0000 (15:59 +0200)]
Update changelog

4 years agoDocs: Document `accepts_chat_messages` setting.
lain [Fri, 3 Jul 2020 13:55:18 +0000 (15:55 +0200)]
Docs: Document `accepts_chat_messages` setting.

4 years agoAccountController: Make setting accepts_chat_messages possible.
lain [Fri, 3 Jul 2020 13:54:25 +0000 (15:54 +0200)]
AccountController: Make setting accepts_chat_messages possible.

4 years agoChatMessageValidator: Additional validation.
lain [Fri, 3 Jul 2020 13:13:27 +0000 (15:13 +0200)]
ChatMessageValidator: Additional validation.

4 years agoAccount Schema: Add `accepts_chat_messages`
lain [Fri, 3 Jul 2020 12:31:04 +0000 (14:31 +0200)]
Account Schema: Add `accepts_chat_messages`

4 years agoDocs: Document the added `accepts_chat_messages` user property.
lain [Fri, 3 Jul 2020 12:24:54 +0000 (14:24 +0200)]
Docs: Document the added `accepts_chat_messages` user property.

4 years agoActivityPub: Ingest information about chat acceptance.
lain [Fri, 3 Jul 2020 11:58:34 +0000 (13:58 +0200)]
ActivityPub: Ingest information about chat acceptance.

4 years agoLitepub: Add acceptsChatMessages to schema.
lain [Fri, 3 Jul 2020 11:39:21 +0000 (13:39 +0200)]
Litepub: Add acceptsChatMessages to schema.

4 years agoUserView: Add acceptsChatMessages field
lain [Fri, 3 Jul 2020 11:38:59 +0000 (13:38 +0200)]
UserView: Add acceptsChatMessages field

4 years agoAccountViewTest: Fix test.
lain [Fri, 3 Jul 2020 11:24:16 +0000 (13:24 +0200)]
AccountViewTest: Fix test.

4 years agoUser, Migration: Change `accepts_chat_messages` to be nullable
lain [Fri, 3 Jul 2020 11:12:23 +0000 (13:12 +0200)]
User, Migration: Change `accepts_chat_messages` to be nullable

This is to model the ambiguous state of most users.

4 years agoAccountView: Add 'accepts_chat_messages' to view.
lain [Fri, 3 Jul 2020 11:07:33 +0000 (13:07 +0200)]
AccountView: Add 'accepts_chat_messages' to view.

4 years agoUser: On registration, set `accepts_chat_messages` to true.
lain [Fri, 3 Jul 2020 10:47:05 +0000 (12:47 +0200)]
User: On registration, set `accepts_chat_messages` to true.

4 years agoMigrations: Add `accepts_chat_messages` to users.
lain [Fri, 3 Jul 2020 10:46:28 +0000 (12:46 +0200)]
Migrations: Add `accepts_chat_messages` to users.

4 years agoMerge branch '1910-migration-fix' into 'develop'
rinpatch [Fri, 3 Jul 2020 10:44:19 +0000 (10:44 +0000)]
Merge branch '1910-migration-fix' into 'develop'

Notification Backfill: Explicitly select the needed fields.

Closes #1910

See merge request pleroma/pleroma!2715

4 years agoNotification Backfill: Explicitly select the needed fields.
lain [Fri, 3 Jul 2020 09:25:12 +0000 (11:25 +0200)]
Notification Backfill: Explicitly select the needed fields.

Prevents a crashing migration when we change user fields.

4 years ago[#1892] Excluded internal users (applications) from user search results, reinstated...
Ivan Tashkinov [Fri, 3 Jul 2020 08:02:15 +0000 (11:02 +0300)]
[#1892] Excluded internal users (applications) from user search results, reinstated service actors in search results.

4 years agoMerge branch 'feature/1885-MRF-metadata' into 'develop'
feld [Thu, 2 Jul 2020 19:44:05 +0000 (19:44 +0000)]
Merge branch 'feature/1885-MRF-metadata' into 'develop'

Feature/1885 mrf metadata

Closes #1885

See merge request pleroma/pleroma!2693

4 years agoMerge branch 'activation-meta' into 'develop'
feld [Thu, 2 Jul 2020 18:12:03 +0000 (18:12 +0000)]
Merge branch 'activation-meta' into 'develop'

Add more FE-required fields to /api/v1/instance

See merge request pleroma/pleroma!2613

4 years agoMerge branch 'develop' into activation-meta
Mark Felder [Thu, 2 Jul 2020 18:01:22 +0000 (13:01 -0500)]
Merge branch 'develop' into activation-meta

4 years agoDocument the new API extension of /api/v1/instance
Mark Felder [Thu, 2 Jul 2020 17:59:45 +0000 (12:59 -0500)]
Document the new API extension of /api/v1/instance

4 years agoRemove camelCase from the keys
Mark Felder [Thu, 2 Jul 2020 17:55:08 +0000 (12:55 -0500)]
Remove camelCase from the keys

4 years agoLint, long lines
Mark Felder [Thu, 2 Jul 2020 15:33:27 +0000 (10:33 -0500)]
Lint, long lines

4 years agoImprove descriptions, move primary MRF settings to top for AdminFE ordering
Mark Felder [Thu, 2 Jul 2020 15:27:15 +0000 (10:27 -0500)]
Improve descriptions, move primary MRF settings to top for AdminFE ordering

4 years agoUpdate AdminFE build to utilize new MRF metadata
Mark Felder [Thu, 2 Jul 2020 15:16:19 +0000 (10:16 -0500)]
Update AdminFE build to utilize new MRF metadata

4 years agoMerge branch 'develop' into feature/1885-MRF-metadata
Mark Felder [Thu, 2 Jul 2020 14:57:57 +0000 (09:57 -0500)]
Merge branch 'develop' into feature/1885-MRF-metadata

4 years agoMerge branch 'fetcher-fixes' into 'develop'
rinpatch [Thu, 2 Jul 2020 10:17:51 +0000 (10:17 +0000)]
Merge branch 'fetcher-fixes' into 'develop'

Don't fail fetching when the user in a replied-to message can't be fetched.

See merge request pleroma/pleroma!2711

4 years agoMerge branch '1907-fix-announce-streaming' into 'develop'
rinpatch [Thu, 2 Jul 2020 10:08:42 +0000 (10:08 +0000)]
Merge branch '1907-fix-announce-streaming' into 'develop'

Resolve "Streaming API: Repeats of your posts from random people are pushed to the timeline"

Closes #1907

See merge request pleroma/pleroma!2714

4 years agoMerge branch 'feature/update-description' into 'develop'
lain [Thu, 2 Jul 2020 08:43:32 +0000 (08:43 +0000)]
Merge branch 'feature/update-description' into 'develop'

Update settings descriptions and labels

See merge request pleroma/pleroma!2709

4 years agoCredo fixes.
lain [Thu, 2 Jul 2020 07:57:31 +0000 (09:57 +0200)]
Credo fixes.

4 years agoChangelog: Update with stream changes.
lain [Thu, 2 Jul 2020 07:54:48 +0000 (09:54 +0200)]
Changelog: Update with stream changes.

4 years agoStreamer: Align announce streaming with polling.
lain [Thu, 2 Jul 2020 07:50:26 +0000 (09:50 +0200)]
Streamer: Align announce streaming with polling.

4 years agoSideEffects: Refactor.
lain [Thu, 2 Jul 2020 07:33:50 +0000 (09:33 +0200)]
SideEffects: Refactor.

4 years agoMerge branch '1716-handle-nickname-clashes' into 'develop'
rinpatch [Wed, 1 Jul 2020 13:51:23 +0000 (13:51 +0000)]
Merge branch '1716-handle-nickname-clashes' into 'develop'

ActivityPub: Handle clashing nicknames for the same ap id

Closes #1716

See merge request pleroma/pleroma!2712

4 years agoActivityPub: Handle clashing nicknames for the same ap id
lain [Wed, 1 Jul 2020 10:26:07 +0000 (12:26 +0200)]
ActivityPub: Handle clashing nicknames for the same ap id

If we get a new user (identified by ap_id) that would have the same
nickname as an existing user, give the existing user a nickname that
is prepended with the user id, as this will never clash.

This can happen when a user switches server software and that soft-
ware generates ap ids in a different way.

4 years agoFetcher: Work when we can't get the OP.
lain [Wed, 1 Jul 2020 09:48:51 +0000 (11:48 +0200)]
Fetcher: Work when we can't get the OP.

4 years agoFixtures: Pretty print.
lain [Wed, 1 Jul 2020 09:47:45 +0000 (11:47 +0200)]
Fixtures: Pretty print.

4 years agoMerge branch 'revert-651f2695' into 'develop'
lain [Wed, 1 Jul 2020 09:18:02 +0000 (09:18 +0000)]
Merge branch 'revert-651f2695' into 'develop'

Revert "Merge branch 'avatar-removing' into 'develop'"

See merge request pleroma/pleroma!2710

4 years agoRevert "Merge branch 'avatar-removing' into 'develop'"
lain [Wed, 1 Jul 2020 08:51:56 +0000 (08:51 +0000)]
Revert "Merge branch 'avatar-removing' into 'develop'"

This reverts merge request !2701

4 years agoAdd labels, update descriptions and labels
Angelina Filippova [Wed, 1 Jul 2020 00:01:15 +0000 (03:01 +0300)]
Add labels, update descriptions and labels

4 years agoMerge branch 'chore/rename-user-settings-column' into 'develop'
Haelwenn [Tue, 30 Jun 2020 20:51:10 +0000 (20:51 +0000)]
Merge branch 'chore/rename-user-settings-column' into 'develop'

Rename user.settings column

See merge request pleroma/pleroma!2707

4 years agoAdd fields limits to instance metadata, add tests
Mark Felder [Tue, 30 Jun 2020 20:25:10 +0000 (15:25 -0500)]
Add fields limits to instance metadata, add tests