[gallery/gallery3] ed2079: #2057 - Revise item name and slug validation - bac...

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

  Changed paths:
    M installer/install.sql
    M modules/gallery/helpers/album.php
    M modules/gallery/helpers/gallery_installer.php
    M modules/gallery/helpers/movie.php
    M modules/gallery/helpers/photo.php
    M modules/gallery/models/item.php
    M modules/gallery/module.info
    M modules/gallery/tests/Item_Model_Test.php

  Log Message:
  -----------
  #2057 - Revise item name and slug validation - backslashes, refactor, error messages.
- disallowed backslashes in item validation.
- refactored the validation logic in the item model a bit.
- added no_backslash error messages in edit album/photo/movie forms.
- fixed error messages in add album forum (some missing, some text different from edit)
- added unit tests
- updated to v58 to correct any existing backslashes in item names


  Commit: e2ee3499ca1d7980dd84c7c649d69ce11f381915
      https://github.com/gallery/gallery3/commit/e2ee3499ca1d7980dd84c7c649d69ce11f381915
  Author: Bharat Mediratta <[email protected]>
  Date:   2013-03-12 (Tue, 12 Mar 2013)

  Changed paths:
    M installer/install.sql
    M modules/gallery/helpers/album.php
    M modules/gallery/helpers/gallery_installer.php
    M modules/gallery/helpers/movie.php
    M modules/gallery/helpers/photo.php
    M modules/gallery/models/item.php
    M modules/gallery/module.info
    M modules/gallery/tests/Item_Model_Test.php

  Log Message:
  -----------
  Merge pull request #209 from shadlaws/fix_2057

#2057 - Revise item name and slug validation - backslashes, refactor, error messages.


Compare: https://github.com/gallery/gallery3/compare/94ac55215213...e2ee3499ca1d

------------------------------------------------------------------------------
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.