-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
111 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
### Development | ||
|
||
1. Install Docker | ||
[Install Docker](https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository) | ||
```sh | ||
sudo snap install docker | ||
``` | ||
|
||
2. install PHP | ||
```sh | ||
sudo apt install php-xmlwriter php-cli php-curl php-mbstring docker-compose-plugin | ||
./composer.phar install --prefer-dist --optimize-autoloader | ||
``` | ||
|
||
|
||
* [Using Subversion with the WordPress Plugin Directory](https://developer.wordpress.org/plugins/wordpress-org/how-to-use-subversion/) | ||
* [FAQ about the WordPress Plugin Directory](https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/) | ||
* [WordPress Plugin Directory readme.txt standard](https://wordpress.org/plugins/developers/#readme) | ||
* [A readme.txt validator](https://wordpress.org/plugins/developers/readme-validator/) | ||
* [Plugin Assets (header images, etc)](https://developer.wordpress.org/plugins/wordpress-org/plugin-assets/) | ||
* [WordPress Plugin Directory Guidelines](https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/) | ||
* [Block Specific Plugin Guidelines](https://developer.wordpress.org/plugins/wordpress-org/block-specific-plugin-guidelines/) | ||
|
||
### Running the plugin | ||
* `yarn build` | ||
* `yarn start` | ||
* Login and go to the Plugins page and click `Activate` on the Authress settings screen. | ||
|
||
|
||
### Testing | ||
To test login, navigate to `http://localhost:8080/wp-login.php` | ||
* The default login credentials as `admin` - `admin` | ||
Likewise the admin menu is at: `http://localhost:8080/wp-admin.php` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,24 @@ | |
# yarn lockfile v1 | ||
|
||
|
||
"@authress/login@*", "@authress/login@^2.5": | ||
version "2.5.321" | ||
resolved "https://registry.yarnpkg.com/@authress/login/-/login-2.5.321.tgz#cc5280cad9decbd14a562fe6362aa44d25807352" | ||
integrity sha512-QqhowmL91XLQ/Gqh+Z3jnE5amTMtYDs+kdZ5CwCXCt+ok/eR0//GHap6zdnU7vWpsTVfZzniQO7pSASFztI7hA== | ||
dependencies: | ||
cookie "^0.5.0" | ||
lodash.take "^4.1.1" | ||
|
||
"@authress/sdk@^2.3.6": | ||
version "2.3.136" | ||
resolved "https://registry.yarnpkg.com/@authress/sdk/-/sdk-2.3.136.tgz#a4e44081d7add18562e5e1ef21d2199c0947a339" | ||
integrity sha512-M2H0/h+PnobVN8XF2uTjdcfVy/OxDCI6jLd434h07c2v3seXaW4vg3NFmQSYHrLsA8RupB6WoPdQtPk8age7HA== | ||
dependencies: | ||
"@authress/login" "*" | ||
axios "^0.21" | ||
base64url "^3.0.1" | ||
jose "^4.8.3" | ||
|
||
"@sindresorhus/is@^0.14.0": | ||
version "0.14.0" | ||
resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea" | ||
|
@@ -59,24 +77,6 @@ [email protected]: | |
resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" | ||
integrity sha1-ml9pkFGx5wczKPKgCJaLZOopVdI= | ||
|
||
authress-login@^1.2.101: | ||
version "1.2.101" | ||
resolved "https://registry.yarnpkg.com/authress-login/-/authress-login-1.2.101.tgz#4d99c2d1677915577e83eea7b99b2af108e7e89b" | ||
integrity sha512-IYG7P1idqTAVGtd7x0oQnDXJKSU4vhVaEI9GZXwzymaJTEmoKlzXPp5D+Icoxn4Q7QxJuXaghdLluR+O5L1dRg== | ||
dependencies: | ||
axios "^0.21" | ||
base64url "^3.0.1" | ||
cookie "^0.4.1" | ||
|
||
authress-sdk@^1: | ||
version "1.2.17" | ||
resolved "https://registry.yarnpkg.com/authress-sdk/-/authress-sdk-1.2.17.tgz#19ccb1a4f7f7fdb50aa51737f081d29c20feef12" | ||
integrity sha512-1CNNKIHekwwd9p8I/p11NLXqBNffYE84UKTD1vdTuPx53Lkku5kMmvk11A8/gbAOSAMWWs55BJfIgC4TlGZRPg== | ||
dependencies: | ||
axios "^0.21" | ||
base64url "^3.0.1" | ||
jose "^3.6.2" | ||
|
||
axios@^0.21: | ||
version "0.21.4" | ||
resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575" | ||
|
@@ -260,11 +260,16 @@ [email protected]: | |
resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" | ||
integrity sha1-4wOogrNCzD7oylE6eZmXNNqzriw= | ||
|
||
[email protected], cookie@^0.4.1: | ||
[email protected]: | ||
version "0.4.2" | ||
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.2.tgz#0e41f24de5ecf317947c82fc789e06a884824432" | ||
integrity sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA== | ||
|
||
cookie@^0.5.0: | ||
version "0.5.0" | ||
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b" | ||
integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw== | ||
|
||
crypto-random-string@^2.0.0: | ||
version "2.0.0" | ||
resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-2.0.0.tgz#ef2a7a966ec11083388369baa02ebead229b30d5" | ||
|
@@ -638,10 +643,10 @@ is-yarn-global@^0.3.0: | |
resolved "https://registry.yarnpkg.com/is-yarn-global/-/is-yarn-global-0.3.0.tgz#d502d3382590ea3004893746754c89139973e232" | ||
integrity sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw== | ||
|
||
jose@^3.6.2: | ||
version "3.20.3" | ||
resolved "https://registry.yarnpkg.com/jose/-/jose-3.20.3.tgz#a074f684b07e49b35c075d97561883e3c637abf2" | ||
integrity sha512-Z4a5Nl4pmGivdSgaq+a5EbNjrvSO4vtBTmVy5C3HNxWfJ92aG8DTNZrQywowxyOlSqdX/BmCPAy/ieElXDM3pw== | ||
jose@^4.8.3: | ||
version "4.15.5" | ||
resolved "https://registry.yarnpkg.com/jose/-/jose-4.15.5.tgz#6475d0f467ecd3c630a1b5dadd2735a7288df706" | ||
integrity sha512-jc7BFxgKPKi94uOvEmzlSWFFe2+vASyXaKUpdQKatWAESU2MWjDfFf0fdfc83CDKcA5QecabZeNLyfhe3yKNkg== | ||
|
||
[email protected]: | ||
version "3.0.0" | ||
|
@@ -667,6 +672,11 @@ latest-version@^5.1.0: | |
dependencies: | ||
package-json "^6.3.0" | ||
|
||
lodash.take@^4.1.1: | ||
version "4.1.1" | ||
resolved "https://registry.yarnpkg.com/lodash.take/-/lodash.take-4.1.1.tgz#0b4146dcb7a70c6153495187fc10b12b71fefadf" | ||
integrity sha512-3T118EQjnhr9c0aBKCCMhQn0OBwRMz/O2WaRU6VH0TSKoMCmFtUpr0iUp+eWKODEiRXtYOK7R7SiBneKHdk7og== | ||
|
||
lodash@^4.17.21: | ||
version "4.17.21" | ||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" | ||
|