Commit graph

735 commits

Author SHA1 Message Date
Marcin Kuzminski
cd0d654a5f vcs: streaming will use now 100kb chunks readers for faster throughput 2018-12-22 10:16:17 +01:00
Marcin Kuzminski
d632d6691b vcs: handle excessive slashes in from of the repo name path, fixes #5522 2018-12-23 20:37:05 +01:00
Marcin Kuzminski
a95bd9622c svn: support proxy-prefix properly fixes #5521 2018-12-20 01:01:02 +01:00
Marcin Kuzminski
9257b16766 db: use asbool to detect if ping conenction or debug is set.
Otherwise just those two flags present would trigger the conditions.
2018-12-13 18:45:48 +01:00
Marcin Kuzminski
ea9b36c5a0 authentication: show icons only for activated plugins. 2018-12-10 13:47:09 +01:00
Marcin Kuzminski
4719d0ff87 code: unified coverage notes to # pragma: no cover 2018-12-07 13:34:28 +01:00
Marcin Kuzminski
34ec070623 markdown: fixed GFM auto checkbox generation. References #5513 2018-12-07 13:30:35 +01:00
Marcin Kuzminski
169a8475bb vcs: rename get_file_history to get_path_history as it better reflects what it does. 2018-12-07 09:43:58 +01:00
Marcin Kuzminski
f3d3f479b4 code: fixed deprecated octal calls for py3 compat. 2018-11-30 11:49:27 +01:00
Marcin Kuzminski
d1e7a351d2 request-tracking: use consistent lenght formatting 2018-11-25 18:10:58 +01:00
Marcin Kuzminski
97f41c8fd6 markdown-renderer: use lazy loaded markdown renderers initialization.
- they are heavy to initialize, and should be cached.
- we're not caching it at load time, but on access time after this change.
- speeds up application start.
2018-11-25 20:19:48 +01:00
Marcin Kuzminski
0cc2c2c07d code: code cleanups, use is None instead of == None. 2018-11-21 18:05:27 +01:00
Marcin Kuzminski
3ed3e1f28f acl: support evolve subcommands when checking for permissions. 2018-11-21 15:31:15 +01:00
Marcin Kuzminski
d85e215d98 utils: updated request generation so ishell can run some automation scripts. 2018-11-18 10:04:19 +01:00
Marcin Kuzminski
db6f29bf03 hooks: use safer way to validate kwargs. If rcextensions are disable we shouldn't
do any actions.
2018-11-12 12:10:07 +01:00
Marcin Kuzminski
7f434f9e4c mailer: use default port for mails 2018-11-07 22:48:57 +01:00
Marcin Kuzminski
99db38dfff system-info: use safer resource.getrlimit becuase of #5501 2018-10-30 15:14:17 +01:00
Marcin Kuzminski
931f77dea6 channelstream: nicer handle of connection errors for debug. 2018-10-29 09:53:00 +01:00
Marcin Kuzminski
f5e1dbecb4 ui: dropped the custom font in favor of builtin ones.
- this is faster to load/display and produces less problems with UI on multiple platforms
- fixed few ui elements after changes
2018-10-26 12:31:21 +02:00
Daniel Dourvaris
d299f7f7b4 branch permissions: fixed a case of showing branch permissions entries when inheritation model is used.
- the algo picker used not-explicit pattern but whole set
- fixes #5502
2018-10-25 11:28:00 +02:00
Marcin Kuzminski
9afc78f516 jupyter: sanitize markdown cells similar as we do for our own markdown cleanup. 2018-10-24 15:45:42 +02:00
Marcin Kuzminski
1a766b9dcb security: improve Javascript RST sandbox to also catch mixed case. 2018-10-24 15:08:27 +02:00
Marcin Kuzminski
f0b9af7b4b compare: fixed case of cross repo compare before links not working. 2018-10-24 14:13:47 +02:00
Daniel Dourvaris
07fea8c47c diffs: exclude +/- from diffs generation and make then a non-selectable markers visible only via CSS. 2018-10-23 15:08:18 +02:00
Daniel Dourvaris
94d74336d1 diffs: introducing diff menu for whitespace toggle and context changes 2018-10-23 17:02:26 +02:00
Marcin Kuzminski
175a9b344e rcextensions: new builtin rcextensions.
- ability to expose output to users from rcextensions
- new docs
- linking to the code makes the tests always check the integrity of rcextensions
- added new hook variables and described them to end users
2018-10-23 11:45:45 +02:00
Daniel Dourvaris
a55c002d0c git: reset should use explicit -- to distinguish we want reset of branch name. 2018-10-16 17:53:16 +02:00
Marcin Kuzminski
797a4ff7ab diffs: sticky top-file bar + context aware file labels.
- when browsing diffs now we show context file path so every time you know what file diff you're seeing
- block file selector on range diffs
- update bower packages
2018-10-16 18:24:44 +02:00
Marcin Kuzminski
9014d9516c pull-requests: allow to show range diff in pr view 2018-10-15 12:44:36 +02:00
Marcin Kuzminski
5a37a33119 mailing: switched from homebrew lib to pyramid_mailer with python3 compatability 2018-10-03 18:47:58 +02:00
Marcin Kuzminski
04f5394041 diffs: we should use removed instead of deleted. 2018-10-01 13:27:14 +02:00
Marcin Kuzminski
4da7905b37 vcs: use a real two part name for merge operation.
- expose settings into vcs_settings for easier override later
2018-10-01 13:54:51 +02:00
Marcin Kuzminski
3a43ded6b6 hooks: pass in store_path into env for hooks. 2018-09-26 12:14:37 +02:00
Marcin Kuzminski
5653c130c7 scm_app: add more debug info when unhandled errors happen on vcsserver. 2018-09-26 12:11:09 +02:00
Marcin Kuzminski
2910f510dc repositories: added option to archive repositories instead of deleting them.
- closes #5493
2018-09-25 17:28:11 +02:00
Marcin Kuzminski
39d181f715 repository: add check preventing of removal of repo with attached pull requests.
- fixes #5493
2018-09-25 12:05:44 +02:00
Marcin Kuzminski
4c45a5dbea users: use new session store for temporary settings for users.
- use for clone url type selection
- use for diffs mode
2018-09-24 23:18:38 +02:00
Marcin Kuzminski
01bb7220b2 diffs: don't use highlite on the new ops lines 2018-09-24 17:49:14 +02:00
Marcin Kuzminski
4f428a0e1a comments: allow commenting on empty files without content. 2018-09-24 14:34:02 +02:00
Marcin Kuzminski
7da6de8350 comments: ensure we ALWAYS display unmatched comments. 2018-09-24 12:40:08 +02:00
Marcin Kuzminski
b4ef64817c diffs: make validation of version, so we can change diffs and force re-cache if diffs are in old version. 2018-09-24 15:59:38 +02:00
Marcin Kuzminski
5a4a98b40e git: use a fetch_sync based creation of remote repos.
- skips fragile dulwich code that has problems with large repos
- is in sync with logic that does remote fetch
- is faster and more efficient
2018-09-21 13:35:45 +02:00
Marcin Kuzminski
c5f41094fe mail: use faster detection of email misconfiguration. This should be done at earliest
possible step to prevent from DB query for recipients if we wont send email anyway.
2018-09-21 12:34:35 +02:00
Marcin Kuzminski
59312acf82 import/repo-checks: skip validating storage path in detection of SCMs. 2018-09-19 14:19:45 +02:00
Marcin Kuzminski
4db6dd6754 audit-logs: added entries for branch permissions 2018-09-14 18:24:51 +02:00
Marcin Kuzminski
9033601562 logging: use lazy parameter evaluation in log calls. 2018-09-13 17:41:35 +02:00
Marcin Kuzminski
b8b33988bd exception_store: rename .ini option for future 2018-09-13 14:35:14 +02:00
Marcin Kuzminski
f0ff76a829 core: use py3 compatible prints 2018-09-12 09:47:41 +02:00
Marcin Kuzminski
20e4875957 svn: use streaming uploads/downloads of files.
- before we buffered whole content before uploading/download
- this could lead to OOM errors on big files
- now instead we stream when PUT/GET are sent from SVN resulting in faster more efficient data transfer
2018-09-11 14:22:22 +02:00
Marcin Kuzminski
da76e0ed96 svn: use shared configurable storage for svn_txn_id interception logic. 2018-09-11 11:31:53 +02:00