Thierry Parmentelat [Thu, 24 Apr 2025 13:09:10 +0000 (15:09 +0200)]
7.2.7
Thierry Parmentelat [Thu, 24 Apr 2025 13:08:53 +0000 (15:08 +0200)]
no change - just rename a local variable
that was suggesting removal, while it's only an exclusion when retrieving stuff
Thierry Parmentelat [Thu, 24 Apr 2025 12:48:35 +0000 (14:48 +0200)]
when retrieving slices attached to a site, exclude the expired ones
Thierry Parmentelat [Mon, 25 Nov 2024 15:34:04 +0000 (16:34 +0100)]
7.2-6
Thierry Parmentelat [Mon, 25 Nov 2024 15:17:54 +0000 (16:17 +0100)]
fix plc_crypt name
Thierry Parmentelat [Mon, 25 Nov 2024 10:35:43 +0000 (11:35 +0100)]
7.2-5
Thierry Parmentelat [Wed, 20 Nov 2024 15:25:22 +0000 (16:25 +0100)]
replacement for the standard crypt.crypt
done by introducing our own module PLC.crypt
and testing against the standard crypt.crypt
Thierry Parmentelat [Mon, 25 Nov 2024 08:01:41 +0000 (09:01 +0100)]
use raw strings with re.compile
Thierry Parmentelat [Thu, 21 Nov 2024 10:04:35 +0000 (11:04 +0100)]
a more robust, and tested, way to restore the DBs
Thierry Parmentelat [Thu, 21 Nov 2024 09:53:22 +0000 (10:53 +0100)]
plc.d/db was creating .sql.sql files when applying migrations
Thierry Parmentelat [Thu, 21 Nov 2024 09:51:09 +0000 (10:51 +0100)]
add local declarations in plc.d/db
Thierry Parmentelat [Tue, 15 Oct 2024 07:44:01 +0000 (09:44 +0200)]
7.2-4
Thierry Parmentelat [Mon, 14 Oct 2024 17:46:36 +0000 (19:46 +0200)]
also preserve slice tags for deleted slices
Thierry Parmentelat [Mon, 14 Oct 2024 15:11:42 +0000 (17:11 +0200)]
7.2-3
Thierry Parmentelat [Mon, 14 Oct 2024 14:04:11 +0000 (16:04 +0200)]
when deleting a slice, do not remove corresponding leases
Thierry Parmentelat [Mon, 14 Oct 2024 14:03:25 +0000 (16:03 +0200)]
the DeleteSlice method was failing to create events as the message attribute was not set
Thierry Parmentelat [Tue, 24 Sep 2024 12:40:41 +0000 (14:40 +0200)]
bump version to 7.2.2
Thierry Parmentelat [Tue, 24 Sep 2024 12:40:22 +0000 (14:40 +0200)]
remove spurious print of sql sentence
Thierry Parmentelat [Tue, 24 Sep 2024 12:40:06 +0000 (14:40 +0200)]
AddPersonToSlice and DeletePersonFromSlice get logged with an event
for some stupid reason that was not the case
Thierry Parmentelat [Tue, 24 Sep 2024 08:05:54 +0000 (10:05 +0200)]
bump version number to 7.2.1
Thierry Parmentelat [Tue, 24 Sep 2024 08:05:27 +0000 (10:05 +0200)]
further changes in GetSlices; first iteration was not good enough
pass 'DELETED' in the filter dict, not ALL, to turn off filtering of deleted slices
pass 'EXPIRED' as well to turn off automatic filtering of expired slices
Thierry Parmentelat [Mon, 23 Sep 2024 16:53:20 +0000 (18:53 +0200)]
bump version number to 7.2.0
Thierry Parmentelat [Mon, 23 Sep 2024 16:27:11 +0000 (18:27 +0200)]
make pylint happy with GetSlices.py as well
Thierry Parmentelat [Mon, 23 Sep 2024 16:23:33 +0000 (18:23 +0200)]
allow GetSlices dict filter to mention the 'ALL' key to retrieve even expired ones
Thierry Parmentelat [Mon, 23 Sep 2024 15:50:29 +0000 (17:50 +0200)]
Slices.py: ignore flake8 and make pylint happy
Thierry Parmentelat [Mon, 23 Sep 2024 14:58:35 +0000 (16:58 +0200)]
use f-strings when possible in Slices.py
Thierry Parmentelat [Wed, 7 Feb 2024 12:52:43 +0000 (13:52 +0100)]
7.1-2
Thierry Parmentelat [Wed, 7 Feb 2024 12:48:41 +0000 (13:48 +0100)]
replace old-school formatting in Filter.py with f-strings
Thierry Parmentelat [Wed, 7 Feb 2024 11:12:04 +0000 (12:12 +0100)]
change the logic of clipping leases
there was a mishap when clipping, that was returning adjacent leases
Thierry Parmentelat [Wed, 7 Feb 2024 11:04:10 +0000 (12:04 +0100)]
leasefilter: use f-strings instead of format()
Thierry Parmentelat [Wed, 7 Feb 2024 11:01:12 +0000 (12:01 +0100)]
change in comment to reflect use of lists instead of tuples
Thierry Parmentelat [Tue, 6 Feb 2024 10:55:43 +0000 (11:55 +0100)]
Setting tag plcapi-7.1-1
Thierry Parmentelat [Tue, 6 Feb 2024 10:46:32 +0000 (11:46 +0100)]
tweaked LeaseFilter to allow lists instead of tuples for clip and alive
Thierry Parmentelat [Fri, 15 Dec 2023 13:03:56 +0000 (14:03 +0100)]
egrep is obsolete
Thierry Parmentelat [Fri, 3 Nov 2023 13:07:27 +0000 (14:07 +0100)]
use a configurable address as the From: when sending a mail
this is to cope with recent changes in the deployment of SPF, including at google
Thierry Parmentelat [Fri, 3 Nov 2023 13:06:49 +0000 (14:06 +0100)]
use the SMTP library as advertised
Thierry Parmentelat [Fri, 3 Nov 2023 13:06:28 +0000 (14:06 +0100)]
cosmetic changes in sendmail.py - please the linter
Thierry Parmentelat [Sat, 26 Nov 2022 14:03:38 +0000 (15:03 +0100)]
/etc/plc.d/db dump-and-clean
Thierry Parmentelat [Sat, 26 Nov 2022 13:45:44 +0000 (14:45 +0100)]
tweak plc.d/db so that clean-dump works better, and can take an optional number of days
Thierry Parmentelat [Fri, 25 Nov 2022 17:41:24 +0000 (18:41 +0100)]
formatted the 'db' script using vscode
Thierry Parmentelat [Fri, 25 Nov 2022 17:17:00 +0000 (18:17 +0100)]
fix packaging for f37 (4/n)
Thierry Parmentelat [Fri, 25 Nov 2022 17:23:22 +0000 (18:23 +0100)]
fix packaging for f37 (3/n)
Thierry Parmentelat [Fri, 25 Nov 2022 14:18:42 +0000 (15:18 +0100)]
fix packaging for f37 (2/n)
plc_api.php was missing
plus Server.py was misplaced, but that's just to remain in line with the previous package
Thierry Parmentelat [Wed, 23 Nov 2022 14:27:40 +0000 (15:27 +0100)]
review packaging for f37 (1/n)
use pip install rather than python setup.py install
in the mix the 2 commands (plcsh and Server.py) end up in /usr/share/plc_api/bin/
use setuptools rather than distutils
Thierry Parmentelat [Fri, 25 Nov 2022 14:19:13 +0000 (15:19 +0100)]
more entries in gitignore for lower noise
Thierry Parmentelat [Wed, 23 Nov 2022 08:06:44 +0000 (09:06 +0100)]
trailing spaces in sql schema
Thierry Parmentelat [Wed, 23 Nov 2022 14:52:52 +0000 (15:52 +0100)]
fix in sql schema - for f37/pgsql14 (2) : will no longer work in f35/pgsql13 though
array_append has changed its signature since postgresql13
Thierry Parmentelat [Wed, 23 Nov 2022 08:05:51 +0000 (09:05 +0100)]
fixes in sql schema for f37/pgsql14: oddly this was working before
Thierry Parmentelat [Sat, 30 Apr 2022 17:26:45 +0000 (19:26 +0200)]
Setting tag plcapi-7.1-0
for php8 in f35:
* the phpxmlrpc layer has been upgraded to recent 4.6.1 that is php8-ready
* classes to use __construct() to define a constructor
* curl_setopt with verifyhost being 1 is no longer allowed
also other older changes related to pgsql 12
Thierry Parmentelat [Fri, 29 Apr 2022 12:40:19 +0000 (14:40 +0200)]
Notice: curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead in /usr/share/plc_api/php/phpxmlrpc/src/Client.php on line 1029
Thierry Parmentelat [Thu, 28 Apr 2022 12:39:59 +0000 (14:39 +0200)]
the PLCAPI class requires __construct as well in order to move to php8
Thierry Parmentelat [Thu, 28 Apr 2022 10:10:47 +0000 (12:10 +0200)]
merge upstream phpxmlrpc
using command:
git subtree pull --prefix php/phpxmlrpc phpxmlrpc master
Thierry Parmentelat [Wed, 27 Apr 2022 16:17:01 +0000 (18:17 +0200)]
as a comment in plc.wsgi: keep track of potentially useful debug snippet
gggeek [Thu, 3 Mar 2022 22:27:58 +0000 (22:27 +0000)]
build on PRs; nitpicks
gggeek [Thu, 3 Mar 2022 22:27:02 +0000 (22:27 +0000)]
fix link to travis in readme
gggeek [Tue, 15 Feb 2022 17:56:05 +0000 (17:56 +0000)]
prepare version number for next release
Gaetano Giunta [Tue, 15 Feb 2022 17:54:40 +0000 (18:54 +0100)]
Merge pull request #96 from duzun/patch-1
HTTP/2 support
gggeek [Tue, 15 Feb 2022 17:51:11 +0000 (17:51 +0000)]
tag release
Gaetano Giunta [Tue, 15 Feb 2022 17:46:21 +0000 (18:46 +0100)]
Merge pull request #98 from rotdrop/bugfix/fix-one-php8-undefined-array-key-error
Fix one PHP 8 undefined array key "error"
Claus-Justus Heine [Tue, 15 Feb 2022 17:37:16 +0000 (18:37 +0100)]
Update Http.php
Claus-Justus Heine [Tue, 15 Feb 2022 17:26:01 +0000 (18:26 +0100)]
Fix one PHP 8 undefined array key "error"
Dumitru Uzun [Mon, 31 Jan 2022 09:34:49 +0000 (11:34 +0200)]
HTTP/2 support
Here is a sample HTTP/2 response head:
```http
HTTP/2 200
server: ddos-guard
date: Mon, 31 Jan 2022 09:33:45 GMT
content-type: text/xml
content-encoding: gzip
vary: Accept-Encoding
```
gggeek [Fri, 24 Dec 2021 13:57:55 +0000 (13:57 +0000)]
improve install instructions
gggeek [Mon, 13 Dec 2021 17:33:49 +0000 (17:33 +0000)]
minor change to README
gggeek [Mon, 13 Dec 2021 16:33:09 +0000 (16:33 +0000)]
improve doc building toolchain: sami 2 phpdocumentor, fix links in manual
gggeek [Sun, 12 Dec 2021 18:58:41 +0000 (18:58 +0000)]
wip revive and split off doc generatin toolchain
gggeek [Thu, 9 Dec 2021 23:40:51 +0000 (23:40 +0000)]
small gha workflow improvement
gggeek [Thu, 9 Dec 2021 23:13:00 +0000 (23:13 +0000)]
tag for next version; try to fix generation of code coverage
gggeek [Thu, 9 Dec 2021 18:28:20 +0000 (18:28 +0000)]
tag lib version
gggeek [Thu, 9 Dec 2021 18:18:29 +0000 (18:18 +0000)]
make it possible to retrieve from Response error http codes; introduce custom exceptions; deprecations and cleanups
gggeek [Thu, 9 Dec 2021 00:18:37 +0000 (00:18 +0000)]
improve solution to allow custom mapping of class names when wrapping them
gggeek [Wed, 8 Dec 2021 23:20:02 +0000 (23:20 +0000)]
Merge branch 'master' of github.com:gggeek/phpxmlrpc
Gaetano Giunta [Wed, 8 Dec 2021 23:18:49 +0000 (00:18 +0100)]
Merge pull request #88 from patzerr/wrapPhpClass-with-changed-namespace
Made it possible to wrap namespaced classes with a different namespace
gggeek [Wed, 8 Dec 2021 23:11:26 +0000 (23:11 +0000)]
add a few more tests stressing failure scenarios for wrap_xmlrpc_method
gggeek [Tue, 7 Dec 2021 17:06:24 +0000 (17:06 +0000)]
bye bye Travis
gggeek [Tue, 7 Dec 2021 17:00:55 +0000 (17:00 +0000)]
move tests badge in readme to GHA
gggeek [Tue, 7 Dec 2021 16:57:25 +0000 (16:57 +0000)]
move to usage of Bionic as default ubuntu version for local ci containers
gggeek [Tue, 7 Dec 2021 16:51:21 +0000 (16:51 +0000)]
wip github actions CI
gggeek [Tue, 7 Dec 2021 16:41:32 +0000 (16:41 +0000)]
a comment
gggeek [Tue, 7 Dec 2021 16:41:05 +0000 (16:41 +0000)]
a comment
gggeek [Tue, 7 Dec 2021 16:39:41 +0000 (16:39 +0000)]
a comment
gggeek [Tue, 7 Dec 2021 16:39:04 +0000 (16:39 +0000)]
make wrap_xmlrpc_method more robust on failures
gggeek [Tue, 7 Dec 2021 16:37:52 +0000 (16:37 +0000)]
docs
gggeek [Tue, 7 Dec 2021 16:37:37 +0000 (16:37 +0000)]
do not package gha config
gggeek [Tue, 7 Dec 2021 14:03:59 +0000 (14:03 +0000)]
wip github actions CI
gggeek [Tue, 7 Dec 2021 12:34:50 +0000 (12:34 +0000)]
wip github actions CI
gggeek [Tue, 7 Dec 2021 12:03:19 +0000 (12:03 +0000)]
wip github actions CI
gggeek [Tue, 7 Dec 2021 11:46:14 +0000 (11:46 +0000)]
wip github actions CI
gggeek [Tue, 7 Dec 2021 11:45:17 +0000 (11:45 +0000)]
comments
gggeek [Tue, 7 Dec 2021 11:40:55 +0000 (11:40 +0000)]
make sure we use a phpunit version copatible with php 8.1
gggeek [Tue, 7 Dec 2021 11:40:06 +0000 (11:40 +0000)]
fix compatibility with php 8.1
gggeek [Tue, 7 Dec 2021 11:03:21 +0000 (11:03 +0000)]
oops
gggeek [Tue, 7 Dec 2021 10:56:29 +0000 (10:56 +0000)]
oops
gggeek [Tue, 7 Dec 2021 10:52:45 +0000 (10:52 +0000)]
wip github actions CI
gggeek [Tue, 7 Dec 2021 09:43:12 +0000 (09:43 +0000)]
wip github actions CI
gggeek [Mon, 6 Dec 2021 18:10:39 +0000 (18:10 +0000)]
wip github actions CI
gggeek [Mon, 6 Dec 2021 17:56:51 +0000 (17:56 +0000)]
wip github actions CI
gggeek [Mon, 6 Dec 2021 17:51:12 +0000 (17:51 +0000)]
wip github actions CI
gggeek [Mon, 6 Dec 2021 17:10:39 +0000 (17:10 +0000)]
wip github actions CI
gggeek [Mon, 6 Dec 2021 17:00:15 +0000 (17:00 +0000)]
wip github actions CI