Giter Site home page Giter Site logo

nomocms's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

chewtoys shokfake

nomocms's Issues

refactor: Change Redis to PostgreSQL

Initially, AMP CMS used Redis as it's primary database, but because AMP CMS is intended to be used primarily with Digital Ocean APP Platform, the decision was made to change the database to PostgreSQL

Primarily, due to the lack of disk data persistence on Digital Ocean managed Redis.
And, additionally, to simplify setup with the "Deploy to Digital Ocean" button

Change Dashboard bundler

Currently, Dashboard uses fuse-box, which can't handle monaco-editor web workers and has a couple of other issues.
Since most of the Dashboard uses React-oriented components, maybe Dashboard should be re-created from CRA to make things simpler and cleaner

Add ability to insert images

By default, if no Spaces/S3 settings are provided, a user can upload an image and include it in base64.
If there's file storage connected - a user should be able to upload it.

Migration files name syntax stops repository cloning

Hi,

I suspect migration files name syntax stops repository cloning (at least using Github Desktop, did not try command line).

Logs (Windows)

Cloning into 'X:\**\**\nomocms'...
remote: Enumerating objects: 4897, done.        
remote: Counting objects: 100% (1249/1249), done.        
remote: Compressing objects: 100% (683/683), done.        
remote: Total 4897 (delta 881), reused 804 (delta 556), pack-reused 3648        
Receiving objects: 100% (4897/4897), 5.41 MiB | 2.37 MiB/s, done.
Resolving deltas: 100% (3134/3134), done.
error: invalid path 'modules/account/migrations/2021-10-24T13:52:01.538Z-init_accounts.ts'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

If I'm right, could you update the corresponding file ? (Maybe replace the : char ?)

const nameWithTimestamp = `${new Date().toISOString()}-${name}`;

Thank you

A more strict and secure ensureCredentials

Hi there, I follow this project since you are one of the very few people that uses typed. Browsing your code I noticed a function called ensureCredentials which uses credentialsType to validate email and password. Since I use typed to do the same thing on my own projects, I created two extra add-ons to deal with emails and passwords that may worth you checking them out. typed-email uses RFC822 compliant regex to validate emails. It also trims and lowercase them before validation. typed-password enforces a set of rules that a password must pass to be considered valid (useful for account creation). Anyways, here is an example:

import * as T from 'typed'
import * as P from 'typed-password'
import { email } from 'typed-email'

const password = P.password(
  P.nospace, // don't allow whitespaces
  P.min(8),  // at least 8 characters
  P.max(20), // at most 20 characters
  P.upper(), // at least 1 uppercase letter
  P.lower(), // at least 1 lowercase letter
  P.digit(), // at least 1 digit
  P.symbol() // at least 1 special character
)

const credentialsType = T.object({
  email,
  password,
})

Hope you find them useful.

Add ability to group pages

User should be able to group pages in "folders", for example, to create "blog" or "videos".
Nested pages should be able to inherit default folder settings, for example, template or YAML parameters.

The folders are also pages and can render a list of its child pages

Replace Mocha with Jest

The project is missing some nice features from Jest like Snapshots, watch and filter & etc.

Make Dashboard a separate static site

Digital Ocean APP Platform supports up to 3 static websites for free, which would help with:

  • Scalability
  • Separation of concerns
  • One-click installation and setup

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.