You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2021/12/28 00:17:08 UTC

[incubator-ponymail-foal] branch master updated (b32654c -> e72509e)

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git.


    from b32654c  Add a few basic search tests
     new 7ecdb78  handle URLs of the form /api/handler/extra?query
     new e72509e  Version update

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 server/main.py           | 3 ++-
 server/server_version.py | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

[incubator-ponymail-foal] 01/02: handle URLs of the form /api/handler/extra?query

Posted by se...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit 7ecdb78e10b6e0f33a145a0d846d9d7e4151bc57
Author: Sebb <se...@apache.org>
AuthorDate: Tue Dec 28 00:16:41 2021 +0000

    handle URLs of the form /api/handler/extra?query
    
    This fixes #200
---
 server/main.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/server/main.py b/server/main.py
index 1a77a87..09fc483 100644
--- a/server/main.py
+++ b/server/main.py
@@ -119,7 +119,8 @@ class Server(plugins.server.BaseServer):
         # Figure out who is going to handle this request, if any
         # We are backwards compatible with the old Lua interface URLs
         body_type = "form"
-        handler = request.path.split("/")[-1]
+        # Support URLs of form /api/handler/extra?query
+        handler = request.path.split("/")[2]
         if handler.endswith(".lua"):
             body_type = "form"
             handler = handler[:-4]

[incubator-ponymail-foal] 02/02: Version update

Posted by se...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit e72509e7b2b21d7a41e1fbc76fede0b07d420965
Author: Sebb <se...@apache.org>
AuthorDate: Tue Dec 28 00:16:56 2021 +0000

    Version update
---
 server/server_version.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/server_version.py b/server/server_version.py
index 120d055..45a5831 100644
--- a/server/server_version.py
+++ b/server/server_version.py
@@ -1,2 +1,2 @@
 # This file is generated by server/update_version.sh
-PONYMAIL_SERVER_VERSION = '5e96129'
+PONYMAIL_SERVER_VERSION = '7ecdb78'