akkoma
4 years agoFix "the call ... will never return" warning
Maxim Filippov [Wed, 30 Oct 2019 23:25:15 +0000 (02:25 +0300)]
Fix "the call ... will never return" warning

4 years agoBump fast_sanitize dependency so this builds on more than just Linux
Mark Felder [Wed, 30 Oct 2019 22:57:08 +0000 (17:57 -0500)]
Bump fast_sanitize dependency so this builds on more than just Linux

4 years agoMerge branch 'develop' into feature/fast_sanitize
Mark Felder [Wed, 30 Oct 2019 22:51:15 +0000 (17:51 -0500)]
Merge branch 'develop' into feature/fast_sanitize

4 years agoRemove following column from the migrations
Roman Chvanikov [Wed, 30 Oct 2019 15:34:14 +0000 (18:34 +0300)]
Remove following column from the migrations

4 years agoUpdate test for get_recipients_from_activity
kPherox [Wed, 30 Oct 2019 11:14:07 +0000 (20:14 +0900)]
Update test for get_recipients_from_activity

4 years agoMerge branch 'fix/blocked-follows' into 'develop'
rinpatch [Wed, 30 Oct 2019 10:59:25 +0000 (10:59 +0000)]
Merge branch 'fix/blocked-follows' into 'develop'

Add a migration to fix blocked follows

Closes #1359

See merge request pleroma/pleroma!1922

4 years agoFix bookmark migration using a query with a schema
rinpatch [Wed, 30 Oct 2019 09:59:14 +0000 (12:59 +0300)]
Fix bookmark migration using a query with a schema

This resulted in failures when updating from Pleroma <1.0 because of all
the new fields that were added to the user schema.

4 years agoAdd a migration to fix blocked follows
Egor Kislitsyn [Wed, 30 Oct 2019 08:52:37 +0000 (15:52 +0700)]
Add a migration to fix blocked follows

4 years agoFix duplicate recipients
kPherox [Wed, 30 Oct 2019 06:40:25 +0000 (15:40 +0900)]
Fix duplicate recipients

4 years agoRip out the rest of htmlsanitizeex
rinpatch [Wed, 30 Oct 2019 06:20:13 +0000 (09:20 +0300)]
Rip out the rest of htmlsanitizeex

4 years agoRemove commented-out code
rinpatch [Tue, 29 Oct 2019 17:58:54 +0000 (20:58 +0300)]
Remove commented-out code

4 years agoFix XSS emoji test
rinpatch [Tue, 29 Oct 2019 17:49:32 +0000 (20:49 +0300)]
Fix XSS emoji test

4 years agoMerge branch 'fix/migrations-same-module-name' into 'develop'
rinpatch [Tue, 29 Oct 2019 14:17:09 +0000 (14:17 +0000)]
Merge branch 'fix/migrations-same-module-name' into 'develop'

Fix two migrations sharing the same module name

See merge request pleroma/pleroma!1919

4 years agoBump fast_sanitize dependency
rinpatch [Tue, 29 Oct 2019 14:00:03 +0000 (17:00 +0300)]
Bump fast_sanitize dependency

4 years agoFix two migrations sharing the same module name
rinpatch [Tue, 29 Oct 2019 13:56:24 +0000 (16:56 +0300)]
Fix two migrations sharing the same module name

This makes ecto execute only the latter one.

4 years agoMerge branch 'fix-follow-requests' into 'develop'
rinpatch [Tue, 29 Oct 2019 11:24:07 +0000 (11:24 +0000)]
Merge branch 'fix-follow-requests' into 'develop'

FIx follow requests

Closes #1357

See merge request pleroma/pleroma!1918

4 years agoMigrate missing follow requests
kPherox [Tue, 29 Oct 2019 10:16:34 +0000 (19:16 +0900)]
Migrate missing follow requests

4 years agoBump fast_sanitize version
rinpatch [Tue, 29 Oct 2019 10:05:20 +0000 (13:05 +0300)]
Bump fast_sanitize version

4 years agoAdd test follow activity for locked account
kPherox [Tue, 29 Oct 2019 09:46:22 +0000 (18:46 +0900)]
Add test follow activity for locked account

4 years agoAdd pending to handle incoming for Follow activity
kPherox [Tue, 29 Oct 2019 08:12:49 +0000 (17:12 +0900)]
Add pending to handle incoming for Follow activity

4 years agoAdd fast_sanitize to dependencies
rinpatch [Mon, 28 Oct 2019 22:21:00 +0000 (01:21 +0300)]
Add fast_sanitize to dependencies

4 years agoSwitch from HtmlSanitizeEx to FastSanitize
rinpatch [Mon, 28 Oct 2019 22:18:08 +0000 (01:18 +0300)]
Switch from HtmlSanitizeEx to FastSanitize

4 years agoEnsure myhtmlex is started before swarm
rinpatch [Mon, 28 Oct 2019 22:16:57 +0000 (01:16 +0300)]
Ensure myhtmlex is started before swarm

Otherwise swarm is going to attempt resizing the cluster and timeout

4 years agoBlacklist myhtmlex nodes from swarm
rinpatch [Mon, 28 Oct 2019 22:16:22 +0000 (01:16 +0300)]
Blacklist myhtmlex nodes from swarm

4 years agoUse the default scrubber before mediaproxy transformation
rinpatch [Mon, 28 Oct 2019 22:15:28 +0000 (01:15 +0300)]
Use the default scrubber before mediaproxy transformation

4 years agocapture where errors are expected
stwf [Mon, 28 Oct 2019 16:51:58 +0000 (12:51 -0400)]
capture where errors are expected

4 years agoMove setDefaultsToTables to past to run before notNull migrations
Roman Chvanikov [Mon, 28 Oct 2019 16:17:50 +0000 (19:17 +0300)]
Move setDefaultsToTables to past to run before notNull migrations

4 years agoComplete defaults
Roman Chvanikov [Mon, 28 Oct 2019 16:16:19 +0000 (19:16 +0300)]
Complete defaults

4 years agoMerge branch 'fix/migration' into 'develop'
lain [Mon, 28 Oct 2019 08:05:14 +0000 (08:05 +0000)]
Merge branch 'fix/migration' into 'develop'

Fix `SetNotNullForUsers` migration

See merge request pleroma/pleroma!1913

4 years agoFix `SetNotNullForUsers` migration
Egor Kislitsyn [Mon, 28 Oct 2019 07:45:50 +0000 (14:45 +0700)]
Fix `SetNotNullForUsers` migration

4 years agoMerge branch 'refactor/following-relationships' into 'develop'
lain [Mon, 28 Oct 2019 07:27:45 +0000 (07:27 +0000)]
Merge branch 'refactor/following-relationships' into 'develop'

Move following relationships to a separate table

Closes #1233

See merge request pleroma/pleroma!1814

4 years agoAdd migration
Roman Chvanikov [Sun, 27 Oct 2019 16:29:35 +0000 (19:29 +0300)]
Add migration

4 years agoFix report parsing
Maxim Filippov [Sun, 27 Oct 2019 13:33:58 +0000 (16:33 +0300)]
Fix report parsing

4 years agoMake sure incoming flags are updated with status data
Maxim Filippov [Sun, 27 Oct 2019 13:17:37 +0000 (16:17 +0300)]
Make sure incoming flags are updated with status data

4 years agoMerge branch 'develop' into feature/store-statuses-data-inside-flag
Maxim Filippov [Sun, 27 Oct 2019 13:11:25 +0000 (16:11 +0300)]
Merge branch 'develop' into feature/store-statuses-data-inside-flag

4 years agoStrip status data from Flag (when federating or closing/resolving report)
Maxim Filippov [Sun, 27 Oct 2019 13:05:32 +0000 (16:05 +0300)]
Strip status data from Flag (when federating or closing/resolving report)

4 years agoMerge branch 'improve-user-info-migration' into 'develop'
kaniini [Sun, 27 Oct 2019 05:33:41 +0000 (05:33 +0000)]
Merge branch 'improve-user-info-migration' into 'develop'

User info migration improvements

See merge request pleroma/pleroma!1887

4 years agoMerge branch 'refactor/db-not-null-constraints-for-users' into 'develop'
kaniini [Sun, 27 Oct 2019 05:32:01 +0000 (05:32 +0000)]
Merge branch 'refactor/db-not-null-constraints-for-users' into 'develop'

Add NOT NULL constraints for users table

See merge request pleroma/pleroma!1910

4 years agoMerge branch 'refactor/db-not-null-constraints-for-user_invite_tokens' into 'develop'
kaniini [Sun, 27 Oct 2019 05:31:52 +0000 (05:31 +0000)]
Merge branch 'refactor/db-not-null-constraints-for-user_invite_tokens' into 'develop'

Add NOT NULL constraints for user_invite_tokens table

See merge request pleroma/pleroma!1909

4 years agoMerge branch 'refactor/db-not-null-constraints-for-thread_mutes' into 'develop'
kaniini [Sun, 27 Oct 2019 05:31:41 +0000 (05:31 +0000)]
Merge branch 'refactor/db-not-null-constraints-for-thread_mutes' into 'develop'

Add NOT NULL constraints for thread_mutes table

See merge request pleroma/pleroma!1908

4 years agoMerge branch 'refactor/db-not-null-constraints-for-scheduled_activities' into 'develop'
kaniini [Sun, 27 Oct 2019 05:31:31 +0000 (05:31 +0000)]
Merge branch 'refactor/db-not-null-constraints-for-scheduled_activities' into 'develop'

Add NOT NULL constraints for scheduled_activities table

See merge request pleroma/pleroma!1907

4 years agoMerge branch 'refactor/db-not-null-constraints-for-registrations' into 'develop'
kaniini [Sun, 27 Oct 2019 05:31:21 +0000 (05:31 +0000)]
Merge branch 'refactor/db-not-null-constraints-for-registrations' into 'develop'

Add NOT NULL constraints for registrations table

See merge request pleroma/pleroma!1906

4 years agoMerge branch 'refactor/db-not-null-constraints-for-push_subscriptions' into 'develop'
kaniini [Sun, 27 Oct 2019 05:31:09 +0000 (05:31 +0000)]
Merge branch 'refactor/db-not-null-constraints-for-push_subscriptions' into 'develop'

Add NOT NULL constraints for push_subscriptions table

See merge request pleroma/pleroma!1905

4 years agoMerge branch 'refactor/db-not-null-constraints-for-password_reset_tokens' into 'develop'
kaniini [Sun, 27 Oct 2019 05:30:59 +0000 (05:30 +0000)]
Merge branch 'refactor/db-not-null-constraints-for-password_reset_tokens' into 'develop'

Add NOT NULL constraints for password_reset_tokens table

See merge request pleroma/pleroma!1904

4 years agoMerge branch 'refactor/db-not-null-constraints-for-objects' into 'develop'
kaniini [Sun, 27 Oct 2019 05:30:47 +0000 (05:30 +0000)]
Merge branch 'refactor/db-not-null-constraints-for-objects' into 'develop'

Add NOT NULL constraints for objects table

See merge request pleroma/pleroma!1903

4 years agoMerge branch 'refactor/db-not-null-constraints-for-oauth_authorizations' into 'develop'
kaniini [Sun, 27 Oct 2019 05:30:36 +0000 (05:30 +0000)]
Merge branch 'refactor/db-not-null-constraints-for-oauth_authorizations' into 'develop'

Add NOT NULL constraints for oauth_authorizations table

See merge request pleroma/pleroma!1902

4 years agoMerge branch 'refactor/db-not-null-constraints-for-oauth_tokens' into 'develop'
kaniini [Sun, 27 Oct 2019 05:30:25 +0000 (05:30 +0000)]
Merge branch 'refactor/db-not-null-constraints-for-oauth_tokens' into 'develop'

Add NOT NULL constraints for oauth_tokens table

See merge request pleroma/pleroma!1901

4 years agoMerge branch 'refactor/db-not-null-constraints-for-notifications' into 'develop'
kaniini [Sun, 27 Oct 2019 05:30:09 +0000 (05:30 +0000)]
Merge branch 'refactor/db-not-null-constraints-for-notifications' into 'develop'

Add NOT NULL constraints for notifications table

See merge request pleroma/pleroma!1900

4 years agoMerge branch 'refactor/db-not-null-constraints-for-moderation_log' into 'develop'
kaniini [Sun, 27 Oct 2019 05:29:56 +0000 (05:29 +0000)]
Merge branch 'refactor/db-not-null-constraints-for-moderation_log' into 'develop'

Add NOT NULL constraints for moderation_log table

See merge request pleroma/pleroma!1899

4 years agoMerge branch 'refactor/db-not-null-constraints-for-markers' into 'develop'
kaniini [Sun, 27 Oct 2019 05:29:45 +0000 (05:29 +0000)]
Merge branch 'refactor/db-not-null-constraints-for-markers' into 'develop'

Add NOT NULL constraints for markers table

See merge request pleroma/pleroma!1898

4 years agoMerge branch 'refactor/db-not-null-constraints-for-lists' into 'develop'
kaniini [Sun, 27 Oct 2019 05:29:33 +0000 (05:29 +0000)]
Merge branch 'refactor/db-not-null-constraints-for-lists' into 'develop'

Add NOT NULL constraints for lists table

See merge request pleroma/pleroma!1897

4 years agoMerge branch 'refactor/db-not-null-constraints-for-instances' into 'develop'
kaniini [Sun, 27 Oct 2019 05:29:18 +0000 (05:29 +0000)]
Merge branch 'refactor/db-not-null-constraints-for-instances' into 'develop'

Add NOT NULL constraints for instances table

See merge request pleroma/pleroma!1896

4 years agoMerge branch 'refactor/db-not-null-constraints-for-filters' into 'develop'
kaniini [Sun, 27 Oct 2019 05:29:05 +0000 (05:29 +0000)]
Merge branch 'refactor/db-not-null-constraints-for-filters' into 'develop'

Add NOT NULL constraints for filters table

See merge request pleroma/pleroma!1895

4 years agoMerge branch 'refactor/db-not-null-constraints-for-conversation_participations' into...
kaniini [Sun, 27 Oct 2019 05:28:45 +0000 (05:28 +0000)]
Merge branch 'refactor/db-not-null-constraints-for-conversation_participations' into 'develop'

Add NOT NULL constraints for conversation_participations table

See merge request pleroma/pleroma!1894

4 years agoMerge branch 'refactor/db-not-null-constraints-for-conversation_participation_recipie...
kaniini [Sun, 27 Oct 2019 05:28:32 +0000 (05:28 +0000)]
Merge branch 'refactor/db-not-null-constraints-for-conversation_participation_recipient_ships' into 'develop'

Add NOT NULL constraints for conversation_participation_recipient_ships table

See merge request pleroma/pleroma!1893

4 years agoMerge branch 'refactor/db-not-null-constraints-for-config' into 'develop'
kaniini [Sun, 27 Oct 2019 05:28:18 +0000 (05:28 +0000)]
Merge branch 'refactor/db-not-null-constraints-for-config' into 'develop'

Add NOT NULL constraints for config table

See merge request pleroma/pleroma!1892

4 years agoMerge branch 'refactor/db-not-null-constraints-for-bookmarks' into 'develop'
kaniini [Sun, 27 Oct 2019 05:28:03 +0000 (05:28 +0000)]
Merge branch 'refactor/db-not-null-constraints-for-bookmarks' into 'develop'

Add NOT NULL constraints for bookmarks table

See merge request pleroma/pleroma!1891

4 years agoMerge branch 'refactor/db-not-null-constraints-for-apps' into 'develop'
kaniini [Sun, 27 Oct 2019 05:27:43 +0000 (05:27 +0000)]
Merge branch 'refactor/db-not-null-constraints-for-apps' into 'develop'

Add NOT NULL constraints for apps table

See merge request pleroma/pleroma!1890

4 years agoMerge branch 'refactor/db-not-null-constraints-for-activity-expirations' into 'develop'
kaniini [Sun, 27 Oct 2019 05:27:24 +0000 (05:27 +0000)]
Merge branch 'refactor/db-not-null-constraints-for-activity-expirations' into 'develop'

Add NOT NULL constraints for activity_expirations table

See merge request pleroma/pleroma!1889

4 years agoMerge branch 'refactor/db-not-null-constraints-for-activities' into 'develop'
kaniini [Sun, 27 Oct 2019 05:26:31 +0000 (05:26 +0000)]
Merge branch 'refactor/db-not-null-constraints-for-activities' into 'develop'

Add NOT NULL constraints for activities table

See merge request pleroma/pleroma!1888

4 years agoMerge branch 'readme-pg-contrib' into 'develop'
kaniini [Sun, 27 Oct 2019 04:40:06 +0000 (04:40 +0000)]
Merge branch 'readme-pg-contrib' into 'develop'

Clarify that postgres contrib modules are required, not just postgres.

See merge request pleroma/pleroma!1911

4 years agoClarify that postgres contrib modules are required, not just postgres.
Phil Hagelberg [Sat, 26 Oct 2019 23:19:58 +0000 (16:19 -0700)]
Clarify that postgres contrib modules are required, not just postgres.

4 years agoAdd migration
Roman Chvanikov [Sat, 26 Oct 2019 19:59:24 +0000 (22:59 +0300)]
Add migration

4 years agoAdd migration
Roman Chvanikov [Sat, 26 Oct 2019 19:58:37 +0000 (22:58 +0300)]
Add migration

4 years agoAdd migration
Roman Chvanikov [Sat, 26 Oct 2019 19:57:43 +0000 (22:57 +0300)]
Add migration

4 years agoAdd migration
Roman Chvanikov [Sat, 26 Oct 2019 19:56:48 +0000 (22:56 +0300)]
Add migration

4 years agoAdd migration
Roman Chvanikov [Sat, 26 Oct 2019 19:55:29 +0000 (22:55 +0300)]
Add migration

4 years agoAdd migration
Roman Chvanikov [Sat, 26 Oct 2019 19:54:37 +0000 (22:54 +0300)]
Add migration

4 years agoAdd migration
Roman Chvanikov [Sat, 26 Oct 2019 19:53:41 +0000 (22:53 +0300)]
Add migration

4 years agoAdd migration
Roman Chvanikov [Sat, 26 Oct 2019 19:52:49 +0000 (22:52 +0300)]
Add migration

4 years agoAdd migration
Roman Chvanikov [Sat, 26 Oct 2019 19:50:52 +0000 (22:50 +0300)]
Add migration

4 years agoPut correct migration
Roman Chvanikov [Sat, 26 Oct 2019 19:49:25 +0000 (22:49 +0300)]
Put correct migration

4 years agoAdd migration
Roman Chvanikov [Sat, 26 Oct 2019 19:46:09 +0000 (22:46 +0300)]
Add migration

4 years agoAdd migration
Roman Chvanikov [Sat, 26 Oct 2019 19:45:24 +0000 (22:45 +0300)]
Add migration

4 years agoAdd migration
Roman Chvanikov [Sat, 26 Oct 2019 19:44:42 +0000 (22:44 +0300)]
Add migration

4 years agoAdd migration
Roman Chvanikov [Sat, 26 Oct 2019 19:43:32 +0000 (22:43 +0300)]
Add migration

4 years agoAdd migration
Roman Chvanikov [Sat, 26 Oct 2019 19:42:24 +0000 (22:42 +0300)]
Add migration

4 years agoAdd migration
Roman Chvanikov [Sat, 26 Oct 2019 19:40:51 +0000 (22:40 +0300)]
Add migration

4 years agoAdd migration
Roman Chvanikov [Sat, 26 Oct 2019 19:39:24 +0000 (22:39 +0300)]
Add migration

4 years agoAdd migration
Roman Chvanikov [Sat, 26 Oct 2019 19:38:07 +0000 (22:38 +0300)]
Add migration

4 years agoAdd migration
Roman Chvanikov [Sat, 26 Oct 2019 19:37:30 +0000 (22:37 +0300)]
Add migration

4 years agoAdd migration
Roman Chvanikov [Sat, 26 Oct 2019 19:36:43 +0000 (22:36 +0300)]
Add migration

4 years agoAdd migration
Roman Chvanikov [Sat, 26 Oct 2019 19:33:18 +0000 (22:33 +0300)]
Add migration

4 years agoAdd migration
Roman Chvanikov [Sat, 26 Oct 2019 19:32:31 +0000 (22:32 +0300)]
Add migration

4 years agoAdd migration
Roman Chvanikov [Sat, 26 Oct 2019 19:31:25 +0000 (22:31 +0300)]
Add migration

4 years agoAdd migration
Roman Chvanikov [Sat, 26 Oct 2019 19:28:18 +0000 (22:28 +0300)]
Add migration

4 years agoMerge branch 'conversation-read-status-for-blocking-user' into 'develop'
kaniini [Sat, 26 Oct 2019 10:37:27 +0000 (10:37 +0000)]
Merge branch 'conversation-read-status-for-blocking-user' into 'develop'

Count only visible conversations in the user's unread_conversation_count

See merge request pleroma/pleroma!1886

4 years agoUser info migration improvements
rinpatch [Sat, 26 Oct 2019 00:45:24 +0000 (03:45 +0300)]
User info migration improvements

- Move column additions into a separate migration, so postgres doesn't
need an exclusive lock on the table for the main part
- Fill in columns by using one big update statement instead of a bunch
of small ones because it's much faster (the migration took 140s on
patch.cx database)

4 years agoMark the conversations with the blocked user as read and update the blocking user...
eugenijm [Fri, 25 Oct 2019 18:29:23 +0000 (21:29 +0300)]
Mark the conversations with the blocked user as read and update the blocking user's `unread_conversation_count`.

Since the conversations with the blocked user are invisible, they are excluded
from the blocking user's `unread_conversation_count`.

4 years agoMerge branch 'remove-unsed-info-fields-fn' into 'develop'
rinpatch [Fri, 25 Oct 2019 14:51:02 +0000 (14:51 +0000)]
Merge branch 'remove-unsed-info-fields-fn' into 'develop'

Remove unused Pleroma.User.info_fields/0

See merge request pleroma/pleroma!1882

4 years agoRemove unused Pleroma.User.info_fields/0
Egor Kislitsyn [Fri, 25 Oct 2019 09:48:01 +0000 (16:48 +0700)]
Remove unused Pleroma.User.info_fields/0

4 years agoMerge branch 'fix/pleroma-ctl-fix-shift-dash' into 'develop'
kaniini [Fri, 25 Oct 2019 00:24:01 +0000 (00:24 +0000)]
Merge branch 'fix/pleroma-ctl-fix-shift-dash' into 'develop'

pleroma_ctl: fix crashes due to different shift(1) behavior on dash

See merge request pleroma/pleroma!1880

4 years agoMerge branch 'object-fetch-errors' into 'develop'
kaniini [Fri, 25 Oct 2019 00:22:50 +0000 (00:22 +0000)]
Merge branch 'object-fetch-errors' into 'develop'

Object fetch errors

See merge request pleroma/pleroma!1881

4 years agopleroma_ctl: fix crashes due to different shift(1) behavior on dash
rinpatch [Thu, 24 Oct 2019 20:28:59 +0000 (23:28 +0300)]
pleroma_ctl: fix crashes due to different shift(1) behavior on dash

4 years agofix test
stwf [Thu, 24 Oct 2019 16:48:17 +0000 (12:48 -0400)]
fix test

4 years agoobject fetcher error handling
stwf [Thu, 24 Oct 2019 16:08:34 +0000 (12:08 -0400)]
object fetcher error handling

4 years agoMerge branch 'fix/readme' into 'develop'
kaniini [Thu, 24 Oct 2019 08:34:35 +0000 (08:34 +0000)]
Merge branch 'fix/readme' into 'develop'

fix link on docs-develop.pleroma.social

See merge request pleroma/pleroma!1876

4 years agoMerge remote-tracking branch 'upstream/develop' into refactor/following-relationships
Egor Kislitsyn [Thu, 24 Oct 2019 07:42:14 +0000 (14:42 +0700)]
Merge remote-tracking branch 'upstream/develop' into refactor/following-relationships

4 years agofix link on docs-develop.pleroma.social
Maksim Pechnikov [Thu, 24 Oct 2019 06:58:37 +0000 (09:58 +0300)]
fix link on docs-develop.pleroma.social

4 years agoStore status data inside Flag activity
Maxim Filippov [Wed, 23 Oct 2019 19:27:22 +0000 (21:27 +0200)]
Store status data inside Flag activity