Code Monkey home page Code Monkey logo

standard's Introduction

unite cms

⚠️ At the moment there is no active development on this open source cms, as we are now focusing on internal products. Thank you all for your support and intereset in this project ove the last years!

Version 0.10

This is the new and current version of unite cms. You can already use it, however docs (https://docs.unitecms.io) are still under development.

Version 0.9

This is the old version of unite cms, docs can be found here https://www.unitecms.io/docs.html.

standard's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

standard's Issues

Refactor github repo structure

  • Standard should be renamed in skeleton or something else, after flex is fully implemented
  • Create a new united-cms bundle that includes all core bundles and gets automatic updates whenever one of the bundles gets an update
  • all issues should be merged to the new united-cms/united-cms bundle

Validate content delete by passing validation groups to fields

In class UnitedCMS\CoreBundle\Validator\ConstraintsValidFieldableContentDataValidator validation groups should be passed to UnitedCMS\CoreBundle\Field\FieldTypeManager->validateFieldData.

This gives the field types a chance to validate content deletion. For example a reference_inverse type could rise an error, if the content is referenced by other entities

Setting Types: Setting query does not accept locale as argument and translations type does not consist all locale data.

when querying setting, it always assumes 1 locale as default and in the translations array it excludes data for that default locale. The api should return all translations. and also the setting query should accept locale argument in order to return the fields as translated data according to the locale.

approached query (assuming there are 2 locales ["en", "fr"])

{
  Setting(locale: en) {
    locale
    title
    content
    translations (locales: null) {
      locale
      title
      content
    }
  }
}

expected result:

{
  "data": {
    "Setting": {
      "locale": "en",
      "title": "title-en",
      "content": "content-en",
      "translations": [
        {
          "locale": "en",
          "title": "title",
          "content": "content"
        },
        {
          "locale": "fr",
          "title": "title-fr",
          "content": "content-fr"
        }
      ]
    }
  }
}

Collections become Views

  • Content Collections become Views
  • Now they are selectors and do not save each content item in it
  • Therefore we don't need ContentInCollection anymore
  • Also adding content to collections and removing content from collection is not needed

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.