1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-12-04 15:02:19 -05:00
Commit Graph

6231 Commits

Author SHA1 Message Date
Florian Schmaus
9ae18b9e99 XEP-0390: Explain that ASCII Seperators are invalid only in XML *1.0*
but not in XML 1.1.
2020-06-14 16:34:12 +02:00
Maxime Buquet
4b5d9c3f54 Merge branch '0329-superfluous-node' into 'main'
XEP-0329: Fix example 7, remove superfluous 'node' attribute

See merge request xsf/xeps!5
2020-06-14 13:51:28 +00:00
Jonas Schäfer
498bb4c56e ci: increase fetch depth for changed file detection
This is required to accomodate branches which are slightly behind
master.
2020-06-14 15:46:56 +02:00
Jonas Schäfer
7941813d79 ci: correctly detect outdated branches 2020-06-14 15:46:56 +02:00
Jonas Schäfer
b028cca04d ci: use git merge-base to detect changed files
This prevents false positives if the branch is not rebased on
current main.
2020-06-14 15:46:56 +02:00
Jonas Schäfer
bf5bace92e ci: do not include deleted files in the changed builds 2020-06-14 15:46:52 +02:00
Maxime “pep” Buquet
51aa7ed691
XEP-0329: Add 0.4.1 revision block
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-06-14 15:34:01 +02:00
Florian Schmaus
fa0c61d1e2 XEP-0329: Fix example 7, remove superfluous 'node' attribute
The result IQ's <query/> child element does not need to carry the node
information. And in this case the node information was actually wrong,
since "documents/test2.txt" was queried, and not "test2.txt".
2020-06-14 15:24:52 +02:00
Jonas Schäfer
7964a9a59d Merge branch 'feature/accept-sasl-cb-types' into 'main'
Accept inbox/xep-sasl-cb-types.xml as XEP-0440

See merge request xsf/xeps!4
2020-06-14 13:02:33 +00:00
Jonas Schäfer
efa6cc6213 Accept inbox/xep-sasl-cb-types.xml as XEP-0440 2020-06-14 14:52:16 +02:00
Jonas Schäfer
c36de068e4 Merge branch 'feature/gitlab-pipeline' 2020-06-14 14:34:31 +02:00
Jonas Schäfer
0dbfaff260 Create GitLab.com CI pipeline
This pipeline features the following:

- Building of an nginx image with the XEPs as static files,
  in all formats.
- Incremental builds on the main branch and incremental builds
  for MRs based on the last main build.
- Automatic archiving of changed XEPs to the attic
- Automatic announcement to the mailing lists
2020-06-14 14:09:35 +02:00
Jonas Schäfer
2ea54d4a3c send-updates.py: Introduce support to skip editorial changes
We generally do not want to announce those on the mailing lists,
so this switch allows us to avoid having to run without -y.
2020-06-14 11:09:47 +02:00
Jonas Schäfer
7eb2c2e095 archive.py: add support for skipping building during archiving
If it is known that the documents have already been built or if it
is imperative to use the versions built even if local changes have
been applied since the last build, this switch comes in handy.
2020-06-14 11:09:19 +02:00
Jonas Schäfer
a694dd21ab Fix Makefile dependencies on directories
Most jobs depend on build or one of its subdirectories. By default,
this causes make to take the timestamp of the `build` directory (or
the respective subdirectory) into account when calculating whether
a job needs rebuilding.

This is a problem, because the modified timestamp of `build` updates
whenever a file is put into it. Effectively, this breaks incremental
builds.

Luckily, GNU(?) Make supports Order-only Dependencies, prefixed with
a pipe (`|`) symbol in the dependency list. That means that the
dependencies are not taken into account for freshness checks, but
will be built before the target (if they are non-fresh).

This commit introduces usage of Order-only Dependencies for the
output directories, which fixes incremental building.
2020-06-14 11:07:10 +02:00
Jonas Schäfer
34ab0af5a0 Merge branch 'feature/xep-0384' 2020-06-09 17:55:34 +02:00
Jonas Schäfer
2b33ec4e78 XEP-0384: add revision block 2020-06-09 17:55:20 +02:00
Jonas Schäfer
516a1ae3f2 XEP-0050: add revision block 2020-06-09 17:49:10 +02:00
Jonas Schäfer
fc14df1d8d Add a note that the execute action is discouraged 2020-06-09 17:48:51 +02:00
Kevin Smith
ed41edb80c Use Jonas's suggested wording 2020-06-09 17:48:46 +02:00
Kevin Smith
e90ead0673 XEP-0050. Try to clarify usage of 'execute' 2020-06-09 17:43:54 +02:00
Paul Schaub
3a8438c61e
Incorporate feedback from Sofía Celi. Thanks! 2020-06-07 16:03:59 +02:00
Sam Whited
2ef4e1106a XEP-0393: remove disabling individual spans/blocks
This was a nice workaround, but a convenient code point that is actually
for this sort of use can't be found.
2020-06-04 10:34:15 -04:00
Jonas Schäfer
c9a70af391 Merge branch 'feature/xep-0393' 2020-06-02 16:14:07 +02:00
Jonas Schäfer
0ee514c696 Merge branch 'feature/xep-0402' 2020-06-02 15:54:06 +02:00
Jonas Schäfer
a8138e1da0 Merge branch 'feature/xep-0424' 2020-06-02 15:53:51 +02:00
Sam Whited
13631dd0d4 XEP-0393: updates based on LC feedback 2020-06-02 09:53:06 -04:00
JC Brand
457ecf3ac1 XEP-0424: Clarify when a service must advertise disco support
And add another disco URN for tombstones.
2020-06-02 15:52:20 +02:00
Jonas Schäfer
1edb38e660 XEP-0402: add revision block 2020-06-02 15:48:23 +02:00
Maxime “pep” Buquet
51acaae1d2
XEP-0157: Add version block for registrar change
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-28 14:34:56 +02:00
Florian Schmaus
2ddcac7fbf XEP-0157: Add <validate/> to status-address registry entry
Signed-off-by: Florian Schmaus <flo@geekplace.eu>
2020-05-28 14:33:40 +02:00
Maxime “pep” Buquet
64ad22d696
XEP-0157: Add status-addresses registrar entry
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-28 14:30:12 +02:00
Maxime “pep” Buquet
473e002fb0
XEP-0402: schema: <extensions/> is optional
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-26 17:53:41 +02:00
Jonas Schäfer
caa2ad41ef Merge branch 'feature/xep-0393' 2020-05-26 17:44:53 +02:00
Jonas Schäfer
4aa55938d6 XEP-0320: Advance to Draft 2020-05-26 17:32:27 +02:00
Jonas Schäfer
f0ae6ef47b XEP-0339: Advance to Draft 2020-05-26 17:32:01 +02:00
Jonas Schäfer
fa04070a80 Merge branch 'feature/xep-0411' 2020-05-26 17:30:58 +02:00
Jonas Schäfer
a6e9b48803 Merge branch 'feature/xep-0402' 2020-05-26 17:30:27 +02:00
Jonas Schäfer
a096b2d808 XEP-0402: add revision block 2020-05-26 17:30:15 +02:00
Jonas Schäfer
0ea8ff4020 Merge branch 'feature/xep-0402-part-2' into feature/xep-0402 2020-05-26 17:29:10 +02:00
Jonas Schäfer
eea6ed9c61 Merge branch 'feature/xep-0414' 2020-05-26 17:28:01 +02:00
Sergey Ilinykh
943ee76cb8 XEP-0414: Reverse SHOULD/MUST for Blake2b algorithms
While Blake2b is capable to produce digests of any size from 1 to 64 bytes, It's default mode is 64 bytes (512 bits) though.
Some libraries implement just default digest size.

* OpenSSL supports blake2s-256 and blake2b-512 (no blake2b-256)
* gcrypt supports both blake2b-256 and blake2b-512
* nss supports none of blake2b
* Botan - any digest size
* Java: https://github.com/alphazero/Blake2b - any digest size
* Go-lang: https://godoc.org/golang.org/x/crypto/blake2b - both blake2b-256 and blake2b-512
* Rust: https://docs.rs/blake2/0.8.1/blake2/ - any digest size, 512 by default
* JS: https://github.com/dcposch/blakejs - any digest size, 512 by default

Also various libraries based on openssl will provide just blake2b-512.
So it looks to be a preferable choice over blake2b-256
2020-05-26 17:27:03 +02:00
Jonas Schäfer
3b0a5c9e2b Merge branch 'feature/protoxep-cbcaps' 2020-05-26 17:26:20 +02:00
Jonas Schäfer
8e5fd8100e Merge branch 'feature/xep-0389' 2020-05-26 17:25:49 +02:00
Jonas Schäfer
7a15466651 Merge branch 'feature/xep-0068' 2020-05-26 17:24:51 +02:00
Florian Schmaus
f78938a44f [formtypes] Clarify FORM_TYPE field type on 'submit' type forms
Since 'submit' type forms are allowed to omitt the explicit declartion
of the form field type, we must specify that the special FORM_TYPE
field in 'submit' forms may not carry a type declartion.

This just reflects what it is done in the wild anyways.

Co-authored-by: Marvin W <git@larma.de>
2020-05-26 17:23:29 +02:00
Sam Whited
ae5f2c7ade XEP-0389: overhaul document structure
This also adds more information to the <success> element to make flows
where the server assigns the JID possible.
2020-05-26 11:23:03 -04:00
Maxime “pep” Buquet
86f7653904
XEP-0402: Fix closing tags in examples
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-25 02:25:23 +02:00
Maxime “pep” Buquet
fd9f489c07
XEP-0411: Fix (typo) XEP numbers
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-25 01:45:16 +02:00
Maxime “pep” Buquet
e3a3fe0e7c
XEP-0402: Add schema
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-25 00:02:39 +02:00