opensuse:shared-resources.git
6 years agoRevert "use ssl based on the used protocol and not the port"
Sascha Peilicke [Tue, 22 Mar 2011 15:16:49 +0000 (16:16 +0100)]
Revert "use ssl based on the used protocol and not the port"

This reverts commit 4265bc2b76d895a63c58b0d4cb06dd9163a0ffca.
Doesn't solve the issue, makes it worse.

6 years agoRevert "- second part of ssl handling, protocol can now be defined via set_default_pr...
Sascha Peilicke [Tue, 22 Mar 2011 15:16:25 +0000 (16:16 +0100)]
Revert "- second part of ssl handling, protocol can now be defined via set_default_protocol() function"

This reverts commit e0e08d8554c2d7dcfefb14eba4c2b6a2acedddf5.
Doesn't solve SSL issues, makes it worse.

6 years ago- second part of ssl handling, protocol can now be defined via set_default_protocol...
Adrian Schröter [Mon, 21 Mar 2011 14:00:32 +0000 (15:00 +0100)]
- second part of ssl handling, protocol can now be defined via set_default_protocol() function

6 years agouse ssl based on the used protocol and not the port
Adrian Schröter [Thu, 17 Mar 2011 14:10:11 +0000 (15:10 +0100)]
use ssl based on the used protocol and not the port

7 years agofix content type hand over
Adrian Schröter [Mon, 24 Jan 2011 12:02:36 +0000 (13:02 +0100)]
fix content type hand over

7 years ago[shared] use content type for doing search posts
Adrian Schröter [Mon, 24 Jan 2011 11:05:54 +0000 (12:05 +0100)]
[shared] use content type for doing search posts

7 years agodo embedded POST instead of GET for Collection.find calls with predicate
Adrian Schröter [Sat, 22 Jan 2011 09:48:26 +0000 (10:48 +0100)]
do embedded POST instead of GET for Collection.find calls with predicate

7 years agodb_projects table is already joined to db_packages table on DbPackage.find now.
Adrian Schröter [Wed, 19 Jan 2011 16:25:37 +0000 (17:25 +0100)]
db_projects table is already joined to db_packages table on DbPackage.find now.

7 years ago[shared] belongs_to is not used anymore
Stephan Kulow [Fri, 3 Sep 2010 13:04:41 +0000 (15:04 +0200)]
[shared] belongs_to is not used anymore

7 years agorequire rexml for error parsing
Thomas Schmidt [Thu, 5 Aug 2010 10:52:46 +0000 (12:52 +0200)]
require rexml for error parsing

7 years ago[shared] throw a NoMethodError instead of a XML error 2.1.0
Stephan Kulow [Fri, 9 Jul 2010 09:22:02 +0000 (11:22 +0200)]
[shared] throw a NoMethodError instead of a XML error

7 years agothrow timeout on 504 and give http code if nothing returned from server
Stephan Kulow [Mon, 21 Jun 2010 07:52:56 +0000 (09:52 +0200)]
throw timeout on 504 and give http code if nothing returned from server

7 years ago[activexml] fix cache_delete to not change the *args
Thomas Schmidt [Thu, 17 Jun 2010 14:44:10 +0000 (16:44 +0200)]
[activexml] fix cache_delete to not change the *args

7 years agofix syntax error
Stephan Kulow [Thu, 10 Jun 2010 12:32:01 +0000 (14:32 +0200)]
fix syntax error

7 years ago[shared] define content-length with put and push
Stephan Kulow [Thu, 10 Jun 2010 12:23:18 +0000 (14:23 +0200)]
[shared] define content-length with put and push

7 years agoa POST without content is allowed 2.0 2.0.0
Adrian Schröter [Tue, 8 Jun 2010 10:34:07 +0000 (12:34 +0200)]
a POST without content is allowed

7 years agoremove debug
Thomas Schmidt [Wed, 26 May 2010 10:15:01 +0000 (12:15 +0200)]
remove debug

7 years ago[activexml] fix errormessage on parsing failure
Thomas Schmidt [Thu, 20 May 2010 14:00:34 +0000 (16:00 +0200)]
[activexml] fix errormessage on parsing failure

7 years ago[shared] make timeout larger for collections
Stephan Kulow [Sat, 15 May 2010 20:19:08 +0000 (22:19 +0200)]
[shared] make timeout larger for collections

7 years agoadd a value function that will return either attribute, child
Stephan Kulow [Tue, 27 Apr 2010 12:27:49 +0000 (14:27 +0200)]
add a value function that will return either attribute, child
content or nil

7 years agosilently ignore nil values
Stephan Kulow [Fri, 23 Apr 2010 20:21:02 +0000 (22:21 +0200)]
silently ignore nil values

7 years ago[activexml] find :all has no options
Stephan Kulow [Wed, 21 Apr 2010 10:55:44 +0000 (12:55 +0200)]
[activexml] find :all has no options

7 years ago[activexml] do not transfer nil into '[nil]'
Stephan Kulow [Sun, 18 Apr 2010 13:16:43 +0000 (15:16 +0200)]
[activexml] do not transfer nil into '[nil]'

7 years ago[activexml] arrays are special
Stephan Kulow [Sun, 18 Apr 2010 12:49:29 +0000 (14:49 +0200)]
[activexml] arrays are special

7 years ago[activexml] Little rewrite in the activexml transport
Stephan Kulow [Sun, 18 Apr 2010 12:09:40 +0000 (14:09 +0200)]
[activexml] Little rewrite in the activexml transport

make sure the default find paramters are handled correctly, especially
for free_cache it's important. At the same time, leave out expires_in
when calculating the hash key. It creates more problems than it fixes IMO

7 years ago[activexml] when object is cached, remember it's key and automatically reset the...
Thomas Schmidt [Fri, 9 Apr 2010 16:31:07 +0000 (18:31 +0200)]
[activexml] when object is cached, remember it's key and automatically reset the cache on save / delete

7 years ago[activexml] having at least the class name in the key makes debugging easier
Thomas Schmidt [Wed, 31 Mar 2010 17:13:54 +0000 (19:13 +0200)]
[activexml] having at least the class name in the key makes debugging easier

7 years ago[activexml] format code
Thomas Schmidt [Tue, 30 Mar 2010 14:37:48 +0000 (16:37 +0200)]
[activexml] format code

7 years agomake the sponsors transparent
Stephan Kulow [Thu, 25 Mar 2010 14:44:13 +0000 (15:44 +0100)]
make the sponsors transparent

7 years agothe key may become too long, so just always calc a hash for the key
Stephan Kulow [Thu, 25 Mar 2010 13:31:25 +0000 (14:31 +0100)]
the key may become too long, so just always calc a hash for the key

7 years agofix warnings and remove unused function
Stephan Kulow [Fri, 19 Mar 2010 09:31:23 +0000 (10:31 +0100)]
fix warnings and remove unused function

7 years agobssql needs to return XML now too - the node is now the one
Stephan Kulow [Thu, 18 Mar 2010 20:53:33 +0000 (21:53 +0100)]
bssql needs to return XML now too - the node is now the one
creating the objects. The whole bssql stuff is a bit strange
actually - time to refactor this. But not tonight :)

7 years agolet transport.find only return the raw data and let the XML node
Stephan Kulow [Thu, 18 Mar 2010 13:17:20 +0000 (14:17 +0100)]
let transport.find only return the raw data and let the XML node
decide if it wants to cache that data or not. With the old way,
we cached the objects, so it was impossible to use the same data
in different contexts

7 years agoadd ip exchange image
Thomas Schmidt [Sun, 7 Feb 2010 15:13:42 +0000 (16:13 +0100)]
add ip exchange image

7 years agoimprove error handling for invalid xml
Thomas Schmidt [Tue, 2 Feb 2010 17:15:30 +0000 (18:15 +0100)]
improve error handling for invalid xml

7 years agomove the timeout default to the function that needs it 1.7 1.7.0
Stephan Kulow [Fri, 29 Jan 2010 09:49:50 +0000 (10:49 +0100)]
move the timeout default to the function that needs it

8 years agofix cache key escaping
Thomas Schmidt [Wed, 20 Jan 2010 12:51:38 +0000 (13:51 +0100)]
fix cache key escaping

8 years agoescape the key - using CGI escaping, better than nothing
Stephan Kulow [Fri, 15 Jan 2010 15:11:20 +0000 (16:11 +0100)]
escape the key - using CGI escaping, better than nothing

8 years agorename to expires_in, fix for find calls with hash as last argument
Thomas Schmidt [Fri, 15 Jan 2010 10:50:07 +0000 (11:50 +0100)]
rename to expires_in, fix for find calls with hash as last argument

8 years ago[shared] make cache timeout configureable
Thomas Schmidt [Thu, 14 Jan 2010 16:06:47 +0000 (17:06 +0100)]
[shared] make cache timeout configureable

8 years agodo not retry POST statements and close the keep alive connection
Stephan Kulow [Mon, 11 Jan 2010 18:33:18 +0000 (19:33 +0100)]
do not retry POST statements and close the keep alive connection
for post, put and delete to avoid data loss

8 years agoif find doesn't find anything, return nil
Stephan Kulow [Sun, 10 Jan 2010 13:26:12 +0000 (14:26 +0100)]
if find doesn't find anything, return nil

8 years ago[activexml] log less
Thomas Schmidt [Thu, 7 Jan 2010 17:13:24 +0000 (18:13 +0100)]
[activexml] log less

8 years agostrip string before parsing
Thomas Schmidt [Thu, 7 Jan 2010 11:26:31 +0000 (12:26 +0100)]
strip string before parsing

8 years agothrow a ParseError exception for problems with the XML
Stephan Kulow [Tue, 29 Dec 2009 13:00:45 +0000 (14:00 +0100)]
throw a ParseError exception for problems with the XML

8 years agoas now everything is ported to libxml, we can switch to it and
Stephan Kulow [Tue, 29 Dec 2009 12:54:51 +0000 (13:54 +0100)]
as now everything is ported to libxml, we can switch to it and
remove the old, slow one

8 years agoavoid removing nils
Stephan Kulow [Sat, 26 Dec 2009 16:39:14 +0000 (17:39 +0100)]
avoid removing nils

8 years agolibxml: in the BS world, creating a new object will return the new
Stephan Kulow [Tue, 15 Dec 2009 13:47:05 +0000 (14:47 +0100)]
libxml: in the BS world, creating a new object will return the new
state - not really REST, but real life

8 years agolibxml: support a way to create an activexml object
Stephan Kulow [Tue, 15 Dec 2009 13:38:04 +0000 (14:38 +0100)]
libxml: support a way to create an activexml object

8 years agoescape element content
Thomas Schmidt [Mon, 14 Dec 2009 13:52:57 +0000 (14:52 +0100)]
escape element content

8 years agoadd the add_node function here too
Stephan Kulow [Thu, 10 Dec 2009 12:23:45 +0000 (13:23 +0100)]
add the add_node function here too

8 years agoremove unused deploy files
Thomas Schmidt [Wed, 9 Dec 2009 12:07:10 +0000 (13:07 +0100)]
remove unused deploy files

8 years agothrow a more detailed error if the GET returned nothing
Stephan Kulow [Tue, 8 Dec 2009 12:11:49 +0000 (13:11 +0100)]
throw a more detailed error if the GET returned nothing

8 years agofix http error handling
Thomas Schmidt [Tue, 8 Dec 2009 11:57:26 +0000 (12:57 +0100)]
fix http error handling

8 years agoretry the api connection if it gets a broken pipe or other system
Stephan Kulow [Tue, 8 Dec 2009 09:37:44 +0000 (10:37 +0100)]
retry the api connection if it gets a broken pipe or other system
call errors. This is very likely caused by keepalive not liking
to mix get and post

8 years agodo not instance XML node if there is no XML
Stephan Kulow [Mon, 7 Dec 2009 18:02:18 +0000 (19:02 +0100)]
do not instance XML node if there is no XML

8 years agocalling .finish is in some situations bad, but in those we want to
Stephan Kulow [Sun, 6 Dec 2009 19:27:49 +0000 (20:27 +0100)]
calling .finish is in some situations bad, but in those we want to
see the real error and not that calling finish is bad

8 years agofix whitespace
Pavol Rusnak [Fri, 4 Dec 2009 23:32:20 +0000 (00:32 +0100)]
fix whitespace

8 years agodebugged with pavol how serialization works
Stephan Kulow [Fri, 4 Dec 2009 19:46:41 +0000 (20:46 +0100)]
debugged with pavol how serialization works

8 years agowe can't rely on @raw_data always being the present and uptodate
Stephan Kulow [Thu, 3 Dec 2009 19:11:43 +0000 (20:11 +0100)]
we can't rely on @raw_data always being the present and uptodate

8 years agoconvert svn:ignore to gitignore
Stephan Kulow [Thu, 3 Dec 2009 18:20:29 +0000 (19:20 +0100)]
convert svn:ignore to gitignore

8 years agoraise a more detailed exception
Stephan Kulow [Wed, 2 Dec 2009 10:00:59 +0000 (10:00 +0000)]
raise a more detailed exception

8 years agoretry on ioerror
Thomas Schmidt [Thu, 26 Nov 2009 13:26:22 +0000 (13:26 +0000)]
retry on ioerror

8 years agoretry on connectionerror
Thomas Schmidt [Thu, 26 Nov 2009 13:09:46 +0000 (13:09 +0000)]
retry on connectionerror

8 years agolibxml'ify
Thomas Schmidt [Thu, 26 Nov 2009 11:30:00 +0000 (11:30 +0000)]
libxml'ify

8 years agooffer an add_node that inserts a full node instead of
Stephan Kulow [Wed, 25 Nov 2009 19:51:17 +0000 (19:51 +0000)]
offer an add_node that inserts a full node instead of
a single element

8 years agodon't die when unmarshalling fails
Thomas Schmidt [Wed, 25 Nov 2009 17:46:28 +0000 (17:46 +0000)]
don't die when unmarshalling fails

8 years agocatch one more error, move error parsing to lib
Thomas Schmidt [Wed, 25 Nov 2009 16:44:42 +0000 (16:44 +0000)]
catch one more error, move error parsing to lib

8 years agogo back to default timeout of ruby and allow callers
Stephan Kulow [Tue, 24 Nov 2009 09:02:41 +0000 (09:02 +0000)]
go back to default timeout of ruby and allow callers
to set a custom one

8 years agoremove unmaintained xml/smart backend - was left behind
Stephan Kulow [Mon, 23 Nov 2009 17:27:10 +0000 (17:27 +0000)]
remove unmaintained xml/smart backend - was left behind
around 2007

8 years agofix "add user"
Stephan Kulow [Mon, 23 Nov 2009 12:42:50 +0000 (12:42 +0000)]
fix "add user"

8 years agofix has_elements? and reduce debug output
Stephan Kulow [Mon, 23 Nov 2009 11:50:03 +0000 (11:50 +0000)]
fix has_elements? and reduce debug output

8 years agoreturn a node instead of rexml
Stephan Kulow [Mon, 23 Nov 2009 11:42:38 +0000 (11:42 +0000)]
return a node instead of rexml

8 years agoimplementing add_element for both nodes
Stephan Kulow [Mon, 23 Nov 2009 11:39:38 +0000 (11:39 +0000)]
implementing add_element for both nodes

8 years agotake out debug output
Stephan Kulow [Sun, 22 Nov 2009 21:38:15 +0000 (21:38 +0000)]
take out debug output

8 years agoimprove the libxml port
Stephan Kulow [Sun, 22 Nov 2009 21:11:39 +0000 (21:11 +0000)]
improve the libxml port

8 years agostarting to port activexml to libxml
Stephan Kulow [Sun, 22 Nov 2009 20:24:23 +0000 (20:24 +0000)]
starting to port activexml to libxml

8 years agosupport to delete a specific attribute
Stephan Kulow [Sun, 22 Nov 2009 19:01:47 +0000 (19:01 +0000)]
support to delete a specific attribute

8 years agothe timeout of 60s is on many places just too few for a
Stephan Kulow [Fri, 20 Nov 2009 11:28:07 +0000 (11:28 +0000)]
the timeout of 60s is on many places just too few for a
busy host, so let's try with 5 minutes

8 years agocleanup
Thomas Schmidt [Thu, 19 Nov 2009 11:00:12 +0000 (11:00 +0000)]
cleanup

8 years agousing keepalive (running on production since some time without problems
Thomas Schmidt [Wed, 18 Nov 2009 13:19:59 +0000 (13:19 +0000)]
using keepalive (running on production since some time without problems
now)

8 years agodo not retry on timeout, but let the layer above handle it.
Stephan Kulow [Tue, 10 Nov 2009 12:40:43 +0000 (12:40 +0000)]
do not retry on timeout, but let the layer above handle it.
for actions that _can_ timeout, we need to be more graceful
than simply retrying - otherwise we run into ichain timeouts
without gain for the user

8 years agoretry on socket error
Thomas Schmidt [Tue, 10 Nov 2009 11:29:42 +0000 (11:29 +0000)]
retry on socket error

8 years agocan invalidate the cache
Thomas Schmidt [Mon, 9 Nov 2009 18:13:32 +0000 (18:13 +0000)]
can invalidate the cache

8 years agoremove noise, add benchmark
Thomas Schmidt [Mon, 9 Nov 2009 13:46:49 +0000 (13:46 +0000)]
remove noise, add benchmark

8 years agodo 5 retries for transport error, enable notification
Thomas Schmidt [Fri, 6 Nov 2009 17:57:19 +0000 (17:57 +0000)]
do 5 retries for transport error, enable notification

8 years agooops, typo
Stephan Kulow [Fri, 6 Nov 2009 16:21:31 +0000 (16:21 +0000)]
oops, typo

8 years agoretry on EOF and timeout
Stephan Kulow [Fri, 6 Nov 2009 15:03:33 +0000 (15:03 +0000)]
retry on EOF and timeout

8 years agoremove unused code, reset http connection on eoferror
Thomas Schmidt [Fri, 6 Nov 2009 14:26:46 +0000 (14:26 +0000)]
remove unused code, reset http connection on eoferror

8 years agoavoid some more errors
Thomas Schmidt [Fri, 30 Oct 2009 17:21:29 +0000 (17:21 +0000)]
avoid some more errors

8 years agoadd caching method to activexml
Thomas Schmidt [Fri, 30 Oct 2009 15:45:13 +0000 (15:45 +0000)]
add caching method to activexml

8 years agoadd common banners
Thomas Schmidt [Thu, 29 Oct 2009 14:48:21 +0000 (14:48 +0000)]
add common banners

8 years agoadd sponsor images
Thomas Schmidt [Thu, 29 Oct 2009 13:59:59 +0000 (13:59 +0000)]
add sponsor images

8 years agorework exception handling
Thomas Schmidt [Wed, 28 Oct 2009 11:54:43 +0000 (11:54 +0000)]
rework exception handling

8 years agoremove some noise
Thomas Schmidt [Wed, 28 Oct 2009 11:34:23 +0000 (11:34 +0000)]
remove some noise

8 years agoshorten code
Thomas Schmidt [Tue, 27 Oct 2009 13:48:25 +0000 (13:48 +0000)]
shorten code

8 years agoverbose parse error
Thomas Schmidt [Tue, 27 Oct 2009 13:46:45 +0000 (13:46 +0000)]
verbose parse error

8 years agoignore dir
Thomas Schmidt [Wed, 21 Oct 2009 09:40:22 +0000 (09:40 +0000)]
ignore dir

8 years agomake activexml work with rails 2.3.4
Thomas Schmidt [Thu, 15 Oct 2009 12:03:13 +0000 (12:03 +0000)]
make activexml work with rails 2.3.4

8 years agofixed broken AMD link
Robert Lihm [Tue, 1 Sep 2009 13:32:50 +0000 (13:32 +0000)]
fixed broken AMD link