Categories
CMS Drupal Mastering Development

Add upload/processing status bar/throbber

I am new to Drupal/web development and I have been trying to create a module to add files upload menu. Once the files are uploaded, they undergo processing and a message is displayed upon completion of the process. Everything works well but I would like to add a processing progress bar/throbber from the tile Submit […]

Categories
Mastering Development

Modify model generated by django-activity-stream

I am creating a project which needs an audit in the database about all kind of actions performed by the user. For this objective, I m using ‘Django-activity-stream’ which creates its model properly. I want to change the type of one parameter in the model generated by this library but I m not sure how […]

Categories
Mastering Development

Error 401 while reloading Jwt secured spring Boot React app (and configuration problems)

I’m learning spring boot and react. I have successfully learnt how to use the frontend maven plugin to combine the two. Also JWT kind of works (at least an api call returns what I want while the token is alive and returns error when i set quick expiration time). But react routes work weirdly. I […]

Categories
Cryptocurrency Ethereum Mastering Development

What is Ethereum?

The answer to a question of this kind depends on context, of course. So let us assume the person asking it is technophilic with a superficial knowledge of computer science. What is Ethereum? The spectrum of possible answers is pretty wide, but it must be something in between “Something hard to describe” and Read the […]

Categories
Mastering Development System & Network

error configuring proxy pass for upstream app

I have an application running as a docker container mapped to port 8080; On this same server I also have nginx also configured to serve a Laravel application which has some URLs that have api at context root https://example.com/api/news for example. The docker application URLs starts with either web/ or api/ so to avoid URL […]

Categories
Mastering Development System & Network

error configuring proxy pass for upstream app

I have an application running as a docker container mapped to port 8080; On this same server I also have nginx also configured to serve a Laravel application which has some URLs that have api at context root https://example.com/api/news for example. The docker application URLs starts with either web/ or api/ so to avoid URL […]

Categories
CMS Magento Mastering Development

Varnish Cache not working Magento 2.3, iginx proxy and apache2 backend webservers

I have a site setup with nginx as proxy serving an apache2 server, I’m trying to implement varnish caching. nginx is listening on 443 and 80 varnish is configured to listen on 8080 apache2 is configured to listen on 7081 and 8081 My etc/nginx/plesk.conf.d/server.conf #ATTENTION! # #DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED […]

Categories
Mastering Development

Uploading assets to digitalOcean bucket using gulp-s3 in Angular 2?

I am using gulp-s3 library Created gulpfile.js file in root directory Here the code use to upload the dist folder console.log(‘gulf’); var gulp = require(‘gulp’); var s3 = require(‘gulp-s3’); //will add to the variable now just for testing var AWS = { key: ‘ttvtdxxxx’, secret: ‘ttvtd’, bucket: ‘dev-static-ttvtd-ro’, region: ‘fra1’, endpoint: ‘https://fra1.digitaloceanspaces.com’ }; var options […]

Categories
CMS Mastering Development

How to install Craft 3 on shared hosting

I would like to learn Craft 3 CMS. I would like to do so by installing it manually on shared hosting. I am not familiar with Composer and would like to learn Craft before committing to learning Composer. I do not understand some of the steps given at: https://docs.craftcms.com/v3/installation.html So I searched for manual installation […]

Categories
CMS Drupal Mastering Development

Organic Groups, whats the best way to set group defaults?

I have set up organic groups, with different node types as groups, such as colleagues, teams, sponsors. If I go to the relevant node add group page, for example node/add/colleague node/add/team node/add/sponsor I have the selections for group visibility and group content visibility. Once created the group manager can then set permissions, such as non-members […]