view · edit · sidebar · attach · print · history

20120514-shorten-path-form

<< | Index | >>


Summary

  • Added shorten_path for fachinfo

Commits

Index


Added shorten_path

Added shorten_path as Short URL in fachinfo.
I created ODDB::TransHandler in src/util/trans_handler.rb
We need to update http.conf.

vhosts.d/oddb.org.conf
  RubyAddPath /usr/local/lib/ruby/gems/1.9.1/gems/sbsm-1.1.6/lib

  :before:
  #RubyRequire 'sbsm/trans_handler'
  #RubyTransHandler SBSM::FlavoredTransHandler.instance

  :update:
  RubyRequire 'util/trans_handler'
  RubyTransHandler ODDB::FlavoredTransHandler.instance
Error Message
NOTE

Htmlgrid::Form

  Htmlgrid::Form < Composite < AbstractComposite < Component

How to output error message

  • create @error in State
  • include HtmlGrid::ErrorMessage in View
  • call error_message at init in View

Added disabre forwarding flag

Added :disable_photo_forwarding_flag to Package.
If this flag is true, then Photo doesn't have external link to flickr.


Debug yus_setup

setup yus db

1. sudo -u postgres dropdb yus
2. sudo -u postgres createdb -E UTF8 -T template0 yus
3. sudo yus_add_user yasaka@ywesee.com login org.oddb.RootUser
4. sudo yus_grant yasaka@ywesee.com edit yus.entities
5. sudo yus_grant yasaka@ywesee.com edit org.oddb.drugs
6. sudo ./setup.yus-usergroup.sh xxxxx

Attach:yus-setup-sh-20120514.txt (NEW Version, added argument check)

NOTE
  • yus needs groups (z.B. RootUser, AdminUser, usw) als user.
    This users have priveleges (Rechte)
  • setup.yus-usergroupsh requires password as first argument.
  • require re-generating of password at first login.
  • require check of checkbox RootUser Group

Refs

view · edit · sidebar · attach · print · history
Page last modified on May 15, 2012, at 07:47 AM