Commit graph

1029 commits

Author SHA1 Message Date
Daniel Dourvaris
1960780e96 nix: add pygments-markdown-lexer for highglighting markdown files 2016-10-20 02:46:43 +03:00
Marcin Kuzminski
c069290119 system-info: expose inode limits and usage. Fixes #4282 2016-10-18 14:49:45 +02:00
Marcin Kuzminski
56c8deb944 packaging: bumped psutil to latest version 2016-10-18 14:05:17 +02: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
984d8c3212 svn-support: Only add reload-cmd subscriber if a reload command is set.
If no reload command is set in the ini file there is no need
to add the subscriber to the event.
2016-10-17 16:44:26 +02:00
Martin Bornhold
de243f8c31 svn-support: Add missing argument to tmplate context.
This argument was only added in the view handling GET requests.
But in case of an error the POST view also rederes the template
and threfore need this arguement.
2016-10-17 16:43:13 +02:00
Martin Bornhold
ee90352440 svn-support: Only show 'generate config' button if config generation is enabled. 2016-10-17 13:46:51 +02:00
Martin Bornhold
f18488ecab svn-support: Fix tests for subversion support.
Pass authentication realm to render function instead of retrieving it inside.
2016-10-17 12:09:50 +02:00
Martin Bornhold
c663f2f646 events: Add comments to the subcriber classes. 2016-10-17 10:45:13 +02:00
Martin Bornhold
ec8d1af12f events: Move subscriber classes from svn_support to rhodecode.subscribers.
These classes are generic and can be used by other components as well.
Thereofore they should not live inside of the svn_support package.
2016-10-17 10:44:56 +02:00
Martin Bornhold
472f756d3d svn-support: Remove commented code. 2016-10-17 10:25:49 +02:00
Martin Bornhold
a6c17ea43b svn-support: Use a queue and worker thread to serialize execution of event subscriber. 2016-10-17 08:42:51 +02:00
Martin Bornhold
b81e0eb4d5 svn-support: Use shlex to split the reload command for subprocess usage. 2016-10-14 15:41:22 +02:00
Martin Bornhold
2a2581e7b3 svn-support: Make the reload command timeout configurable via ini file.
Duration of the reload command may heavily vary between different
commands, setups, etc. Therefore we should make the timeout
configurable. This way customers can adapt it to their needs.
2016-10-14 15:40:48 +02:00
Martin Bornhold
30f00dc9fd svn-support: Add js on click handler to trigger Apache config genreation.
Th on click handler sends a POST to trigger the config file generation.
On succes it displays a notification to the user.
2016-10-14 15:11:04 +02:00
Martin Bornhold
6734ebac75 svn-support: Add a button to vcs-svn settings template to generate Apache config. 2016-10-14 15:09:43 +02:00
Martin Bornhold
03c17a2a57 svn-support: Add a view to trigger the (re)generation of Apache mod_dav_svn configuration file.
The configuration is automatically generated if a repository group is changed.
This is problematic in a case where no repository groups are used (yet).
Therfore an option is needed to start the geneartion manually.
2016-10-14 14:56:34 +02:00
Martin Bornhold
9b4da4cb9b svn-support: Add subscriber to execute the svn.proxy.reload_cmd on config changes. #4271 2016-10-14 11:56:12 +02:00
Martin Bornhold
41c9d26f81 svn-support: Add event to singnal apache mod dav svn configuration changes. 2016-10-14 11:57:21 +02:00
Martin Bornhold
f18ea2abf4 svn-support: Add reload command option (svn.proxy.reload_cmd) to ini files. 2016-10-14 10:04:17 +02:00
Martin Bornhold
a17adc9084 packaging: Fix versions of Chameleon(==2.24) and urllib3(==1.16). 2016-10-14 09:42:40 +02:00
Martin Bornhold
a9a4e32eed subprocess: Change all imports from subprocess -> subprocess32 2016-10-14 09:37:44 +02:00
Martin Bornhold
f5a84e0461 nix: Add subprocess32 to build inputs.
From the python 2 docs: POSIX users (Linux, BSD, etc.)
are strongly encouraged to install and use the much
more recent subprocess32 module instead of the version
included with python 2.7. It is a drop in replacement
with better behavior in many situations.
2016-10-14 09:23:41 +02:00
Martin Bornhold
0a88c1f0af svn-support: Add config setting to set the svn proxy (apache) reload command. 2016-10-12 13:38:03 +02:00
Martin Bornhold
f21d12203d svn-support: Use settings functions from rhodecode config. 2016-10-12 13:37:08 +02:00
Martin Bornhold
3feb547f27 config: Add argument to convert settings to lowercase or not.
Most settings should be converted to lowercase during app init.
But at least file system paths should not lower cased. Threfore
we need a switch to control it.
2016-10-12 13:36:26 +02:00
Marcin Kuzminski
62341a791b vcs: make the not initialiazed exception more meaningfull. 2016-10-18 23:22:12 +02:00
Marcin Kuzminski
41a29fc6f4 docs: fixed database scaling docs. Fixes #4281 2016-10-18 16:38:15 +02:00
Daniel Dourvaris
ea04026aa4 ux: fix bug where saving empty issue tracker form was causing
exception, fixes: #4278
2016-10-14 17:14:44 +03:00
Marcin Kuzminski
1d5cbade82 release: merge back stable branch into default 2016-10-17 10:39:16 +00:00
Marcin Kuzminski
6c03255e1e Added tag v4.4.2 for changeset d2514226abc8 2016-10-17 10:34:24 +00:00
Marcin Kuzminski
d81a8cf94e release: Finish preparation for 4.4.2 2016-10-17 10:34:23 +00:00
Marcin Kuzminski
52879d9658 release: updated pip2nix output for 4.4.2 2016-10-17 10:34:23 +00:00
Marcin Kuzminski
7fad76a2cc release: Start preparation for 4.4.2 2016-10-17 10:21:00 +00:00
Marcin Kuzminski
170507814a docs: updated changelog for 4.4.2 2016-10-17 11:39:40 +02:00
Marcin Kuzminski
0a933d98ea packaging: updated RhodeCode Tools to 0.10.2
- fixes the urllib3 packaging problem
2016-10-17 11:44:51 +02:00
Marcin Kuzminski
1e9bb6006b js: remove obsolete js file that are no longer required in project. 2016-10-14 19:28:15 +02:00
Marcin Kuzminski
eed69a96af docs: regenerated api docs with new fixed automation script.
- fixes the underline consistency
2016-10-14 12:36:38 +02:00
Marcin Kuzminski
23d86579e4 docs: added infor about flash message suppressing. 2016-10-14 12:27:20 +02:00
Marcin Kuzminski
6af66a91be flash-filters: changed texts 2016-10-14 12:20:07 +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
Marcin Kuzminski
9cbc371aa3 configs: synced latest production configs with control 2016-10-12 13:43:13 +02:00
Marcin Lulek
298d32efed components: small order of elements change and a cleanup 2016-10-12 11:32:20 +02:00
Martin Bornhold
88a384f13c tests: Fix error introduced by rebasing. 2016-10-11 13:27:51 +02:00
Martin Bornhold
2d6717d891 tests: Bring pyro4 protocol back to work as opt in. 2016-10-11 11:43:48 +02:00
Martin Bornhold
10181aa8e6 vcs: Send custom repo-locked status code to the VCSServer. 2016-10-10 16:07:15 +02:00
Martin Bornhold
2b09ada931 tests: Make test work with either http or pyro4 protocol. 2016-10-10 14:32:46 +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