blackcatdevelopment / blackcatcms Goto Github PK
View Code? Open in Web Editor NEWBlackCat CMS is a PHP5, HTML5 content management system
Home Page: https://blackcat-cms.org
License: Other
BlackCat CMS is a PHP5, HTML5 content management system
Home Page: https://blackcat-cms.org
License: Other
A button for adding child pages directly (so the right parent is selected in the dropdown automatically) could be placed in the page settings.
We need a new default template (frontend). Anyone interested?
We will add different icons to the pageTree according to the pages settings of view.
As this function is currently called by install.php of a module only in the backend it should be $admin not $wb... but I know, this function is not ready yet ;-)
Also a check for already existing database entries is missing (files are registered twice in the database, when you manually call the install.php of an already installed module).
When trying to login into the backend, the first attempt always fails, even if correct credentials are given. Hitting F5 then loads the BE.
In the BE, after saving the settings, the forms are empty.
This file should use the Addons-Helper!
All methods concerning module installation etc. shall be moved to that class.
Currently available:
register_page_title($page_id, $module_name, $module_directory)
unregister_page_title($page_id, $module_directory)
is_registered_page_title($page_id, $module_directory)
register_page_description($page_id, $module_name, $module_directory)
unregister_page_description($page_id, $module_directory)
is_registered_page_description($page_id, $module_directory)
register_page_keywords($page_id, $module_name, $module_directory)
unregister_page_keywords($page_id, $module_directory)
is_registered_page_keywords($page_id, $module_directory)
get_page_title($page_id)
get_page_description($page_id)
get_page_keywords($page_id)
preCheckAddon( $temp_addon_file, $temp_path = NULL, $delete_on_fail = true, $always_return_result = false )
getVersion($version, $strip_suffix = true)
getVersion2($version = "")
versionCompare($version1, $version2, $operator = '>=')
installModule($directory, $install = false)
sec_register_file( $module, $filepath )
__sortPreCheckArray($precheck_array)
(Most of them are derived from DropletsExtension.)
First i have to say that i did not a fresh install with the current version in repository but just replaced the old files with the new ones. So maybe the problem described below is just a problem on my side.
When uploading a file, the progress bar (green/white striped) appears and then i get a modal message with no text in it (see screenshot). After pressing OK the previously uploaded file isn't in the media directory – seems the upload failed.
Having a look into the js console, i noticed some missing JS files:
By the way: The buttons "Alle Sektionen zeigen" and "Alle Sektionen verstecken" not working any more – propable because of the missing JS files.
Maybee i shoud do a fresh install next time? Could anyone confirm this behavior?
Seems that some values, getting from sortable() are wrong.
I think it would be nice (and helpful) to have little language flags near to the page name in the page tree. (Maybe only if there are different languages in use.)
After selecting a file (,png) for upload into the media directory and clicking "Datei(en) hochladen" the file /backend/media/upload.php is called and shows a white page. No php error is displayed even if error reporting is set to E_ALL. Switching back to the previous page (browser back button) the previously selected file isn't uploaded.
$default_language is not set
I'd like to separate what is "core" from modules. For all modules that are maintained by us, we can create separate GitHub repos. (CKE/WYSIWYG because auf different default configuration, News, ...) This will also make it easier to let people choose from a list of modules and create their own download bundle. We could also create some "policies" for modules that are listed on the bundle creator page. (Example: Must be hosted at GitHub, repo name must contain 'lepton' or something.)
Any thoughts about this? Anyone out there who's interested in creating a "bundle creator"? (Something like jQuery UI download page.)
Different graphics are missing currently.
This will be fixed with a smaller rework of the whole section (e.g. removing page_settings as those options are available over page tree)
When you try to set jQuery core and/or jQuery UI core or any UI-Effect as basis for a module in the headers.inc.php the cores are loaded twice, so the JS of the backend is completely broken.
Example:
$mod_headers = array(
'backend' => array(
'jquery' => array(
array(
'core' => true,
'ui' => true,
'ui-effects' => array ( 'highlight' )
)
)
)
);
There seems to be a problem with language, as all textvalues are empty.
The current (small) solution is just hell concerning maintainability. There's no interface to let modules register files that should be allowed to load config.php directly. Also, no helpful functions for module developers are included.
First, I'd like to extract the list of files that are allowed to load config.php directly and push it into a DB table. I'm also going to add a method for module installers to register files.
Any other suggestions?
When deleting the last child of a page, the arrow on the left side should be remove (check with siblings)
At the moment, the droplet only works if the current page is in just one group. Will fix this later.
There are several places where constants are defined:
config.php
sys.constants.php
initialize.php (load settings from database, too)
...?...
This should be cleaned up.
When you are logged out automatically and try to perform an ajax request you are getting a facile message:
parsererror: SyntaxError: JSON Parse error: Unrecognized token '<'
We need a solution to tell ajax (and later the user), that the user was logged out and that he need to login again to perform this request.
When you rename a file and the new name already exists, the file will be overwritten.
Deleting pages from pageTree or files/folders from media currently happens immediately. There should/ will be dialog to confirm this action!
I installed MPForm module, created new a page with a MPForm section and clicked "Allgemeine Optionen". The settings page of this module is very long and needs to be scrolled on small screens (e.g. MacBook Air) – but the settings page can't be scrolled. Could be a module related issue ... don't know.
Additional there is a visual glitch on the page when adding another MPForm section to the same page:
When getting an error message or a confirm dialog, buttons are clickable but empty.
All scripts that should be added to the header by getBackendHeaders (placed in headers.inc.php) are printed by getBackendFooters(); inside the .
Currently it is not possible to restore deleted pages.
Adding a group saves the permissions for modules /templates wrong (inverse!).
Trying to get e.g. the clean link to media folder, I tried to use:
echo sanitize_path( LEPTON_PATH . '/media//' );
I get
/www/htdocs/XYZ/lepton2/
instead of
/www/htdocs/XYZ/lepton2/media/
I don't know if this is possible, but I thought it would be helpful to highlight the currently edited page in the page tree.
Caused by the not yet finished dialog_ajax();
Will be fixed soon.
If one folder in media contains many files/folders, the whole media section is scrollable instead of each folder.
That causes strange behaving, when you scroll down and click on a folder to show its contents. Currently you have to scroll up again.
Any new page added has _blank as target set. This should be _parent, I think.
Trying to include two different script with the headers.inc.php of a module in the backend only the first script (script1.js in my example below) is included.
Also tested it for css-files - works as expected.
$mod_headers = array(
'backend' => array(
'js' => array(
'/modules/xyz/js/script1.js',
'/modules/xyz/js/script2.js'
)
)
);
Known issues:
I'm thinking about replacing the current default page (which is using Wrapper to load a static page from lepton-cms.org) with a WYSIWYG page. In my opinion, this will allow the user to see something more convenient and useful by default. Any thoughts about this?
When adding a user or group, the name, email etc. should be checked via ajax while typing.
When settings of a page are shown, the default dropdown is replaced by the individual dropdown (to disable child pages).
When clicking the "Add"-button the dropdown has to be reset again.
This is just for the log: The jQuery 'containsi' extension added to FreshCat theme did not work with jQuery 1.8. (See http://marianoguerra.org/en/posts/case-insensitive-contains-in-jquery-18-containsi.html)
I added the fix provided there.
If i create a new page on the root level and want to move this page to the second level under an existing parent, i get the "page setting saved successfully" message but the page tree view isn't updated. I have to reload the whole backend page to see the moved page on the position in the page tree.
Steps to reproduce:
label class="g_4" for="fc_addPage_keywords_ul">Keywords:</label>
<ul id="fc_addPage_keywords_ul" class="g_11"></ul>
??? Empty ul
Currently the Drag&Drop of sections doesnt work fine.
I have tried to install the CMS on my local machine and while trying to set up the database connection the installation wizard always threw the error "password too short". As my database password consists only of four characters there should not be any constraint to the length of a database password during installation.
This constraint does not make any sense at all, since only administrators are about to install the CMS and they should decide and know how long their passwords are.
Those files are currently not fitted (completely) to the new backend
The validator reports the invalid use of rel attribute on span and li tags.
Examples:
<div id="fc_sidebar_header">Pages<span class="fc_side_add show_popup" rel="fc_add_page" title="Add page">+ Add page</span></div>
<li title="Check all" rel="Any" class="fc_activeSearchOption">Check all</…
After saving a droplet ([Save]), do some changes and hit [Save] again. The droplet will not be saved, the BE returns to the Dropleps main page.
Currently the Dashboard (=Start) is pretty empty.
We will add a new feature, that will support "Widgets" (as you know from other CMS).
E.g. each module can provide a widget.php that can be placed on the users individual Dashboard.
There seem to be problems with arguments passthru. See issue #38.
If you open a folder in the pageTree and reload, this folder is closed again. The necessary value is not stored correct.
Setting different permission on adding a new group doesn't show the correct permissions afterwards.
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.