parmentelat [Thu, 13 Dec 2018 15:08:14 +0000 (16:08 +0100)]
that one was hard to pinpoint: we DON'T want to convert str to bytes, when normalizing prior to talking to the db; quite the opposite !
parmentelat [Thu, 13 Dec 2018 11:50:21 +0000 (12:50 +0100)]
made db creation code simpler
parmentelat [Thu, 13 Dec 2018 11:49:52 +0000 (12:49 +0100)]
db-config scripts also need to go python3 - plus autopep8 in the mix
parmentelat [Wed, 12 Dec 2018 18:03:30 +0000 (19:03 +0100)]
cosmetic pep8
parmentelat [Wed, 12 Dec 2018 18:01:31 +0000 (19:01 +0100)]
remove use of very old file() function that is no longer available
parmentelat [Wed, 12 Dec 2018 12:51:12 +0000 (13:51 +0100)]
fix an odd way to import pycurl
parmentelat [Wed, 12 Dec 2018 12:50:41 +0000 (13:50 +0100)]
prune everything about aspects that is python2 and too tedious to port
parmentelat [Wed, 12 Dec 2018 10:49:11 +0000 (11:49 +0100)]
get rid of ldap
parmentelat [Wed, 12 Dec 2018 09:10:09 +0000 (10:10 +0100)]
DocBook.py for python3
parmentelat [Tue, 11 Dec 2018 15:45:21 +0000 (16:45 +0100)]
oops, syntax error
parmentelat [Tue, 11 Dec 2018 15:41:33 +0000 (16:41 +0100)]
imports email* in py3
parmentelat [Tue, 11 Dec 2018 14:15:29 +0000 (15:15 +0100)]
more ironing in the corner of that 'types' modules
parmentelat [Tue, 11 Dec 2018 08:39:23 +0000 (09:39 +0100)]
StringTypes has gone
parmentelat [Mon, 10 Dec 2018 20:36:32 +0000 (21:36 +0100)]
more tweaks for python3
parmentelat [Mon, 10 Dec 2018 17:34:05 +0000 (18:34 +0100)]
more python3, esp. in shebangs and doc
parmentelat [Mon, 10 Dec 2018 16:50:29 +0000 (17:50 +0100)]
trash wsdl altogether
parmentelat [Mon, 10 Dec 2018 16:31:05 +0000 (17:31 +0100)]
more python3 business
parmentelat [Mon, 10 Dec 2018 10:26:57 +0000 (11:26 +0100)]
use python3 in build
parmentelat [Fri, 7 Dec 2018 19:48:58 +0000 (20:48 +0100)]
plcsh is a python source file too
rpm requirements need to point at python3-*
parmentelat [Fri, 7 Dec 2018 19:32:28 +0000 (20:32 +0100)]
blind 2to3
parmentelat [Fri, 7 Dec 2018 15:52:15 +0000 (16:52 +0100)]
startup scripts : assume initscripts is not installed, only use systemctl
parmentelat [Tue, 4 Dec 2018 12:49:16 +0000 (13:49 +0100)]
remove requirements that are no longer available in f29 - use pip when appropriate
gggeek [Tue, 30 Oct 2018 11:13:18 +0000 (11:13 +0000)]
tests
Gaetano Giunta [Mon, 6 Aug 2018 09:34:41 +0000 (10:34 +0100)]
Merge pull request #66 from KasperFranz/patch-1
Added gitattributes to reduce size of install
kasper Franz [Mon, 6 Aug 2018 08:05:56 +0000 (09:05 +0100)]
Leave in readme
kasper Franz [Wed, 4 Jul 2018 16:48:40 +0000 (17:48 +0100)]
Added gitattributes to remove some size
This is mainly to get the composer size down
parmentelat [Wed, 23 May 2018 21:41:13 +0000 (23:41 +0200)]
just reordering in Logger.py
parmentelat [Wed, 23 May 2018 11:04:23 +0000 (13:04 +0200)]
more pep8-friendly, and log calls to GetNodes() as well for troubleshooting database errors
parmentelat [Wed, 23 May 2018 11:01:17 +0000 (13:01 +0200)]
no change, just more pep8-friendly, and use dict comprehension
parmentelat [Wed, 23 May 2018 08:29:11 +0000 (10:29 +0200)]
bugfix, scanning native_methods needs to start in installed dir, not '.'
parmentelat [Sun, 20 May 2018 12:40:59 +0000 (14:40 +0200)]
other minor tweaks - doc generation should still be broken
parmentelat [Sun, 20 May 2018 12:01:11 +0000 (14:01 +0200)]
whitespaces and pep8 and similar lifting
parmentelat [Wed, 16 May 2018 12:30:32 +0000 (14:30 +0200)]
new strategy for scanning PLC/Methods : when running 'make sync' from an unclean environment, we need to be more picky so as to avoid loading broken code
parmentelat [Wed, 16 May 2018 12:07:05 +0000 (14:07 +0200)]
Setting tag plcapi-5.4-1
define accessor for site tag disabled_registration (used in plewww-5.2-9)
set disable_existing_loggers = False in logging config, that otherwise voids sfa logs
parmentelat [Wed, 16 May 2018 10:52:57 +0000 (12:52 +0200)]
actually the default for disable_existing_loggers is True (can't believe it), so set to False instead of commenting out
parmentelat [Wed, 16 May 2018 08:11:12 +0000 (10:11 +0200)]
tweak logging config : *do not* disable other loggers
parmentelat [Thu, 22 Mar 2018 13:32:56 +0000 (14:32 +0100)]
create the disabled_registration site tag that allows to remove a specific site from the drop-down in the person registration form
gggeek [Sat, 20 Jan 2018 15:17:09 +0000 (15:17 +0000)]
tag 4.3.1
gggeek [Sat, 20 Jan 2018 14:55:28 +0000 (14:55 +0000)]
another attempt; make Logger friend to php 5.3
gggeek [Sat, 20 Jan 2018 14:42:30 +0000 (14:42 +0000)]
another attempt at fixing tests
gggeek [Sat, 20 Jan 2018 14:35:11 +0000 (14:35 +0000)]
2nd attempt at fixing tests
gggeek [Sat, 20 Jan 2018 14:16:34 +0000 (14:16 +0000)]
finish fixes for removal of 'each'; fix html injection in demo code
gggeek [Sat, 20 Jan 2018 14:06:21 +0000 (14:06 +0000)]
Merge branch 'master' of github.com:gggeek/phpxmlrpc
gggeek [Sat, 20 Jan 2018 14:06:06 +0000 (14:06 +0000)]
Remove usage of 'each' call from tests to make them work w. php 7.2; fix an error when using ssl and non-curl; fix inspections from phpstorm
Gaetano Giunta [Thu, 18 Jan 2018 09:48:28 +0000 (09:48 +0000)]
Merge pull request #61 from ianvanness/patch-1
Update mail.php demo failure html tag
Ian Van Ness [Thu, 18 Jan 2018 03:45:44 +0000 (19:45 -0800)]
Update mail.php demo failure html tag
use proper opening tag for fail condition
gggeek [Tue, 16 Jan 2018 17:08:11 +0000 (17:08 +0000)]
Fix: encoding of php resources when in php compat mode
gggeek [Fri, 24 Nov 2017 01:19:33 +0000 (01:19 +0000)]
Fix warnings emitted by the legacy-server in xmlrpcs.inc
gggeek [Sat, 11 Nov 2017 21:50:58 +0000 (21:50 +0000)]
Hopefully better error messages when the received response is invalid
gggeek [Sat, 11 Nov 2017 21:22:03 +0000 (21:22 +0000)]
fix NEWS file
gggeek [Mon, 6 Nov 2017 01:18:48 +0000 (01:18 +0000)]
doc and lib version tag
gggeek [Mon, 6 Nov 2017 01:08:08 +0000 (01:08 +0000)]
Add phpunit config for code coverage generation
gggeek [Mon, 6 Nov 2017 00:56:57 +0000 (00:56 +0000)]
improve https via socket
gggeek [Mon, 6 Nov 2017 00:33:04 +0000 (00:33 +0000)]
travis test
gggeek [Sun, 5 Nov 2017 23:53:08 +0000 (23:53 +0000)]
small Travis improvements
gggeek [Sun, 5 Nov 2017 23:25:43 +0000 (23:25 +0000)]
Add new tests for curl/http-1.0 and socket/https
gggeek [Sun, 5 Nov 2017 22:56:58 +0000 (22:56 +0000)]
Add back more tests
gggeek [Sun, 5 Nov 2017 22:52:33 +0000 (22:52 +0000)]
One more attempt at fixing unit tests
gggeek [Sun, 5 Nov 2017 22:02:33 +0000 (22:02 +0000)]
2nd attempt at fixing unit tests
gggeek [Sun, 5 Nov 2017 21:46:37 +0000 (21:46 +0000)]
1st attempt at fixing tests
gggeek [Sun, 5 Nov 2017 20:42:23 +0000 (20:42 +0000)]
1st pass at cleanup of unit tests; a couple of nitpicks from SLInsights
gggeek [Sun, 5 Nov 2017 19:21:54 +0000 (19:21 +0000)]
allow http auth to work in curl mode; add tests for basic and digest auth; refactor client to allow better switch between curl and sowket mode
gggeek [Sun, 15 Oct 2017 16:40:58 +0000 (17:40 +0100)]
docs
gggeek [Sun, 15 Oct 2017 11:36:13 +0000 (12:36 +0100)]
Docs
Gaetano Giunta [Sun, 15 Oct 2017 11:32:45 +0000 (12:32 +0100)]
Merge pull request #56 from glensc/accept-header
fix HTTP/1.1 417 Expectation Failed Bug
Elan Ruusamäe [Tue, 3 Oct 2017 08:23:53 +0000 (11:23 +0300)]
fix HTTP/1.1 417 Expectation Failed Bug
this commonly happens when lighttpd is the backend server
gggeek [Sun, 3 Sep 2017 19:15:39 +0000 (20:15 +0100)]
Fix last commit
gggeek [Sun, 3 Sep 2017 19:11:32 +0000 (20:11 +0100)]
Remove usages of 'each', as it is deprecated in php 7.2
gggeek [Sun, 3 Sep 2017 18:33:11 +0000 (19:33 +0100)]
Attempt at fixing Travis for php 7.2
gggeek [Sun, 3 Sep 2017 18:18:01 +0000 (19:18 +0100)]
test moving back to Precise for Travis tests
gggeek [Sun, 3 Sep 2017 17:52:10 +0000 (18:52 +0100)]
Fix compatibility with php 7.2
Thierry Parmentelat [Sun, 16 Jul 2017 10:57:05 +0000 (12:57 +0200)]
changelogs had gone awash
Thierry Parmentelat [Sun, 16 Jul 2017 10:48:59 +0000 (12:48 +0200)]
Setting tag plcapi-5.4-0
Thierry Parmentelat [Sat, 8 Jul 2017 11:45:29 +0000 (13:45 +0200)]
requires php-xml
Thierry Parmentelat [Thu, 6 Jul 2017 13:29:47 +0000 (15:29 +0200)]
package the whole contents of the phpxmlrpc git repo
under /usr/share/plc_api/php/phpxmlrpc/
Thierry Parmentelat [Thu, 6 Jul 2017 13:08:07 +0000 (15:08 +0200)]
gggeek [Sun, 2 Jul 2017 09:15:23 +0000 (10:15 +0100)]
Change platforms tested on Travis
gggeek [Fri, 30 Jun 2017 22:22:59 +0000 (23:22 +0100)]
Tag release 4.2.0
Thierry Parmentelat [Thu, 29 Jun 2017 09:57:48 +0000 (11:57 +0200)]
fix broken packaging because of uninstalled /var/log/plcapi.log
Thierry Parmentelat [Sun, 18 Jun 2017 21:44:14 +0000 (23:44 +0200)]
====
RefreshPeer reviewed
. disabled remote persons don't get created locally
. remote nodes referenced in slices but not exposed
are sanitized (ignored) from GetPeerData
it remains to check if slices that span several myplc's get
created as expected
====
new method DeleteALlPeerEntries() for cleaning up
Thierry Parmentelat [Sat, 17 Jun 2017 16:20:24 +0000 (18:20 +0200)]
just autopep8'ed refreshpeer
Thierry Parmentelat [Sat, 17 Jun 2017 14:57:03 +0000 (16:57 +0200)]
create logfile plcapi.log in /var/log and chown it to apache
Gaetano Giunta [Wed, 14 Jun 2017 11:06:08 +0000 (12:06 +0100)]
Merge pull request #53 from HMAZonderland/master
Limit phpunit version
Hugo Zonderland [Wed, 14 Jun 2017 10:33:07 +0000 (12:33 +0200)]
Limited the phpunit version to max 5.7.20 to fix Travis
Hugo Zonderland [Wed, 14 Jun 2017 10:28:00 +0000 (12:28 +0200)]
Output what version of phpunit we got going, for debugging
Hugo Zonderland [Wed, 14 Jun 2017 10:24:17 +0000 (12:24 +0200)]
The >=4.0.0 syntax installs any version which is able to run depending on the requirements of the environment. Which means it will install phpunit 6 on php 7, which breaks the current test suite. Therefor the version must be limited to 5.7.20.
Gaetano Giunta [Wed, 14 Jun 2017 08:55:37 +0000 (09:55 +0100)]
Merge pull request #51 from FinesseRus/patch-1
Less specific date type detection
Surgie [Wed, 14 Jun 2017 08:46:52 +0000 (18:46 +1000)]
Less specific date type detection
Ciro Scognamiglio [Mon, 29 May 2017 10:25:04 +0000 (12:25 +0200)]
now parses correctly some args (empty array and empty string)
Ciro Scognamiglio [Wed, 24 May 2017 11:09:20 +0000 (13:09 +0200)]
fixed: encodes boolean and double type values for the requests
Ciro Scognamiglio [Fri, 19 May 2017 11:43:37 +0000 (13:43 +0200)]
uses phpXmlRpc class if available, solves compatibility problems with newest php XML-RPC module
Thierry Parmentelat [Mon, 29 May 2017 13:13:30 +0000 (15:13 +0200)]
trash our own brew of xmlrpc, that was all about supporting <nil/>
i.e. marshalling None
plan is to use http://gggeek.github.io/phpxmlrpc/ as a replacement
Thierry Parmentelat [Wed, 15 Feb 2017 11:05:51 +0000 (12:05 +0100)]
remove PLC.Debug.log, use PLC.Logger.logger instead
no more old-fashioned print >> log construction
stuff goes into /var/log/plcapi.log
(requires a change in plc.d/httpd for initialization)
Thierry Parmentelat [Mon, 13 Feb 2017 13:50:28 +0000 (14:50 +0100)]
our own xmlrpc build is about supporting <nil/> - aka allow_none=True
http://gggeek.github.io/phpxmlrpc/ states that the <nil/> extension
is supported by mainstream - and probably has been for a while
- this change is about dropping our own stuff
and using mainstream xmlrpc instead
pretext is fedora25 b/c this won’t build anymore
but again it’s probably OK w/ f24 and way before
Thierry Parmentelat [Wed, 8 Feb 2017 20:17:12 +0000 (21:17 +0100)]
Setting tag plcapi-5.3-11
mostly issued for the R2lab deployment
*** major
* dots allowed in login_base and slice name
* new lease filter 'day'
*** minor
* more explicit message in case of overlapping resas
* bugfix: escaping unicode in xml
* GetLeases allowed to anonymous callers
*** miscell
* use plain json library
Thierry Parmentelat [Tue, 13 Dec 2016 16:09:49 +0000 (17:09 +0100)]
prettified
Thierry Parmentelat [Tue, 13 Dec 2016 11:28:17 +0000 (12:28 +0100)]
leasefilter has the new ‘day’ key
for selecting a number of days from today
Thierry Parmentelat [Tue, 13 Dec 2016 08:51:51 +0000 (09:51 +0100)]
leasefilter pep8’ed
Thierry Parmentelat [Tue, 13 Dec 2016 08:51:20 +0000 (09:51 +0100)]
make GetLeases reachable with anon auth
Thierry Parmentelat [Mon, 12 Dec 2016 10:18:45 +0000 (11:18 +0100)]
r2lab is migrating from a previous depl. based on omf_sfa
and so it comes with rather long dot-separated names
allow ‘.’ on both sides of the _ in slice names,
and so also allow ‘.’ in site login_base