plcapi.git
6 months ago7.2-5 plcapi-7.2-5
Thierry Parmentelat [Mon, 25 Nov 2024 10:35:43 +0000 (11:35 +0100)]
7.2-5

6 months agoreplacement for the standard crypt.crypt
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

6 months agouse raw strings with re.compile
Thierry Parmentelat [Mon, 25 Nov 2024 08:01:41 +0000 (09:01 +0100)]
use raw strings with re.compile

6 months agoa more robust, and tested, way to restore the DBs
Thierry Parmentelat [Thu, 21 Nov 2024 10:04:35 +0000 (11:04 +0100)]
a more robust, and tested, way to restore the DBs

6 months agoplc.d/db was creating .sql.sql files when applying migrations
Thierry Parmentelat [Thu, 21 Nov 2024 09:53:22 +0000 (10:53 +0100)]
plc.d/db was creating .sql.sql files when applying migrations

6 months agoadd local declarations in plc.d/db
Thierry Parmentelat [Thu, 21 Nov 2024 09:51:09 +0000 (10:51 +0100)]
add local declarations in plc.d/db

7 months ago7.2-4 plcapi-7.2-4
Thierry Parmentelat [Tue, 15 Oct 2024 07:44:01 +0000 (09:44 +0200)]
7.2-4

7 months agoalso preserve slice tags for deleted slices
Thierry Parmentelat [Mon, 14 Oct 2024 17:46:36 +0000 (19:46 +0200)]
also preserve slice tags for deleted slices

7 months ago7.2-3
Thierry Parmentelat [Mon, 14 Oct 2024 15:11:42 +0000 (17:11 +0200)]
7.2-3

7 months agowhen deleting a slice, do not remove corresponding leases
Thierry Parmentelat [Mon, 14 Oct 2024 14:04:11 +0000 (16:04 +0200)]
when deleting a slice, do not remove corresponding leases

7 months agothe DeleteSlice method was failing to create events as the message attribute was...
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

8 months agobump version to 7.2.2
Thierry Parmentelat [Tue, 24 Sep 2024 12:40:41 +0000 (14:40 +0200)]
bump version to 7.2.2

8 months agoremove spurious print of sql sentence
Thierry Parmentelat [Tue, 24 Sep 2024 12:40:22 +0000 (14:40 +0200)]
remove spurious print of sql sentence

8 months agoAddPersonToSlice and DeletePersonFromSlice get logged with an event
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

8 months agobump version number to 7.2.1 plcapi-7.2-1
Thierry Parmentelat [Tue, 24 Sep 2024 08:05:54 +0000 (10:05 +0200)]
bump version number to 7.2.1

8 months agofurther changes in GetSlices; first iteration was not good enough
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

8 months agobump version number to 7.2.0
Thierry Parmentelat [Mon, 23 Sep 2024 16:53:20 +0000 (18:53 +0200)]
bump version number to 7.2.0

8 months agomake pylint happy with GetSlices.py as well
Thierry Parmentelat [Mon, 23 Sep 2024 16:27:11 +0000 (18:27 +0200)]
make pylint happy with GetSlices.py as well

8 months agoallow GetSlices dict filter to mention the 'ALL' key to retrieve even expired ones
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

8 months agoSlices.py: ignore flake8 and make pylint happy
Thierry Parmentelat [Mon, 23 Sep 2024 15:50:29 +0000 (17:50 +0200)]
Slices.py: ignore flake8 and make pylint happy

8 months agouse f-strings when possible in Slices.py
Thierry Parmentelat [Mon, 23 Sep 2024 14:58:35 +0000 (16:58 +0200)]
use f-strings when possible in Slices.py

16 months ago7.1-2 plcapi-7.1-2
Thierry Parmentelat [Wed, 7 Feb 2024 12:52:43 +0000 (13:52 +0100)]
7.1-2

16 months agoreplace old-school formatting in Filter.py with f-strings
Thierry Parmentelat [Wed, 7 Feb 2024 12:48:41 +0000 (13:48 +0100)]
replace old-school formatting in Filter.py with f-strings

16 months agochange the logic of clipping leases
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

16 months agoleasefilter: use f-strings instead of format()
Thierry Parmentelat [Wed, 7 Feb 2024 11:04:10 +0000 (12:04 +0100)]
leasefilter: use f-strings instead of format()

16 months agochange in comment to reflect use of lists instead of tuples
Thierry Parmentelat [Wed, 7 Feb 2024 11:01:12 +0000 (12:01 +0100)]
change in comment to reflect use of lists instead of tuples

16 months agoSetting tag plcapi-7.1-1 plcapi-7.1-1
Thierry Parmentelat [Tue, 6 Feb 2024 10:55:43 +0000 (11:55 +0100)]
Setting tag plcapi-7.1-1

16 months agotweaked LeaseFilter to allow lists instead of tuples for clip and alive
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

17 months agoegrep is obsolete
Thierry Parmentelat [Fri, 15 Dec 2023 13:03:56 +0000 (14:03 +0100)]
egrep is obsolete

19 months agouse a configurable address as the From: when sending a mail
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

19 months agouse the SMTP library as advertised
Thierry Parmentelat [Fri, 3 Nov 2023 13:06:49 +0000 (14:06 +0100)]
use the SMTP library as advertised

19 months agocosmetic changes in sendmail.py - please the linter
Thierry Parmentelat [Fri, 3 Nov 2023 13:06:28 +0000 (14:06 +0100)]
cosmetic changes in sendmail.py - please the linter

2 years ago/etc/plc.d/db dump-and-clean
Thierry Parmentelat [Sat, 26 Nov 2022 14:03:38 +0000 (15:03 +0100)]
/etc/plc.d/db dump-and-clean

2 years agotweak plc.d/db so that clean-dump works better, and can take an optional number of...
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

2 years agoformatted the 'db' script using vscode
Thierry Parmentelat [Fri, 25 Nov 2022 17:41:24 +0000 (18:41 +0100)]
formatted the 'db' script using vscode

2 years agofix packaging for f37 (4/n)
Thierry Parmentelat [Fri, 25 Nov 2022 17:17:00 +0000 (18:17 +0100)]
fix packaging for f37 (4/n)

2 years agofix packaging for f37 (3/n)
Thierry Parmentelat [Fri, 25 Nov 2022 17:23:22 +0000 (18:23 +0100)]
fix packaging for f37 (3/n)

2 years agofix packaging for f37 (2/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

2 years agoreview packaging for f37 (1/n)
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

2 years agomore entries in gitignore for lower noise
Thierry Parmentelat [Fri, 25 Nov 2022 14:19:13 +0000 (15:19 +0100)]
more entries in gitignore for lower noise

2 years agotrailing spaces in sql schema
Thierry Parmentelat [Wed, 23 Nov 2022 08:06:44 +0000 (09:06 +0100)]
trailing spaces in sql schema

2 years agofix in sql schema - for f37/pgsql14 (2) : will no longer work in f35/pgsql13 though
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

2 years agofixes in sql schema for f37/pgsql14: oddly this was working before
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

3 years agoSetting tag plcapi-7.1-0 plcapi-7.1-0
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

3 years ago Notice: curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value... latest-phpxmlrpc
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

3 years agothe PLCAPI class requires __construct as well in order to move to php8
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

3 years agomerge upstream phpxmlrpc
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

3 years agoas a comment in plc.wsgi: keep track of potentially useful debug snippet
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

3 years agobuild on PRs; nitpicks
gggeek [Thu, 3 Mar 2022 22:27:58 +0000 (22:27 +0000)]
build on PRs; nitpicks

3 years agofix link to travis in readme
gggeek [Thu, 3 Mar 2022 22:27:02 +0000 (22:27 +0000)]
fix link to travis in readme

3 years agoprepare version number for next release
gggeek [Tue, 15 Feb 2022 17:56:05 +0000 (17:56 +0000)]
prepare version number for next release

3 years agoMerge pull request #96 from duzun/patch-1
Gaetano Giunta [Tue, 15 Feb 2022 17:54:40 +0000 (18:54 +0100)]
Merge pull request #96 from duzun/patch-1

HTTP/2 support

3 years agotag release 4.6.1
gggeek [Tue, 15 Feb 2022 17:51:11 +0000 (17:51 +0000)]
tag release

3 years agoMerge pull request #98 from rotdrop/bugfix/fix-one-php8-undefined-array-key-error
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"

3 years agoUpdate Http.php
Claus-Justus Heine [Tue, 15 Feb 2022 17:37:16 +0000 (18:37 +0100)]
Update Http.php

3 years agoFix one PHP 8 undefined array key "error"
Claus-Justus Heine [Tue, 15 Feb 2022 17:26:01 +0000 (18:26 +0100)]
Fix one PHP 8 undefined array key "error"

3 years agoHTTP/2 support
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
```

3 years agoimprove install instructions
gggeek [Fri, 24 Dec 2021 13:57:55 +0000 (13:57 +0000)]
improve install instructions

3 years agominor change to README
gggeek [Mon, 13 Dec 2021 17:33:49 +0000 (17:33 +0000)]
minor change to README

3 years agoimprove doc building toolchain: sami 2 phpdocumentor, fix links in manual
gggeek [Mon, 13 Dec 2021 16:33:09 +0000 (16:33 +0000)]
improve doc building toolchain: sami 2 phpdocumentor, fix links in manual

3 years agowip revive and split off doc generatin toolchain
gggeek [Sun, 12 Dec 2021 18:58:41 +0000 (18:58 +0000)]
wip revive and split off doc generatin toolchain

3 years agosmall gha workflow improvement
gggeek [Thu, 9 Dec 2021 23:40:51 +0000 (23:40 +0000)]
small gha workflow improvement

3 years agotag for next version; try to fix generation of code coverage
gggeek [Thu, 9 Dec 2021 23:13:00 +0000 (23:13 +0000)]
tag for next version; try to fix generation of code coverage

3 years agotag lib version 4.6.0
gggeek [Thu, 9 Dec 2021 18:28:20 +0000 (18:28 +0000)]
tag lib version

3 years agomake it possible to retrieve from Response error http codes; introduce custom excepti...
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

3 years agoimprove solution to allow custom mapping of class names when wrapping them
gggeek [Thu, 9 Dec 2021 00:18:37 +0000 (00:18 +0000)]
improve solution to allow custom mapping of class names when wrapping them

3 years agoMerge branch 'master' of github.com:gggeek/phpxmlrpc
gggeek [Wed, 8 Dec 2021 23:20:02 +0000 (23:20 +0000)]
Merge branch 'master' of github.com:gggeek/phpxmlrpc

3 years agoMerge pull request #88 from patzerr/wrapPhpClass-with-changed-namespace
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

3 years agoadd a few more tests stressing failure scenarios for wrap_xmlrpc_method
gggeek [Wed, 8 Dec 2021 23:11:26 +0000 (23:11 +0000)]
add a few more tests stressing failure scenarios for wrap_xmlrpc_method

3 years agobye bye Travis
gggeek [Tue, 7 Dec 2021 17:06:24 +0000 (17:06 +0000)]
bye bye Travis

3 years agomove tests badge in readme to GHA
gggeek [Tue, 7 Dec 2021 17:00:55 +0000 (17:00 +0000)]
move tests badge in readme to GHA

3 years agomove to usage of Bionic as default ubuntu version for local ci containers
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

3 years agowip github actions CI
gggeek [Tue, 7 Dec 2021 16:51:21 +0000 (16:51 +0000)]
wip github actions CI

3 years agoa comment
gggeek [Tue, 7 Dec 2021 16:41:32 +0000 (16:41 +0000)]
a comment

3 years agoa comment
gggeek [Tue, 7 Dec 2021 16:41:05 +0000 (16:41 +0000)]
a comment

3 years agoa comment
gggeek [Tue, 7 Dec 2021 16:39:41 +0000 (16:39 +0000)]
a comment

3 years agomake wrap_xmlrpc_method more robust on failures
gggeek [Tue, 7 Dec 2021 16:39:04 +0000 (16:39 +0000)]
make wrap_xmlrpc_method more robust on failures

3 years agodocs
gggeek [Tue, 7 Dec 2021 16:37:52 +0000 (16:37 +0000)]
docs

3 years agodo not package gha config
gggeek [Tue, 7 Dec 2021 16:37:37 +0000 (16:37 +0000)]
do not package gha config

3 years agowip github actions CI
gggeek [Tue, 7 Dec 2021 14:03:59 +0000 (14:03 +0000)]
wip github actions CI

3 years agowip github actions CI
gggeek [Tue, 7 Dec 2021 12:34:50 +0000 (12:34 +0000)]
wip github actions CI

3 years agowip github actions CI
gggeek [Tue, 7 Dec 2021 12:03:19 +0000 (12:03 +0000)]
wip github actions CI

3 years agowip github actions CI
gggeek [Tue, 7 Dec 2021 11:46:14 +0000 (11:46 +0000)]
wip github actions CI

3 years agocomments
gggeek [Tue, 7 Dec 2021 11:45:17 +0000 (11:45 +0000)]
comments

3 years agomake sure we use a phpunit version copatible with php 8.1
gggeek [Tue, 7 Dec 2021 11:40:55 +0000 (11:40 +0000)]
make sure we use a phpunit version copatible with php 8.1

3 years agofix compatibility with php 8.1
gggeek [Tue, 7 Dec 2021 11:40:06 +0000 (11:40 +0000)]
fix compatibility with php 8.1

3 years agooops
gggeek [Tue, 7 Dec 2021 11:03:21 +0000 (11:03 +0000)]
oops

3 years agooops
gggeek [Tue, 7 Dec 2021 10:56:29 +0000 (10:56 +0000)]
oops

3 years agowip github actions CI
gggeek [Tue, 7 Dec 2021 10:52:45 +0000 (10:52 +0000)]
wip github actions CI

3 years agowip github actions CI
gggeek [Tue, 7 Dec 2021 09:43:12 +0000 (09:43 +0000)]
wip github actions CI

3 years agowip github actions CI
gggeek [Mon, 6 Dec 2021 18:10:39 +0000 (18:10 +0000)]
wip github actions CI

3 years agowip github actions CI
gggeek [Mon, 6 Dec 2021 17:56:51 +0000 (17:56 +0000)]
wip github actions CI

3 years agowip github actions CI
gggeek [Mon, 6 Dec 2021 17:51:12 +0000 (17:51 +0000)]
wip github actions CI

3 years agowip github actions CI
gggeek [Mon, 6 Dec 2021 17:10:39 +0000 (17:10 +0000)]
wip github actions CI

3 years agowip github actions CI
gggeek [Mon, 6 Dec 2021 17:00:15 +0000 (17:00 +0000)]
wip github actions CI

3 years agowip github actions CI
gggeek [Mon, 6 Dec 2021 16:37:33 +0000 (16:37 +0000)]
wip github actions CI

3 years agowip: add github ci config
gggeek [Mon, 6 Dec 2021 16:03:03 +0000 (16:03 +0000)]
wip: add github ci config

3 years agowip: add github ci config
gggeek [Mon, 6 Dec 2021 15:56:28 +0000 (15:56 +0000)]
wip: add github ci config

3 years agowip: add github ci config
gggeek [Mon, 6 Dec 2021 15:31:56 +0000 (15:31 +0000)]
wip: add github ci config

3 years agowip: add github ci config
gggeek [Mon, 6 Dec 2021 15:24:41 +0000 (15:24 +0000)]
wip: add github ci config