Code Monkey home page Code Monkey logo

deadline's People

Contributors

lord2800 avatar

Watchers

 avatar  avatar

deadline's Issues

Decouple the view from the response

While I was working on the video controller, I ran into an issue where the response tried to create an AviView because the path ended with .avi. While that behavior was "correct", it was undesired. I need to decouple the view from the response, and make each controller responsible for returning the view they want (with a nice helper method in HttpResponse that automatically determines the view type unless you override it) and pass that to the response for rendering.

Support PHAR mode

This will involve making PathWrapper check two locations: the directory that the phar is in first, and inside the phar second. Any and all files should be overridable by placing the file in the right directory structure.

The admin controller isn't finished

Things to add:

  • More widgets for various other controllers
    • Videos (trending, currently viewing, view count)
  • User Management
    • Add a user
    • Disable a user
    • Delete a user
    • List all users
  • Template management
    • Making new templates based on other templates
    • Maybe editing templates?
  • Settings
    • List settings and have a way to edit settings (test type, have proper editor)
  • Route editor

Fill out the cache class

The cache class should favor memcache first, apc cache second, wincache third, maybe redis? fourth. Any expensive calculations should be cached.

Fix error handling

Right now errors are statically routed to an Error class with static methods for the status number. I'm not sure of a better way to handle this yet, but it desperately needs fixing. Also, the shutdown error handler isn't finished in any way.

Unhack the controller scanning

In 89cfcd6, I hacked the controller and view factories to scan a list inside the storage instead of looking in the Right Place (TM) for them. I need to decide how to scan for them, and the unhack that code.

Figure out API for authorization

Now that users can sign in and out, I need a way to protect pages by requiring authenticated users (optionally, with a specific role). I'm thinking a view descended from HtmlView for not-authed/wrong-role is going to suffice. That saves me typing as well as looks pretty.

User auth problems

Currently, users aren't remembered and there's no throttling for invalid attempts, not to mention no way to reset passwords. All of those things need doing.

User profile page

As mentioned in #11, there's currently no way to request a password reset. Additionally, the user profile page doesn't let you edit any fields successfully, and it lets any authed user edit any other user's fields. Plus, there's no way to add/remove users to/from roles.

Add an ImagePreFilter class

Assuming I can sprite images into a single tile, that will be a significant http traffic win as well as a loading win up to a certain size--which is what I'll need to figure out if/when I do this.

Create installer

I need to create an installer script. It needs to build the tables and insert some basic data into them (like the guest and admin users).

Routing does not work as expected

Currently, routing uses strpos() to determine which route has a positional parameter first. This is incorrect--it should be breaking apart the route into pieces and testing each piece to see if it's a positional parameter instead. This should be easy to fix, but low priority.

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.