Commit graph

157 commits

Author SHA1 Message Date
Marcin Kuzminski
2b3b3aa5a7 observers: hide it for CE edition.
- This hide is simple, but real logic is in the validate function which would only work if EE edition is installed.
2020-10-08 22:28:51 +02:00
Marcin Kuzminski
80da773011 reviewers: added observers as another way to define reviewers.
- fixes #4183
2020-10-06 08:49:13 +02:00
Marcin Kuzminski
e564aec523 hosting: added usage writers for hosting needs. 2020-08-11 12:41:54 +02:00
Marcin Kuzminski
fe96e16646 code: update copyrights to 2020 2020-04-16 00:34:52 +02:00
Marcin Kuzminski
d0a117b4ad exception-tracker: enable send email on exception 2020-03-26 14:03:07 +01:00
Marcin Kuzminski
c0c1de5d4d config: removed vcsserver log_level deprecated option. 2020-01-07 12:34:34 +01:00
Marcin Kuzminski
631a663b62 request-wrapper: ensure we wrap WHOLE request not just logic after http detection. 2019-12-26 19:52:17 +01:00
Marcin Kuzminski
656a419c84 app-setup: allow skip of legacy plugin discovery. 2019-11-29 11:15:13 +01:00
Marcin Kuzminski
29038019e8 hovercacrds: added new tooltips and hovercards to expose certain information for objects shown in UI 2019-10-31 17:52:42 +01:00
Daniel Dourvaris
f36492a220 git: remove GIT_REV_FILTER argument as it's now obsolete with libgit2 implementation 2019-09-03 16:51:07 +02:00
Marcin Kuzminski
e9054ac9e7 ssh: skip loading parts for SSH to make execution of ssh commands faster. 2019-08-28 15:05:48 +02:00
Marcin Kuzminski
c1b5317c1e request-wrapper: add request counters 2019-07-29 14:43:00 +02:00
Marcin Kuzminski
ef6dc3ca17 redis: fixed new redis url schema requirement for connection string 2019-07-23 20:50:27 +02:00
Marcin Kuzminski
89d320077e session: moved pyramid_beaker internally to apply some patches required for better session handling 2019-06-14 12:43:09 +02: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
Daniel Dourvaris
c7b5ab86fd env-vars: provide better feedback when formatting an env variable fails. 2019-01-03 12:06:41 +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
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
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 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
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
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
Bartłomiej Wołyńczyk
40434929a5 Public user group profile Task #5326 2018-02-18 21:58:45 +01:00
Marcin Kuzminski
00b45c1fa7 release: update copyright year to 2018 2018-01-19 17:13:16 +01:00
Marcin Kuzminski
95badaea26 caches: configure defaults for all defined regions.
- this allows using all cache regions without explicit configuration inside the .ini file
2017-11-16 22:02:32 +01:00
Marcin Kuzminski
6bbab12fcc celery: celery 4.X support. Fixes #4169
- update tasks
- enabled celerybeat to function
- check and cleanup code for 4.X
2017-11-16 19:26:53 +01:00
Marcin Kuzminski
5f9ae2ae11 pylons: remove pylons as dependency
- dependencies: bumped:
 -setuptools-scm==1.15.6
 -celery==4.1.0
 -kombu==4.1.0
 -pytz==2017.3
 -Routes==2.4.1

Removed all pylons components. Refactored the code to use only pyramid
parts
2017-11-15 13:42:54 +01:00
Marcin Kuzminski
32acc3c121 middleware: code restructure 2017-11-08 12:46:18 +01:00