Commit graph

4351 commits

Author SHA1 Message Date
Marcin Kuzminski
7260aed821 grids: columns and sorting fixes 2019-12-19 15:27:28 +01:00
Marcin Kuzminski
75262fdc8e auth: optimize attribute fetching in AuthList iterators 2019-12-19 14:31:18 +01:00
Marcin Kuzminski
7206dd2657 dashboard: main page grids async load.
- in some cases when super-admins or all repos in root loading main
page could take minutes because we loaded whole dataset.
- this change make the loading limited to first page of data.
  Rest is loaded via DB pagination
- In many cases this is major speed-up for showing 1st page fast.
2019-12-19 12:46:03 +01:00
Marcin Kuzminski
7094178091 exported get_repos_as_dict for new grids 2019-12-19 12:52:01 +01:00
Marcin Kuzminski
90db409b65 admin: made all grids use same partial loading logic
- dont load all results for repositories in admin
- speed up loading admin repos page by narrowing results based on permissions
- some small speed ups and code optimizations on permission loading
2019-12-19 11:42:25 +01:00
Marcin Kuzminski
6257560baa automation: moved update groups task into celery task 2019-12-19 12:43:57 +01:00
Marcin Kuzminski
7b9563ecc4 my-account: speed up fetching permissions in my account repos grid. 2019-12-19 12:44:26 +01:00
Marcin Kuzminski
cfb912d9b1 bookmarks: cache fetching of bookmarks since this is quite expensive query to make with joinedload on repos/repo groups. 2019-12-19 13:51:29 +01:00
Marcin Kuzminski
80708e3bd1 auth: use single instance of auth checker to speed up execution of the permissions check by not creating new instance in each loop iteration. 2019-12-18 12:04:40 +01:00
Marcin Kuzminski
780efd065b core: add dedicated flag to debug sql queries instead of rely of debug flag which is for something else. 2019-12-19 18:00:00 +01:00
Marcin Kuzminski
91c589e803 pull-requests: expose TODO box in dedicated panel
- TODOs are important for merging and code-review we make them important now and shown next to votes for reviewers.
- fixed some scrollToComment logic
- small UI fixes
2019-12-16 13:12:12 +01:00
Marcin Kuzminski
027cffbc31 tests: fixed *again* routing links 2019-12-16 13:53:28 +01:00
Marcin Kuzminski
6bb0004fba tests: fixed sourceforce link, they redirect to .io now 2019-12-15 00:31:55 +01:00
Marcin Kuzminski
523b23afe3 notifications: added update PR case. 2019-12-14 23:41:57 +01:00
Marcin Kuzminski
241db30193 pull-requests: simplified the UI for pr view.
- hide some information we don't need all the time
- style the UI similar to upcomming UI overhaul of PRs
- less info == more readability
2019-12-13 12:10:10 +01:00
Daniel Dourvaris
7a7c9bd805 audit-logs: fixed search cases with special chars such as -.
- Changed Text() field into Keyword() field to disable term analyzer.
- Fixes #5575
2019-12-12 21:40:34 +01:00
Bartlomiej Wolynczyk
4985fe50d8 ui: make super admin named consistently across ui. 2019-12-11 14:28:02 +01:00
Marcin Kuzminski
954c97d537 svn: fix checkout SVN ssh url.
G: changed rhodecode/tests/lib/test_libs.py
2019-12-09 13:12:15 +01:00
Marcin Kuzminski
9bf9f2f76d hovercards: handle empty repository 2019-12-09 12:53:12 +01:00
Marcin Kuzminski
e198f35a29 comments: fixed codemirror styling problems. 2019-12-09 09:40:57 +01:00
Marcin Kuzminski
399ea1863d ui: updated comments box with latest styling. 2019-12-07 11:18:17 +01:00
Marcin Kuzminski
20af3498fa pull-requests: handle case when removing existing files from a repository in versioning diff. 2019-12-06 12:30:54 +01:00
Marcin Kuzminski
a727f47925 pull-requests: fixed source of changes to be using shadow repos if it exists.
- previous logic was flaved as the OR condition always used the main repo
- in case of GIT push -f and rebase we lost commits in the repo resulting in
  problems of displaying versions of pull-requests.
2019-12-06 12:08:12 +01:00
Marcin Kuzminski
248aa3500a ui: fix buttons on advanced page 2019-12-06 10:11:01 +01:00
Marcin Kuzminski
6977177f84 commits/ux: use similar as in files expand/collapse toggle. 2019-12-05 23:07:35 +01:00
Marcin Kuzminski
a6c38ef604 gists: move update button to the left as other forms has action buttons on the left. 2019-12-05 15:15:33 +01:00
Marcin Kuzminski
84839b3559 helpers: fixed options generation typo. 2019-12-05 15:14:56 +01:00
Marcin Kuzminski
b36b63f979 gists: use left-sided action button 2019-12-05 14:15:02 +01:00
Marcin Kuzminski
52724dc0ff ui: small styling of buttons 2019-12-04 23:51:54 +01:00
Marcin Kuzminski
c5c266b2e3 emails: updated comment template header to be exactly like other email templates. 2019-12-04 22:10:53 +01:00
Marcin Kuzminski
03b4b5ba7b pull-requests: added update pull-requests email+notifications
- fixed generated update message comments + invalid anchor linkes generated to the changed files
- unified headers on all email messages for pull requests
2019-12-04 20:58:23 +01:00
Daniel Dourvaris
535f4541ef mercurial: fix deprecation warnings on using exc.message attribute. 2019-12-04 20:54:31 +01:00
Daniel Dourvaris
b0cec550ea templates: use explicit named actions like "create user" instead of generic "save" which is bad UX. 2019-12-04 20:50:53 +01:00
Marcin Kuzminski
e5ac9fec95 markup-renderers: fixed code highlite for rst 2019-12-04 17:20:01 +01:00
Marcin Lulek
9ed5cee37b data-tables: fix div move when loading of new chunks in datatable. 2019-12-04 10:08:29 +01:00
Marcin Kuzminski
0bed1e9849 git: fixed issue with git submodules detection. 2019-12-03 14:59:06 +01:00
Marcin Kuzminski
62724b55c2 dependencies: bumped rhodecode-tools to 1.4.0 2019-12-02 23:12:59 +01:00
Marcin Kuzminski
fa8c11213d dependencies: bumped / freeze some libraries to make rhodecode-tools/vcsserver in sync
- pyparsing-2.4.5
- pyasn1-0.4.8
- pluggy-0.13.1
- contextlib2-0.6.0.post1
- attrs-19.3.0
2019-12-02 23:12:25 +01:00
Marcin Kuzminski
0c4dd82cf4 exception-tracker: send exc id headers on failed API calls for tracking errors that server generated. 2019-12-02 15:56:54 +01:00
Daniel Dourvaris
8bfbe9e1dc issue-tracker: moved example to the input box
- removed docs which had bad examples
- improved regex for matching newline character properly
- added nicer formatting in examples
2019-12-02 15:12:39 +01:00
Marcin Kuzminski
acf245b8e1 hovercards: handle unknown commits on repo by returning 404 instead of 500 error. 2019-12-02 14:26:56 +01:00
Marcin Kuzminski
9812de97f1 helpers: unicode/str add flag to control usage of chardet.
- in case it's somehow installed we still want to control the behaviour via explicit flag.
2019-11-29 13:16:56 +01:00
Marcin Kuzminski
656a419c84 app-setup: allow skip of legacy plugin discovery. 2019-11-29 11:15:13 +01:00
Marcin Kuzminski
2f94372e2a gunicorn: moved loglevel control to .ini file 2019-11-28 12:54:53 +01:00
Marcin Kuzminski
4ad01cbbc8 deform: updated style 2019-11-28 12:49:21 +01:00
Marcin Kuzminski
385a7dcd6e codemirror: bumped to version 5.49.2 2019-11-27 17:03:37 +01:00
Marcin Lulek
2d0da2ef00 emails: don't use tag type for commit flow in pull-request type emails.
- they don't render nicely in small devices
- they are way off visually to all other elements of emails making it almost like a primary elements (which they aren't)
2019-11-27 13:41:31 +01:00
Marcin Lulek
9143b86d83 pull-requests: loosen strict view of pull-requests that state is changing
- we now replace it with limited view which still allows deletion/editing of reviewers or title and description
- added labels for state changing instead of grey out (it was used for closed PRs)
- small UI fixes
2019-11-27 12:43:52 +01:00
Marcin Kuzminski
ad10456d3a pull-requests: added WIP markers in display, and improved a bit ui when creating a pull-request.
- add info about WIP markers in title
- make description a bigger input to match size of title
2019-11-26 12:39:01 +01:00
Marcin Kuzminski
18a751f846 pull-requests: moved force refresh to update commits button.
- this action make more sense right after updating pull-request with latest state of commits
- moving out of merge checks which shouldn't have this action as it's confusing
2019-11-26 12:21:13 +01:00