Matthew Holt
df3b6aa1cf
Rename Config to Server and use singular one in main
2018-04-15 08:31:50 -06:00
Matthew Holt
b98c171644
Refactor handlers: make Config not global
2018-04-12 19:55:44 -06:00
Alexander Neumann
7dd5483ea3
Merge pull request #64 from restic/fix-append-only
...
Security: Refuse overwriting the config file in append-only mode
2018-04-02 13:25:46 +02:00
Alexander Neumann
0f4f747b74
Add entry to changelog
2018-04-02 13:09:37 +02:00
Alexander Neumann
0f72176ddd
Refuse writing the config in append-only mode
2018-04-02 13:09:37 +02:00
Alexander Neumann
8dad5a5f41
Add test for append-only mode
2018-04-02 13:09:37 +02:00
Alexander Neumann
899ef655ef
Merge pull request #62 from restic/add-changelog
...
Add changelog generated by calens
2018-04-02 12:45:17 +02:00
Alexander Neumann
7126dfec79
Merge pull request #63 from jcgruenhage/patch-1
...
remove sudo from makefile
2018-03-30 11:46:27 +02:00
Jan Christian Grünhage
9107b94367
remove sudo from makefile
...
the makefile should not depend on sudo
2018-03-29 11:27:03 +02:00
Alexander Neumann
9d6316bd6e
Add pull request URL
2018-03-24 17:41:54 +01:00
Alexander Neumann
897d5a026c
Add changelog generated by calens
...
Closes #44
2018-03-24 17:40:49 +01:00
Konrad Wojas
4d2493388a
Require auth by default, add --no-auth flag
...
In order to prevent users from accidentally exposing rest-server without
authentication, rest-server now defaults to requiring a .htpasswd. If
you want to disable authentication, you need to explicitly pass the new
--no-auth flag.
2018-03-24 13:30:54 +01:00
Leo R. Lundgren
02196a18d8
Clarify that the server does NOT authenticate users without a .htpasswd file.
2018-03-21 23:34:41 +01:00
Leo R. Lundgren
cbafb98113
Add --version flag to print version and exit.
2018-03-21 22:50:14 +01:00
Alexander Neumann
a6961e877b
Travis: Fix tests (again)
...
The problem is that in Go < 1.9 "..." also matches the vendor directory,
and we don't want to run those tests :)
2018-03-20 22:19:42 +01:00
Leo R. Lundgren
ec7289235c
Rename --cpuprofile flag to --cpu-profile ( #53 )
2018-03-20 21:46:30 +01:00
Alexander Neumann
698b6331b9
Travis: Test all the versions that we support
...
At the moment, `build.go` is configured to check that Go >= 1.7 is used,
so let's test that on Travis.
2018-03-20 21:16:58 +01:00
Alexander Neumann
69ed06aa66
Move TestIsUserPath to correct package
2018-03-20 21:16:58 +01:00
Alexander Neumann
cda126a99c
Fix tests on Travis
2018-03-20 21:16:58 +01:00
rawtaz
4019e3f45e
doc: Add --private-repos flag to README.md ( #48 )
2018-03-20 20:35:18 +01:00
rawtaz
ef5733293f
doc: Add --private-repos flag to README.md ( #48 )
2018-03-20 20:02:17 +01:00
rawtaz
6f6f570b31
doc: Minor grammar fixes.
2018-03-20 20:02:17 +01:00
Aaron Bieber
496f8ea1f6
remove ip from freebsd example
2018-03-01 08:08:33 +01:00
Aaron Bieber
dfe9755ed0
add example rc scripts for OpenBSD and FreeBSD
2018-03-01 08:08:33 +01:00
Zlatko Čalušić
2209f1437e
Version 0.9.7
2018-02-18 15:52:29 +01:00
Zlatko Čalušić
c3b57a177c
Fix error handling in build.go copyFile()
2018-02-18 15:47:47 +01:00
Zlatko Čalušić
668c992035
Update AUTHORS
2018-02-18 15:31:38 +01:00
Zlatko Čalušić
16a4d01ac1
Update .travis.yml
2018-02-18 15:30:21 +01:00
Zlatko Čalušić
36012fd7b3
Update dependencies
2018-02-18 15:29:43 +01:00
Zlatko Čalušić
facfd2437e
Update README.md
2018-02-15 17:26:09 +01:00
Aaron Bieber
bdaa1ae345
Check for more bcrypt prefixes
2018-02-15 17:19:17 +01:00
Aaron Bieber
733c8da8fc
Enable support for bcrypt'd password hashes in htpasswd
2018-02-15 17:19:17 +01:00
Alexander Neumann
03958beb57
Update build.go
2018-02-11 11:34:49 +01:00
Zlatko Čalušić
aee26a5045
Fix link in README.md
2018-01-28 19:32:39 +01:00
Zlatko Čalušić
f25bf989dc
Move systemd service file under examples/systemd/
2018-01-28 19:28:16 +01:00
Zlatko Čalušić
05c6a03ad7
Dockerfile: use latest alpine base image
2018-01-28 19:23:53 +01:00
Alexander Neumann
bf34e9d62d
Implement amended API protocol v2
...
The version is now selected via the HTTP request header "Accept".
2018-01-23 23:34:32 +01:00
Zlatko Čalušić
cd4d054887
Introduce ListBlobsV2()
...
Returns not only blob names, but also their sizes.
References:
https://github.com/restic/restic/issues/1567
https://github.com/restic/restic/pull/1571
2018-01-23 23:34:32 +01:00
Mebus
55134ae37a
removed some blank lines
2018-01-23 13:56:26 +01:00
Zlatko Čalušić
b91d38076a
Optimize Config struct (maligned)
2018-01-23 13:56:26 +01:00
Mebus
97835b4cfd
added test for private repos
2018-01-23 13:56:26 +01:00
Mebus
0f85243f5a
implemented wojas proposal in handlers.go
2018-01-23 13:56:26 +01:00
Mebus
75578acd66
fixed the code style with goimports
2018-01-23 13:56:26 +01:00
Mebus
6c846f856c
added a feature for private repositories
2018-01-23 13:56:26 +01:00
Zlatko Čalušić
f99197dcf9
Update Makefile
...
- use latest Golang alpine image for building
- tag and push specific version of container
2018-01-21 21:01:09 +01:00
Zlatko Čalušić
c48c660678
Version 0.9.6
2018-01-21 19:52:32 +01:00
Zlatko Čalušić
9ef84dcdea
Update dependencies
2018-01-21 19:43:52 +01:00
Zlatko Čalušić
0a5606e954
Update examples/compose-with-grafana/README.md
2018-01-21 19:36:01 +01:00
Zlatko Čalušić
5a2c70c9e1
Update AUTHORS
2018-01-21 19:28:17 +01:00
Zlatko Čalušić
cbe5cf5c74
Optimize Config struct (maligned)
2018-01-21 19:25:12 +01:00