Giter VIP home page Giter VIP logo

diem's Issues

Terms of Use And Support

Update the term of use
Feed content from backend so that it can be updated from the database and tailored per installation

same for the support page

security fixes

After a scan using https://cloud.appscan.com/ a few minor things to update

  1. Ingress add annotation
nginx.ingress.kubernetes.io/configuration-snippet: |
          more_clear_headers "Server";  
  1. express cookie add sameSite
const sessionConfig = {
  secret: 'MYSECRET',
  name: 'appName',
  resave: false,
  saveUninitialized: false,
  store: store,
  cookie : {
    sameSite: 'strict', // THIS is the config you are looing for.
  }
};

Move cron to diem-operator

Currently we're depending on redis-cluster for cron jobs. Redis is an external service that can have outages.
Move the cron job to the diem-operator (single pod) that will use nats to sent a minute message to trigger cron jobs

Create a slackbot

A bot to support DIEM workloads can seriously improve productivity. Tracking , starting and stopping can be done from within slack. A bot can also provide more granular and personalised messages (metrics , performance, recommendations) that a web site cannot offer. In the backend we can also integrate AI and machine Learning

Some functionality

That can interact with DIEM, some features

  • Start Job
  • Stop Job
  • Log Job
  • get error job
  • get job history
  • get members
  • get pipeline jobs ?
  • set schedule (should i go that far ?)
  • replicate job (maybe a nice)

Something around approvals

  • create approval for job xxx (to be worked out)

Something around machine learning and AI

  • performance metrics
  • job recommendations and configuration settings

But also can provide some generic utilities

  • guid() create unique id
  • base64
  • encryption code
  • several others

host it in this github repo , but don't make it part of helm (yet ?). In that case maybe it's own helm or any other way to easily install it ?

Add the id of the job that failed and check if there's no alternative handling this error

trace
[
 "@at $job.stop (jobStop)",
 "@at $job.logger (jobLogger) - handleMail",
 "@at $handle.mail (handleMail)",
 "@at $handle.mail (prepareMail)",
 "@at $mail.notifications (sendMail)",
 "@at $mailhanlder (newMail)",
 "@at $mail (sendMail)"
]
body: [object Object]
transid: 54d0c3ba-e2e3-0902-6c98-9840096ac3cf
caller: @at $job.stop (jobStop)
log: $job.start.handler (saveDoc): error

CVE-2023-29019 investigate and solve

@fastify/passport is a port of passport authentication library for the Fastify ecosystem. Applications using `@fastify/passport` in affected versions for user authentication, in combination with `@fastify/session` as the underlying session management mechanism, are vulnerable to session fixation attacks from network and same-site attackers. fastify applications rely on the `@fastify/passport` library for user authentication. The login and user validation are performed by the `authenticate` function. When executing this function, the `sessionId` is preserved between the pre-login and the authenticated session. Network and same-site attackers can hijack the victim\'s session by tossing a valid `sessionId` cookie in the victim\'s browser and waiting for the victim to log in on the website. As a solution, newer versions of `@fastify/passport` regenerate `sessionId` upon login, preventing the attacker-controlled pre-session cookie from being upgraded to an authenticated session. Users are advised to upgrade. There are no known workarounds for this vulnerability. ","","",""

reference
GHSA-4m3m-ppvx-xgw9

Box: improvements

  • saveFile needs to return id and name
  • saveFile needs to do a try except and return error
  • fileInfo : get file information of a file
  • deleteFile: delete a file

wrong connection

Describe the bug
A clear and concise description of what the bug is.

when 2 spaces use the same connection name, when the job is run , the first connection is taken and not the real connection
make sure when connection is looked up the target space is being used

icons have disappeared

with the fact only using font-awesome solid, some icons needs to be updated

  1. job detail , the scheduled icon is gone
  2. job log the 3 icons are gone

Mongoose warning

node:1) [MONGOOSE] DeprecationWarning: Mongoose: the `strictQuery` option will be switched back to `false` by default in Mongoose 7. Use `mongoose.set('strictQuery', false);` if you want to prepare for this change. Or use `mongoose.set('strictQuery', true);` to suppress this warning.
(Use `node --trace-deprecation ...` to show where the warning was created)

Remove URL GETPOST

this is no longer needed as we can do everything with custom job and the python request module

update pod annotations for ingress

When you want to deploy diem on your local cluster in combination with an ingress-nginx then the ingress itself requires an annotation

kubernetes.io/ingress.class: nginx

but this is not foreseen in the values to have specific annotations for ingress (only for all)
add an entry in values to allow specific ingress annotations

Create Helm chart

Before you can really use diem, we will create a helm chart that will make it much easier to install the application

config maps

there's an issue

  1. that a persons name cannot be overwritten and
  2. if it's overwritten then check if that person has access to that diem space , if so continue else take the name of the user
  3. if it is personal then the view should not display the edit button and the user may not be able to save the document (even redacted)

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.