Commit Graph

258 Commits

Author SHA1 Message Date
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
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
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
adf0e7ae72 Logging out takes you to the home page. 2021-01-17 00:57:21 -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
Fosco Marotto
8d48c3ce3d Redis connection pooling updates 2021-01-16 13:52:11 -05:00
Fosco Marotto
8b0f566e4f [redis] Example change to redis pooling code. 2021-01-16 13:36:19 -05:00
mgabdev
2a83400d84 Removed unncessary set_data_for_meta before_action in ReactController react route
• Removed:
- unncessary set_data_for_meta before_action in ReactController react route
2021-01-15 15:02:24 -05:00
mgabdev
17af74140e Fixed issue with double render when landing on account or status page
• Fixed:
- issue with double render when landing on account or status page when using "process". Instead now just rendering the page
2021-01-15 15:01:15 -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
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
285aa17024 Added search to admin reports page
• Added:
- search to admin reports page
2021-01-14 14:17:05 -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
89a16b101f Updated admin dashboard for ChatConversationAccounts
• Updated:
- admin dashboard for ChatConversationAccounts
2021-01-13 19:12:57 -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
8aeae9c45d Updated routes for admins dashboard
• Updated:
- routes for admins dashboard (expenses, group categories, promotions, trending hashtags) that were in the /settings path but are now in the /admin path
- /filters to be in /settings/filters

• Removed:
- authorize_follow route
2021-01-13 18:06:45 -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
2e1f12a33a Updated admin Group editing page
• Updated:
- admin Group editing page to include list of admin mods, ability to delete group, ability to make (me/admin) admin of the group
2020-12-30 12:16:47 -05:00
mgabdev
6821909a3f Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into develop 2020-12-29 13:09:08 -05:00
Fosco Marotto
42b6aeac23 [sessions] stick to master, take 2 2020-12-28 01:15:59 -05:00
Fosco Marotto
2b3c571422 [stick to master] Re-enable stick to master for media attachments, enable stick to master for user sessions 2020-12-27 01:57:18 -05:00
mgabdev
3eeb0d5b95 Fixed issue with manifest.json route
• Fixed:
- issue with manifest.json route, now returning hardcoded json successfully
2020-12-26 15:25:39 -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
47dbe64df1 Updated ReactController to process account_show from routes.rb
• Updated:
- ReactController to process account_show from routes.rb
2020-12-24 13:18:19 -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
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
mgabdev
7a62adea3e Progress on chat conversation search, scrolling 2020-12-22 13:38:52 -05:00
mgabdev
06de0c88f3 Progress 2020-12-22 12:49:40 -05:00
mgabdev
34f6a1ab5b Progress
new MediaAttachment video style :playable for mp4 to make videojs work with multiple files, hiding albums, hiding bookmark collections. may need tweaks on mediaattachment for mov and other formats : todo :
2020-12-22 12:11:22 -05:00
mgabdev
6fbea0a59e Progress on little important things
removing .mov for now until we can figure out solution with videojs, added model to track username changes, got chat creation flow down, progress on bookmark collections, albums, filtering blocks/mutes from group, explore, collection timelines
2020-12-22 01:36:38 -05:00