Commit graph

28 commits

Author SHA1 Message Date
sterni
438db1be30 fix(net/crimp): correctly set content length for PUT requests
Since https://github.com/curl/curl/commit/9c845be2797e20475
(presumably), libcurl will overwrite our previously set request
method to POST if we set .post_field_size(…). The fix is to use
the proper option for PUT/upload, .in_filesize(…). While we're
at it, switch to using .upload(…) instead of the deprecated
.put(…) which should be the same for HTTP.

Change-Id: I393c1a02c70d5b99dff5901cd6e9d9434f68c15b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11132
Tested-by: BuildkiteCI
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: tazjin <tazjin@tvl.su>
2024-03-11 16:36:36 +00:00
Vincent Ambo
8832a0b45b chore(net/alcoholic_jwt): bump cargo dependencies
Fixes:

* RUSTSEC-2023-0022
* RUSTSEC-2023-0044
* RUSTSEC-2023-0023
* RUSTSEC-2023-0024

Change-Id: I6eb9d1041e6b4ce4665e9829ad4aad5385990724
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10015
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
2023-11-12 22:42:03 +00:00
sterni
0c178a0ef6 chore(3p/sources): Bump channels & overlays
Upstream nixpkgs removed a lot of aliases this time, so we needed to do
the following transformations. It's a real shame that aliases only
really become discoverable easily when they are removed.

* runCommandNoCC -> runCommand
* gmailieer -> lieer
  We also need to work around the fact that home-manager hasn't catched
  on to this rename.
* mysql -> mariadb
* pkgconfig -> pkg-config
  This also affects our Nix fork which needs to be bumped.
* prometheus_client -> prometheus-client
* rxvt_unicode -> rxvt-unicode-unwrapped
* nix-review -> nixpkgs-review
* oauth2_proxy -> oauth2-proxy

Additionally, some Go-related builders decided to drop support for
passing the sha256 hash in directly, so we need to use the generic hash
arguments.

Change-Id: I84aaa225ef18962937f8616a9ff064822f0d5dc3
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6792
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Reviewed-by: flokli <flokli@flokli.de>
Reviewed-by: tazjin <tazjin@tvl.su>
Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-09-28 08:02:31 +00:00
Vincent Ambo
6e364d3d54 chore(alcoholic_jwt): prepare release v4091
Documentation updates & dependency bumps.

Change-Id: I18c3e9ad34ebf970c3ce81183188508976c2d4e6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5624
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-05-16 18:53:30 +00:00
Vincent Ambo
a226639afa chore(alcoholic_jwt): update copyright header
The original copyright was released back in the day when Aprila and I
parted ways, and I'm happy with just assigning it to TVL.

Change-Id: I8fcba55bfa7f460b29e60f29e8fd24ffca2cd75b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5623
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
2022-05-16 18:46:28 +00:00
Vincent Ambo
224eb8a3a3 docs(alcoholic_jwt): add 'contributing' section to docs
Change-Id: Iaa06b3a7d643a2688d43275aedf708fa4208586c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5622
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
2022-05-16 18:45:33 +00:00
Vincent Ambo
94cf85c5cc chore(alcoholic_jwt): base64: 0.10 -> 0.13
this removes another transitive dependency \o/

Change-Id: I511b54c5841066e6f517edfc2c81ec607ca2bf55
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5621
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
2022-05-16 18:45:33 +00:00
Vincent Ambo
8f84059de8 chore(crimp): prepare release of v4087
Just housekeeping changes (docs updates, dependency bumps).

Change-Id: Id404490ae3c67a8d14c91fd53691f5809f0a1d08
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5620
Reviewed-by: grfn <grfn@gws.fyi>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2022-05-16 18:15:18 +00:00
Vincent Ambo
fe62a33645 docs(crimp): update README with depot information
Change-Id: I48aca4f96178e9f25d58900798997e55c5062b43
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5619
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
2022-05-16 18:06:54 +00:00
Vincent Ambo
e39e773464 chore(crimp): bump cargo dependencies
a simple `cargo update`

Change-Id: Ieabb10ef53aeef6416c849036317995fef5b6703
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5618
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
2022-05-16 18:06:54 +00:00
Vincent Ambo
2c847e0dc1 chore(alcoholic_jwt): Prepare release of v4084
Change-Id: Id45d4b7b33c29ed8ae3c487c4303266a8ca0fad3
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5617
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2022-05-16 17:55:04 +00:00
Vincent Ambo
10d07ad985 chore(alcoholic_jwt): bump cargo dependencies
a simple `cargo update`

Change-Id: I388fcb3822678e7f025f0f86c6e9af450bf29bd8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5616
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
2022-05-16 17:44:22 +00:00
Griffin Smith
d377830281 feat(net/alcoholic_jwt): Implement Error for ValidationError
This allows using it unchanged in contexts where working with &dyn Error
is desirable, such as when using anyhow.

Change-Id: Ide34025e432204546b2c80b14b870af42dbfbb44
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5615
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: grfn <grfn@gws.fyi>
2022-05-16 15:37:11 +00:00
Griffin Smith
e20f7695fa chore(net/alcoholic_jwt): Remove travis-ci build badge
It looks like this has been very obsolete for a very long time

Change-Id: I34d1200e3d9595f0ab9101329aec7774f965a154
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5614
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: grfn <grfn@gws.fyi>
2022-05-16 14:09:01 +00:00
Vincent Ambo
f817ad86f2 chore(net/crimp): Bump all dependencies via cargo update
Change-Id: I845d7911799a9287a63679fade5b47d651d822f8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5317
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
2022-02-20 15:46:57 +00:00
Vincent Ambo
3d8ee62087 style(rust): Format all Rust code with rustfmt
Change-Id: Iab7e00cc26a4f9727d3ab98691ef379921a33052
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5240
Tested-by: BuildkiteCI
Reviewed-by: kanepyork <rikingcoding@gmail.com>
Reviewed-by: Profpatsch <mail@profpatsch.de>
Reviewed-by: grfn <grfn@gws.fyi>
Reviewed-by: tazjin <tazjin@tvl.su>
2022-02-08 12:06:39 +00:00
Vincent Ambo
509ea7f3cb feat(crimp): Add Nix build for crate
... mostly to get CI.

Note that this adds the Cargo.lock file because we require pinning,
but it is generally not required for Rust libraries.

Change-Id: I565c7c8e899694accf3efd825ff46225f3c47d1a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3363
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
2021-08-15 14:18:59 +00:00
Vincent Ambo
db5ba28735 feat(alcoholic_jwt): Add Nix build for crate
... mostly to get CI.

Note that this adds the Cargo.lock file because we require pinning,
but it is generally not required for Rust libraries.

Change-Id: Iedbd3758e8df8a7f60fe67b6b06c8e41aba8f345
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3362
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
2021-08-15 14:18:59 +00:00
Vincent Ambo
038cf39998 chore(alcoholic_jwt): Prepare 1.0.1 release
This release includes fixes for the audience claim. It has also been
pointed out to me that the repository URL on crates.io was pointing at
the old location.

Change-Id: Ie6265c86932a67a8f8c0210271f1d69b6394756b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3361
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
2021-08-15 14:18:59 +00:00
Vincent Ambo
e90242d029 chore(net): Remove mushroom
We don't need to build this anymore.

Change-Id: I0ddd4ec3db9eb4774553003e18c5503b0f431810
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1842
Reviewed-by: tazjin <mail@tazj.in>
Reviewed-by: lukegb <lukegb@tvl.fyi>
Tested-by: BuildkiteCI
2020-08-26 22:21:10 +00:00
Caranatar
618e5540c2 fix(alcoholic_jwt): Support multiple values in jwt audience claim
Per https://tools.ietf.org/html/rfc7519#section-4.1.3, the audience
claim can consist of either a single string or an array of strings.
The latter currently causes an error due to the type of aud in
PartialClaims.

Message-Id: <87r1toex8n.fsf@riseup.net>
Change-Id: I6e00791d0ba56cb1e3c029e1b8617c33000d2ab1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/946
Tested-by: BuildkiteCI
Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-07-06 21:50:05 +00:00
Vincent Ambo
9b6afd090c chore(net/mushroom): Bootstrap project 2020-06-08 00:31:52 +01:00
Vincent Ambo
87cf3a2c6f chore(net/stomp_erl): Remove erlang.mk
The project should be migrated to one of the newer mechanisms, like
rebar.
2019-12-21 03:05:51 +00:00
Vincent Ambo
ad07fc31ed merge(crimp): Integrate at //net/crimp 2019-12-21 01:28:09 +00:00
Vincent Ambo
48c738b1b5 chore(crimp): Prepare for depot merge 2019-12-21 01:27:49 +00:00
Vincent Ambo
ec826db87a merge(alcoholic_jwt): Integrate at //net/alcoholic_jwt 2019-12-21 01:24:22 +00:00
Vincent Ambo
14462d5ecd chore(alcoholic_jwt): Prepare for depot merge 2019-12-21 01:24:02 +00:00
Vincent Ambo
32d16e2b02 chore(stomp.erl): Prepare for depot merge 2019-12-21 01:20:41 +00:00