Commit graph

3988 commits

Author SHA1 Message Date
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
Marcin Kuzminski
ebc48676cb system-info: fix styling for elements 2019-10-08 10:57:20 +02:00
Bartlomiej Wolynczyk
e2b5aab538 comments: added support for adding comment attachments using the artifacts logic.
- ACL per-repo
- use dropzone js to add drag n drop capabilities
- use artifacts store as backend
2019-10-05 20:53:41 +02:00
Bartlomiej Wolynczyk
87de1b2988 file-store: handle custom extensions validation better, e.g lower case and both formats .exe / exe 2019-10-05 20:51:55 +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 Lulek
f70f60713e audit-logs: expose download user audit logs as JSON file.
Primarly in larger organizations often this needs to be performed for some
employees. Before we delegated users to API or DB fetch.
2019-10-03 13:32:59 +02:00
Marcin Kuzminski
340b56f1fa forks: fixed forking with new landing rev.
- also fix tests for that
2019-10-03 09:34:02 +02:00
Daniel Dourvaris
e9018c74bd search: added per-backend sorting fields.
- unified naming to be more user friendly
- only sort on supported fields that each backend exposes
- fixed few cases of sort errors and added additional tests
2019-10-02 17:23:34 +02:00
Marcin Kuzminski
cdb5181fd2 changelog: fixed accidentally added space in graph 2019-10-02 14:19:13 +02:00
Daniel Dourvaris
56e7633fd6 artifacts: expose info link page. 2019-10-02 02:39:04 +02:00
Marcin Kuzminski
1f16da1ab3 search: updated api and switched to desc:date as default 2019-10-02 01:39:17 +02:00
Marcin Kuzminski
0bdcb31a44 search: added sorting of search results for whoosh backend. 2019-10-02 01:28:55 +02:00
Marcin Kuzminski
bf69ffc8f0 search: allow result sorting for elasticsearch6 2019-10-01 15:20:44 +02:00
Marcin Kuzminski
7cf63ac4ad nodes: expose line counts in node information. This would be used in full text search 2019-10-01 15:19:58 +02:00
Marcin Kuzminski
6bb83d3692 dependencies: bumped rhodecode-tools to 1.3.0 2019-10-02 01:03:15 +02:00