1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-15 13:55:03 -05:00
Commit Graph

5364 Commits

Author SHA1 Message Date
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
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
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
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
Florian Schmaus
002637c309 Add SASL Channel-Binding ProtoXEP to inbox/ 2020-05-22 09:44:21 +02:00
Sam Whited
a8b67624ac XEP-0389: add intro to flows section 2020-05-20 09:45:04 -04:00
Sam Whited
9a7d41bcd8 XEP-0389: move Disco section to the top 2020-05-20 09:45:04 -04:00
Sam Whited
05eaea263d XEP-0389: always require disco/caps feature 2020-05-20 09:45:04 -04:00
Sam Whited
19c32fce88 XEP-0389: inline examples in Retrieving the Flows 2020-05-20 09:45:04 -04:00
Sam Whited
73b323a4c6 XEP-0393: editorial changes from LC feedback 2020-05-20 09:37:16 -04:00
Jonas Schäfer
eb3ccc48f0 Merge branch 'feature/xep-0436' 2020-05-12 21:23:52 +02:00
Jonas Schäfer
a05eb4cfee XEP-0393: Issue Last Call as per Council request 2020-05-12 19:00:55 +02:00
Jonas Schäfer
23c9faf617 XEP-0280: Move back to Experimental as per Council decision 2020-05-12 19:00:14 +02:00
JC Brand
37c5060233 XEP-0436: Updates based on list feedback
- Create a separate tag for sending the version number
- Include a reset token
- Remove the "additional measures" section and merge parts into "Requirements"
- Mandate that presences are always sent for affiliated users
2020-05-10 15:47:59 +02:00
Jonas Schäfer
46e9a39f16 XEP-0437: fix namespace 2020-05-05 21:10:53 +02:00
Jonas Schäfer
6271b5d461 XEP-0339: Issue last call 2020-05-05 20:58:55 +02:00
Jonas Schäfer
38850689a4 XEP-0320: Issue last call 2020-05-05 20:58:26 +02:00