Google Play & Nexus 4 & Service

February 20, 2013 admin No comments

20.02.2013

vielen Dank für Ihre Geduld. Leider konnte nicht festgestellt werden, warum Ihr Gerät nicht geliefert werden konnte. Ich bitte Sie, Ihre Bestellung erneut durchzuführen. Der Betrag wird innerhalb eines überschaubaren Zeitraumes auf Ihre Kreditkarte zurücküberwiesen.

Vielen Dank für Ihre Verständnis. 

Wenn Sie weitere Fragen haben, stehen wir gerne zur Verfügung.

Mit freundlichen Grüßen
...

19.02.2013

vielen Dank für Ihren Anruf bei Google Play. Ich habe Ihr Anliegen bezüglich der nicht zugestellten Lieferung an unser Experten-Team weitergeleitet und gebe Ihnen Bescheid, sobald ich eine Antwort habe. Möglicherweise melde ich mich zuvor noch einmal, falls weitere Informationen über die Umstände des Problems erforderlich sind. 

Vielen Dank für Ihre Geduld und Mitarbeit beim Lösen des Problems. 

Bei weiteren Fragen stehen wir gerne zur Verfügung.

Mit freundlichen Grüßen
...

14.02.2013

Ihr Kauf auf Google Play wurde storniert. Der Kaufpreis wird erstattet.
...
Bestelldatum: 30.01.2013 03:05:02 PST
...
Categories: Troubleshooting Tags:

User Controls not showing up in the toolbox

January 9, 2013 admin No comments

Tools > Options > Windows Forms Designer > General : AutoToolboxPopulate

Categories: C# Tags:

Redmine 2.1 & Block activity show(show only for admin)

October 23, 2012 admin No comments

vi app/controllers/activities_controller.rb

 def index
    @days = Setting.activity_days_default.to_i

    if !User.current.admin?
      render_404
      return
    end

 

rake tmp:cache:clear
rake tmp:sessions:clear
touch tmp/restart.txt

Categories: Redmine Tags:

How to upgrade Redmine 1.4 to Redmine 2.1 (CentOS 5.8)

October 23, 2012 admin No comments

Upgrade Ruby 1.9.3 with libyaml

Installing libyaml

#  cd /usr/src/
# wget http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz
# tar xzvf yaml-0.1.4.tar.gz
# cd yaml-0.1.4
# ./configure --prefix=/usr/local
# make && make install

Installing Ruby 1.9.3-p194

#  cd /usr/src/
# wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz
# tar zxvf ruby-1.9.3-p194.tar.gz
# cd ruby-1.9.3-p194
# ./configure --prefix=/usr/local --disable-install-doc --with-opt-dir=/usr/local/lib
# make && make install
# gem install bundler

Optional Update passenger

# gem install passenger
# passenger-install-apache2-module

vi /etc/httpd/conf.d/passenger.conf

LoadModule passenger_module /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.17/ext/apache2/mod_passenger.so
PassengerRoot /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.17
PassengerRuby /usr/local/bin/ruby

Install Redmine 2.1

# cd /opt
# svn co http://redmine.rubyforge.org/svn/branches/2.1-stable redmine-2.1
# cd /opt/redmine-2.1
# bundle install --without development test postgresql sqlite rmagick

# cd /opt/redmine-2.1
# chown -R root:root .
# mkdir public/plugin_assets
# chown -R apache:apache files log tmp public/plugin_assets
# chmod -R 755 files log tmp public/plugin_assets
# chown -R apache:apache config/environment.rb

# rake generate_secret_token
# rake db:migrate RAILS_ENV=production
# rake redmine:plugins:migrate RAILS_ENV=production
# rake tmp:cache:clear
# rake tmp:sessions:clear
# touch tmp/restart.txt

vi config/database.yml
change:
adapter: mysql
to:
adapter: mysql2

vi /etc/httpd/conf/httpd.conf

DocumentRoot "/opt/redmine-2.1/public"

Optional Install plugin

# cd /opt/redmine-2.1/plugins
# git clone https://github.com/undx/redmine_redirect_to_after_login.git redirect_to_after_login
# git clone https://github.com/f0y/redmine-wiking.git wiking
# cd /opt/redmine-2.1
# rake redmine:plugins:assets RAILS_ENV=production

Patch

Can’t edit update of an issue http://www.redmine.org/issues/12076
vi /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/http/mime_negotiation.rb
change
Array(Mime[parameters[:format]])
to
Array.wrap(Mime[parameters[:format]])

Categories: Redmine Tags:

Redmine 1.4 & Wiki homepage

June 8, 2012 admin No comments
rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm
yum install --enablerepo=webtatic git-core

 

cd vendor/plugins/
git clone https://github.com/txinto/redmine_startpage
cd ..
cd ..
rake db:migrate_plugins RAILS_ENV=production
rake tmp:cache:clear
rake tmp:sessions:clear
touch tmp/restart.txt

 

If the starting page must be a wiki page (f.i. http://gatatac.net/projects/redminewikistartpage/wiki), then

Controller: wiki
Action: show
Id: must be an empty string
Extra argument name: project_id
Extra argument value: redminewikistartpage

Categories: Uncategorized Tags:

IMAP-Server

May 24, 2012 admin No comments

Dovecot:
http://chemnitzer.linux-tage.de/2010/vortraege/detail.html?idx=439

Categories: CentOS Tags:

Redmine 1.4 & Block user show(show only for admin)

January 27, 2012 admin No comments

vi app/controllers/users_controller.rb

    @events_by_day = events.group_by(&:event_date)

    if !User.current.admin?
        render_404
        return
    end

 

rake tmp:cache:clear
rake tmp:sessions:clear
touch tmp/restart.txt

Categories: Redmine Tags:

Redmine 1.4 & Hide list of members(author, assignee) in reports (show only for admin)

January 26, 2012 admin No comments

vi app/views/reports/issue_report.html.erb

<%= render :partial => 'simple', :locals => { :data => @issues_by_priority, :field_name => "priority_id", :rows => @priorities } %>
<br />
<% if User.current.admin? %>
<h3><%=l(:field_assigned_to)%>&nbsp;&nbsp;<%= link_to image_tag('zoom_in.png'), :action => 'issue_report_details', :detail => 'assigned_to' %></h3>
<%= render :partial => 'simple', :locals => { :data => @issues_by_assigned_to, :field_name => "assigned_to_id", :rows => @assignees } %>
<h3><%=l(:field_author)%>&nbsp;&nbsp;<%= link_to image_tag('zoom_in.png'), :action => 'issue_report_details', :detail => 'author' %></h3>
<%= render :partial => 'simple', :locals => { :data => @issues_by_author, :field_name => "author_id", :rows => @authors } %>
<% end %>

 

vi app/controllers/reports_controller.rb

    when "assigned_to"
      if User.current.admin?
        @field = "assigned_to_id"
        @rows = (Setting.issue_group_assignment? ? @project.principals : @project.users).sort
        @data = Issue.by_assigned_to(@project)
        @report_title = l(:field_assigned_to)
      end
    when "author"
      if User.current.admin?
        @field = "author_id"
        @rows = @project.users.sort
        @data = Issue.by_author(@project)
        @report_title = l(:field_author)
      endif
...

 

vi app/models/query.rb

    users = principals.select {|p| p.is_a?(User)}

    if User.current.admin?
      assigned_to_values = []
      assigned_to_values << ["<< #{l(:label_me)} >>", "me"] if User.current.logged?
      assigned_to_values += (Setting.issue_group_assignment? ? principals : users).collect{|s| [s.name, s.id.to_s] }
      @available_filters["assigned_to_id"] = { :type => :list_optional, :o rder => 4, :values => assigned_to_values } unless assigned_to_values.empty?

      author_values = []
      author_values << ["<< #{l(:label_me)} >>", "me"] if User.current.logged?
      author_values += users.collect{|s| [s.name, s.id.to_s] }
      @available_filters["author_id"] = { :type => :list, :o rder => 5, :values => author_values } unless author_values.empty?

      group_values = Group.all.collect {|g| [g.name, g.id.to_s] }
      @available_filters["member_of_group"] = { :type => :list_optional, :o rder => 6, :values => group_values } unless group_values.empty?

      role_values = Role.givable.collect {|r| [r.name, r.id.to_s] }
      @available_filters["assigned_to_role"] = { :type => :list_optional, :o rder => 7, :values => role_values } unless role_values.empty?

      if User.current.logged?
        @available_filters["watcher_id"] = { :type => :list, :o rder => 15, :values => [["<< #{l(:label_me)} >>", "me"]] }
      end
    end
...

 

rake tmp:cache:clear
rake tmp:sessions:clear
touch tmp/restart.txt

Categories: Redmine Tags:

Redmine 1.4 & Fields permissions (Hide Assigned to & due date & estimated time) in issue

January 24, 2012 admin 2 comments
rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm
yum install --enablerepo=webtatic git-core

 

cd vendor/plugins/
git clone git://github.com/resilva/Redmine-Fields-permissions.git
cd ..
cd ..
rake db:migrate_plugins RAILS_ENV=production
rake tmp:cache:clear
rake tmp:sessions:clear
touch tmp/restart.txt

 

ActionView::TemplateError (uninitialized constant ActionView::Base::CompiledTemplates::TabularFormBuilder) on line #1 of vendor/plugins/Redmine-Fields-permissions/app/views/issues/_attributes.rhtml:

cd lib
wget http://svn.ohwr.org/ohr-support/trunk/lib/tabular_form_builder.rb
rake tmp:cache:clear
rake tmp:sessions:clear
touch tmp/restart.txt

 

Categories: Redmine Tags:

Redmine 1.4 & Hide list of members in project overview (show only for admin)

January 24, 2012 admin No comments

vi app/views/projects/_members_box.html.erb

<% if @users_by_role.any? %>

 
to

<% if User.current.admin? %>

 

rake tmp:cache:clear
rake tmp:sessions:clear
touch tmp/restart.txt

Categories: Redmine Tags: