Commit graph

295 commits

Author SHA1 Message Date
Marcin Kuzminski
d35e2d6bdc docs: added 4.2 release notes. 2016-06-28 18:31:01 +02:00
Marcin Kuzminski
68bbf9bd37 caches: make sure __repr__ of invalidaiton context always return strings.
- this is a part of python specs, otherwise we potentially can cause
UnicodeDecodeErrors
2016-06-28 16:58:55 +02:00
Marcin Kuzminski
c37c75f1a8 configs: remove deprecated whoosh logger. It's no longer part of CE codebase, now it's
in RhodeCode Tools.
2016-06-28 16:47:50 +02:00
Martin Bornhold
0641c0e2d0 authn: Generate the form default values manually.
When using colander.flatten(data) it adds colander.null for each
missing form field. But this is not correct. What we want here is
a dict wich contains only the keys/values from request.params that
match a form field.
2016-06-28 16:28:18 +02:00
Marcin Kuzminski
bb56417060 emails: expose profile link on registation email. Implements #3999. 2016-06-28 15:22:22 +02:00
Martin Bornhold
28f81cadd3 tests: Add session factory fixture and use it in tests. 2016-06-28 13:52:33 +02:00
Martin Bornhold
ce59485a70 tests: Adapt vcs test to check that the session factory returns the same session object. 2016-06-28 13:36:11 +02:00
Marcin Kuzminski
7e7735a235 translations: updated catalog 2016-06-28 12:56:51 +02:00
Marcin Kuzminski
594836b691 merged stable into default 2016-06-28 12:41:11 +02:00
Martin Bornhold
54f29c46ab authn: Only lookup settings from DB if they are really used.
When computing the form defaults only query the DB if we
need the value from DB.
2016-06-28 12:07:10 +02:00
Martin Bornhold
381973ba40 authn: Remove usage of colander.serialize to generate form defaults. 2016-06-28 11:56:27 +02:00
Marcin Kuzminski
8a6feb50a5 pull-requests: reorder navigation on repo pull requests, fixes #2995 2016-06-28 12:04:11 +02:00
Marcin Kuzminski
772de504bb encryption: Implement a slightly improved AesCipher encryption.
This addresses issues from #4036

- we use a backward compatible cipher that can implement HMAC signature
- with HMAC signature we can detected mangled data or wrong secret key
- this allows more explicit errors than UnicodeDecode errors
- added a new .ini values that controls strict mode
2016-06-27 19:26:03 +02:00
Marcin Kuzminski
9446dff948 system-settings: prepare to allow to create snapshots of full system settings
for support.
2016-06-28 02:08:54 +02:00
Marcin Kuzminski
0e916f338a user: indicate missing super admin or default as fatal errors. 2016-06-28 01:25:33 +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
ad176ab69b tests: fixed home tests with cached values 2016-06-28 00:14:31 +02:00
Marcin Kuzminski
7902155b2e settings: use invalidate after updating settings. 2016-06-27 22:46:33 +02:00
Marcin Kuzminski
b2175b8e8c tests: fixed pull requests my account tests. 2016-06-27 22:20:43 +02:00
Marcin Kuzminski
449905939f tests: fixed mock test for utils2 2016-06-27 19:52:43 +02:00
Marcin Kuzminski
c7b2b53fff tests: fixed tests for helpers. 2016-06-27 19:48:37 +02:00
Marcin Kuzminski
94813be133 docs: improve contribution docs on how to run tests. 2016-06-27 19:32:22 +02:00
lisaq
524fe3d09a docs: updates to contributor documentation #4039 2016-06-23 16:13:49 +02:00
Marcin Kuzminski
cf352c6625 paster: fix redundant question on writable dir. The question needs to
be asked only when the dir is actually not writable.
2016-06-24 20:50:51 +02:00
Marcin Kuzminski
8667353668 config: synced .ini files with latest changes 2016-06-24 13:32:59 +02:00
Marcin Kuzminski
858cf0db77 encryption: allow to pass in alternative key for encryption values 2016-06-24 13:29:27 +02:00
Marcin Kuzminski
2600624410 templates: expose above blocks for login and register pages. 2016-06-24 13:15:39 +02:00
Daniel Dourvaris
d017c17269 celery: log exception in the event of unknown IOError 2016-06-24 14:35:49 +03:00
Daniel Dourvaris
38df61623b celery: fixed bug where celery was not running 2016-06-24 14:21:29 +03:00
Johannes Bornhold
8a9ef796fc svn: Avoid chunked transfer for Subversion 2016-06-21 17:12:28 +02:00
Marcin Kuzminski
a10185d584 Added tag v4.1.2 for changeset 41c87da28a17 2016-06-16 23:06:44 +02:00
Marcin Kuzminski
f3f967954c release: Finish preparation for 4.1.2 2016-06-16 23:06:44 +02:00
Marcin Kuzminski
cc84222385 release: updated pip2nix output for 4.1.2 2016-06-16 23:06:43 +02:00
Marcin Kuzminski
37372e739b release: Start preparation for 4.1.2 2016-06-16 23:03:42 +02:00
Marcin Kuzminski
bf61e48b4e docs: added release notes for release 4.1.2 2016-06-16 20:27:49 +02:00
Johannes Bornhold
f53ce87693 config: Move HttpsFixup middleware up
Wrapping it around the Pyramid application makes SSL work. Since it also does
things with the strict transport security headers, I kept it this way for now.
Most probably we can shrink it to only contain the htsts things and use the
prefix middleware of paste.
2016-06-16 11:35:55 +02:00
Johannes Bornhold
c19b05b352 login: Log redirection target on debug level
We have some magic when computing the URL, it is good if we can see in the debug
log this detail.
2016-06-16 10:43:17 +02:00
Marcin Kuzminski
11e283bac8 Added tag v4.1.1 for changeset 7fd5c850745e 2016-06-15 03:00:11 +02:00
Marcin Kuzminski
4b56299d1f release: Finish preparation for 4.1.1 2016-06-15 03:00:11 +02:00
Marcin Kuzminski
5bd9692450 release: updated pip2nix output for 4.1.1 2016-06-15 03:00:11 +02:00
Marcin Kuzminski
ab5316a2b3 release: Start preparation for 4.1.1 2016-06-15 02:29:27 +02:00
Marcin Kuzminski
97fb3837a4 release: remove nix_dependencies_moved task 2016-06-14 23:12:07 +02:00
Marcin Kuzminski
f26b3f313a docs: added info about release 4.1.1 2016-06-14 16:39:17 +02:00
Martin Bornhold
3bd01810b3 permissions: Fix permissions for authentication plugin settings view. 2016-06-14 12:30:42 +02:00
Marcin Kuzminski
6841075a05 Added tag v4.1.0 for changeset c3fe200198f5 2016-06-12 21:00:04 +02:00
Marcin Kuzminski
f86642261a docs: updated release notes 2016-06-12 20:55:53 +02:00
Marcin Kuzminski
7c938aee20 Merge branch default into stable 2016-06-12 20:04:20 +02:00
Johannes Bornhold
0439478368 packaging: Link pyramid tools, set PATH in wrappers 2016-06-10 09:52:20 +02:00
Marcin Kuzminski
996239fa3f pull-requests: add a success flash when PR was merged 2016-06-10 09:55:21 +02:00
Marcin Kuzminski
7db993f8a3 package: remove duplicate nix files 2016-06-10 09:38:50 +02:00