Git Product home page Git Product logo

defianz_site's People

Contributors

krush11 avatar

Forkers

shreyansjn

defianz_site's Issues

Responsive design

The design currently only suits laptops and is bad at different viewports. The site is best viewed at 1920px ร— 949px.
Any PR related to this should solve a minimum 1 lower viewport device say, 740px ร— 360px.

Azure authentication bug

Azure authentication is failing with code 403
Areas affected:

  • sponsorship logos upload
  • mechanical CAD files upload
  • avatar upload
  • team documents upload

Error:

StorageError: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
RequestId:4b2a3ee6-501e-0013-1ecc-443ffb000000
Time:2021-05-09T12:09:01.4678233Z
at Function.StorageServiceClient._normalizeError (/home/krush/github/defianz_site/node_modules/azure-storage/lib/common/services/storageserviceclient.js:1205:23)
at BlobService.StorageServiceClient._processResponse (/home/krush/github/defianz_site/node_modules/azure-storage/lib/common/services/storageserviceclient.js:751:50)
at Request.processResponseCallback [as _callback] (/home/krush/github/defianz_site/node_modules/azure-storage/lib/common/services/storageserviceclient.js:319:37)
at Request.self.callback (/home/krush/github/defianz_site/node_modules/request/request.js:185:22)
at Request.emit (node:events:369:20)
at Request.<anonymous> (/home/krush/github/defianz_site/node_modules/request/request.js:1154:10)
at Request.emit (node:events:369:20)
at IncomingMessage.<anonymous> (/home/krush/github/defianz_site/node_modules/request/request.js:1076:12)
at Object.onceWrapper (node:events:475:28)
at IncomingMessage.emit (node:events:381:22)
at endReadableNT (node:internal/streams/readable:1307:12)
at processTicksAndRejections (node:internal/process/task_queues:81:21) {
code: 'AuthenticationFailed',
authenticationerrordetail: "The MAC signature found in the HTTP request 'upQE51qiAOp0ZtDPhtO/xWAYG6TkdRPzrjyPWMbXPdk=' is not the same as any computed signature. Server used following string to sign: 'PUT\n" +
'\n' +
'\n' +
'258000\n' +
'\n' +
'application/octet-stream\n' +
'\n' +
'\n' +
'\n' +
'\n' +
'\n' +
'\n' +
'x-ms-blob-content-md5:nfJKGlmSd1e5y1OpoUp1iQ==\n' +
'x-ms-blob-content-type:image/jpeg\n' +
'x-ms-blob-type:BlockBlob\n' +
'x-ms-client-request-id:56d19530-b0bf-11eb-9778-b7f42a1d2cca\n' +
'x-ms-date:Sun, 09 May 2021 12:09:00 GMT\n' +
'x-ms-version:2018-03-28\n' +
"/defianzdtusdc/team-members/test-432582.jpg'.",
statusCode: 403,
requestId: '4b2a3ee6-501e-0013-1ecc-443ffb000000'
}

Azure latency

The time it takes to load all blobs from azure is too much. Immediate measures have been put up by adding a loading page(as mentioned in #6. However, this issue needs to be addressed in near future.

Possible workarounds:

  1. reduce blob sizes
  2. refactor code to load all pages' blobs beforehand (unlikely)

Update: Temporarily fixed by manually reducing blobs with size >1MB.
Open the issue again in the future if there is need.

Visible API keys

Key things to be addressed with this issue:

  • The API keys are currently visible openly.
  • Create a workflow to check if the website is being built successfully

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.