AsifRashid01 / CSC-322-Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CSC-322-Project: Document Sharing System (DSS)

Team #14

By:

  • Seyson Chen
  • Saddique Shafi
  • Abdur Rafey
  • Asif Rashid

Prerequisites:

  • Have python 3 installed

Note:

The super user's login information is hardcoded as follows:

Username: s

Password: s

(Similarly, you can log in as an OU with 'o' and 'o' and as a GU with 'g' and 'g'; although you can also create your own guest account and stop there or continue by submitting an application and then accepting it as the super user to promote yourself to an OU.)

Project Statement:

We want to develop a document sharing system such that group members can collaborate on the same documents without causing inconsistencies. There are three types of users in this system: Super User (SU), Ordinary User (OU) and Guest (GU).

Project Specifications

SU:

  • update membership (completed)

    • Path: CSC-322-Project\Pages\SuperUserPage.py
    • Classes: ViewApplications, ViewAnApplication, RemoveOU
  • maintain a list of taboo words (completed)

    • Path: CSC-322-Project\Pages\SuperUserPage.py
    • Classes: ViewTabooWords, ViewSuggestedTabooWords
  • unlock any locked document (not done)

  • process complaints about OU's (not done)

  • have all privileges reserved for OUs inside any group (not implemented for SU but implemented for OU)

OU:

  • create new document(s), the creator of a document is the owner of the document and can invite other OUs to update it,
    and decide if the document is open to the public (can be seen by everyone), restricted (can only be viewed as read-only by GU's and edited by OU's), shared (viewed/edited by OU's who are invited) and private (completed)

    • Path: CSC-322-Project\Pages\OrdinaryUserPage.py
    • Classes: create_new_document_OU, Your_Documents_OU, Collab_Documents_OU, Other_Documents
  • an OU can accept or deny the invitation(s) placed by other OUs for their documents (completed)

    • Path: CSC-322-Project\Pages\OrdinaryUserPage.py
    • Classes: accept_decline_invites
  • lock a shared document for updating, only one OU can lock a document successfully, the system should indicate which OU is updating the document (completed)

    • Path: CSC-322-Project\Pages\OrdinaryUserPage.py
    • Classes: Collab_Documents_OU
  • update a successfully locked document, and then assign a unique version sequence number and remember who and when makes the updates (completed)

    • Path: CSC-322-Project\Pages\OrdinaryUserPage.py
    • Classes: Your_Documents_OU, Collab_Documents_OU, Other_Documents
  • unlock a shared document locked by him/herself (completed)

    • Path: CSC-322-Project\Pages\OrdinaryUserPage.py
    • Classes: Your_Documents_OU, Collab_Documents_OU
  • file complaints to the owner of a document about other OUs'updates or to the SU about the owner of the documents (partially completed)

    • Path: CSC-322-Project\Pages\OrdinaryUserPage.py
    • Classes: File_Complaints
  • as the owner of a document deal with complaints filed by other OUs (remove some OUs who were invited before) (completed)

    • Path: CSC-322-Project\Pages\OrdinaryUserPage.py
    • Classes: View_Complaints
  • unlock the locked documents s/he owns that is being updated by others (completed)

    • Path: CSC-322-Project\Pages\OrdinaryUserPage.py
    • Classes: Your_Documents_OU, Collab_Documents_OU
  • search own file(s) based on (partial) keyword (completed)

    • Path: CSC-322-Project\Pages\OrdinaryUserPage.py
    • Classes: Your_Documents_OU
  • search information about other OUs based on name and/or interests. (completed)

    • Path: CSC-322-Project\Pages\OrdinaryUserPage.py
    • Classes: get_info_ou
  • have all privileges for GUs (partially completed, see GU specifications below)

GU:

  • read open document(s), retrieve old version(s) of open document(s) and complains about those documents. (partially completed)

    • Path: CSC-322-Project\Pages\GuestUserPage.py
    • Class: Documents_GU
  • send suggestions to SU about taboo words (completed)

    • Path: CSC-322-Project\Pages\GuestUserPage.py
    • Class: Taboo_Word_Suggestions
  • apply to be an OU that is to be confirmed or rejected by SU, in the application his/her name, technical interests should be submitted. (completed)

    • Path: CSC-322-Project\Pages\GuestUserPage.py
    • Class: Apply_GU_to_OU

constraints:

• there is only ONE current version for any document

• for simplicity there is only one word for each line in all documents

• only the editing command(s) are saved for older versions with three possible actions: add, delete and update. For instance, if the file doc_1.txt contains one line "the", and doc_2.txt contains three lines "welcome \n the \n world\n", then your system only saves doc_2.txt, doc_1.history saves the commands "delete 1; delete 3" which changes doc_2.txt into doc_1.txt. Your system generates the history command file based on the difference.

• the retrieval of older versions of documents should be done by your system based on the current version and possibly a sequence of history files.

• any word(s) belonging to the taboo list (maintained by SU) are replaced by UNK by the system, and the one who use these words are warned automatically, s/he should update the document next time s/he log in the system as the first job (all other activities are blocked) (not implemented)

• a creative feature worthy of 15% is required for each system, one possible feature could be allowing more than word per line, or speech-based document updating is allowed, or some machine learning features to render this system adaptable/evolving by itself thru usage. (our creative feature: allowing more than one word per line)

• a GUI is required, different users should have their own page populated by his/her picture and 3 most recent documents. For a brand-new user, the 3 most popular (most read and/or updated) files in the system are shown. (partially completed)

About


Languages

Language:Python 99.9%Language:C 0.0%Language:C++ 0.0%