abecms / abecms Goto Github PK
View Code? Open in Web Editor NEWThe lightning fast CMS
Home Page: https://www.abecms.com
License: MIT License
The lightning fast CMS
Home Page: https://www.abecms.com
License: MIT License
Json post abe_meta...date
need a refactor.
At this time when a post is created
{
"abe_meta": {
"date": new Date(),
"draft": {
"date": new Date(),
"latest": {
"date": new Date()
}
}
}
After a [ status ] is saved
{
"abe_meta": {
"date": stay the same,
"latest": {
"date": new Date()
},
"[ status ]": {
"date": stay the same if exist,
"latest": {
"date": new Date()
}
}
}
each new draft abe_meta.[ status ].latest.date
and abe_meta.latest.date
is update with a new date.
This attribute allows to configure the RTE toolbar displaying more or less actions
{{abe type="slug" source="/event-guide/{{variable}}"}}
if attribute tab="slug"
Default:
{{abe type="slug" source="/lang/{{name}}"}}
{{abe type="text" desc="filename"}}
Manager.getKeysFromSelect { [Error: ENOENT: no such file or directory, scandir '/Users/grg/programmation/git/abegemo/data']
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: '/Users/grg/programmation/git/abegemo/data' }
When no data directory exists in the directory.
If you change text color (or background color text), the color palette it does not disappear if you click elsewhere.
For the type "image", once the image is uploaded, the 100% value is still displayed. It should be replaced by the orignal picto (arrow up)
revert AdFabConnect/abejs@35d769d
Remove any reference to "template" in the code. This attribute was a "magic keyword" and should be replaced by its real "name" : abe_meta.template.
Remove:
If use line break, the second paragraph create a independant
Example : There is a button in the template and I want the user decide if the button can be clickable or not.
A nice interface could be a checkbox.
With the refactoring of Abe ant its orientation towards stateful behavior, we don't need no draft html anymore.
Remove any logic associated with it.
For a clean SoC, the persistance of published files (html versions) has to be separated in their own methods.
if source attribute is a string put text into a simple input
using https://craig.is/killing/mice or https://github.com/avocode/combokeys (preferably because maintained) will do the trick.
Furthermore, make the tab / shift+tab work fluently on each element.
The Abe form should be 100% usable from the keyboard
And don't forget to update the doc ;)
display="{{value1}} {{value2}} ({{value3}})"
The code should be cleaned up. Initially, Abe served 2 webapp (one for Abe, one for the preview). Remove this mechanism.
All server routes should start with "abe"
in an abe data type, if I put macro="true" in the attribute, it will then be discoverable on every field of text and rich abe types with the shortcut : $$
Once a $$ is typed, a dropdownlist with autocomplete feature appears.
The value selected is the key in the data. It is displayed in editor mode. In preview and publish modes, this key will be replaced with its corresponding value.
allow multiple template to have the same key id
When the attribute "toolbar" refers to a json data source file (references), a dropdown list with keys is displayed on the editor. if a key is selected, the value is used in the wysiwyg enclosed in an Abe tag with the key. So that the key is displayed and the value is shown on mouse over.
In the template, we do the same : If we're in the editor mode, the key is displayed and highlighted with a specific color. On mouse over, we show the value.
In preview and publish mode, we remove the abe type and just let the value.
The watch command included in the manager does not trigger a precompile templates rebuild on change
I wasn't able to select my template in AbeJS admin because my NodeJS version was 4.6.0
I've just upgraded to the last version with the following command on OSX (certainly the same for Linux) :
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
Works well now
When multiple instance of a sub process runs the process never finish
The json sent by POST is not updated with the new values.
We should be able to delete, add, rename the structure.
add additional options from wysiwyg.js:
insertimage: { ... },
insertvideo: { ... },
insertlink: { ... },
strikethrough: { ... },
orderedList: { ... },
It would be really helpful to provide a demo, such as a simple website (2 or 3 pages).
Add a button beside autocomplete when attribute prefill=true
to call ajax method to replay select
It should be possible to organize "database" migration between versions.
make statefull thumbnails list inside manager and not in image.js
Add watch on template directory to update manager when a file is changed manually
We should be able to save and reload dynamically a config file. For now, the config class includes properties and methods, properties being extracted from config.json and internal...
Add a feature to add a title / description about each
if you do a:
{{#each my-slider}}
{{abe type="text" key="key" desc="My slider"}}
{{/each}}
the "-" seems to produce a bug
This is not necessarily the job of generatePost. But we should be able to package a post with its content.
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.