Changeset - 703d3208424c
[Not reviewed]
Bradley M. Kuhn - 11 years ago 2014-07-03 01:05:41
bkuhn@sfconservancy.org
Rename various strings for tests
11 files changed with 46 insertions and 158 deletions:
0 comments (0 inline, 0 general)
.travis.yml
Show inline comments
 
language: python
 
python:
 
  - "2.5"
 
  - "2.6"
 
  - "2.7"
 

	
 
env:  
 
  - TEST_DB=sqlite:////tmp/rhodecode_test.sqlite
 
  - TEST_DB=mysql://root@127.0.0.1/rhodecode_test
 
  - TEST_DB=postgresql://postgres@127.0.0.1/rhodecode_test
 
  - TEST_DB=sqlite:////tmp/kallithea_test.sqlite
 
  - TEST_DB=mysql://root@127.0.0.1/kallithea_test
 
  - TEST_DB=postgresql://postgres@127.0.0.1/kallithea_test
 

	
 
services:
 
  - mysql
 
  - postgresql
 

	
 
# command to install dependencies
 
before_script:
 
  - mysql -e 'create database rhodecode_test;'
 
  - psql -c 'create database rhodecode_test;' -U postgres
 
  - mysql -e 'create database kallithea_test;'
 
  - psql -c 'create database kallithea_test;' -U postgres
 
  - git --version
 

	
 
before_install:
 
  - sudo apt-get remove git
 
  - sudo add-apt-repository ppa:pdoes/ppa -y
 
  - sudo apt-get update -y
 
  - sudo apt-get install git -y
 

	
 
install:
 
  - pip install mysql-python psycopg2 mock unittest2
 
  - pip install . --use-mirrors
 

	
 
# command to run tests
 
script: nosetests
 

	
 
notifications:
 
    email:
 
        - marcinkuz@gmail.com
 
    irc: "irc.freenode.org#kallithea"
 

	
 
branches:
 
  only:
 
    - master
docs/contributing.rst
Show inline comments
 
.. _contributing:
 

	
 
=========================
 
Contributing to Kallithea
 
=========================
 

	
 
If you would like to contribute to Kallithea, please contact us, any help is
 
greatly appreciated!
 

	
 
Could I request that you make your source contributions by first forking the
 
Kallithea repository on bitbucket_
 
https://bitbucket.org/conservancy/kallithea and then make your changes to
 
your forked repository. Please post all fixes into **dev** bookmark since your
 
change might be already fixed there and i try to merge all fixes from dev into
 
stable, and not the other way. Finally, when you are finished with your changes,
 
please send us a pull request.
 

	
 
To run Kallithea in a development version you always need to install the latest
 
required libs. Simply clone Kallithea and switch to beta branch::
 

	
 
    hg clone https://kallithea-scm.org/repos/kallithea
 

	
 
after downloading/pulling Kallithea make sure you run::
 

	
 
    python setup.py develop
 

	
 
command to install/verify all required packages, and prepare development
 
enviroment.
 

	
 
There are two files in the directory production.ini and developement.ini copy
 
the `development.ini` file as rc.ini (which is excluded from version controll)
 
and put all your changes like db connection or server port in there.
 

	
 
After finishing your changes make sure all tests passes ok. You can run
 
the testsuite running ``nosetest`` from the project root, or if you use tox
 
run tox for python2.5-2.7 with multiple database test. When using `nosetests`
 
test.ini file is used and by default it uses sqlite for tests, edit this file
 
to change your testing enviroment.
 

	
 

	
 
There's a special set of tests for push/pull operations, you can runn them using::
 

	
 
    paster serve test.ini --pid-file=test.pid --daemon
 
    RC_WHOOSH_TEST_DISABLE=1 RC_NO_TMP_PATH=1 nosetests -x kallithea/tests/other/test_vcs_operations.py
 
    KALLITHEA_WHOOSH_TEST_DISABLE=1 KALLITHEA_NO_TMP_PATH=1 nosetests -x kallithea/tests/other/test_vcs_operations.py
 
    kill -9 $(cat test.pid)
 

	
 

	
 
| Thank you for any contributions!
 

	
 

	
 
.. _bitbucket: http://bitbucket.org/
kallithea/config/environment.py
Show inline comments
 
@@ -46,96 +46,96 @@ log = logging.getLogger(__name__)
 
def load_environment(global_conf, app_conf, initial=False,
 
                     test_env=None, test_index=None):
 
    """
 
    Configure the Pylons environment via the ``pylons.config``
 
    object
 
    """
 
    config = PylonsConfig()
 

	
 
    # Pylons paths
 
    root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
 
    paths = dict(
 
        root=root,
 
        controllers=os.path.join(root, 'controllers'),
 
        static_files=os.path.join(root, 'public'),
 
        templates=[os.path.join(root, 'templates')]
 
    )
 

	
 
    # Initialize config with the basic options
 
    config.init_app(global_conf, app_conf, package='kallithea', paths=paths)
 

	
 
    # store some globals into rhodecode
 
    kallithea.CELERY_ON = str2bool(config['app_conf'].get('use_celery'))
 
    kallithea.CELERY_EAGER = str2bool(config['app_conf'].get('celery.always.eager'))
 

	
 
    config['routes.map'] = make_map(config)
 
    config['pylons.app_globals'] = app_globals.Globals(config)
 
    config['pylons.h'] = helpers
 
    kallithea.CONFIG = config
 

	
 
    load_rcextensions(root_path=config['here'])
 

	
 
    # Setup cache object as early as possible
 
    import pylons
 
    pylons.cache._push_object(config['pylons.app_globals'].cache)
 

	
 
    # Create the Mako TemplateLookup, with the default auto-escaping
 
    config['pylons.app_globals'].mako_lookup = TemplateLookup(
 
        directories=paths['templates'],
 
        error_handler=handle_mako_error,
 
        module_directory=os.path.join(app_conf['cache_dir'], 'templates'),
 
        input_encoding='utf-8', default_filters=['escape'],
 
        imports=['from webhelpers.html import escape'])
 

	
 
    # sets the c attribute access when don't existing attribute are accessed
 
    config['pylons.strict_tmpl_context'] = True
 
    test = os.path.split(config['__file__'])[-1] == 'test.ini'
 
    if test:
 
        if test_env is None:
 
            test_env = not int(os.environ.get('RC_NO_TMP_PATH', 0))
 
            test_env = not int(os.environ.get('KALLITHEA_NO_TMP_PATH', 0))
 
        if test_index is None:
 
            test_index = not int(os.environ.get('RC_WHOOSH_TEST_DISABLE', 0))
 
            test_index = not int(os.environ.get('KALLITHEA_WHOOSH_TEST_DISABLE', 0))
 
        if os.environ.get('TEST_DB'):
 
            # swap config if we pass enviroment variable
 
            config['sqlalchemy.db1.url'] = os.environ.get('TEST_DB')
 

	
 
        from kallithea.lib.utils import create_test_env, create_test_index
 
        from kallithea.tests import TESTS_TMP_PATH
 
        #set RC_NO_TMP_PATH=1 to disable re-creating the database and
 
        #set KALLITHEA_NO_TMP_PATH=1 to disable re-creating the database and
 
        #test repos
 
        if test_env:
 
            create_test_env(TESTS_TMP_PATH, config)
 
        #set RC_WHOOSH_TEST_DISABLE=1 to disable whoosh index during tests
 
        #set KALLITHEA_WHOOSH_TEST_DISABLE=1 to disable whoosh index during tests
 
        if test_index:
 
            create_test_index(TESTS_TMP_PATH, config, True)
 

	
 
    DbManage.check_waitress()
 
    # MULTIPLE DB configs
 
    # Setup the SQLAlchemy database engine
 
    sa_engine_db1 = engine_from_config(config, 'sqlalchemy.db1.')
 
    init_model(sa_engine_db1)
 

	
 
    set_available_permissions(config)
 
    repos_path = make_ui('db').configitems('paths')[0][1]
 
    config['base_path'] = repos_path
 
    set_app_settings(config)
 

	
 
    instance_id = kallithea.CONFIG.get('instance_id')
 
    if instance_id == '*':
 
        instance_id = '%s-%s' % (platform.uname()[1], os.getpid())
 
        kallithea.CONFIG['instance_id'] = instance_id
 

	
 
    # CONFIGURATION OPTIONS HERE (note: all config options will override
 
    # any Pylons config options)
 

	
 
    # store config reference into our module to skip import magic of
 
    # pylons
 
    kallithea.CONFIG.update(config)
 
    set_vcs_config(kallithea.CONFIG)
 

	
 
    #check git version
 
    check_git_version()
 

	
 
    if str2bool(config.get('initial_repo_scan', True)):
 
        repo2db_mapper(ScmModel().repo_scan(repos_path),
 
                       remove_obsolete=False, install_git_hook=False)
 
    return config
kallithea/tests/__init__.py
Show inline comments
 
# -*- coding: utf-8 -*-
 
# This program is free software: you can redistribute it and/or modify
 
# it under the terms of the GNU General Public License as published by
 
# the Free Software Foundation, either version 3 of the License, or
 
# (at your option) any later version.
 
#
 
# This program is distributed in the hope that it will be useful,
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
# GNU General Public License for more details.
 
#
 
# You should have received a copy of the GNU General Public License
 
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 

	
 
"""
 
Pylons application test package
 

	
 
This package assumes the Pylons environment is already loaded, such as
 
when this script is imported from the `nosetests --with-pylons=test.ini`
 
command.
 

	
 
This module initializes the application via ``websetup`` (`paster
 
setup-app`) and provides the base testing objects.
 

	
 
nosetests -x - fail on first error
 
nosetests kallithea.tests.functional.test_admin_settings:TestSettingsController.test_my_account
 
nosetests --pdb --pdb-failures
 
nosetests --with-coverage --cover-package=kallithea.model.validators kallithea.tests.test_validators
 

	
 
optional FLAGS:
 
    RC_WHOOSH_TEST_DISABLE=1 - skip whoosh index building and tests
 
    RC_NO_TMP_PATH=1 - disable new temp path for tests, used mostly for test_vcs_operations
 
    KALLITHEA_WHOOSH_TEST_DISABLE=1 - skip whoosh index building and tests
 
    KALLITHEA_NO_TMP_PATH=1 - disable new temp path for tests, used mostly for test_vcs_operations
 

	
 
"""
 
import os
 
import time
 
import logging
 
import datetime
 
import hashlib
 
import tempfile
 
from os.path import join as jn
 

	
 
from tempfile import _RandomNameSequence
 

	
 
from paste.deploy import loadapp
 
from paste.script.appinstall import SetupCommand
 

	
 
import pylons
 
import pylons.test
 
from pylons import config, url
 
from pylons.i18n.translation import _get_translator
 
from pylons.util import ContextObj
 

	
 
from routes.util import URLGenerator
 
from webtest import TestApp
 
from nose.plugins.skip import SkipTest
 

	
 
from kallithea.lib.compat import unittest
 
from kallithea import is_windows
 
from kallithea.model.meta import Session
 
from kallithea.model.db import User
 
from kallithea.tests.nose_parametrized import parameterized
 
from kallithea.lib.utils2 import safe_unicode, safe_str
 

	
 

	
 
os.environ['TZ'] = 'UTC'
 
if not is_windows:
 
    time.tzset()
 

	
 
log = logging.getLogger(__name__)
 

	
 
__all__ = [
 
    'parameterized', 'environ', 'url', 'get_new_dir', 'TestController',
 
    'SkipTest', 'ldap_lib_installed', 'BaseTestCase', 'init_stack',
 
    'TESTS_TMP_PATH', 'HG_REPO', 'GIT_REPO', 'NEW_HG_REPO', 'NEW_GIT_REPO',
 
    'HG_FORK', 'GIT_FORK', 'TEST_USER_ADMIN_LOGIN', 'TEST_USER_ADMIN_PASS',
 
    'TEST_USER_REGULAR_LOGIN', 'TEST_USER_REGULAR_PASS',
 
    'TEST_USER_REGULAR_EMAIL', 'TEST_USER_REGULAR2_LOGIN',
 
    'TEST_USER_REGULAR2_PASS', 'TEST_USER_REGULAR2_EMAIL', 'TEST_HG_REPO',
 
    'TEST_HG_REPO_CLONE', 'TEST_HG_REPO_PULL', 'TEST_GIT_REPO',
kallithea/tests/api/api_base.py
Show inline comments
 
# -*- coding: utf-8 -*-
 
# This program is free software: you can redistribute it and/or modify
 
# it under the terms of the GNU General Public License as published by
 
# the Free Software Foundation, either version 3 of the License, or
 
# (at your option) any later version.
 
#
 
# This program is distributed in the hope that it will be useful,
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
# GNU General Public License for more details.
 
#
 
# You should have received a copy of the GNU General Public License
 
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 

	
 
"""
 
tests for api. run with::
 

	
 
    RC_WHOOSH_TEST_DISABLE=1 nosetests --with-coverage --cover-package=kallithea.controllers.api.api -x kallithea/tests/api
 
    KALLITHEA_WHOOSH_TEST_DISABLE=1 nosetests --with-coverage --cover-package=kallithea.controllers.api.api -x kallithea/tests/api
 
"""
 

	
 
from __future__ import with_statement
 
import os
 
import random
 
import mock
 

	
 
from kallithea.tests import *
 
from kallithea.tests.fixture import Fixture
 
from kallithea.lib.compat import json
 
from kallithea.lib.auth import AuthUser
 
from kallithea.model.user import UserModel
 
from kallithea.model.user_group import UserGroupModel
 
from kallithea.model.repo import RepoModel
 
from kallithea.model.repo_group import RepoGroupModel
 
from kallithea.model.meta import Session
 
from kallithea.model.scm import ScmModel
 
from kallithea.model.gist import GistModel
 
from kallithea.model.db import Repository, User, Setting
 
from kallithea.lib.utils2 import time_to_datetime
 

	
 

	
 
API_URL = '/_admin/api'
 
TEST_USER_GROUP = 'test_user_group'
 
TEST_REPO_GROUP = 'test_repo_group'
 

	
 
fixture = Fixture()
 

	
 

	
 
def _build_data(apikey, method, **kw):
 
    """
 
    Builds API data with given random ID
 

	
 
    :param random_id:
 
    """
 
    random_id = random.randrange(1, 9999)
 
    return random_id, json.dumps({
 
        "id": random_id,
 
        "api_key": apikey,
 
        "method": method,
 
        "args": kw
 
    })
 

	
 

	
 
jsonify = lambda obj: json.loads(json.dumps(obj))
 

	
 

	
 
def crash(*args, **kwargs):
kallithea/tests/fixtures/journal_dump.csv
Show inline comments
 
@@ -152,101 +152,101 @@ user_log_id,user_id,username,repository_
 
190,3,demo,43,bar,"",user_created_repo,2012-07-05 14:37:38.404527
 
191,3,demo,42,foo,"",started_following_repo,2012-07-05 14:38:19.351357
 
192,3,demo,42,foo,"",user_created_repo,2012-07-05 14:38:19.367056
 
193,3,demo,9,demo_repo,"",push_local:14fcc9365f2a,2012-07-05 22:53:20.216762
 
194,31,jtiai,44,diff-test,"",started_following_repo,2012-07-06 11:23:24.475194
 
195,31,jtiai,44,diff-test,"",user_created_repo,2012-07-06 11:23:24.491639
 
196,31,jtiai,44,diff-test,62.240.70.253,push:bca174fa48db2eb05db5bd4532191dac269e97b2,2012-07-06 11:25:02.929509
 
197,31,jtiai,44,diff-test,62.240.70.253,push:50daf150549b8d48676889dcb713f1f4e0e4bc9d,2012-07-06 11:26:14.260627
 
198,2,admin,44,diff-test,"",admin_updated_repo,2012-07-06 19:57:44.363539
 
199,2,admin,44,diff-test,"",admin_updated_repo,2012-07-06 19:57:48.132041
 
200,1,default,44,diff-test,78.53.7.202,pull,2012-07-06 19:58:55.97104
 
201,32,shabutora,45,group/fork-bootstrap,"",started_following_repo,2012-07-07 07:28:38.272328
 
202,32,shabutora,36,bootstrap,"",user_forked_repo:group/fork-bootstrap,2012-07-07 07:28:39.509986
 
203,32,shabutora,45,group/fork-bootstrap,"",user_created_fork:group/fork-bootstrap,2012-07-07 07:28:39.523403
 
206,3,demo,,GitRepoTest,"",started_following_repo,2012-07-09 15:19:28.134838
 
207,3,demo,,GitRepoTest,"",user_created_repo,2012-07-09 15:19:28.145858
 
208,3,demo,,GitRepoTest,"",push_local:5caba17c3e28,2012-07-09 15:19:59.181736
 
209,3,demo,,GitRepoTest,"",user_deleted_repo,2012-07-09 15:22:02.989814
 
210,3,demo,32,big-project,"",user_commented_revision:06d5302c4830e5af52f06c462f11f75107b2a1ff,2012-07-09 21:43:51.82571
 
211,3,demo,32,big-project,"",user_commented_revision:06d5302c4830e5af52f06c462f11f75107b2a1ff,2012-07-09 21:43:59.440606
 
212,3,demo,32,big-project,"",user_commented_revision:06d5302c4830e5af52f06c462f11f75107b2a1ff,2012-07-09 21:44:06.259449
 
213,3,demo,15,wibblewobble,"",user_commented_revision:c1953b3f4981e57d0031f4307f70209706f204f3,2012-07-09 21:45:16.908265
 
214,3,demo,15,wibblewobble,"",user_commented_revision:c1953b3f4981e57d0031f4307f70209706f204f3,2012-07-09 21:45:29.881903
 
217,2,admin,,rm__20120709_152203_19234__GitRepoTest,"",started_following_repo,2012-07-11 01:23:59.921383
 
218,2,admin,,rm__20120709_152203_19234__GitRepoTest,"",admin_deleted_repo,2012-07-11 01:25:33.983055
 
221,38,zenqw,51,fork-test-12345,"",started_following_repo,2012-07-11 13:05:17.345386
 
222,38,zenqw,1,test,"",user_forked_repo:fork-test-12345,2012-07-11 13:05:17.362995
 
223,38,zenqw,51,fork-test-12345,"",user_created_fork:fork-test-12345,2012-07-11 13:05:17.370362
 
224,38,zenqw,51,fork-test-12345,217.153.157.250,pull,2012-07-11 13:05:51.790618
 
225,38,zenqw,51,fork-test-12345,217.153.157.250,"push:ebf2e5c36ee3008d6fde8376e0dc2859c764aeef,6854386e16136812b9219e9d5e2971c87419eafa,46371e1dff2357d51e581e55882415bd18a5db8c",2012-07-11 13:07:46.354331
 
226,38,zenqw,51,fork-test-12345,217.153.157.250,push:4db220a6e8a720ffd78d1fc383e3361e9f85e930,2012-07-11 13:10:13.793368
 
227,38,zenqw,1,test,"",user_commented_pull_request:6,2012-07-11 13:11:54.473213
 
228,38,zenqw,1,test,"",user_commented_pull_request:6,2012-07-11 13:12:03.64804
 
229,38,zenqw,52,fork-fork-test-12345_2,"",started_following_repo,2012-07-11 13:14:31.237173
 
230,38,zenqw,51,fork-test-12345,"",user_forked_repo:fork-fork-test-12345_2,2012-07-11 13:14:31.2571
 
231,38,zenqw,52,fork-fork-test-12345_2,"",user_created_fork:fork-fork-test-12345_2,2012-07-11 13:14:31.268722
 
232,38,zenqw,52,fork-fork-test-12345_2,217.153.157.250,pull,2012-07-11 13:15:52.326756
 
233,38,zenqw,52,fork-fork-test-12345_2,217.153.157.250,"push:b9567e91f6ee7cd18b6332608a5a0ed12256ea48,2f709872121b0875b02f4fbfafa8fccd4c0613db",2012-07-11 13:16:51.063259
 
234,38,zenqw,51,fork-test-12345,"",user_commented_pull_request:7,2012-07-11 13:18:04.300327
 
239,40,cowwoc,54,glib,"",user_created_repo,2012-07-12 00:09:07.883466
 
240,3,demo,38,code-review-test,"",user_commented_pull_request:8,2012-07-12 00:50:50.791122
 
241,3,demo,38,code-review-test,"",user_commented_pull_request:8,2012-07-12 00:51:04.795167
 
242,3,demo,38,code-review-test,"",user_commented_revision:fba17a64fa4978bfea19222da5e64a18cfddeecd,2012-07-12 13:41:59.717658
 
243,43,lpyedge,55,group/brhg,"",started_following_repo,2012-07-12 15:09:28.550696
 
244,43,lpyedge,55,group/brhg,"",user_created_repo,2012-07-12 15:09:28.562524
 
245,43,lpyedge,56,brgit,"",started_following_repo,2012-07-12 15:18:17.687605
 
246,43,lpyedge,56,brgit,"",user_created_repo,2012-07-12 15:18:17.702136
 
247,1,default,34,a,54.247.183.89,pull,2012-07-12 16:53:15.165512
 
248,45,krhodecode,1,test,"",user_commented_revision:ef02269209cd431c0cd0ee929ba37ae895651d69,2012-07-12 23:09:25.38717
 
249,45,krhodecode,42,foo,"",user_commented_revision:ca953e8c5c1ada44e9a8f945a0a6999d2f44310d,2012-07-12 23:14:07.819338
 
250,45,krhodecode,57,SuperProject,"",started_following_repo,2012-07-12 23:17:38.213634
 
251,45,krhodecode,57,SuperProject,"",user_created_repo,2012-07-12 23:17:38.229359
 
252,45,krhodecode,57,SuperProject,216.51.137.66,push:a3188ce9ed64822ceae497665910c2e18cddf021,2012-07-12 23:23:23.111788
 
248,45,kxxx,1,test,"",user_commented_revision:ef02269209cd431c0cd0ee929ba37ae895651d69,2012-07-12 23:09:25.38717
 
249,45,kxxx,42,foo,"",user_commented_revision:ca953e8c5c1ada44e9a8f945a0a6999d2f44310d,2012-07-12 23:14:07.819338
 
250,45,kxxx,57,SuperProject,"",started_following_repo,2012-07-12 23:17:38.213634
 
251,45,kxxx,57,SuperProject,"",user_created_repo,2012-07-12 23:17:38.229359
 
252,45,kxxx,57,SuperProject,216.51.137.66,push:a3188ce9ed64822ceae497665910c2e18cddf021,2012-07-12 23:23:23.111788
 
253,3,demo,38,code-review-test,"",user_commented_revision:fba17a64fa4978bfea19222da5e64a18cfddeecd,2012-07-13 14:22:00.003158
 
254,46,snazy2000,58,group/Test,"",started_following_repo,2012-07-13 19:14:31.959033
 
255,46,snazy2000,58,group/Test,"",user_created_repo,2012-07-13 19:14:31.972509
 
256,2,admin,1,test,"",user_commented_revision:ef02269209cd431c0cd0ee929ba37ae895651d69,2012-07-15 03:03:17.100702
 
204,34,qqqqq,,zaraza,"",started_following_repo,2012-07-08 01:43:26.053084
 
205,34,qqqqq,,zaraza,"",user_created_repo,2012-07-08 01:43:26.067756
 
215,35,kvaster,,asd,"",started_following_repo,2012-07-09 22:03:29.676651
 
216,35,kvaster,,asd,"",user_created_repo,2012-07-09 22:03:29.688872
 
219,37,tester,,test2,"",started_following_repo,2012-07-11 11:07:19.065559
 
220,37,tester,,test2,"",user_created_repo,2012-07-11 11:07:19.080323
 
257,2,admin,38,code-review-test,"",user_commented_pull_request:8,2012-07-15 03:21:36.545532
 
258,2,admin,38,code-review-test,"",user_closed_pull_request:8,2012-07-15 03:21:36.556543
 
259,3,demo,59,fasdf,"",started_following_repo,2012-07-15 12:27:25.654257
 
260,3,demo,59,fasdf,"",user_created_repo,2012-07-15 12:27:25.670633
 
261,3,demo,60,group/aaa1,"",started_following_repo,2012-07-15 12:27:42.824398
 
262,3,demo,60,group/aaa1,"",user_created_repo,2012-07-15 12:27:42.834237
 
263,3,demo,34,a,"",user_updated_repo,2012-07-15 13:47:35.934007
 
264,3,demo,61,group/testowe-repo,"",started_following_repo,2012-07-15 13:54:10.774348
 
265,3,demo,61,group/testowe-repo,"",user_created_repo,2012-07-15 13:54:10.784709
 
266,3,demo,61,group/testowe-repo,109.173.164.98,pull,2012-07-15 13:55:19.296932
 
267,3,demo,61,group/testowe-repo,"",user_updated_repo,2012-07-15 13:57:16.969058
 
235,2,admin,,rm__20120711_012534_20311__rm__20120709_152203_19234__GitRepoTest,"",started_following_repo,2012-07-11 22:50:22.745467
 
268,47,testuser,62,My-demo,"",started_following_repo,2012-07-15 20:00:47.633404
 
269,47,testuser,62,My-demo,"",user_created_repo,2012-07-15 20:00:47.64378
 
270,48,volcan,63,test9,"",started_following_repo,2012-07-15 20:45:08.177239
 
271,48,volcan,63,test9,"",user_created_repo,2012-07-15 20:45:08.191869
 
272,48,volcan,63,test9,"",push_local:7e10d450821a,2012-07-15 20:46:42.370199
 
273,48,volcan,63,test9,"",push_local:049788cfb4b5,2012-07-15 20:48:26.176589
 
274,48,volcan,63,test9,"",user_commented_revision:049788cfb4b5254813312395aa380e988c32bbfb,2012-07-15 20:48:42.031217
 
275,48,volcan,64,fork-test9,"",started_following_repo,2012-07-15 20:51:55.738241
 
276,48,volcan,63,test9,"",user_forked_repo:fork-test9,2012-07-15 20:51:55.749793
 
277,48,volcan,64,fork-test9,"",user_created_fork:fork-test9,2012-07-15 20:51:55.757696
 
278,3,demo,65,COMMON,"",started_following_repo,2012-07-16 14:38:36.330869
 
279,3,demo,65,COMMON,"",user_created_repo,2012-07-16 14:38:36.341796
 
280,3,demo,39,fork-code-review-test,"",user_commented_revision:30853f4bde2f2b6f0a7126392b9b1b4c5ea37e0a,2012-07-17 09:26:23.907503
 
281,3,demo,39,fork-code-review-test,"",user_commented_revision:30853f4bde2f2b6f0a7126392b9b1b4c5ea37e0a,2012-07-17 09:26:58.039752
 
282,3,demo,39,fork-code-review-test,"",user_commented_revision:c5ed575f313788acd04614e3e0c13a5cdf5d7b39,2012-07-17 09:29:02.389958
 
283,3,demo,39,fork-code-review-test,"",user_commented_revision:c5ed575f313788acd04614e3e0c13a5cdf5d7b39,2012-07-17 09:29:39.287759
 
284,3,demo,38,code-review-test,"",user_commented_revision:0e4171fdb9d4267aa1145b840529d75673ea553d,2012-07-17 11:56:13.655476
 
285,3,demo,38,code-review-test,"",user_commented_revision:fba17a64fa4978bfea19222da5e64a18cfddeecd,2012-07-17 11:57:32.735913
 
286,52,prefer,39,fork-code-review-test,"",user_commented_revision:ac19ef61aab0b008acb5dac5d53457cbd278d927,2012-07-17 12:22:56.170784
 
287,52,prefer,38,code-review-test,"",user_commented_revision:30853f4bde2f2b6f0a7126392b9b1b4c5ea37e0a,2012-07-17 12:25:01.172222
 
288,2,admin,34,a,"",push_local:445b722bf31d,2012-07-17 16:49:47.04337
 
289,3,demo,66,pm-test,"",started_following_repo,2012-07-17 17:04:59.403792
 
290,3,demo,8,Test_Repo,"",user_forked_repo:pm-test,2012-07-17 17:04:59.421648
 
291,3,demo,66,pm-test,"",user_created_fork:pm-test,2012-07-17 17:04:59.432594
 
292,3,demo,66,pm-test,"",push_local:6cac4edb9e76,2012-07-17 17:06:10.733221
 
293,3,demo,66,pm-test,"",push_local:ceabeecd9ee8,2012-07-17 17:08:49.922859
 
@@ -566,100 +566,100 @@ user_log_id,user_id,username,repository_
 
614,3,demo,34,a,"",user_commented_pull_request:18,2012-08-10 11:32:01.569982
 
615,2,admin,,"","",admin_created_users_group:group,2012-08-10 20:13:05.655137
 
616,3,demo,122,amab,"",push_local:86b1fc3a3f5dc193814327817d2274dc2e25aa74,2012-08-11 05:48:36.958893
 
617,3,demo,122,amab,"",user_commented_revision:86b1fc3a3f5dc193814327817d2274dc2e25aa74,2012-08-11 05:49:10.966918
 
618,3,demo,122,amab,"",push_local:8530d8e3eab04997ac4a2a5d8a8b54fa61bb9884,2012-08-11 05:50:15.022811
 
619,3,demo,127,my-super-rep,"",started_following_repo,2012-08-11 12:30:55.461553
 
620,3,demo,127,my-super-rep,"",user_created_repo,2012-08-11 12:30:55.490584
 
621,3,demo,127,my-super-rep,"",push_local:5d80e28538141e322b317168e2367fb03178d58c,2012-08-11 12:32:07.883859
 
622,3,demo,127,my-super-rep,"",user_updated_repo,2012-08-11 12:33:26.213226
 
623,3,demo,124,fork-another-fork-to-check-code-review,"",user_commented_revision:d5422faf648cc589425cd3b0dbf1f6dbf93036a0,2012-08-11 15:07:59.546001
 
624,3,demo,29,otro-test,"",push_local:84da67001150cd0bf3ef744c286bcc432ea21bd4,2012-08-11 15:33:05.169706
 
625,1,default,81,FS_dummy,66.85.224.48,pull,2012-08-11 19:31:31.664606
 
626,3,demo,128,testprivate,"",started_following_repo,2012-08-12 10:25:42.265395
 
627,3,demo,128,testprivate,"",user_created_repo,2012-08-12 10:25:42.278839
 
628,3,demo,128,testprivate,"",user_updated_repo,2012-08-12 10:27:29.467173
 
629,3,demo,128,testprivate,"",user_updated_repo,2012-08-12 10:28:09.878656
 
630,3,demo,128,group/testprivate,"",user_updated_repo,2012-08-12 10:29:00.702759
 
631,3,demo,128,group/testprivate,"",push_local:a7e9cdbd374255258a2d470dae64142c62577e62,2012-08-12 10:32:28.350191
 
632,3,demo,54,glib,"",user_commented_revision:eda1735029e01d6391fe8a4cde6c5688727c8183,2012-08-12 15:21:32.004992
 
633,3,demo,54,glib,"",user_commented_revision:eda1735029e01d6391fe8a4cde6c5688727c8183,2012-08-12 15:21:56.235395
 
634,3,demo,129,dvorak,"",started_following_repo,2012-08-12 15:23:37.292086
 
635,3,demo,129,dvorak,"",user_created_repo,2012-08-12 15:23:37.302785
 
636,3,demo,129,dvorak,202.147.201.173,pull,2012-08-12 15:24:08.62022
 
637,3,demo,130,x,"",started_following_repo,2012-08-12 23:37:03.115333
 
638,3,demo,130,x,"",user_created_repo,2012-08-12 23:37:03.130599
 
639,3,demo,124,fork-another-fork-to-check-code-review,"",user_commented_revision:8b7cd9a998f0f4ec47cf75b59b3d2c08167c3cf7,2012-08-12 23:39:33.305222
 
640,3,demo,44,diff-test,"",user_commented_revision:50daf150549b8d48676889dcb713f1f4e0e4bc9d,2012-08-13 05:24:22.678285
 
641,3,demo,123,fork-amab,"",push_local:6a6a5d929be9b4929041627d35f18627d9418aa5,2012-08-13 10:53:50.793419
 
642,1,default,57,SuperProject,128.237.226.40,pull,2012-08-13 16:07:22.373945
 
643,3,demo,34,a,"",user_commented_pull_request:24,2012-08-13 19:43:04.754874
 
644,3,demo,34,a,"",user_closed_pull_request:24,2012-08-13 19:43:04.765323
 
645,3,demo,34,a,"",user_commented_pull_request:25,2012-08-13 19:45:34.763703
 
646,3,demo,34,a,"",user_closed_pull_request:25,2012-08-13 19:45:34.769014
 
647,3,demo,131,group/test-v,"",started_following_repo,2012-08-13 19:46:36.628573
 
648,3,demo,131,group/test-v,"",user_created_repo,2012-08-13 19:46:36.637409
 
649,3,demo,131,group/test-v,"",push_local:5528f3d665c9c9577670ec1e47428ec12686309e,2012-08-13 19:46:57.911585
 
650,3,demo,132,test-alex,"",started_following_repo,2012-08-13 21:21:05.904895
 
651,3,demo,132,test-alex,"",user_created_repo,2012-08-13 21:21:05.916732
 
652,3,demo,132,test-alex,"",push_local:016bda6a3079ea1d69b6a309a9ecc61fe5b671df,2012-08-13 21:21:34.951309
 
653,3,demo,132,test-alex,"",user_commented_revision:016bda6a3079ea1d69b6a309a9ecc61fe5b671df,2012-08-13 21:22:06.758798
 
654,3,demo,132,test-alex,"",push_local:7f43f5167e26a3e43e6ad0ac6539ab4c8589a509,2012-08-13 21:22:18.07678
 
655,3,demo,132,test-alex,"",user_commented_revision:7f43f5167e26a3e43e6ad0ac6539ab4c8589a509,2012-08-13 21:22:39.209522
 
656,3,demo,132,test-alex,"",push_local:9b754ec30decff4c11c0f82522b7ec9dd732b738,2012-08-13 21:23:44.132906
 
657,3,demo,132,test-alex,"",user_commented_revision:9b754ec30decff4c11c0f82522b7ec9dd732b738,2012-08-13 21:24:34.975113
 
658,3,demo,132,test-alex,"",push_local:625c046f35779ccde8c2284ee60fda3d9598e8bb,2012-08-13 21:25:07.493234
 
659,3,demo,132,test-alex,"",push_local:807dd6bb60f5eef82f7ffdd988dee3e0de4e44dc,2012-08-13 21:26:51.764858
 
660,3,demo,132,test-alex,"",push_local:24224f94a8578508883f58982e10b0ffa83a98d6,2012-08-13 21:28:03.831471
 
661,3,demo,42,foo,"",user_commented_revision:ca953e8c5c1ada44e9a8f945a0a6999d2f44310d,2012-08-14 18:40:46.618059
 
662,118,peso-rhodecode,99,another-fork-to-check-code-review,"",user_commented_revision:30853f4bde2f2b6f0a7126392b9b1b4c5ea37e0a,2012-08-14 18:58:56.536013
 
663,118,peso-rhodecode,99,another-fork-to-check-code-review,"",user_commented_revision:30853f4bde2f2b6f0a7126392b9b1b4c5ea37e0a,2012-08-14 18:59:58.982696
 
664,118,peso-rhodecode,133,tortoisehg,"",started_following_repo,2012-08-14 19:05:14.873877
 
665,118,peso-rhodecode,133,tortoisehg,"",user_created_repo,2012-08-14 19:05:14.88921
 
662,118,peso-xxx,99,another-fork-to-check-code-review,"",user_commented_revision:30853f4bde2f2b6f0a7126392b9b1b4c5ea37e0a,2012-08-14 18:58:56.536013
 
663,118,peso-xxx,99,another-fork-to-check-code-review,"",user_commented_revision:30853f4bde2f2b6f0a7126392b9b1b4c5ea37e0a,2012-08-14 18:59:58.982696
 
664,118,peso-xxx,133,tortoisehg,"",started_following_repo,2012-08-14 19:05:14.873877
 
665,118,peso-xxx,133,tortoisehg,"",user_created_repo,2012-08-14 19:05:14.88921
 
666,119,ricardona,39,fork-code-review-test,"",user_commented_revision:ac19ef61aab0b008acb5dac5d53457cbd278d927,2012-08-14 21:20:28.585574
 
667,3,demo,134,TestIM,"",started_following_repo,2012-08-14 22:23:05.22279
 
668,3,demo,134,TestIM,"",user_created_repo,2012-08-14 22:23:05.235172
 
669,3,demo,134,TestIM,216.16.228.6,push:b3b6cfdb515f13709b13f82d20efd74daaa11d91,2012-08-14 22:23:54.286624
 
670,3,demo,134,TestIM,216.16.228.6,push:9fb9ba572906576b2cc53ac227d503317f019556,2012-08-14 22:24:48.190215
 
671,3,demo,134,TestIM,"",user_commented_pull_request:26,2012-08-14 22:25:32.752851
 
672,3,demo,134,TestIM,"",user_commented_pull_request:26,2012-08-14 22:26:29.238006
 
673,3,demo,134,TestIM,"",user_closed_pull_request:26,2012-08-14 22:26:29.246245
 
674,3,demo,134,TestIM,216.16.228.6,push:55a4fabac6221f988a276ec34343b947dfbc8a1f,2012-08-14 22:35:56.966751
 
676,120,asdfqwer,135,Asdf,"",started_following_repo,2012-08-15 01:25:41.462335
 
677,120,asdfqwer,135,Asdf,"",user_created_repo,2012-08-15 01:25:41.473404
 
678,120,asdfqwer,135,Asdf,"",push_local:e43db28406d1d0697f504af9bc2ae5c5b789bba3,2012-08-15 01:27:34.991
 
679,3,demo,68,aaa-project,"",push_local:2babd97db425482a53b679956df09f89c3154a2c,2012-08-15 03:43:31.538895
 
680,3,demo,134,TestIM,"",user_commented_revision:55a4fabac6221f988a276ec34343b947dfbc8a1f,2012-08-15 14:30:08.564118
 
681,3,demo,134,TestIM,"",user_commented_pull_request:27,2012-08-15 14:30:18.831116
 
682,3,demo,134,TestIM,"",user_closed_pull_request:27,2012-08-15 14:30:18.840491
 
683,3,demo,134,TestIM,216.16.228.6,push:bb4219af072d59cc4c3c43c378ed51fa4cf3c3ff,2012-08-15 15:07:41.727749
 
684,1,default,131,group/test-v,24.226.1.232,pull,2012-08-15 16:55:41.900521
 
685,3,demo,131,group/test-v,"",user_commented_revision:5528f3d665c9c9577670ec1e47428ec12686309e,2012-08-15 17:03:55.63388
 
686,1,default,131,group/test-v,24.226.1.232,pull,2012-08-15 17:08:29.295025
 
687,1,default,131,group/test-v,24.226.1.232,pull,2012-08-15 17:29:40.060992
 
688,1,default,131,group/test-v,24.226.1.232,pull,2012-08-15 17:33:06.514696
 
689,1,default,131,group/test-v,24.226.1.232,pull,2012-08-15 17:35:45.952417
 
690,1,default,131,group/test-v,24.226.1.232,pull,2012-08-15 17:45:52.189501
 
691,1,default,131,group/test-v,24.226.1.232,pull,2012-08-15 18:15:01.771261
 
692,3,demo,136,demorep,"",started_following_repo,2012-08-15 20:15:43.960506
 
693,3,demo,136,demorep,"",user_created_repo,2012-08-15 20:15:43.97291
 
694,3,demo,136,demorep,"",user_updated_repo,2012-08-15 20:16:36.235636
 
695,116,japanfred,137,group/test,"",started_following_repo,2012-08-16 10:07:53.071203
 
696,116,japanfred,137,group/test,"",user_created_repo,2012-08-16 10:07:53.085238
 
697,3,demo,38,code-review-test,"",user_commented_revision:e780fb37168be5382148f5bc6fd420ae9771e947,2012-08-16 10:40:09.850092
 
698,3,demo,38,code-review-test,"",user_commented_revision:e780fb37168be5382148f5bc6fd420ae9771e947,2012-08-16 10:40:18.256489
 
699,3,demo,138,zzz,"",started_following_repo,2012-08-16 15:32:36.358347
 
700,3,demo,138,zzz,"",user_created_repo,2012-08-16 15:32:36.375112
 
701,3,demo,138,zzz,"",stopped_following_repo,2012-08-16 15:32:47.449322
 
702,3,demo,138,zzz,"",push_local:30c34a6a74a3acb1ac90da14cbf5afc195c06703,2012-08-16 15:35:02.210691
 
703,3,demo,139,groupv,"",started_following_repo,2012-08-16 21:18:09.813691
 
704,3,demo,139,groupv,"",user_created_repo,2012-08-16 21:18:09.828768
 
705,3,demo,140,tryit,"",started_following_repo,2012-08-16 21:38:23.244914
 
706,3,demo,140,tryit,"",user_created_repo,2012-08-16 21:38:23.255027
 
707,3,demo,24,fork-Something,"",push_local:3e4a3d2cb39cc292337813a1b66886612967a12f,2012-08-17 08:46:15.254412
 
708,125,thebodster,141,benltest,"",started_following_repo,2012-08-17 11:05:03.588299
 
709,125,thebodster,141,benltest,"",user_created_repo,2012-08-17 11:05:03.599788
 
710,125,thebodster,141,benltest,"",push_local:81058e0bbe3ff64719b622da3e3d4973a00aa17f,2012-08-17 11:06:28.089348
 
711,3,demo,142,asd,"",started_following_repo,2012-08-17 17:05:25.612621
 
712,3,demo,142,asd,"",user_created_repo,2012-08-17 17:05:25.623665
 
713,3,demo,90,a-fork1,"",user_commented_revision:5478c7d290bc0a14d9cefd79ed5722a87f3815d5,2012-08-20 11:55:54.518151
 
714,3,demo,90,a-fork1,"",user_commented_revision:5478c7d290bc0a14d9cefd79ed5722a87f3815d5,2012-08-20 11:56:13.790927
 
@@ -711,275 +711,275 @@ user_log_id,user_id,username,repository_
 
760,140,ryanewtaylor,153,my_test_repository,"",started_following_repo,2012-08-27 03:06:53.764986
 
761,140,ryanewtaylor,153,my_test_repository,"",user_created_repo,2012-08-27 03:06:53.777712
 
763,140,ryanewtaylor,153,my_test_repository,"",user_commented_revision:adca53fe04fd153232ba0f2b0849593d7e7e66b3,2012-08-27 03:13:37.332593
 
764,140,ryanewtaylor,153,my_test_repository,"",user_commented_revision:adca53fe04fd153232ba0f2b0849593d7e7e66b3,2012-08-27 03:14:12.752967
 
765,140,ryanewtaylor,153,my_test_repository,"",user_commented_revision:adca53fe04fd153232ba0f2b0849593d7e7e66b3,2012-08-27 03:14:51.684298
 
766,140,ryanewtaylor,153,my_test_repository,"",user_commented_revision:6669f75a9cb677a2fda670b38b1144148ebeb962,2012-08-27 03:15:12.583256
 
767,140,ryanewtaylor,153,my_test_repository,"",user_commented_revision:df1618708e7fa0c17d5f6b45c20862c22ddec32e,2012-08-27 03:16:16.068448
 
768,140,ryanewtaylor,153,my_test_repository,"",user_commented_revision:df1618708e7fa0c17d5f6b45c20862c22ddec32e,2012-08-27 03:16:21.558262
 
769,2,admin,153,my_test_repository,"",user_commented_revision:6669f75a9cb677a2fda670b38b1144148ebeb962,2012-08-27 09:57:00.382062
 
770,141,asdf1234asdf,93,fork-a,"",user_commented_pull_request:29,2012-08-28 00:15:33.186954
 
771,141,asdf1234asdf,93,fork-a,"",user_closed_pull_request:29,2012-08-28 00:15:33.199962
 
773,143,demodemo1,93,fork-a,"",user_commented_revision:7f8b4f94e2a83394aa687e0bb110870769e9ca0a,2012-08-29 09:44:47.573503
 
774,3,demo,90,a-fork1,"",push_local:323f852b71ad55dde8b5134ecab08d38e478a2c5,2012-08-29 11:07:26.784421
 
775,116,japanfred,156,jf-main,"",started_following_repo,2012-08-29 14:07:27.6853
 
776,116,japanfred,156,jf-main,"",user_created_repo,2012-08-29 14:07:27.698708
 
777,116,japanfred,156,jf-main,"",push_local:3da6f8032b842427e3873733bc997cc38870028c,2012-08-29 14:08:26.649182
 
778,116,japanfred,156,group/jf-main,"",user_updated_repo,2012-08-29 14:08:51.803377
 
779,145,fthomas64,157,group/fintest,"",started_following_repo,2012-08-29 21:54:55.55875
 
780,145,fthomas64,157,group/fintest,"",user_created_repo,2012-08-29 21:54:55.5727
 
781,145,fthomas64,157,group/fintest,"",user_updated_repo,2012-08-29 21:56:46.846955
 
782,3,demo,158,mytest001,"",started_following_repo,2012-08-29 23:38:29.423035
 
783,3,demo,158,mytest001,"",user_created_repo,2012-08-29 23:38:29.434528
 
784,3,demo,158,mytest001,"",user_updated_repo,2012-08-29 23:40:30.218875
 
785,3,demo,158,mytest001,"",push_local:877dd37e0d11c11006ba333eea74972f8f3c0745,2012-08-29 23:56:55.750242
 
786,3,demo,158,mytest001,"",user_commented_revision:877dd37e0d11c11006ba333eea74972f8f3c0745,2012-08-29 23:57:17.769527
 
787,3,demo,158,mytest001,"",user_commented_revision:877dd37e0d11c11006ba333eea74972f8f3c0745,2012-08-30 00:00:06.214755
 
788,3,demo,86,qbtest,"",user_commented_revision:04acb5b4d5e0baeedde09ab9f4921ebfd8a44fe3,2012-08-30 18:18:52.127137
 
789,3,demo,86,qbtest,"",user_commented_revision:04acb5b4d5e0baeedde09ab9f4921ebfd8a44fe3,2012-08-30 18:19:39.559827
 
790,3,demo,159,group/Test-for-code-review,"",started_following_repo,2012-08-30 18:21:15.38201
 
791,3,demo,159,group/Test-for-code-review,"",user_created_repo,2012-08-30 18:21:15.396876
 
792,3,demo,159,group/Test-for-code-review,"",push_local:2305443e5a06a9d80e328741d2da742145f80eee,2012-08-30 18:22:30.576129
 
793,3,demo,159,group/Test-for-code-review,"",user_commented_revision:2305443e5a06a9d80e328741d2da742145f80eee,2012-08-30 18:25:35.145053
 
794,3,demo,159,group/Test-for-code-review,"",user_commented_revision:2305443e5a06a9d80e328741d2da742145f80eee,2012-08-30 18:25:55.638486
 
795,3,demo,159,group/Test-for-code-review,"",user_commented_revision:2305443e5a06a9d80e328741d2da742145f80eee,2012-08-30 18:26:45.22087
 
796,3,demo,159,group/Test-for-code-review,"",user_updated_repo,2012-08-30 18:28:52.430153
 
797,3,demo,159,group/Test-for-code-review,"",user_updated_repo,2012-08-30 18:28:59.540779
 
798,3,demo,159,group/Test-for-code-review,"",user_updated_repo,2012-08-30 18:46:21.757499
 
799,3,demo,159,group/Test-for-code-review,"",push_local:1ea6c5155c207b823306f6d4135975cd62de5ea6,2012-08-30 19:06:37.805225
 
800,3,demo,159,group/Test-for-code-review,"",user_commented_revision:1ea6c5155c207b823306f6d4135975cd62de5ea6,2012-08-30 19:07:57.905038
 
801,1,default,159,group/Test-for-code-review,176.9.28.203,pull,2012-08-30 19:12:18.946031
 
802,3,demo,160,group/test-der-zweite,"",started_following_repo,2012-08-30 19:12:19.100001
 
803,3,demo,160,group/test-der-zweite,"",user_created_repo,2012-08-30 19:12:19.109789
 
804,3,demo,160,group/test-der-zweite,"",user_commented_revision:1ea6c5155c207b823306f6d4135975cd62de5ea6,2012-08-30 19:12:33.306323
 
805,3,demo,159,group/Test-for-code-review,"",user_commented_revision:1ea6c5155c207b823306f6d4135975cd62de5ea6,2012-08-30 19:14:51.326684
 
806,3,demo,159,group/Test-for-code-review,"",user_commented_revision:1ea6c5155c207b823306f6d4135975cd62de5ea6,2012-08-30 19:14:54.354662
 
807,3,demo,159,group/Test-for-code-review,"",user_commented_revision:2305443e5a06a9d80e328741d2da742145f80eee,2012-08-30 19:15:23.722829
 
808,150,dlamotte,1,test,"",user_commented_pull_request:31,2012-08-30 23:03:25.180892
 
809,150,dlamotte,1,test,"",user_closed_pull_request:31,2012-08-30 23:03:25.192118
 
810,150,dlamotte,161,test-rhodecode-pull-request,"",started_following_repo,2012-08-30 23:05:08.817245
 
811,150,dlamotte,161,test-rhodecode-pull-request,"",user_created_repo,2012-08-30 23:05:08.832769
 
812,150,dlamotte,161,test-rhodecode-pull-request,143.127.128.10,push:e839aac4f06bb1f0dde813d6b7e80cc345f8d70d,2012-08-30 23:06:12.300969
 
813,150,dlamotte,161,test-rhodecode-pull-request,143.127.128.10,"push:1b01a9f3ba4951615f1c9cfbe19ea62f3abeed9f,062ab363eaef7fc73342a93f4624030103fc36f9",2012-08-30 23:08:29.621962
 
810,150,dlamotte,161,test-xxx-pull-request,"",started_following_repo,2012-08-30 23:05:08.817245
 
811,150,dlamotte,161,test-xxx-pull-request,"",user_created_repo,2012-08-30 23:05:08.832769
 
812,150,dlamotte,161,test-xxx-pull-request,143.127.128.10,push:e839aac4f06bb1f0dde813d6b7e80cc345f8d70d,2012-08-30 23:06:12.300969
 
813,150,dlamotte,161,test-xxx-pull-request,143.127.128.10,"push:1b01a9f3ba4951615f1c9cfbe19ea62f3abeed9f,062ab363eaef7fc73342a93f4624030103fc36f9",2012-08-30 23:08:29.621962
 
814,1,default,1,test,176.9.28.203,pull,2012-08-30 23:14:51.336754
 
815,151,mill1359,162,test-m,"",started_following_repo,2012-08-30 23:14:51.499881
 
816,151,mill1359,162,test-m,"",user_created_repo,2012-08-30 23:14:51.509169
 
817,1,default,162,test-m,143.127.128.10,pull,2012-08-30 23:16:00.219245
 
818,151,mill1359,162,test-m,143.127.128.10,push:8a528cebe032d5502c73608281a954233347ce36,2012-08-30 23:19:20.205642
 
819,151,mill1359,162,test-m,"",user_commented_pull_request:32,2012-08-30 23:21:27.6093
 
820,151,mill1359,162,test-m,"",user_closed_pull_request:32,2012-08-30 23:21:27.617668
 
821,155,cdugz,163,nagios,"",started_following_repo,2012-08-31 16:42:33.825148
 
822,155,cdugz,163,nagios,"",user_created_repo,2012-08-31 16:42:33.83886
 
895,3,demo,122,amab,"",push_local:f0509a4f718f5a31eafcb8fbe9caf21a642c5753,2012-09-05 01:30:02.737976
 
896,3,demo,32,big-project,"",user_commented_revision:06d5302c4830e5af52f06c462f11f75107b2a1ff,2012-09-05 11:05:19.904842
 
823,155,cdugz,163,nagios,82.150.248.28,"push:380d5c3fd6c3948d5da3f56859104f4adf629553,30b5773f0f9d57cfb721576169685b36878969d1,47deef50eface398daa8ba09a6d79a9db2585c4f,a38d5508f516f360cd603a72cd4a4f16facf5825,cf7656e6c2cb29241db1f6ae0af2823684d7d0b4,0ebf06f94b584abe59853618ca68b9416f13fe20,413886edff138d8de1e3e23698fabba444de6167,335bb28b7c5428044f17ef9bc57a992b759b2d93,feba8837f9ac8af56b6588e8fcc7710eeeebd327,bf0781be32a59aef35f8bf95a2f614894e773926,fc3792349c770fe014d0774e980e3bba600bb5a6",2012-08-31 16:46:05.896127
 
824,155,cdugz,164,rhodecode-ref,"",started_following_repo,2012-08-31 17:42:24.794235
 
825,155,cdugz,164,rhodecode-ref,"",user_created_repo,2012-08-31 17:42:24.806839
 
826,155,cdugz,164,rhodecode-ref,82.150.248.28,"push:380d5c3fd6c3948d5da3f56859104f4adf629553,30b5773f0f9d57cfb721576169685b36878969d1,47deef50eface398daa8ba09a6d79a9db2585c4f,c91bea8206218cf051c6b0ab6a352c7371b5212d",2012-08-31 17:43:03.365708
 
827,155,cdugz,164,rhodecode-ref,"",user_updated_repo,2012-08-31 17:44:01.673127
 
828,155,cdugz,165,rhodecode-dev,"",started_following_repo,2012-08-31 17:44:52.870468
 
829,155,cdugz,165,rhodecode-dev,"",user_created_repo,2012-08-31 17:44:52.880649
 
830,155,cdugz,165,rhodecode-dev,82.150.248.28,"push:380d5c3fd6c3948d5da3f56859104f4adf629553,30b5773f0f9d57cfb721576169685b36878969d1,47deef50eface398daa8ba09a6d79a9db2585c4f,107236f51ef01fcb27d1c613c18a93a2135c336c,2ff774f5163960e356530826b4faad804bd79972,e4b37340f046c2910a43017d814841df1caec1cf,c91bea8206218cf051c6b0ab6a352c7371b5212d,3e5071670c8eec699744bd94f9ebacba8ef33b1f,06303e4e0da2b0e909d985844fc573e3a32547a2",2012-08-31 17:45:20.027085
 
824,155,cdugz,164,xxx-ref,"",started_following_repo,2012-08-31 17:42:24.794235
 
825,155,cdugz,164,xxx-ref,"",user_created_repo,2012-08-31 17:42:24.806839
 
826,155,cdugz,164,xxx-ref,82.150.248.28,"push:380d5c3fd6c3948d5da3f56859104f4adf629553,30b5773f0f9d57cfb721576169685b36878969d1,47deef50eface398daa8ba09a6d79a9db2585c4f,c91bea8206218cf051c6b0ab6a352c7371b5212d",2012-08-31 17:43:03.365708
 
827,155,cdugz,164,xxx-ref,"",user_updated_repo,2012-08-31 17:44:01.673127
 
828,155,cdugz,165,xxx-dev,"",started_following_repo,2012-08-31 17:44:52.870468
 
829,155,cdugz,165,xxx-dev,"",user_created_repo,2012-08-31 17:44:52.880649
 
830,155,cdugz,165,xxx-dev,82.150.248.28,"push:380d5c3fd6c3948d5da3f56859104f4adf629553,30b5773f0f9d57cfb721576169685b36878969d1,47deef50eface398daa8ba09a6d79a9db2585c4f,107236f51ef01fcb27d1c613c18a93a2135c336c,2ff774f5163960e356530826b4faad804bd79972,e4b37340f046c2910a43017d814841df1caec1cf,c91bea8206218cf051c6b0ab6a352c7371b5212d,3e5071670c8eec699744bd94f9ebacba8ef33b1f,06303e4e0da2b0e909d985844fc573e3a32547a2",2012-08-31 17:45:20.027085
 
831,3,demo,93,fork-a,"",push_local:416552904882d8b8f051cad2071f4aa271d4ea4e,2012-08-31 18:50:50.885869
 
832,3,demo,166,dfgdfg,"",started_following_repo,2012-08-31 18:56:16.94572
 
833,3,demo,166,dfgdfg,"",user_created_repo,2012-08-31 18:56:16.959102
 
834,3,demo,166,dfgdfg,"",user_updated_repo,2012-08-31 18:56:40.349443
 
835,3,demo,166,dfgdfg,"",user_updated_repo,2012-08-31 18:56:43.138614
 
836,3,demo,167,group/test1234,"",started_following_repo,2012-09-01 13:16:21.279844
 
837,3,demo,167,group/test1234,"",user_created_repo,2012-09-01 13:16:21.293767
 
838,3,demo,168,group/test_interface,"",started_following_repo,2012-09-01 16:31:43.486262
 
839,3,demo,168,group/test_interface,"",user_created_repo,2012-09-01 16:31:43.500171
 
840,3,demo,169,group/demo_interface,"",started_following_repo,2012-09-01 16:33:21.416702
 
841,3,demo,169,group/demo_interface,"",user_created_repo,2012-09-01 16:33:21.429822
 
842,3,demo,169,group/demo_interface,"",user_updated_repo,2012-09-01 16:34:48.888958
 
843,2,admin,,"","",admin_updated_user:demo,2012-09-01 21:37:36.22824
 
844,2,admin,42,foo,"",admin_updated_repo,2012-09-01 21:38:55.72173
 
845,3,demo,68,aaa-project,"",user_commented_revision:2babd97db425482a53b679956df09f89c3154a2c,2012-09-02 02:19:55.864414
 
846,3,demo,68,aaa-project,"",user_commented_revision:2babd97db425482a53b679956df09f89c3154a2c,2012-09-02 02:22:04.179327
 
847,3,demo,68,aaa-project,"",user_commented_revision:2babd97db425482a53b679956df09f89c3154a2c,2012-09-02 02:22:20.301017
 
848,167,asegarra,124,fork-another-fork-to-check-code-review,"",user_commented_revision:fba17a64fa4978bfea19222da5e64a18cfddeecd,2012-09-03 00:00:02.708105
 
849,167,asegarra,124,fork-another-fork-to-check-code-review,"",user_commented_revision:fba17a64fa4978bfea19222da5e64a18cfddeecd,2012-09-03 00:00:15.395196
 
850,3,demo,34,a,"",user_commented_revision:332932afc11a2c6308d44e75f8b4ac7643093fa7,2012-09-03 04:40:41.834982
 
851,3,demo,34,a,"",user_commented_revision:332932afc11a2c6308d44e75f8b4ac7643093fa7,2012-09-03 07:13:57.839857
 
852,3,demo,34,a,"",user_commented_revision:332932afc11a2c6308d44e75f8b4ac7643093fa7,2012-09-03 07:15:33.483452
 
853,3,demo,34,a,"",user_commented_revision:332932afc11a2c6308d44e75f8b4ac7643093fa7,2012-09-03 07:28:27.434639
 
854,2,admin,,"","",admin_updated_users_group:group,2012-09-03 08:20:10.984426
 
855,2,admin,,"","",admin_updated_users_group:group,2012-09-03 08:20:22.82228
 
856,2,admin,68,aaa-project,"",admin_updated_repo,2012-09-03 08:28:23.441904
 
857,3,demo,170,_01_jdj,"",started_following_repo,2012-09-03 09:52:03.080751
 
858,3,demo,170,_01_jdj,"",user_created_repo,2012-09-03 09:52:03.103369
 
859,3,demo,171,releases/Blabla,"",started_following_repo,2012-09-03 13:45:50.257273
 
860,3,demo,171,releases/Blabla,"",user_created_repo,2012-09-03 13:45:50.271441
 
861,3,demo,171,releases/Blabla,"",stopped_following_repo,2012-09-03 13:46:24.790546
 
862,3,demo,171,releases/Blabla,"",started_following_repo,2012-09-03 13:46:34.42949
 
863,3,demo,171,releases/Blabla,"",stopped_following_repo,2012-09-03 13:46:37.546423
 
864,3,demo,171,releases/Blabla,"",started_following_repo,2012-09-03 13:46:37.766286
 
865,3,demo,171,releases/Blabla,"",stopped_following_repo,2012-09-03 13:46:38.018055
 
866,3,demo,171,releases/Blabla,"",started_following_repo,2012-09-03 13:46:40.717862
 
867,3,demo,171,releases/Blabla,"",stopped_following_repo,2012-09-03 13:46:40.849278
 
868,3,demo,171,releases/Blabla,"",started_following_repo,2012-09-03 13:46:41.061175
 
869,2,admin,172,go,"",started_following_repo,2012-09-03 14:30:41.496854
 
870,2,admin,172,go,"",admin_created_repo,2012-09-03 14:30:41.508885
 
871,3,demo,99,another-fork-to-check-code-review,"",user_commented_revision:d5422faf648cc589425cd3b0dbf1f6dbf93036a0,2012-09-04 02:08:20.759339
 
872,3,demo,34,a,"",user_commented_revision:332932afc11a2c6308d44e75f8b4ac7643093fa7,2012-09-04 02:20:58.295369
 
873,3,demo,34,a,"",user_commented_revision:332932afc11a2c6308d44e75f8b4ac7643093fa7,2012-09-04 02:40:16.584952
 
874,3,demo,173,code-review-dev,"",started_following_repo,2012-09-04 13:01:06.110732
 
875,3,demo,173,code-review-dev,"",user_created_repo,2012-09-04 13:01:06.150884
 
876,3,demo,173,code-review-dev,195.238.92.121,push:cb2ea0ebb59413e325470ee63aa83bb84d9d126c,2012-09-04 13:02:03.374983
 
877,3,demo,173,code-review-dev,"",push_local:ae44a27e7e02d679b00bb94c04c2348d2ca88cd6,2012-09-04 13:03:50.249481
 
878,3,demo,173,code-review-dev,"",user_updated_repo,2012-09-04 13:04:13.26806
 
879,3,demo,173,code-review-dev,"",user_updated_repo,2012-09-04 13:04:17.650534
 
880,3,demo,173,code-review-dev,"",user_updated_repo,2012-09-04 13:05:42.76781
 
881,3,demo,99,another-fork-to-check-code-review,"",user_commented_revision:d5422faf648cc589425cd3b0dbf1f6dbf93036a0,2012-09-04 15:59:58.584723
 
882,3,demo,99,another-fork-to-check-code-review,"",user_commented_revision:d5422faf648cc589425cd3b0dbf1f6dbf93036a0,2012-09-04 16:00:08.318723
 
883,3,demo,174,cruel-test-2,"",started_following_repo,2012-09-04 16:57:50.235592
 
884,3,demo,174,cruel-test-2,"",user_created_repo,2012-09-04 16:57:50.255676
 
885,3,demo,174,cruel-test-2,"",push_local:b396ac3c7f6c18caf55a87abd84847d345732805,2012-09-04 16:58:25.458669
 
886,3,demo,174,cruel-test-2,"",push_local:a5419e86108ea38b872c9cb0880c312d2595c2aa,2012-09-04 16:59:21.3612
 
887,3,demo,174,cruel-test-2,"",user_commented_revision:a5419e86108ea38b872c9cb0880c312d2595c2aa,2012-09-04 17:01:36.969813
 
888,3,demo,33,fork-big-project,"",push_local:51cec0b8c8a0e47d8edc81d5ffb5f77723c5cbf9,2012-09-04 17:07:03.988595
 
889,3,demo,32,big-project,"",user_commented_pull_request:34,2012-09-04 17:09:12.417908
 
890,3,demo,32,big-project,"",user_commented_pull_request:34,2012-09-04 17:10:04.92285
 
891,3,demo,32,big-project,"",user_closed_pull_request:34,2012-09-04 17:10:04.927287
 
892,3,demo,34,a,"",user_updated_repo,2012-09-05 00:47:01.089512
 
893,3,demo,34,a,"",user_updated_repo,2012-09-05 00:47:11.588561
 
894,3,demo,24,fork-Something,"",user_updated_repo,2012-09-05 01:03:09.893608
 
897,1,default,66,pm-test,195.160.233.181,pull,2012-09-05 13:12:04.976374
 
898,3,demo,66,pm-test,195.160.233.181,push:d19c8fc1bfa2d661d4240e8f120f4ecf6267f9fa,2012-09-05 13:12:51.274952
 
899,3,demo,8,Test_Repo,"",user_commented_pull_request:35,2012-09-05 13:14:25.686481
 
900,3,demo,8,Test_Repo,"",user_commented_pull_request:35,2012-09-05 13:14:43.033131
 
901,3,demo,8,Test_Repo,"",user_closed_pull_request:35,2012-09-05 13:14:43.04395
 
902,1,default,8,Test_Repo,195.160.233.181,pull,2012-09-05 13:17:38.089185
 
903,3,demo,8,Test_Repo,195.160.233.181,push:e8ad7b21735b6590c2dd476e7628ba331a1df384,2012-09-05 13:18:07.5396
 
904,3,demo,175,fork-a-one-more,"",started_following_repo,2012-09-05 13:20:22.809301
 
905,3,demo,34,a,"",user_forked_repo:fork-a-one-more,2012-09-05 13:20:22.832688
 
906,3,demo,175,fork-a-one-more,"",user_created_fork:fork-a-one-more,2012-09-05 13:20:22.841274
 
907,3,demo,175,fork-a-one-more,195.160.233.181,pull,2012-09-05 13:20:54.391748
 
908,3,demo,175,fork-a-one-more,195.160.233.181,push:c6fb8c3fe1a8393f8861c39bf590d3865c503ca5,2012-09-05 13:22:36.203898
 
909,3,demo,34,a,"",user_commented_pull_request:36,2012-09-05 13:23:55.420971
 
910,3,demo,34,a,"",user_commented_pull_request:36,2012-09-05 13:24:17.361904
 
911,3,demo,34,a,"",user_commented_pull_request:36,2012-09-05 13:24:35.76659
 
912,3,demo,34,a,"",user_closed_pull_request:36,2012-09-05 13:24:35.7744
 
913,3,demo,34,a,"",user_commented_pull_request:37,2012-09-05 13:30:57.812004
 
914,3,demo,34,a,"",user_commented_pull_request:38,2012-09-05 13:38:45.300458
 
915,3,demo,34,a,"",user_commented_pull_request:38,2012-09-05 13:39:01.382629
 
916,3,demo,34,a,"",user_commented_pull_request:38,2012-09-05 13:39:18.062238
 
917,3,demo,34,a,"",user_commented_pull_request:38,2012-09-05 13:39:27.350966
 
918,3,demo,34,a,"",user_commented_pull_request:38,2012-09-05 13:39:37.275952
 
919,3,demo,34,a,"",user_updated_repo,2012-09-05 13:40:21.966185
 
920,3,demo,34,a,"",user_commented_pull_request:37,2012-09-05 13:40:53.832787
 
921,3,demo,34,a,"",user_closed_pull_request:37,2012-09-05 13:40:53.837264
 
922,3,demo,34,a,"",user_commented_pull_request:38,2012-09-05 13:41:51.071776
 
923,3,demo,34,a,"",user_closed_pull_request:38,2012-09-05 13:41:51.082763
 
924,3,demo,34,a,"",user_updated_repo,2012-09-05 13:42:28.045216
 
925,3,demo,176,hopsa,"",started_following_repo,2012-09-05 14:12:14.479866
 
926,3,demo,165,rhodecode-dev,"",user_forked_repo:hopsa,2012-09-05 14:12:14.495649
 
926,3,demo,165,xxx-dev,"",user_forked_repo:hopsa,2012-09-05 14:12:14.495649
 
927,3,demo,176,hopsa,"",user_created_fork:hopsa,2012-09-05 14:12:14.507312
 
928,3,demo,177,blah,"",started_following_repo,2012-09-05 16:42:29.860682
 
929,3,demo,177,blah,"",user_created_repo,2012-09-05 16:42:29.876509
 
930,3,demo,178,myfolder-myrepo,"",started_following_repo,2012-09-05 17:33:08.753339
 
931,3,demo,178,myfolder-myrepo,"",user_created_repo,2012-09-05 17:33:08.765789
 
932,3,demo,180,MineReps,"",started_following_repo,2012-09-05 23:11:25.562383
 
933,3,demo,180,MineReps,"",user_created_repo,2012-09-05 23:11:25.577972
 
934,3,demo,33,fork-big-project,"",user_commented_revision:51cec0b8c8a0e47d8edc81d5ffb5f77723c5cbf9,2012-09-06 01:29:52.749682
 
935,3,demo,33,fork-big-project,"",user_commented_revision:51cec0b8c8a0e47d8edc81d5ffb5f77723c5cbf9,2012-09-06 01:30:05.246986
 
936,1,default,68,aaa-project,94.194.60.137,pull,2012-09-06 02:51:08.186518
 
937,1,default,68,aaa-project,94.194.60.137,pull,2012-09-06 02:54:47.80033
 
938,1,default,159,group/Test-for-code-review,"",push_local:e25e53f9a9cd4a39bb085830a67983bc6dd46e76,2012-09-06 03:08:45.578824
 
939,3,demo,159,group/Test-for-code-review,"",user_commented_revision:e25e53f9a9cd4a39bb085830a67983bc6dd46e76,2012-09-06 03:30:51.35489
 
940,3,demo,68,aaa-project,"",user_updated_repo,2012-09-06 04:44:10.863264
 
941,3,demo,68,aaa-project,"",user_updated_repo,2012-09-06 04:44:41.091954
 
942,3,demo,68,aaa-project,"",push_local:e3fef0be8dc20eb1fa68fc45292d9d66de1cc67f,2012-09-06 04:45:38.572986
 
943,3,demo,68,aaa-project,"",user_commented_revision:e3fef0be8dc20eb1fa68fc45292d9d66de1cc67f,2012-09-06 04:57:07.744368
 
944,3,demo,68,aaa-project,"",push_local:bc829c34912709c7d129e5dae9a3e5ff46e77fc7,2012-09-06 04:57:36.830617
 
945,3,demo,68,aaa-project,"",user_commented_revision:bc829c34912709c7d129e5dae9a3e5ff46e77fc7,2012-09-06 04:58:00.171714
 
946,3,demo,68,aaa-project,"",user_commented_revision:e3fef0be8dc20eb1fa68fc45292d9d66de1cc67f,2012-09-06 05:01:46.10616
 
947,3,demo,68,aaa-project,"",user_updated_repo,2012-09-06 05:03:07.692388
 
948,2,admin,,"","",admin_updated_user:ThunderEagle,2012-09-06 09:36:46.171404
 
949,2,admin,,"","",admin_updated_user:nipocetyueai,2012-09-06 09:36:50.92007
 
950,2,admin,,"","",admin_updated_user:mnemonikk,2012-09-06 09:36:56.872411
 
951,2,admin,,"","",admin_updated_user:kasai,2012-09-06 09:37:01.993148
 
952,2,admin,,"","",admin_updated_user:Gerhard,2012-09-06 09:37:06.197752
 
953,2,admin,,"","",admin_updated_user:dtucker,2012-09-06 09:37:10.301831
 
954,3,demo,181,group/MyTestRepo,"",started_following_repo,2012-09-06 15:19:51.89625
 
955,3,demo,181,group/MyTestRepo,"",user_created_repo,2012-09-06 15:19:51.912381
 
956,182,nohj,93,fork-a,"",user_commented_revision:7f8b4f94e2a83394aa687e0bb110870769e9ca0a,2012-09-07 09:42:56.913732
 
957,182,nohj,93,fork-a,"",user_commented_revision:7f8b4f94e2a83394aa687e0bb110870769e9ca0a,2012-09-07 09:43:06.314091
 
958,3,demo,182,releases/test,"",started_following_repo,2012-09-07 11:22:43.780986
 
959,3,demo,182,releases/test,"",user_created_repo,2012-09-07 11:22:43.795541
 
960,3,demo,183,releases/fork-test,"",started_following_repo,2012-09-07 11:23:52.711668
 
961,3,demo,182,releases/test,"",user_forked_repo:releases/fork-test,2012-09-07 11:23:52.72963
 
962,3,demo,183,releases/fork-test,"",user_created_fork:releases/fork-test,2012-09-07 11:23:52.742467
 
963,3,demo,184,fork-aaa-project,"",started_following_repo,2012-09-07 11:28:35.495082
 
964,3,demo,68,aaa-project,"",user_forked_repo:fork-aaa-project,2012-09-07 11:28:35.510311
 
965,3,demo,184,fork-aaa-project,"",user_created_fork:fork-aaa-project,2012-09-07 11:28:35.523318
 
966,3,demo,184,fork-aaa-project,"",push_local:b25fcd2b8f033115be20d9146c99c1aa6854dff0,2012-09-07 11:29:20.828412
 
967,3,demo,99,another-fork-to-check-code-review,"",user_commented_revision:fba17a64fa4978bfea19222da5e64a18cfddeecd,2012-09-07 11:32:38.639523
 
968,3,demo,185,TestRepositoryCS,"",started_following_repo,2012-09-07 13:53:39.687423
 
969,3,demo,185,TestRepositoryCS,"",user_created_repo,2012-09-07 13:53:39.702762
 
970,3,demo,186,releases/softpedia,"",started_following_repo,2012-09-07 14:23:28.805185
 
971,3,demo,186,releases/softpedia,"",user_created_repo,2012-09-07 14:23:28.815298
 
972,3,demo,187,ptest,"",started_following_repo,2012-09-07 20:29:00.365852
 
973,3,demo,187,ptest,"",user_created_repo,2012-09-07 20:29:00.379277
 
974,3,demo,187,ptest,89.72.81.164,push:527819ac5de5c1ef222e10faa94d00031ff92276,2012-09-07 20:35:02.456136
 
975,3,demo,187,ptest,89.72.81.164,push:20312aeb821607689952b2e56de6167927c2790b,2012-09-07 20:40:50.055559
 
976,3,demo,187,ptest,"",user_commented_revision:20312aeb821607689952b2e56de6167927c2790b,2012-09-07 20:43:26.445007
 
977,141,asdf1234asdf,188,fork-Asdf,"",started_following_repo,2012-09-07 21:22:53.452145
 
978,141,asdf1234asdf,135,Asdf,"",user_forked_repo:fork-Asdf,2012-09-07 21:22:53.472411
 
979,141,asdf1234asdf,188,fork-Asdf,"",user_created_fork:fork-Asdf,2012-09-07 21:22:53.485295
 
980,141,asdf1234asdf,188,fork-Asdf,"",push_local:cf7c116b1345f1aa0b1df0d1c36abce396082561,2012-09-07 21:23:31.404039
 
981,141,asdf1234asdf,135,Asdf,"",user_commented_pull_request:40,2012-09-07 21:24:53.455489
 
982,141,asdf1234asdf,135,Asdf,"",user_closed_pull_request:40,2012-09-07 21:24:53.467808
 
983,3,demo,68,aaa-project,"",user_commented_revision:bc829c34912709c7d129e5dae9a3e5ff46e77fc7,2012-09-07 22:54:29.053992
 
984,3,demo,189,fork-_01_jdj,"",started_following_repo,2012-09-07 22:55:46.169783
 
985,3,demo,170,_01_jdj,"",user_forked_repo:fork-_01_jdj,2012-09-07 22:55:46.191342
 
986,3,demo,189,fork-_01_jdj,"",user_created_fork:fork-_01_jdj,2012-09-07 22:55:46.209143
 
987,2,admin,190,rhodecode,"",started_following_repo,2012-09-08 01:07:09.881091
 
988,2,admin,190,rhodecode,"",admin_created_repo,2012-09-08 01:07:09.895097
 
987,2,admin,190,xxx,"",started_following_repo,2012-09-08 01:07:09.881091
 
988,2,admin,190,xxx,"",admin_created_repo,2012-09-08 01:07:09.895097
 
989,3,demo,34,a,"",user_commented_revision:332932afc11a2c6308d44e75f8b4ac7643093fa7,2012-09-08 08:57:27.586796
 
990,3,demo,191,kekeke,"",started_following_repo,2012-09-08 11:22:58.159504
 
991,3,demo,191,kekeke,"",user_created_repo,2012-09-08 11:22:58.175212
 
992,3,demo,191,kekeke,"",push_local:40926265e8964e7b71381c9c9e1d3c4dbdd158cc,2012-09-08 11:23:11.019021
 
993,3,demo,191,kekeke,"",user_commented_revision:40926265e8964e7b71381c9c9e1d3c4dbdd158cc,2012-09-08 11:23:26.28488
 
994,3,demo,192,fork-kekeke,"",started_following_repo,2012-09-08 11:23:53.101414
 
995,3,demo,191,kekeke,"",user_forked_repo:fork-kekeke,2012-09-08 11:23:53.115395
 
996,3,demo,192,fork-kekeke,"",user_created_fork:fork-kekeke,2012-09-08 11:23:53.129381
 
997,3,demo,192,fork-kekeke,"",push_local:f6c6170cb0cd27fd21d4a8f4ae477bb86ee67e6e,2012-09-08 11:24:25.629176
 
998,3,demo,192,fork-kekeke,"",user_commented_revision:f6c6170cb0cd27fd21d4a8f4ae477bb86ee67e6e,2012-09-08 11:24:36.698761
 
999,3,demo,192,fork-kekeke,"",user_commented_revision:f6c6170cb0cd27fd21d4a8f4ae477bb86ee67e6e,2012-09-08 11:26:01.605011
 
1000,3,demo,193,swamp,"",started_following_repo,2012-09-08 11:27:28.069118
 
1001,3,demo,193,swamp,"",user_created_repo,2012-09-08 11:27:28.079797
 
1002,3,demo,193,swamp,"",push_local:c4cd716a477bd604e57f8a07c28462f2e55b1282,2012-09-08 11:27:40.680692
 
1003,3,demo,194,fork-swamp,"",started_following_repo,2012-09-08 11:28:05.141092
 
1004,3,demo,193,swamp,"",user_forked_repo:fork-swamp,2012-09-08 11:28:05.223876
 
1005,3,demo,194,fork-swamp,"",user_created_fork:fork-swamp,2012-09-08 11:28:05.233149
 
1006,3,demo,194,fork-swamp,"",push_local:cdf8380186a792bffb9be284df1bd95c631143ca,2012-09-08 11:28:33.802256
 
1007,3,demo,193,swamp,"",user_commented_pull_request:41,2012-09-08 11:29:22.818392
 
1008,3,demo,193,swamp,"",user_closed_pull_request:41,2012-09-08 11:29:22.824771
 
1009,3,demo,193,swamp,"",user_updated_repo,2012-09-08 11:32:58.174439
 
1010,3,demo,,group/book,"",started_following_repo,2012-09-08 18:59:38.392464
 
1011,3,demo,,group/book,"",user_created_repo,2012-09-08 18:59:38.412482
 
1012,3,demo,,group/book,"",push_local:da7ffa14ae51096c974b2297cfd8a10009b44266,2012-09-08 19:01:38.20195
 
1013,3,demo,,group/book,"",stopped_following_repo,2012-09-08 19:04:50.017367
 
1014,3,demo,,group/book,"",user_deleted_repo,2012-09-08 19:09:36.059085
 
1015,183,dotnet,196,PD,"",started_following_repo,2012-09-08 22:57:37.558354
 
1016,183,dotnet,196,PD,"",user_created_repo,2012-09-08 22:57:37.570947
 
1017,183,dotnet,196,group/PD,"",user_updated_repo,2012-09-08 22:58:13.674462
 
1018,3,demo,197,CollectionQuery,"",started_following_repo,2012-09-09 00:58:29.372736
 
1019,3,demo,197,CollectionQuery,"",user_created_repo,2012-09-09 00:58:29.391956
 
1020,3,demo,197,CollectionQuery,"",user_commented_revision:34f0cefd8f7fbddf412daddc8676483f71456e8d,2012-09-09 00:58:51.17291
 
1021,3,demo,197,CollectionQuery,"",user_commented_revision:34f0cefd8f7fbddf412daddc8676483f71456e8d,2012-09-09 00:58:56.364677
 
1022,3,demo,198,fork-CollectionQuery,"",started_following_repo,2012-09-09 00:59:36.116229
 
1023,3,demo,197,CollectionQuery,"",user_forked_repo:fork-CollectionQuery,2012-09-09 00:59:36.133811
 
1024,3,demo,198,fork-CollectionQuery,"",user_created_fork:fork-CollectionQuery,2012-09-09 00:59:36.214126
 
1025,3,demo,199,fork-fork-CollectionQuery,"",started_following_repo,2012-09-09 00:59:57.408192
 
1026,3,demo,198,fork-CollectionQuery,"",user_forked_repo:fork-fork-CollectionQuery,2012-09-09 00:59:57.423968
 
1027,3,demo,199,fork-fork-CollectionQuery,"",user_created_fork:fork-fork-CollectionQuery,2012-09-09 00:59:57.433065
 
1028,3,demo,199,fork-fork-CollectionQuery,195.43.146.59,push:69ce02e460b36f4c28a468ac1356b579b9a954ff,2012-09-09 01:01:22.306272
 
1029,3,demo,198,fork-CollectionQuery,"",user_commented_pull_request:42,2012-09-09 01:02:19.007376
 
1030,3,demo,198,fork-CollectionQuery,"",user_commented_pull_request:42,2012-09-09 01:02:27.274382
 
1031,3,demo,198,fork-CollectionQuery,"",user_commented_pull_request:42,2012-09-09 01:02:58.084638
 
1032,3,demo,198,fork-CollectionQuery,"",user_commented_pull_request:42,2012-09-09 01:03:24.236666
 
1033,3,demo,198,fork-CollectionQuery,"",user_closed_pull_request:42,2012-09-09 01:03:24.242005
 
1034,3,demo,199,fork-fork-CollectionQuery,"",user_updated_repo,2012-09-09 01:07:10.157164
 
1035,3,demo,200,group/MostafaTest,"",started_following_repo,2012-09-09 05:40:58.979338
 
1036,3,demo,200,group/MostafaTest,"",user_created_repo,2012-09-09 05:40:58.990523
 
@@ -1663,97 +1663,97 @@ user_log_id,user_id,username,repository_
 
1724,3,demo,325,testkyro,"",user_updated_repo,2012-10-23 13:28:29.072813
 
1725,3,demo,326,ReallyCoolProject,"",started_following_repo,2012-10-23 14:22:15.477077
 
1726,3,demo,326,ReallyCoolProject,"",user_created_repo,2012-10-23 14:22:15.492068
 
1727,3,demo,326,ReallyCoolProject,"",push_local:262220ea2a60e92577f2193cd9ee4f9707760fb5,2012-10-23 14:23:56.826353
 
1728,288,kiall,327,kiall-test,"",started_following_repo,2012-10-23 15:50:27.397495
 
1729,288,kiall,327,kiall-test,"",user_created_repo,2012-10-23 15:50:27.42126
 
1730,288,kiall,329,fork-aaa-projects,"",started_following_repo,2012-10-23 15:53:23.020591
 
1731,288,kiall,68,aaa-project,"",user_forked_repo:fork-aaa-projects,2012-10-23 15:53:23.043059
 
1732,288,kiall,329,fork-aaa-projects,"",user_created_fork:fork-aaa-projects,2012-10-23 15:53:23.052289
 
1733,288,kiall,328,kiall-nova,"",started_following_repo,2012-10-23 15:53:45.417443
 
1734,288,kiall,328,kiall-nova,"",user_created_repo,2012-10-23 15:53:45.434684
 
1735,288,kiall,329,fork-aaa-projects,"",push_local:417cac332ab3512a08d5454cfcbffc21471e1f6f,2012-10-23 15:53:50.165591
 
1736,3,demo,330,z123,"",started_following_repo,2012-10-23 15:58:30.652495
 
1737,3,demo,330,z123,"",user_created_repo,2012-10-23 15:58:30.665854
 
1738,3,demo,330,z123,"",push_local:0ba461ee4cd15d51f416b1073d4389574150f5ca,2012-10-23 15:59:26.238194
 
1739,3,demo,330,z123,"",user_updated_repo,2012-10-23 16:01:08.667715
 
1740,288,kiall,331,kiall-hg,"",started_following_repo,2012-10-23 16:01:24.811434
 
1741,288,kiall,331,kiall-hg,"",user_created_repo,2012-10-23 16:01:24.820628
 
1742,1,default,330,z123,80.149.98.186,pull,2012-10-23 16:02:35.273406
 
1743,3,demo,330,z123,80.149.98.186,push:b89e8c4620b21ec38d159c644b173a1c93efafea,2012-10-23 16:04:08.66449
 
1744,3,demo,330,z123,"",user_commented_revision:b89e8c4620b21ec38d159c644b173a1c93efafea,2012-10-23 16:04:55.372793
 
1745,2,admin,,"","",admin_updated_user:kiall,2012-10-23 16:05:04.180487
 
1746,3,demo,330,z123,"",stopped_following_repo,2012-10-23 16:16:39.414967
 
1747,3,demo,34,a,"",push_local:106ab79178979f8e464e5cc8f432347f8c203dde,2012-10-23 16:24:17.669006
 
1748,3,demo,332,IAmTesting-this,"",started_following_repo,2012-10-23 18:51:16.88748
 
1749,3,demo,332,IAmTesting-this,"",user_created_repo,2012-10-23 18:51:16.902186
 
1750,3,demo,333,IAmTesting_this,"",started_following_repo,2012-10-23 19:15:24.347861
 
1751,3,demo,333,IAmTesting_this,"",user_created_repo,2012-10-23 19:15:24.361363
 
1752,3,demo,333,IAmTesting_this,"",user_updated_repo,2012-10-23 19:35:36.723229
 
1753,1,default,333,IAmTesting_this,194.117.18.103,push:31ca1f206de23b0d257dcbb323f9ba94e142ceb5,2012-10-23 19:59:07.360826
 
1754,3,demo,334,Test1qwerty,"",started_following_repo,2012-10-23 20:56:13.001385
 
1755,3,demo,334,Test1qwerty,"",user_created_repo,2012-10-23 20:56:13.014633
 
1756,3,demo,334,Test1qwerty,"",push_local:5957aa6f6f14241663b8b1a0ca050e43c3d3ca27,2012-10-23 20:57:25.88513
 
1757,3,demo,335,git,"",started_following_repo,2012-10-23 21:49:35.974797
 
1758,3,demo,335,git,"",user_created_repo,2012-10-23 21:49:35.994798
 
1759,3,demo,336,fork-cruel-test-2,"",started_following_repo,2012-10-23 23:49:23.770508
 
1760,3,demo,174,releases/cruel-test-2,"",user_forked_repo:fork-cruel-test-2,2012-10-23 23:49:23.85229
 
1761,3,demo,336,fork-cruel-test-2,"",user_created_fork:fork-cruel-test-2,2012-10-23 23:49:23.867582
 
1762,3,demo,337,why-testing,"",started_following_repo,2012-10-23 23:53:03.878941
 
1763,3,demo,337,why-testing,"",user_created_repo,2012-10-23 23:53:03.893321
 
1764,3,demo,338,temp11,"",started_following_repo,2012-10-24 10:43:46.379754
 
1765,3,demo,338,temp11,"",user_created_repo,2012-10-24 10:43:46.391127
 
1766,3,demo,339,test123,"",started_following_repo,2012-10-24 14:10:41.927001
 
1767,3,demo,339,test123,"",user_created_repo,2012-10-24 14:10:41.936239
 
1768,3,demo,339,releases/test123,"",user_updated_repo,2012-10-24 14:10:57.739304
 
1769,2,admin,339,releases/test123,146.48.87.66,push:87e9dcd8d3e375c218fdb747da52dc1551a93dc7,2012-10-24 14:12:02.63513
 
1770,292,Airframe,340,Testtestac,"",started_following_repo,2012-10-24 17:09:26.37836
 
1771,292,Airframe,340,Testtestac,"",user_created_repo,2012-10-24 17:09:26.387917
 
1772,293,imbehind,190,rhodecode,"",user_commented_revision:008d9c6f7c92636aaeda6f182bffecac6a464dd3,2012-10-24 20:38:59.535098
 
1772,293,imbehind,190,xxx,"",user_commented_revision:008d9c6f7c92636aaeda6f182bffecac6a464dd3,2012-10-24 20:38:59.535098
 
1773,3,demo,341,MicTest,"",started_following_repo,2012-10-24 20:59:34.176289
 
1774,3,demo,341,MicTest,"",user_created_repo,2012-10-24 20:59:34.186308
 
1775,3,demo,341,MicTest,"",push_local:327bf84d0d633a66f0c7ff4533de2415c9ff5a88,2012-10-24 21:00:28.379598
 
1776,295,mhassanzadeh,342,ttest,"",started_following_repo,2012-10-25 10:50:06.001658
 
1777,295,mhassanzadeh,342,ttest,"",user_created_repo,2012-10-25 10:50:06.011192
 
1807,306,foobar,,foobar,"",user_forked_repo:fork-foobar,2012-10-30 05:39:47.942232
 
1809,306,foobar,,foobar,24.67.50.255,push:0e3a7dcdd90bdb2a1f6dbe85e7b574e4f6304207,2012-10-30 05:50:43.083487
 
1781,3,demo,,fork-rawr,"",user_deleted_repo,2012-10-25 15:14:56.164313
 
1782,3,demo,343,test_git_repo,"",started_following_repo,2012-10-26 13:31:41.642802
 
1783,3,demo,343,test_git_repo,"",user_created_repo,2012-10-26 13:31:41.653854
 
1784,2,admin,99,another-fork-to-check-code-review,"",user_commented_revision:d5422faf648cc589425cd3b0dbf1f6dbf93036a0,2012-10-27 15:38:54.924143
 
1785,3,demo,344,sadfasdf,"",started_following_repo,2012-10-28 11:41:22.491275
 
1786,3,demo,344,sadfasdf,"",user_created_repo,2012-10-28 11:41:22.503388
 
1787,3,demo,345,fork-dvorak,"",started_following_repo,2012-10-29 09:43:08.276759
 
1788,3,demo,129,dvorak,"",user_forked_repo:fork-dvorak,2012-10-29 09:43:08.321733
 
1789,3,demo,345,fork-dvorak,"",user_created_fork:fork-dvorak,2012-10-29 09:43:08.329436
 
1790,3,demo,346,my-test-repo,"",started_following_repo,2012-10-29 09:45:29.684135
 
1791,3,demo,346,my-test-repo,"",user_created_repo,2012-10-29 09:45:29.694219
 
1792,3,demo,347,fork-aaa-project111,"",started_following_repo,2012-10-29 09:50:58.797507
 
1793,3,demo,68,aaa-project,"",user_forked_repo:fork-aaa-project111,2012-10-29 09:50:58.809098
 
1794,3,demo,347,fork-aaa-project111,"",user_created_fork:fork-aaa-project111,2012-10-29 09:50:58.816283
 
1795,2,admin,348,group/I-am-a-very-long-repository-name,"",started_following_repo,2012-10-29 15:51:18.519038
 
1796,2,admin,348,group/I-am-a-very-long-repository-name,"",admin_created_repo,2012-10-29 15:51:18.528651
 
1797,3,demo,34,a-very-long-usper-loooong-name-that-is-to-long,"",user_updated_repo,2012-10-29 17:32:06.365281
 
1798,3,demo,350,misisko-repo,"",started_following_repo,2012-10-29 20:19:56.180975
 
1799,3,demo,350,misisko-repo,"",user_created_repo,2012-10-29 20:19:56.190032
 
1800,3,demo,350,misisko-repo,195.168.239.153,push:34bd2e2b6cf2abdb0e026182b9342f95d8f6f440,2012-10-29 20:21:33.067763
 
1801,3,demo,350,misisko-repo,"",user_commented_revision:34bd2e2b6cf2abdb0e026182b9342f95d8f6f440,2012-10-29 20:23:32.816207
 
1802,2,admin,350,misisko-repo,"",push_local:89a041cce422153ba0716a2beb2b5711ee4f4280,2012-10-29 21:23:56.649892
 
1806,306,foobar,,fork-foobar,"",started_following_repo,2012-10-30 05:39:47.86196
 
1808,306,foobar,,fork-foobar,"",user_created_fork:fork-foobar,2012-10-30 05:39:47.956653
 
1811,306,foobar,,fork-foobar,"",user_deleted_repo,2012-10-30 05:56:06.059093
 
1803,306,foobar,,foobar,"",started_following_repo,2012-10-30 05:36:49.915108
 
1804,306,foobar,,foobar,"",user_created_repo,2012-10-30 05:36:49.929097
 
1805,306,foobar,,foobar,24.67.50.255,push:3b0ad3c9b89dec8bcac5ec8bc9846f307dd5f291,2012-10-30 05:38:30.960676
 
1810,306,foobar,,foobar,24.67.50.255,push:5066e223f81d3983b9bc4d959c509bbce326474c,2012-10-30 05:53:14.168715
 
1812,306,foobar,,foobar,"",user_deleted_repo,2012-10-30 05:56:35.211293
 
1813,3,demo,354,DibaDaba,"",started_following_repo,2012-10-30 10:55:03.068862
 
1814,3,demo,354,DibaDaba,"",user_created_repo,2012-10-30 10:55:03.088077
 
1815,3,demo,354,DibaDaba,"",push_local:cf41636a602d2a69128cc58fdf441857afb83827,2012-10-30 10:56:16.451197
 
1816,3,demo,354,DibaDaba,"",user_updated_repo,2012-10-30 11:05:50.836108
 
1817,3,demo,354,DibaDaba,"",push_local:15453a2035510dcefbc8b7f3e45b916003ae4a0f,2012-10-30 11:18:42.79919
 
1818,3,demo,355,Test-RohdeCode,"",started_following_repo,2012-10-30 21:07:27.016976
 
1819,3,demo,355,Test-RohdeCode,"",user_created_repo,2012-10-30 21:07:27.040381
 
1820,3,demo,355,Test-RohdeCode,"",push_local:a2c7c944a5bae039181a84bec8bc89a9bb4ac68c,2012-10-31 10:52:21.038578
 
1821,3,demo,355,Test-RohdeCode,"",push_local:303c0051c7a04b5a4f77654d8cfeb09a61322e15,2012-10-31 16:32:16.917289
 
1822,3,demo,356,testdzone,"",started_following_repo,2012-11-02 15:51:18.982652
 
1823,3,demo,356,testdzone,"",user_created_repo,2012-11-02 15:51:18.994144
kallithea/tests/functional/test_admin.py
Show inline comments
 
@@ -17,133 +17,133 @@ class TestAdminController(TestController
 
    def setup_class(cls):
 
        UserLog.query().delete()
 
        Session().commit()
 

	
 
        def strptime(val):
 
            fmt = '%Y-%m-%d %H:%M:%S'
 
            if '.' not in val:
 
                return datetime.datetime.strptime(val, fmt)
 

	
 
            nofrag, frag = val.split(".")
 
            date = datetime.datetime.strptime(nofrag, fmt)
 

	
 
            frag = frag[:6]  # truncate to microseconds
 
            frag += (6 - len(frag)) * '0'  # add 0s
 
            return date.replace(microsecond=int(frag))
 

	
 
        with open(os.path.join(FIXTURES, 'journal_dump.csv')) as f:
 
            for row in csv.DictReader(f):
 
                ul = UserLog()
 
                for k, v in row.iteritems():
 
                    v = safe_unicode(v)
 
                    if k == 'action_date':
 
                        v = strptime(v)
 
                    if k in ['user_id', 'repository_id']:
 
                        # nullable due to FK problems
 
                        v = None
 
                    setattr(ul, k, v)
 
                Session().add(ul)
 
            Session().commit()
 

	
 
    @classmethod
 
    def teardown_class(cls):
 
        UserLog.query().delete()
 
        Session().commit()
 

	
 
    def test_index(self):
 
        self.log_user()
 
        response = self.app.get(url(controller='admin/admin', action='index'))
 
        response.mustcontain('Admin journal')
 

	
 
    def test_filter_all_entries(self):
 
        self.log_user()
 
        response = self.app.get(url(controller='admin/admin', action='index',))
 
        response.mustcontain('2034 entries')
 

	
 
    def test_filter_journal_filter_exact_match_on_repository(self):
 
        self.log_user()
 
        response = self.app.get(url(controller='admin/admin', action='index',
 
                                    filter='repository:rhodecode'))
 
                                    filter='repository:xxx'))
 
        response.mustcontain('3 entries')
 

	
 
    def test_filter_journal_filter_exact_match_on_repository_CamelCase(self):
 
        self.log_user()
 
        response = self.app.get(url(controller='admin/admin', action='index',
 
                                    filter='repository:RhodeCode'))
 
                                    filter='repository:XxX'))
 
        response.mustcontain('3 entries')
 

	
 
    def test_filter_journal_filter_wildcard_on_repository(self):
 
        self.log_user()
 
        response = self.app.get(url(controller='admin/admin', action='index',
 
                                    filter='repository:*test*'))
 
        response.mustcontain('862 entries')
 

	
 
    def test_filter_journal_filter_prefix_on_repository(self):
 
        self.log_user()
 
        response = self.app.get(url(controller='admin/admin', action='index',
 
                                    filter='repository:test*'))
 
        response.mustcontain('257 entries')
 

	
 
    def test_filter_journal_filter_prefix_on_repository_CamelCase(self):
 
        self.log_user()
 
        response = self.app.get(url(controller='admin/admin', action='index',
 
                                    filter='repository:Test*'))
 
        response.mustcontain('257 entries')
 

	
 
    def test_filter_journal_filter_prefix_on_repository_and_user(self):
 
        self.log_user()
 
        response = self.app.get(url(controller='admin/admin', action='index',
 
                                    filter='repository:test* AND username:demo'))
 
        response.mustcontain('130 entries')
 

	
 
    def test_filter_journal_filter_prefix_on_repository_or_other_repo(self):
 
        self.log_user()
 
        response = self.app.get(url(controller='admin/admin', action='index',
 
                                    filter='repository:test* OR repository:rhodecode'))
 
                                    filter='repository:test* OR repository:xxx'))
 
        response.mustcontain('260 entries')  # 257 + 3
 

	
 
    def test_filter_journal_filter_exact_match_on_username(self):
 
        self.log_user()
 
        response = self.app.get(url(controller='admin/admin', action='index',
 
                                    filter='username:demo'))
 
        response.mustcontain('1087 entries')
 

	
 
    def test_filter_journal_filter_exact_match_on_username_camelCase(self):
 
        self.log_user()
 
        response = self.app.get(url(controller='admin/admin', action='index',
 
                                    filter='username:DemO'))
 
        response.mustcontain('1087 entries')
 

	
 
    def test_filter_journal_filter_wildcard_on_username(self):
 
        self.log_user()
 
        response = self.app.get(url(controller='admin/admin', action='index',
 
                                    filter='username:*test*'))
 
        response.mustcontain('100 entries')
 

	
 
    def test_filter_journal_filter_prefix_on_username(self):
 
        self.log_user()
 
        response = self.app.get(url(controller='admin/admin', action='index',
 
                                    filter='username:demo*'))
 
        response.mustcontain('1101 entries')
 

	
 
    def test_filter_journal_filter_prefix_on_user_or_other_user(self):
 
        self.log_user()
 
        response = self.app.get(url(controller='admin/admin', action='index',
 
                                    filter='username:demo OR username:volcan'))
 
        response.mustcontain('1095 entries')  # 1087 + 8
 

	
 
    def test_filter_journal_filter_wildcard_on_action(self):
 
        self.log_user()
 
        response = self.app.get(url(controller='admin/admin', action='index',
 
                                    filter='action:*pull_request*'))
 
        response.mustcontain('187 entries')
 

	
 
    def test_filter_journal_filter_on_date(self):
 
        self.log_user()
 
        response = self.app.get(url(controller='admin/admin', action='index',
 
                                    filter='date:20121010'))
 
        response.mustcontain('47 entries')
 

	
 
    def test_filter_journal_filter_on_date_2(self):
 
        self.log_user()
 
        response = self.app.get(url(controller='admin/admin', action='index',
 
                                    filter='date:20121020'))
kallithea/tests/other/test_vcs_operations.py
Show inline comments
 
# -*- coding: utf-8 -*-
 
# This program is free software: you can redistribute it and/or modify
 
# it under the terms of the GNU General Public License as published by
 
# the Free Software Foundation, either version 3 of the License, or
 
# (at your option) any later version.
 
#
 
# This program is distributed in the hope that it will be useful,
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
# GNU General Public License for more details.
 
#
 
# You should have received a copy of the GNU General Public License
 
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
"""
 
kallithea.tests.test_scm_operations
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 

	
 
Test suite for making push/pull operations.
 
Run using after doing paster serve test.ini::
 
 RC_WHOOSH_TEST_DISABLE=1 RC_NO_TMP_PATH=1 nosetests kallithea/tests/other/test_vcs_operations.py
 
 KALLITHEA_WHOOSH_TEST_DISABLE=1 KALLITHEA_NO_TMP_PATH=1 nosetests kallithea/tests/other/test_vcs_operations.py
 

	
 
You must have git > 1.8.1 for tests to work fine
 

	
 
:created_on: Dec 30, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 

	
 
"""
 

	
 
import tempfile
 
import time
 
from os.path import join as jn
 

	
 
from tempfile import _RandomNameSequence
 
from subprocess import Popen, PIPE
 

	
 
from kallithea.tests import *
 
from kallithea.model.db import User, Repository, UserIpMap, CacheInvalidation
 
from kallithea.model.meta import Session
 
from kallithea.model.repo import RepoModel
 
from kallithea.model.user import UserModel
 

	
 
DEBUG = True
 
HOST = '127.0.0.1:5000'  # test host
 

	
 

	
 
class Command(object):
 

	
 
    def __init__(self, cwd):
 
        self.cwd = cwd
 

	
 
    def execute(self, cmd, *args):
 
        """
 
        Runs command on the system with given ``args``.
 
        """
 

	
 
        command = cmd + ' ' + ' '.join(args)
 
        if DEBUG:
 
            print '*** CMD %s ***' % command
 
        p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE, cwd=self.cwd)
 
        stdout, stderr = p.communicate()
 
        if DEBUG:
 
            print stdout, stderr
 
        return stdout, stderr
 

	
 

	
 
def _get_tmp_dir():
kallithea/tests/scripts/test_crawler.py
Show inline comments
 
@@ -17,104 +17,104 @@ kallithea.tests.test_crawer
 

	
 
Test for crawling a project for memory usage
 
This should be runned just as regular script together
 
with a watch script that will show memory usage.
 

	
 
watch -n1 ./kallithea/tests/mem_watch
 

	
 
:created_on: Apr 21, 2010
 
:author: marcink
 
:copyright: (c) 2013 RhodeCode GmbH.
 
:license: GPLv3, see LICENSE for more details.
 
"""
 

	
 

	
 
import cookielib
 
import urllib
 
import urllib2
 
import time
 
import os
 
import sys
 
from os.path import join as jn
 
from os.path import dirname as dn
 

	
 
__here__ = os.path.abspath(__file__)
 
__root__ = dn(dn(dn(__here__)))
 
sys.path.append(__root__)
 

	
 
from kallithea.lib import vcs
 
from kallithea.lib.compat import OrderedSet
 
from kallithea.lib.vcs.exceptions import RepositoryError
 

	
 
PASES = 3
 
HOST = 'http://127.0.0.1'
 
PORT = 5000
 
BASE_URI = '%s:%s/' % (HOST, PORT)
 

	
 
if len(sys.argv) == 2:
 
    BASE_URI = sys.argv[1]
 

	
 
if not BASE_URI.endswith('/'):
 
    BASE_URI += '/'
 

	
 
print 'Crawling @ %s' % BASE_URI
 
BASE_URI += '%s'
 
PROJECT_PATH = jn('/', 'home', 'marcink', 'repos')
 
PROJECTS = [
 
    #'linux-magx-pbranch',
 
    'CPython',
 
    'rhodecode_tip',
 
    'kallithea',
 
]
 

	
 

	
 
cj = cookielib.FileCookieJar('/tmp/rc_test_cookie.txt')
 
o = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj))
 
o.addheaders = [
 
    ('User-agent', 'rhodecode-crawler'),
 
    ('User-agent', 'kallithea-crawler'),
 
    ('Accept-Language', 'en - us, en;q = 0.5')
 
]
 

	
 
urllib2.install_opener(o)
 

	
 

	
 
def _get_repo(proj):
 
    if isinstance(proj, basestring):
 
        repo = vcs.get_repo(jn(PROJECT_PATH, proj))
 
        proj = proj
 
    else:
 
        repo = proj
 
        proj = repo.name
 

	
 
    return repo, proj
 

	
 

	
 
def test_changelog_walk(proj, pages=100):
 
    repo, proj = _get_repo(proj)
 

	
 
    total_time = 0
 
    for i in range(1, pages):
 

	
 
        page = '/'.join((proj, 'changelog',))
 

	
 
        full_uri = (BASE_URI % page) + '?' + urllib.urlencode({'page': i})
 
        s = time.time()
 
        f = o.open(full_uri)
 

	
 
        assert f.url == full_uri, 'URL:%s does not match %s' % (f.url, full_uri)
 

	
 
        size = len(f.read())
 
        e = time.time() - s
 
        total_time += e
 
        print 'visited %s size:%s req:%s ms' % (full_uri, size, e)
 

	
 
    print 'total_time', total_time
 
    print 'average on req', total_time / float(pages)
 

	
 

	
 
def test_changeset_walk(proj, limit=None):
 
    repo, proj = _get_repo(proj)
 

	
 
    print 'processing', jn(PROJECT_PATH, proj)
 
    total_time = 0
 

	
 
    cnt = 0
 
    for i in repo:
test.ini
Show inline comments
 
@@ -343,99 +343,99 @@ errormator.environ_keys_whitelist =
 
## (by default client will always blank keys that contain following words
 
## 'password', 'passwd', 'pwd', 'auth_tkt', 'secret', 'csrf'
 
## this list be extended with additional keywords set here
 
errormator.request_keys_blacklist =
 

	
 

	
 
## list of namespaces that should be ignores when gathering log entries
 
## can be string with comma separated list of namespaces
 
## (by default the client ignores own entries: errormator_client.client)
 
errormator.log_namespace_blacklist =
 

	
 

	
 
################
 
### [sentry] ###
 
################
 

	
 
## sentry is a alternative open source error aggregator
 
## you must install python packages `sentry` and `raven` to enable
 

	
 
sentry.dsn = YOUR_DNS
 
sentry.servers =
 
sentry.name =
 
sentry.key =
 
sentry.public_key =
 
sentry.secret_key =
 
sentry.project =
 
sentry.site =
 
sentry.include_paths =
 
sentry.exclude_paths =
 

	
 

	
 
################################################################################
 
## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*  ##
 
## Debug mode will enable the interactive debugging tool, allowing ANYONE to  ##
 
## execute malicious code after an exception is raised.                       ##
 
################################################################################
 
set debug = false
 

	
 
##################################
 
###       LOGVIEW CONFIG       ###
 
##################################
 
logview.sqlalchemy = #faa
 
logview.pylons.templating = #bfb
 
logview.pylons.util = #eee
 

	
 
#########################################################
 
### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG    ###
 
#########################################################
 
sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode_test.sqlite
 
#sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/rhodecode_test
 
#sqlalchemy.db1.url = mysql://root:qwe@localhost/rhodecode_test
 
sqlalchemy.db1.url = sqlite:///%(here)s/kallithea_test.sqlite
 
#sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/kallithea_test
 
#sqlalchemy.db1.url = mysql://root:qwe@localhost/kallithea_test
 
sqlalchemy.db1.echo = false
 
sqlalchemy.db1.pool_recycle = 3600
 
sqlalchemy.db1.convert_unicode = true
 

	
 
################################
 
### LOGGING CONFIGURATION   ####
 
################################
 
[loggers]
 
keys = root, routes, rhodecode, sqlalchemy, beaker, templates, whoosh_indexer
 

	
 
[handlers]
 
keys = console, console_sql
 

	
 
[formatters]
 
keys = generic, color_formatter, color_formatter_sql
 

	
 
#############
 
## LOGGERS ##
 
#############
 
[logger_root]
 
level = DEBUG
 
handlers = console
 

	
 
[logger_routes]
 
level = DEBUG
 
handlers =
 
qualname = routes.middleware
 
## "level = DEBUG" logs the route matched and routing variables.
 
propagate = 1
 

	
 
[logger_beaker]
 
level = DEBUG
 
handlers =
 
qualname = beaker.container
 
propagate = 1
 

	
 
[logger_templates]
 
level = INFO
 
handlers =
 
qualname = pylons.templating
 
propagate = 1
 

	
 
[logger_rhodecode]
 
level = DEBUG
 
handlers =
 
qualname = rhodecode
 
propagate = 1
 

	
tox.ini
Show inline comments
 
deleted file
0 comments (0 inline, 0 general)