- 29 Jan, 2013 3 commits
-
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Do not automatically update version files from setup.py. From now on, version files are updated using 'update_version.py' script and 'devflow'. Also removed autopkg.conf and created devflow.conf configuration file.
-
Georgios D. Tsoukalas authored
-
- 28 Jan, 2013 3 commits
-
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Sofia Papagiannaki authored
Stop migraton if it fails to retrieve a uuid/displayname.
-
- 25 Jan, 2013 2 commits
-
-
Georgios D. Tsoukalas authored
1. Motivation. Too often a programmer outputs an object that can either be str or unicode. The default python encoding of 'ascii' cannot handle all of unicode text, but this will not crash until such a text is encountered. A popular response is to force unicode into a UTF-8 encoding, but this forcing breaks cases where other encodings may be desired or needed (e.g. user terminal settings, CSV files). The 'force' approach is sufficient for application data, since the application decides for itself how to handle it consistently. However, forcing an encoding on a user-interfacing output, (e.g. terminal, notification messages) disrespects the user's configuration. 2. Approach. uenc() will honor the user's configuration as defined through the POSIX call setlocale(), which expects the user's preference in the LC_* environment variables. LC_CTYPE is most relevant here. However, these preferences are not honored automatically; a call to setlocale() must first be made. Therefore, if the locale is not set, it will be during the importing of the uenc()'s parent module. Guidelines - Programmers who wish to honor the preferences, but do not want to care about either str or unicode (or even another object) can call uenc() to encode (if needed) all their output text objects. - Programmers who want to force a specific encoding, they must immediately encode their text. Possible calls to uenc() on their text from other modules will not touch the str objects. - Programmers who want to honor the configuration of their output devices (e.g. file with its encoding attribute set), they must either trust the LC_* configuration and use uenc() or trust the configuration of the output and NOT use uenc(). - Programmers who manage storage of internal application data are better of encoding all their text to UTF-8, and never forward unicode and suffer the uncertainty of unicode-to-string encoding. UTF8 can both handle all unicode texts and is compatible with plain 7-bit ascii. - Programmers who output text according to communication protocols (e.g HTTP, JSON) must always be aware and honor the encoding requirements of the protocol, even when they use libraries that 'do the right thing' with unicode. It is more cumbersome, but always safer to encode unicode to string before giving output away to a protocol library. Often, the very question 'what encoding should I use', will make the programmer aware of encoding issues and protocol details, whereas passing on unicode would trigger none such inquiry.
-
Georgios D. Tsoukalas authored
-
- 24 Jan, 2013 1 commit
-
-
Giorgos Korfiatis authored
-
- 23 Jan, 2013 4 commits
-
-
Kostas Papadimitriou authored
patch only once
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
A context which can be used as a decorator; it commits the transaction if no exception was raised and the rollback flag was not checked. Executes customizable code after committing.
-
Sofia Papagiannaki authored
* Substitute ``username`` with ``displayname``
-
- 17 Jan, 2013 1 commit
-
-
Christos Stavrakakis authored
-
- 16 Jan, 2013 1 commit
-
-
Christos Stavrakakis authored
-
- 15 Jan, 2013 1 commit
-
-
Kostas Papadimitriou authored
prepend body placeholder (using border-top) to avoid flickering caused due to late rendering of the cloudbar element
-
- 14 Jan, 2013 3 commits
-
-
Vangelis Koukis authored
-
Giorgos Korfiatis authored
-
Sofia Papagiannaki authored
-
- 11 Jan, 2013 2 commits
-
-
Kostas Papadimitriou authored
-
Georgios D. Tsoukalas authored
-
- 07 Jan, 2013 4 commits
-
-
Giorgos Korfiatis authored
apply the new field to astakos.im.ProjectResourceGrant
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
Kostas Papadimitriou authored
`get_user`, `user_for_token` and `authenticate` methods now accept a `usage` parameter which requests user usage quotas to be returned along with authenticated user information. Server side handling has also been implemented.
-
- 03 Jan, 2013 1 commit
-
-
Sofia Papagiannaki authored
* It should optionally work with user dictionary instead of contacting astakos. * Fix pep8 errors
-
- 28 Dec, 2012 1 commit
-
-
Sofia Papagiannaki authored
-
- 27 Dec, 2012 1 commit
-
-
Sofia Papagiannaki authored
Update Astakos API to provider calls for retrieving uuid from the username and vice versa, extend astakos client library (snf-common) and update pithos to use uuids instead of email for account identification
-
- 21 Dec, 2012 2 commits
-
-
Giorgos Korfiatis authored
Exceptions regarding limit violations now carry details as specified in CommissionValueException
-
Giorgos Korfiatis authored
-
- 19 Dec, 2012 2 commits
-
-
Kostas Papadimitriou authored
-
Giorgos Korfiatis authored
Separately handle subtractions and additions of quotas Adapt get_diff_quota plus various bug fixes
-
- 18 Dec, 2012 1 commit
-
-
Giorgos Korfiatis authored
Add call query_serials separate from ack_serials.
-
- 17 Dec, 2012 2 commits
-
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
- 14 Dec, 2012 1 commit
-
-
Christos Stavrakakis authored
LOGGING has been renamed to LOGGING_SETUP
-
- 13 Dec, 2012 1 commit
-
-
Giorgos Korfiatis authored
-
- 11 Dec, 2012 1 commit
-
-
Vangelis Koukis authored
Migrate default settings to files under conf/ for every Synnefo component. TODO: Obliterate snf-cyclades-app/synnefo/appt_settings/default/* and similar files. Make import of synnefo settings common throughout the code.
-
- 10 Dec, 2012 1 commit
-
-
Giorgos Korfiatis authored
if part of the request is rejected. If such a call returns a non-empty list, this means that the entire call failed due to the actions mentioned in the list.
-
- 04 Dec, 2012 1 commit
-
-
Giorgos Korfiatis authored
-