Commit Graph

186 Commits

Author SHA1 Message Date
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 ccf98d2002
2021-01-24 16:29:57 +00:00
Fosco Marotto
d8230aeaa0 Revert "[home] refactor the home timeline query"
This reverts commit d39664b827.
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
Fosco Marotto
1214b0664c Redis fixes 2021-01-16 14:38:01 -05:00
admin
3344afbb3d Update tag.rb redis 2021-01-16 18:47:38 +00:00
mgabdev
574b45e04b TEST Removing all streaming for now 2
TEST

• Removing:
- all streaming for now 2 (from server side)
2021-01-15 20:42:04 -05:00
mgabdev
a5caa5e352 Updated ReportFilter to use like query for filtering comments
• Updated:
- ReportFilter to use like query for filtering comments
2021-01-15 15:10:47 -05:00
mgabdev
7bc93ff98f Removed all occurances of "theme" from backend, settings
• Removed:
- all occurances of "theme" from backend, settings

Theme is set in WebSettings through client. And set in <Display />.
2021-01-15 14:35:50 -05:00
mgabdev
285aa17024 Added search to admin reports page
• Added:
- search to admin reports page
2021-01-14 14:17:05 -05:00
mgabdev
27389883dd Added local_following_count to account model
• Added:
- local_following_count to account model
2021-01-13 17:16:30 -05:00
Fosco Marotto
22ec66d07f [fixes] Based on APM findings 2021-01-11 23:56:42 -05:00
mgabdev
31de5a0a2d Updated home timeline in Status.rb to find from max 3 days ago
• Updated:
- home timeline in Status.rb to find from max 3 days ago
2021-01-11 03:29:07 -05:00
Fosco Marotto
f873a1f925 Revert "[sidekiq] disable bootstraptimelineworker"
This reverts commit 50f010652e.
2021-01-09 18:23:49 -05:00
Fosco Marotto
50f010652e [sidekiq] disable bootstraptimelineworker 2021-01-09 18:21:41 -05:00
mgabdev
aac506bd4e Removed all usage of unused MergeWorker
• Removed:
- all usage of unused MergeWorker
2021-01-09 14:33:01 -05:00
mgabdev
5e82d71a9f Fixed issue in notifications to show notifications GT not LT 7 days ago
• Fixed:
- issue in notifications to show notifications GT not LT 7 days ago
2021-01-09 02:04:07 -05:00
mgabdev
f4512b4411 Added/removed some functionality to better handle requests/load
- Removed status counting in dashboard for admins
- Added limit to notifications to only 7 days ago
- Removed ability for non-logged in users to view group, group-collection timelines
- Limited account realtime search on compose, list, chat actions
- Removed fetching of user suggestions
- Removed fetching of shortcuts
- Removed featured groups, user suggestions timeline injections
- Removed group featured panel from explore layout for non logged in users
- Removed media gallery panel from profile layout
- Removed lists, suggestions, groups panel from home page
- Removed user suggestions to list page
- Updated pro_timelie in status.rb to find only from 1 hour ago
- Updated home timeline to not include groups and to find only latest from 5 days ago
- Removed search for non logged in users
2021-01-08 21:46:03 -05:00
Fosco Marotto
bc35480662 [media_attachments] support NVENC_ENABLED 2021-01-07 16:10:42 -05:00
mgabdev
2fcc99cccf merge resolving 2021-01-05 11:35:23 -05:00
Fosco Marotto
46ceced444 [home] Home feed update to 21 days and always from database 2021-01-03 00:38:23 -05:00
Fosco Marotto
ecb5c6554c [index] add index on status_revisions.status_id 2021-01-02 23:12:32 -05:00
mgabdev
585b0eccdb Updated Status recent scope to sort by created_at not updated_at
• Updated:
- Status recent scope to sort by created_at not updated_at

Whenever someone makes an edit or updates their status it is sorted by updated_at and goes to the top of the list. We don't want that.
2020-12-31 16:40:56 -05:00
Fosco Marotto
b58f80eb0d [status] home timeline query update 2020-12-27 15:20:42 -05:00
mgabdev
aa88fc16c9 Fixed issue with showing status meta in html head/title tags
• Fixed:
- issue with showing status meta in html head/title tags
2020-12-23 17:38:18 -05:00