RhodeCode Admin
bc8d59f1a7
metrics: use prom metrics, and added some additional metrics
2022-10-25 13:08:47 +02:00
RhodeCode Admin
50ffbba0d9
metrics: expose more metrics via statsd
...
- expections
- celery tasks with statuses
2022-10-25 09:44:44 +02:00
RhodeCode Admin
9f13849af9
api: added proper full permission flush on API calls when creating repos and repo groups.
...
- This allows a full flush and multiple calls made via API
2021-05-24 23:47:29 +02:00
Milka Kuzminski
219a05baa4
permissions: use constant for fork enable/disable
2021-03-24 16:52:47 +01:00
Milka Kuzminski
eb5ec20934
application: not use config.scan(), and replace all @add_view decorator into a explicit add_view call for faster app start.
2020-12-08 17:04:39 +01:00
Marcin Kuzminski
1bfda61f13
api: fixed SVN raw diff export. The API method was incosistent, and used different logic.
...
Now it shares the same code as raw-diff from web-ui
2020-10-15 09:21:49 +02:00
Marcin Kuzminski
c3f059ebc6
observers: code cleanups and fixed tests.
2020-10-11 22:16:08 +02:00
Marcin Kuzminski
508c8ba158
reviewers: optimize diff data, and creation of PR with advanced default reviewers
2020-10-08 12:01:18 +02:00
Marcin Kuzminski
9692332a7b
channelstream: cleanup, and re-organize code for posting comments/pr updated messages.
...
- now shares new common code
- fixed cases for both views and API in consistent way
2020-10-06 11:54:29 +02:00
Marcin Kuzminski
80da773011
reviewers: added observers as another way to define reviewers.
...
- fixes #4183
2020-10-06 08:49:13 +02:00
Marcin Kuzminski
7e4cac8421
repo-api: allow repo admins to get/set settings. Previously it was only super-admins that could do that, and it's wrong.
2020-08-13 11:11:24 +02:00
Marcin Kuzminski
74e96ea4b4
comments: added new events for comment editing to handle them in integrations.
2020-07-13 11:18:28 +02:00
Marcin Kuzminski
9cadf302eb
api: added get_comment method, and return versions for comments to allow simple edits via API.
2020-07-10 11:49:52 +02:00
Bartłomiej Wołyńczyk
6ddfbb0ddd
api: added edit comment api
2020-06-28 23:37:16 +02:00
Daniel Dourvaris
5d5bf456a6
permissions: allow users to update settings for repository groups they still own, or have admin perms, when they don't change their name.
...
- this before gave no-permission errors as the parent group access was checked
- since the group parent permission should be checked at creation, or name change this commit fixes such case
2020-07-02 11:39:35 +02:00
Marcin Lulek
720ed431ee
api: expose audit-logs API
2020-05-21 10:15:43 +02:00
Marcin Kuzminski
293a3535ae
pull-requests: fix way how pull-request calculates common ancestors.
...
- fixes #5561
- added new preview for size (commits/files) of PRs before opening, this is now based on the special logic that calculates common ancestor and has access to preview diff
- store common ancestor in DB so updates of pull-requests are consistent
2020-05-08 08:43:51 +02:00
Marcin Kuzminski
40d5038ad3
tests: fixed problem with non-ascii errors
2020-05-13 15:52:46 +02:00
Marcin Kuzminski
004875e902
indexing: fixed problems with non-ascii files indexing.
2020-05-13 14:37:46 +02:00
Marcin Kuzminski
fe96e16646
code: update copyrights to 2020
2020-04-16 00:34:52 +02:00
Daniel Dourvaris
466826a84a
hooks: added new hooks for comments on pull requests and commits.
...
- allows writing custom actions on top of comments
- new rcextension hooks
- organized and renamed some hooks
- new helpers for rcextensions
- fixes #5583
2020-04-15 18:00:59 +02:00
Marcin Kuzminski
1e8d393f02
comments: extend API data with references to commit_id or pull_request_id for audit-logs.
2020-04-15 15:46:53 +02:00
Marcin Kuzminski
bd9e5dc1c3
api: exposed modified added/modified/deleted functions of commit to return only paths.
...
This combined with full text search build for certain repositories that each commit
contains lots of file changes results in *huge* (10x in some cases) performance gain.
2020-03-16 15:09:45 +01:00
Daniel Dourvaris
c8b4ab6843
API: added pull-requests versions into returned API data
...
- fixes #5582
2020-01-16 08:51:35 +01:00
Bartlomiej Wolynczyk
d8cfd57a83
api: add send_email flag for comments api to allow commenting without email notification.
...
- fixes #5581
2020-01-20 20:30:57 +01:00
Marcin Kuzminski
abcf0ed683
get-perms-api-helper: show nicer message when prefix is specified to help in API usage.
2020-01-14 16:15:13 +01:00
Marcin Kuzminski
540f9ad582
core: fixed cython compat inspect that caused some API calls to not work correctly.
2020-01-10 08:54:49 +01:00
Marcin Kuzminski
03b4b5ba7b
pull-requests: added update pull-requests email+notifications
...
- fixed generated update message comments + invalid anchor linkes generated to the changed files
- unified headers on all email messages for pull requests
2019-12-04 20:58:23 +01:00
Marcin Kuzminski
0c4dd82cf4
exception-tracker: send exc id headers on failed API calls for tracking errors that server generated.
2019-12-02 15:56:54 +01:00
Marcin Kuzminski
697ce81998
api: allow extra recipients for pr/commit comments api methods
...
- adds some sort of CC functionality for notification
- allows sending emails with notifications to people who are not commit messages, or pr reviewers e.g project manager etc.
2019-11-07 22:29:39 +01:00
Marcin Kuzminski
491d84ca22
cache: bump file-tree caches to next iteration
2019-11-04 23:05:07 +01:00
Marcin Kuzminski
9b9e7d2a5a
users: description edit fixes
...
- tests
- added metatags info
2019-10-31 11:22:32 +01:00
Marcin Kuzminski
fe51098720
api: don't log full API params as the upload ones can be too much for logging
2019-10-15 18:26:29 +02:00
Daniel Dourvaris
e9018c74bd
search: added per-backend sorting fields.
...
- unified naming to be more user friendly
- only sort on supported fields that each backend exposes
- fixed few cases of sort errors and added additional tests
2019-10-02 17:23:34 +02:00
Marcin Kuzminski
1f16da1ab3
search: updated api and switched to desc:date as default
2019-10-02 01:39:17 +02:00
Marcin Kuzminski
ed0653712b
dependencies: bumped test libraries.
2019-09-30 13:26:57 +02:00
Marcin Kuzminski
a17adaa9f2
db: use more consistent sorting using real objects, strings are deprecated in laters sqlalchemy query syntax.
2019-09-30 13:24:56 +02:00
Marcin Kuzminski
1d9452ce80
pytest: use consistent way of creating a fixture by using pytest.fixture()
2019-09-28 23:04:18 +02:00
Marcin Kuzminski
e9cf83badc
diffs: fixed outdated files in pull-requests re-using the filediff raw_id for anchor generation.
...
In some cases when there are no longer any files this caused error since filediff wasn't present.
In addition this generated wrong ids since it used a last-defined attribute on a for loop.
Fixes #5567
2019-09-25 10:33:00 +02:00
Marcin Kuzminski
0cbb6b652a
permissions: properly flush user cache permissions in more cases of permission changes.
...
- fixed #5560
2019-08-20 10:48:36 +02:00
Marcin Kuzminski
981307fc4f
landing-rev: fixes #4102 , use branches instead of landing tip refs by default.
...
- also changed how readme is rendered based on landing commit to minimize locking for often changing repositories.
2019-08-16 09:55:36 +02:00
Marcin Kuzminski
5b8d619a70
tests: fixes after some later code changes
2019-07-29 13:01:18 +02:00
Marcin Kuzminski
758991d8f1
pull-requests: make merge state default as False. This causes a lot of performance problems and should default to faster way
2019-07-25 21:52:14 +02:00
Marcin Kuzminski
60cbfd99c9
path-filter: enable for quick search menu.
2019-07-24 11:53:06 +02:00
Marcin Kuzminski
2912fa1059
api: user-group api docs update
2019-07-23 12:52:10 +02:00
Marcin Kuzminski
928652312a
core: added more accurate time measurement for called functions
2019-07-17 16:28:41 +02:00
Marcin Kuzminski
929deba1dd
tests: fixing tests for pull-requests and changelog(commits)
2019-06-28 14:24:57 +02:00
Marcin Kuzminski
23584a96ce
tests: fix cache problems after empty repo check change.
2019-06-06 20:24:25 +02:00
Marcin Kuzminski
eddc784e19
docs: updated documentation structure
2019-05-21 16:33:01 +02:00
Marcin Lulek
4275ee91b9
api: added tests for the search API
2019-03-29 12:51:50 +01:00