Page 1 of 1

Velocity UI Pack: You need to update Velocity (jquery.velocity.js) to a newer version. Visit http://github.com/juliansha

Posted: 03 Jan 2022, 04:04
by ckishappy
The Chromebrowser displays the following error message for my own website (polaschin.ch): "Velocity UI Pack: You need to update Velocity (jquery.velocity.js) to a newer version. Visit http://github.com/julianshapiro/velocity." What does it mean? Pls advise..

Re: Velocity UI Pack: You need to update Velocity (jquery.velocity.js) to a newer version. Visit http://github.com/julia

Posted: 03 Jan 2022, 05:16
by mjau-mjau
Well, it says that also, but you are getting many more errors before that which triggers a domino-effect of errors. This is not related to Velocity.
Image

It looks like you have a content-security-policy on your website, which is blocking requests to all scripts/CSS hosted on the CDN. This is assigned on your server, and it's not working properly or there are some problems in the syntax (as you can see in the screenshot above):
polaschin.ch wrote:content-security-policy: default-src 'self' 'none' https://*.amazonaws.com https://cdn.jsdelivr.com https://*.jsdeliver.com https://fonts.googleapis.com https://www.googletagmanager.com https://*.fontawesome.com https://www.google-analytics.com https://stats.g.doubleclick.net https://fonts.gstatic.com https://*.photo.gallery https://kit.fontawesome.com; connect-src https:; font-src https:; frame-src https:; img-src https:; media-src https:; object-src 'none'; script-src https://polaschin.ch https://*photo.gallery https://*jsdelivr.com 'unsafe-inline' 'unsafe-eval' https:; style-src 'unsafe-inline' https:;frame-ancestors 'self' https:;require-trusted-types-for 'script';base-uri 'none';
You need to resolve the above so that scripts/css can be loaded from CDN. Or just remove it. I don't really see much point in using content-security-policy ... If something gets loaded that is not supposed to load, it means someone has access to your website and it is already compromised.

Re: Velocity UI Pack: You need to update Velocity (jquery.velocity.js) to a newer version. Visit http://github.com/julia

Posted: 03 Jan 2022, 08:13
by ckishappy
:white_check_mark: OMG, this content-security-policy looks ugly, got it! Will fix it to make this horror show of errors going away & thanks! Chris

Re: Velocity UI Pack: You need to update Velocity (jquery.velocity.js) to a newer version. Visit http://github.com/julia

Posted: 25 Feb 2022, 02:41
by BeastTL
X3 support velocity? how can I use it?

I browsed the docs  of X3 looking for it.. but nothing found.

Re: Velocity UI Pack: You need to update Velocity (jquery.velocity.js) to a newer version. Visit http://github.com/julia

Posted: 25 Feb 2022, 09:25
by mjau-mjau
BeastTL wrote:X3 support velocity? how can I use it?

I browsed the docs  of X3 looking for it.. but nothing found.
I don't understand the question. X3 loads Velocity and uses it for internal animations. What are you going to use it for? This is an advanced plugin for Javascript developers. Documentation is here http://velocityjs.org/

Re: Velocity UI Pack: You need to update Velocity (jquery.velocity.js) to a newer version. Visit http://github.com/julia

Posted: 25 Feb 2022, 21:04
by BeastTL
mjau-mjau wrote:
BeastTL wrote:X3 support velocity? how can I use it?

I browsed the docs  of X3 looking for it.. but nothing found.
I don't understand the question. X3 loads Velocity and uses it for internal animations. What are you going to use it for? This is an advanced plugin for Javascript developers. Documentation is here http://velocityjs.org/
Well, actually I am eager for X3's CMS ability to make a customized page with velocity template engine in the content editor. and I ask for this in https://forum.photo.gallery/viewtopic.php?f=52&t=10419&p=48400#p48400

Re: Velocity UI Pack: You need to update Velocity (jquery.velocity.js) to a newer version. Visit http://github.com/julia

Posted: 26 Feb 2022, 00:31
by mjau-mjau
Sorry, it makes absolutely no sense "velocity template engine in the content editor". Velocity is a Javascript animation engine for advanced developers to animate objects on screen.
Yes, I will answer that post, but it has absolutely nothing to do with Velocity JS.