Commit graph

59 commits

Author SHA1 Message Date
Marcin Kuzminski
6cea271467 cleanup: removed pycrypto code from db schema, it's unused anyway 2019-02-25 22:46:46 +01:00
Marcin Kuzminski
844d7374eb database: dropped CheckConstraint for auto-increment field for mysql/mariadb compatability.
- https://mariadb.com/kb/en/library/constraint/#auto_increment
- causes installation error on later MariaDB/MySQL
2019-02-16 00:07:36 +01:00
Marcin Kuzminski
723799ca1d artifacts: added DB store models. 2019-02-05 12:49:36 +01:00
Daniel Dourvaris
96fa4e0bdc py3: remove usage of basestring 2019-01-22 23:06:49 +01:00
Daniel Dourvaris
796c235358 ui: introduce user-bookmarks for creation of quick shortcuts 2019-01-22 01:18:40 +01:00
Marcin Kuzminski
1e2a7a9136 pull-requests: introduce operation state for pull requests to prevent from
locks during merge/update operations.
2019-01-07 13:32:16 +01:00
Marcin Kuzminski
bd1a9c8201 docs: updated copyrights to 2019 2019-01-02 18:13:27 +01:00
Marcin Kuzminski
4719d0ff87 code: unified coverage notes to # pragma: no cover 2018-12-07 13:34:28 +01:00
Marcin Kuzminski
2910f510dc repositories: added option to archive repositories instead of deleting them.
- closes #5493
2018-09-25 17:28:11 +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
e41725c078 branch permissions: added logic to define in UI branch permissions.
- db models
- new permissions pages placeholders
2018-08-28 13:41:30 +02:00
Marcin Kuzminski
f1497f5afd caches: new cache context managers.
- deprecate beaker cache completly
- use new cache decorators from dogpile
- use a proper per cache key invalidation
2018-08-02 18:04:52 +02:00
Marcin Kuzminski
099f68a724 pull-requests: make the renderer stored and saved for each pull requests.
- gives backward compatability with previous versions which didn't set renderer
- allows versioning of renderer changes
2018-07-17 14:45:29 +02:00
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