Commit Graph

1194 Commits

Author SHA1 Message Date
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
Developer 39a3d44bdd Updated all admin moderation links from app popover menus to open in new tab
• Updated:
- all admin moderation links from app popover menus to open in new tab
- GroupOptionsPopover group admin moderation link
- ProfileOptionsPopover account admin moderation link
- StatusOptionsPopover account and status admin moderation links
2021-02-11 00:23:20 -05:00
Developer b636f36871 Added prop for openInNewTab in ListItem for Button links
• Added:
- prop for openInNewTab in ListItem for Button links
2021-02-11 00:21:44 -05:00
Developer 2fff6b3046 Fixed issue with empty featured group in FeaturedGroupsInjection
• Fixed:
- issue with empty featured group in FeaturedGroupsInjection

• Added:
- missing key in loop in FeaturedGroupsInjection render
2021-02-11 00:17:56 -05:00
Developer f56d177b9b Added ability to copy g/ group link in GroupHeader to clipboard
• Added:
- ability to copy g/ group link in GroupHeader to clipboard on then show an alert on desktop
2021-02-11 00:16:43 -05:00
mgabdev d73b4afa28 Updated random int function to use helper numbers util in ws stream.js
• Updated:
- random int function to use helper numbers util in ws stream.js
2021-02-10 23:21:35 -05:00
mgabdev 72162affcf Updated stream ws to close if backend api error
• Updated:
- stream ws to close if backend api error and not retry over and over again
2021-02-10 23:08:00 -05:00
Developer a42b7797d8 Updated websocket.js to @gamestdio/websocket
• Updated:
- websocket.js (depreacated) to @gamestdio/websocket (latest)
2021-02-10 20:11:18 -05:00
Developer 8b8f73deb1 Added back account autofill mention in composer
• Added:
- account autofill mention in composer after removing for performance reasons

• Updated:
- throttle for account search function
2021-02-10 13:29:48 -05:00
Developer 3e9e32b276 Updated lists to make account search work
• Updated:
- lists to make account search work for adding new members
2021-02-10 12:41:41 -05:00
Developer ab2521b880 Fixed issue with search icon in the search bar submitting the search
• Fixed:
- issue with search icon in the search bar submitting the search
2021-02-10 12:34:44 -05:00
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