This repository contains the code for CSWeb, the web application that allows users to securely transfer cases or files between client devices and a web server.
CSWeb is coded in PHP. Detailed API documentation can be found in the file src/AppBundle/CSPro/swagger.json.
Most development on CSWeb occurs on a private repository. The commits in this public repository are snapshots of the development that occurs on the private repository.
If you submit a pull request that is accepted by the development team, the pull request will be processed in this public repository and/or the private repository. Regardless, the changes will be incorporated as part of the next code snapshot.
We welcome contributions from everyone! If you'd like to contribute, please follow these guidelines:
- All contributions must be submitted via a pull request to the dev branch.
- Ensure that the pull request is well-documented and includes a clear description of the changes.
- Follow the project's coding style and best practices.
Thank you for helping improve this project!
- Apache or IIS with mod_rewrite/URL rewrite
- MySQL 5.5.3+
- PHP 5.5.9+ with the following modules:
- file_info
- pdo
- pdo_mysql
- curl (or enable set allow_url_fopen in php.ini)
- openssl
- Copy the source code to your www directory (so you have www/csweb).
- Make sure that the directories var, var/logs, and app are wri by the web server user.
- Create a MySQL database and a user with read/write access to the database.
- In a browser go to /csweb/setup and follow the setup wizard.
Login to the web interface (/csweb/) to add users and upload dictionaries.
In your CSPro application in the synchronization options enter the URL of your server (/csweb/api) or in your application logic use the syncconnect/syncdata/syncfile functions to upload/download data files to your server.