- C++ 47.2%
- QML 42.8%
- Python 8.9%
- QMake 1.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| client/application | ||
| icons/university | ||
| presentation | ||
| server | ||
| .gitignore | ||
| AUTHORS.md | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| LICENSE.BSD-3-Clause.md | ||
| README.md | ||
| README.ru.md | ||
Saint Petersburg State University of Economics (UNECON)
Electronic Document Management
This project is a document management application using an electronic digital signature
The main purpose is to demonstrate using a minimum of source code to get a correct and extensible application.
Terms of Use and Participation
The source code of the project is provided under the license, which allows its use in third-party applications.
The contributor agreement documents the rights granted by contributors of the Open Mobile Platform.
Information about the contributors is specified in the AUTHORS file.
Code of conduct is a current set of rules of the Open Mobile Platform which informs you how we expect the members of the community will interact while contributing and communicating.
Project structure
The project has a common structure of an application based on C++ and QML for Aurora OS.
- client the directory containing the client implementation of the application
- application directory contains the application
- ru.auroraos.ElectronicDocumentManagement.pro file describes the project structure for the qmake build system.
- icons directory contains the application icons for different screen resolutions.
- qml directory contains the QML source code and the UI resources.
- assets the directory contains additional user interface icons.
- components directory contains the custom UI components.
- cover directory contains the application cover implementations.
- icons directory contains the additional custom UI icons.
- pages directory contains the application pages.
- ElectronicDocumentManagement.qml file provides the application window implementation.
- rpm directory contains the rpm-package build settings.
- ru.auroraos.ElectronicDocumentManagement.spec file is used by rpmbuild tool.
- src directory contains the C++ source code.
- translations directory contains the UI translation files.
- ru.auroraos.ElectronicDocumentManagement.desktop file defines the display and parameters for launching the application.
- application directory contains the application
- server the directory containing the server implementation of the application
Compatibility
The project is compatible with all the supported versions of the Aurora OS.
Installation and assembly
The project is assembled in the usual way using the Aurora SDK.
Starting the server
- Make sure that you have python version 3.13 installed (this version was used during development).
- Open a terminal or command prompt.
- Navigate to the directory where the server source code should be located.
- Copy the repository.
- Run the
cd 2b_1_document_flowcommand. - Run the
rm -r client AUTHORS.md CODE_OF_CONDUCT.md CONTRIBUTING.md LICENSE LICENSE.BSD-3-Clause.md README.md README.ru.mdto delete files that are unnecessary for the server. - Run the
cd servercommand. - Run the
python3 -m venv .venvcommand to initialize the Python virtual environment. - Run the
source .venv/bin/activatecommand to activate the Python virtual environment. - Run the
pip install -r requirements.txtcommand to install the necessary dependencies. - Run the
python3 main.pycommand to start the server.
Functional
The application has been tested for compliance with the following functionality:
- The application displays a list of documents on the device.
- The application allows you to view pdf documents.
- The application displays the document statuses ("Not viewed", "Viewed", "Signed", "Processed").
- The application changes the file statuses with appropriate actions.
- The application allows you to sign a document with an electronic signature.
- The application allows you to send a signed file to the server over a WebSocket Secure connection.
- The application allows you to get a list of files from the server.
- The application allows you to download a file from the server to the device.
- The application does not display the file located on the server if it is already on the device.