Marcin Kuzminski
a368564cba
update: add new async task to check for updates via scheduler.
...
- save the data into DB for later evaluation
- show in system info that we know the system is outdated
2017-12-04 19:23:55 +01:00
Marcin Kuzminski
baaeb9a462
hgignore: add .dev as ignored
2017-12-04 16:08:57 +01:00
Marcin Kuzminski
807d47ad4b
docs: updated nginx tunning section with modification allowing custom https port to work.
...
- fixes #5408
2017-12-04 15:33:14 +01:00
Marcin Kuzminski
d1407d0caa
docs: added sophos utm9 example config
2017-12-04 14:24:32 +01:00
Marcin Kuzminski
52d5654850
users: allow caching of active users count.
2017-12-04 13:16:50 +01:00
Marcin Kuzminski
e70b4c9b6d
hooks: decrease pool interval to 10ms. For SVN operations and lots of requests
...
we can save tons of time this way. It's a good balance value.
2017-12-04 12:55:05 +01:00
Marcin Kuzminski
1fccd17a6d
auth, performance: use cache_ttl for anonymous access taken from the rhodecode plugin.
...
- for operations like svn this boosts performance significantly for anonymous access enabled.
2017-12-04 14:20:53 +01:00
Marcin Kuzminski
f9f80e3ff9
feed-token, user, performance: lazy load the feed_token. We only need it for
...
scope of web requests. For vcs operations, we don't need it.
- 20ms to load this can save up much time for SVN requests.
2017-12-04 12:14:01 +01:00
Marcin Kuzminski
dd9db40bb2
tests: updated coverage file
2017-12-04 11:17:10 +01:00
Marcin Kuzminski
87fecd1bf7
integrations: parse pushed tags, and lightweight tags for git.
...
- now aggregated as 'tags' key
- handles the case for email/webhook integrations
2017-12-03 22:37:36 +01:00
Marcin Kuzminski
b816475595
integrations: email, fix plural/singular case and no pushed branches case.
...
- for git there could be a situation when we push to no branch.
2017-12-03 22:36:02 +01:00
Marcin Kuzminski
674be24514
integrations: use orderedDict in all integrations for settings.
2017-12-03 22:35:29 +01:00
Marcin Kuzminski
04f2fedf0b
celery: tasks, improve fork/repo create to survive a database errors in the cleanup code.
2017-11-30 15:17:05 +01:00
Marcin Kuzminski
b4cc6e507a
hooks: inject request.user for proper url generation in async methods.
...
- this is just a temporary injection as it's later properly bootstrapped in the async celery process.
2017-11-30 15:16:11 +01:00
Marcin Kuzminski
d662f70d95
celery: use safe environ extraction. In few cases of executing tasks at non-pyramid level.
...
e.g executed from hooks we cannot read environ properly. Without it our bootstrap code
will still generate proper urls.
2017-11-30 15:15:22 +01:00
Marcin Kuzminski
b1de755718
celery: don't disable celery if 1 task fails. This results in permanent
...
disable in case of any errors. We rather want to always check and fallback
to sync.
2017-11-30 15:14:21 +01:00
Marcin Kuzminski
cd62984203
repo-settings: non-changeable is a bad name. We use permalink notation in the app.
2017-11-30 14:58:08 +01:00
Marcin Kuzminski
0898e405d2
repo-creating: fixed the url.
2017-11-30 14:57:38 +01:00
Marcin Kuzminski
21f81f4cac
repo-model: fixed permalink generation for repositories.
2017-11-30 14:39:52 +01:00
Marcin Kuzminski
7ac57bc50a
celery: improve logging of failed async execution.
2017-11-30 14:20:44 +01:00
Marcin Kuzminski
19744d8230
vcs-ops: store user_id inside the extras for vcs context operations.
...
- we'll use this one for bootstrap of async tasks.
2017-11-30 17:41:05 +01:00
Marcin Kuzminski
a924ecfd60
webhook: execute via celery for async.
2017-11-30 14:39:26 +01:00
Marcin Kuzminski
587dee26ef
forms: added a codemirror form widget.
2017-11-29 14:39:43 +01:00
Marcin Kuzminski
435b9a549d
logging: don't stop logging on "waiting for background thread to finish" This is misleading as we're waiting for something and didn't finalize.
2017-11-28 18:23:48 +01:00
Marcin Kuzminski
79d7509eec
repo-creating: fix reload url.
2017-11-28 18:23:15 +01:00
Marcin Kuzminski
cb8a7fccde
scheduler: added DB models and db parsers for the RhodeCode scheduler.
...
- migration schema
- small fixes for form templates
- migrated celeryloader utils for the scheduler
2017-11-28 18:26:11 +01:00
Marcin Kuzminski
539e88e6c6
svn: extend detection of SVN to PROPFIND/PROPATCH methods.
...
- in some cases like usage of tortoisesvn non of the available SVN
protocol detection methods are available
- with extended method we're able to catch directory delete/create
2017-11-27 18:51:25 +01:00
Marcin Kuzminski
245d213bf2
vcs: also register a global config for vcs_handler.
...
- this solves a case when SVN repository needs to find out a repo without
per-repo settings available
- we need to get the global config first to be able to extract repo name
2017-11-28 13:23:25 +01:00
Marcin Kuzminski
97dadd2f8b
svn: log response code for SVN calls always even for 200 codes.
2017-11-27 18:45:50 +01:00
Marcin Kuzminski
098d879432
svn: pass in explicit SCM into the call function for faster detection of protocol.
2017-11-27 18:56:44 +01:00
Marcin Kuzminski
b891773a32
python3: fix compatibility call on print function.
2017-11-26 22:19:46 +01:00
Marcin Kuzminski
1f7709b880
validators: added json validator.
2017-11-26 22:13:36 +01:00
Marcin Kuzminski
60846faf8e
navigation: allow specifing more than one active element to set as one selecting current navlist entry.
2017-11-26 22:13:20 +01:00
Marcin Kuzminski
0899dabc8b
db-models: fix usage of import *.
...
- usage of import * is discourage and should be limited.
2017-11-26 17:19:34 +01:00
Marcin Kuzminski
d113a429a9
jsonalchemy: add de_coerce to reverse serialization of list and dict elements from Mutation objects back to original state.
2017-11-26 17:18:28 +01:00
Marcin Kuzminski
b6f2cdd95b
jsonalchemy: fix a case when default is not set and parsinge exception happens.
...
before: default could be undefined and raised an error.
2017-11-26 17:17:50 +01:00
Marcin Kuzminski
bc23ad316c
api: pull-requests, make the repoid parameter optional. Because pullrequestid is global
...
we don't want to complicate things more by requiring repoid. Left for backward compat.
2017-11-23 21:14:04 +01:00
Marcin Kuzminski
b809d00f88
api: pull-requests added option to fetch comments from a pull requests.
...
- fixes #5398
2017-11-23 20:08:46 +01:00
Marcin Kuzminski
f0142981ea
pull-requests: moved get_pr_version into PullRequestModel.
2017-11-23 20:06:43 +01:00
Marcin Kuzminski
834a3e1208
dependencies: bumped plaster-pastedeploy to 0.4.2
2017-11-23 14:24:16 +01:00
Marcin Kuzminski
b7d0dc3960
release: merge back stable branch into default
2017-11-23 13:44:15 +01:00
Marcin Kuzminski
666bcf82f7
Added tag v4.10.5 for changeset 22f6744ad8cc
2017-11-23 11:40:13 +01:00
Marcin Kuzminski
55408fb109
release: Finish preparation for 4.10.5
2017-11-23 11:40:13 +01:00
Marcin Kuzminski
19c9dbfb84
release: updated pip2nix output for 4.10.5
2017-11-23 11:40:11 +01:00
Marcin Kuzminski
51aad96e92
release: Start preparation for 4.10.5
2017-11-23 11:35:47 +01:00
Marcin Kuzminski
089af47741
docs: added release notes for 4.10.5
2017-11-23 10:19:51 +01:00
Marcin Kuzminski
86e3a0f8d5
emails: fixed validation of emails with whitespace in them.
...
- fixes problem with potential duplicate emails addresses for users.
2017-11-22 20:59:25 +01:00
Marcin Kuzminski
0b6f118ec9
dependencies: pin against rhocode-tools 0.13.1
2017-11-22 20:47:55 +01:00
Marcin Kuzminski
a476851886
dependencies: pin against rhodecode-tools 0.14.1
2017-11-22 17:24:02 +01:00
Marcin Kuzminski
d3b43c92fc
simplevcs: store rc_extras reference inside the apps itself so it can be used during
...
operations.
2017-11-22 16:25:30 +01:00