1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-16 06:15:07 -05:00
Commit Graph

6285 Commits

Author SHA1 Message Date
nicoco
b4bacd8f41 Add MUC service shutdown example 2022-12-20 19:21:30 +01:00
Jonas Schäfer
21b353e39b XEP-0428: add Marvin as co-author
As per council vote.
2022-12-20 18:43:47 +01:00
Jonas Schäfer
89ec670e36 Accept inbox/pubsub-targeted-encryption.xml as XEP-0477 2022-12-20 18:43:14 +01:00
Jonas Schäfer
d78a3a3a0f Accept inbox/pubsub-signing-openpgp.xml as XEP-0476 2022-12-20 18:43:04 +01:00
Jonas Schäfer
bbc6fbdac0 Accept inbox/pubsub-signing.xml as XEP-0475 2022-12-20 18:42:57 +01:00
Guus der Kinderen
286717f769 for #1240: Integrate XEP validation in CI
Adds a Github workflow that executes `tools/validate-xep0001-conformance.sh` against any changed XEP that was changed in a pull request.
2022-12-15 11:00:28 +01:00
Jonas Schäfer
7eaa3962a8 Merge branch 'fix/shtml-links' into premerge 2022-12-13 18:50:21 +01:00
Jonas Schäfer
32b23f1b91 Accept inbox/xep-downgrade-prevention.xml as XEP-0474 2022-12-13 18:39:57 +01:00
Jonas Schäfer
915884bc52 Accept inbox/pubsub-encryption.xml as XEP-0473 2022-12-13 18:39:37 +01:00
Jonas Schäfer
e54e113c05 Accept inbox/pubsub-social-feed.xml as XEP-0472 2022-12-13 18:39:25 +01:00
Jonas Schäfer
c2364c0f26 Accept inbox/events.xml as XEP-0471 2022-12-13 18:39:04 +01:00
Jonas Schäfer
28b3e18760 Merge branch 'xep-0045' into premerge 2022-12-13 18:30:52 +01:00
Jonas Schäfer
a60a28b54c Merge branch 'xep-0167' into premerge 2022-12-13 18:30:17 +01:00
Jonas Schäfer
da8bed50e4 Merge branch 'xep-0004' into premerge 2022-12-13 18:24:22 +01:00
Sam Whited
5c0c7cd8c5 XEP-0004: clarify rules for multi-item forms
Signed-off-by: Sam Whited <sam@samwhited.com>
2022-12-13 18:24:14 +01:00
Jonas Schäfer
f450ddd9c0 Merge branch '1235_validate-xep-0001-conformance' 2022-12-13 18:11:26 +01:00
Stephen Paul Weber
ff13349982
Use PEP (and XEP-0222) for XEP-0292
While the existing version says this was rejected by community consensus, since
then the consensus of most implementations is to use PEP directly even though it
was never specified to work, and that the raw-IQ protocol adds complexity.  This
update removes the raw-IQ mode and specifies the reuse of PEP.
2022-11-09 09:55:24 -05:00
Jonas Schäfer
55e6c02184 fix path 2022-11-08 21:37:00 +01:00
Jonas Schäfer
2d4b8b5728 Merge branch 'protoxep/sasl2-scram-upgrade' into premerge 2022-11-08 21:19:17 +01:00
Jonas Schäfer
1c07e6ce2f Merge branch 'protoxep/fast' into premerge 2022-11-08 21:18:55 +01:00
Jonas Schäfer
2ef743cb6a Merge branch 'protoxep/pubsub-targeted-encryption' into premerge 2022-11-08 21:18:35 +01:00
Jonas Schäfer
39d78d8a62 Merge branch 'protoxep/pubsub-signing-openpgp' into premerge 2022-11-08 21:17:08 +01:00
Jonas Schäfer
b4264ea689 Merge branch 'protoxep/pubsub-signing' into premerge 2022-11-08 21:16:48 +01:00
Guus der Kinderen
fbc0072c92 for #1235: fix incorrect exemption for XEP-0143 2022-11-06 20:31:58 +01:00
Guus der Kinderen
bee4c93cd3 for #1235: Do not exit script when XPATH yields no result
xmllint will return exit code 10 when an XPATH query finds no matches. With the changes in this commit, the script isn't stopped. Instead, it uses an empty value, which is likely to cause the validation checks (further down in the script) to fail.
2022-11-06 20:08:15 +01:00
Guus der Kinderen
028fd1a685 for #1235: Add legal notice validation
This adds a check for the usage of the _entity reference_ that is the legal notice.
2022-11-06 19:20:34 +01:00
Guus der Kinderen
56cef32c91 for #1235: Add header type validation. 2022-11-06 11:11:13 +01:00
Guus der Kinderen
da76032e24 for #1235: Add revision block version validation. 2022-11-06 10:40:02 +01:00
Guus der Kinderen
269e4d620a for #1235: Add xep.xsl XML stylesheet usage validation 2022-11-06 10:14:54 +01:00
Guus der Kinderen
3f6f199159 for #1235: variable casing to conform to convention 2022-11-06 09:45:33 +01:00
Guus der Kinderen
f1197f143a for #1235: Double quote to prevent globbing and word splitting.
As per @horazont's feedback:
> Whenever you reference a variable ($foobar) and unless you know what you're doing, put it in double quotes.
2022-11-06 09:40:32 +01:00
Guus der Kinderen
7389c8a3e9 for #1235: Remove redundant braces in if-expression
As per @horazont's feedback:
> You do not need () around the command in an if. I think that causes a subshell to spawn, the effects of which I'm not certain about.

Further Googling suggests that the exit status of a pipeline is that of the most recently executed foreground pipeline, meaning that the exit code can be used directly in conditional statements.
2022-11-06 09:33:59 +01:00
Guus der Kinderen
d65a5b4c2f for #1235: Use set -euo pipefail instead of set -e
As per @horazont's feedback: `-u` shouts at you if you use an undefined variable (very useful to catch typos)
and `-o pipefail` improves error handling by also failing if any of the commands in a pipe fail.
2022-11-06 09:29:18 +01:00
Guus der Kinderen
a7149be8c0 fixes #1235: Script that validates XEP-0001 conformance
This adds a simple bash script that checks if a provided file (filename to be provided as first argument) conforms to XEP-0001.

Expected to be executed from the directory that holds all xep XML files.
Requires one argument: the file name of the xep to be validated, eg:

    $ tools/validate-xep0001-conformance.sh xep-0010.xml

exit status will be non-zero upon validation failure.

requires: bash, xmllint
2022-11-05 16:53:26 +01:00
Maxime “pep” Buquet
8eb047a669
xep.xsl: Replace shtml link to community page
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-11-03 11:38:32 +01:00
Maxime “pep” Buquet
56c6de9da4
XEP-0148: Update revision to 1.1
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-11-03 11:37:57 +01:00
Maxime “pep” Buquet
31a3d44c93
XEP-0148: Replace shtml link
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-11-03 11:36:37 +01:00
Maxime “pep” Buquet
4d763ee885
XEP-0019: Update revision to 1.1
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-11-03 11:34:29 +01:00
Maxime “pep” Buquet
8357895b9e
XEP-0019: Replace shtml link
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-11-03 11:33:36 +01:00
Maxime “pep” Buquet
c97f8243a3
LICENSE: Replace shtml link
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-11-03 11:27:48 +01:00
Thilo Molitor
3b781795d0 New ProtoXEP: SASL2 SCRAM upgrade task 2022-11-03 01:47:31 +01:00
Matthew Wild
8182f580d3 New ProtoXEP: Fast Authentication Streamlining Tokens 2022-11-02 13:55:58 +00:00
Jérôme Poisson
7fa7c65812 Add ProtoXEP: Pubsub Targeted Encryption
Specifies a way to encrypt pubsub items for a restricted set of entities
2022-10-31 14:53:41 +01:00
Jérôme Poisson
5f201a973f Add ProtoXEP: Pubsub Signing: OpenPGP Profile
Specifies a pubsub signing profile for OpenPGP
2022-10-29 23:00:31 +02:00
Jérôme Poisson
72f6b99fc8 ProtoXEP Pubsub Signing: version 0.0.2
- replaced "signatory" term with the more commonly used "signer"
- added <to/> and <time/> elements (similar to XEP-0373)
2022-10-20 16:08:21 +02:00
Jérôme Poisson
03f89d8d7c Add ProtoXEP: Pubsub Signing
Specifies a mechanism to sign pubsub items
2022-10-17 11:41:12 +02:00
Jonas Schäfer
8d1f8e0a30 Merge branch 'fix/docker-build' 2022-10-12 18:11:42 +02:00
Jonas Schäfer
59b2a5ca15
Revert "Add license for bibliographic data" 2022-10-12 18:11:08 +02:00
Jonas Schäfer
943d5373a7 Merge branch 'protoxep/social-feed' into premerge 2022-10-12 18:09:39 +02:00
Jonas Schäfer
5600afd2ad Fix various XML issues 2022-10-12 18:09:29 +02:00