Roman Kredentser
55ad1354b6
link: Add --expire and --unlink flags
...
This adds expire and unlink fields to the PublicLink interface.
This fixes up the affected backends and removes unlink parameters
where they are present.
2020-06-05 14:51:05 +01:00
Nick Craig-Wood
49ba4eeb86
oauthutil: tidy interface to Config to add Options struct
...
The interface was getting so that a new function was needed for every
Config variant. Adding an Options struct fixes this.
2020-05-26 11:27:01 +01:00
Tim Gallant
14f6ce1e77
premiumizeme: pass options to rest.Opts for Put and Update
2020-04-23 11:07:21 +01:00
Lars Lehtonen
ac60b36e77
backend/premiumizeme: prune unused functions
2020-02-11 12:17:35 +00:00
Nick Craig-Wood
bafe7d5a73
backends: move encoding definitions from fs/encodings
2020-01-16 14:40:36 +00:00
Nick Craig-Wood
3c620d521d
backend: adjust backends to have encoding parameter
...
Fixes #3761
Fixes #3836
Fixes #3841
2020-01-16 14:40:36 +00:00
Nick Craig-Wood
4615343b73
premiumizeme: use lib/encoder
2019-10-02 11:34:08 +01:00
Nick Craig-Wood
58a531a203
rest: add context propagation to rest library #3257
...
This fixes up the calling and propagates the contexts for the backends
which use lib/rest.
2019-09-09 23:27:07 +01:00
Nick Craig-Wood
193c30d570
Review random string/password generation
...
- factor password generation into lib/random.Password
- call from appropriate places
- choose appropriate use of random.String vs random.Password
2019-08-25 11:09:19 +01:00
Nick Craig-Wood
a1263e70cf
premiumizeme: new backend for premiumize.me - Fixes #3063
2019-08-10 19:17:51 +01:00