Hi I am new to Adobe CEP panels, so please forgive me if this is a frequently asked question
I have built my first CEP panel and it is working well, however, in order to make this more useful to others within the company, it would make sense if I were able to host it on one of the company's webservers then anyone in the company could access it. Also, any updates to the html/js/jsx would then only need to be made in one place. I've spent quite some time googling but I've not found any examples.
I would be grateful for any thoughts or suggestions on this.
Technically NO!!!!
Well as you've mentioned that you've already made your first CEP panel and it's also working fine, I can assume you've gone through the method of loading test panels via PlayerDebugMode 1.
So here is the catch. Photoshop only recognises 2 type of extensions called Signed and Unsigned. So when you create a new panel in your local appdata/library - CEP - extensions folder, You creates a unsigned panel and photoshop considers that as test/development panel. When you finish your panel and then make it distributable by either making installable package like .exe or .dmg or .zxp, It gets signed and photoshop considers them as signed plugins and will install it automatically on their legit path.
if I were able to host it on one of the company's webservers then anyone in the company could access it.
The only way I could manage was sharing latest .zxp to my work server where my other designer mates copied and installed them into their system. That's what you can do if you really want to share but you can't assign some global path to extensions because photoshop won't allow you to do it. Regards!
Related
I'm working on a very simple tool for a company, it's an aide to help visualize rail cuts.
I use a simple HTML page to build a display and then use JS to perform the simulated cuts and visualize them.
I have the file shared with some people via a shared drive. People in the US seem to be able to use the file without issue.
Someone in Europe tried to use the file and was able to open the file, but nothing happens upon trying to run the page's script, and when f12 is pressed, they receive the message in the title (their system is in Japanese locale I believe, so it is roughly translated).
They do not have this problem if they save the file locally and run it from there, only when using it from the shared folder.
Running the file content through https://validator.w3.org/ yields no problems or errors.
It works for me and most others I have asked to try the tool.
Let me know if additional info is needed. I'd like to try avoid sharing code if possible because the company will get mad if I share the proprietary code I made but I can if I need to.
I have a cross-platform Electron app in beta which I've developed for a client (I'm a contractor) and I just found out today that the app needs to work in a 3rd party's Citrix environment. I had no idea what that even was so I have been googling furiously for a few hours. That hasn't helped much so I thought I'd ask here. Sorry for the lame question.
The app is a tool for creating presentations. It accesses the local HD to copy digital assets into a current project folder. It also writes a JSON file to the project folder and some preferences to the "Application Support" folder. The app makes two network calls at startup: one to validate a user entered license key and the other to check for updates. The update is not automatic ("update in place"). The app also supports the copy/paste of text.
That's it. Is this something which will "just work" in a Citrix environment or do I need to do some sort of customization? None of the material I've found on Citrix describe this sort of basic compatibility (or if it did, I didn't understand it)
Citrix is a virtual machine, so if you just build your electron app and drop the executable in citrix it should do the job.
We used it in a company i used to work and we rarely(real special cases like really old softwares) had any issues in running any program that would run on windows in citrix.
https://en.wikipedia.org/wiki/Citrix_Virtual_Apps
here is what it actually looks like :
so you should be fine, no wories
I am a relative beginner to working in Apostrophe. I'd like to start off by saying its a pretty great ecosystem and I've enjoyed the experience so far. However, I've run into an issue thats a bit confusing.
I've been using it to build a site for a client and I've run into a very odd issue. I have installed an instagram widget that I found via npm (https://www.npmjs.com/package/#kwsites/cms-instagram-widgets) and used it on my local host with relatively no issues, it worked and I moved on with my life.
However now I'm trying to deploy the site and the Instagram widget is not showing up in the browser when viewing on the server. Again the widget shows up perfectly fine in the browser when viewing off my local host which would indicate it did not install correctly on the server but after following all of the post install steps on the linked npm package, I am completely unsure of what to try next.
I have confirmed that the #kwsites package folder is in public/modules/ directory
Any help/tips from any of the Apostrophe experts out there would be appreciated.
I am using stagecoach for deployment (again, a great product) and mechanic to manage nginx. I don't know if any of this matters but the widget is making some API calls to Instagram, don't know if they would be affected by either of those tools.
EDIT: Inspection in safari yielded the following from my local host
And the following from my server
It just looks like the widget is not being generated and I cannot find any errors in the console. Note I can add and remove a widget, I just can't get any content to generate on the server (but can on local host).
So as noted in the comments, I believe the issue was due to instagram's legacy api requiring site authorization. However with Facebook pushing the new Instagam Basic Display API, the legacy is going to be killed at the end of this month anyway/apps will stop working. So I found this blog post and found it easily adaptable to an Apostrophe module. It requires signing up for Zapier but a basic account is free and its a really interesting tool. This solved my needs
I develop an angular-php web application which I have it running online, for different users, on 5 different subdomains, such us:
sub1.mydomain.com
sub2.mydomain.com
sub3.mydomain.com
sub4.mydomain.com
sub5.mydomain.com
Problem:
My problem is that I still develop the web-app local and whenever I change files(php, js,tpl.html,css or when add new ones) I have to upload them on each subdomain.
Question:
Is there a way/library/API whatever that I can use to make something like package (with the updated or new files) and just call it from each subdomain url , and make the appropriate updates?
Or should I just copy them to each subdomain?
Do I make myself clear, in other words just like on cms systems that we press the update button and we update a component/module.
If anyone knows a way of doing that please enlight me. Thanks.
I tried to depict what i mean.
What you are describing is called deployment.
There are a lot of ways to create a deployment mechanism so there is not a single answer to your question. Depends of the tools that you are using, the servers where your app is hosted, etc.
If not, I advise you to use Git to make versions of your app (with Github or Gitlab) and automate the deployment process when you push a new piece of code.
You can make your own scripts to deploy or use online services (surely what you need because of "systems that we press the update button").
I can't advice you one particular service but you would find what you need in Googling "deployment automation github".
I would do it with config files. Considering the code for all my substations is the same. I would have config for each sub-domain and fetch the core files from the same location but serving different data If your structure allows it.
Today I found foreign JavaScript on my homepage along with a backlink to a website I don't recognize (although the backlink is not visible when viewing my homepage, they have positioned it somehow so that it is hidden but search engines still find it).
I was wondering how my Joomla website managed to become compromised? Is there any possibility you can think of? How can I protect my website from this attack in the future?
First of all which version of joomla are you using.?
There is some possibilities to hack the Joomla Version of 1.5.23 or some similar version hacked and some bad script attached in all js files or may be some rewrite url condition in your .htaccess file.
the best option to prevent the problem is Update your Joomla Version and change your admin and FTP Password.
There could be a number of reasons, a few things to check:
Are you on a shared server? Is it secure?
Has someone compromised your password?
Is your version of Joomla up to date?
Are you running any other PHP apps on your web server? Are they secure?
Just because Joomla appears to have been affected doesn't mean that it was necessarily the entry point for the compromise - check everything. Make sure you keep your software up to date. Disable anything you don't require to run your website. Use .htaccess to protect files and folders. Make sure your own computer is as secure as possible and patched and up to date. Make sure you are using the latest version of PHP.
Good luck.
I don't know HOW, but if you wanna eliminate it is probably it is in the index.php file, check there.
website root/templates/yourtemplate/index.php
Installed joomla extension (plugins, module, component and template) may also contain file which will be very unsafe and may perform dangerous file activity like updating, renaming, deleting and creating the file on your site.
So my suggestion is read the joomla forum and manage the permission of your file according to that.