Code Monkey home page Code Monkey logo

c1-cms-foundation's Introduction

C1 CMS FoundationReviews here...!

C1 CMS Foundation - a .NET based Web Content Management System, open source and a bundle of joy!

screen shots from the new C1 user interface (the C1 Console)

Join the chat at https://gitter.im/Orckestra/C1-CMS

Getting started

Visit http://docs.c1.orckestra.com/Getting-started/Guide

Download

Download binaries from https://github.com/Orckestra/CMS-Foundation/releases/latest

Forums

Head over to https://gitter.im/Orckestra/C1-CMS or add an issue

Who are we?

Orckestra is the company driving the development of C1 CMS Foundation. We have a team working full time on this CMS and on other cool stuff you can add to it. We are situated in Montreal, Copenhagen and Kiev. We specialize in enterprise omni channel commerce software.

You can visit us at http://c1.orckestra.com and http://www.orckestra.com/

c1-cms-foundation's People

Contributors

anstsiya avatar burningice2866 avatar ckeller81 avatar dabitbol avatar dependabot[bot] avatar gertsonderby avatar gitter-badger avatar igor-dovgaliuk avatar ingvarkofoed avatar innaboitsun avatar kasravi avatar ladymaelina avatar mawtex avatar mich-murray avatar napernik avatar neexite avatar nufaqtz avatar peterpde avatar vadym-hyryn avatar wiredearp avatar wwwysocki avatar

Stargazers

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

Watchers

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

c1-cms-foundation's Issues

DecimalPrecisionValidator issues

If static datatype have Decimal, like 3,2 (NNN.NN) DecimalPrecisionValidator doesnt work properly.

by setting attribute [DecimalPrecisionValidator(2,3)] I would expect it's validate scale and precision, but it's not. Static datatype generator tool generates this datatype value with precision validator only:

[DecimalPrecisionValidator(2)] AND LazyFunctionProviedProperty (mistyping here Provied > Provided?) which works fine for precision, shoving obsolete warning that scale and precision required. When we use them - no validation works.

Mistyping error: C:\development\CompositeC1\C1-CMS\Composite\Data\Validation\Validators\DecimalPrecisionValidator.cs - line 30 "valudation" > "validation"

TreeDefinitions - Execute C1 function to generate the tree markup

Atm we have great possibility attach actions by executing C1 functions (see "How to Execute C1 Functions" http://docs.composite.net/Console/Guide-to-Applications/How-to-Execute-Custom-Commands#_Toc404155210).

I believe next logical step would be to introduce possibility to execute C1 functions to build a tree.. i.e. DataElements, Elements.. It's will solve a lot of problems, which possible only with custom workflows. Recursions, Custom permissions scenarions, etc..

The image preview not updated when the file gets replaced

Repro:

  1. Media > Select an image file in the tree.
  2. Click Replace File and go on to replace the file with another one.
  3. Once done, check the image preview in the browser view.

Expected: The preview gets auto-updated.
Actual: The preview remains unchanged. A manual refresh is required.

No icon on the Show in Layout menu item

Repro:

  1. System > Right click any folder below /
  2. Check for the "Show in Layout" menu item

Expected: An icon is present to the left of the caption
Actual: No icon

A white space gets removed between two links with one-word anchor texts

Repro:

  1. Content > Edit a page.
  2. Type in two words in a row, for example: link1 link2
  3. Make sure a space is between these 2 words.
  4. Make a separate link on each word so that there are two links with a space between.
  5. Save & publish the page.
  6. Now do one of the following:
  • Preview the page in the editor
  • View the page in the browser view in the C1 Console.
  • Open the published page in a browser.

Expected: The space between 2 links is preserved.
Actual: No space between the links. The anchor texts look joined.

Note: Not related to a specific starter site's styling. Reproduced on a bare-bones site.

1-word-anchor-text-links-lose-a-space-between

The current data field widget not pre-selected in the function tree when changed

Repro:

  1. Edit a data type.
  2. On the Fields tab select a field with a predefined widget, for example, of the String type with the Text Box widget.
  3. On the Advanced tab, click in the Widget type. Make sure the widget is currently selected (Text Box)
  4. Click Set New.

Expected: The tree is expanded and the current widget is selected.
Actual: The tree is collapsed, the current widget is not selected.

Recursion in TreeDefinitions doesn't work

If we need build a tree where DataElements have childrens of same type (recursion) it's not possible to do, except writing own provider. It's really weird, cause MediaFolders and Pages have such support.

i.e

Category1
Category1.2
Product.1.2.1
Category1.2.1
Category1.2.2
Category2
Product.2
Category2.1
Category2.2

The system gets non-responsive after a file upload in MS Edge

Repro:

  1. Use Microsoft Edge.
  2. Media > Upload File
  3. Select an image file and have it uploaded.
  4. Wait for the file to appear in the tree and in the browser view.

Expected: Once the file appears in the console, you can continue to work.
Actual: The cursor gets into waiting mode.

Feature Request: For all Datatypes, modify field types dropdown to allow insertion of a valid C1 UserId

We would like to be able to allocate certain areas in our website to specified individuals. For example; the HR section of our website would be owned by the Head of HR, but certain pages within that section would have different individuals responsible for them. This is in addition to the permission settings for a section (we want to track page owners, not those who can edit pages).

If a page in the HR section hasn't been modified for a certain length of time, a weekly email would be generated that would be sent to both the section owner and the page owner. They would then check and modify the page to stop receiving these emails.

To handle this, I have created a PageMetatype with two Datatype fields: SectionOwner and PageOwner. These fields inherit from the level above. At the moment, I'm storing the data in these fields as strings, but it would be useful if we could add raw valid C1 UserIds here instead.

What I'd like to propose is, that alongside DataReference as a field type, there is a new type for UserReference. When used, it would present a select field to the page editor, from which they could choose a valid user from a list of all global C1 UserIds.

An alternative possibility is that the DataReference type has a "C1 Users" option added, that does the same thing.

With this in place, the back-end process that generates reminder emails would be able to join this field value to the main C1 UserId list to find their email address, and send out the messages.

Package Creator can't build packages with new SharpZipLib

Repro:

  1. Install the latest version of Composite.Tools.PackageCreator.
  2. Create a simple package.
  3. Try and download the package.

Expected: The package gets downloaded.
Actual: An error pops up

Error:

System.IO.FileLoadException: Could not load file or assembly 'ICSharpCode.SharpZipLib, Version=0.85.5.452, Culture=neutral, PublicKeyToken=1b03e6acf1164f73' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference...

v5 user interface looks washed-out on non-IPS displays

When viewed on a non-IPS twisted nematic type displays (used in cheap laptops or older TFT flat-screens), the new user interface looks very washed out. There needs to be a bit more contrast between text/icons and the background colour. This could be accomplished with a different, heaver font, icons with lines thicker than 1px, or some more use of colour.

The start screen won't go if you click elsewhere in IE

Repro:

  1. Use IE
  2. Log out of the C1 Console if you are logged in.
  3. Log in to the C1 Console so that the start screen pops up.
  4. Click somewhere around the screen (not on it).

Expected: The screen is gone. (Compare the behavior with other browsers.)
Actual: The screen is still there.

Feature Request: Expose non-generic methods on DataConnection

The DataFacade contains numerous NonGeneric methods for retrieving data by a type only known at run time, which the DataConnection class doesn't contain.

This makes it hard to keep ones code clean and create generic coding guidelines to always use DataConnection over DataFacade so it would be nice to see these mettods exposed on DataConnection.

Wrong/bad URLs to package infos in the browser view are not handled nicely > Error 404

NOTE: There are a few cases when packages has no page at all, or something wrong with URL or redirecting (or even if there is no connection, or the website is down.) IMHO there should be some nice way of handling cases like this, no 404s.

Repro:

  1. System > Packages > Available Packages.
  2. Select the packages mentioned below.
  3. Check the browser view.
  • (no page) - Composite.AppFeed.Provider.Magazine
  • (something wrong with the redirect) - Composite.Tools.XslToRazorFunctionConverter

Expected: Some nice way of handling these cases
Actual: 404

The URL suffixes are not working unless you restart the server

Repro:

  1. System > URL Configuration > Edit URL Configuration
  2. Specify a suffix, for example, .htm
  3. Save the changes.
  4. Clear the browser cache.
  5. Open and navigate the website.
  6. Check for the suffixes to be appended to the URLs of the pages.

Expected: The URLs has suffixes (.htm)
Actual: No suffixes. If you try and append the suffix, you get a 404.

  1. Restart the server. > Now the suffixes stick.
  2. Try and change to other suffixes or no suffixes without restarting the server > the new suffixes don't apply

NOTE: This behavior creates a false impression that the feature is not working.

Feature Request: Support custom elements in TreeDefintions

Having the ability to add custom elements to a TreeDefintion file makes it easier and less error-prone for developer since they don't have to fallback to ie a CustomUrlAction, or repeat themselves when all you maybe need is to add some repetitive markup.

This commit burningice2866@273cd34 adds support for custom elements in a TreeDefintion file. Example usage for adding a sort-command on a datatype element is like this

<c1contrib:SortAction Label="Sort menu tiles" Type="DanskRetursystem.Borgerportal.Data.Types.IMenuTile, DanskRetursystem.Borgerportal" />

Internal linking not working when the Short URL name is set

Repro:

  1. Create a page data folder.
  2. Specify the Short URL name.
  3. Attach the folder to some page.
  4. Add a few items.
  5. Edit a page.
  6. Try and add a link to one of the items from Step 4.

Expected: When selected, the item's label text appears at the bottom of the Insert Link window, the OK button gets activated. You can insert the link.
Actual: No text appears at the bottom, the OK button is not activated. You can't insert the link.

Content tree is too wide

When you open Composite C1 5.0, and expand Blog, than any of it's items - you will have horizontal scrolling. I understood you are targeting tablet / mobile users, but despite "compact" mode 4.3 allows you to see more children in the tree. You can clearly see same effect in Media tab. IMHO some padding / margin adjustment required in the tree - now it's too wide = waste of screen space.

capture

Can't add fields in data types after a data reference field is added

Repro:

  1. Create a dynamic data type
  2. Add a field of the Data Reference type.
  3. Try and add another field.

Expected: You can add another field
Actual: An error pops up: "FormatException. Input string was not in a correct format."

Note: Affected are all kinds: global, page data folder and meta types

--- LOG ---

System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at CompositeTypeFieldDesigner.TypeFieldDesigner.get_CanAppearInDataRoute()
at ASP.composite_controls_formscontrols_formuicontroltemplates_developertools_typefielddesigner_ascx.__DataBindingplhDataUrl(Object sender, EventArgs e)
at System.Web.UI.Control.OnDataBinding(EventArgs e)
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at CompositeTypeFieldDesigner.TypeFieldDesigner.InitializeDetailsSplitPanel()
at CompositeTypeFieldDesigner.TypeFieldDesigner.Field_Select(Guid fieldId)
at CompositeTypeFieldDesigner.TypeFieldDesigner.AddNewButton_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e)
at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

C1 Package Trial Information not displayed in Chrome

Repro:

  1. Use Google Chrome.
  2. System > Packages > Available Packages > select any commercial package (e.g. Composite.Azure.Publisher) > Package Info
  3. Check the Trial Information text area

Expected: It contains text
Actual: It is blank

Prompt to save when sending an open page for approval or publishing

In v4.3, if you have a page open for editing in the console and click the "Send for approval" or "Send for publishing" buttons, there isn't a requirement to save the page beforehand.

An open page with pending changes probably shouldn't allow for sending unless all changes have been saved first. This would either mean hiding the send buttons prior to a save, or adding a confirmation dialogue to the send buttons with an option to save at that time.

I'm highlighting this because while reviewing Composite for use at our university, some testers were sending blank pages for approval because they hadn't saved them.

(Also logged on CodePlex)

Microdata in Visual Editor

When working with Microdata (https://schema.org/docs/gs.html) in the Visual Editor (source mode), many of the important tags are stripped when you want to save the page.

Ie. the following

<div itemscope="itemscope" itemtype="http://schema.org/EmailMessage">
  <div itemprop="potentialAction" itemscope="itemscope" itemtype="http://schema.org/ViewAction">
    <link itemprop="target" href="https://watch-movies.com/watch?movieId=abc123"/>
    <meta itemprop="name" content="Watch movie"/>
  </div>
  <meta itemprop="description" content="Watch the 'Avengers' movie online"/>
</div>

is stripped to

<div itemscope="itemscope" itemtype="http://schema.org/EmailMessage">
  <div itemprop="potentialAction" itemscope="itemscope" itemtype="http://schema.org/ViewAction" />
</div>

Can't open ASCX files in the C1 Console

Repro:

Try and open an ascx file in the C1 Console
(e.g. System > ~\Composite\controls\AppInitializerControl.ascx)

Expected: The file opens for editing.
Actual: The system gets non-responsive

v5 Beta 1 main content browser page source button opening multiple identical tabs

On content perspective, when browsing the website, there is a "page source" button to the right of the location bar, which when clicked repeatedly opens multiple identical source code tabs at the bottom of the console window. I'm not sure if this is intended, but I believe this should just toggle open and closed one tab (like the SEO assistant button).

screenshot

Can't upload multiple media files in a zip - incorrect format

Repro:

  1. Have a zip with media files.
  2. Media > Uplaod Multiple > select the zip.
  3. Try and upload it

Expected: The zip gets uploaded, unzipped and media files appear in the tree.
Actual: An error message pops up: "The selected file was not a correct zip file"

No text wrap in the "Paste as Text" window

Repro:

  1. Edit a page.
  2. Copy some multi-line paragraph (you can use the sample text below).
  3. Paste > As Simple Text
  4. Paste the text in the text area.

Expected: The text wraps and fills the text area in multiple lines.
Actual: The text doesn't wrap, and pasted as a single line.

Note: The issue also occurs on versions earlier than 5

image

Sample text:

The apple tree (Malus domestica) is a deciduous tree in the rose family best known for its sweet, pomaceous fruit, the apple. It is cultivated worldwide as a fruit tree, and is the most widely grown species in the genus Malus. The tree originated in Central Asia, where its wild ancestor, Malus sieversii, is still found today. Apples have been grown for thousands of years in Asia and Europe, and were brought to North America by European colonists. Apples have religious and mythological significance in many cultures, including Norse, Greek and European Christian traditions.

include bootstrap image class img-responsive

In the content editor it would be nice to have the class option of img-responsive as a choice.
Rounded, Circle and Thumbnail are already there

Maybe even include it as an extra option so one of the three already present can be chosen along with responsive

Feature Request: Insert > Video, and drag-and-drop-video uploading

In the C1 console visual editor, inserting an image is done using the Insert > Image dropdown menu item. It would be great if you could also do this for videos hosted locally in the media archive, without needing to use a function.

Likewise, enabling drag-and-drop video uploading and embedding into a page in the same way as for images would also be nice.

Insertion of YouTube or Vimeo videos should probably still be function based, but it may be beneficial for these functions to be built into the default install of C1 and also grouped into a new Insert > Video dropdown menu item.

Feature Request: From eye menu in page browser, new option to quickly compare current saved page version to last published page version.

From eye menu in the page browser, add a new function to allow an approver or publisher to compare current edited/saved version of a page to the current live version.

This would be separate to the Composite.Versioning.ContentVersioning version comparison, which works across multiple versions of the same page and with option to revert an edit, but would display results in a similar way.

Page metatype display "always inherit" not working as expected. It doesn't show field values on sub-pages under "Metadata" tab.

I'm not sure if this is a bug, or if I'm interpreting the documentation incorrectly.

I have created a Page Metatype with two optional fields. I have then gone into the Content perspective and right-clicked my website homepage to "Add metadata field" from the contextual menu. In the "Edit Page Metadata Field" panel, I have selected "Always inherit" in the "Inherit display" field, and "Start display from" is set to "this item". On the "Next" panel screen, I left both field values empty.

Returning to the website content tree, I then opened and edited my website homepage. Selecting the "Metadata" tab, I entered two values into the two optional fields.

Assuming "always inherit" means that the value entered in my homepage will propagate through to the sub-pages, I was surprised to see that in the sub-pages, both fields were empty.

The FAQ at:

https://docs.composite.net/Data/DataFAQ?q=How+can+I+inherit+a+meta+type+when+added+to+pages%3F

... says that "By default, “Always inherit” is selected, which means that the meta type will be inherited on sub-pages of all levels in respect to the current page."

However, the field values do not appear to propagate through to sub-pages under the "Metadata" tab.

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.