You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by al...@apache.org on 2025/11/24 00:47:30 UTC

(jspwiki) branch master updated (391a206b4 -> 2e066fd5b)

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

alexoree pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/jspwiki.git


    from 391a206b4 Merge pull request #441 from spyhunter99/master
     add edc63420b JSPWIKI-1205 adjusts the handling for too large file attachments. This change, while it addresses the issue, might cause a new issue whereby updatlong an extremely large file might cause OOM errors since the commons file uploader parses and buffers the whole http request. And the way the upload page works, it is not possible to get the correct redirect url without parsing the request. unformately, i don't think there's a way to add an http header to multipart form post  [...]
     add a14811364 cleanup
     add 0df4e2242 JS{WIKI-1205 adds a java SPI lookup mechanism and a new rest endpoint that provides a list of server installed plugins and alters the UI to support fetching and displaying them. Alters the Plugin API definition to have two additional methods with default implementations that should hopefully support backwards compat Alters the PluginManager API to include a getDiscoveredPlugins Alters a few of the javascript mechanisms to get the plugin list ti display with the snip sug [...]
     add aaa9b96e4 Revert "JS{WIKI-1205 adds a java SPI lookup mechanism and a new rest endpoint that provides a list of server installed plugins and alters the UI to support fetching and displaying them."
     add 198adc856 JSPWIKI-1205 adds additional safe guards for the file upload changes
     add 809e7e04a JSP{WIKI-1205 adds more robust error handling. File attachment uploads now redirect correctly and show the too big error message in Error.jsp
     add e767808f5 Merge branch 'master' into bug/JSPWIKI-1205
     add f85bd629b JSPWIKI-1205 adds the maximum attachment file size to the user interface
     add 6e3e29e9c JSPWIKI-1205 removes the chunked encoded check as it's not relevant
     new 2e066fd5b Merge pull request #405 from spyhunter99/bug/JSPWIKI-1205

The 1 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:
 .../apache/wiki/attachment/AttachmentServlet.java  | 53 ++++++++++++++---
 .../java/org/apache/wiki/tags/MaxUploadTag.java    | 66 ++++++++++++++++++++++
 .../src/main/resources/META-INF/jspwiki.tld        |  6 ++
 .../main/resources/templates/default.properties    |  1 +
 .../main/resources/templates/default_de.properties |  1 +
 .../main/resources/templates/default_es.properties |  3 +-
 .../main/resources/templates/default_fi.properties |  1 +
 .../main/resources/templates/default_fr.properties |  1 +
 .../main/resources/templates/default_it.properties |  1 +
 .../main/resources/templates/default_nl.properties |  1 +
 .../resources/templates/default_pt_BR.properties   |  1 +
 .../main/resources/templates/default_ru.properties |  1 +
 .../resources/templates/default_zh_CN.properties   |  1 +
 jspwiki-war/src/main/webapp/Error.jsp              | 17 ++++--
 .../webapp/templates/default/AttachmentTab.jsp     |  6 +-
 15 files changed, 143 insertions(+), 17 deletions(-)
 create mode 100644 jspwiki-main/src/main/java/org/apache/wiki/tags/MaxUploadTag.java


(jspwiki) 01/01: Merge pull request #405 from spyhunter99/bug/JSPWIKI-1205

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

alexoree pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jspwiki.git

commit 2e066fd5bbd7e9583d9222e13cbda124955b1b58
Merge: 391a206b4 6e3e29e9c
Author: spyhunter99 <sp...@users.noreply.github.com>
AuthorDate: Sun Nov 23 19:47:24 2025 -0500

    Merge pull request #405 from spyhunter99/bug/JSPWIKI-1205
    
    JSPWIKI-1205 adjusts the handling for too large file attachments.

 .../apache/wiki/attachment/AttachmentServlet.java  | 53 ++++++++++++++---
 .../java/org/apache/wiki/tags/MaxUploadTag.java    | 66 ++++++++++++++++++++++
 .../src/main/resources/META-INF/jspwiki.tld        |  6 ++
 .../main/resources/templates/default.properties    |  1 +
 .../main/resources/templates/default_de.properties |  1 +
 .../main/resources/templates/default_es.properties |  3 +-
 .../main/resources/templates/default_fi.properties |  1 +
 .../main/resources/templates/default_fr.properties |  1 +
 .../main/resources/templates/default_it.properties |  1 +
 .../main/resources/templates/default_nl.properties |  1 +
 .../resources/templates/default_pt_BR.properties   |  1 +
 .../main/resources/templates/default_ru.properties |  1 +
 .../resources/templates/default_zh_CN.properties   |  1 +
 jspwiki-war/src/main/webapp/Error.jsp              | 17 ++++--
 .../webapp/templates/default/AttachmentTab.jsp     |  6 +-
 15 files changed, 143 insertions(+), 17 deletions(-)