Commit graph

4357 commits

Author SHA1 Message Date
Marcin Kuzminski
847c8b496f packaging: updated JS dependencies with new node2nix and nodejs12 2020-05-12 11:49:52 +02:00
Marcin Kuzminski
e47479eb95 nix: further nix changes 2020-05-19 22:14:26 +02:00
Marcin Kuzminski
d0c3686b17 nix: expose python 2020-05-15 22:23:59 +02:00
Marcin Kuzminski
2ae82b544e nix: added custom build to allow turning off the sandbox 2020-05-15 08:57:01 +02:00
Marcin Kuzminski
ab98ff6155 nix: generate shell, fixed env flags 2020-05-14 14:09:45 +02:00
Marcin Kuzminski
84e76c93b6 dependencies: removed suffixes from packages to avoid warnings on package generation 2020-05-14 11:12:37 +02:00
Marcin Kuzminski
c4bd55edf6 packaging: switched to nix 20.03 packages and latest pip2nix code
- dependencies changed:
  atomicwrites==1.4.0
  ipython==5.10.0
  pytest==4.6.9
  py==1.8.1
  pytest-cov==2.8.1
  pytest-sugar==0.9.3
  pytest-runner==5.2.0
  rhodecode-tools==2.0.0
  ipython==5.10.0
  mysqlclient==1.4.6 (change from mysql-python, which is deprecated)
  mako==1.1.2
  lxml==4.5.0
  click==7.1.2
2020-05-11 14:20:30 +02:00
Marcin Kuzminski
3def14a8c3 starting python3 branch 2020-05-19 22:24:19 +02:00
Marcin Kuzminski
ddd8fcad75 packages: updated package details with location info. 2020-05-19 12:24:38 +02:00
Marcin Kuzminski
159aca46c7 request-wrapper: expose usernames for better auditing capabilities. 2020-05-18 14:40:26 +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
4b277c70fe git: fixed readme searcher for libgit2 2020-05-14 09:40:41 +02:00
Marcin Kuzminski
0127fbe62e files: fixed unicode problems on image preview, and make images center, no-stretch. 2020-05-14 09:40:20 +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
40d5038ad3 tests: fixed problem with non-ascii errors 2020-05-13 15:52:46 +02:00
Marcin Kuzminski
004875e902 indexing: fixed problems with non-ascii files indexing. 2020-05-13 14:37:46 +02:00
Marcin Kuzminski
aedb8a1855 quick-switcher: handle errors using Swal, and create a new helper to make calls the same across whole app. 2020-05-13 12:40:04 +02:00
Daniel Dourvaris
6da9683ece svn: fixed problem with special characters inside subdirectories. 2020-05-12 20:38:46 +02:00
Marcin Kuzminski
98ce0d9f7a svn: expose file path for generated config. 2020-05-12 17:04:02 +02:00
Marcin Kuzminski
dbc9a2e41a tests: updated vcsserver test config 2020-05-12 10:23:34 +02:00
Marcin Kuzminski
6ba3464dd5 js: added log.warning support 2020-05-08 08:41:20 +02:00
Marcin Kuzminski
212b05d88c permissions: fixed problem with permissions changes from permission page 2020-05-11 16:30:30 +02:00
Marcin Kuzminski
6cf1c766fa docs: updated dev setup with latest supported nix version. 2020-05-07 15:51:09 +02:00
Marcin Kuzminski
d4eb900e5e app: use simpler way to extract default_user_id, this will be now registered at server
boot.
2020-05-07 15:28:20 +02:00
Marcin Kuzminski
833fb8ef6c caches: flush *all* caches used for permissions. 2020-05-05 21:35:59 +02:00
Marcin Kuzminski
9f456e36ba tests: fixed repo tests after changes for repo type selector. 2020-05-05 14:44:32 +02:00
Marcin Kuzminski
bf765e0f9e quick-search: added ability to search for pull-requests using pr: prefix.
- permissions are checked against the access to target repositories
2020-05-05 13:24:19 +02:00
Marcin Kuzminski
42302f7434 auth-user: enabled cache flags for fetching ACL ids.
- those are now safe to cache since we have a proper cache invalidation logic for permissions of users
- for lots of repo this makes our goto switcher much much faster
2020-05-05 13:18:55 +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
0cc11b1d08 docs: added admin task for bulk editing permissions. 2020-05-05 09:43:56 +02:00
Marcin Kuzminski
3b68588881 alerts: fixed sweet alert for users page. 2020-04-30 09:56:17 +02:00
Marcin Kuzminski
45bffc6b47 diffs: improve logging 2020-04-29 09:59:56 +02:00
Bartlomiej Wolynczyk
ebb3b8bc7e user-groups: clear autocomplete after selection. 2020-04-29 09:48:48 +02:00
Marcin Kuzminski
a4f18c798c pull-requests: switched alert to sweet alerts. 2020-04-28 10:32:20 +02:00
Marcin Kuzminski
6e32a23add repositories: preserve order of defined backends, and switched repo type selector to radios. 2020-04-27 09:39:34 +02:00
Marcin Kuzminski
72820d2808 pull-requests: allow filter by author 2020-04-24 11:51:37 +02:00
Daniel Dourvaris
23f9dd8816 diffs: improve text on unresolved comments attached to files that no longer exist in the review.
- fixes #5615
2020-04-22 12:38:46 +02:00
Marcin Lulek
e3169ab897 pull-requests: added filters to my account pull requests page. 2020-04-22 11:10:46 +02:00
Daniel Dourvaris
fcd530ecfe pull-requests: add information about changes in source repositories in pull-request show page.
- fixes #5611
2020-04-21 21:50:36 +02:00
Marcin Kuzminski
4ac845a76d users: added more secure way for fetching authentication tokens.
- we don't expose ALL on single page
- request needs a validation before viewing of each token
- will later add 2nd layer of auth.
2020-04-20 15:59:06 +02:00
Marcin Kuzminski
fa30900469 sweetalert: updated theme. 2020-04-20 15:56:25 +02:00
Marcin Kuzminski
324544678c events: added support for pull-request-comment and commit-comment events.
- allows chopts like actions on commits
- re organized events and code cleanups
2020-04-17 22:08:42 +02:00
Marcin Lulek
875bda9f88 templates: switched most of confirm dialogs to sweetalert2 2020-04-17 22:01:12 +02:00
Marcin Kuzminski
81cb00a1a9 comments: use better sweet alert confirm dialog. 2020-04-17 12:16:21 +02:00
Marcin Kuzminski
bdbfb266d3 comments: added better alerts for failed commenting operations. 2020-04-17 11:47:54 +02:00
Marcin Kuzminski
7b917e025b packages: bumped JS dependencies and added sweetAlert 2020-04-17 11:01:47 +02:00
Marcin Kuzminski
4a6d14777b dependencies: bumped gevent==1.5.0 2020-04-18 00:30:31 +02:00
Marcin Kuzminski
97e977f9e5 dependencies: bumped pyparsing==2.4.7 2020-04-18 00:30:16 +02:00
Marcin Kuzminski
d65bfd6d7e dependencies: updated certifi 2020-04-17 22:06:08 +02:00