Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the interface for setting headers #566

Closed
bschmalhofer opened this issue Oct 23, 2020 · 5 comments
Closed

Use the interface for setting headers #566

bschmalhofer opened this issue Oct 23, 2020 · 5 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@bschmalhofer
Copy link
Contributor

This is a followup to #565. Actually use the interface for setting and getting headers. In the best case all of core OTOBO should be converted.

@bschmalhofer bschmalhofer added the enhancement New feature or request label Oct 23, 2020
@bschmalhofer bschmalhofer added this to the OTOBO 10.1 milestone Oct 23, 2020
@bschmalhofer
Copy link
Contributor Author

bschmalhofer commented Nov 3, 2020

TODO:

  • migrate the scripts in _bin/cgi-bin
  • migrate bin/psgi-bin/otobo.psgi
  • remove the UseResponseObject switch
  • adapt the SOAP interface
  • adapt the REST interface
  • adopt Kernel::System::Web::Exception
  • adapt the Kernel::Output::HTML::Layout::Print() method
  • adapt the Kernel::Output::HTML::Layout::Redirect() method
  • support for cookies
  • require Plack implicitly Plack::Response and HTTP::Headers::Fast
  • do not require CGI::Parse::PSGI, even it is part or the Plack distro
  • Support for header X-OTOBO-Login
  • check whether the OTOBO_RUNS_UNDER_PSGI switches are still necessary
  • deal with Kernel::Output::HTML::Layout::Print()
  • test

bschmalhofer added a commit that referenced this issue Nov 3, 2020
bschmalhofer added a commit that referenced this issue Nov 3, 2020
as this is now the only supported case
bschmalhofer added a commit that referenced this issue Nov 3, 2020
bschmalhofer added a commit that referenced this issue Nov 3, 2020
bschmalhofer added a commit that referenced this issue Nov 3, 2020
bschmalhofer added a commit that referenced this issue Nov 3, 2020
bschmalhofer added a commit that referenced this issue Nov 3, 2020
Use the trick that seemed to have worked before.
bschmalhofer added a commit that referenced this issue Nov 3, 2020
bschmalhofer added a commit that referenced this issue Nov 3, 2020
bschmalhofer added a commit that referenced this issue Nov 3, 2020
bschmalhofer added a commit that referenced this issue Nov 4, 2020
bschmalhofer added a commit that referenced this issue Nov 4, 2020
bschmalhofer added a commit that referenced this issue Nov 4, 2020
@bschmalhofer
Copy link
Contributor Author

Fixed remaining SOAP issues. Merging now into rel-10_0.

bschmalhofer added a commit that referenced this issue Nov 5, 2020
bschmalhofer added a commit that referenced this issue Nov 5, 2020
bschmalhofer added a commit that referenced this issue Nov 5, 2020
@bschmalhofer
Copy link
Contributor Author

Kernel::Output::HTML::Layout::Print() still prints to STDOUT. This should be adapted.

bschmalhofer added a commit that referenced this issue Nov 9, 2020
bschmalhofer added a commit that referenced this issue Nov 9, 2020
@bschmalhofer
Copy link
Contributor Author

Print() was called early when generting some lists. This makes sense for getting a quick response, but does not fit trivially into the PSGI environment. If early response is needed, then it should be handled in a dedicated issue.

bschmalhofer added a commit that referenced this issue Nov 9, 2020
@bschmalhofer
Copy link
Contributor Author

There are no known problems. Closing this issue.

@bschmalhofer bschmalhofer self-assigned this Jan 19, 2021
@bschmalhofer bschmalhofer modified the milestones: OTOBO 10.1, OTOBO 10.1.1 Nov 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant