paste

a pastebin clone

commit history

  • xero <x@xero.nu>01/16/13
    d77fdfa27a updated the README with demo link
  • xero <x@xero.nu>01/16/13
    774c217f43 i changed my github username
  • xero harrison <x@xero.nu>09/21/12
    662ec30812 added code comments to index.php. updated the the template and error views with links to my repos.
  • xero harrison <x@xero.nu>09/21/12
    63787a8e25 created a generateKey method for creating randomized encryption keys. updated the main logic to use this new method.
  • xero <x@xero.nu>09/21/12
    f11f106e3f Update README
  • xero harrison <x@xero.nu>09/20/12
    af7b53444f finalized the encrypt/decrypt function. added readTheFile function to read a paste file from the /blobs/ directory, json decodes it, decrypts it, and renders it to the user. if the file ttl (time to live) is less than the current epoch time it is deleted.
  • xero harrison <x@xero.nu>09/20/12
    05a12ba5c1 updated the form view and removed the never option. updated the index: coded the writeFile function to json encode the data with the time to live of the file and write it to the /blobs/ directory. filename is a sha1 of the json encode. need to come up with a shorter url scheme.
  • xero harrison <x@xero.nu>09/20/12
    0cb5ba8fdd created a new main view as the default/welcome screen of the application. created new methods in index.php for decoding urls and started the base logic for them. created the getRequest function for securely retrieving post data by calling filter_var and htmlentities on every variable requested.
  • xero harrison <x@xero.nu>09/20/12
    554f01ae0c updated the views to use echo as opposed to the
  • xero harrison <x@xero.nu>09/20/12
    c18ef76d33 created three new views: error, for handling error messages. form, for creating pastes. and paste, for viewing/rendering pastes. updated the error/exception functions in index.php to use the new views. updated the main template with new css and a description of the project.
  • xero harrison <x@xero.nu>09/20/12
    ec752f3144 added a testBlobs method to detect is the /blobs/ directory exists and is writable. wrapped this method and the config methods into a new bootstrap method.
  • xero harrison <x@xero.nu>09/20/12
    f599450014 created the render function as a simple template system.
  • xero harrison <x@xero.nu>09/20/12
    cc9d28e80b created config function to set application constants and generic error/exception handling. toggle the DEBUG constant to show/hide verbose error messages.
  • xero harrison <x@xero.nu>09/20/12
    c6f99f45f1 created a generic template in /views/
  • xero harrison <x@xero.nu>09/20/12
    3db6e93e7c created a skeleton for the paste project

subscribe

atom rss