Skip to content

Commit 9ea256e

Browse files
committed
move public server and debugger away from altervista.org
1 parent 612721b commit 9ea256e

7 files changed

Lines changed: 65 additions & 63 deletions

File tree

.github/workflows/cd.yaml

Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -108,61 +108,61 @@ jobs:
108108
git push
109109
git checkout ${{ github.ref_name }}
110110
111-
deploy_to_altervista:
112-
if: ${{ startsWith(github.ref_name, '4.') && !(contains(github.ref_name, 'alpha') || contains(github.ref_name, 'beta') || contains(github.ref_name, 'rc')) }}
113-
runs-on: ubuntu-latest
114-
steps:
115-
- name: checkout code
116-
uses: actions/checkout@v3
117-
118-
# add the bits of jsxmlrpc that make the debugger nicer, so that they get uploaded to the demo server
119-
- name: setup visualeditor for the debugger
120-
#if: ${{ steps.changed-manual.outputs.any_changed == 'true' || (github.ref_type == 'tag' && startsWith(github.ref_name, '4.')) }}
121-
run: |
122-
chmod 755 ./taskfile
123-
./taskfile setup_debugger_visualeditor
124-
125-
# upload the lib to gggeek.altervista.org via ftp
126-
127-
- name: upload lib to gggeek.altervista.org - src
128-
#if: ${{ github.ref_type == 'tag' && startsWith(github.ref_name, '4.') }}
129-
uses: SamKirkland/FTP-Deploy-Action@v4.3.5
130-
with:
131-
server: ftp.gggeek.altervista.org
132-
username: ${{ secrets.ftp_gggeek_altervista_org_user }}
133-
password: ${{ secrets.ftp_gggeek_altervista_org_password }}
134-
protocol: ftps
135-
local-dir: ./src/
136-
server-dir: src/
137-
dangerous-clean-slate: true
138-
- name: upload lib to gggeek.altervista.org - demo
139-
#if: ${{ github.ref_type == 'tag' && startsWith(github.ref_name, '4.') }}
140-
uses: SamKirkland/FTP-Deploy-Action@v4.3.5
141-
with:
142-
server: ftp.gggeek.altervista.org
143-
username: ${{ secrets.ftp_gggeek_altervista_org_user }}
144-
password: ${{ secrets.ftp_gggeek_altervista_org_password }}
145-
protocol: ftps
146-
local-dir: ./demo/
147-
server-dir: demo/
148-
dangerous-clean-slate: true
149-
# NB: codegen and discuss demos might not work anyway unless sys_get_temp_dir() is writeable
150-
exclude: |
151-
**/*.pl
152-
**/*.py
153-
**/readme.md
154-
**/codegen.php
155-
**/discuss.php
156-
**/testsuite.php
157-
**/wrapper.php
158-
- name: upload lib to gggeek.altervista.org - debugger
159-
#if: ${{ github.ref_type == 'tag' && startsWith(github.ref_name, '4.') }}
160-
uses: SamKirkland/FTP-Deploy-Action@v4.3.5
161-
with:
162-
server: ftp.gggeek.altervista.org
163-
username: ${{ secrets.ftp_gggeek_altervista_org_user }}
164-
password: ${{ secrets.ftp_gggeek_altervista_org_password }}
165-
protocol: ftps
166-
local-dir: ./debugger/
167-
server-dir: debugger/
168-
dangerous-clean-slate: true
111+
# deploy_to_altervista:
112+
# if: ${{ startsWith(github.ref_name, '4.') && !(contains(github.ref_name, 'alpha') || contains(github.ref_name, 'beta') || contains(github.ref_name, 'rc')) }}
113+
# runs-on: ubuntu-latest
114+
# steps:
115+
# - name: checkout code
116+
# uses: actions/checkout@v3
117+
#
118+
# # add the bits of jsxmlrpc that make the debugger nicer, so that they get uploaded to the demo server
119+
# - name: setup visualeditor for the debugger
120+
# #if: ${{ steps.changed-manual.outputs.any_changed == 'true' || (github.ref_type == 'tag' && startsWith(github.ref_name, '4.')) }}
121+
# run: |
122+
# chmod 755 ./taskfile
123+
# ./taskfile setup_debugger_visualeditor
124+
#
125+
# # upload the lib to gggeek.altervista.org via ftp
126+
#
127+
# - name: upload lib to gggeek.altervista.org - src
128+
# #if: ${{ github.ref_type == 'tag' && startsWith(github.ref_name, '4.') }}
129+
# uses: SamKirkland/FTP-Deploy-Action@v4.3.5
130+
# with:
131+
# server: ftp.gggeek.altervista.org
132+
# username: ${{ secrets.ftp_gggeek_altervista_org_user }}
133+
# password: ${{ secrets.ftp_gggeek_altervista_org_password }}
134+
# protocol: ftps
135+
# local-dir: ./src/
136+
# server-dir: src/
137+
# dangerous-clean-slate: true
138+
# - name: upload lib to gggeek.altervista.org - demo
139+
# #if: ${{ github.ref_type == 'tag' && startsWith(github.ref_name, '4.') }}
140+
# uses: SamKirkland/FTP-Deploy-Action@v4.3.5
141+
# with:
142+
# server: ftp.gggeek.altervista.org
143+
# username: ${{ secrets.ftp_gggeek_altervista_org_user }}
144+
# password: ${{ secrets.ftp_gggeek_altervista_org_password }}
145+
# protocol: ftps
146+
# local-dir: ./demo/
147+
# server-dir: demo/
148+
# dangerous-clean-slate: true
149+
# # NB: codegen and discuss demos might not work anyway unless sys_get_temp_dir() is writeable
150+
# exclude: |
151+
# **/*.pl
152+
# **/*.py
153+
# **/readme.md
154+
# **/codegen.php
155+
# **/discuss.php
156+
# **/testsuite.php
157+
# **/wrapper.php
158+
# - name: upload lib to gggeek.altervista.org - debugger
159+
# #if: ${{ github.ref_type == 'tag' && startsWith(github.ref_name, '4.') }}
160+
# uses: SamKirkland/FTP-Deploy-Action@v4.3.5
161+
# with:
162+
# server: ftp.gggeek.altervista.org
163+
# username: ${{ secrets.ftp_gggeek_altervista_org_user }}
164+
# password: ${{ secrets.ftp_gggeek_altervista_org_password }}
165+
# protocol: ftps
166+
# local-dir: ./debugger/
167+
# server-dir: debugger/
168+
# dangerous-clean-slate: true

NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
* improved: make it easy to allow CORS requests to the demo server on hosts other than the altervista one
44

5+
* changed the default public demo server and debugger to be hosted at tanoconsulting.com
6+
57

68
## XML-RPC for PHP version 4.11.4 - 2025/10/3
79

debugger/action.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@
653653

654654
<h3>Demo server</h3>
655655
<p>
656-
Server Address: gggeek.altervista.org<br/>
656+
Server Address: tanoconsulting.com<br/>
657657
Path: /sw/xmlrpc/demo/server/server.php
658658
</p>
659659

demo/client/_prepend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
if (isset($_SERVER['HTTPSERVER'])) {
1616
define('XMLRPCSERVER', 'http://'.$_SERVER['HTTPSERVER'].'/demo/server/server.php');
1717
} else {
18-
define('XMLRPCSERVER', 'http://gggeek.altervista.org/sw/xmlrpc/demo/server/server.php');
18+
define('XMLRPCSERVER', 'http://tanoconsulting.com/sw/xmlrpc/demo/server/server.php');
1919
}
2020

2121
// A helper for cli vs web output

demo/client/symfony/services.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
parameters:
2-
xml_rpc_server: https://gggeek.altervista.org/sw/xmlrpc/demo/server/server.php
2+
xml_rpc_server: https://tanoconsulting.com/sw/xmlrpc/demo/server/server.php
33
xml_rpc_client_options: []
44

55
services:

doc/manual/phpxmlrpc_manual.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1596,7 +1596,7 @@ The interface should be self-explicative enough to need little documentation.
15961596
image::debugger.jpg[debugger,458,385,,align="center"]
15971597

15981598
To make sure that the debugger is working properly, you can use it make f.e. a "list available methods" call against the
1599-
public demo server available at: Address: __gggeek.altervista.org__, Path: __/sw/xmlrpc/demo/server/server.php__
1599+
public demo server available at: Address: __tanoconsulting.com__, Path: __/sw/xmlrpc/demo/server/server.php__
16001600

16011601
The most useful feature of the debugger is without doubt the "Show debug info" option. It allows to have a screen dump
16021602
of the complete http communication between client and server, including the http headers as well as the request and

tests/parse_args.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static function getArgs()
3535
'HTTPSSERVER' => 'localhost',
3636
'HTTPSURI' => null,
3737
// example alternative:
38-
//'HTTPSSERVER' => 'gggeek.altervista.org',
38+
//'HTTPSSERVER' => 'tanoconsulting.com',
3939
//'HTTPSURI' => '/sw/xmlrpc/demo/server/server.php',
4040
'HTTPSIGNOREPEER' => false,
4141
'HTTPSVERIFYHOST' => 2,

0 commit comments

Comments
 (0)