Commit graph

252 commits

Author SHA1 Message Date
Marcin Kuzminski
83f9247052 license: updated license metadata 2019-02-28 20:02:53 +01:00
Marcin Kuzminski
3bfba2c72e dependencies [security]: updated sshpubkeys to 3.1.0
- dropped pycrypto (had CVEs)
2019-02-25 21:57:02 +01:00
Marcin Kuzminski
828893a191 dependencies: dropped pyflakes as it's not used anymore. 2019-02-25 16:28:20 +01:00
Marcin Kuzminski
ae178f2ffb rcextensions: added example how to validate file size and name using rcextensions 2019-02-13 13:49:44 +01:00
Marcin Kuzminski
810bfe54c5 file-store: rename module from upload_store to file_store. 2019-02-01 13:35:49 +01:00
Marcin Lulek
f94d402566 file-uploads: created simple upload capabilities.
- This initially will be used for comments /ticket uploads of binarry attachements
2019-01-25 12:51:26 +01:00
Marcin Kuzminski
59bd82f930 configuration: expose the config file location to the pyramid settings. 2019-01-25 11:38:00 +01:00
Marcin Kuzminski
fb97eaa821 rcextensions: updated example template override with more docs. 2019-01-17 09:56:06 +01:00
Marcin Kuzminski
4f25e2e7ea rcextensions: updated example 2019-01-16 09:11:40 +01:00
Daniel Dourvaris
c7b5ab86fd env-vars: provide better feedback when formatting an env variable fails. 2019-01-03 12:06:41 +01:00
Marcin Kuzminski
b650967f76 rcextensions: updated examples, and made http_call util use the method parameter. 2019-01-02 19:26:02 +01:00
Marcin Kuzminski
bd1a9c8201 docs: updated copyrights to 2019 2019-01-02 18:13:27 +01:00
Marcin Kuzminski
e3289b3606 error-pages: update message to more proper. 2018-12-19 18:11:54 +01:00
Marcin Kuzminski
4719d0ff87 code: unified coverage notes to # pragma: no cover 2018-12-07 13:34:28 +01:00
Marcin Kuzminski
2e8001e5fa application: add debug mode that switches logging to debug.
It's no longer required to reconfigure all logging. debug flag
now does it automatically.
2018-12-05 13:35:10 +01:00
Marcin Kuzminski
f3d3f479b4 code: fixed deprecated octal calls for py3 compat. 2018-11-30 11:49:27 +01:00
Marcin Kuzminski
e8ec810de8 app: disconect auth plugin loading from authentication registry.
- introduce load_all flag used in skip application load time for certain actions
2018-11-26 00:15:05 +01:00
Marcin Kuzminski
f33e0ddc9f core: change from homebrew plugin system into pyramid machinery.
- it's faster to load
- homebrew system was never used as intended
- it's cleaner CE/EE code this way
2018-11-25 11:56:29 +01:00
Marcin Kuzminski
fcc18a6200 application: re-organize imports for pyramid to prepare code for speedup optimization. 2018-11-24 17:52:21 +01:00
Marcin Kuzminski
3697376ac5 env-variables: make it safer if there's a syntax problem inside .ini file.
It's better to not crash, since it means server wont start. Let users fix problems
instead of breaking the startup because of that.
2018-11-24 12:55:12 +01:00
Marcin Kuzminski
84d52d7175 rcextensions: added example how to change integration templates. 2018-11-09 14:35:43 +01:00
Marcin Kuzminski
28a8aef17f rcextensions: use extra_env to not override the default one inside vcsserver. 2018-11-07 22:43:30 +01:00
Marcin Kuzminski
b4853cfc3d rcextensions: added example for validation of commit messages for git. 2018-11-07 18:02:25 +01:00
Marcin Kuzminski
8c3fffa9f9 rcextensions: added basic readme so copied rcextensions.tmpl have some starting point 2018-11-02 17:43:07 +01:00
Marcin Kuzminski
eee6f4cbd8 packaging: dropped bower, it's now replaced by npm and webcomponents from polymer. 2018-10-29 15:30:10 +01:00
Marcin Kuzminski
175a9b344e rcextensions: new builtin rcextensions.
- ability to expose output to users from rcextensions
- new docs
- linking to the code makes the tests always check the integrity of rcextensions
- added new hook variables and described them to end users
2018-10-23 11:45:45 +02:00
Marcin Kuzminski
8d4e2dda3a license: update license metadata and generation code 2018-09-20 21:48:08 +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
b8b33988bd exception_store: rename .ini option for future 2018-09-13 14:35:14 +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
d369211c6a caches: use single default cache dir for all backends.
- disable .lower() on cache settings so uppercase directories are actually handled correctly.
- fixed problem with long new dir structure that isn't yet existing.
2018-09-06 20:55:04 +02:00
Marcin Kuzminski
271cf923d8 core: added option to prefix cache keys for usage in cluster. 2018-09-06 15:01:01 +02:00
Marcin Lulek
db4b2e05bc configurations: update attached configuration INI files with the ENV_ substitution infomation.
In addition show better error message if substitution cannot be made.
2018-08-30 13:42:26 +02:00
Marcin Kuzminski
78fcfd9416 caches: configure license cache to some default settings. 2018-08-14 10:46:58 +02:00
Marcin Kuzminski
f4af7b92c9 backend: don't support vcsserver.scm_app anymore 2018-08-13 13:04:36 +02:00
Marcin Kuzminski
b1bfdeb6ba caches: enable cache TTL=30s for auth-plugins.
- mostly due to this gives massive performance gains.
- most of customers choose to use it.
- svn gets *massive* boost from this.
2018-08-11 21:35:19 +02:00
Marcin Kuzminski
f1497f5afd caches: new cache context managers.
- deprecate beaker cache completly
- use new cache decorators from dogpile
- use a proper per cache key invalidation
2018-08-02 18:04:52 +02:00
Marcin Kuzminski
ecff3dbaed security: update lastactivity when on audit logs.
- The previous update on each call was to expensive and created lot of DB locks in high traffic env
2018-07-31 22:52:44 +02:00
Marcin Kuzminski
cf70f38392 middleware: use finalizing log to inidicate we finished ALL operations. 2018-07-31 12:34:06 +02:00
Marcin Kuzminski
988ae152de events: use a distinction between RhodeCodeEvent which is a base class and it used by all events, and
the events that are handled in addition by integration framework.
2018-07-31 12:29:04 +02:00
Marcin Kuzminski
21c608be71 exceptions: added new exception tracking capability.
- store exceptions
- expose super admin interface to browse latest errors
2018-07-23 15:56:09 +02:00
Marcin Kuzminski
84d673d387 caches: use dogpile for sql_cache_short region. 2018-07-12 17:20:03 +02:00
Marcin Kuzminski
a48ab8a32d caches: don't use beaker for file caches anymore 2018-07-06 12:55:13 +02:00
Marcin Kuzminski
ddc445856e caches: rewrite of auth/permission caches to dogpile. 2018-07-05 20:14:33 +02:00
Marcin Kuzminski
225757aaf3 hooks: made the callback host configurable.
- This allows easier docker container seperation
2018-07-03 11:57:03 +02:00
Marcin Kuzminski
58f89e5cf6 nix: updated to 18.03 nix packages
- dependencies: updated setuptools-scm to 2.1.0
- new strucutre
- cleanups and optimize of build chain
2018-06-28 14:43:26 +02:00
Marcin Kuzminski
c9d3ef5134 configuration: Allows to use format style "{ENV_NAME}" placeholders in the configuration. 2018-06-25 14:25:26 +02:00
Marcin Kuzminski
1bc95ca628 debug: add new custom logging to track unique requests across systems. 2018-06-15 19:34:39 +02:00
Marcin Kuzminski
226175af89 re-captcha: adjust for v2 that is the only left one supported since 1st of May. 2018-05-06 23:19:05 +02:00
Marcin Kuzminski
bdf5f0afb6 svn: enable hooks and integration framework execution.
- This change will allow SVN to execute rhodecode integration framework
via executing the builting hooks.
- uses txn_id for svn to provide metadata required via Apache
- Interception of SVN transaction is required to use temporary stores for metadata
- hooks are now part of vcsserver where the install/control logic is stored
2018-04-06 12:44:01 +02:00