Commit graph

54 commits

Author SHA1 Message Date
Marcin Kuzminski
37991ffd4e rcextensions: improved messaging on rcextensions load fail 2019-07-16 11:42:56 +02:00
Marcin Kuzminski
d621ac19ee mercurial: enabled full evolve+topic extensions 2019-04-19 12:00:01 +02:00
Marcin Kuzminski
bd1a9c8201 docs: updated copyrights to 2019 2019-01-02 18:13:27 +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
59312acf82 import/repo-checks: skip validating storage path in detection of SCMs. 2018-09-19 14:19:45 +02:00
Marcin Kuzminski
9033601562 logging: use lazy parameter evaluation in log calls. 2018-09-13 17:41:35 +02:00
Marcin Kuzminski
6e45dc9605 caches: introduce new conditional cache function. 2018-07-14 18:17:02 +02:00
Marcin Kuzminski
edc9dc5771 caches: don't use deprecated md5 for key calculation.
- md5 isn't a valiable option for compliance reasons
2018-07-03 14:27:32 +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
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
Marcin Kuzminski
058c2e0291 logging: dont spawn UI logs across multiple lines 2018-02-23 00:55:14 +01:00
Bartłomiej Wołyńczyk
40434929a5 Public user group profile Task #5326 2018-02-18 21:58:45 +01:00
Marcin Kuzminski
b16521f1c3 simplevcs: allow passing config into repo detection logic.
- allows proper check for repos together with requirement checks for Mercurial
2018-02-01 18:51:00 +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
a55c5ff1ea simplevcs: handle a case of damaged filesystem repo without 500 exception. 2017-11-16 16:31:18 +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
211a846906 core: dropped deprecated PartialRenderer that depends on pylons. 2017-11-07 14:27:23 +01:00
Marcin Kuzminski
a8abeb0d1c user-groups: rewrote the app to pyramid
- added new event data with added/removed/changed permissions
- cleanup code and spelling
2017-08-31 12:47:19 +02:00
Marcin Kuzminski
928129ed6c repositories: rewrote whole admin section to pyramid.
- fixed few small found problems
- code cleanups
2017-08-11 13:00:47 +02:00
Marcin Kuzminski
2c11516c9b routing: optionally use explicit db object on route.
- makes it harder to integrate plugins
- makes it consistent on other places
- allows some plugins to use just the names
2017-08-01 22:59:15 +02:00
Marcin Kuzminski
42d56172a4 user-groups: moved the display of user group into a pyramid view 2017-07-27 18:56:31 +02:00
Marcin Kuzminski
a9064c5007 translation: unified usage of pluralize function ungettext.
- now it's consistent _ungettext for pylons and pyramid
- will allow easier migration to full pyramid codebase
2017-07-24 10:00:06 +02:00
Marcin Kuzminski
926a79e98e audit-logs: implemented pull request and comment events. 2017-06-17 15:22:50 +02:00
Marcin Kuzminski
71fee00277 home: moved home and repo group views into pyramid.
- fixed lots of tests related to those changes
- now main and subrepo group views are handled by pyramid.
2017-06-05 15:16:04 +02:00
Marcin Kuzminski
b942ed82f2 hooks: expose refs on push.
- allows easier pull request creation
2017-05-17 22:17:09 +02:00
Marcin Kuzminski
bbcc92bb81 files: use html+mako lexer for .mako files. 2017-04-04 19:29:39 +02:00
Marcin Kuzminski
b3a4e0a952 files: use custom lexer on mako files.
- somehow they are not rendered correctly
2017-03-29 17:06:00 +02:00
Marcin Kuzminski
e2b0f5b7cc auth: make the perms decorators and function pyramid compatible. 2017-02-28 22:21:24 +01:00
Marcin Kuzminski
1f65204749 hooks: added new pretx hook to allow mercurial checks such as protected branches, or force push. 2017-02-23 16:53:11 +01:00
Marcin Kuzminski
30fe983ff5 logging: added additional log info to vcs detection util. 2017-01-13 11:28:17 +01:00
Marcin Kuzminski
89e2586781 templating: use .mako as extensions for template files. 2017-01-04 22:13:57 +01:00
Marcin Kuzminski
fcc027c282 license: updated copyright year to 2017 2017-01-02 09:30:39 +01:00
Marcin Kuzminski
35e9621a5b slugs: make special chars not be replaced by '-'. THis produces a much
better slugs. Eg /fo;o/b|ar/ => will be /foo/bar/ and not /fo-o/b-ar/
Which doesn't make sense from human readable names.
2016-11-23 13:56:03 +01:00
Marcin Kuzminski
091c53d8e4 system-info: added UUID placeholder for generating platform unique identifiers. 2016-11-15 00:35:53 +01:00
Martin Bornhold
f0567693de lib: Fix missing space char in bad slug characters string. 2016-09-23 14:16:29 +02:00
Martin Bornhold
2cd4d08392 vcs: Clean up the shadow-repo-expose code and make some nicer comments. 2016-09-23 12:52:24 +02:00
Martin Bornhold
9dca5e1637 shadow: Use only a single regular expression to generate and match repo/group slugs. 2016-09-22 15:33:11 +02:00
Martin Bornhold
126fea568a vcs: Add method to return the base path to the repo store. 2016-08-01 15:39:34 +02:00
Martin Bornhold
bf3f9b7694 vcs: Add method to utils which returnd the rhodecode realm for HTTP basic auth. 2016-08-01 15:29:37 +02:00
Marcin Kuzminski
7794877876 setup: improve support for prompts, we should not take care of case sensitivity here 2016-07-27 00:37:32 +02:00
Martin Bornhold
03559da24d auth: Fix password_changed function, fixes #4043.
Never repot a changed password for default or anonymous users.

If anonymous access is disabled we don't get the default user here so we
also have to check if it is the anonymous user. In both cases (default user
and anonymous user) we can skip the password change check and return False.
2016-07-22 12:57:51 +02:00
Martin Bornhold
2b5bd1c3a9 admin: Add helper to get the registry from requests. 2016-06-29 09:49:55 +02:00
Marcin Kuzminski
16a626ce44 refactor: renamed get_first_admin to get_first_super_admin which
reflects better what kind of user we're fetching.
2016-06-28 01:24:24 +02:00
Marcin Kuzminski
b191ddbc07 utils: make sure we don't import any models inside utils 2016-06-23 16:17:18 +02:00
Martin Bornhold
6963e68fe8 pytest: Update docstrings to reflect changes. 2016-06-17 10:06:05 +02:00
Martin Bornhold
93e76a0219 pytest: Unify create_test_* functions. 2016-06-17 13:29:32 +02:00
Martin Bornhold
94211a1998 pytest: Removed unused argument. 2016-06-17 09:48:16 +02:00
Martin Bornhold
6e3e20caf5 pytest: Create test repositories from rc_testdata package. 2016-06-17 09:42:10 +02:00