[gallery/gallery3] 26e4f0: #2058 - Separate uploader logic into Kohana-, Item...

GitHub <noreply-9UaJU3cA/F/[email protected]>
Newsgroups gmane.comp.web.gallery.cvs
Message-ID <51421b979bc90_413d4513458c4@hookshot-fe2-pe1-prd.aws.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/gallery/gallery3
  Commit: 26e4f044bb861f478719388fc9fb503fa16af2d5
      https://github.com/gallery/gallery3/commit/26e4f044bb861f478719388fc9fb503fa16af2d5
  Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
  Date:   2013-03-14 (Thu, 14 Mar 2013)

  Changed paths:
    M modules/gallery/controllers/uploader.php

  Log Message:
  -----------
  #2058 - Separate uploader logic into Kohana-, Item-Model-, and Uploadify-specific functions.
- Added _process_upload() to handle upload file validation with Kohana.
- Added _add_item() to handle item creation and validation with the item model (and logs).
- Removed these pieces from add_photo(), which is now rather Uploadify-specific.
- Used $_FILES to get filename instead of assuming it's substr(basename($tmp_name), 10).
- No net functional changes - works just like before.


  Commit: 5a22f0c09905305a655e921f0c9b931eb808c07e
      https://github.com/gallery/gallery3/commit/5a22f0c09905305a655e921f0c9b931eb808c07e
  Author: Bharat Mediratta <[email protected]>
  Date:   2013-03-14 (Thu, 14 Mar 2013)

  Changed paths:
    M modules/gallery/controllers/uploader.php

  Log Message:
  -----------
  Merge pull request #213 from shadlaws/fix_2058

#2058 - Separate uploader logic into Kohana-, Item-Model-, and Uploadify-specific functions.


Compare: https://github.com/gallery/gallery3/compare/2340426c090d...5a22f0c09905

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar

__[ g a l l e r y - c h e c k i n s ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.