Giter Club home page Giter Club logo

mfgd's People

Contributors

birb007 avatar kukrimate avatar paulbeka avatar weiyiguoyoyo avatar

Watchers

 avatar  avatar

mfgd's Issues

Unit Testing

We should implement the following unit tests (examples available as tests/test_*.py).

  • verify permissions restrict access to users with access rights and admins (/<repo>/view, /<repo>/manage, /<repo>/chain, /<repo>/info, /)
  • verify chain view correctly displays commits in chronological order (/<repo>/chain)
  • verify commit info page correctly displays message and changes (/<repo>/info)
  • verify profile page shows correct user properties and has changes (/profile)
  • verify tree view has correct icons, commits, names, and crumbs (/<repo>/view)
  • verify blob viewer has syntax highlighting for textual files and hex viewer for binary (/<repo>/view/path/to/file)

Required Development

List of requirements for collaborators:

  • Implement / endpoint to select a repository for navigation.
  • Implement /login endpoint to authenticate with a registered user account.
  • Implement /register endpoint to create user account.
  • Implement /profile endpoint to view and modify profile attributes.
  • Implement visibility to require authentication to view private repositories.
  • Implement visibility to require authentication to manage repositories.
  • Implement /<repo>/chain endpoint for inspecting commit log with optional commit offset.
  • Implement /<repo>/info endpoint for inspecting commit itself (timestamp, author, message).
  • Implement patch viewer in /<repo>/info endpoint for deltas in specified commit.
  • Implement /<repo>/tree endpoint for inspecting the tree at a specific commit or branch.
  • Allow users to inspect blobs and associated commits from /<repo>/tree view.
  • Allow users to view textual blobs with syntax highlighting.
  • Allow users to view binary blobs with hex dump.
  • Allow users to view most recent commit in /<tree>/tree/path/to/file affecting path/to/file.
  • Implement /<repo>/manage to modify repository visibility and user permissions.
  • Implement navigation bar for logouts, logins, registrations, and shortcuts to endpoints (/info, /chain, etc.).
  • Implement clean looking error handlers for 4xx and 5xx HTTP status codes.
  • Implement /<repo>/collaborator/<email> endpoint for inspecting collaborator contributions. (?)
  • Implement /manage endpoint to add repository from web view. (?)

Additional changes pertain to improving the templates aesthetically (there are certain issues with media queries breaking pages and misaligned <table>'s).

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.