Commit graph

31 commits

Author SHA1 Message Date
Marcin Kuzminski
69a865a7a3 repo-groups: moved to pyramid 2017-10-17 14:06:51 +02:00
Marcin Kuzminski
cfe326566d helpers: remove usage of pylons session. 2017-09-19 17:11:48 +02:00
Marcin Kuzminski
17359c262c integrations: rewrote usage of pylons components inside integrations.
- added better auth decorators as used in other parts of the app
- fixed tests
- refactored the code to match other parts better (repo_route/repo_group_route)
2017-08-01 23:11:49 +02:00
Marcin Kuzminski
926a79e98e audit-logs: implemented pull request and comment events. 2017-06-17 15:22:50 +02:00
Marcin Kuzminski
53b4ac98f8 repo-summary: re-implemented summary view as pyramid.
- changed exception handler, to now work in pure pyramid mode
- changed missing requirements logic on repo based views that require vcs-connection
2017-06-07 13:23:21 +02:00
Marcin Kuzminski
71fee00277 home: moved home and repo group views into pyramid.
- fixed lots of tests related to those changes
- now main and subrepo group views are handled by pyramid.
2017-06-05 15:16:04 +02:00
Marcin Kuzminski
bd1e865c9c pull-request: extended default reviewers functionality.
- added mandatory reviewers JS logic Fixes: #4219
- added option to forbid author to be a reviewer via JS/Frontend checks. Fixes #5190
- added option to forbid adding new reviewers except those defined. Fixes #5208
2017-05-29 20:10:17 +02:00
Marcin Kuzminski
91c104ae49 largefiles: enabled download of largefiles for git and mercurial from web interface.
- fixes #2817
2017-03-27 14:00:36 +02:00
Marcin Kuzminski
93ddba11a8 tests: allow specifing repo_type in user_util create_repo 2017-03-21 11:55:21 +01:00
Marcin Kuzminski
f7aa78c7e1 git-lfs: streaming support for file upload.
- ref #4235
2017-03-21 14:37:47 +01:00
Marcin Kuzminski
ae271af5cc tests: moved tests of admin user auth tokens into pyramid apps. 2017-03-08 11:46:43 +01:00
Marcin Kuzminski
80c27a98f8 tests: improved test utils.
- better assert errors
- allow owner to be set consistently
2017-02-14 12:02:50 +01:00
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