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

VS Code and wp-now: Allow the login() step to fail #188

Merged
merged 2 commits into from
Mar 13, 2024

Conversation

adamziel
Copy link
Collaborator

The user may customize their login details. Changing the password should not prevent them from starting the server again. This PR adds tolerance for login() failures.

Other changes

This PR also bumps the VS Code extension version

Testing instructions

  1. Start a wp-now site
  2. Change the admin password
  3. Restart the site
  4. Confirm the server started
  5. Confirm it wouldn't start on trunk

The user may customize their login details. Changing the password should
not prevent them from starting the server again. This PR adds tolerance
for login() failures.

1. Start a wp-now site
1. Change the admin password
1. Restart the site
1. Confirm the server started
1. Confirm it wouldn't start on trunk
@adamziel adamziel added Bug Something isn't working wp-now VS Code labels Mar 13, 2024
@adamziel
Copy link
Collaborator Author

I'll go ahead and merge as this issue affects the VS Code extension

@adamziel adamziel merged commit 9055ae4 into trunk Mar 13, 2024
3 checks passed
@adamziel adamziel deleted the allow-login-failure branch March 13, 2024 16:25
johnhooks pushed a commit to johnhooks/playground-tools that referenced this pull request Oct 11, 2024
* wp-now: create dummy commands and new package

* wp-now: re-create wp-now folders using nx

* wp-now: execute php code example

* wp-now: add connect node proxy to php runtime

* wp-now: download latest wp zip in .wp-now dir

* wp-now: download wordpress and proxy requests fixing location

* wp-now: remove unused run method

* wp-now: clean unused imports

* wp-now: css fixed, redirect fixed

* wp-now: setup sqlite

* wp-now: use express and change the response to bytes

* wp-now: rename download lib

* wp-now: add sqlite funciton

* wp-now: move sqlite logic to nodejs and unify paths

* wp-now: split create-server run-cli logic

* wp-now: update yarn lock

* wp-now: import HTTPMethod from abstract

* wp-now: avoid importing abstract

* wp-now: remove async from mountSqlite

* wp-now: clean unnecesary cli

* wp-now: fix imports after merge using NodePHP and universal

* wp-now: change build phase to esbuild module

* wp-now: remove clear console lines

* wp-now: use portFinder for open port source of truth

* wp-now: receive path as paramter

* wp-now: accept path and mode, enable plugin mode

* wp-now: infer mode plugin, theme, index or core

* wp-now: infer mode static directory

* wp-now: rename patchFile to updateFile

* wp-now: add comments to constants

* wp-now: reduce amount of child folders for sqlite

* wp-now: run always wp-now cli mode

Exmaple:
nx preview wp-now start --path=/Users/macbookpro/gutenberg

* wp-now: use path as a parameter instead of cwd()

* wp-now: fix code style

* wp-now: remove unnecessary log port number

* wp-now: update SQLite plugin name under quotes

* wp-now: remove node env suggestion from run-cli

* wp-now: project.json run commands sequentially

* wp-now: rename wordpress versions path

* wp-now: fix code style

* wp-now: rename requestBodyToMultipartFormData

* wp-now: reuse defineSiteUrl

* wp-now: include a WP-NOW Readme and copy it to dist

* wp-now: improve the readme redaction

* wp-now: improve the readme redaction

* wp-now: add phpVersion parameter

Closes: WordPress/wordpress-playground#232

* wp-now: fix code style

* wp-now: default mode is index

* wp-now: fix code style

* wp-now: use dashes for wordpress-versions folder

* wp-now: update readme

* wp-now: remove wp-content argument to use only home directory

* wp-now: rename phpVersion argument name to php

* wp-now: pass php version value from php argument
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working VS Code wp-now
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant