Marcin Kuzminski
df27625f07
exceptions: use python3 compatible exception handling
2018-10-02 11:03:22 +02:00
Daniel Dourvaris
1db967ddb0
tests: fixed some pytest deprecated calls, and warnings.
2018-10-01 12:23:47 +02:00
Marcin Kuzminski
5a4a98b40e
git: use a fetch_sync based creation of remote repos.
...
- skips fragile dulwich code that has problems with large repos
- is in sync with logic that does remote fetch
- is faster and more efficient
2018-09-21 13:35:45 +02:00
Marcin Kuzminski
da91bab5d6
validators: fix url_validator tests and make it flag controllable.
2018-09-19 10:52:06 +02:00
Marcin Kuzminski
1f39d62f74
comments: use proper auth user for close PR action.
2018-09-18 09:49:18 +02:00
Marcin Kuzminski
9033601562
logging: use lazy parameter evaluation in log calls.
2018-09-13 17:41:35 +02:00
Marcin Kuzminski
f0ff76a829
core: use py3 compatible prints
2018-09-12 09:47:41 +02:00
Marcin Kuzminski
0a46b5b550
docs: fixed not supported code-block
2018-09-10 18:59:36 +02:00
Marcin Kuzminski
6458ef9105
pull-requests: add merge validation to prevent merges to protected branches.
2018-08-28 20:24:40 +02:00
Marcin Kuzminski
ecff3dbaed
security: update lastactivity when on audit logs.
...
- The previous update on each call was to expensive and created lot of DB locks in high traffic env
2018-07-31 22:52:44 +02:00
Marcin Kuzminski
f74691150a
api: allow updates and setting description renderer for pull requests via the API.
2018-07-17 13:30:50 +02:00
Marcin Kuzminski
d576848d4a
api: creation of pull_request now honor additional reviewers when using reviewer rules.
2018-07-12 14:10:29 +02:00
Marcin Kuzminski
239874ceca
api: pull-requests fixed logic of ancestor calculation and target ref calculation based on the web view.
2018-07-11 17:27:30 +02:00
Marcin Kuzminski
f3d4446814
api: pull-requests allow automatic title generation via API
2018-07-11 13:46:16 +02:00
Marcin Kuzminski
84767c858f
api: fixed ordering of commits in PR creation from API
2018-07-11 10:36:12 +02:00
Marcin Kuzminski
9812f0cbda
api: fixed recursive permissions changes to repo group.
...
- fixes #5489
2018-07-10 22:39:57 +02:00
Marcin Kuzminski
42c80fe075
shadow-repos: use numeric repo id for creation of shadow repos.
...
- Fixes a problem after rename or move into repository group.
2018-06-21 14:04:06 +02:00
Marcin Kuzminski
b058fefee1
audit-logs: use auth_user in few places to track action IP.
2018-06-12 18:29:54 +02:00
Marcin Kuzminski
1a717208f4
audit-logs: store properly IP and user for certain comments types.
...
- before mostly IP could be missing from audit log data.
2018-04-26 00:59:07 +02:00
Marcin Kuzminski
a18e6c482e
api: added audit logs for user-group related calls.
...
- fixes #5461
2018-04-18 00:49:00 +02:00
Marcin Kuzminski
ce45596b35
api: fixed problems with repository fork/create using celery backend.
...
- fixes #5462
2018-04-16 08:54:15 +02:00
Marcin Kuzminski
bdf5f0afb6
svn: enable hooks and integration framework execution.
...
- This change will allow SVN to execute rhodecode integration framework
via executing the builting hooks.
- uses txn_id for svn to provide metadata required via Apache
- Interception of SVN transaction is required to use temporary stores for metadata
- hooks are now part of vcsserver where the install/control logic is stored
2018-04-06 12:44:01 +02:00
Marcin Kuzminski
89d8b3cb21
api: security, fix problem when absolute paths are specified with API call, that would allow
...
forking of path based repos if paths are known to end users.
2018-03-28 21:56:23 +02:00
Marcin Kuzminski
3949688b3d
api: enable setting sync flag for user groups on create/edit.
2018-03-28 13:27:21 +02:00
Marcin Kuzminski
4c3c5b0e21
api: update pull method with possible specification of the url
2018-02-13 18:31:43 +01:00
Marcin Kuzminski
5f25ae601e
repositories: allow properly updating repository push url.
2018-02-12 14:14:33 +01:00
Marcin Kuzminski
c0a9856496
api: fixed problem with setting repo group description via API.
...
- fixes #5423
2018-01-22 16:17:33 +01:00
Marcin Kuzminski
00b45c1fa7
release: update copyright year to 2018
2018-01-19 17:13:16 +01:00
Marcin Kuzminski
6f2703e4af
default-reviewers: introduce new voting rule logic that allows
...
defining vote rules for user groups assigned to the default reviewers.
- allows to set per number votes on user groups
- group reviewers by groups
- store the rules and show them in the UI
- fixes #5409
2018-01-19 12:38:25 +01:00
Marcin Kuzminski
d3c3b68b31
api: fixed tests and update docstrings.
2017-12-06 00:07:54 +01:00
Marcin Kuzminski
bd6d47475c
api: add consistent permissions_summary data for both user and user_groups that expose
...
the summary of permissions for each object.
- deprecates the 'permissions' data key for get_user
- adds a consistent way of fetching permissions summary for both objects.
2017-12-05 23:12:06 +01:00
Marcin Kuzminski
492eb8ed84
api: deprecation, of members attribute that is replaced now with permissions returning a set of permissions
...
for repo/repo group/user group.
2017-12-05 23:00:48 +01:00
Marcin Kuzminski
bc23ad316c
api: pull-requests, make the repoid parameter optional. Because pullrequestid is global
...
we don't want to complicate things more by requiring repoid. Left for backward compat.
2017-11-23 21:14:04 +01:00
Marcin Kuzminski
b809d00f88
api: pull-requests added option to fetch comments from a pull requests.
...
- fixes #5398
2017-11-23 20:08:46 +01:00
Marcin Kuzminski
6bbab12fcc
celery: celery 4.X support. Fixes #4169
...
- update tasks
- enabled celerybeat to function
- check and cleanup code for 4.X
2017-11-16 19:26:53 +01:00
Marcin Kuzminski
1d332c03ad
pylons: fixed code and test suite after removal of pylons.
2017-11-16 18:27:09 +01:00
Marcin Kuzminski
5f9ae2ae11
pylons: remove pylons as dependency
...
- dependencies: bumped:
-setuptools-scm==1.15.6
-celery==4.1.0
-kombu==4.1.0
-pytz==2017.3
-Routes==2.4.1
Removed all pylons components. Refactored the code to use only pyramid
parts
2017-11-15 13:42:54 +01:00
Marcin Kuzminski
ec6a342178
vcs: commits, expose refs function to fetch commit refereces such as tags, bookmarks, etc.
2017-11-09 19:49:29 +01:00
Marcin Kuzminski
27aff1de7a
pull-requests: trigger merge simulation during PR creation. Fixes #5396
2017-10-12 20:57:02 +02:00
Marcin Kuzminski
24a6e0ad1a
user-groups-audit: properly link to user_group when doing api actions
...
of remove and add an user on user group.
2017-09-20 20:27:28 +02:00
Marcin Kuzminski
034abca8dc
ssh: embedded ssh support
...
- updated command generation and added debug flag
- updated .ini config to have ALL required components to run SSH commands
- rcssh-wrapper now is embedded and pinned into version of enterprise
- update ssh_support configration
- implements #5343
2017-08-18 14:32:00 +02:00
Marcin Kuzminski
ee0e7c21f8
users: make AuthUser propert a method, and allow override of params.
2017-08-03 20:17:46 +02:00
Marcin Kuzminski
b203d5f208
pull-requests: migrated code from pylons to pyramid
2017-07-27 11:30:55 +02:00
Marcin Kuzminski
708f22ac87
db: use unicode for some of the defaults to reduce sqlalchemy warnings.
2017-07-26 12:14:56 +02:00
Marcin Kuzminski
41cafab139
core: always attach pyramid context into request
...
- this will be the default way of replacing tempalte_context globals from pylons
- helps remove of old style PartialRenderer
2017-07-08 15:25:54 +02:00
Daniel Dourvaris
93b6dfba9a
gists: migrated gists controller to pyramid view.
2017-07-07 12:05:30 +02:00
Marcin Kuzminski
9c7ed2caf3
user-api: use simple schema validator to be consistent how we validate between API and web views.
2017-06-21 15:36:24 +02:00
Marcin Kuzminski
749f784ad9
user-group-api: use simple schema validator to be consistent how we validate
...
user group names during creation between API and WEB.
2017-06-21 13:28:12 +02:00
Marcin Kuzminski
25436a7365
audit-logs: implemented full audit logs across application.
...
- Fixes #5321
- Api+web actions
- To be extended while we develop new features.
2017-06-21 12:03:14 +02:00
Marcin Kuzminski
926a79e98e
audit-logs: implemented pull request and comment events.
2017-06-17 15:22:50 +02:00