Commit graph

45 commits

Author SHA1 Message Date
Marcin Kuzminski
c2c94c7f57 repositories: allow storing push url for automation. 2018-02-11 20:51:56 +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
4eb2164498 default-reviewers: changes for source/target branch distinction and new rule name.
- since reasons is bigger now we'll hide those and toggle on view.
2017-12-05 00:09:44 +01:00
Marcin Kuzminski
cb8a7fccde scheduler: added DB models and db parsers for the RhodeCode scheduler.
- migration schema
- small fixes for form templates
- migrated celeryloader utils for the scheduler
2017-11-28 18:26:11 +01:00
Marcin Kuzminski
b0071bb7c7 paster: commands cleanup.
- moved upgrade_db into paster_commands (soon to be deprecated)
2017-11-16 18:26:55 +01:00
Marcin Kuzminski
b0672c09fa core: ported upgrade-db cli command to pyramid. 2017-11-09 20:55:02 +01:00
Marcin Kuzminski
339cab81cd db: reduce size of fingerprint column for mysql compat.
- we can get into troubles by having long fingerprint under mysql
because we do an index on this column.
2017-11-07 11:07:51 +01:00
Marcin Kuzminski
37ef509c3f tests: fixed some more test issues during stress tests runs. 2017-09-21 11:52:32 +02:00
Marcin Kuzminski
a3a6e8ca3f migration: remove usage of pylons inside migration schemas and code. 2017-09-19 12:27:45 +02:00
Marcin Lulek
f42a5ca66b db: use LONGTEXT for mysql in user_logs. Fixes #5385, problem with mysql rejecting
insert because of too long json data.

- simple case of lots of users in user group can cause mysql to fail on insert
2017-09-12 13:35:35 +02:00
Marcin Kuzminski
a8abeb0d1c user-groups: rewrote the app to pyramid
- added new event data with added/removed/changed permissions
- cleanup code and spelling
2017-08-31 12:47:19 +02:00
Marcin Kuzminski
35cefa9b2d users: added SSH key management for user admin pages 2017-08-03 16:35:13 +02:00
Marcin Kuzminski
1f94f0b6ca db: fix migration after sqlalchemy upgrade 2017-07-26 10:29:43 +02:00
Marcin Kuzminski
4f16a9a411 repository-groups: introduce last change for repository groups. 2017-07-20 12:59:53 +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
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
59200825e3 hooks: added pushkey Mercurial hook.
- This will be needed to extract pushed Bookmarks.
2017-05-17 16:24:34 +02:00
Marcin Kuzminski
01ba8bee6d user-journal: prepare new datastructure for v2 of user logs.
- fixes #5259
2017-04-11 22:20:10 +02:00
Marcin Kuzminski
e70107a661 git-lfs: add default store path for handling git-lfs storage. 2017-03-22 16:32:08 +01:00
Marcin Kuzminski
125825da26 users: migrate last_activity column so it's part of user table.
- allows quicker update
- allows sorting by that column
2017-03-15 12:50:21 +01:00
Marcin Kuzminski
f7cf9b7acf migration: detach permissions defaults migration from current models.
This was causing that latest code was used results in potential problems
during migration. Now we use the bound migraiton code that always will
perform the same exact migrations independent of the current code changes.
2017-03-15 14:00:07 +01:00
Marcin Kuzminski
6ccea0d157 migration: change prints to logging 2017-03-15 13:06:43 +01:00
Marcin Kuzminski
10ce5d446b auth-tokens: remove showing builtin tokens 2017-02-27 12:04:43 +01:00
Marcin Kuzminski
661a9546d7 auth-tokens: migrate builtin token to the external ones 2017-02-27 12:16:11 +01:00
Marcin Kuzminski
73ad8eebf0 auth-tokens: added scope into auth tokens (ApiKeys before refactoring)
- allows to have scoped tokens, ie. just for single repo.
- fix migration problems found on introducing this change

ref #3932
2017-02-24 17:48:18 +01:00
Marcin Kuzminski
1f65204749 hooks: added new pretx hook to allow mercurial checks such as protected branches, or force push. 2017-02-23 16:53:11 +01:00
Marcin Kuzminski
24ef7171f8 comments: add comments type into comments. 2017-01-11 14:46:29 +01:00
Marcin Kuzminski
89e2586781 templating: use .mako as extensions for template files. 2017-01-04 22:13:57 +01:00
Marcin Kuzminski
fcc027c282 license: updated copyright year to 2017 2017-01-02 09:30:39 +01:00
Marcin Kuzminski
9e6713219c repo-groups: implemented default personal repo groups logic.
- fixes #4003
- adds new settings to automatically create personal repo groups for users on API cal, add user form, registration
- it's possible to create a pattern based repo group for example /u/{username}
2016-11-07 15:27:36 +01:00
Martin Bornhold
fe6df6dda5 db-migration: Add a column to the PullRequest and PullRequestVersion table.
The column holds the value of the shadow repo merge reference.
2016-10-25 10:01:29 +02:00
lisaq
607fd8931d settings: fix #3944 add password reset permission 2016-10-25 17:37:14 +02:00
Daniel Dourvaris
b3e97c1715 reviewers: store reviewer reasons to database, fixes #4238 2016-09-27 02:34:15 +03:00
Daniel Dourvaris
5290e2381e reviewers: add pull request reviewers reason column to table
to allow showing the reason a user is a reviewer on a pull request
2016-09-23 12:34:53 +02:00
Daniel Dourvaris
9b38ba8c8f reviewers: add repo review rule models and expose default
reviewers route for pull requests via ajax, refs #1131
2016-09-06 16:02:35 +03:00
Marcin Kuzminski
1b2b21efe4 svn-proxy: data migration for svn http settings 2016-09-06 19:16:13 +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
Daniel Dourvaris
8dff55f435 db: add migration for repo_group_id on integrations, version 56 2016-08-18 14:55:37 +03:00
Marcin Kuzminski
990143eae0 tokens: auth-token is not only for git/hg but also for svn.
Changed some docstrings to indicate this.
2016-07-13 12:34:17 +02:00
Daniel Dourvaris
7ff09cda95 integrations: add integration support
* added db migration for integration table, version 55
* added integrations views/templates/models
* added slack integration
* added h.url.current() support for pyramid only contexts
* added issues extractor for commit messages
* renamed repo-deleted/repo-created to repo-delete/repo-create
* removed marshmallow
* added serialization for events to static dicts of data
* added lazy_ugettext for translation of start time string
2016-07-10 06:43:20 +03:00
Johannes Bornhold
f3a1987cc5 migration: Add data migration of the users 'extern_type' attribute.
- Folow up from renaming the auth_container plugin.
- This migration renames the extern type for all users from 'container' to 'headers'
2016-06-06 15:50:15 +02:00
Johannes Bornhold
ba5c7add8f db: Create database migration to rename token auth plugin ID. 2016-06-03 11:32:55 +02:00
Johannes Bornhold
d1a5de5268 authn: Data migration for renaming 'container' to 'headers'.
Rename the 'auth_plugins' setting and all 'auth_container_%s' settings.
2016-05-31 11:01:42 +02:00
Marcin Kuzminski
9a0d8c0b77 project: added all source files and assets 2016-05-24 15:56:53 +02:00