1
0
Fork 0
mirror of https://github.com/zhaofengli/attic.git synced 2024-12-14 11:57:30 +00:00
Commit graph

85 commits

Author SHA1 Message Date
Zhaofeng Li
979108869d integration-tests: init 2023-01-06 00:59:38 -07:00
Zhaofeng Li
330f4e4ac7 Add NixOS module
Fixes #1. Still needs documentation though.
2023-01-06 00:59:35 -07:00
Zhaofeng Li
d1e1cf7a61 flake.nix: Add overlay 2023-01-06 00:59:35 -07:00
Zhaofeng Li
b0471c6804 server/config: Support loading HS256 JWT secret from environment variable 2023-01-06 00:59:35 -07:00
Zhaofeng Li
82fb6682d7 Consolidate config loading logic 2023-01-06 00:59:35 -07:00
Zhaofeng Li
f1ada7595b server/gc: Fix subquery table locking on Postgres
We definitely need more tests :(
2023-01-06 00:59:35 -07:00
Zhaofeng Li
7b53ce15cd api/v1/upload-path: Inform the client whether the uploaded path is deduplicated 2023-01-04 21:05:07 -07:00
Zhaofeng Li
a7578d1896 server: Allow disabling proof of possession 2023-01-04 21:05:07 -07:00
Zhaofeng Li
69366cbe97 Run rustfmt 2023-01-04 21:05:07 -07:00
Zhaofeng Li
c04aff7c48 server: Attach tracing context to errors 2023-01-04 21:05:07 -07:00
Zhaofeng Li
27836028f4 server: Rename RemoteFileError to StorageError
Already renamed everywhere else.
2023-01-04 21:05:07 -07:00
Zhaofeng Li
49c7cca94b flake.nix: Add full busybox to Docker image for debugging 2023-01-04 21:05:07 -07:00
Zhaofeng Li
14d8b8f1b0 server/s3: Fix loading of AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY 2023-01-04 21:05:07 -07:00
Zhaofeng Li
3fd587315f server: Record uploader JWT subject in objects 2023-01-04 21:05:07 -07:00
Zhaofeng Li
f4e52f9ad0 .github/book: Work around PATH issue for now 2023-01-02 23:44:31 -07:00
Zhaofeng Li
d93a0f587c .github: Naively dogfood Attic 2023-01-02 23:29:09 -07:00
Zhaofeng Li
50e8e482d0 Add installer script for CI environments 2023-01-02 23:29:09 -07:00
Zhaofeng Li
b25ae9f777 server/error: Log certain errors on error level 2023-01-02 23:29:09 -07:00
Zhaofeng Li
d6c4d883f8 client/login: Add --set-default 2023-01-02 23:29:09 -07:00
Zhaofeng Li
425a757ad9 client/login: Don't overwrite existing token 2023-01-02 23:29:09 -07:00
Zhaofeng Li
ee693e9585 flake.nix: Add rustc back to devShell 2023-01-02 23:29:09 -07:00
Zhaofeng Li
50e5ecb7f9 Migrate to Crane
The nixpkgs-acceptable package expression is still in `package.nix`.
2023-01-02 23:29:09 -07:00
Zhaofeng Li
70ed477208 client/nix_netrc: Set permission to 0600 on creation and write 2023-01-02 23:29:09 -07:00
Zhaofeng Li
384e7aa92d client/config: Set permission to 0600 on creation and write 2023-01-02 23:29:09 -07:00
Zhaofeng Li
48f2d4e275 client/push: Allow setting the number of parallel uploads 2023-01-02 23:29:09 -07:00
Zhaofeng Li
b60fac7772 flake.nix: Rename flake-utils input to be more standard 2023-01-02 23:29:09 -07:00
Zhaofeng Li
2afecd29ad book/faqs: Copyedit 2023-01-01 21:10:03 -07:00
Zhaofeng Li
49f2ccbff8 server/adm: Also honor ATTIC_SERVER_CONFIG_BASE64 2023-01-01 20:59:02 -07:00
Zhaofeng Li
06332b7cc3 flake.nix: Add /bin/sh to Docker image for fly ssh console 2023-01-01 20:59:02 -07:00
Zhaofeng Li
ee16664046 book/faqs: Talk about compression 2023-01-01 20:59:02 -07:00
Zhaofeng Li
0c1f362a62 server: Add --mode check-config 2023-01-01 20:59:02 -07:00
Zhaofeng Li
a3636339e0 Update comments to reflect actual implementation 2023-01-01 20:59:02 -07:00
Zhaofeng Li
5404345bc7 package.nix: Fix license 2023-01-01 20:59:02 -07:00
Zhaofeng Li
dd57a06ee2 book/tutorial: "worker" was renamed to "api-server" 2022-12-31 21:50:14 -07:00
Zhaofeng Li
5aa1623dc2 Initial public commit 2022-12-31 17:01:07 -07:00