Commit Graph

1204 Commits

Author SHA1 Message Date
Developer bec3360b66 Added checks in ModalBase, PopoverBase if page goes back/forward to dismiss
• Added:
- checks in ModalBase, PopoverBase if page goes back/forward (popstate) to dismiss the modal, popover
2021-02-18 17:22:11 -05:00
Developer 7000902ecb Added check for if node exists before handleKeyDown on PopoverBase
• Added:
- check for if node exists before handleKeyDown on PopoverBase
2021-02-18 17:21:02 -05:00
Developer 84ba247982 Added (temporary) fix for spam bots statuses to be hidden from timelines, comments
• Added:
- (temporary) fix for spam bots statuses to be hidden from timelines, comments

• Todo:
- Implement a new "spam" structure to allow for accounts to be safe from being (re) marked as spam.
2021-02-18 16:25:07 -05:00
Developer e8f50b7ad5 Added check in Comment to see if data exists before rendering
• Added:
- check in Comment to see if data exists before rendering
2021-02-18 16:24:06 -05:00
Developer de7d71e0ee Updated SignUpLogInPanel login/signup buttons to match nav and injection auth buttons
• Updated:
- SignUpLogInPanel login/signup buttons to match nav and injection auth buttons
2021-02-18 13:41:37 -05:00
Developer 6421b632b0 Updated LoggedOutNavigationBar log in button background color
• Updated:
- LoggedOutNavigationBar log in button background color to match themes
2021-02-18 13:39:16 -05:00
Developer 65949c7e71 Removed ImageProxyController API route
• Removed:
- ImageProxyController API route
- removed from news reducer for trends.

• Todo:
- Devise solution for integrating cross site images from trends -> social
2021-02-18 13:34:08 -05:00
mgabdev 5d1a40d936 Added CharacterCounter to ComposeDestinationHeader
• Added:
- CharacterCounter to ComposeDestinationHeader
- Styles for stroke colors for CharacterCounter

• Updated:
- CharacterCounter styles, heights to fit in header
2021-02-15 21:47:56 -05:00
mgabdev 0edaaa95d7 Fixed issue with Following/Followers scrolling to top on infinite scroll pagination
• Fixed:
- issue with Following/Followers scrolling to top on infinite scroll pagination
2021-02-15 20:48:19 -05:00
Fosco Marotto d91df58eb9 Remove stray } from api.js 2021-02-15 19:59:02 -05:00
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