Commit graph

1147 commits

Author SHA1 Message Date
Marcin Kuzminski
71358e3f42 backends: fix potential unicode problems on debug logging. 2016-11-23 11:56:21 +01:00
Marcin Kuzminski
26741dfe44 i18n-js: updated generated messages. 2016-11-24 15:50:43 +01:00
Marcin Kuzminski
351ff18e08 i18n: added dummy file wth translations to help extract JS messages from EE version.
- helps also to translate parts from unreachable code.
  Temp solution, but it works.
2016-11-24 15:48:27 +01:00
Daniel Dourvaris
e97cb5ad1e diffs: add comments to changeset diffs 2016-10-28 10:39:55 +03:00
Daniel Dourvaris
d1a7921cfc diffs: add repo_name as parameter of diffset - fixes bug
where comparing different target/source repos had wrong diff links
2016-10-28 09:42:19 +03:00
Daniel Dourvaris
cbd60560be model: add outdated property to changeset comment to check if
comment is outdated
2016-10-27 10:03:43 +03:00
Daniel Dourvaris
09462ffeae js: add failure callbacks to ajax functions to allow custom
behaviour on failed requests
2016-10-27 09:56:27 +03:00
Daniel Dourvaris
ea3308928c changeset: add new diffs to changeset controller 2016-10-26 17:57:23 +03:00
Daniel Dourvaris
1278eec21d ux: make the diffset header more pronounced and show commit details
if a commit is available, also color it orange when a diff has been
limited
2016-10-26 17:55:20 +03:00
Daniel Dourvaris
0584810d77 diffs: move diffmode to template global context and add it to session
so mode is saved between requests
2016-10-26 16:53:16 +03:00
Daniel Dourvaris
3e93f44117 diffs: rename .diff to .filediff and use .diffset for grouping
a list of diffs since .filediff refers to a single file rather than
the entire diff
2016-10-26 16:21:57 +03:00
Daniel Dourvaris
ec2bf92f43 diffs: add commit id argument and use id of filediff for identifying
collapse blocks and links, this allows render_diffset to be used
multiple times on a page without conflicting with each other
2016-10-26 13:13:42 +03:00
Daniel Dourvaris
df7d228bef diffs: add ruler to diff output to show eg. 80 char line 2016-10-25 17:54:35 +03:00
Martin Bornhold
9a1b3214a3 nix: Add sourcesOverrides argument to shell.nix to set the vcs server path in jenkins. 2016-10-26 11:52:03 +02:00
Martin Bornhold
34b5e9a81e nix: Use vcsserver from config instead of using command line argument. 2016-10-17 09:33:17 +02:00
Martin Bornhold
d2d3673431 nix: Add methods to support develop installations from config. 2016-10-17 09:32:13 +02:00
Martin Bornhold
5eb98d8151 nix: Move shell hook: default.nix -> shell.nix and set custom prompt.
When using multiple dev envs with nix-shell it's good to have a unique
shell propt to distinguish them.
2016-10-17 09:10:28 +02:00
Marcin Kuzminski
ba9bf581d6 validators: fix glob validator raise statement misplacement. 2016-11-21 23:33:09 +01:00
Marcin Kuzminski
35e0d8c279 files: fix loading of source files events via pjax. 2016-11-21 20:34:04 +01:00
Marcin Kuzminski
01518d41f6 backends: don't detect backends when initializing db based vcs-instance.
This skips some calls back to vcsserver.
2016-11-17 20:00:16 +01:00
Marcin Kuzminski
f76d8139cb vcs-http: explicitly pass in vcs-type into vcsserver. 2016-11-17 19:25:09 +01:00
Marcin Kuzminski
d5210dfe63 simplevcs: fix a typo when running detection of vcs backend.
- the flag should be explicit_scm which skips detection of VCS systems.
This improves the speed of calls by not trying to look for a valid vcs.
2016-11-17 18:48:31 +01:00
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
c5ddd016be tests: use WARN loglevel by default, and add --test-loglevel flag to change this.
Reduces the ammount of logs printed during tests.
2016-11-17 14:28:08 +01:00
Marcin Kuzminski
1f5e0d3d8d tests: sanitize temp group name to conform with our schema validators that clear
the special chars out.
2016-11-17 13:01:19 +01:00
Marcin Kuzminski
2d3588facb docs: fix apache as subdirectory instructions.
- fix HTTP flag
- fix badly stated force_https usage together with proxy-prefix
2016-11-17 15:57:15 +01:00
Marcin Kuzminski
c152f31d62 docs: fixed small wanrings/errors during build. 2016-11-15 14:01:59 +01:00
Marcin Kuzminski
09d36e8196 docs: small improvements on main page. 2016-11-15 13:06:17 +01:00
Marcin Kuzminski
71708dcc79 svn: fixed docs for svn over http. 2016-11-15 13:06:02 +01:00
Marcin Kuzminski
097f051a3b svn: added svn setup instructions link into the proxy host form. 2016-11-15 12:17:42 +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
83ff493336 system-info: improve formatting of snapshot info page. 2016-11-15 00:35:08 +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
Marcin Kuzminski
d58bae5676 Added request header downgrade for COPY command to work on https setup. Fixes #4307 2016-11-11 20:06:48 +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
1b9714f972 subrepo: show subrepo as dir path. 2016-11-10 13:47:29 +01:00
Marcin Kuzminski
33ad4d47b8 libraries: bumped ipython to 5.10, bumped ipdb to 0.10.1 2016-11-10 17:29:46 +01:00
Marcin Kuzminski
19bead923a templates: fixed missing suffixes for checkboxes in vcs settings 2016-11-10 16:43:16 +01:00
Marcin Kuzminski
54f19481c0 meta-tags: fixes #4305, metatags are not taken into account when truncating output.
- also makes the personal repo groups show special tag disregarding if metatags are on or off
- truncate via CSS instead of hardcoded 60 chars
2016-11-09 14:31:45 +01:00
Marcin Kuzminski
124abf076c repo-groups: add personal flag indicator in advanced view. 2016-11-09 06:12:35 +01:00
Marcin Kuzminski
18ba271d1d personal-repo-group: update ui on auto-selecting the personal repo group on forks, edit/create repo 2016-11-07 18:14:19 +01:00
Marcin Kuzminski
51530866e2 visual-settings: added personal metatag which is also recognizable. 2016-11-07 18:06:33 +01:00
Marcin Kuzminski
eb4799663b i18n: expose custom name to catch the translation strings. 2016-11-07 17:44:01 +01:00
Marcin Kuzminski
b17c7a340a tests: improve detection of empty flash messages during the tests 2016-11-07 15:44:47 +01:00