Marcin Kuzminski
66e3dcc71d
system-info: added info about temporary storage.
...
- temporary storage is used by Mercurial and other parts of the system.
knowing it's limitations is important to know.
2016-11-18 00:35:04 +01:00
Marcin Kuzminski
183f7e8d18
system-info: use real memory usage based on new psutil api available from 4.0 release.
...
- we show more actual number by calculating physical available memory
2016-11-15 10:19:20 +01:00
Marcin Kuzminski
091c53d8e4
system-info: added UUID placeholder for generating platform unique identifiers.
2016-11-15 00:35:53 +01:00
Marcin Kuzminski
078d9996e4
system-info: add edition type into app info.
2016-11-15 00:16:24 +01:00
Marcin Kuzminski
f543920d9d
system-info: unified data structures for usage in API.
...
- most datastructures now use dicts, and consisten return value for human and regular values
- added detection of high load average
- improved inodes/archive/gist storage limits
- fixed problems with references of setting value as human_value and data overrides
- re-did search info (more useful for 2 backends that we use)
2016-11-15 00:06:22 +01:00
Marcin Kuzminski
c68c339c0b
system-info: fetch vcs settings from vcsserver. Fixes #4276
...
- redone the system info page. Errors/Warnings now show next to the
data, and also show up in API call.
- implemented fetching of git/hg/svn version from running vcsserver
- implemented fetching of vcsserver version from itself
- added more warnings/errors detection on RAM/Inodes etc
- few cleanups
2016-11-14 21:14:29 +01:00
Marcin Kuzminski
edcc18406a
http: better reporting of msgpack unpack errors.
2016-11-14 21:10:39 +01:00
Martin Bornhold
fc63a03903
subrepo: Handle subrepo merge errors.
2016-10-28 13:07:35 +02:00
Martin Bornhold
fe841ddc63
subrepo: Add exception for subrepo merge errors.
2016-10-28 13:07:21 +02:00
Martin Bornhold
ba66c9ce61
subrepo: Add merge failure reason code ad message for subrepo merge conflicts.
2016-10-28 13:06:55 +02:00
Marcin Kuzminski
9e6713219c
repo-groups: implemented default personal repo groups logic.
...
- fixes #4003
- adds new settings to automatically create personal repo groups for users on API cal, add user form, registration
- it's possible to create a pattern based repo group for example /u/{username}
2016-11-07 15:27:36 +01:00
Martin Bornhold
0236ad15ca
vcs: Deprecate generic missing commit merge error reason.
...
There are two more specific error reasons (target/source ref missing)
which should be used instead.
2016-10-27 12:50:59 +02:00
Martin Bornhold
66a336156c
vcs: Use more specific merge error reason (either target or source ref missing)
2016-10-27 12:50:02 +02:00
Martin Bornhold
66c56a50d1
vcs: Add enumeration for pull request update failure reasons.
2016-10-27 10:21:33 +02:00
Martin Bornhold
d67cf6eb19
vcs: Add merge failure reasons for missing target ref and missing source ref.
2016-10-26 15:43:03 +02:00
Martin Bornhold
fe6df6dda5
db-migration: Add a column to the PullRequest and PullRequestVersion table.
...
The column holds the value of the shadow repo merge reference.
2016-10-25 10:01:29 +02:00
Martin Bornhold
929f1ab661
vcs: Return merge reference in merge response.
...
Previously we returned only the merge commit id. Now we set a bookmark(hg)
or branch reference(git) to point to the merge commit. By returning a
merge reference we have both informations available (id and name)
2016-10-23 16:02:41 +02:00
Martin Bornhold
d6e0fb2739
pep8: Remove unused imports and variables.
2016-10-23 16:00:16 +02:00
Martin Bornhold
c4c2b23087
pr-shadow: Set bookmark in hg repositories on successful merge. #1055
2016-10-23 14:34:15 +02:00
Martin Bornhold
939cf321a7
pr-shadow: Set reference in git shadow repositories on successful merge. #1055
2016-10-23 14:33:45 +02:00
lisaq
607fd8931d
settings: fix #3944 add password reset permission
2016-10-25 17:37:14 +02:00
Daniel Dourvaris
f7d846560f
ux: make 'no newline at end of file' message more pronounced in diffs
2016-10-25 17:24:56 +03:00
Daniel Dourvaris
12ebe4382a
diffs: replace compare controller with new html based diffs:
...
* side/side + unified support
* redesign of diff changes/operations
* added button to see file before the change
* auto collapses large diffs
refs #4232
2016-10-19 14:29:51 +03:00
Daniel Dourvaris
af4ba1eff5
codeblocks: add new code token rendering function that
...
supports diff and normal tokens.
2016-10-19 10:37:07 +03:00
Martin Bornhold
a9a4e32eed
subprocess: Change all imports from subprocess -> subprocess32
2016-10-14 09:37:44 +02:00
Marcin Kuzminski
62341a791b
vcs: make the not initialiazed exception more meaningfull.
2016-10-18 23:22:12 +02:00
Daniel Dourvaris
8f4e395877
annotations: replace annotated source code viewer with renderer
...
to allow soft wrapping of lines and viewing of annotation message
2016-10-12 18:55:18 +03:00
Daniel Dourvaris
323c951802
vcs: add equality testing for commits against non commits to allow
...
commit == None functionality
2016-10-13 13:30:06 +03:00
Martin Bornhold
10181aa8e6
vcs: Send custom repo-locked status code to the VCSServer.
2016-10-10 16:07:15 +02:00
Martin Bornhold
add98db605
vcs: Add a comment about removing some code when dropping Pyro4 support.
2016-10-10 14:06:26 +02:00
Martin Bornhold
d3b91c664e
vcs: Include reason phrase from VCSServer into HTTP status string.
2016-10-10 13:58:52 +02:00
Martin Bornhold
2279a8a80e
vcs: Fix vcsserver startup with http backend.
2016-10-04 12:53:40 +02:00
Martin Bornhold
dff5dd52e0
http: Allow http, pyro and custom implementations for scm app.
2016-10-04 12:01:10 +02:00
Martin Bornhold
3ec9d222b8
http: Remove default arguments from prepare callback function.
2016-10-04 11:37:36 +02:00
Martin Bornhold
65bc7e55cf
vcs: Raise exception if unknown protocol specified for vcs server protocol.
2016-10-04 11:24:56 +02:00
Martin Bornhold
0a1cdb3d33
http: Remove 'pyro4' default values from function arguemnts in vcs init. #4237
2016-10-04 11:24:34 +02:00
Marcin Lulek
73c93af3e7
helpers: flash messages can now carry additional information in json format
2016-10-10 16:00:18 +02:00
Martin Bornhold
ecc24326d7
vcs: Do not pass the backend key into the scm app instances.
...
We used the key as a value for a response header. Since this header is removed there
is no need to pass the backend key araound.
2016-10-06 16:25:27 +02:00
Martin Bornhold
c6466346b4
vcs: Remove custom response header which contains backend key.
...
We used this custom header to skip the error handling.
This is no linger needed since the VCS middleware is moved above of the error handling.
2016-10-06 16:10:40 +02:00
Martin Bornhold
1a3f93ca85
error-handling: Remove if condition to check if the response is a vcs response.
...
We moved the VCS middleware out of the error handling. Therefore we don't need to skip the error handling anymore.
2016-10-06 16:08:34 +02:00
Martin Bornhold
861adffd82
tests: Add a way to deactivate exception re-raising in tests.
2016-10-07 09:15:43 +02:00
Martin Bornhold
b213d2244c
wsgi-stack: Refactor the error handling view into a middleware class.
2016-10-06 12:01:57 +02:00
Martin Bornhold
aab8b8038b
vcs: Remove dead code.
2016-10-04 14:38:11 +02:00
Marcin Kuzminski
0a39f5bf00
vcs: merge logic with dry run now uses better default arguments.
...
Helps to find out where the merge came from.
2016-10-03 11:20:25 +02:00
Marcin Kuzminski
721295056f
vcs: add missing parameters to base class method.
2016-10-03 11:19:57 +02:00
Martin Bornhold
acc2367ab9
shadow: Simplyfy the regular expression for detecting shadow repository URLs
2016-09-28 13:25:57 +02:00
Martin Bornhold
5eeb75edac
shadow: Fix an error in the regex to detect shadow repository URLs.
2016-09-26 14:54:21 +02:00
Martin Bornhold
f0567693de
lib: Fix missing space char in bad slug characters string.
2016-09-23 14:16:29 +02:00
Martin Bornhold
9efcbadac8
vcs: Explicit use one of the repo names (acl, url, vcs)
2016-09-23 13:23:32 +02:00
Martin Bornhold
2cd4d08392
vcs: Clean up the shadow-repo-expose code and make some nicer comments.
2016-09-23 12:52:24 +02:00