Commit graph

4017 commits

Author SHA1 Message Date
Marcin Kuzminski
f86c6aaa61 profiles: cleanup profile pages to not include side nav bar which didn't gave any purpose. 2019-10-30 11:10:16 +01:00
Marcin Kuzminski
52f16be4b7 dependencies: bumped some loosely pinned deps
- pinned contextlib2==0.6.0
- updated prompt_toolkit-1.0.18
- updated traitlets-4.3.3
- updated ipaddress-1.0.23
2019-10-30 10:51:15 +01:00
Marcin Kuzminski
f3c3076ee5 release: merge back stable branch into default 2019-10-28 16:52:47 +01:00
Marcin Kuzminski
30bc0d0baf Added tag v4.17.4 for changeset e3de8c95baf8 2019-10-28 13:37:10 +00:00
Marcin Kuzminski
43ded5ff8f release: Finish preparation for 4.17.4 2019-10-28 13:37:09 +00:00
Marcin Kuzminski
1e1709fa71 release: updated pip2nix output for 4.17.4 2019-10-28 13:37:07 +00:00
Marcin Kuzminski
7e8cfeb4f6 release: Start preparation for 4.17.4 2019-10-28 13:30:37 +00:00
Marcin Kuzminski
e654d4bbf6 docs: added release docs for 4.17.4 2019-10-28 11:17:55 +01:00
Daniel Dourvaris
d60fd3ca7a diffs: handle very odd case of binary, corrupted diffs which crashed the diff parser. 2019-10-28 09:21:25 +01:00
Daniel Dourvaris
ada8470b4c diffs: handle very odd case of binary, corrupted diffs which crashed the diff parser. 2019-10-28 09:21:25 +01:00
Marcin Kuzminski
8753de9b11 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-10-28 11:09:38 +01:00
Marcin Kuzminski
006a425067 tests: fixed PR tests after some code changes. 2019-10-28 14:16:40 +01:00
Marcin Kuzminski
26be0cd3c6 file-store: small code cleanups. 2019-10-25 12:37:00 +02:00
Marcin Kuzminski
8b8d8ab401 artifacts: handle detach/delete of artifacts for users who own them and are to be deleted.
- added relationships that cleanup properly
- cleanup code for detach/delete on users
2019-10-24 17:05:07 +02: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
5e1dcce38f tests: fixed some warnings on tests 2019-10-23 14:57:44 +02:00
Marcin Kuzminski
4b7d9933ed tests: added some more artifact access tests. 2019-10-23 13:45:48 +02:00
Marcin Kuzminski
a8da93e8ac base: fix problem that in some view context we don't have matchdict. 2019-10-23 13:17:47 +02:00
Marcin Kuzminski
1ed9cf6561 license: added a flag to allow hidding license info. 2019-10-23 13:07:29 +02:00
Marcin Kuzminski
a9aa65e7f2 artifacts: added CLI script for adding really big artifacts. 2019-10-23 00:30:34 +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
c6f649e139 artifacts: expose a special auth-token based artifacts download urls.
This will allow sharing download to external locations used new generated artifact download
tokens. This feature allows also serving downloads using secret urls with all the fancy logic
of our auth tokens.
2019-10-22 20:00:39 +02:00
Marcin Kuzminski
a73fb57d29 auth-token: expose fetched token in unified way into request attribute.
- This will allow re-using exposed access token for HTTP views in single place
- We will support also exposing tokens from url if special _auth_token will be used as url param
- We'll no longer require double logic for extraction of URL/HEADER auth-tokens and have a single place to extract it.
2019-10-22 19:58:56 +02:00
Marcin Kuzminski
0073ec35de helpers: bool2icon will expose title of values as tooltip. 2019-10-22 19:56:49 +02:00
Marcin Kuzminski
ba9f6d58e3 admin: fixed problems with generating last change in admin panels.
- from now on also updated_on will refer as last commit change instead of last update of DB.
Reason for that is since we have audit logs the last db update should be taken from there along the change info.
Storing last commit date in the dedicated field makes it searchable, sortable and faster to read.
2019-10-19 13:31:19 +02:00
Marcin Kuzminski
daa35304ab artifacts: added __json__ method to be used in artifacts API 2019-10-19 13:29:39 +02:00
Marcin Kuzminski
68d24f445e caches: added method for flush cache for last commit
- small logging update
2019-10-18 09:44:24 +02:00
Marcin Kuzminski
fcdef0dd05 artifacts: refactor metadata code
- fix type conversions
- split some code so we can re-use it
- add specific validations of duplicates and wrong types
2019-10-17 13:26:31 +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 Lulek
8f563ba332 user-bookmarks: make it easier to re-organize entries. 2019-10-15 21:57:11 +02:00
Marcin Kuzminski
0a2c47d444 uploads: handle server errors nicer 2019-10-15 18:51:12 +02: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
94552dd0df caches: the file backend should report damaged DB in case of failures. 2019-10-15 15:45:42 +02:00
Marcin Kuzminski
9c4dbfeb4b artifacts: added metadata table to store various extra data for artifact 2019-10-15 14:05:20 +02:00
Marcin Kuzminski
13d27c391a helpers: added separate curl example, we'll need to it generate artifacts curl examples. 2019-10-15 13:24:38 +02:00
Marcin Kuzminski
16d96fc932 comments: fix JS for attachments for anonymous users. 2019-10-12 22:48:30 +02:00
Daniel Dourvaris
53980d49a6 authentication: allow super-admins to change bound authentication for users.
- we had many requests from admins on doing so, after connecting LDAP/Saml
- since admins actually started doing this via DB it's no longer a point we shouldn't enable it via UI
2019-10-10 14:08:11 +02:00
Marcin Kuzminski
e0fde2e3c2 artifacts: added changes for new grid to display artifacts. 2019-10-10 13:43:44 +02:00
Daniel Dourvaris
47c4d4f648 tests: try to stabilize integration tests. 2019-10-10 11:36:55 +02:00
Marcin Kuzminski
a7aeae1394 permissions: rename repository permissions to mention those are access permissions.
- Soon we'll introduce fine grained permissions for web-edit and artifacts that would require clear separation.
2019-10-09 15:01:03 +02:00
Marcin Kuzminski
387e40f55b menu: expose artifacts count into menu 2019-10-09 14:10:22 +02:00
Marcin Kuzminski
e5ba91aeb0 docs: update readme 2019-10-09 12:43:05 +02:00
Marcin Kuzminski
3adbf292dd coverage: update config 2019-10-08 22:49:26 +02:00
Marcin Kuzminski
3876870e28 tests: stabilize tests for mysql/postgres. 2019-10-08 17:06:35 +02:00
Marcin Kuzminski
4409e2b26b rhodecode-tools: point to artifacts instead of download page. 2019-10-08 14:25:10 +02:00
Marcin Kuzminski
522f374fae users: fetch user data for user removal hook, *before* actually marking object for deletion. 2019-10-08 14:04:53 +02:00
Marcin Kuzminski
7de557d8b3 db: remove double unique index 2019-10-08 14:04:33 +02:00
Marcin Kuzminski
b50f97b262 pull-requests: use close logic next to merge.
- close and merge are both pr closing actions and should be groupped together
- refresh checks also will change the approved/declined status
2019-10-08 13:31:34 +02:00
Marcin Kuzminski
a86f0089a2 makefile: use utf8 for mysql tests 2019-10-08 13:30:46 +02:00
Marcin Kuzminski
2525df1b8e cache exc store, and use glob.glob for scaning exc store 2019-10-08 11:34:33 +02:00