Martin Bornhold
b4ff4dfd33
tests: Add test to check that the rebase-merge setting is available on hg repos.
2016-07-05 16:49:19 +02:00
Martin Bornhold
0f767f23a4
settings: Remove obsolete VCS config value HG_USE_REBASE_FOR_MERGING
2016-06-27 13:30:27 +02:00
Marcin Kuzminski
9763f430b4
tests: fixed test after update of cs cache changes.
2016-07-04 23:55:36 +02:00
Martin Bornhold
ae1070b18a
tests: Add an autouse fixture to patch the pyro proxy factory.
2016-07-04 15:46:29 +02:00
Daniel Dourvaris
dfa2ef3a7f
scm: add tests for .mark_for_invalidation(delete=True)
2016-07-01 15:21:08 +03:00
Marcin Kuzminski
68bbf9bd37
caches: make sure __repr__ of invalidaiton context always return strings.
...
- this is a part of python specs, otherwise we potentially can cause
UnicodeDecodeErrors
2016-06-28 16:58:55 +02:00
Martin Bornhold
28f81cadd3
tests: Add session factory fixture and use it in tests.
2016-06-28 13:52:33 +02:00
Martin Bornhold
ce59485a70
tests: Adapt vcs test to check that the session factory returns the same session object.
2016-06-28 13:36:11 +02:00
Marcin Kuzminski
594836b691
merged stable into default
2016-06-28 12:41:11 +02:00
Marcin Kuzminski
772de504bb
encryption: Implement a slightly improved AesCipher encryption.
...
This addresses issues from #4036
- we use a backward compatible cipher that can implement HMAC signature
- with HMAC signature we can detected mangled data or wrong secret key
- this allows more explicit errors than UnicodeDecode errors
- added a new .ini values that controls strict mode
2016-06-27 19:26:03 +02:00
Marcin Kuzminski
16a626ce44
refactor: renamed get_first_admin to get_first_super_admin which
...
reflects better what kind of user we're fetching.
2016-06-28 01:24:24 +02:00
Marcin Kuzminski
ad176ab69b
tests: fixed home tests with cached values
2016-06-28 00:14:31 +02:00
Marcin Kuzminski
b2175b8e8c
tests: fixed pull requests my account tests.
2016-06-27 22:20:43 +02:00
Marcin Kuzminski
449905939f
tests: fixed mock test for utils2
2016-06-27 19:52:43 +02:00
Marcin Kuzminski
c7b2b53fff
tests: fixed tests for helpers.
2016-06-27 19:48:37 +02:00
Johannes Bornhold
8a9ef796fc
svn: Avoid chunked transfer for Subversion
2016-06-21 17:12:28 +02:00
Daniel Dourvaris
e624141d32
tests: fix admin users groups tests
2016-06-09 07:41:46 +03:00
Johannes Bornhold
5b843106a1
tests: Adapt test to new mercurial version (3.8.2)
...
Mercurial changed their diff algorithm a little bit which leads to
one more added and delted line. But the result is the same.
2016-06-08 14:37:37 +02:00
Daniel Dourvaris
1536e48bab
refactor: remove old error controller, which has been replaced by pyramid
2016-06-22 12:39:11 +03:00
Marcin Kuzminski
14cb9ac285
ldap-auth: fixed wrong Missing check
2016-06-08 14:03:02 +02:00
Daniel Dourvaris
be2bf30c95
permissions: show overridden permissions in permission summary page
2016-06-06 05:58:37 +03:00
Daniel Dourvaris
2e53340908
admin: in usergroups admin allow prefiltering the list of users
...
based on an autocomplete query. also updated a couple tests which
were not testing correct response.
2016-06-02 19:38:51 +03:00
Johannes Bornhold
34e4405019
tests: Adapt test to changed template.
2016-06-03 08:37:08 +02:00
Daniel Dourvaris
c683b5b179
feature: Go To switcher now searches commit hashes as well
2016-05-30 16:05:27 +03:00
Marcin Kuzminski
d36e50102c
autocomplete: allow to pass in a GET flag to control if non-active users should be returned in
...
autocomplete data.
2016-06-18 14:43:33 +02:00
Martin Bornhold
5f898873c6
oss-licenses: Remove unused pytest fixture from tests.
2016-06-17 13:49:12 +02:00
Martin Bornhold
04da84dec0
oss-licenses: Fix tests for open source licenses view.
2016-06-17 11:10:19 +02:00
Martin Bornhold
5fc4f49d3a
pytest: Remove unused repository archives.
...
These are now moved to the rc_testdata package.
2016-06-17 10:07:14 +02:00
Daniel Dourvaris
ad8747e7bf
tests: fix disable_vcs tests
2016-06-14 10:40:02 +03:00
Daniel Dourvaris
2fc47913e5
search: add syntax highlighting, line numbers and line context
...
to file content search results
2016-05-30 07:15:12 +03:00
Johannes Bornhold
6a540aa6fa
pytest: Fix the user login function.
...
- Pyramid doesn't expose the session as pylons does it as `response.session`
- Therefore we have to look it up in the environ.
2016-05-25 16:50:48 +02:00
Johannes Bornhold
9f6ff5bd02
pytest: Use hardcoded login URLs in tests.
...
- It's not so easy to use pyramids URL generation methods from within the tests.
- Therfore we hardcode the URLs.
2016-05-25 16:46:10 +02:00
Johannes Bornhold
16c3f13f3e
pytest: Remove oauth related tests.
2016-05-25 13:38:59 +02:00
Marcin Kuzminski
9a0d8c0b77
project: added all source files and assets
2016-05-24 15:56:53 +02:00