orckestra / c1-cms-foundation Goto Github PK
View Code? Open in Web Editor NEWC1 CMS Foundation - .NET based, open source and a bundle of joy!
Home Page: https://c1.orckestra.com/
License: Other
C1 CMS Foundation - .NET based, open source and a bundle of joy!
Home Page: https://c1.orckestra.com/
License: Other
Repro:
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...
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" />
Repro:
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"
Composite C1 should not keep in memory the log messages for the current session, as it creates unwanted memory usage.
I was recently asked by content editor "enable" Cut / Paste items from Tree Definition and realized than it's just doesn't work, but have menu elements disabled. Remove them from the menu to stop confusing people or implement Cut, Copy, Paste functionality for items within same datatype.
Workaround: write Razor function as use as action http://docs.composite.net/Console/Guide-to-Applications/How-to-Execute-Custom-Commands#_Toc404155210
Repro:
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.
Repro:
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.
@neexite seems to be changing whitespaces to tabs (9b52425) while @InnaBoitsun is changing tabs to whitespaces (67c2888)
Would it be possible to settle on one or the other and then enforce it?
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.
Repro:
Expected: The screen is gone. (Compare the behavior with other browsers.)
Actual: The screen is still there.
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.
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
Repro:
Expected: The URLs has suffixes (.htm)
Actual: No suffixes. If you try and append the suffix, you get a 404.
NOTE: This behavior creates a false impression that the feature is not working.
Repro:
Expected: The tree is expanded and the current widget is selected.
Actual: The tree is collapsed, the current widget is not selected.
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.
Repro:
Expected: The preview gets auto-updated.
Actual: The preview remains unchanged. A manual refresh is required.
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)
At this moment we don't have possibility define time zone for website publication, so if I have 2 websites in one, US and AU, at same server located at West US, my publish / unpublish dates will work as per server time (West US)
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.
Repro:
Expected: It contains text
Actual: It is blank
Repro:
(In Chrome, IE, MS Edge. Not in Firefox)
Expected: The copy of the function is pasted.
Actual: Only the content of its XhtmlDocument parameter is pasted (inner HTML not the function)
Would it be possible to go through the repo and add release tags to the previous versions, at least all of the 4.x releases?
I've done it here https://github.com/burningice2866/C1-CMS/releases, its just a matter of matching the releases on https://compositec1.codeplex.com/releases/view/612595 with the corresponding commits :)
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
How to reproduce: Open visual editor, click on function, right click - Cut, than Paste - nothing happens.
Workaround: use keyword - Ctrl + X to cut, Ctrl + V to paste.
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
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>
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).
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:
Expected: Some nice way of handling these cases
Actual: 404
REPRO:
Expected: Page 2 of the wizard opens.
Actual: Clicks are ignored. Nothing happens.
Right now if you use the C1 Console's "Sign out" command you end up with a blank screen. Showing the login screen would make more sense.
Repro:
Expected: An icon is present to the left of the caption
Actual: No icon
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..
Repro:
Expected: The package page loads in the browser view. (Like with Available Packages)
Actual: No page loaded (Like before)
Should the feature be implemented here, too?
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.
Repro:
Expected: Highlighted accordingly
Actual: Not highlighted at all
Note: Apart from Razor, .NET (C#) syntax doesn't seem highlighted, either (aspx, ashx, cs, asax)
The close tab X button is a rather tricky target to hit first time for users with a touch-screen. Please could the button icon be made larger, or could you add some padding to the link around it in order to make it easier to select with chubby fingers?
Thanks.
Repro:
Expected: Once the file appears in the console, you can continue to work.
Actual: The cursor gets into waiting mode.
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.
Repro:
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
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.
A "save as copy" function when editing images would be a useful addition, particularly if you are editing an image from a folder to which you only have read access. This would allow you to save the altered image to another folder where you have write access.
Repro:
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)
<ul class="icon">
<li><i class="fa fa-asterisk"></i> fa-asterisk</li>
<li><i class="fa fa-ban"></i> fa-ban</li>
</ul>
become
<ul class="icon">
<li>fa-asterisk</li>
<li>fa-ban</li>
</ul>
See http://compositec1.codeplex.com/discussions/646375 for more details.
Visual Studio Browserlink Support would be awesome.
Currently only the layout razor file is highlighted in "inspect mode".
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.
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"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.