GithubHelp home page GithubHelp logo

ketse / casebox Goto Github PK

View Code? Open in Web Editor NEW
216.0 216.0 120.0 201.11 MB

Casebox: Secure all your information and team communication in one place

Home Page: https://www.casebox.org

PHP 18.68% Shell 4.23% SQLPL 77.10%

casebox's People

Contributors

bulgac avatar jahmanjee avatar oburlaca avatar oburlaca2 avatar tvitalie avatar vmelnic 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

casebox's Issues

case details export

I want to create export case template details. Example are shown in the screenshot.
casebox demo

how to create export for each case and assigned users for particular case ?
exportcb

Help me to share code for this. In index page : It has switch case to get request and Here it had code for folder casebox/httpsdocs/plugins/Export/Instance.php

Thanks in advance

Wrong order on thesauri items inside Object-typed fields

Problem

When I create an Objects type field pointing to a thesauri folder with several items inside, they get ordered only alphabetically.

Is there a way to configure the field so that the items are sorted by the 'order' data field, which is correctly configured?

Way to reproduce

  • Create a thesauri folder with several items of which the order you want is not alphabetically. For instance, Male and Female. I want Male to be shown first, so I assign order 1 to Male, and order 2 to Female.
  • Create an Objects field that points to that thesauri scope and see the resulting selector. Female appears first.

Extra info

This issue also happens if I use the

\CB\Browser -> getObjectsForField

method, in which there is no way of ordering the fields or to actually know the data order. We could sort them out ourselves if that data property would be returned by the method.

Thanks in advance,
Rafa.

Installation roadblock

I need some help. Is there ANY way to install CaseBox without using root/ssh? My shared host doesn't allow it, and they won't install it for me. I really really want Case Box, but not enough to change hosts or pay even more. I have never had an issue with my host before.

I do have SSH, but its a jailbox account. Linux server, mysql, phpmyadmin etc. Just no root.

Error 500, on ready to use virtual machine

Hi,
Thank you for your open source project, I downloaded a copy of ready to use Virtual Machine, but when try to load page, it report a 500 Error message.
I'm not sure but it seems that while virtual machine is a linux machine but some configuration files, setting up as must be in windows.
Thanks

Casebox and Filepreview/Download (Libreoffice&unoconv) - Ubuntu Server 14.04

Dear All,

I installed casebox on Ubuntu 14.04, but i'm encountering problems with file preview...Libreoffice and unoconv (I can't make it work...through casebox...I guess I'm missing something in the procedure ).
Even though when I click on the file after I upload...it just shows the Edit window...I even can't download (see img).

casebox

If anybody who made it work on Ubuntu, please can you share the procedure with us, I really would appreciate some help, as when I try manually to convert files through the tools...everything works.

I followed these two Install Procedures:
https://www.casebox.org/dev/install/
https://github.com/KETSE/casebox/wiki/How-to-install-Casebox-on-a-fresh-Ubuntu-14.04

Note: I downloaded unoconv from the source v7.0

Here are some details of my system.

#uname -a
Linux casebox 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

=================================
CaseBox 1.9.498 (2015-07-27)
=================================

root@casebox:/var/www/html/casebox/httpsdocs/libx# ./unoconv --version
unoconv 0.7
Written by Dag Wieers <[email protected]>
Homepage at http://dag.wieers.com/home-made/unoconv/

platform posix/linux
python 3.4.0 (default, Jun 19 2015, 14:20:21) 
[GCC 4.8.2]
LibreOffice 4.4.4.3
================================
root@casebox:# sudo su - www-data -s /bin/bash
www-data@casebox:/var/www/html/casebox/httpsdocs/libx# ./unoconv --listener &
www-data@casebox:# ps -ef | grep soffice
www-data  3135  3133  0 16:13 pts/0    00:00:00 /usr/lib/libreoffice/program/soffice.bin --headless --invisible --nocrashreport --nodefault --nologo --nofirststartwizard --norestore --accept=socket,host=127.0.0.1,port=2002,tcpNoDelay=1;urp;StarOffice.ComponentContext
www-data  3136  3135  0 16:13 pts/0    00:00:00 [soffice.bin] <defunct>

================================
root@casebox:# ls -la /usr/bin/python
lrwxrwxrwx 1 root root 7 Kor 27 20:13 /usr/bin/python -> python3
================================
root@casebox:/var/www/html/casebox/httpsdocs/libx# ./unoconv -f pdf temp.doc 
root@casebox:/var/www/html/casebox/httpsdocs/libx# ls -la *pdf
-rw-r--r-- 1 root root 35855 Kor 28 17:23 temp.pdf

Thanks,
lolziac

Template load error: no template found with id =x

I am getting error as Template load error: no template found with id =x
X is Properties ID. When I click Thesauri field and edit. Error showing. Unable to create auto generated folder.
Help me in this..

Stuck at specify database config during install.php

Followed the guide here #9
When I run the install.php script it asked for a database config, then a privileged user then repeats this over and over with no end. See example below:

Specify database configuration:
db host (default "127.0.0.1"):
db port (default "3306"):
db user (default "local"): root
db password: *********************
privileged db user (default "root"):
privileged db user's password: *********************
Specify database configuration:
db host (default "127.0.0.1"):
db port (default "3306"):
db user (default "root"):
db password: *********************
privileged db user (default "root"):
privileged db user's password: *********************
Specify database configuration:
db host (default "127.0.0.1"): 127.0.0.1
db port (default "3306"): 3306
db user (default "root"): root
db password: *********************
privileged db user (default "root"): root
privileged db user's password: *********************
Specify database configuration:
db host (default "127.0.0.1"):

I copied and pasted that from my terminal. What am I doing wrong?

Revised instructions for Ubuntu 14.04 Clean Install

Thanks for all the great work!

We have been working on clean installations on Ubuntu system and we have come with a set of instructions similar to those you provide on the CentOS script.

Here are the instructions if they are of any help:

Casebox on Ubuntu 14.04

Start with a clean install and make sure the software is up to date:
$ sudo apt-get update

Install Apache 2.4

$ sudo apt-get install apache2
$ sudo a2enmod rewrite
$ sudo a2enmod headers
$ sudo a2enmod ssl


For developer mode on local server
$ echo "ServerName localhost" | sudo tee /etc/apache2/conf-available/fqdn.conf
$ sudo a2enconf fqdn


sudo service apache2 restart

Install MySQL 5.x

  • When configuring root password, the casebox install script had issues with special characters. Avoid quotes and other characters to prevent conflicts:

$ sudo apt-get install mysql-server php5-mysql
$ sudo mysql_install_db
For security reasons, run:
$ sudo mysql_secure_installation

Insatll PHP 5.x

$ sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt php5-mysqlnd

Install JAVA (1.7+)

$ sudo apt-get install default-jdk

Install SOLR 5.2

  • Navigate to: http://lucene.apache.org/solr/
  • Click on Download
  • Select a Mirror
  • Download: solr-5.X.X.tgz (as of this writting solr-5.2.0.tgz)
  • On the terminal cd to the donwload location

$ tar xzf solr-5.2.0.tgz solr-5.2.0/bin/install_solr_service.sh --strip-components=2
$ sudo bash ./install_solr_service.sh solr-5.2.0.tgz

Follow on-screen instructions and then confirm by running
$ sudo service solr status

Install Imagemagick and imagick for php

$ sudo apt-get install imagemagick
$ sudo apt-get install php5-imagick
$ sudo php5enmod imagick
$ sudo service apache2 restart

Clone and install the project

  • cd to /var/www/html (default Apache 2.4 directory under Ubuntu)

$ sudo apt-get install git
$ sudo git clone https://github.com/KETSE/casebox.git
$ sudo mkdir /var/www/html/casebox/logs
$ sudo mkdir /var/www/html/casebox/data
$ sudo touch /var/www/html/casebox/httpsdocs/config.ini
$ sudo chown -R www-data:www-data /var/www/html/casebox/


For developer mode on local server
$ cd casebox
$ sudo git checkout devel
$ sudo chown -R www-data:www-data /var/www/html/casebox/


Run the Casebox install.php

$ sudo php bin/install.php

Important !

  • Default Apache owner on Ubuntu is www-data, not apache, be sure to override that default.
  • We are configuring later on Casebox virtual host to be casebox.local and on port 80 non-https, so we sugest http://casebox.local/ as the base URL.

Configure Apache for Local Development non-SSL on port :80

  • edit file /etc/hosts to include this line to configure your hostname as desired. For our own example, we are using casebox.local

127.0.0.1 casebox.local

  • Add this to the /etc/apache2/sites-available/000-default.conf file (changing to your own configuration options for names, ports, etc.). We are overriding the default port:80 localhost, so, you may need to change or delete the default Apache virtual host. You may also configure the casebox virtual host on a different port
<VirtualHost *:80>
    # change it to your devel/production domain
    ServerName casebox.local

    ServerAdmin [email protected]

    # Windows ------------------------------------------
    # DocumentRoot "c:/var/www/casebox/httpsdocs"
    # CustomLog c:/var/www/casebox/logs/ssl_access_log common
    # ErrorLog  "c:/var/www/casebox/logs/ssl_error_log"

    # Linux --------------------------------------------
    DocumentRoot "/var/www/html/casebox/httpsdocs"
    CustomLog /var/www/html/casebox/logs/ssl_access_log common
    ErrorLog  "/var/www/html/casebox/logs/ssl_error_log"

    # SSLEngine on
    # SSLVerifyClient none

    # provide your own SSL certificates or remove SSL support and use CaseBox via http
    # you may change the location of SSL certificates

    # Windows ------------------------------------------
    # SSLCertificateFile c:/var/www/casebox/install/httpd/ssl/casebox.crt
    # SSLCertificateKeyFile c:/var/www/casebox/install/httpd/ssl/casebox.key

    # Linux
    # SSLCertificateFile /var/www/html/casebox/install/httpd/ssl/casebox.crt
    # SSLCertificateKeyFile /var/www/html/casebox/install/httpd/ssl/casebox.key

    # SSLProtocol All -SSLv2 -SSLv3
    # SSLCipherSuite ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:!RC4:HIGH:!MD5:!aNULL:!EDH


    # SSLHonorCipherOrder on
    # Add six earth month HSTS header for all users...
    Header add Strict-Transport-Security "max-age=15768000"

    # HTTP Security Headers
    Header add X-Content-Type-Options no-sniff
    Header add X-Download-Options noopen
    # Header add X-Frame-Options deny
    Header add X-XSS-Protection "1; mode=block"

    # Windows ------------------------------------------
    # <Directory c:/var/www/casebox/httpsdocs>
    # Linux
    <Directory /var/www/html/casebox/httpsdocs>
    <IfModule mod_php5.c>
        php_admin_flag engine on
        php_admin_flag safe_mode off

        # Windows ------------------------------------------
        # php_admin_value open_basedir "c:/var/www/casebox/;c:/windows/temp;"

        # Linux --------------------------------------------
        # php_admin_value open_basedir "/var/www/html/casebox/:/usr/lib64/libreoffice:/tmp"

        php_admin_value max_execution_time 300
        php_admin_value short_open_tag off

        php_admin_value upload_max_filesize 200M
        php_admin_value post_max_size 200M
        php_admin_value max_file_uploads 20
        php_admin_value memory_limit 200M

        php_admin_value expose_php Off
    </IfModule>

    #SSLRequireSSL
    Options -Includes -ExecCGI
    AllowOverride All
    </Directory>
</VirtualHost>

$ sudo service apache2 restart

2 Step Authentication not working after git pull

Hello KETSE Team:

I did a "git pull" over the /var/www/casebox directory in order to update the software and have the latest bug-fixes. Then, I tried to login with my user, password and Google Authenticator app and surprise: Casebox is showing: wrong code entered.

I did some troubleshooting and I removed the "TSV" field in the table users_groups in database. With that, was possible to login, but the 2 Step Verification option in my account is failing to verify the code in the setup procedure with the same error: wrong code entered.

Can you review that ?, thank you so much.

Best regards,

Julián Rios, CEO, CISSP/CFE

security issue with mysql user permissions.

Setting up a multiple core environment with different mysql user for each one i realized that all this users need read permissions on cb__casebox inlcuding cb_casebox.cores, where all mysql users are stored with the password, so any user can have access to any core.

How to create workflow in casebox

Hi, anyone can help me, how to create work flow in casebox from actions (action_log).
I'm check in casebox v2 or demo version, the workflow is not found.
selection_232

Thanks for your solution.

Kastowo

webdav not working on virtual machines

I ve tried for some hours test the 2 vm images and i can not figure how to make the webdav module work. I have been trying to config the db variable webdav_url but no luck. can anyone confirm that webdav is working on virtual machines and point to the right config? Regards

The 'review' pane shows YES for checkbox type fields no matter what you select

On the review pane, both on the right side of the GUI or when you 'float' the view shows YES for every checkbox field, no matter what you have selected.

Perhaps there is a config problem I'm missing when creating checkboxes? (I believe these are not even documented on the docs, so I'm running a bit blind on the configurations).

Thanks in advance,
Rafa.

casebox not working on XAMPP

Hi team,
i need to try casebox on XAMPP SERVER and i need the way to update casebox on VMware image because so outdate.
i think this script so beautiful but also so diffcult to install and try the last version.

thank you for helping me!

Issues with Demo system

Hi,

Very impressed with what the system is able to do. Tried to test the online demo system and could login but then get a blank page. Looking on Firefox the following two errors occure:

  1. TypeError: Ext.reg is not a function Line 2, Col 573
  2. TypeError: c is not a constructor Line ext-all.js Line 1, Col 7

I've not had a chance to download and set the latest version up on a testbed system. Will update this issue if I get the same errors when I do.

Thanks

Kieran

How Do I Install Casebox?

Basically, I'm following the install instructions at https://www.casebox.org/dev/install/
But the code that I clone doesn't even have a bin/install.php file.

Are there updated installation instructions somewhere that I don't know about?

Any help would be greatly appreciated! Thanks!

Conversion Rate

Hi,

I would like to mention that changing the terminology used to describe casebox on your homepage could give you better conversion rates. You currently describe casebox as something it isn't. It's not a CMS, but a kind of Digital asset management (1) system. Forgive me if you plan to make it into an actual CMS, but I thought it would give you a better user-base when people get what they expect.

[1] https://en.wikipedia.org/wiki/Digital_asset_management

unable to install casebox

I followed the instruction for centos 7.1 from http://docs.casebox.org/en/latest/dev/install_centos7.html
downloaded casebox v1.zip since the (https://github.com/KETSE/casebox.git) version doesn't have install.php
I'm stuck at this point.

"You have configured main options for casebox.
Saving your settings to /var/www/casebox/httpsdocs/config.iniOK
Solr configsets symlinks created sucessfully.
Creating solr core ... PHP Warning: fopen(http://127.0.0.1:8983/solr/admin/cores?action=CREATE&name=cb_log&instanceDir=cb_log&configSet=cb_default): failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
in /var/www/casebox/httpsdocs/lib/install_functions.php on line 388
Error creating core."

Blank page after Login after database backup & restore

Hello Casebox Team:

I was testing my backup & restore procedure with Casebox in my Linux system. First, I did a database removal (drop database cb__casebox and cd_nfsec) and then I did a mysql procedure to upload the dumped databases. All occurred normally, I did this type of procedures before with another sites.

Next to the restore, I tried to login in my Casebox and surprise: I had a blank page after the login process (I have two step verification enabled).

No error log under the logs directory files. The only logs that I have are the query.log file from MariaDB and the ssl_access:

127.0.0.1 - - [13/Dec/2015:07:32:16 +0100] "POST /nfsec/login/auth/ HTTP/1.1" 500 -

151213 7:13:24 42 Connect cb@localhost as anonymous on
42 Query SET NAMES utf8
42 Query SET @@session.time_zone = "+00:00"
42 Query SELECT id
FROM cb__casebox.cores WHERE name = 'nfsec'
42 Query SELECT *
FROM cb__casebox.cores
WHERE id = '9'
42 Query USE cb_nfsec
42 Query SET NAMES utf8
42 Query SET @@session.time_zone = "+00:00"
42 Query SELECT *
FROM cb__casebox.config
42 Query SELECT id
FROM cb__casebox.cores WHERE name = 'nfsec'
42 Query SELECT *
FROM cb__casebox.cores
WHERE id = '9'
42 Query SELECT *
FROM config
ORDER BY pid, order
42 Query SELECT id
FROM templates
WHERE type = 'shortcut'
ORDER BY id
42 Query SELECT *
FROM sessions
WHERE id = 'h7k6ddq8r560a767fdpq2nlhj2'
AND (
(expires > CURRENT_TIMESTAMP)
OR (expires IS NULL)
)
42 Query SELECT name, en
FROM cb__casebox.translations
WHERE type < 2
42 Query SELECT *
FROM translations
WHERE type < 2
42 Query CALL p_user_login('root', 'XXXXXXXXXX', '|127.0.0.1|')
42 Query UPDATE sessions
SET expires = TIMESTAMPADD(SECOND, 3, CURRENT_TIMESTAMP)
WHERE (
(id = 'h7k6ddq8r560a767fdpq2nlhj2') OR
(pid = 'h7k6ddq8r560a767fdpq2nlhj2')
) and id <> 'h7k6ddq8r560a767fdpq2nlhj2'
42 Query INSERT INTO sessions
(id, pid, expires, user_id, data)
VALUES('h7k6ddq8r560a767fdpq2nlhj2', 'h7k6ddq8r560a767fdpq2nlhj2', TIMESTAMPADD(SECOND, '259200', CURRENT_TIMESTAMP), '0', '')
ON DUPLICATE KEY UPDATE
expires = TIMESTAMPADD(SECOND, '259200', CURRENT_TIMESTAMP)
,last_action = CURRENT_TIMESTAMP
,user_id = '0'
,data = ''
42 Query DELETE
FROM sessions
WHERE (expires < CURRENT_TIMESTAMP)
OR (last_action < TIMESTAMPADD( DAY, -3, CURRENT_TIMESTAMP))
42 Quit

I'm lost :( Can you help me ?, thank you so much.

Trying to install on Ubuntu 14.04 issues..

Hi, Im trying to get Casebox installed and evaluated on a Ubuntu 14.04 system.

We have had some permission issues, and have re-installed Solr as www-data user, so now there are no problems sharing files between apache/Casebox...

i) We would like to run the install.php script and create a workbench ( lets say 'test' ) from the command line, I can see that the scripts have some Non-interactive but can see how to run the install to create the links to Solr, the cb__casebox db, and then the cb_test database & links from the command line - has any box managed to do this ?

ii) The database seems to create a user with a 'recovery email address' of 'adminΩmail.server.com' is there anyway of setting this during installation.

Many thanks for you help.

Gary

Creating new folder templates to show different columns

General need

I want to create a new 'folder' type of template (lets call it a case_folder template) in order to show inside records with specific columns configured. This is working as expected with the DC property. The problem is that this 'case-folder' type of template does not get shown as a subfolder of the parent folder.

I want to create several 'case-folders' inside, say a folder called Cases, but I want the child folders to be shown correctly on the tree view. I want to click on the arrow (which is not there if the case folder only contains case-folders inside) and see the folders in the tree.

Just like the dev casebox shows the project folders inside the tasks, for example.

Is there a basic config I am missing in order to enable this on the parent folder?

Thanks in advance for any feedback, its kind of hard to explain what I need, so if further details are needed I'm more than happy to explain as detailed as needed.

Thanks, best regards,
Rafa.

Error redirect link after install Casebox on Ubuntu 14.04

Hi teams,

I have a problem about redirect link after installing the Casebox on Ubuntu 14.04.
My url for localhost : "casebox.local/demo", after I submit the url redirect to "casebox.local/demo/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/casebox.local/demo/login/"

How to fix about it?
Thanks for your help,

Danang Kastowo

Completed Caesbox Install Process on CentOS 7.2 but cant launch the CB app

Hi,

I followed the process on this page https://docs.google.com/document/d/15qvGi9tDHHHCItlCpbBB5fBnU5uhEpJedD5xudKVwPo/edit?pref=2&pli=1# and was able to complete the process with no issues.

SOLR runs fine on http://192.168.1.194:8983/solr,
NGINX runs fine, but i can't access the casebox app. Please how do i access the casebox app

I'm running it on a local VM and accessing it with http://192.168.1.194/ but keep getting

502 Bad Gateway
nginx/1.6.3

Please help as i'm really confused as to why it's not loading

my parameter.yml config is below:

This file is auto-generated during the composer install

parameters:
core_name: casebox
locale: en
secret: 12345678
server_name:
prefix: cb
db_host: 127.0.0.1
db_port: 3306
db_name: casebox
db_user: casebox
db_pass: *****
solr_schema: http
solr_host: 127.0.0.1
solr_port: 8983
solr_core: casebox
solr_core_log: casebox_log
solr_username: null
solr_password: null
session.lifetime: 4320
admin_email: [email protected]
sender_email: [email protected]
comments_pass: null
mailer_transport: smtp
mailer_host: 127.0.0.1
mailer_user: null
mailer_password: null
convert_doc_unoconv_cmd: '/usr/bin/python3 /usr/bin/unoconv'
convert_doc_url: 'http://convert.devops.site/document/convert'
converter: api
redis_host: 127.0.0.1
redis_port: 6379

Thank you

Conditional fields where pidValues come from checkboxes are not shown upon change

I have created a child node of a checkbox, and on its config I have the following JSON:

{
  "dependency": { 
    "pidValues": [1]
  }
}

If I select either yes or no on the checkbox, I never get the new field to appear. If I save the case with the checkbox field set to 'yes' and then REOPEN the form to edit the case again, then the child field is visible as expected.

If I then select 'no', the field disappears 'on the fly' as I would expect select 'yes' would show the child node. But, I cannot get it to show back unless I save first.

Also, if I have changed anything on the child field BEFORE selecting NO, even if it is 'hidden', its value gets changed to whatever I wrote on the field before changing the checkbox value. This was certainly unexpected.

Is there any config that will allow me to show the child nodes 'on the fly' when the user selects 'yes' as the option for the parent checkbox?

Thanks in advance,
Rafa.

Can't change root user password

I've followed the instructions detailed in Issue #50 and it did start up, but I can't change the "root" user password. Anybody have an idea how to fix/troubleshoot this? Nothing happens when I click "OK".

screenshot from 2016-07-28 16-00-01

root@casebox-ubuntu-14:/var/log/nginx# ls -lh
total 48K
-rw-r--r-- 1 root root 920 Jul 28 03:08 access.log
-rw-r--r-- 1 root root   0 Jul 28 03:08 error.log
-rw-r--r-- 1 root root 44K Jul 28 04:01 http_casebox-access.log
-rw-r--r-- 1 root root   0 Jul 28 03:50 http_casebox-error.log
-rw-r--r-- 1 root root   0 Jul 28 03:50 https_casebox-access.log
-rw-r--r-- 1 root root   0 Jul 28 03:50 https_casebox-error.log
root@casebox-ubuntu-14:/var/log/nginx# 

Nothing in the nginx error logs, either.

User permission

I am new. I learned to create case,Events and tasks. I have given permission to users to create task,case and event. It is not working as expected. Could you please help me to fix it.

casebox demo

My goal is to, admin only can access system folder and other users can create their own case, events and task who Admin give permission.

Installed on CentOS 7 but can't create core's db tables

I installed CB on CentOS 7 and the database server (MariaDB 10) resides on another CentOS 7 server. When I run the install with the user and root credentials for the remote database server, it creates the cb_databases fine but when it tries to create the cores, it can't create the tables and other stuff on the databases. I guess it is still trying to create something local even when directed to create the dumps on the remote server.
Example of problem:
Core name:laborales
Applying dump .. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")
OK
Registering core .. OK
Specify email address for root user:root@localhost
Specify root user password:password
PHP Fatal error: Uncaught exception 'Exception' with message '2015-08-05 17:31:04:


Query error (): Table 'cb_laborales.users_groups' doesn't exist



Query: SELECT id
FROM users_groups WHERE name = 'root'2015-08-05 17:31:04:


Query error (): Table 'cb_laborales.users_groups' doesn't exist


' in /var/www/casebox/httpsdocs/lib/DB.php:175
Stack trace:
#0 /var/www/casebox/httpsdocs/classes/CB/DataModel/Base.php(225): CB\DB\dbQueryError()
#1 /var/www/casebox/httpsdocs/classes/CB/DataModel/User.php(123): CB\DataModel\Base::toId('root')
#2 /var/www/casebox/bin/core_create.php(129): CB\DataModel\User::updateByName(Array)
#3 /var/www/casebox/bin/install.php(238): include('/var/www/casebo...')
#4 {main}

thrown in /var/www/casebox/httpsdocs/lib/DB.php on line 175
[root@srmcasebox casebox]#

install.php missing from GIT clone

cloned the master from GIT to do an install and the install.php file is missing in the /bin folder.

I checked the master on GIT and it is missing there too?

Uploading not finishing

Version: devel brunch from 17 december 2015.

I'm trying to upload files, but the first one does not get finished.

I can see 2 file on my upload queue.
First file: size: 1.7 MB; status: uploading; percent: 100%
Second file: size: 1.4 MB; status: ; percent:

Although the first file does not appear as completed, but uploading, I can see it on my upload folder and even its content on the side panel. But as it still appears as uploading, the second one does not start to upload.

The error I can find on my error log is (but I'm not sure if this error is related to the error described above):
PHP Fatal error: Call to undefined function CB\Solr\curl_init() in /var/www/html/casebox/httpsdocs/classes/CB/Solr/Service.php on line 197

Trying to Edit A Microsoft Office Document with Your VM

I'm getting this error from the VM version when trying to open a Microsoft Office Document


Fatal error: Uncaught exception 'Exception' with message 'Core not defined in cores table: davdev' in /var/www/html/casebox/httpsdocs/classes/CB/Config.php:118 Stack trace: #0 /var/www/html/casebox/httpsdocs/config.php(31): CB\Config::getPlatformConfigForCore('davdev') #1 /var/www/html/casebox/httpsdocs/init.php(11): require_once('/var/www/html/c...') #2 /var/www/html/casebox/httpsdocs/webdav.php(8): require_once('/var/www/html/c...') #3 {main}

thrown in /var/www/html/casebox/httpsdocs/classes/CB/Config.php on line 118

Navigation tree configuration

Hi again, I have just finished configuring CB on CentOS 7 VM and would like to customise navigation tree / available menu options. Created a new case template based on your developer doco but am currently stuck at trying to modify left pane nav tree.. tried to add Cases to System-Config-treeNodes based on Config json option template but that did nothing. Case object is now a menu option under New button.. can this be done from UI or do I have to access CB core tables / Linux host conf files? Not sure where to look for this..

Another question I have is how do I configure rules what to display in Menu pane based on selected tree item, ie. Task should be only available when I have My Tasks highlighted etc. Would like to have a very basic UI with Cases, Tasks, Actions and Folders. Actions would need to have attachment upload enabled (similar to Centos 6 VM demo). I appreciate your help in this - love the product!

Thanks,
Seb

ui config

ui config 2

Casebox VM demo password

Hi guys, I am in the process of evaluating your CMS platform but am unable to login through the web interface. CentOS 6 VMware image.

Tried multiple user name / password combinations:
root / casebox
test / test
admin / casebox
test / casebox

Please help.
Rgds, Seb

login bug

"New" button has disappeared from new dev version on all folders

Basic description

We pulled the latest devel version that fixes several bugs we have reported in recent days, but now the 'new' button has disappeared. We cannot create new thesauri items, nor add new cases to our casebox core using the UI.

** edit: ** If this is a clue, there is a new 'lock' button next to the folder where we created the cases, also the 'new' button is missing from everywhere... cannot even create a new folder inside the 'All folders' section.

What could have changed? Permissions? Folder owners?

Thanks,
Rafa.

Default login on newly created installation

Hi,

I've got Casebox (the new version from git) installed, but I can't find any information about the default admin login. Is this available somewhere or did I miss steps during installation ?

Selection of multiValued form editor disappears upon scroll

General description of issue

The problem occurs on a multiValued Object field with editor "Form" assigned to a thesauri Scope that contains several items (for instance countries) which require scrolling or paging. After clicking on a value, if I scroll down, the selection is lost.

Way to reproduce

  • Create a thesauri folder named countries (for example)
  • Create inside several items, in my case I have 44, I suspect at least 20 or so to see the issue
  • Create a country object field inside a case or templates template with the following configuration (replacing scope with the actual #id):
{
  "scope": 99,
  "multiValued": true,
  "editor": "form",
  "renderer": "listGreenIcons"
}
  • Create a case, click inside the countries input, a popup appears with the form
  • Select the second country
  • Scroll down to select the last country

At this point the first selection gets unselected, the show selection button is greyed out and if you click OK, there is no selection to be found. Also, (but this is probably a separate bug/issue): the paging list is showing 1-25 of 44 (in my case) but I can see all 44 if I scroll.

Tested in

  • I have tried this only on Chrome, perhaps other browsers are not showing the issue?

Hope this helps, thanks
Rafa.

PreviewExtractor with a snake case core name does not work.

With a core name like "my_core" PreviewExtracor init function splits by "_" the core name to configure the server with the last item of the split like "core.dummy.com", this is used in posterior process to detect the core name by the detect_core() function, after this the core name used by casebox is "core" instead of "my_core" and all the preview generation will fail without any error.

I solved this changing all my core names to camel case, really easy to solve, but it was very hard to debug, a fix or a warning on this i think is needed.

Select dropdown only loads the first 50 items, and related issues

Basic problem

I have assigned a 'country' field on a template which loads countries for a form from the a Thesauri. The problems are:

  • The select only shows the first 50 countries
  • If I have a previous record that holds a value from country 150, when I edit the form and select inside the dropdown, the original value is lost.

How to reproduce the issue

  • Create a select dropdown that points to a large thesauri folder, holding more than 50 items
  • Open the form and try to select an item from items 50 and beyond.

Is there a config option not shown on the documentation that allows for more rows to show on selects?

Thanks in advance,
Rafa.

Avatar error

When i upload profile picture to any account, its shows error.

How to Install Casebox

Hey world.

Is anybody can define Casebox easy installation tutorial on new organization? In Windows or Linux base server?

Object Permissions - User Labels disappearing after update

Dealing with Object Permissions, when you add/assign Users and configure the Permissions attributes everything seems/shows fine, until you save/update the object record.
If you reopen the Permissions window again you can see that User Labels disappear and you don't know which user has what rights !!!
This is happening only for Users, for Groups they work fine.

See Image:
user-label-object-permissions

Regards,
lolziac

Items created after 50 records are put on page 2 no matter the sorting criteria

General description

If I have 50 items created inside a Template with a sorting criteria like 'order', the newly created items are pushed to page 2 even if their sorting order would put them on page 1, which seems confusing as you would expect the new item in its 'correct' location.

Way to reproduce

  • Have a template with 50 items ordered by reverse order and have them ordered from 1 to 50. Item 50 would be first, 49 second and so on.
  • Create a new item and put in the order field value 51. This should put it first on the first page, instead, it gets created on page 2. If you reload the page, it gets correctly sorted on page 1.

Best regards,
Rafa.

unable to install casebox

I followed all the instructions but this is what I get when I run install script:

cd /var/www/htm/casebox
php bin/install.php

You have configured main options for casebox.
Saving your settings to /var/www/html/casebox/httpsdocs/config.iniOK
Solr configsets symlinks created sucessfully.
PHP Notice: Undefined index: SOLR_CLIENT in /var/www/html/casebox/httpsdocs/lib/install_functions.php on line 281
PHP Warning: require_once(/var/www/html/casebox/httpsdocs/libx): failed to open stream: No such file or directory in /var/www/html/casebox/httpsdocs/classes/CB/Solr/Service.php on line 87
PHP Fatal error: require_once(): Failed opening required '' (include_path='/var/www/html/casebox/httpsdocs/libx:/var/www/html/casebox/httpsdocs/libx/min/lib:/var/www/html/casebox/httpsdocs/libx/ZF/library/:/var/www/html/casebox/httpsdocs/classes:/var/www/html/casebox/httpsdocs/plugins/:.:/usr/share/php:/usr/share/pear') in /var/www/html/casebox/httpsdocs/classes/CB/Solr/Service.php on line 87
root@casebox:/var/www/html/casebox# vim /var/www/html/casebox/httpsdocs/lib/install_functions.php

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.