Commit Graph

1344 Commits

Author SHA1 Message Date
Developer
4d43158fe2 Updated NotificationsPage to reset to 'all' every time page loads
• Updated:
- NotificationsPage to reset to 'all' every time page loads
2021-02-25 11:06:42 -05:00
Developer
573fdbc981 Fixed issue with MediaModal causing page to scroll to top on open
• Fixed:
- issue with MediaModal causing page to scroll to top on open

The code in this removal was used to enable a back-btn to close the media modal. But unintended scrolling is more important than a third option to close a dialog. (Click X, press escape)
2021-02-25 11:02:45 -05:00
Developer
444263a8b2 Updated Notification timestamp to link to status/mention/comment
• Updated:
- Notification timestamp to link to status/mention/comment
2021-02-25 10:40:52 -05:00
Developer
2a8ca2cd56 Added new spam_flag to Accounts, replacing is_flagged_as_spam
• Added:
- new spam_flag to Accounts, replacing is_flagged_as_spam
- null/0: no spam, 1: spam, 2: safe from spam

• Updated:
- Comment, Status to reflect changes

• Todo:
- Fully remove is_flagged_as_spam
- Update SortingQueryBuilder
2021-02-18 23:46:53 -05:00
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
0456ccfb2a Added missing fillSecondary class
• Added:
- missing fillSecondary class
2021-02-15 21:00:43 -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
538bcf21c9 Updated registration page username to disallow unallowed characters
• Updated:
- registration page username to disallow unallowed characters (special characters, spaces, etc.) and rewrite if is written in that field
2021-02-11 00:57:48 -05: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 c14fc2fa9d109e3e895b742f83e50c4f7c9b845d, reversing
changes made to 22c3fa995d88b141249017c06dd76714123d2d7a.
2021-02-09 23:58:00 -05:00
Fosco Marotto
ad35c7fa72 Revert "Merge branch 'fix_null_bearer' into 'develop'"
This reverts commit 22c3fa995d88b141249017c06dd76714123d2d7a, reversing
changes made to 3931ba4f819302d0e215d41aa4b17dc2a5b182a7.
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