Commit graph

80 commits

Author SHA1 Message Date
Bartłomiej Wołyńczyk
b9a819cbfe comments: edit functionality added 2020-05-27 23:47:09 +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
0021e33e42 db-migrate: backport some changes for py3 compat. 2020-05-13 21:29:53 +02:00
Marcin Kuzminski
ff2c8fd444 migrations: fixed db migrate for latest sqlite version. 2020-05-13 21:21:02 +02:00
Marcin Kuzminski
ef2b6c8a1c comments: added immutable parameter to forbid editing/deleting certain comments 2020-05-05 11:36:32 +02:00
Marcin Kuzminski
fe96e16646 code: update copyrights to 2020 2020-04-16 00:34:52 +02:00
Marcin Lulek
780ec5f73e core: added user-notice logic to push notice messages.
- will be used for exception tracker info
- new version upgrades
- dedicated important messages to the users
2020-04-09 12:30:13 +02:00
Marcin Kuzminski
4de6dd537c pull-requests: fixed case for GIT repositories when a merge check failed due to merge conflicts the pull request wrongly reported missing commits.
- we're now searching for dangling commits in a repo that has them and cannot see them because of failed merge checks.
- pull-request: will save metadata during merge simulation so merge conflicts are permanently stored, and showed to all users.
2020-04-08 11:17:10 +02:00
Daniel Dourvaris
4057ada739 webhelpers: port most of the items from webhelpers to webhelpers2
- webhelpers are deprecated and py2 only
2019-11-21 15:48:12 +01:00
Marcin Kuzminski
521ec573b6 users: added description for users. 2019-10-31 10:23:54 +01:00
Marcin Kuzminski
40960af53f db: fixed unique constraints for mysql with it's size limits. 2019-10-24 10:21:54 +02:00
Marcin Kuzminski
dfb948e9ab artifacts: alter DB column to allow storing really big artifacts. 2019-10-22 21:09:00 +02:00
Marcin Kuzminski
1d91e6557d artifacts: fixed index that was global and not bound to specific artifact. 2019-10-17 13:25:18 +02:00
Marcin Kuzminski
9c4dbfeb4b artifacts: added metadata table to store various extra data for artifact 2019-10-15 14:05:20 +02:00
Bartlomiej Wolynczyk
e1bc49fad6 artifacts: added hidden flag that will be used to store attachements for comments 2019-10-03 23:33:45 +02:00
Marcin Kuzminski
928652312a core: added more accurate time measurement for called functions 2019-07-17 16:28:41 +02:00
Marcin Kuzminski
0b076e1f65 caches: updated cache backend to new vcsserver caches implementation. 2019-07-17 00:14:26 +02:00
Marcin Kuzminski
1acd59be77 database: fix migration for mysql.
- It's really nice that mysql fails on that dependening on version, and our CI doesn't catch that.
2019-07-03 23:08:33 +02:00
Marcin Kuzminski
11d4863052 feat: changed last change of repo group to be commit of a latest repository. 2019-05-21 11:47:13 +02:00
Marcin Kuzminski
cc4099272e migration: fix unicode problem on 4.17.0 migration 2019-05-15 16:05:00 +02:00
Marcin Kuzminski
5ac3be4f4e repository-groups: use lazy loaded admin dashboard 2019-04-03 23:15:02 +02:00
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