Commit graph

2859 commits

Author SHA1 Message Date
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
f7081008c5 pull-requests: refactor model for code readability. 2018-07-11 12:37:33 +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
79dce74e8a api: fix creation of PR with default reviewer rules. 2018-07-10 18:25:22 +02:00
Marcin Kuzminski
8a32949457 caches: flush cache when adding new objects so we can access them right away. 2018-07-10 16:02:21 +02:00
Marcin Kuzminski
a53b88ea40 sessions: update session tunning instructions. 2018-07-09 13:57:14 +02:00
Marcin Kuzminski
0691f71bdd caches: flush the caches on permission changes for affected users. 2018-07-09 13:56:52 +02:00
Marcin Kuzminski
ad4963f1d3 events: add event to catch permission changed so we can flush affected users permission caches 2018-07-09 13:01:42 +02:00
Marcin Kuzminski
6be51bb03d cache: turn off caches if expiration_time is 0 2018-07-06 14:47:34 +02:00
Marcin Kuzminski
cc72ded271 caches: skip cache if user is empty. 2018-07-06 14:47:09 +02:00
Marcin Kuzminski
a48ab8a32d caches: don't use beaker for file caches anymore 2018-07-06 12:55:13 +02:00
Marcin Kuzminski
ddc445856e caches: rewrite of auth/permission caches to dogpile. 2018-07-05 20:14:33 +02:00
Marcin Kuzminski
c8cd3e9740 caches: use LRUDict inside our lru helper so we can import it later on when required. 2018-07-04 22:26:52 +02:00
Marcin Kuzminski
42a5ad0a2e dependencies: updated dogpile.cache to 0.6.6 2018-07-04 22:18:59 +02:00
Marcin Kuzminski
6686957262 dependencies: bumped msgpack-python to 0.5.6 2018-07-04 21:00:34 +02:00
Marcin Kuzminski
140c2a20a4 dependencies: bumped graphiz to 0.8.4 2018-07-04 13:32:42 +02:00
Marcin Kuzminski
5fb1abf024 dependencies: bumped gunicorn to 19.9.0 2018-07-04 13:32:16 +02:00
Marcin Kuzminski
ed7f791de4 style: use different indicator for nicer UI. 2018-07-05 14:28:22 +02:00
Marcin Kuzminski
564c09e772 ip-restritions: fix issue with loading empty IP rules for non-logged not-anonymous users.
This case won't have any IP rules set. And we accidentally loaded them becuase of no empty user filter
was present. This caused some odd display warnings for users.
2018-07-04 12:19:08 +02:00
Marcin Kuzminski
5c59ec640b db: don't use md5 for cache key calculation. Md5 is now fully deprecated. 2018-07-03 14:35:21 +02:00
Marcin Kuzminski
f62a1b94f7 tests: don't use md5 for testing crypto for compliance reasons. 2018-07-03 14:30:57 +02:00
Marcin Kuzminski
2306cd3189 base: drop usage of md5 for calculation of version hash. 2018-07-03 14:28:50 +02:00
Marcin Kuzminski
edc9dc5771 caches: don't use deprecated md5 for key calculation.
- md5 isn't a valiable option for compliance reasons
2018-07-03 14:27:32 +02:00
Marcin Kuzminski
225757aaf3 hooks: made the callback host configurable.
- This allows easier docker container seperation
2018-07-03 11:57:03 +02:00
Marcin Kuzminski
5b6f79f166 tests: use post for testing webhook at httpbin.org. With recent changes
the previous wasn't stable and relaible.
2018-07-03 11:07:45 +02:00
Marcin Kuzminski
f7b8c0f22a gevent: use cython compatible option. so no keyword argument specified. 2018-07-03 09:48:20 +02:00
Marcin Kuzminski
96f4dbe23b db: use base table args for all models defined. 2018-07-02 14:14:58 +02:00
Marcin Kuzminski
3fceb045dc gevent: fix new switch version 2018-07-02 14:03:34 +02:00
Marcin Kuzminski
83e0f60d20 permissions: fixed audit log data on user group permissions view. 2018-07-02 12:22:00 +02:00
Marcin Kuzminski
ecb77c7c3d tests: added tests for permission update views to catch obvious form errors. 2018-07-02 12:20:44 +02:00
Marcin Kuzminski
6f6de155c3 dependencies: bumped psutils to 5.4.6 2018-06-28 18:33:47 +02:00
Marcin Kuzminski
8c7d444171 dependencies: bumped gevent to 1.3.4 2018-06-28 16:43:30 +02:00
Marcin Kuzminski
58f89e5cf6 nix: updated to 18.03 nix packages
- dependencies: updated setuptools-scm to 2.1.0
- new strucutre
- cleanups and optimize of build chain
2018-06-28 14:43:26 +02:00
Marcin Kuzminski
74588e74e9 subscribers: make creation of routes.js safer.
If by accident this flag is set to true then
build rhodecode from nix wont start because of write failure.
2018-06-28 14:44:09 +02:00
Marcin Kuzminski
06ef71e55a auth: code style, more python3 compat changes. 2018-06-27 17:05:24 +02:00
Marcin Kuzminski
e9d1e470b6 auth: code cleanup, use set literals for py3 compat 2018-06-27 17:26:15 +02:00
Marcin Kuzminski
eb7e9c6ce1 logging: updated logging information on IP checks. 2018-06-27 16:54:58 +02:00
Marcin Kuzminski
b26e006c69 login: show editions in login/register/password-reset boxes. 2018-06-27 10:59:41 +02:00
Marcin Kuzminski
c9d3ef5134 configuration: Allows to use format style "{ENV_NAME}" placeholders in the configuration. 2018-06-25 14:25:26 +02:00
Marcin Kuzminski
ac0e9cf4dc gists: fix problem of deleted gists repositories. 2018-06-25 18:09:40 +02:00
Marcin Kuzminski
bafbc2b040 pull-requests: allow markup rendered description. 2018-06-25 12:01:35 +02:00
Marcin Kuzminski
e32681449c caches: switch other permission cache to use same cache region. 2018-06-22 18:35:41 +02:00
Marcin Kuzminski
2044170b28 caches: use different namespaces for conditional_cache wrapper.
Before we used one namespace for ALL meaning caches were kept in single file, or single DB row.
While this makes sense for single functions, a per-user, per-group cache should be divided to single files.
2018-06-22 17:31:48 +02:00
Marcin Kuzminski
9c384313d1 auth: update logging for permission calculation function 2018-06-22 13:34:58 +02:00
Marcin Kuzminski
c10b510fb0 last-update: use smarter calculation that picks the newer dates first
instead of relying dumply on last commit date which in some cases might be very very old.
2018-06-21 18:14:30 +02:00
Marcin Kuzminski
cb57401127 shadow-repos: show count of shadow repos for each repo in caches view. 2018-06-21 14:04:32 +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
d28aeae1b2 pull-requests: show more info about version of comment vs latest version. 2018-06-19 13:18:54 +02:00