plcapi.git
2 years agoadd to Sf demo the overtaking of the logger
gggeek [Tue, 31 Jan 2023 20:05:44 +0000 (20:05 +0000)]
add to Sf demo the overtaking of the logger

2 years agoadd demo code for Symfony
gggeek [Tue, 31 Jan 2023 18:50:53 +0000 (18:50 +0000)]
add demo code for Symfony

2 years agomore demo updates
gggeek [Tue, 31 Jan 2023 18:50:31 +0000 (18:50 +0000)]
more demo updates

2 years agomake wrapper and demo code take advantage of get/set options
gggeek [Tue, 31 Jan 2023 16:18:56 +0000 (16:18 +0000)]
make wrapper and demo code take advantage of get/set options

2 years agoMerge pull request #110 from raortegar/utf8_encode_deprecation
Gaetano Giunta [Tue, 31 Jan 2023 14:56:00 +0000 (15:56 +0100)]
Merge pull request #110 from raortegar/utf8_encode_deprecation

Fixed PHP 8.2 utf8_encode deprecated in Charset.php

2 years agoFixed PHP 8.2 utf8_encode deprecated in Charset.php
raortegar [Tue, 31 Jan 2023 13:37:34 +0000 (14:37 +0100)]
Fixed PHP 8.2 utf8_encode deprecated in Charset.php

2 years agodocs
gggeek [Tue, 31 Jan 2023 09:43:12 +0000 (09:43 +0000)]
docs

2 years agomore deprecation logging
gggeek [Mon, 30 Jan 2023 22:51:04 +0000 (22:51 +0000)]
more deprecation logging

2 years agoadd test for deprecation logging
gggeek [Mon, 30 Jan 2023 22:37:05 +0000 (22:37 +0000)]
add test for deprecation logging

2 years agoWIP allow deprecations to be logged
gggeek [Mon, 30 Jan 2023 18:11:13 +0000 (18:11 +0000)]
WIP allow deprecations to be logged

2 years agoundeprecate setDebug; fix one interop error; add a test for interop errors
gggeek [Mon, 30 Jan 2023 17:12:14 +0000 (17:12 +0000)]
undeprecate setDebug; fix one interop error; add a test for interop errors

2 years agoupdate demos to use setOption/getOption
gggeek [Mon, 30 Jan 2023 16:46:59 +0000 (16:46 +0000)]
update demos to use setOption/getOption

2 years agomore removal of olde cookie spec
gggeek [Mon, 30 Jan 2023 16:20:28 +0000 (16:20 +0000)]
more removal of olde cookie spec

2 years agomove all methods to camelCase
gggeek [Mon, 30 Jan 2023 16:11:39 +0000 (16:11 +0000)]
move all methods to camelCase

2 years agoadd setOption/getOption and co to Client and Server
gggeek [Mon, 30 Jan 2023 15:24:22 +0000 (15:24 +0000)]
add setOption/getOption and co to Client and Server

2 years agoharden github CI workflow
gggeek [Mon, 30 Jan 2023 11:46:19 +0000 (11:46 +0000)]
harden github CI workflow

2 years agomake sure we call apt-get update before installing packages
gggeek [Mon, 30 Jan 2023 11:43:00 +0000 (11:43 +0000)]
make sure we call apt-get update before installing packages

2 years agoallow setting per-method-handler exception_handling
gggeek [Mon, 30 Jan 2023 11:34:09 +0000 (11:34 +0000)]
allow setting per-method-handler exception_handling

2 years agoimprove array-access to Values created as i4; docs
gggeek [Mon, 30 Jan 2023 11:19:09 +0000 (11:19 +0000)]
improve array-access to Values created as i4; docs

2 years agodocs
gggeek [Fri, 27 Jan 2023 10:05:31 +0000 (10:05 +0000)]
docs

2 years agofix setting values to deprecated response property `cookies`
gggeek [Fri, 27 Jan 2023 10:04:56 +0000 (10:04 +0000)]
fix setting values to deprecated response property `cookies`

2 years agotest nitpicks
gggeek [Fri, 27 Jan 2023 10:04:13 +0000 (10:04 +0000)]
test nitpicks

2 years agowhitespace
gggeek [Thu, 26 Jan 2023 16:34:44 +0000 (16:34 +0000)]
whitespace

2 years agorefactor tests to reduce duplication and clean up output
gggeek [Thu, 26 Jan 2023 16:33:26 +0000 (16:33 +0000)]
refactor tests to reduce duplication and clean up output

2 years agocomments
gggeek [Thu, 26 Jan 2023 11:38:17 +0000 (11:38 +0000)]
comments

2 years agosimplify error handling during xmlrpc parsing
gggeek [Thu, 26 Jan 2023 08:44:51 +0000 (08:44 +0000)]
simplify error handling during xmlrpc parsing

2 years agodrop support for version2 cookies
gggeek [Wed, 25 Jan 2023 17:27:55 +0000 (17:27 +0000)]
drop support for version2 cookies

2 years agotests
gggeek [Wed, 25 Jan 2023 16:27:48 +0000 (16:27 +0000)]
tests

2 years agointroduce structured exceptions; make addParam and Response::__construct stricter...
gggeek [Wed, 25 Jan 2023 16:01:47 +0000 (16:01 +0000)]
introduce structured exceptions; make addParam and Response::__construct stricter; allow serialization of responses built out of php values

2 years agomove interop error codes to their own class
gggeek [Wed, 25 Jan 2023 11:39:53 +0000 (11:39 +0000)]
move interop error codes to their own class

2 years agoreview BC of parser
gggeek [Wed, 25 Jan 2023 11:29:51 +0000 (11:29 +0000)]
review BC of parser

2 years agocomments; nitpcks
gggeek [Wed, 25 Jan 2023 10:41:20 +0000 (10:41 +0000)]
comments; nitpcks

2 years agonitpicks
gggeek [Tue, 24 Jan 2023 23:34:56 +0000 (23:34 +0000)]
nitpicks

2 years agoadd support for interop error codes
gggeek [Tue, 24 Jan 2023 23:34:30 +0000 (23:34 +0000)]
add support for interop error codes

2 years agosimplify global logger injection
gggeek [Tue, 24 Jan 2023 18:46:00 +0000 (18:46 +0000)]
simplify global logger injection

2 years agoadd Client::getUrl
gggeek [Tue, 24 Jan 2023 15:29:18 +0000 (15:29 +0000)]
add Client::getUrl

2 years agoimplement Psr/Log interfaces
gggeek [Tue, 24 Jan 2023 14:13:31 +0000 (14:13 +0000)]
implement Psr/Log interfaces

2 years agobump to php 5.4, use traits
gggeek [Tue, 24 Jan 2023 13:42:17 +0000 (13:42 +0000)]
bump to php 5.4, use traits

2 years agoadd a demo for logger injection
gggeek [Tue, 24 Jan 2023 10:30:15 +0000 (10:30 +0000)]
add a demo for logger injection

2 years agotests and docs
gggeek [Tue, 24 Jan 2023 09:44:24 +0000 (09:44 +0000)]
tests and docs

2 years agointroduce negative debug level
gggeek [Tue, 24 Jan 2023 09:44:10 +0000 (09:44 +0000)]
introduce negative debug level

2 years agofix: in debug mode, use the logger for echoing error reason instad of direct printf
gggeek [Tue, 24 Jan 2023 08:12:56 +0000 (08:12 +0000)]
fix: in debug mode, use the logger for echoing error reason instad of direct printf

2 years agofix setting CORS headers in demo server
gggeek [Mon, 23 Jan 2023 18:15:16 +0000 (18:15 +0000)]
fix setting CORS headers in demo server

2 years agonews
gggeek [Mon, 23 Jan 2023 17:42:50 +0000 (17:42 +0000)]
news

2 years agorename recently added method
gggeek [Mon, 23 Jan 2023 17:42:42 +0000 (17:42 +0000)]
rename recently added method

2 years agofix tests on php 8; allow validation of methodname element; try not to get DOSed...
gggeek [Mon, 23 Jan 2023 17:21:17 +0000 (17:21 +0000)]
fix tests on php 8; allow validation of methodname element; try not to get DOSed by long values

2 years agofix tests
gggeek [Mon, 23 Jan 2023 16:47:25 +0000 (16:47 +0000)]
fix tests

2 years agomoar tests!
gggeek [Mon, 23 Jan 2023 16:15:43 +0000 (16:15 +0000)]
moar tests!

2 years agoxml parser: log errors when not returning faults; log error on missing name for struc...
gggeek [Mon, 23 Jan 2023 16:15:26 +0000 (16:15 +0000)]
xml parser: log errors when not returning faults; log error on missing name for struct member

2 years agoavoid breaking xml in one case of fault in mb_convert_encoding
gggeek [Mon, 23 Jan 2023 16:14:19 +0000 (16:14 +0000)]
avoid breaking xml in one case of fault in mb_convert_encoding

2 years agohttp class is purely static
gggeek [Mon, 23 Jan 2023 16:13:51 +0000 (16:13 +0000)]
http class is purely static

2 years agomore tests
gggeek [Mon, 23 Jan 2023 15:00:48 +0000 (15:00 +0000)]
more tests

2 years agotests
gggeek [Mon, 23 Jan 2023 13:50:00 +0000 (13:50 +0000)]
tests

2 years agonews
gggeek [Mon, 23 Jan 2023 12:42:59 +0000 (12:42 +0000)]
news

2 years agoimprove parsing of number in received xml
gggeek [Mon, 23 Jan 2023 12:42:33 +0000 (12:42 +0000)]
improve parsing of number in received xml

2 years agonews
gggeek [Mon, 23 Jan 2023 09:23:55 +0000 (09:23 +0000)]
news

2 years agofix parsing of "ex:i8" elements; minor parsing speedup
gggeek [Mon, 23 Jan 2023 09:22:56 +0000 (09:22 +0000)]
fix parsing of "ex:i8" elements; minor parsing speedup

2 years agoallow the library to use a stricter mode when parsing invalid xml
gggeek [Sun, 22 Jan 2023 16:40:07 +0000 (16:40 +0000)]
allow the library to use a stricter mode when parsing invalid xml

2 years agomake server codegen demo closer to real-life usecase (fixed controller code, autogn dm)
gggeek [Sun, 22 Jan 2023 15:39:35 +0000 (15:39 +0000)]
make server codegen demo closer to real-life usecase (fixed controller code, autogn dm)

2 years agodoc
gggeek [Sun, 22 Jan 2023 15:04:27 +0000 (15:04 +0000)]
doc

2 years agoWrapper improvements: generate better-formatted and documented code; allow more flexi...
gggeek [Sun, 22 Jan 2023 15:02:17 +0000 (15:02 +0000)]
Wrapper improvements: generate better-formatted and documented code; allow more flexibility in generated code

2 years agobetter formatting of Wrapper generated code
gggeek [Sat, 21 Jan 2023 18:42:00 +0000 (18:42 +0000)]
better formatting of Wrapper generated code

2 years agouse everywhere the same regexp to validate datetime values and allow it to be changed
gggeek [Sat, 21 Jan 2023 17:37:51 +0000 (17:37 +0000)]
use everywhere the same regexp to validate datetime values and allow it to be changed

2 years agodocs
gggeek [Sat, 21 Jan 2023 13:49:00 +0000 (13:49 +0000)]
docs

2 years agodeprecate Client::$errno and $errstr
gggeek [Sat, 21 Jan 2023 13:44:17 +0000 (13:44 +0000)]
deprecate Client::$errno and $errstr

2 years agomanual
gggeek [Sat, 21 Jan 2023 13:24:31 +0000 (13:24 +0000)]
manual

2 years agoallow lib to always give to the app DateTime objects; docs
gggeek [Sat, 21 Jan 2023 13:22:20 +0000 (13:22 +0000)]
allow lib to always give to the app DateTime objects; docs

2 years agoNEWS
gggeek [Sat, 21 Jan 2023 10:32:46 +0000 (10:32 +0000)]
NEWS

2 years agofix recent commit: debugger not executing actions automatically any more
gggeek [Fri, 20 Jan 2023 11:46:41 +0000 (11:46 +0000)]
fix recent commit: debugger not executing actions automatically any more

2 years agoadd throw_on_fault option to the Wrapper
gggeek [Fri, 20 Jan 2023 11:30:13 +0000 (11:30 +0000)]
add throw_on_fault option to the Wrapper

2 years agodebugger nitpicks, hardening
gggeek [Fri, 20 Jan 2023 10:26:47 +0000 (10:26 +0000)]
debugger nitpicks, hardening

2 years agodebuggre improvements
gggeek [Thu, 19 Jan 2023 23:37:09 +0000 (23:37 +0000)]
debuggre improvements

2 years agoimprove debugger for multi-protocol case
gggeek [Thu, 19 Jan 2023 22:05:07 +0000 (22:05 +0000)]
improve debugger for multi-protocol case

2 years agotake into account new locations for the debuggers visualeditor, to accommodate jsonrpc
gggeek [Thu, 19 Jan 2023 21:36:45 +0000 (21:36 +0000)]
take into account new locations for the debuggers visualeditor, to accommodate jsonrpc

2 years agomention explicitly the security implications of allowing php exceptions to be display...
gggeek [Thu, 19 Jan 2023 21:01:27 +0000 (21:01 +0000)]
mention explicitly the security implications of allowing php exceptions to be displayed as method responses

2 years agodocs
gggeek [Wed, 18 Jan 2023 23:39:58 +0000 (23:39 +0000)]
docs

2 years agoallow better subclassing of Client by JsonRpc
gggeek [Wed, 18 Jan 2023 18:14:04 +0000 (18:14 +0000)]
allow better subclassing of Client by JsonRpc

2 years agophpdocs
gggeek [Wed, 18 Jan 2023 17:29:48 +0000 (17:29 +0000)]
phpdocs

2 years agomake addScalar friendlier to subclassing
gggeek [Wed, 18 Jan 2023 17:29:28 +0000 (17:29 +0000)]
make addScalar friendlier to subclassing

2 years agoallow Wrapper to generate jsonrpc code; improve formatting for code from Wrapper...
gggeek [Wed, 18 Jan 2023 16:23:45 +0000 (16:23 +0000)]
allow Wrapper to generate jsonrpc code; improve formatting for code from Wrapper; update debugger accordingly

2 years agodocs
gggeek [Wed, 18 Jan 2023 11:08:54 +0000 (11:08 +0000)]
docs

2 years agodocs
gggeek [Wed, 18 Jan 2023 10:24:11 +0000 (10:24 +0000)]
docs

2 years agoimprove exportGlobals
gggeek [Wed, 18 Jan 2023 10:23:14 +0000 (10:23 +0000)]
improve exportGlobals

2 years agoreview injection of helpers
gggeek [Wed, 18 Jan 2023 09:42:57 +0000 (09:42 +0000)]
review injection of helpers

2 years agofix handling of unknown methods, recently broken
gggeek [Wed, 18 Jan 2023 09:07:12 +0000 (09:07 +0000)]
fix handling of unknown methods, recently broken

2 years agorefactoring
gggeek [Wed, 18 Jan 2023 08:21:39 +0000 (08:21 +0000)]
refactoring

2 years agofix tests
gggeek [Wed, 18 Jan 2023 07:55:27 +0000 (07:55 +0000)]
fix tests

2 years agouse charset preferred by client if possible
gggeek [Wed, 18 Jan 2023 07:55:15 +0000 (07:55 +0000)]
use charset preferred by client if possible

2 years agoallow server to stick more closely to accepted-charset when it hs mbstring onboard
gggeek [Wed, 18 Jan 2023 00:26:11 +0000 (00:26 +0000)]
allow server to stick more closely to accepted-charset when it hs mbstring onboard

2 years agocomments
gggeek [Tue, 17 Jan 2023 18:27:09 +0000 (18:27 +0000)]
comments

2 years agocomments
gggeek [Tue, 17 Jan 2023 17:59:14 +0000 (17:59 +0000)]
comments

2 years agodocs and comments
gggeek [Tue, 17 Jan 2023 16:57:00 +0000 (16:57 +0000)]
docs and comments

2 years agoallow usage of mbstring if iconv is missing, in epi-emulation mode
gggeek [Tue, 17 Jan 2023 16:56:10 +0000 (16:56 +0000)]
allow usage of mbstring if iconv is missing, in epi-emulation mode

2 years agoupdate manual with latest charset functionality
gggeek [Tue, 17 Jan 2023 13:39:44 +0000 (13:39 +0000)]
update manual with latest charset functionality

2 years agocomments
gggeek [Tue, 17 Jan 2023 13:13:07 +0000 (13:13 +0000)]
comments

2 years agofix tests
gggeek [Tue, 17 Jan 2023 13:11:50 +0000 (13:11 +0000)]
fix tests

2 years agocomments
gggeek [Tue, 17 Jan 2023 13:11:38 +0000 (13:11 +0000)]
comments

2 years agofix tests for old php
gggeek [Tue, 17 Jan 2023 12:26:03 +0000 (12:26 +0000)]
fix tests for old php

2 years agocomments
gggeek [Tue, 17 Jan 2023 12:15:37 +0000 (12:15 +0000)]
comments

2 years agoadd a test for the new demo
gggeek [Tue, 17 Jan 2023 12:11:25 +0000 (12:11 +0000)]
add a test for the new demo