Commit Graph

1183 Commits

Author SHA1 Message Date
Fosco Marotto
a1a97bb483 Revert "Merge branch 'features/null_bearer2' into 'develop'"
This reverts commit c14fc2fa9d, reversing
changes made to 22c3fa995d.
2021-02-09 23:58:00 -05:00
Fosco Marotto
ad35c7fa72 Revert "Merge branch 'fix_null_bearer' into 'develop'"
This reverts commit 22c3fa995d, reversing
changes made to 3931ba4f81.
2021-02-09 23:57:16 -05:00
Free Speech Forever
c14fc2fa9d Merge branch 'features/null_bearer2' into 'develop'
Fix authorization header when no access token

See merge request gab/social/gab-social!58
2021-02-10 03:34:35 +00:00
Fosco Marotto
ae036995bf Fix authorization header when no access token 2021-02-09 11:16:04 -05:00
rubic0n
57a88c5904 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-06 22:41:35 -06:00
Fosco Marotto
c45d8adbf2 Another group collection controller sort change. 2021-02-05 00:12:51 -05:00
mgabdev
e047a50967 Fixed issue with statuses moderation interface
• Fixed:
- issue with statuses moderation interface
2021-02-02 20:49:01 -05:00
mgabdev
dcbbd51d2a Removing chat messages stream for now
• Removing:
- chat messages stream for now
2021-01-25 16:38:22 -05:00
mgabdev
5600c94f5a Fixed issue with active icons in action bar for like, repost if no active user
• Fixed:
- issue with active icons in action bar for like, repost if no active user
2021-01-25 16:01:55 -05:00
mgabdev
b4ba3c70ef Revert streaming removals 2c8b4f7fb, 574b45e04, 8313f4b11
• Revert:
- streaming removals 2c8b4f7fb, 574b45e04, 8313f4b11
2021-01-25 15:52:52 -05:00
mgabdev
bda2f6b60f Removed Chat link from HomePage
• Removed:
- Chat link from HomePage
2021-01-25 13:02:26 -05:00
mgabdev
fdef75a4f5 Removed chat buttons from ProfileHeader, DeckSidebar
• Removed:
- chat buttons from ProfileHeader, DeckSidebar
2021-01-25 12:42:46 -05:00
mgabdev
081f59c872 Removing Chat/Dms for now
• Removing:
- Chat/Dms for now
2021-01-25 12:23:17 -05:00
Fosco Marotto
01d736c6b2 [group] Change group sorting default back to newest. 2021-01-25 10:53:11 -05:00
Fosco Marotto
3f6e8a62fd [groups] Change default sorts for groups and groups collection 2021-01-24 15:21:09 -05:00
mgabdev
24fa2d3a74 Updated StatusOptionsPopover group actions to be allowed for staff
• Updated:
- StatusOptionsPopover group actions to be allowed for staff
2021-01-19 00:38:37 -05:00
Fosco Marotto
addfa1f8e0 Change funding bar text. 2021-01-16 15:23:33 -05:00
mgabdev
8313f4b11d TEST Removing all streaming for now
TEST
• Removing:
- all streaming for now
2021-01-15 20:35:28 -05:00
mgabdev
2cd09a8e72 Added trending_hashtags to redux to fetch on isXS in SearchLayout
• Added:
- trending_hashtags to redux to fetch on isXS in SearchLayout

• Removed:
- trending_hashtags from initial state
2021-01-15 15:36:14 -05:00
mgabdev
f7b061845e Updated expenses action in redux to not call more than once
• Updated:
- expenses action in redux to not call more than once
2021-01-15 15:21:31 -05:00
mgabdev
cca9a2d24e Removed monthlyExpensesComplete from initial state, moved into API call
• Removed:
- monthlyExpensesComplete from initial state, moved into API call
- set up expenses to read from redux for Progress panel/injection
2021-01-15 15:00:20 -05:00
mgabdev
daca5321e2 Removed log from hashtags reducer
• Removed:
- log from hashtags reducer
2021-01-15 14:29:51 -05:00
mgabdev
4d000009f5 Removed log in WelcomeReminders component
• Removed:
- log in WelcomeReminders component
2021-01-14 15:52:09 -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
ddfafa7d53 Removed UserSuggestionsPanel from HomePage sidebar for now
• Removed:
- UserSuggestionsPanel from HomePage sidebar for now
2021-01-13 23:25:57 -05:00
mgabdev
265cdbb548 Updated HomePage to show Lists, Suggestions, Groups in sidebar if PRO (for now)
• Updated:
- HomePage to show Lists, Suggestions, Groups in sidebar if PRO (for now)
2021-01-13 23:23:01 -05:00
mgabdev
05e97f741e Added feature where if no user and device dark mode enabled, enable dark mode
• Added:
- feature where if no user and device dark mode enabled, enable dark mode
2021-01-13 23:19:37 -05:00
mgabdev
f86c1b3c6e Updated global styles and TabBarItem styles
• Updated:
- global styles and TabBarItem styles
2021-01-13 22:54:28 -05:00
mgabdev
be38ed784c Added MIN_UNAUTHENTICATED_PAGES for pagination of group, explore timelines
• Added:
- MIN_UNAUTHENTICATED_PAGES for pagination of group, explore timelines
2021-01-13 22:49:00 -05:00
mgabdev
0ef9d8410f Fixed issue in timelines reducer with wrong variable on fail
• Fixed:
- issue in timelines reducer with wrong variable on fail
2021-01-13 22:46:40 -05:00
mgabdev
e82f89b7ac Updated timeline action use new method to stop requests from going out
• Updated;
- timeline action use new method to stop requests from going out if requires auth and no user or if no required value in function
2021-01-13 22:41:47 -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
670d6b7c65 Updated StatusList to show SignUpPanel at end of list if no user exists
• Updated:
- StatusList to show SignUpPanel at end of list if no user exists
2021-01-13 21:46:49 -05:00
mgabdev
3c252e0f4c Removed unused CommunityTimeline references, public timeline route
• Removed:
- unused CommunityTimeline references, public timeline route
2021-01-13 21:43:18 -05:00
mgabdev
183e46aa57 Added featured groups timeline injection back to timeline
• Added:
- featured groups timeline injection back to timeline
2021-01-13 18:47:58 -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
625cfab1b4 Fixed issue with emoji placement in composer
• Fixed:
- issue with emoji placement in composer
2021-01-13 18:37:07 -05:00
mgabdev
2fe5162aa8 Added WelcomeReminders component for new users
• Added:
- WelcomeReminders component for new users to complete their profile, post new status, follow a user
2021-01-13 18:31:31 -05:00
mgabdev
e754c6219b Updated HashtagTimeline to not take in multiple tags
• Updated:
- HashtagTimeline to not take in multiple tags
2021-01-13 18:10:39 -05:00
mgabdev
d01f610da3 Added missing check in List component for if items exist
• Added:
- missing check in List component for if items exist
2021-01-13 12:05:29 -05:00
mgabdev
1899ddfbfb Updated PanelLayout footerButton styles
• Updated:
- PanelLayout footerButton styles
2021-01-13 12:03:09 -05:00
mgabdev
44b3484cb2 Updated chat_conversations, search actions redux
• Updated:
- chat_conversations unread_count to return 0
- search to return false if no user
2021-01-10 02:16:30 -05:00
mgabdev
60ce67309c Updated numbers util to truncate MILLIONS (!)
• Updated:
- numbers util to truncate MILLIONS
2021-01-09 20:39:59 -05:00
mgabdev
19a7d2f31a Fixed issue with account follow button not displaying properly
• Fixed:
- issue with account follow button not displaying properly (after removing relationship fetching in notifications and timelines)
2021-01-09 03:25:54 -05:00
mgabdev
e432c2effb Updated shortcuts to show again
• Updated:
- shortcuts to show again
2021-01-09 02:01:11 -05:00
mgabdev
8c7a52065c Added debouncing to markReadNotifications and fetchComments
• Added:
- debouncing to markReadNotifications and fetchComments
2021-01-09 01:50:18 -05:00
mgabdev
1da4cb9f0f Removed relationship fetch on timeline successful load
• Removed:
- relationship fetch on timeline successful load
2021-01-09 01:06:35 -05:00
mgabdev
5d71dc2be3 Removed fetchRelatedRelationships in streaming notifications
• Removed:
- fetchRelatedRelationships in streaming notifications
2021-01-09 01:03:05 -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
152e59a66f Updated all components that implement window resize to use redux dimensions
• Updated:
- all components that implement window resize to use redux dimensions
2021-01-08 00:15:53 -05:00