Skip to content

Commit d4bc6fc

Browse files
committed
Real Initial Commit
1 parent d1f4eae commit d4bc6fc

File tree

357 files changed

+87315
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

357 files changed

+87315
-0
lines changed

.codeclimate.yml

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
exclude_paths:
3+
- tests/
4+
- node_modules/
5+
- languages/
6+
- vendor/
7+
- js/vendor/
8+
- lib/
9+
- ".sass-cache/"
10+
- "*.min.css"
11+
- "*.min.js"
12+
- "css/**.css"
13+
- "js/*.js"
14+
15+
engines:
16+
csslint:
17+
enabled: false
18+
duplication:
19+
enabled: false
20+
config:
21+
languages:
22+
- javascript
23+
- php
24+
eslint:
25+
enabled: true
26+
channel: eslint-3
27+
fixme:
28+
enabled: true
29+
markdownlint:
30+
enabled: false
31+
phpcodesniffer:
32+
enabled: true
33+
config:
34+
file_extensions: php
35+
standard: WordPress
36+
ignore_warnings: false
37+
encoding: utf-8
38+
phpmd:
39+
enabled: true
40+
config:
41+
file_extensions: php
42+
rulesets: codesize,naming,unusedcode
43+
scss-lint:
44+
enabled: true
45+
ratings:
46+
paths:
47+
- "**.md"
48+
- "**.inc"
49+
- "**.js"
50+
- "**.json"
51+
- "**.php"
52+
- "**.css"
53+
- "**.scss"

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
vendor

README.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Psst Documentation
2+
3+
Pretty Secure Secret Transactions
4+
5+
This plugin is gives visitors a way to create one time secrets that expire after viewing.
6+
7+
By default all secrets are secured using WordPress salts and SHA256 encryption. Once a item is viewed the secret is
8+
deleted from the database. Once the secret expires it is deleted from the database.
9+
10+
**This plugin works most effectively when using a true cron and not specifically relying on WordPress built in scheduler**
11+
12+
## Crons
13+
14+
By default 3 cron events are scheduled
15+
* 5min : Expire all secrets
16+
* Hourly: Purge and Expired secrets
17+
* Daily: Daily audit to purge any potentially missed secrets
18+
19+
## Changelog
20+
21+
Version: 1.0.0 Initial Release:

composer.json

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"name": "linchpin/psst",
3+
"description": "Pretty Secure Secret Transmission",
4+
"keywords": ["wordpress", "plugin", "linchpin"],
5+
"homepage": "https://linchpin.com/plugins/psst",
6+
"license": "GPL-2.0+",
7+
"authors": [{
8+
"name": "linchpin",
9+
"email": "[email protected]",
10+
"homepage": "https://linchpin.com"
11+
}],
12+
"minimum-stability": "dev",
13+
"prefer-stable": true,
14+
"type": "wordpress-plugin",
15+
"support": {
16+
"issues": "https://github.com/linchpin/psst/issues",
17+
"forum": "https://wordpress.org/support/plugin/psst",
18+
"wiki": "https://github.com/linchpin/psst/wiki",
19+
"source": "https://github.com/linchpin/psst/"
20+
},
21+
"require": {
22+
"php": ">=7.1.29",
23+
"composer/installers": "^1.0",
24+
"defuse/php-encryption": "^2.2"
25+
},
26+
"require-dev": {
27+
"wpreadme2markdown/wpreadme2markdown": "*"
28+
},
29+
"repositories":[
30+
{
31+
"type":"composer",
32+
"url":"https://wpackagist.org"
33+
}
34+
]
35+
}

0 commit comments

Comments
 (0)