Skip to content

hrGuTou/DocumentSharingSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Document Sharing System

Complete v1.0

Environment Setup

Install and complete setup Ngrok
Signup Firebase account and setup Firebase Storage and Firebase Database

Firebase Credential Setup

Download database secret key json file from Firebase<
Put json in all /Firebase_cred folder
Open Firebase.py to modifiy json location

Run

Run from /GUI/login.py

Screenshots

Real Time Editing

Alt text

Sign Up GUI

Alt text

Login Up GUI

Alt text

Main Window for Guest User

Alt text

Main Window for Ordinary User

Alt text

Main Window for Super User

Alt text

Functionality

GU

1: Double clicks any of the documents in any categories and open up an editor window

2: Click the complaint button in the editor to send complaint to SU

3: Click the Suggestion Taboo button in the editor to send suggestion taboo to SU

4: Click the History button in the editor to view all the history of the current document and double clicks any version to view the change

5: Click the sign up button on the left bottom corner to apply to be OU, need to wait for SU to approval. Follow the same step as the Sign Up GUI above

OU

Similar window to GU and functionalities, but OU has a section for his/her document list

1: Able to search oher OU information based on his/her name

2: Able to search within own documents by enter a keyword and return a list of the documents contains the keyword

3: Click the New Document button to create a new document and open an editor window

Once enter the name of the document and the context, OU can click save button to save the document

Or just close the window after finished editing, auto-save feature will save your document

If the document is already in the database, save button will become lock or unlock based on the document's current status. User can lock he's own file to prevent unauthorized changes.

4: Inside of the eiditor window, OU can click the shared button to change the type of the document to public, private, and access only through share

5: In the OU main window, user can view the invitation from other OU, he/she can either accept the inviation or decline the inviation
- once the inviation is accepted, he/she can view the documents by clicking connect in the invitation tab to open the document and perform realtime editing

SU

SU has all the functionalities from GU and OU, it can maintain the whole system

For empty database, first create a user with username: llhc@gmail.com with password: csc322 to become a SU

  1. Under Taboo Word List tab, SU can accept suggested taboo words or delete the current effective taboo words

  2. Under GU Application tab, SU can see all the GU's applications to either approve or reject their application to become OU

  3. Under Complaints tab, SU can have a list of all users' complaints, after complaints is resolve, click resolve button to dismiss a complaint

  4. Under Locked Document tab, SU can unlock a locked file

  5. Main tab is the SU's own document editing page, which is same as OU's main page

Team Members:

KaiHang Chen
Haoran He
JinFeng Lin
YanFeng Lin

Team Name:

LLHC

Backend:

Python
Socket.io
Firebase
Ngrok

Frontend:

PYQT5

About

Desktop words editing software with real-time collaboration feature.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages