Giter VIP home page Giter VIP logo

podbooking's Introduction

podbooking

Written in Python using Flask as a framework to deliver a web application for a more robust and updated interface for booking of network equipment.

A number of tables in a database using SQLITE and Flask/SQLAlchemy use the rough layout as follows:

getapod_rooms id = int, primary key name = string(64) pods = int

getapod_bookings id = int, primary key room = int time = int pod = int duration = int name1 = string(64) name2 = string(64) comment = string(64) flag = string(64)

roles id = int, primary name = string(64) users = relationship -> users table

users id = int, primary username = string(64), unique role_id = int, foreignkey -> roles table (roles.id) password = string(300) hash&salt, unique flag = string(64) set various user flags last_login = int, last time user logged in in unixtime


There are still plenty of things to do here, this is not even close to finished - but base functionality works right now. A number of rooms have a number of pods (stations) that can be booked

podbooking's People

Contributors

telsak avatar pcmartinzzon avatar fromexo avatar

Stargazers

 avatar aamadeus avatar

Watchers

James Cloos avatar  avatar

podbooking's Issues

Restrict new bookings and deletions to user

  • Ensure only the user who booked the resource can change it
  • Enforce user login before they can book new pods
    • Check that user doesn't already has two separate bookings from > current_time but ignore < current_time
    • Right before writing the booking, double-check that time slot is still available (since the bookings view are rendered when the page is fetched)

Create Development Branch

Having a separate development branch would greatly facilitate collaboration and provide a stable integration point for ongoing work before merging into the main branch.

I propose creating a development branch to serve as the primary branch for ongoing development and testing. This branch would not only allow contributors to work on features and bug fixes independently but also serve as a dedicated space for updating modules and libraries of the application.

Todo: login and user management

  • Add user login and authentication (initially just run with local table for this)
  • Separate role for customer and admin (student/teacher)
  • admin has a panel for user management
  • change admin panel to ensure changing password writes the hash and not the PT

Create Release and Tag for Repository

I've noticed that there hasn't been a recent release or tag to mark a specific version of the project.

I propose creating a new release and associated tag to signify the current state of the codebase as version 1.0.0.

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.