To be able to test http://oekk.oddb-ci2.dyndns.org/ I add the hostname oekk.oddb-ci2.dyndns.org to /etc/conf.d/hostname and restarted the hostname daemon. Also added a file oekk.conf in /etc/apache2/vhost.d with the content
<VirtualHost *:80> DocumentRoot /var/www/oddb.org/doc #ServerName oekk.oddb.org ServerName oekk.oddb-ci2.dyndns.org DirectoryIndex index.rbx RubyAddPath /usr/local/bin/ruby186/lib/ruby/gems/1.8/gems/rclconf-1.0.0/lib RubyAddPath /var/www/oddb.org/src RubyRequire 'sbsm/trans_handler' SetHandler ruby-object RubyTransHandler SBSM::FlavoredTransHandler.instance ErrorLog "|/usr/sbin/cronolog -l /var/www/oddb.org/log/oekk/error_log /var/www/oddb.org/log/oekk/%Y/%m/%d/error_log" CustomLog "|/usr/sbin/cronolog -l /var/www/oddb.org/log/oekk/access_log /var/www/oddb.org/log/oekk/%Y/%m/%d/access_log" combined SetEnv DEFAULT_FLAVOR oekk AddDefaultCharset UTF-8 Alias /robots.txt /var/www/oddb.org/doc/robots.txt RewriteEngine On RewriteRule ^/(..)/?$ /$1/ [PT] RewriteRule ^/(..)/(oekk)(.*) /$1/oekk$3 [PT] RewriteRule ^/(..)/([^/]*)/?(.*) http://$2.oddb.org/$1/$2/$3 [R,L] </VirtualHost> <VirtualHost *:80> DocumentRoot /var/www/oddb.org/webalizer/oekk ServerName webalizer.oekk.oddb.org DirectoryIndex index.html </VirtualHost>
Added the missing directory /var/www/oddb.org/webalizer/oekk and restarted apache2 and oddb-ci2. Tested with
Pushed the commit Use changed OEKK css
This did not work, as external_css was still enabled. Fixed with commit Fixed loading oekk
The following task must be done to make virbac.bbmb.ch use Ruby 2.3.1 on fastpower.
require 'encoding/character/utf-8
commented out and is at commit 31c7fb6d4775e4997f48213bf08f40daa21dbe83 Updated spelling in lib/bbmb/html/util/lookandfeel.rb
But first we migrate the existing selenium test to watir (using a real instance of virbac). Done with login test under watir.
Converted the test from test_login.rb which do not require a mocked implementation of the database. Added a Rakefile to be able to run "rake test". Pushed commit Added watir tests for login.
Now I want to run a stub of the virbac (which is already present under test/stub) and of the http_server (described by Hannes compatibility-brainfuck for integrating Apache-SBSM-Requests with WEBrick
)
When connecting to my newly started web server (at localhost:4444), I do not get an answer why? (It simply hangs.) Using
Thread.list.each do |thread| STDERR.puts "Thread-#{thread.object_id.to_s(36)}" STDERR.puts thread.backtrace.join("\n \\_ ") end
to get a stacktrace of all running.threads.
Creating a test for the following https://mail.google.com/mail/u/3/#inbox/156b030e0bf93119. Must test
Made test for splitting the e-mail. This works fine. Working on reading the articles (plain ascii) and the custormer (ISO-8859-1).