Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 01 23:15
    kieckhafer edited #6107
  • Apr 01 23:05
    kieckhafer edited #6107
  • Apr 01 22:41
    kieckhafer edited #6107
  • Apr 01 22:34
    kieckhafer edited #6107
  • Apr 01 22:07
    kieckhafer edited #6166
  • Apr 01 22:07
    kieckhafer edited #6166
  • Apr 01 22:07
    kieckhafer edited #6168
  • Apr 01 22:06
    kieckhafer edited #6168
  • Apr 01 22:06
    kieckhafer edited #6177
  • Apr 01 22:06
    kieckhafer edited #6177
  • Apr 01 22:06
    kieckhafer edited #6179
  • Apr 01 22:06
    kieckhafer edited #6179
  • Apr 01 22:02
    kieckhafer edited #6180
  • Apr 01 22:02
    kieckhafer edited #6180
  • Apr 01 21:53

    kieckhafer on refactor-kieckhafer-moveSitemapGeneratorPluginToNPM

    feat: add more createProduct fi… feat: add shouldCreateFirstVari… feat: add variant param to crea… and 42 more (compare)

  • Apr 01 21:53
    kieckhafer synchronize #6144
  • Apr 01 21:52
    kieckhafer synchronize #6144
  • Apr 01 21:52

    kieckhafer on refactor-kieckhafer-moveSitemapGeneratorPluginToNPM

    chore: update sitemap-generator… (compare)

  • Apr 01 21:52
    kieckhafer edited #6144
  • Apr 01 21:52
    kieckhafer edited #6144
Vladimir Puz
@redscare
Has anyone found a way to fix error "update failed: Access denied. No allow validators set on restricted collection for method 'update'"
Loan Laux
@loan-laux
@redscare When does that happen and are you using the latest version?
Vladimir Puz
@redscare
@loan-laux it is happening when i am trying to change any value in Shop Localization
i am using latest reaction-development-platform (trunk).
reaction-admin is beta5
and Reaction is in dev mode (tried default also)
Loan Laux
@loan-laux
@redscare Sorry about that, reaction-admin is the last bit of RC 3 that’s still in beta. It’s about to hit stable very soon. One of the very last things that are still WIP is to update the shop settings to use the GraphQL API. They won’t work until this PR is merged. reactioncommerce/reaction-admin#206
Same for the product editor with this PR: reactioncommerce/reaction-admin#188. No official ETA but looking at the commits I’m fairly sure that it’ll be just a few days.
Vladimir Puz
@redscare
Thanks for information... Can i also ask you if you have any plans to update Stripe plugin to support Strong Customer Authentication? I saw it somewhere on roadmap few month ago
Loan Laux
@loan-laux
Definitely on the table, but AFAIK no work has begun towards that. Maybe @spencern can chime in here? It’s the weekend though so expect a response on Monday, most probably.
Vladimir Puz
@redscare
well actually i did it myself for 2 version, so it there a sense to migrate it..
ok, i got it... thanks for info
Loan Laux
@loan-laux
If you’ve got it working on your own, then please definitely make a PR for the whole community to benefit. I know lots of improvements on many projects never get open-sourced by lack of time, so it would be greatly appreciated if you could contribute. :)
Vladimir Puz
@redscare
i will do it for sure, but have to migrate it to 3 version. And i still have to implement multi language support first
Loan Laux
@loan-laux
For i18n implementation, I know that @HarisSpahijaPon and @janus-reith are working on it, so you may want to sync with them… Just a thought.
Vladimir Puz
@redscare
well, it is not i18n only, i also need to translate product details and prices
Loan Laux
@loan-laux
Ah yes, very important feature too
Fakhriddin
@softerboy
Can't display image thumbnails in admin page. Browser console says: Content Security Policy: The page’s settings blocked the loading of a resource at http://my.domain.com:3000/assets/files/Media/xiFuKrkFE2RS5QCrZ/…humbnail/53238346_1016997965156219_8030264798986126558_n.png (“img-src”).
Any solution?
HarisSpahijaPon
@HarisSpahijaPon
Moin, thanks for tagging me @loan-laux . I currently have a working version of i18n including multilanguage support for product details. Afaik the product details should already be included in the product metafields. Did you check those out @redscare ? For pricing there was a HOC I think called withLocales, but I could be wrong on that one. I can check with the team tomorrow to see how we are solving this issue.
HarisSpahijaPon
@HarisSpahijaPon
Also I have been trying to optimize the NextJS part of our frontend a bit. The amount of static rendering I was able to do is crazy for performance. Especially build times and testing times was able to be reduced with something like 40-50%
image (2).png
Loan Laux
@loan-laux
Super excited about your optimizations, @HarisSpahijaPon!
Erik Kieckhafer
@kieckhafer

We have a batch of three PR's in review right now to fix some of the permissions issues that have been brought up here. It's our understanding that if you are creating a shop from scratch, everything seems to be working as it should, however some issues are occuring when migrating from 2.9 -> 3.0. Hopefully these issue PR's fix the issues you've been seeing:
reactioncommerce/plugin-simple-authorization#7
reactioncommerce/api-migrations#5
reactioncommerce/reaction#6110

Also please note that these fixes are strictly for the API, and might not affect what is being seen in Reaction Admin. Admin is still in Beta, if you are experiencing issues there please make an issue in the Reaction Admin repository.

Once these PR's have been merged, running migrations from the API should the issues that were addressed in these PRs.

manishpatell
@manishpatell
Can anyone suggest Where can I find RC developer ?
Gabriele Leotta
@gabry12
Hello everybody, here Gabriele from Italy. I am new to Reaction and I'm loving it (thank you!). Actually I just wanted to add my experience, as I am having the same issues already mentioned on the admin panel (impossible to insert products and shop info) even if I have installed (twice) Reaction from scratch and from the latest version of the dev. platform. I am about to start my first eCommerce client project with Reaction so I hope and wait for the the stable version of the Admin to solve these issues, and of course any further updates on its roadmap would help for planning on my side. Thanks again!
HarisSpahijaPon
@HarisSpahijaPon
@manishpatell @loan-laux is very active in consulting trough https://outgrow.io/
@gabry12 What are you exactly running into? Maybe we can help?
Gabriele Leotta
@gabry12
Group 3.png
Group.png
Group 2.png
Thanks @HarisSpahijaPon for the feedback, here I have pasted 3 screeshots with the description of the bugs, hope this helps, I think these were already mentioned. Again, I am working on the dev platform, built from scratch a couple of days ago, thus it's last version
HarisSpahijaPon
@HarisSpahijaPon
What does your console say?
CmdShiftJ (on Windows) or CmdOptionJ (on Mac)
and also this warning:
WebSocket connection to 'ws://localhost:3000/graphql' failed: WebSocket is closed before the connection is established.
SubscriptionClient.close @ modules.js?hash=58d4c8c3ffe31c79151497346411f04d2731eb29:320718

now after refresh I also see this other error:

err: {message: "Network error: Store reset while query was in flight (not completed in link chain)", name: "Error", stack: "Error: Network error: Store reset while query was …d4c8c3ffe31c79151497346411f04d2731eb29:219164:31)", code: undefined, signal: undefined}
hostname: "localhost:4080"
level: 50
msg: "Network error: Store reset while query was in flight (not completed in link chain)"
name: "reaction-client"
pid: undefined
time: Wed Feb 26 2020 12:41:51 GMT+0100 (Ora standard dell’Europa centrale) {}
v: 0
proto: Object
ConsoleRawStream.write @ modules.js:124817

Gabriele Leotta
@gabry12
In /shop-settings it's the same
HarisSpahijaPon
@HarisSpahijaPon
Could you post a new issue with your logs here?
https://github.com/reactioncommerce/reaction/issues/new
Gabriele Leotta
@gabry12
sure
Lewis Thomas
@lefthomas
Screenshot 2020-02-26 at 11.46.36.png
On a new build on example storefront i pushed the button at the top of the localisation page because it wasn't clear what it does. It took me to a blank page and now any setting i try and change instantly defaults back to how it was before
Lewis Thomas
@lefthomas
it's causing the below error in the console:
Uncaught TypeError: d.updateUserPreferences is not a function
at Object.onExpand (5ded79d4ce6a55a2081a9dc37639062f84403673.js?meteor_js_resource=true:995)
at t.<anonymous> (5ded79d4ce6a55a2081a9dc37639062f84403673.js?meteor_js_resource=true:995)
at xa (5ded79d4ce6a55a2081a9dc37639062f84403673.js?meteor_js_resource=true:356)
at wa (5ded79d4ce6a55a2081a9dc37639062f84403673.js?meteor_js_resource=true:356)
at as (5ded79d4ce6a55a2081a9dc37639062f84403673.js?meteor_js_resource=true:356)
at cs (5ded79d4ce6a55a2081a9dc37639062f84403673.js?meteor_js_resource=true:356)
at 5ded79d4ce6a55a2081a9dc37639062f84403673.js?meteor_js_resource=true:356
at Object.n.unstable_runWithPriority (5ded79d4ce6a55a2081a9dc37639062f84403673.js?meteor_js_resource=true:392)
at Zs (5ded79d4ce6a55a2081a9dc37639062f84403673.js?meteor_js_resource=true:356)
at Xs (5ded79d4ce6a55a2081a9dc37639062f84403673.js?meteor_js_resource=true:356)
at Ys (5ded79d4ce6a55a2081a9dc37639062f84403673.js?meteor_js_resource=true:356)
at ru (5ded79d4ce6a55a2081a9dc37639062f84403673.js?meteor_js_resource=true:356)
at Ln (5ded79d4ce6a55a2081a9dc37639062f84403673.js?meteor_js_resource=true:356)
Gabriele Leotta
@gabry12
@HarisSpahijaPon created issue reactioncommerce/reaction#6113
HarisSpahijaPon
@HarisSpahijaPon
Is there anyone here that is making use of the User's AddressBook on the example-storefront? (Login -> Profile -> Addressbook)
Brian Antonelli
@brianantonelli

Hi everyone! :) I've got the react comm dev platform up and running on aws.. Everything is running properly, but product images dont show up on the admin site.. Im getting a CORS error.. Any ideas?

Refused to load the image 'https://foo.bar.com:3000/assets/files/Media/8hcQzZd8MxaaQp9Nf/large/download.jpg' because it violates the following Content Security Policy directive: "img-src data: 'self' http://*.facebook.com https://*.facebook.com http://*.fbcdn.net https://*.fbcdn.net http://connect.facebook.net https://connect.facebook.net http://*.googleusercontent.com https://*.googleusercontent.com http://*.cdninstagram.com https://*.cdninstagram.com http://fbcdn-profile-a.akamaihd.net https://fbcdn-profile-a.akamaihd.net http://secure.gravatar.com https://secure.gravatar.com http://i0.wp.com https://i0.wp.com http://assets.reactioncommerce.com https://assets.reactioncommerce.com http://cdnjs.cloudflare.com https://cdnjs.cloudflare.com http://fonts.googleapis.com https://fonts.googleapis.com http://fonts.gstatic.com https://fonts.gstatic.com http://enginex.kadira.io https://enginex.kadira.io http://*.stripe.com https://*.stripe.com https://*".

Is there somewhere I can add my domain to the policy?
adel1ne
@adel1ne
Hi everyone!
Is there a way to get pagination of aggregated data from mongodb collection.aggregate([...])?
Now we can use getPaginatedResponse function from @reactioncommerce/api-utils/graphql/getPaginatedResponse.js, but it is only suitable for find cursor.
Loan Laux
@loan-laux
@adel1ne That’s funny, I’m actually working on that. I have the same issue. None of the methods used by getPaginatedResponse work on aggregates, so I’m writing a new method: getPaginatedResponseFromAggregate.
Loan Laux
@loan-laux
Hi @brianantonelli, this is a known bug. While we’re working on a clean fix, go to reaction-admin/imports/plugins/core/core/server/startup/browser-policy.js and add the following line at the bottom: BrowserPolicy.content.allowImageOrigin("foo.bar.com");. By the way, your API shouldn’t be exposed on 3000 while running in production. I’d recommend HTTPS on port 443 instead, which is cleaner.