Marcin Kuzminski
6eb717f1f4
static: bring back ver=XXX for proper flushing caches when version is upgraded.
...
Fixes #4143
2016-08-02 21:39:37 +02:00
Marcin Kuzminski
d913d42db0
tests: added some additional tests for commit comments.
...
- rename how those tests are called
2016-08-02 21:25:16 +02:00
Marcin Kuzminski
b18ee01570
tests: adjust tests after email changes.
2016-08-02 12:43:19 +02:00
Marcin Kuzminski
198c6fda61
gists: use colander schema to validate input data.
...
- brings consistent validation acros API and web
- use nicer and stricter schemas to validate data
- fixes #4118
2016-07-31 20:11:12 +02:00
lisaq
812caf6693
notifications: adjusting tests
2016-07-28 15:18:17 +02:00
Marcin Kuzminski
708038952c
db: always use Session() for compatibility, Using Session is actually the
...
scoped_session which is not the same as the one which we "call".
More here: http://docs.sqlalchemy.org/en/latest/orm/contextual.html#contextual-thread-local-sessions
2016-07-27 00:42:19 +02:00
Martin Bornhold
bee42a50ed
auth: Fix renaming of 'auth_cahe_ttl' to 'cache_ttl' #4127
2016-07-27 15:54:42 +02:00
Martin Bornhold
873a0753a5
tests: Fix a helper method that checks if a repository is available on filesystem.
...
- Moved it into utils to remove duplication
- Refactored it to not hide all kinds of exceptions.
2016-07-21 09:06:47 +02:00
Martin Bornhold
eca6c8ea01
tests: Fixed ecpected results.
2016-07-19 15:12:02 +02:00
Martin Bornhold
9e7f173d13
tests: Add new argument to tests using '_create_reference_data' method.
2016-07-19 11:42:38 +02:00
Martin Bornhold
c86781e72f
tests: Add new argument to tests using '_create_reference_items' method.
2016-07-19 11:39:42 +02:00
Martin Bornhold
43ca1aab8a
tests: Add new argument to tests using '_create_files_url' method.
2016-07-19 11:36:33 +02:00
Marcin Kuzminski
a03e4a88f9
tests: marked some xfail tests that are now working
2016-07-14 14:17:34 +02:00
Marcin Kuzminski
f48e94aa14
file-browser: refactor how we load metadata for file trees.
...
Before we used to use JSON data to map the nodes to json and fill in
metadata. Now we use rendered parts of html. This is nicer for caching as
it would allow us to replace the view with cached tree and then after ajax load
replace it again with cached with metadata. On the next request we'll
get the cached with metadata and thus we can skip entirely second
ajax call for metadata.
This is part of #4083
2016-07-12 11:45:51 +02:00
Martin Bornhold
d7bec50fc7
tests: Fix test that modifies test repo settings.
...
This test now creates it's own repo to modify the repo vcs settings.
Instead of modifying the settings of the vcs_test_repo which is used
in other tests again.
2016-07-08 08:34:12 +02:00
Martin Bornhold
834f1a2fdb
tests: Fix tests for moved labs setting.
...
The labs setting for hg rebase merge strategy was moved from global labs
settings to the vcs settings.
2016-07-06 11:05:13 +02:00
Martin Bornhold
8898e68d64
tests: Test the hg rebase setting on repo vcs setings page.
2016-07-06 10:41:15 +02:00
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
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
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
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
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
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