Commit Graph

198 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
0587875a75 Fix current_resource_owner caching implementation 2021-01-30 01:27:11 -05:00
Fosco Marotto
c84e7e3451 [mark_read] first pass at quickly re-enabling this endpoint 2021-01-29 20:20:52 -05:00
Free Speech Forever
75d041af77 Merge branch 'requested_messages_unnecessary_queries' into 'develop'
Remove unnecessary queries from requested conversations count

See merge request gab/social/gab-social!50
2021-01-29 05:09:04 +00:00
Fosco Marotto
7a3cbe60ec [temp] Disable mark_read and some failing updates until they can be fixed. 2021-01-28 20:51:05 -05:00
Fosco Marotto
2b99918b26 Group admins can't leave by clicking 'member' button 2021-01-27 12:16:49 -05:00
Fosco Marotto
3d06e94595 [fix] Logged out user session issue. 2021-01-27 00:24:54 -05:00
admin
132c46ac9a Session and user caching 2021-01-26 23:33:22 +00:00
mgabdev
ba4fb61712 Fixed issue in account StatusesController pagination for cached timelines
• Fixed:
- issue in account StatusesController pagination for cached timelines
2021-01-25 15:45:11 -05:00
Fosco Marotto
81489b7a17 [explore] Remove group posts from explore page. 2021-01-25 02:35:10 -05:00
rubic0n
1b9349bc52 Remove unnecessary queries from requested conversations count 2021-01-24 23:19:20 -06: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
63ad3a1590 [doorkeeper] Attempt to fix oauth connect issues. 2021-01-23 16:33:48 -05:00
Fosco Marotto
8d09044ee4 [doorkeeper] Attempt to fix oauth connect issues. 2021-01-23 16:18:15 -05:00
Fosco Marotto
588894e2c2 [replication] Try master if replica is missing status. 2021-01-23 14:43:01 -05:00
Fosco Marotto
6c2a60b378 Fix previous commit. 2021-01-23 04:30:20 -05:00
Fosco Marotto
b33c16b131 Add a date limit on accounts-statusescontroller without auth 2021-01-23 04:27:48 -05:00
Fosco Marotto
958e8aad3a [group_collection] Change to -my groups- timeline 2021-01-23 03:13:47 -05:00
Fosco Marotto
1e5d12497c [group collection] default to hot posts 2021-01-22 00:46:51 -05:00
Fosco Marotto
e9cf46b4bc Reverting home timeline changes 2021-01-21 18:05:24 -05:00
Fosco Marotto
852d2f78e9 [sorting query builder] Adjust filtering 2021-01-21 17:37:12 -05:00
admin
90b752c91d Update statuses_controller.rb CONTEXT_LIMIT to 512 to fix terrible comment performance 2021-01-19 04:58:52 +00: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
Fosco Marotto
8d48c3ce3d Redis connection pooling updates 2021-01-16 13:52:11 -05:00
mgabdev
c33013cccf Added routes for trending_hashtags, expenses
• Added:
- routes for trending_hashtags, expenses
2021-01-15 14:28:52 -05:00
Fosco Marotto
0269c7e107 [cache] Update cache control header 2021-01-14 17:22:41 -05:00
mgabdev
7c6ef8bb9d Removed some Rack configs and moved RackAttack rate limits, headers
• Removed:
- some Rack configs and moved RackAttack rate limits, headers
2021-01-14 13:37:38 -05:00
mgabdev
feea5a65bc Fixed issue with account StatusesController
• Fixed:
- issue with account StatusesController
2021-01-14 00:10:00 -05:00
mgabdev
fb75f33b12 Updated account, groups relationships routes to post data instead of get
• Updated:
- account, groups relationships routes to post data instead of get
2021-01-13 23:51:44 -05:00
mgabdev
25118d260e Updated account StatusesController
• Updated:
- account StatusesController
2021-01-13 23:10:32 -05:00
mgabdev
129a97c1ee Updated Status comments/context to be visible to logged in users
• Updated:
- Status comments/context to be visible to logged in users
2021-01-13 22:28:09 -05:00
mgabdev
25297df30f Updated Group/Collection,Pins controllers to require user for API
• Updated:
- Group/Collection,Pins controllers to require user for API
2021-01-13 21:45:03 -05:00
mgabdev
6e475f66cb Updated MIN_UNAUTHENTICATED_PAGES to 1
• Updated:
- MIN_UNAUTHENTICATED_PAGES to 1
2021-01-13 21:43:55 -05:00
mgabdev
6234cde19c Added shortcuts back to sidebar (visible to PRO only for now)
• Added:
- shortcuts back to sidebar (visible to PRO only for now)
2021-01-13 18:46:28 -05:00
mgabdev
b15c905143 Removed API route for v1/search, only using v2/search now
• Removed:
- API route for v1/search, only using v2/search now
- v2/search requires user (for now)
2021-01-13 18:14:57 -05:00
mgabdev
2c5676a2fc Updated Explore,Group,GroupCollection timeline controllers unauth result limits
• Updated:
- Explore,Group,GroupCollection timeline controllers unauth result limits to be max 2 pages (group still empty for now)
- Max limit to be 25 (for everything, unless provided default) in BaseController
2021-01-13 14:06:28 -05:00
Fosco Marotto
46ca48b1a8 [cache] Change the base cache control to private 2021-01-12 16:42:58 -05:00
mgabdev
e689409a72 Updated AccountByUsernameController to return error 404 if suspended
• Updated:
- AccountByUsernameController to return error 404 if suspended
2021-01-12 00:51:03 -05:00
Fosco Marotto
5e6211a4f4 [feed manager] Gut the feed manager 2021-01-12 00:17:19 -05:00
Fosco Marotto
22ec66d07f [fixes] Based on APM findings 2021-01-11 23:56:42 -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
mgabdev
35f98bbfaa Updated DEFAULT_CHAT_CONVERSATION_LIMIT to 100
• Updated:
- DEFAULT_CHAT_CONVERSATION_LIMIT to 100
2020-12-31 20:51:38 -05:00
mgabdev
4d2a4cc44d Fixed issue with pagination of ChatConversations
• Fixed:
- issue with pagination of ChatConversations
2020-12-31 20:51:02 -05:00
mgabdev
5b852ae10e Updated ListsAccountsController to check if account blocks current_account
• Updated:
- ListsAccountsController to check if account blocks current_account
- Lists action and controller to only allow singular account_id instead of array
2020-12-31 19:17:55 -05:00
mgabdev
91c1b769c3 Fixed issues with ExploreController, SortingQueryBuilder
• Fixed:
- issues with ExploreController when no account exists
- SortingQueryBuilder with correct status_stat path
2020-12-24 13:41:00 -05:00
mgabdev
620f50752f Updated SortingQueryBuilder for ExploreTimeline, GroupCollectionTimeline, GroupTimeline
• Updated:
- SortingQueryBuilder for ExploreTimeline, GroupCollectionTimeline, GroupTimeline

• TODO
- Test on a lot of data to ensure no repeats
- Test reducers/timeline updates to appending and concating non status.id sorted results
2020-12-24 13:34:14 -05:00
mgabdev
c37a5822fc Updated results to only be visible if requester has sent chat message
• Updated:
- results in RequestedConversationsController to only be visible if requester has sent chat message for count and index routes
2020-12-22 23:41:59 -05:00
mgabdev
0bf305019a Fixes
Fixes
2020-12-22 16:15:19 -05:00