Commit Graph

40 Commits

Author SHA1 Message Date
resteve f3e0534579 Update nereid to use the locale instead of lang #65
This patch makes a significant shift in the way nereid handles
multi language sites. Previously, the language code was used in the
URL, but now a locale code which can be defined by the user is used
2013-11-19 15:44:04 +01:00
resteve 33b5d4aba8 Flake8ify #2231
Fixed all flake8 issues
2013-09-30 15:44:06 +02:00
Sharoon Thomas cc5080d306 Update to 2.8 #1405
* Replaced use of _inherits in nereid.user
* Create now accepts list of values
* Remove deprecated methods field
2013-05-21 15:03:16 +05:00
Sharoon Thomas 803ad60544 Update to Active Record #647 2013-01-20 13:14:13 +05:00
Sharoon Thomas 61382f60e1 Remove dependency on ccy #41
CCY was used to identify the currency from the
country part of the locale (eg. US in  en_US) to
identify the currency. The library is both a burden
and a pain to install automatically.

This patch removes the dependency on the library
and adds a new field to language where the default
currency for the language can be specified. If a default
currency is not specified in the language, it is picked up
from the currency of the company of the website
2013-01-15 21:50:04 +05:00
Sharoon Thomas dd055f7282 Add support for RESTful URLs
Nereid URLs used a selection box to choose the methods accepted
by the handler. This limited GET, POST and both GET & POST as
the available options. This patch replaces the selection field
with checkboxes for different HTTP methods. The patch gracefuly
converst existing URLs written with methods selection into the
new format. The old XML is still valid, but will be deprecated
in the upcoming release
2012-12-29 11:54:36 +05:00
Sharoon Thomas 809e85ebdf Add timezone to view 2012-09-10 04:38:55 -04:00
Sharoon Thomas 2bfc287f53 Add display_name field for nereid_user to cater bith b2b and b2c context
review8331083
2012-09-03 13:21:50 +05:00
Sharoon Thomas 809e7bb59e On recursive redirect to the login path as a logged in user, just redirect to the url pointed by next 2012-06-10 17:59:11 +05:00
Sharoon Thomas 5e19dd25a5 Added User and API documentation
Added flask-theme as a submodule
2012-06-02 07:45:53 +05:00
Sharoon Thomas 464d6722a4 Upgrade to tryton 2.4.
All tests are passing
2012-05-14 19:38:52 +05:00
Sharoon Thomas 42684bb112 Define application_user and guest_user in nereid_website (previously was part of the application spec) 2012-03-09 18:12:29 -05:00
Sharoon Thomas ec520c4511 Further refine the translation process and add pt_BR as a language 2012-02-10 15:39:17 -05:00
Sharoon Thomas 3d1c133205 New user model
Test suite to cover the same
Added translatable strings for internationalisation
Experimental support of Internationalisation
2012-02-10 07:15:18 -05:00
Sharoon Thomas d235245791 Pass more information on the subdivisions 2011-12-15 12:53:27 +05:00
Sharoon Thomas 1a7669b19f Allow XHR login 2011-12-13 04:47:54 -05:00
Sharoon Thomas ca6d1ed7c1 Signal handling during login, failed_login and logout 2011-06-07 21:15:32 -04:00
Sharoon Thomas 717c896a1b Improved API for login management which allows custom message in addition to Invalid login credentials to be shown 2011-06-02 16:34:17 -04:00
Sharoon Thomas afdf94cea4 Send the messages pending also in the user status 2011-05-27 16:40:22 -04:00
Sharoon Thomas acc32851d6 Add user status method and URI 2011-05-27 15:20:11 -04:00
Sharoon Thomas 089f43c2ff Remove unused import 2011-05-27 15:13:48 -04:00
Shalabh Aggarwal bd347cb1c9 [DEP]Required=True removed from endpoint as it hampered the functionality of redirect urls 2011-05-23 13:34:17 +05:00
Sharoon Thomas 1140f6a590 Better language handling by URL alone and avoidance of sessions to manage the same 2011-05-17 21:04:52 -04:00
Sharoon Thomas ee6d90cea7 Use language as a locale and have nereid_currency cached property on reuqest 2011-05-17 16:00:01 -04:00
Sharoon Thomas 24b593974e Extend language to function more like a locale with currency 2011-05-17 13:46:15 -04:00
Sharoon Thomas 594c273af6 [IMP]get_languages method to return the languages 2011-05-03 10:39:03 -04:00
Sharoon Thomas 22ecfa8465 [IMP]Added language change features 2011-05-02 20:41:06 -04:00
Sharoon Thomas 69fafc341f [FIX]Use next from get or post 2011-05-01 03:12:21 -04:00
Sharoon Thomas 1248e26f4f [IMP]Basic currency handling shifted to nereid/trytond_nereid from nereid_catalog 2011-04-27 13:47:17 -04:00
Sharoon Thomas b11693c7cc [FIX]Fixed JSON representation sent by country_list 2011-04-27 10:34:13 -04:00
Sharoon Thomas 8616190641 [IMP]Caching feature 2011-03-31 23:29:31 -04:00
Sharoon Thomas 4b53a9810d [FIX]Deprecated registration from website to party [FIX]urls.xml 2011-03-31 18:15:47 -04:00
Sharoon Thomas 85b9c71baf [FIX]Multiple website template common inheritance [REF]PEP008 style naming or url_map [FIX]New style XML for URL input 2011-03-31 15:48:34 -04:00
Sharoon Thomas d4e978621a [FIX]Refactoring of simple registration + [FIX]Typo 2011-01-08 13:34:01 +05:00
Sharoon Thomas 2e8626d2a5 [FIX]Use url_for in redirect to root, [FIX]Provision to specify data path for session store 2011-01-07 20:04:24 +05:00
Sharoon Thomas bfc9bb0c65 [FIX]Redirect to home rather than the site root 2011-01-07 18:55:16 +05:00
Sharoon Thomas fca602102f [FIX]Trigger an email on account reset 2010-12-27 12:14:17 +05:00
Sharoon Thomas 6bef1c5409 [ADD]Missed out files in previous commit 2010-12-18 11:09:19 +05:00
Sharoon Thomas 4fc1dab3fe [FIX]Dependency of flask, [FIX]The base_url field was depreciated, so use name instead 2010-12-08 11:03:28 +05:00
Sharoon Thomas 13605b7187 [ADD]Initial import 2010-12-08 10:24:48 +05:00