Commit graph

19 commits

Author SHA1 Message Date
Marcin Kuzminski
3d3f2db34a core: removed pyro4 from Enterprise code. Fixes #5198 2017-02-07 15:58:49 +01:00
Marcin Kuzminski
05d89e4d2c tests: fixed tests after removing hardcoded timezone in tests. 2017-01-24 15:30:10 +01:00
Marcin Kuzminski
b52808ca95 comments: renamed ChangesetCommentsModel to CommentsModel to reflect what it actually does.
It's not limited to Changesets/Commits.
2017-01-09 17:52:00 +01:00
Marcin Kuzminski
fcc027c282 license: updated copyright year to 2017 2017-01-02 09:30:39 +01:00
Marcin Kuzminski
707e498026 tests: added creation of repos for user-util fixture. 2016-12-29 14:32:00 +01:00
Marcin Kuzminski
90deb7d32c vcs-server: expose remote tracebacks from http backend using the Pyro4AwareFormatter. 2016-12-21 12:43:47 +01:00
Marcin Kuzminski
4a415909c6 tests: use custom test app for better debug of .mustcontain function.
- now output of html of .mustcontain we save as physical files.
2016-12-21 19:32:41 +01:00
Marcin Kuzminski
1f5e0d3d8d tests: sanitize temp group name to conform with our schema validators that clear
the special chars out.
2016-11-17 13:01:19 +01:00
Marcin Kuzminski
cbafa9652e user-groups: new selector for user group memebers.
- removed old two column selector in replacement of autocomplete list
- scales much better for alrge number of users
- still allows to select single users and user groups
- fixes #4291 (user group shows only username in members)
2016-11-06 16:01:21 +01:00
Martin Bornhold
a9a4e32eed subprocess: Change all imports from subprocess -> subprocess32 2016-10-14 09:37:44 +02:00
Martin Bornhold
7eeedebf7b tests: Add a `db` fixture that initializes the database.
This is quite useful if tests only need the database and not the whole app.
Then only this fixture is needed instead of the full blown pylonsapp/app fixtures.
2016-09-27 09:48:23 +02:00
Daniel Dourvaris
3469c46507 integrations: add recursive repo group scope to allow integrations
to cascade into all descendant repositories, fixes #4225
2016-09-14 05:38:21 +03:00
Johannes Bornhold
5d40a9e6e8 tests: Add vcsbackend_stub as a new fixture
Corresponding to backend_stub.
2016-09-07 18:02:29 +02:00
Johannes Bornhold
5f331cc67d tests: Extend vcsbackend - create repo with commits
Moved logic from "backend" into a function, so that it can be used for both
"backend" and "vcsbackend".
2016-09-07 17:29:34 +02:00
Daniel Dourvaris
83b8750461 integrations: refactor/cleanup + features, fixes #4181
* added scopes on integrations, scopes are:
    - repo only
    - repogroup children only
    - root repos only
    - global (any repo)
* integrations schemas now have separate section for the
  settings (eg. slack) and options (eg. scope/enabled)
* added descriptions to integration types
* added icons to integration types
* added 'create new' integration page
* added scope of integration to integrations list
* added breadcrumbs for each repo/repogroup/global integrations pages
* added sorting to integrations list
* added pagination to integrations list
* added icons to integrations list
* added type filter to integrations list
* added message to integrations list if none we found
* added extra permissions check on integrations views
* db migration from 56 => 57 - adds child_repos_only field
* added tests for integrations triggered on events
* added tests for integrations schemas
* added tests for integrations views for repo/repogroup/admin
2016-08-26 11:19:55 +03:00
Martin Bornhold
24d3455854 tests: Add a fixture to get the settings dict. 2016-08-08 15:02:12 +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
ae1070b18a tests: Add an autouse fixture to patch the pyro proxy factory. 2016-07-04 15:46:29 +02:00
Marcin Kuzminski
9a0d8c0b77 project: added all source files and assets 2016-05-24 15:56:53 +02:00