Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add signIn improvements && integrate redis api for lru on pr… #656

Merged
merged 6 commits into from Feb 11, 2021

Conversation

kenshyx
Copy link
Member

@kenshyx kenshyx commented Feb 11, 2021

Description

Fixes for resume session signin loop and add redis backend for cache

Issues that will be closed

Testing

Checklist

  • I have read the README document
  • I have read the CONTRIBUTING document
  • I have added tests to cover my changes
  • All new and existing tests passed
  • My commit message follows Conventional Commit Guideline

@github-actions github-actions bot added the sdk label Feb 11, 2021
@kenshyx kenshyx self-assigned this Feb 11, 2021
@kenshyx kenshyx merged commit c80b6a4 into master Feb 11, 2021
@kenshyx kenshyx deleted the redis-lru1 branch February 11, 2021 20:08
kenshyx added a commit that referenced this pull request Mar 5, 2021
* chore(): testing deployment (#650)

* chore(): testing deployment

* chore(): codefactor

* Workflow (#651)

* chore(): testing deployment

* chore(): codefactor

* chore(): fix deps

* chore(): test deploy action

* chore(): update on everything

* chore(): deploy graphql

* chore(): pass env vars

* chore(): try diff setup for env

* chore(): prevent overwrite

* chore(): remove console.logs

* chore(): separated endpoints for prod and staging

* refactor sdk (#631)

* feat: initial structure for refactored sdk

* chore: refactor service responses && add working webpack config

* refactor: db service and interface

* refactor: db service, settings and webpack config

* chore(): fixes

* chore(): tmp changes

* chore(): change resolvers

* chore(): add posts by author/tag graphql endpoint

* chore(): fix mentions object data

* chore(): add quotedByAuthors

* chore(): add globalSearch graphql

* chore(): tmp

* chore(): omit refactored sdk

* Feat/feed app moderation (#638)

* feat(ui): EntryCardHidden component and story

* feat: create and implement useRequest hook

* refactor(hooks): update useRequest

* refactor(moderation): remove restriction

* feat: helper method to check for delisted items
- update EntryData interface
- adjust font size and clickhandler for hidden entry card

* feat: feed-app integration with moderation api
- rename and modify checkDelisted
- update constants, interfaces and posting service

* feat: resolve all user profiles on moderation app

* Merge branch 'master' of github.com:AKASHAorg/akasha-world-framework into feat/feed-app-moderation

* feat(apps, ui): render reported posts accordingly
- move fetch-request and constants into hooks package

* fix: update import

* feat(apps, ui): show count on content tab
- update url to match environment

* fix: remove trailing slash

* fix: quotes

* chore(): add some logging

* chore(): add error tracing

* Update constants.ts

* chore(): change buck entry

* chore(): add redis cache middleware

* chore(): try cluster

* chore(): add tls

* chore(): change to redis connection string

* chore(): update moderation endpoint

* chore(): update bucket api

* chore(): update lock files

* chore(): add search cache

* Patches2 (#652)

* fix(): social bar avatars

* feat(): tag subscriptions

* feat(): add share modal to profile pages

* feat(): add qr code to profile card

* chore(): circle

* chore(): circle

* Fix/feed app moderation (#653)

* feat(ui): EntryCardHidden component and story

* feat: create and implement useRequest hook

* refactor(hooks): update useRequest

* refactor(moderation): remove restriction

* feat: helper method to check for delisted items
- update EntryData interface
- adjust font size and clickhandler for hidden entry card

* feat: feed-app integration with moderation api
- rename and modify checkDelisted
- update constants, interfaces and posting service

* feat: resolve all user profiles on moderation app

* Merge branch 'master' of github.com:AKASHAorg/akasha-world-framework into feat/feed-app-moderation

* feat(apps, ui): render reported posts accordingly
- move fetch-request and constants into hooks package

* fix: update import

* feat(apps, ui): show count on content tab
- update url to match environment

* fix: remove trailing slash

* fix: quotes

* fix: api url

Co-authored-by: Marius Darila <3396463+kenshyx@users.noreply.github.com>

* chore(): add Inter font

* chore(): add font sources

* chore(): add matomo analytics for netlify

* chore(): update matomo location

* chore(): change ipfs public gateway

* chore(): fix textile bucket creation

* chore(): refresh search cache every 30min

* fix(): multiple ux, styling fixes, optimistic follow/unfollow (#654)

* fix(): multiple ux, styling fixes, optimistic follow/unfollow

* chore(): circle, hide follow/subscribe buttons when user is logged out

* Update post.ts

* Update post.ts

* add signIn improvements && integrate redis api for lru on pr… (#656)

* chore(): add signIn improvements && integrate redis api for lru on production

* chore(): please codefactor

* chore(): fix codefactor

* chore(): logging format

* Update redis-lru.ts

force flush db

* chore(): fix new posts cache

* chore(): fallback to in mem cache

* chore(): reduce gql cache to 30s

* chore(): retry redis cache backend

* chore(): flushdb

* chore(): init empty redis

* Update profile.store.service.ts

* Search plugin (#658)

* feat(): search plugin WIP, useSearch hook, update hooks to use errorHandler util, remove disableCopyIpfs prop

* fix(): search fixes

* fix(): comment redirect to postId, global tag subscribe expects boolean resp

* chore()

* chore()

* chore(): circle

* Patches4 (#659)

* fix(): refactor search plugin with route component, add login modal

* feat(): topbar mobile search state

* chore(): circle

* feat(): feed app moderation updates (#657)

* feat(apps, ui): handle quote moderation status
- update card click handler on moderation app
- get status count of moderated contents

* feat(apps, ui): handle post page moderation
- fix ContentList props

* fix(apps): update label

* refactor(apps, ui): pass user in request
- update labels

* refactor(apps, ui): rename hook and labels

* refactor(ui): rename hook

* refactor(ui): handle quote moderation in getPost

* refactor(ui): rename file

Co-authored-by: Marius Darila <3396463+kenshyx@users.noreply.github.com>

* chore(): add better web3 detection && acc change

* chore(): remove unsupported method

* Feat/profile posts (#660)

* chore(): feed-widget

* chore(): add entries to profile pages

* chore(): merge with master

* chore(): cleanup

* chore(): fix circle

* fix(): storybook

* chore(): general code improvements

* chore(): add optional chaining to pending comments

* Fix: useEffect logic (#743)

* fix(apps): fix useEffect logic

* fix(ui): remove delisted items from posts object

* fix(ui): nullish coalescing

* refactor(apps, ui): consolidate itemCardAlt prop

* Merge branch 'master' of github.com:AKASHAorg/akasha-world-framework into fix/moderation-app

* fix(ui): remove redundant prop

* fix(): notification link to profile (#749)

* fix(apps, ui): resolve moderation-app profiles (#769)

- adjust report success modal label

* fix(): ens and images in cards (#771)

* Patches5 (#768)

* fix(): comment editor popovers, ui fixes

* fix(): login widget mobile styles, trending profile redirect, comments on navigation, topbar mobile styles

* fix(): remove follow from entry hover card, clear duplicated code for entry utils, fix profile redirects

* faucet, message signing && ens improvements (#777)

* chore(): faucet, message signing && ens improvements

* chore(): linting

* chore(): create a new web3 provider on signIn

* refactor(): merge profile and my profile page, ellipsis for long attributes (#780)

* refactor: disable report profile (#776)

- update interfaces
- remove translation for contentType

* chore(): add optimistic currentProfile (#782)

* chore(): keep sess keys

* chore(): add session cleanup on error and acc change

* chore(): prevent early db calls

* patches7 (#781)

* fix(): profile page nav for same profile, add pubkey for publishing post author

* fix(): editor placeholder spacing

* refactor(): login widget design update, search bar and other ui fixes

* chore(): circle

* fix(): long texts fill available space, entry box hides overflowing content, cover image background fixes

* chore()

* fix(): entry box long post adjustments

* fix(): entry nav on profile feed

* chore()

* fix(): long names on mobile

* Feat: eip1271 sig support, wc disconnect and ready event (#825)

* chore(): initial eip1271 impl

* chore(): add provider disconnect, eip1271 fix and ready event

* chore(): add CSP meta

* chore(): add extra policies for img and domain

* chore(): explicit transform to uint8 of images

* chore(): env aware user buckets

* chore(): fix cache strategy for vendors

* Refactor: consolidate entry cards (#815)

* refactor: consolidate entry cards
 - remove redundant files

* style(apps): align center

* style(apps): mobile responsive content card

* style(apps): adjust modal width on tablet size
- update radio button width and size

* refactor(): add Signature header to mutation requests (#832)

* Fix/akasha app/feed (#867)

* chore(): error handlers

* chore(): fix duplicate key error

* chore(): fix wrong param onClick in trending widget

* refactor(): add signature validation on mutation api calls (#869)

* chore(): add flags (#885)

* chore(): add flags

* chore(): fix circle

* fix: moderation app (#842)

fixes select issues on the moderation app

* chore(): add network check utility for ethereum chain (#893)

* fix: refactor useEffect (#900)

* fix(ui): cannot read substring of undefined (#902)

* Patches8 (#901)

* fix(): remove redundant entry box prop, disable actions while posting entry, other fixes

* refactor(): share post

* refactor(): editor upload image

* refactor(): extract image upload component

* chore():circle

* chore(): circle

* fix: session, network and wc (#905)

* Feat: refactor moderation auth pages (#903)

* feat(ui): create and export moderation error card
- update interfaces

* feat(apps): refactor moderation auth pages
- remove redundant files

* chore(): fix calls and add more error handlers (#906)

* chore(): fix calls and add more error handlers

* chore(): add error handlers to trending widget, minor other fixes

* chore(): fixes

* Feat: profile page post report functionality and moderation (#907)

* feat(ui): profile page post report functionality and moderation

* refactor: fetch profile page posts on user login
- reset virtual list

* Feat: search page post report functionality and moderation (#908)

* fix(moderation): update prop

* feat(ui): search plugin post report and moderation

* chore(): fix feed page moderation and first call hooks (#910)

* Patches9 (#912)

* feat(): repost from full entry page, use modal hook in feed app

* fix(): encode search param

* fix(): mention popover long texts, add manual selection after insert/delete image

* feat(): modal hook, repost, redirects, bookmarks in search page

* fix(): show follow buttons when logged out, fix my profile feed

* chore(): circle

* Update netlify.toml

fix storybook serve

Co-authored-by: Josemaria Nriagu <49484425+josenriagu@users.noreply.github.com>
Co-authored-by: Vali Cotea <quininez@users.noreply.github.com>
Co-authored-by: Sever Abibula <5903809+SeverS@users.noreply.github.com>
kenshyx added a commit that referenced this pull request Nov 30, 2021
* chore(): add signIn improvements && integrate redis api for lru on production

* chore(): please codefactor

* chore(): fix codefactor

* chore(): logging format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant