Commit graph

36 commits

Author SHA1 Message Date
Marcin Kuzminski
bd1a9c8201 docs: updated copyrights to 2019 2019-01-02 18:13:27 +01:00
Marcin Kuzminski
8d8e2802da core: use application wide detection of invalid bytes sent via URL/GET/POST data. 2018-10-24 12:29:11 +02:00
Marcin Kuzminski
2f4516d1ef core: handle bogus GET params so we don't crash on translate subscriber. 2018-10-22 23:02:38 +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
ad4963f1d3 events: add event to catch permission changed so we can flush affected users permission caches 2018-07-09 13:01:42 +02:00
Marcin Kuzminski
74588e74e9 subscribers: make creation of routes.js safer.
If by accident this flag is set to true then
build rhodecode from nix wont start because of write failure.
2018-06-28 14:44:09 +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
b23a023093 meta: fix write condition. 2018-02-05 13:21:37 +01:00
Marcin Kuzminski
c12b41fff7 metadata: store workers and prevent to excesive metadata writes. 2018-01-22 11:30:32 +01:00
Marcin Kuzminski
00b45c1fa7 release: update copyright year to 2018 2018-01-19 17:13:16 +01:00
Marcin Kuzminski
1d332c03ad pylons: fixed code and test suite after removal of pylons. 2017-11-16 18:27:09 +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
b505377197 users: ported controllers from pylons into pyramid views. 2017-09-20 22:29:34 +02:00
Marcin Kuzminski
ebc5609e99 pyramid: allows easier turning off the pylons components. 2017-07-13 10:57:57 +02:00
Marcin Kuzminski
0b2c148765 pyramid: stop relying on global mako url() function.
- use only the helpers method
2017-07-12 23:46:34 +02:00
Marcin Kuzminski
71071c0b26 dependencies: bumped pyramid to 1.9 webob to 1.7.3 and webtest to 2.0.27
- fixed some core tests for new webob/webtest
- changed core methods to make them more pyramid compat.
2017-07-12 22:54:14 +02:00
Marcin Kuzminski
7304e9b076 pyramid: moved extraction of user into a seperate subscriber. 2017-07-12 18:54:42 +02:00
Marcin Kuzminski
af56c8a8da routing: fixed pyramid routing generation.
- make sure we append slashes to JS generated routes.
2017-07-03 18:20:34 +02:00
Marcin Kuzminski
6680a287da core: improve attach context attribute to rely strictly on already provided user. 2017-06-05 19:22:27 +02:00
Marcin Kuzminski
1ee433edf9 core: add possibility to skip write of metadata by defining metadata.skip key. 2017-04-20 23:43:46 +02:00
Marcin Kuzminski
022732590f core: remove writing of largeobject dirs on AppStartup.
- this makes celery much slower
- creates a database connection on APP start which again makes celery explode sometimes
- making a db connection on AppCreation could lead to some problems in future.
2017-04-20 23:39:39 +02:00
Marcin Kuzminski
b42a7f0e20 app: ensure largefile dirs are created on application startup. 2017-04-18 17:05:31 +02:00
Marcin Kuzminski
5bee7acb7a application: moved JS routes generation into pyramid.
- this will generate both pylons and pyramid js routes
2017-03-14 02:40:56 +01:00
Marcin Kuzminski
c45f76cc38 metadata: write license token for license migration for installer. 2017-03-09 15:09:12 +01:00
Marcin Kuzminski
4d3bbcd18e core: added metadata for control upgrades. 2017-02-02 23:11:07 +01:00
Marcin Kuzminski
d969440caa core: use proper event to bootstrap pylons env.
- allows to skip this for VCS and API calls in more efficient way.
- fixes #5164
2017-01-12 21:47:02 +01:00
Marcin Kuzminski
e02a88e64d system-info: fix unicode problem on translation 2017-01-12 18:26:34 +01:00
Marcin Kuzminski
526cdfd9b2 i18n: use consistent way of setting user language. 2017-01-12 17:05:06 +01:00
Marcin Kuzminski
a96cc165ee i18n: added pluralize to renderer globals. 2017-01-12 15:39:37 +01:00
Marcin Kuzminski
fcc027c282 license: updated copyright year to 2017 2017-01-02 09:30:39 +01: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
9cf62f5f92 config: Move initial repo scan up to the pyramid layer.
It is now subscribed to the ApplicationCreated event from pyramid.
2016-08-05 17:01:00 +02:00
Johannes Bornhold
e3428604d0 i18n: Use new translation string factory.
- Use the translation factory create in rhodecode.translation
  instead of creating multiple instances in each module.
2016-05-27 12:15:09 +02:00
Johannes Bornhold
26d1f8ea5c pyramid: Fix problem with adding '_' to renderer globals.
- Problem occures only when executing pyramid views.
2016-05-24 15:38:02 +02:00
Marcin Kuzminski
9a0d8c0b77 project: added all source files and assets 2016-05-24 15:56:53 +02:00