kamaki
10 years agoInput uses preferred encoding
Stavros Sachtouris [Thu, 27 Feb 2014 15:29:39 +0000 (17:29 +0200)]
Input uses preferred encoding

10 years agoAdd warning in encoding failure
Stavros Sachtouris [Thu, 27 Feb 2014 13:16:04 +0000 (15:16 +0200)]
Add warning in encoding failure

10 years agoRemove redudant flush, optimize for utf output
Stavros Sachtouris [Thu, 27 Feb 2014 13:11:43 +0000 (15:11 +0200)]
Remove redudant flush, optimize for utf output

10 years agoRemove redudant en/de-coding from CLI outputs
Stavros Sachtouris [Thu, 27 Feb 2014 11:06:02 +0000 (13:06 +0200)]
Remove redudant en/de-coding from CLI outputs

Refs: #5150

10 years agoEncode list/item prints in user-defined encoding
Stavros Sachtouris [Wed, 26 Feb 2014 16:34:40 +0000 (18:34 +0200)]
Encode list/item prints in user-defined encoding

Refs: #5150

10 years agoMerge branch 'feature-unicode-http' into develop
Stavros Sachtouris [Wed, 26 Feb 2014 15:34:18 +0000 (17:34 +0200)]
Merge branch 'feature-unicode-http' into develop

10 years agoFix copyright (recent file changes)
Stavros Sachtouris [Wed, 26 Feb 2014 15:10:58 +0000 (17:10 +0200)]
Fix copyright (recent file changes)

10 years agoDo not record config set commands in history
Stavros Sachtouris [Wed, 26 Feb 2014 14:31:23 +0000 (16:31 +0200)]
Do not record config set commands in history

Refs: #4479

10 years agoAdd source version in file overwrite
Stavros Sachtouris [Wed, 26 Feb 2014 14:11:25 +0000 (16:11 +0200)]
Add source version in file overwrite

10 years agoDecode headers to utf-8, print in user-chosen enc.
Stavros Sachtouris [Wed, 26 Feb 2014 11:30:31 +0000 (13:30 +0200)]
Decode headers to utf-8, print in user-chosen enc.

Refs: #5150

10 years agoImplement _encode_nicely method to supress errors
Stavros Sachtouris [Tue, 25 Feb 2014 16:47:27 +0000 (18:47 +0200)]
Implement _encode_nicely method to supress errors

Refs: #5150

Loop over a string and attempt to encode it in a given encoding
If a char fails, replace it with a replacement character

10 years agoUpdate documentation for windows installation
Stavros Sachtouris [Tue, 25 Feb 2014 15:20:18 +0000 (17:20 +0200)]
Update documentation for windows installation

10 years agoApply UTF-8 encoding while in/output with console
Stavros Sachtouris [Mon, 24 Feb 2014 16:13:09 +0000 (18:13 +0200)]
Apply UTF-8 encoding while in/output with console

Refs: #5150

10 years agoURL-encode http headers
Stavros Sachtouris [Mon, 24 Feb 2014 14:10:48 +0000 (16:10 +0200)]
URL-encode http headers

Refs: #5150

10 years agoSuppress logs of best-match failures
Stavros Sachtouris [Mon, 24 Feb 2014 13:18:15 +0000 (15:18 +0200)]
Suppress logs of best-match failures

10 years agoMerge branch 'feature-history-limit' into develop
Stavros Sachtouris [Mon, 24 Feb 2014 11:24:27 +0000 (13:24 +0200)]
Merge branch 'feature-history-limit' into develop

10 years agoUpdate Changelog for history changes
Stavros Sachtouris [Mon, 24 Feb 2014 11:24:09 +0000 (13:24 +0200)]
Update Changelog for history changes

10 years agoUpdate documentation for history
Stavros Sachtouris [Mon, 24 Feb 2014 11:23:00 +0000 (13:23 +0200)]
Update documentation for history

10 years agoOnly two cmds in history, use history_limit
Stavros Sachtouris [Mon, 24 Feb 2014 11:16:33 +0000 (13:16 +0200)]
Only two cmds in history, use history_limit

Refs: #4479

10 years agoAdd a limit in number of history lines
Stavros Sachtouris [Fri, 21 Feb 2014 13:42:44 +0000 (15:42 +0200)]
Add a limit in number of history lines

Refs: #4479

10 years agoRemove history run
Stavros Sachtouris [Thu, 20 Feb 2014 15:35:33 +0000 (17:35 +0200)]
Remove history run

Refs: #4479

10 years agoUse slice notation in history show
Stavros Sachtouris [Thu, 20 Feb 2014 15:13:40 +0000 (17:13 +0200)]
Use slice notation in history show

Refs: #4479

10 years agoSimplify history _match and get
Stavros Sachtouris [Thu, 20 Feb 2014 13:48:19 +0000 (15:48 +0200)]
Simplify history _match and get

Refs: #4479

10 years agoRename method in kamaki.cli.history
Stavros Sachtouris [Thu, 20 Feb 2014 12:34:21 +0000 (14:34 +0200)]
Rename method in kamaki.cli.history

Refs: #4479

retrieve --> __getitem__
clean --> empty

10 years agoMerge branch 'feature-floatingip-without-network' into develop
Stavros Sachtouris [Thu, 20 Feb 2014 09:37:07 +0000 (11:37 +0200)]
Merge branch 'feature-floatingip-without-network' into develop

10 years agoAllow ip allocation without specifing net id
Stavros Sachtouris [Thu, 20 Feb 2014 09:36:20 +0000 (11:36 +0200)]
Allow ip allocation without specifing net id

Refs: #5104

10 years agoFix HTTP headers in image member add
Stavros Sachtouris [Wed, 19 Feb 2014 12:49:55 +0000 (14:49 +0200)]
Fix HTTP headers in image member add

Refs: #5115

10 years agoFix typo
Stavros Sachtouris [Mon, 17 Feb 2014 13:25:49 +0000 (15:25 +0200)]
Fix typo

10 years agoMerge branch 'feature-semantic-clean-up' into develop
Stavros Sachtouris [Mon, 17 Feb 2014 13:11:25 +0000 (15:11 +0200)]
Merge branch 'feature-semantic-clean-up' into develop

10 years agoUndo server restructs, keep the big fixes
Stavros Sachtouris [Mon, 17 Feb 2014 13:10:42 +0000 (15:10 +0200)]
Undo server restructs, keep the big fixes

10 years agoRemove obsolete arguyments from server_info
Stavros Sachtouris [Wed, 12 Feb 2014 09:43:16 +0000 (11:43 +0200)]
Remove obsolete arguyments from server_info

Refs: #5051

10 years agoFix typo in set firewall profile
Stavros Sachtouris [Tue, 11 Feb 2014 16:24:53 +0000 (18:24 +0200)]
Fix typo in set firewall profile

10 years agoPretty server info, better errors in set firewall
Stavros Sachtouris [Tue, 11 Feb 2014 16:08:34 +0000 (18:08 +0200)]
Pretty server info, better errors in set firewall

Refs: #5051

10 years agoFix type in server modify argument help
Stavros Sachtouris [Mon, 10 Feb 2014 08:49:14 +0000 (10:49 +0200)]
Fix type in server modify argument help

10 years agoMerge branch 'feature-update-docs' into develop
Stavros Sachtouris [Fri, 7 Feb 2014 16:48:57 +0000 (18:48 +0200)]
Merge branch 'feature-update-docs' into develop

10 years agoEnrich documentation with network-related examples
Stavros Sachtouris [Fri, 7 Feb 2014 16:44:36 +0000 (18:44 +0200)]
Enrich documentation with network-related examples

Refs: #5031

10 years agoUpdate network commands in documentaion
Stavros Sachtouris [Thu, 6 Feb 2014 15:36:14 +0000 (17:36 +0200)]
Update network commands in documentaion

Refs: #5031

10 years agoMerge branch 'develop' into feature-update-docs
Stavros Sachtouris [Thu, 6 Feb 2014 13:38:44 +0000 (15:38 +0200)]
Merge branch 'develop' into feature-update-docs

10 years agoRemove deprecated methods
Stavros Sachtouris [Thu, 6 Feb 2014 13:38:02 +0000 (15:38 +0200)]
Remove deprecated methods

10 years agoMerge branch 'feature-account-name' into develop
Stavros Sachtouris [Wed, 5 Feb 2014 13:24:41 +0000 (15:24 +0200)]
Merge branch 'feature-account-name' into develop

10 years agoUpdate changelog
Stavros Sachtouris [Wed, 5 Feb 2014 13:24:25 +0000 (15:24 +0200)]
Update changelog

10 years agoRecognise usernames in --account args (or similar)
Stavros Sachtouris [Wed, 5 Feb 2014 13:16:05 +0000 (15:16 +0200)]
Recognise usernames in --account args (or similar)

Refs: #4810

Arguments --account and --to-account can now accept usernames along with uuids
Kamaki attempts to recognise the argument as a uuid. In case of failure, it
attempts to recognise it as a username. If it fails again, it produces and
error.

Also, restore kamaki file publish/unpublish

10 years agoMerge branch 'feature-update-docs' into develop
Stavros Sachtouris [Tue, 4 Feb 2014 13:49:32 +0000 (15:49 +0200)]
Merge branch 'feature-update-docs' into develop

10 years agoUpdate showcase, make all scripts work
Stavros Sachtouris [Tue, 4 Feb 2014 13:49:08 +0000 (15:49 +0200)]
Update showcase, make all scripts work

10 years agoMerge branch 'feature-clients-docs' into develop
Stavros Sachtouris [Fri, 31 Jan 2014 16:10:56 +0000 (18:10 +0200)]
Merge branch 'feature-clients-docs' into develop

10 years agoUpdate developer-oriented documentation
Stavros Sachtouris [Fri, 31 Jan 2014 15:21:31 +0000 (17:21 +0200)]
Update developer-oriented documentation

10 years agoRemove livetest references from docs
Stavros Sachtouris [Fri, 31 Jan 2014 12:59:47 +0000 (14:59 +0200)]
Remove livetest references from docs

Refs: #4873

10 years agoMerge branch 'feature-remove-livetests' into develop
Stavros Sachtouris [Fri, 31 Jan 2014 12:41:27 +0000 (14:41 +0200)]
Merge branch 'feature-remove-livetests' into develop

10 years agoRemove livetest from kamaki
Stavros Sachtouris [Fri, 31 Jan 2014 12:40:16 +0000 (14:40 +0200)]
Remove livetest from kamaki

Refs: #4873

10 years agoMerge branch 'feature-argument-abbreviations' into develop
Stavros Sachtouris [Thu, 30 Jan 2014 15:58:14 +0000 (17:58 +0200)]
Merge branch 'feature-argument-abbreviations' into develop

10 years agoDisable argument abbreviation
Stavros Sachtouris [Thu, 30 Jan 2014 15:56:06 +0000 (17:56 +0200)]
Disable argument abbreviation

Refs: #4865

Implementaton details: subclass ArgumentParser and override the
_get_option_tuples method. Replace option_string comparison
operator: == instead of .startswith
The rest of the method code is copy-pasted from python 2.7.3 argparse

10 years agoUpdate adding-commands documentation
Stavros Sachtouris [Thu, 30 Jan 2014 15:05:55 +0000 (17:05 +0200)]
Update adding-commands documentation

10 years agoFix problems with unicode HTTP headers
Stavros Sachtouris [Wed, 29 Jan 2014 16:16:29 +0000 (18:16 +0200)]
Fix problems with unicode HTTP headers

10 years agoPrettier example code in clients-api
Stavros Sachtouris [Tue, 28 Jan 2014 15:55:48 +0000 (17:55 +0200)]
Prettier example code in clients-api

10 years agoUpdate clients-api docs to reflect recent changes
Stavros Sachtouris [Tue, 28 Jan 2014 15:51:17 +0000 (17:51 +0200)]
Update clients-api docs to reflect recent changes

10 years agoMerge branch 'feature-clients-docs' into develop
Stavros Sachtouris [Tue, 28 Jan 2014 15:29:05 +0000 (17:29 +0200)]
Merge branch 'feature-clients-docs' into develop

10 years agoUpdate Changelog for astakos error class merge
Stavros Sachtouris [Tue, 28 Jan 2014 15:28:20 +0000 (17:28 +0200)]
Update Changelog for astakos error class merge

10 years agoApply uniformity in kamaki.clients.astakos errors
Stavros Sachtouris [Tue, 28 Jan 2014 15:26:17 +0000 (17:26 +0200)]
Apply uniformity in kamaki.clients.astakos errors

Refs: #5002

All errors are now AstakosClientError errors

10 years agoMerge astakos error classes --> AstakosClientError
Stavros Sachtouris [Tue, 28 Jan 2014 15:20:08 +0000 (17:20 +0200)]
Merge astakos error classes --> AstakosClientError

Refs: #5002

Also, decorate kamaki.clients.astakos.AstakosClient to raise this new class
when an error occurs

10 years agoMerge branch 'feature-container-access-bug' into develop
Stavros Sachtouris [Tue, 28 Jan 2014 12:00:31 +0000 (14:00 +0200)]
Merge branch 'feature-container-access-bug' into develop

10 years agoUpdate changelog for immutable containers in file*
Stavros Sachtouris [Tue, 28 Jan 2014 11:59:28 +0000 (13:59 +0200)]
Update changelog for immutable containers in file*

10 years agoDo not let file-* cmds to create containers
Stavros Sachtouris [Tue, 28 Jan 2014 11:58:39 +0000 (13:58 +0200)]
Do not let file-* cmds to create containers

Refs: #4992

10 years agoMerge branch 'feature-image' into develop
Stavros Sachtouris [Tue, 28 Jan 2014 10:39:22 +0000 (12:39 +0200)]
Merge branch 'feature-image' into develop

10 years agoUpdate Changelog for image register auto-path
Stavros Sachtouris [Tue, 28 Jan 2014 10:39:05 +0000 (12:39 +0200)]
Update Changelog for image register auto-path

10 years agoAllow image register from local file to container
Stavros Sachtouris [Tue, 28 Jan 2014 10:36:15 +0000 (12:36 +0200)]
Allow image register from local file to container

Refs: #4991

Image register can now accept these options as correct:
--location [pithos://UUID]/CONTAINER --upload-local-file LOCAL_PATH
which is equivalent to this:
--location [pithos://UUID]/CONTAINER/basename(LOCAL_PATH) --upload-local-file LOCAL_PATH

10 years agoMerge branch 'feature-image' into develop
Stavros Sachtouris [Mon, 27 Jan 2014 16:22:57 +0000 (18:22 +0200)]
Merge branch 'feature-image' into develop

10 years agoRename --(un)publish to --public/--private
Stavros Sachtouris [Mon, 27 Jan 2014 16:15:32 +0000 (18:15 +0200)]
Rename --(un)publish to --public/--private

Refs: 4990

10 years agoUpdate Changelog for image meta permissions
Stavros Sachtouris [Mon, 27 Jan 2014 15:59:40 +0000 (17:59 +0200)]
Update Changelog for image meta permissions

10 years agoIn image register, meta gets same sharing as image
Stavros Sachtouris [Mon, 27 Jan 2014 15:58:25 +0000 (17:58 +0200)]
In image register, meta gets same sharing as image

Refs: #4960

10 years agoUpdate Changelog with file list bugfix
Stavros Sachtouris [Mon, 27 Jan 2014 13:03:14 +0000 (15:03 +0200)]
Update Changelog with file list bugfix

10 years agoAlways recognise a directory in pithos
Stavros Sachtouris [Mon, 27 Jan 2014 13:02:30 +0000 (15:02 +0200)]
Always recognise a directory in pithos

Refs: #4987

10 years agoUpdate Changelog for URL-encode bug
Stavros Sachtouris [Mon, 27 Jan 2014 11:08:02 +0000 (13:08 +0200)]
Update Changelog for URL-encode bug

10 years agoAll URL-space params are now URL-encoded
Stavros Sachtouris [Mon, 27 Jan 2014 11:07:22 +0000 (13:07 +0200)]
All URL-space params are now URL-encoded

Refs: #4986

10 years agoFi network_create in documentation
Stavros Sachtouris [Fri, 24 Jan 2014 15:09:32 +0000 (17:09 +0200)]
Fi network_create in documentation

10 years agoFix typos in documentation
Stavros Sachtouris [Fri, 24 Jan 2014 14:58:02 +0000 (16:58 +0200)]
Fix typos in documentation

10 years agoTypo in documentation
Stavros Sachtouris [Fri, 24 Jan 2014 14:46:45 +0000 (16:46 +0200)]
Typo in documentation

10 years agoUpdate documentation to reflect changes in network
Stavros Sachtouris [Fri, 24 Jan 2014 14:41:29 +0000 (16:41 +0200)]
Update documentation to reflect changes in network

10 years agoRemove conte-type from object_overwrite call
Stavros Sachtouris [Fri, 24 Jan 2014 11:04:47 +0000 (13:04 +0200)]
Remove conte-type from object_overwrite call

10 years agoDocument content-type in object_overwrite
Stavros Sachtouris [Fri, 24 Jan 2014 10:37:19 +0000 (12:37 +0200)]
Document content-type in object_overwrite

10 years agoKeep objects content type by default
Stavros Sachtouris [Thu, 23 Jan 2014 16:44:53 +0000 (18:44 +0200)]
Keep objects content type by default

10 years agoAllow content-type in file overwrite
Stavros Sachtouris [Thu, 23 Jan 2014 09:56:29 +0000 (11:56 +0200)]
Allow content-type in file overwrite

10 years agoAllow empty server names in modify
Stavros Sachtouris [Wed, 22 Jan 2014 13:09:47 +0000 (15:09 +0200)]
Allow empty server names in modify

10 years agoFix typo in documentation
Stavros Sachtouris [Tue, 21 Jan 2014 09:08:53 +0000 (11:08 +0200)]
Fix typo in documentation

10 years agoUpdate Changelog for minor typo fixes
Stavros Sachtouris [Mon, 20 Jan 2014 16:11:44 +0000 (18:11 +0200)]
Update Changelog for minor typo fixes

10 years agoRemove "None" from end of file cat responses
Stavros Sachtouris [Mon, 20 Jan 2014 13:59:59 +0000 (15:59 +0200)]
Remove "None" from end of file cat responses

10 years agoUpdate help messag in image commands
Stavros Sachtouris [Mon, 20 Jan 2014 13:31:05 +0000 (15:31 +0200)]
Update help messag in image commands

10 years agoBugfix: container delete for numerical containers
Stavros Sachtouris [Fri, 17 Jan 2014 13:51:57 +0000 (15:51 +0200)]
Bugfix: container delete for numerical containers

10 years agoFix typo in membership_enroll
Stavros Sachtouris [Fri, 17 Jan 2014 11:01:45 +0000 (13:01 +0200)]
Fix typo in membership_enroll

10 years agoFix bug with --unpublish for update_image
Stavros Sachtouris [Thu, 16 Jan 2014 16:36:44 +0000 (18:36 +0200)]
Fix bug with --unpublish for update_image

10 years agoMerge branch 'feature-image-property-del' into develop
Stavros Sachtouris [Thu, 16 Jan 2014 14:21:32 +0000 (16:21 +0200)]
Merge branch 'feature-image-property-del' into develop

10 years agoUpdate documentation for image property-del
Stavros Sachtouris [Thu, 16 Jan 2014 14:12:28 +0000 (16:12 +0200)]
Update documentation for image property-del

Refs: #4940

10 years agoIn image modify, make property-del a required arg
Stavros Sachtouris [Thu, 16 Jan 2014 14:04:58 +0000 (16:04 +0200)]
In image modify, make property-del a required arg

Refs: #4940

10 years agoAdd user_info and user_term for bw compatibility
Stavros Sachtouris [Mon, 13 Jan 2014 15:18:50 +0000 (17:18 +0200)]
Add user_info and user_term for bw compatibility

Refs: #4880

10 years agoBackwards compatibility for get_service_endpoints
Stavros Sachtouris [Mon, 13 Jan 2014 11:34:48 +0000 (13:34 +0200)]
Backwards compatibility for get_service_endpoints

Refs: #4880

10 years agoRemove fstat from clients.utils.readall
Stavros Sachtouris [Fri, 10 Jan 2014 10:04:11 +0000 (12:04 +0200)]
Remove fstat from clients.utils.readall

Refs: #4871

Fstat was used to compute the actual file size in order to
distinguish if an empty read was because the file ended.
It now considers an empty read to be an end of file.

This allows reading non-regular files.

10 years agoFix typo in create_server -w
Stavros Sachtouris [Fri, 10 Jan 2014 12:48:22 +0000 (14:48 +0200)]
Fix typo in create_server -w

10 years agoRemove debug printer
Stavros Sachtouris [Thu, 9 Jan 2014 15:30:26 +0000 (17:30 +0200)]
Remove debug printer

10 years agoMinor typo
Stavros Sachtouris [Thu, 9 Jan 2014 14:15:22 +0000 (16:15 +0200)]
Minor typo

10 years agoMerge branch 'feature-image-register-bug' into develop
Stavros Sachtouris [Thu, 9 Jan 2014 12:33:15 +0000 (14:33 +0200)]
Merge branch 'feature-image-register-bug' into develop

10 years agoUpdate Changelog for image register bugfix
Stavros Sachtouris [Thu, 9 Jan 2014 12:32:47 +0000 (14:32 +0200)]
Update Changelog for image register bugfix

Refs: #4864