Daniel Dourvaris
067756822f
files: don't load the file if it is over the size limit since it
...
won't be displayed anyway - increases speed of loading the page
when a file is too big
2016-10-21 07:38:10 +03:00
Marcin Kuzminski
c069290119
system-info: expose inode limits and usage. Fixes #4282
2016-10-18 14:49:45 +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
a9a4e32eed
subprocess: Change all imports from subprocess -> subprocess32
2016-10-14 09:37:44 +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
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
1e9bb6006b
js: remove obsolete js file that are no longer required in project.
2016-10-14 19:28:15 +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 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
Martin Bornhold
acfd1ac604
pytest: Fix settings in test-ini files.
2016-10-07 10:39:14 +02:00
Martin Bornhold
efcfc61e67
tests: Fix test that expects the pyro4 scm app as default.
2016-10-07 10:32:28 +02:00
Martin Bornhold
dcedd37e25
tests: Use http backend in rhodecode test ini file.
2016-10-04 15:09:41 +02:00
Martin Bornhold
7870feb3da
tests: Create new config files for vcsserver (http/pyro4)
2016-10-04 15:07:10 +02:00
Martin Bornhold
904bcf9607
tests: Move rhodecode ini file into tests directory
2016-10-04 15:06:09 +02:00
Martin Bornhold
c183e22410
tests: Remove unused command argument.
2016-10-04 14:48:21 +02:00
Martin Bornhold
30d2e31229
pytest: Use http as default backend in pytest configuration.
2016-10-04 14:37:48 +02:00
Martin Bornhold
8279f376a9
tests: Fix tests that depend on the default value of 'pyro4' as backend.
2016-10-04 14:37:09 +02:00
Martin Bornhold
d3fd4efbe1
tests: Specify protocol in case of pyro4.
...
Previously this was the default value of the argument.
2016-10-04 13:05:16 +02:00
Martin Bornhold
27139beaa3
tests: Change default settings in tests to 'http'
2016-10-04 13:04:40 +02:00
Martin Bornhold
cb1b19cfba
tests: Fix infinite loop.
2016-10-04 12:44:03 +02:00
Martin Bornhold
2279a8a80e
vcs: Fix vcsserver startup with http backend.
2016-10-04 12:53:40 +02:00
Martin Bornhold
0eaf093c1f
vcs: Map legacy setting value 'rhodecode.lib.middleware.utils.scm_app_http' -> 'http' to support legacy configs.
2016-10-04 12:10:56 +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