Commit graph

35 commits

Author SHA1 Message Date
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
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