Commit graph

23 commits

Author SHA1 Message Date
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
Martin Bornhold
87ad3a021b pytest: Create test search index from rc_testdata package. 2016-06-17 09:41:38 +02:00
Martin Bornhold
22ce74f82a oss-licenses: Use only 'rhodecode' as pkg_resource manager string.
This way it will match the pyramid static asset 'rhodecode:config/licenses.json'
2016-06-16 08:29:40 +02:00
Johannes Bornhold
422f825bb8 db: Move initialization of test environment up to pyramid layer. 2016-06-07 09:31:33 +02:00
Marcin Kuzminski
9a0d8c0b77 project: added all source files and assets 2016-05-24 15:56:53 +02:00