Commit graph

316 commits

Author SHA1 Message Date
Marcin Kuzminski
2fa4556f4a i18n: added JS extractors to work with the standard extract_messages command. 2016-07-04 00:02:14 +02:00
Marcin Kuzminski
605b26b460 i18n: replaced fragile extraction of JS translations from an _TM variable.
We replaced it with similar to babel functions _gettext, and _ngettext, that
will prevent UI from breaking in case of untranslated strings. This
also will allow to use babel built in extractors to fetch the translations
stored inside html and JS.
2016-07-03 23:52:22 +02:00
Marcin Kuzminski
b39ba081a2 i18n: added JS utils for translation. 2016-07-03 23:45:00 +02:00
Marcin Kuzminski
cba5d93aca Added tag v4.2.0 for changeset baaf9f5bcea3 2016-06-30 17:23:41 +00:00
Marcin Kuzminski
83917fd3d4 release: Finish preparation for 4.2.0 2016-06-30 17:23:39 +00:00
Marcin Kuzminski
658ffcdc8c release: updated pip2nix output for 4.2.0 2016-06-30 17:23:36 +00:00
Marcin Kuzminski
e100b79acc i18n: Update compiled message objects and js i18n files 2016-06-30 17:19:09 +00:00
Marcin Kuzminski
9e265f8e5b i18n: Pulled translation from Transifex 2016-06-30 17:19:01 +00:00
Marcin Kuzminski
4dec178f90 i18n: Updated message catalog template 2016-06-30 17:18:45 +00:00
Marcin Kuzminski
2bcfd55ba3 release: Merge default into stable for release preparation 2016-06-30 17:18:37 +00:00
lisaq
19a3c464eb docs: updating location of ac tests 2016-06-30 13:55:57 +02:00
lisaq
ca17a8965f docs: adding grunt info 2016-06-30 11:48:08 +02:00
lisaq
494b511b4c docs: more comprehensive contributor docs #4039 2016-06-30 11:52:53 +02:00
Marcin Kuzminski
0fcbe07fc9 docs: updated release notes 2016-06-29 13:17:24 +02:00
Daniel Dourvaris
e99794cf94 ux: fix: last navigation menu's submenu was going off page to right 2016-06-30 00:52:07 +03:00
Martin Bornhold
58e7fa41ea css: Fix background and border color for panel-danger, panel-... classes. 2016-06-27 16:51:43 +02:00
Martin Bornhold
51c76d4cf7 admin: Use pyramid translation instead of pylons. 2016-06-29 09:52:34 +02:00
Martin Bornhold
2b5bd1c3a9 admin: Add helper to get the registry from requests. 2016-06-29 09:49:55 +02:00
Martin Bornhold
670d237f39 admin: Register and retrieve navigation registry from pyramids registry. 2016-06-29 08:52:55 +02:00
Martin Bornhold
e898f2e8a9 admin: Create interface to register/retrieve the admin navigation. 2016-06-29 08:24:57 +02:00
Martin Bornhold
5fde5532a9 admin: Move admin settings navigation to admin module. 2016-06-29 08:24:27 +02:00
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