Commit Graph

207 Commits

Author SHA1 Message Date
Developer
8deb255593 Added new email opt out for GabPRO reminders/introducing
• Added:
- new email opt out for GabPRO reminders/introducing
2021-02-23 13:30:04 -05:00
azuregc7
4fcae80457 Feature/username search case 2021-02-20 13:11:47 +00:00
Developer
b7d6d5f18c Removed validation on spam_field for int in Account model
• Removed:
- validation on spam_field for int in Account model
2021-02-19 12:31:06 -05:00
Developer
d7271b899f Fixed issue with account.rb for spam_flag to include nil by default
• Fixed:
- issue with account.rb for spam_flag to include nil by default

Was causing failure to account sign up where new values are nil and the validation failed because it expected 0,1,2 values.
2021-02-19 11:05:30 -05:00
Developer
2a8ca2cd56 Added new spam_flag to Accounts, replacing is_flagged_as_spam
• Added:
- new spam_flag to Accounts, replacing is_flagged_as_spam
- null/0: no spam, 1: spam, 2: safe from spam

• Updated:
- Comment, Status to reflect changes

• Todo:
- Fully remove is_flagged_as_spam
- Update SortingQueryBuilder
2021-02-18 23:46:53 -05:00
Fosco Marotto
8d3d7efe34 Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into develop 2021-02-16 16:04:25 -05:00
Fosco Marotto
9666472105 Wrap user confirm method with writing role 2021-02-16 16:04:11 -05:00
admin
5d9750fa25 forgot to push these changes 2021-02-16 13:35:19 -05:00
Free Speech Forever
92c9092abd Avoid redundant OAuth queries when not signed in
If you aren't signed in, you don't have an auth token.
When you don't have an auth token, React was sending the headers

"Authorization: Bearer null"

This caused 5 Doorkeeper token lookups using
WHERE "oauth_access_tokens"."token" = 'null'
on the Explore page (the root of the app when not signed in).
2021-02-15 23:26:00 +00:00
Fosco Marotto
5e7cec5345 Change logout deletion method. 2021-02-14 21:26:48 -05:00
Fosco Marotto
0d5acfc3fb Update push subscription writing role 2021-02-14 14:10:25 -05:00
Fosco Marotto
09ba5c9be8 Fix settings application controller writing role 2021-02-14 14:05:03 -05:00
Fosco Marotto
7a2594e105 Add writing role for some moderation classes, update verification method. 2021-02-11 18:34:04 -05:00
mgabdev
e3af1b4a26 Updated LinkBlock checks for if status text contains blocked domain
• Updated:
- LinkBlock checks for if status text contains blocked domain
- normalize_link to use domain instead of normalized_host

• Added:
- normalize_link_domain to check for if entire domains are blocked or not for spam
2021-02-11 00:01:45 -05:00
Developer
30c05a6e96 Added new flags to admin dashboard account search
• Added:
- new flags to admin dashboard account search for PRO, investor, donor, verified
- moved spam to the flags column instead of next to username

• Removed:
- IP Address in account list

• Updated:
- Title for flags in account moderation header
2021-02-10 12:24:09 -05:00
Fosco Marotto
729c00a5a9 Bundle of corrections and one doorkeeper writing role change 2021-02-09 22:32:24 -05:00
Free Speech Forever
473c48b2aa Replace Makara with an initial Rails 6 role based splitting method. 2021-02-09 19:38:10 +00:00
azuregc7
e1a8d158d6 [home] Changed sort back to created_ad after adding new index to accounts 2021-02-06 09:48:18 -08:00
azuregc7
2baebbab18 [home] Changed sort back to created_ad after adding new index to accounts 2021-02-06 09:45:34 -08:00
azuregc7
5f939abfbe [home] Home feed optimizations, sorting 2021-02-04 12:02:51 -08:00
mgabdev
dd8531237d Added filter in account moderation to for spam
• Added:
- filter in account moderation to for spam
2021-02-03 00:58:58 -05:00
azuregc7
b793f5f908 [home] Remove duplicate reposts from timeline feed, improve query performance, and increase batch size 2021-01-30 21:45:35 -08:00
Fosco Marotto
3196dfbda9 Fix and re-enable user activity update 2021-01-30 01:49:22 -05:00
admin
d0b1f28430 Merge branch 'feature/rails_6' into 'develop'
Upgrade to Rails 6

See merge request gab/social/gab-social!52
2021-01-28 17:01:42 +00:00
admin
87138932a0 Merge branch 'gab_provision' of https://code.gab.com/gab/social/gab-social into develop 2021-01-27 16:16:48 -05:00
Fosco Marotto
05e95cf090 [session_activations] Stop needless updated_at changes 2021-01-27 16:08:39 -05:00
mgabdev
b4ba3c70ef Revert streaming removals 2c8b4f7fb, 574b45e04, 8313f4b11
• Revert:
- streaming removals 2c8b4f7fb, 574b45e04, 8313f4b11
2021-01-25 15:52:52 -05:00
Fosco Marotto
4adbadddaa [home] Refactor the home timeline query 2021-01-24 20:11:21 -05:00
Fosco Marotto
1c647b0b06 [reset] cleanup 2021-01-24 13:50:51 -05:00
admin
5d13162204 Revert "Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into develop"
This reverts commit ccf98d200255e461df98a6665de8533cebfa7f51
2021-01-24 16:29:57 +00:00
Fosco Marotto
d8230aeaa0 Revert "[home] refactor the home timeline query"
This reverts commit d39664b827c25b83d30a288163aa18b123c8e5c2.
2021-01-23 23:35:52 -05:00
Fosco Marotto
d39664b827 [home] refactor the home timeline query 2021-01-23 23:23:55 -05:00
Fosco Marotto
2e9562e2fc [home] Reduce following fanout to recent users 2021-01-23 21:36:17 -05:00
Fosco Marotto
acea03da38 Disable mute phrases on the home timeline 2021-01-23 20:31:27 -05:00
Fosco Marotto
41790e4894 Temporarily disable inefficient filter in statuses controller. 2021-01-23 13:13:05 -05:00
Fosco Marotto
958e8aad3a [group_collection] Change to -my groups- timeline 2021-01-23 03:13:47 -05:00
rubic0n
590dfc97e1 Run pending migrations 2021-01-22 22:53:38 -06:00
Fosco Marotto
d35550e535 [home] Show a status if you posted a filtered word 2021-01-22 00:17:25 -05:00
Fosco Marotto
bd3fb4994a [home feed] Still chipping away. 2021-01-22 00:09:26 -05:00
Fosco Marotto
8cc3f549e6 [home feed] Another fix. 2021-01-22 00:06:14 -05:00
Fosco Marotto
94a04d3b54 [home timeline] Fix query condition 2021-01-21 23:56:31 -05:00
Fosco Marotto
fb3b754570 [home time] Alternative method for querying the home timeline 2021-01-21 23:34:14 -05:00
Fosco Marotto
e9cf46b4bc Reverting home timeline changes 2021-01-21 18:05:24 -05:00
Fosco Marotto
5b4b633702 [home feed] Fix for previous update. 2021-01-21 17:19:15 -05:00
Fosco Marotto
8413ca93a4 [home feed] Changes to reduce database use. 2021-01-21 17:09:46 -05:00
mgabdev
96b154831d Added missing group_removed_accounts in AccountInteractions
• Added:
- missing group_removed_accounts in AccountInteractions
2021-01-19 01:26:28 -05:00
mgabdev
51fa8f2eb4 Added/Updated admin dashboard tables
• Added:
- New Account filtering
- PreviewCard viewing/sorting/filtering deleting (todo)
- DeletePreviewCardWorker, Service
- Status viewing/sorting/filtering deleting
- ChatMessage viewing/sorting/filtering deleting (todo)
- Account > Follows view

• Updated:
- LinkBlock to sort alphabetically
- Groups to be under "Moderation" instead of "Admin" in navigation.rb
- Status in admin to have group name/link
- Reports reset button
- Group filtering/sorting
- LinkBlock filtering/sorting
- Account now has bio and few more data points in dashboard
2021-01-19 01:25:25 -05:00
Fosco Marotto
002441af1f [redis] More connection pooling changes 2021-01-17 17:36:20 -05:00
Fosco Marotto
d2d381eb90 Raise profile photo size limit to 5mb 2021-01-17 13:15:53 -05:00
Fosco Marotto
2cdce808a3 redis fixes 2021-01-16 14:43:11 -05:00