Roberto Rosario
32056761c8
Sort settings by namespace label and by global name second.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-13 21:27:10 -04:00
Roberto Rosario
f582484693
Update translation source files.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-09 02:33:57 -04:00
Roberto Rosario
6c6ca38374
Replace all instances of unicode only handling to use force_text.
...
Replace all __unicode__ methods to __str__ and the
@python_2_unicode_compatible decorator.
Replace all instance of smart_str, smart_unicode, force_uncode
with force_text.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-05 15:03:24 -04:00
Roberto Rosario
e19a723c41
Decreased smart settings import debug messages.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-03 13:48:13 -04:00
Roberto Rosario
e46bf51022
Do a complete pull and synchronization of the translations.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-06-30 17:46:34 -04:00
Roberto Rosario
e920ad1036
Syncronize translations.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-06-23 03:51:55 -04:00
Roberto Rosario
b79a64c5ed
Add template tag to fetch the value of a smart setting.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-06-20 04:15:38 -04:00
Roberto Rosario
ea636aac7e
Add test for the setting environment support.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-06-20 01:35:12 -04:00
Roberto Rosario
a105fe46a5
Add support for updating configuration options from environment variables.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-06-18 03:08:03 -04:00
Roberto Rosario
6d5d102984
Translations synchronization.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-05-28 16:02:01 -04:00
Roberto Rosario
6c4af20356
Update source and compiled language files.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-04-26 00:46:07 -04:00
Roberto Rosario
a68d7e41db
Add updates translation source files.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-04-21 12:30:35 -04:00
Roberto Rosario
ff7091cd80
Make sure the smart setting instance value cache is valid before
...
display its serialize version.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-20 01:44:39 -04:00
Roberto Rosario
8179c35189
Simplify test runner by adding a new option '--mayan-apps' that
...
automatically tests all Mayan apps that report to have tests.
Change the app flag that indicates when an app has test
from 'test' to the more explicit 'has_test'.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-14 23:47:40 -04:00
Roberto Rosario
5ea31554bc
Update and fix failing tests.
2017-01-14 03:08:32 -04:00
Roberto Rosario
4e7559d396
Add settings class cache invalidation method. Update common.tests.base.BaseTestCase
...
class to invalidate settings cache. Update tests using Django's TestCase to
BaseTestCase.
2017-01-14 00:13:35 -04:00
Roberto Rosario
8ae57a0fb6
Don't cache settings on creation but on first use.
2017-01-07 01:09:19 -04:00
Roberto Rosario
895dd9dc33
Optimize setting retrieval. Remove support for path settings checking.
...
Settings should be just a key, value storage.
2016-12-31 02:21:23 -04:00
Roberto Rosario
90de742deb
Merge remote-tracking branch 'origin/series/2.0' into merge
2016-12-19 21:59:00 -04:00
Roberto Rosario
3e63010338
Synchronize translations.
2016-11-23 03:09:56 -04:00
Roberto Rosario
2df6cb7985
Remove usage of url.patterns as per Django's deprecation warnings.
2016-11-04 04:02:48 -04:00
Roberto Rosario
6a48de5029
Update translations.
2016-10-28 04:19:15 -04:00
Roberto Rosario
8075bfd0bc
Update Spanish translation.
2016-05-08 21:57:23 -04:00
Roberto Rosario
232cb5e38d
Synchronize and compile translations.
2016-04-27 14:54:33 -04:00
Roberto Rosario
5775f5aeaa
Run makemessage for apps.
2016-04-27 14:20:45 -04:00
Roberto Rosario
3d970036b2
Sync translations with Transifex
2016-03-21 17:38:15 -04:00
Roberto Rosario
6fe778051e
Update translation source files for all apps. Add Message of the Day source message file.
2016-03-21 16:53:09 -04:00
Roberto Rosario
a1a0a6da52
PEP8 Cleanups.
2015-10-28 02:14:48 -04:00
Roberto Rosario
f9940f1fd0
Add default_app_config value to each app. Closes issue GL #216 .
2015-10-19 02:57:00 -04:00
Roberto Rosario
81c7a90c04
Fix message typo.
2015-10-19 00:56:11 -04:00
Roberto Rosario
500f870c78
Do a force pull of all translations and a compile.
2015-09-25 04:18:04 -04:00
Roberto Rosario
8629e6495e
Translation source files updates. Add translator comments. Thanks to Berny for these.
2015-09-24 16:30:19 -04:00
Roberto Rosario
c9b981f07a
Update translation sources and compiles files.
2015-09-24 01:44:03 -04:00
Roberto Rosario
6ca6cd9f21
PEP8 Cleanusp (549 warnings).
2015-09-16 04:15:10 -04:00
Roberto Rosario
a1d8f34e69
Don't cache the value of a setting.
2015-09-06 03:59:31 -04:00
Roberto Rosario
bbfd158e28
Move setting namespace initalization code to the class itself. Add method to invalidate all setting caches. Use smart setting cache invalidation for properly test advanced search pagination.
2015-09-06 02:49:27 -04:00
Roberto Rosario
574f3d2d66
Synchronize and compile translation files.
2015-08-27 01:33:14 -04:00
Roberto Rosario
709e9208aa
Update source translation files.
2015-08-27 01:25:33 -04:00
Roberto Rosario
4432cb5c2e
Add view permission for the smart settings app. It is no longer required to be a super admin or staff user to see the setting values.
2015-08-25 17:35:31 -04:00
Roberto Rosario
d007214d39
Update language translations.
2015-08-24 01:40:22 -04:00
Roberto Rosario
2c93c5d8c2
Update translation source files.
2015-08-24 00:34:08 -04:00
Roberto Rosario
fa3633fbe8
Remove empty language files locales: sq, zh_TW, hr_HR, de_CH, lv, nb, tr_TR.
2015-08-20 19:40:05 -04:00
Roberto Rosario
c030b91528
Update translation files.
2015-08-20 19:35:24 -04:00
Roberto Rosario
f2ccfa16d5
Update source language files. Make lock manager and storage translatable.
2015-08-20 15:35:06 -04:00
Roberto Rosario
60bc327756
Improve SourceColumn workflow by allowing explicit functions as columns. Remove usage of encapsulate. Move instances of 'extra_columns' to SourceColumn.
2015-08-16 14:26:41 -04:00
Roberto Rosario
8e77cdec38
Update settings app view to user SingleObjectListView class.
2015-08-14 14:55:24 -04:00
Roberto Rosario
3f84b8d839
Raise HTTP error 404 on invalid setting namespaces.
2015-08-12 01:45:11 -04:00
Roberto Rosario
3fd73739a6
Update translation source files and language processing script.
2015-08-11 02:27:18 -04:00
Roberto Rosario
1e746c700a
PEP8 cleanups.
2015-07-27 23:53:14 -04:00
Roberto Rosario
4527563d89
PEP8 cleanups, specially E501 line too long.
2015-07-22 18:21:37 -04:00