Marcin Kuzminski
d793ec4f31
core: stop using deprecated .revision
2018-10-01 15:57:56 +02:00
Marcin Kuzminski
df27625f07
exceptions: use python3 compatible exception handling
2018-10-02 11:03:22 +02:00
Marcin Kuzminski
25148be103
diffs: seperate visually diff pills for better readability
2018-10-01 14:51:26 +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 Lulek
e9f80c1525
diffs: added handy quick file selector in diffs views.
2018-10-01 10:15:33 +02:00
Daniel Dourvaris
3801dc220e
pyramid: fixed some deprecated calls.
2018-10-01 10:16:57 +02:00
Daniel Dourvaris
1db967ddb0
tests: fixed some pytest deprecated calls, and warnings.
2018-10-01 12:23:47 +02:00
Marcin Kuzminski
93fe457930
tests: use safer test id generator.
...
- this should handle pure boolean ids
2018-09-26 15:08:09 +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
98ef71f157
diffs: limit commit line context to MAX_DIFF to prevent packetOverflow errors.
2018-09-26 10:23:07 +02:00
Marcin Kuzminski
dffd66bf18
routing: fix default argument mutability.
2018-09-25 14:02:31 +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
7ec8856f00
users: in case of multiple personal groups, return the first instead of an error.
...
- backward compat fix from previous error we had
2018-09-24 19:02:52 +02:00
Marcin Kuzminski
e9cb071b85
users: when deleting users ensure we also clear personal flag so we don't have multiple personal groups
...
for super-admin who inherits the detached objects.
2018-09-24 19:02:21 +02:00
Marcin Kuzminski
6f01bfd58b
users: ensure get_first_superadmin actually gets the 1st created super-admin.
2018-09-24 19:01:50 +02:00
Marcin Kuzminski
b8e6227327
caches: show full paths for super-admin, hide paths for regular users for security.
2018-09-24 15:51:18 +02:00
Marcin Kuzminski
25edeca2ca
diffs: small UI fixes
2018-09-24 15:35:37 +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
65e339e9fd
core: handle edge case requesting matched routes but with hg/svn/git or api context.
...
- before we error out with 500
2018-09-20 11:47:03 +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
8d4e2dda3a
license: update license metadata and generation code
2018-09-20 21:48:08 +02:00
Marcin Kuzminski
da91bab5d6
validators: fix url_validator tests and make it flag controllable.
2018-09-19 10:52:06 +02:00
Marcin Kuzminski
8ab9a65878
scm-model: add extra validation logic for remote uri to filter out bad scheduler entries.
2018-09-18 20:23:32 +02:00
Marcin Kuzminski
69f8a4150c
exception_tracker: use a default value of exception store that is working across all instances e.g vcsserver and enterprise.
2018-09-18 10:30:58 +02:00
Marcin Kuzminski
1f39d62f74
comments: use proper auth user for close PR action.
2018-09-18 09:49:18 +02:00
Marcin Kuzminski
da773459ae
comments: fix extracing auth_user from the passed in objects. Before if auth_user is empty we could relly on INT or STR passed in
2018-09-17 19:05:34 +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
44d318a68c
added some more logging for token auth
2018-09-13 13:19:05 +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
Marcin Kuzminski
b79d6e197a
celery: use exc_tracker to store tasks exceptions for easier debugging.
2018-09-10 21:05:38 +02:00
Marcin Kuzminski
19d4c6901b
exc_tracker: allow setting custom store via .ini file
...
- use safer exc read when listing exceptions.
2018-09-10 22:18:53 +02:00
Marcin Kuzminski
0a46b5b550
docs: fixed not supported code-block
2018-09-10 18:59:36 +02:00
Marcin Kuzminski
5976972fd8
release: Bump version 4.13.0 to 4.14.0
2018-09-10 10:00:27 +02:00
Marcin Kuzminski
62d7de8324
release: merge back stable branch into default
2018-09-10 09:57:17 +02:00
Marcin Kuzminski
48e3da0b64
release: Start preparation for 4.13.1
2018-09-06 21:30:12 +02:00
Marcin Kuzminski
ae3f64f60f
release: merged default into stable
2018-09-06 21:30:04 +02:00
Marcin Kuzminski
6f0449ad8a
maintainance: add repack and fsck for git maintainance execution list.
2018-09-06 17:43:54 +02:00