Skip to content
This repository was archived by the owner on Sep 23, 2023. It is now read-only.

Create wikis in a background process #405

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Create wikis in a background process #405

wants to merge 1 commit into from

Conversation

edg2s
Copy link
Collaborator

@edg2s edg2s commented Dec 14, 2021

  • The form now points to start.php, which converts
    allowed POST data to environment variables and
    sends them to new.php
  • The output is written to log files in log/*.html
    which are then polled by the JS for new content
    every second
  • Logs are only deleted when the wiki is deleted,
    allowing for debugging and inspection by other
    users.

Fixes #399

@edg2s edg2s requested a review from MatmaRex December 14, 2021 23:25
@edg2s edg2s force-pushed the start branch 3 times, most recently from 99db86c to 0c4d135 Compare December 15, 2021 00:18
@edg2s
Copy link
Collaborator Author

edg2s commented Dec 15, 2021

Possible future enhancements:

  • Keep logs of failed wikis around for a certain amount of time for debugging.
  • Add the ability to abandon a wiki creation manually.
  • Show wiki creation state in the public list with a link to the log visible to all users.

@edg2s edg2s force-pushed the start branch 3 times, most recently from 7e46081 to df58b13 Compare March 6, 2022 13:29
@edg2s edg2s changed the base branch from master to namepath March 6, 2022 13:30
@edg2s edg2s changed the base branch from namepath to server-path March 6, 2022 13:57
Base automatically changed from server-path to master March 14, 2022 16:54
* The form now points to start.php, which converts
  allowed POST data to environment variables and
  sends them to new.php
* The output is written to log files in log/*.html
  which are then polled by the JS for new content
  every second
* Logs are only deleted when the wiki is deleted,
  allowing for debugging and inspection by other
  users.

Fixes #399, #336
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create wikis in a new thread / job queue
1 participant