Commit graph

1795 commits

Author SHA1 Message Date
Daniel Dourvaris
930c7eebbd api: attach the call context variables to request for later usage
in API calls.
2017-06-14 11:07:54 +02:00
Daniel Dourvaris
091c9d9d99 pull-requests: make sure to skip duplicates of reviewers via PR create method. 2017-06-14 00:15:06 +02:00
Marcin Kuzminski
5915f38fcf pull-request-api: updated logic of closing a PR via API call.
- consistent logic via web and API
- updated events
- updated proper close checks.
2017-06-13 00:14:21 +02:00
Marcin Kuzminski
f11a476967 auth: prepare code for removal of pylons request in pyramid migration. 2017-06-09 12:01:44 +02:00
Marcin Kuzminski
1e5838512f auth: use pyramid only redirections. 2017-06-08 22:44:21 +02:00
Marcin Kuzminski
7e11e618ca events: re-organizate events handling.
- pass in request from event to url functions to skip request lookup
- added some logging
- prepared for pyramid migration
2017-06-08 21:37:34 +02:00
Marcin Kuzminski
47f9f32ad9 events: expose permalink urls for different set of object.
- permalink url should provide a non-changeable url that can be used in
external sources with guarantee of beeing always valid.
2017-06-08 16:11:33 +02:00
Marcin Kuzminski
36f3dd22fb review-rules: extend code to support the forbid commit authors. 2017-06-08 13:39:54 +02:00
Marcin Kuzminski
53d41696e0 pull-requests: expose author in creation view to be consistent with show view. 2017-06-07 14:35:27 +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
3d2de9920e docs: updated info about client usage. 2017-06-07 09:26:39 +02:00
Marcin Kuzminski
3ab227d76c navigation: remove # from url in options navigation entry.
- leaving '#' in url is not good behaviour, and menulink class prevents the click anyway.
2017-06-06 14:12:49 +02:00
Marcin Kuzminski
fc4694f91f pyramid: removed pylons reference from apps.
- this can be completly removed from those views as they are pyramid only.
2017-06-06 13:35:05 +02:00
Marcin Kuzminski
95eeb93a9a security: fixed tests. 2017-06-06 13:34:22 +02:00
Marcin Kuzminski
9757a7c0c3 security: escape always the provided user data like firstname/lastname. 2017-06-06 11:59:46 +02:00
Marcin Kuzminski
dc01a7b739 security: fixed XSS inside the tooltip for author string. 2017-06-06 09:30:12 +02:00
Marcin Kuzminski
18a356ec2a predicates: skip route matching for vcs type calls. 2017-06-05 22:23:30 +02:00
Marcin Kuzminski
50a0a1e75a emails: fixed qualified url in user registration email. 2017-06-05 20:04:28 +02:00
Marcin Kuzminski
6680a287da core: improve attach context attribute to rely strictly on already provided user. 2017-06-05 19:22:27 +02:00
Marcin Kuzminski
6a85677174 auth: re-use the get_current_request in fetching request in decorators.
- will later help porting to pyramid
2017-06-05 19:18:37 +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
d47af44f72 nix: update default.nix to be consistent with ordering with vcsserver. 2017-06-05 15:24:11 +02:00
Marcin Kuzminski
587e36d745 auth-plugins: updated description on auth_ldap plugin servers. 2017-06-01 12:46:15 +02:00
Marcin Kuzminski
55120caf0e reviewers: store additional review data.
G: changed rhodecode/model/db.py
2017-06-05 17:09:03 +02:00
Marcin Kuzminski
a27df6ef4a features: show new review rules in CE default reviewers 2017-05-30 16:01:56 +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
83187d1dfc user-autocomplete: allow skipping default user. 2017-05-29 09:48:29 +02:00
Marcin Kuzminski
98243a5812 reviewers: moved the new v1 api of default reviewers into pyramid view.
- updated schema
- updated logic of routing so EE can override it.
2017-05-26 12:37:48 +02:00
Marcin Kuzminski
be41f0b920 pull-requests: moved the listing of pull requests for repo into pyramid.
- moved as datagrid App
- changed loading of grid to lazy, as other new views.
2017-05-29 20:58:42 +02:00
Marcin Kuzminski
d0e3f7b137 maintenance: added svn verify command to tasks to be able to verify
the filesystem and repo formats.
2017-05-26 13:02:12 +02:00
Marcin Kuzminski
6ad32c57ea permissions: move refresh operation as a flag to the get_default_user
function
2017-05-26 12:46:02 +02:00
Marcin Kuzminski
c4d8a9cccf templates: expose default user data into templates for JS usage. 2017-05-26 12:40:09 +02:00
Marcin Kuzminski
58d7ad084c log-in: changed naming from log-in to sign in for consistency with other text. 2017-05-26 12:38:36 +02:00
Marcin Kuzminski
2f81e258a7 webhook: enable support of extra repo variables as replacement in template url. 2017-05-29 23:17:17 +02:00
Marcin Kuzminski
67377b4a77 tests: fix the markdown redirection link after their change to HTTPS 2017-05-29 12:58:09 +02:00
Marcin Kuzminski
51775c0669 pull-requests: fixed translation of error messages via merge-api.
- fixes #5325
2017-05-29 20:00:38 +02:00
Marcin Kuzminski
7216dd64ff audit-logs: introduced new view to replace admin journal.
- audit logs will represent the all important actions made inside the system
- raw view visible for super-admins
2017-05-19 10:33:10 +02:00
Marcin Kuzminski
1e57ca4444 audit-logs: deprecated archive download info from audit logs. 2017-05-18 13:18:27 +02:00
Marcin Kuzminski
0465149479 core: moved channelstream test into pyramid. 2017-05-18 13:37:03 +02:00
Marcin Kuzminski
b942ed82f2 hooks: expose refs on push.
- allows easier pull request creation
2017-05-17 22:17:09 +02:00
Marcin Kuzminski
726bc5aba8 hooks: deprecate old action_logger 2017-05-17 16:42:00 +02:00
Marcin Kuzminski
59200825e3 hooks: added pushkey Mercurial hook.
- This will be needed to extract pushed Bookmarks.
2017-05-17 16:24:34 +02:00
Marcin Kuzminski
5c453c1cb6 audit-logger: unify calls to repo.delete and also store source of call, api/web. 2017-05-16 14:48:07 +02:00
Marcin Kuzminski
208136ab4d repo-settings: moved advanced setion into pyramid views.
- improved delete method, and actions.
2017-05-16 12:43:58 +02:00
Marcin Kuzminski
27a8d62042 admin: fix wrong ext_json import from tools. 2017-05-16 21:26:18 +02:00
Marcin Kuzminski
1f812d6a5e caches: ensure we don't use non-ascii characters in cache keys.
- this could before lead to problems in beaker cache implementation.
2017-05-15 22:10:36 +02:00
Marcin Kuzminski
b2cfc90822 error-document: make sure the error document has registered helpers,
and uses only pyramid mechanics.

- in some edge cases the renderer_globals are not called and
we cannot rely on them
- this should be a purely pyramid view not relying on any of pylons
left overs.
2017-05-15 18:29:18 +02:00
Marcin Kuzminski
e4c938f836 login: add link when using external auth to make it easier to login using oauth providers. 2017-05-12 19:11:36 +02:00
Marcin Kuzminski
ca6ba228c3 tags/branches/bookmarks: moved views into pyramid. 2017-05-12 16:23:26 +02:00
Marcin Kuzminski
ddf67dbb5b repo-settings: unify the URL schemas and always use settings/ for repo based
urls.
2017-05-12 11:55:07 +02:00