Matt Gibson
edf30974dc
Validate cipher updates with revision date ( #994 )
...
* Add last updated validation to cipher replacements
* Add AutoFixture scaffolding.
AutoDataAttributes and ICustomizations are meant to automatically
produce valid test input. Examples are the Cipher customizations,
which enforce the model's mutual exclusivity of UserId and
OrganizationId.
FixtureExtensions create a fluent way to generate SUTs. We currently
use parameter injection to fascilitate service testing, which is nicely
handled by AutoNSubstitute. However, in order to gain access to the
substitutions, we need to Freeze them onto the Fixture. The For fluent
method allows specifying a Freeze to a specific type's constructor and
optionally to a parameter name in that constructor.
* Unit tests for single Cipher update version checks
* Fix test runner
Test runner requires Microsoft.NET.Test.Sdk
* Move to provider model for SUT generation
This model differs from previous in that you no longer need to specify
which dependencies you would like access to. Instead, all are
remembered and can be queried through the sutProvider.
* User cipher provided by Put method reads
Every put method already reads all relevant ciphers from database,
there's no need to re-read them.
JSON serialization of datetimes seems to leave truncate at second
precision. Verify last known date time is within one second rather than
exact.
* validate revision date for share many requests
* Update build script to use Github environment path
Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan >
2020-11-23 08:48:05 -06:00
Addison Beck
229478adae
Feature.web.534.allow multi select in org vault ( #830 )
...
* Set up API methods for bulk admin delete
2020-07-22 11:38:53 -05:00
Chad Scharf
4defd13395
[Soft Delete] - fix Upsert calls based on cipher supertype
2020-04-08 16:18:22 -04:00
Chad Scharf
c0019e7abc
[Soft Delete] Update assignment of deleted and revision date to 1-liner
2020-04-02 10:56:22 -04:00
Chad Scharf
d07f27f274
[Soft-Delete] Simplify the data-tier, removed extra sprocs and reuse update
2020-04-01 16:39:27 -04:00
Chad Scharf
d014a597dd
[Soft Delete] - API updates for soft delete + retrieval
2020-04-01 13:00:25 -04:00
Chad Scharf
9800b752c0
Changed all C# control flow block statements to include space between keyword and open paren
2020-03-27 14:36:37 -04:00
Kyle Spearrin
6a91fd6be9
batch events
2019-07-25 15:50:13 -04:00
Kyle Spearrin
675b22cc9f
single event for delete and share bulk operations
2019-07-25 15:39:25 -04:00
Kyle Spearrin
558cf87e17
< , not <=
2019-02-14 15:26:44 -05:00
Kyle Spearrin
d6f1281f69
only log cipher deletes where user can edit
2019-01-11 08:46:55 -05:00
Kyle Spearrin
7116072cfa
log events on bulk delete. ref #422
2019-01-10 22:24:08 -05:00
Kyle Spearrin
331ee3266a
support for sharing new attachments
2018-11-15 12:52:31 -05:00
Kyle Spearrin
7cda459127
support for attachments keys
...
load existing items and set attachments on key update
2018-11-14 17:19:04 -05:00
Kyle Spearrin
0b166a080e
limit collection scope option when creating cipher
2018-10-22 14:09:55 -04:00
Kyle Spearrin
3f319aee64
userid set only when creating with collection ids
2018-10-22 10:16:56 -04:00
Kyle Spearrin
c710226223
set cipher id to limit collection scope
2018-10-22 10:15:03 -04:00
Kyle Spearrin
96b492fa07
apis for creating ciphers with org & collections
2018-10-19 12:07:31 -04:00
Kyle Spearrin
7705776d6a
self hosted storage is 10tb
2018-10-11 14:50:59 -04:00
Kyle Spearrin
7164f378fc
purge org vault
2018-09-25 09:12:50 -04:00
Kyle Spearrin
7ce5464e52
self hosted users get 1 TB
2018-08-29 09:45:57 -04:00
Kyle Spearrin
0983a35cf3
storageBytesRemaining by way of users get premium
2018-08-29 09:08:05 -04:00
Kyle Spearrin
cf73b168ee
More CanAccessPremium checks
2018-08-28 17:40:08 -04:00
Kyle Spearrin
0816c609db
check user access permissions on collections edit
2018-08-23 23:04:44 -04:00
Kyle Spearrin
94b6f43fc6
send revision date with collection edits
2018-08-21 23:11:57 -04:00
Kyle Spearrin
1b489daca1
send collection ids with cipher notification
2018-08-21 09:29:38 -04:00
Kyle Spearrin
c92ef08664
check collection count on org import
2018-07-17 13:34:12 -04:00
Kyle Spearrin
de552be25f
apis for bulk sharing
2018-06-13 14:03:44 -04:00
Kyle Spearrin
a8fefb54c4
cipher events
2017-12-01 14:06:16 -05:00
Kyle Spearrin
95181aef89
organization cipher import with collections
2017-09-05 17:49:34 -04:00
Kyle Spearrin
770fa10f3e
fix bugs around collection association
2017-08-30 18:18:39 -04:00
Kyle Spearrin
d5b540b9e6
attachment check on login share
2017-07-28 15:09:43 -04:00
Kyle Spearrin
8684b9c8e5
recompute full storage each time
2017-07-10 22:08:52 -04:00
Kyle Spearrin
de8b2de8e6
attachment cleanup
2017-07-10 20:48:06 -04:00
Kyle Spearrin
22f1da8497
blob meta data for attachments
2017-07-10 17:08:50 -04:00
Kyle Spearrin
72e4062d87
rollback share if errors
2017-07-10 16:22:39 -04:00
Kyle Spearrin
f8c749bab5
share login with attachments
2017-07-10 14:30:12 -04:00
Kyle Spearrin
fbc189544b
org totp and storage flags
2017-07-07 14:08:30 -04:00
Kyle Spearrin
43262e577c
delete attachments
2017-07-07 11:07:22 -04:00
Kyle Spearrin
2afef85f85
premium check for attachments
2017-07-05 16:17:32 -04:00
Kyle Spearrin
284078e946
database adjustments and storage for attachments
2017-06-30 14:41:57 -04:00
Kyle Spearrin
6cea556ae1
post, upload, and save cipher attachment
2017-06-30 11:15:58 -04:00
Kyle Spearrin
f24bc96846
folder permission checks and null folder
2017-06-09 09:48:44 -04:00
Kyle Spearrin
d3073e675e
bulk action apis for delete and move
2017-06-09 00:30:59 -04:00
Kyle Spearrin
887fe4fc05
rename to push notification service
2017-05-26 09:44:54 -04:00
Kyle Spearrin
b039461ff4
CipherDetails Edit property
2017-05-06 23:23:01 -04:00
Kyle Spearrin
8458022a58
admin login apis
2017-04-27 14:50:22 -04:00
Kyle Spearrin
c6ac82dadd
renaming subvault => collection
2017-04-27 09:19:30 -04:00
Kyle Spearrin
f34c28128d
push nots. for ciphers, folders, keys, & settings
2017-04-21 14:22:32 -04:00
Kyle Spearrin
aa5b79df2b
more user friendly error message for no access.
2017-04-20 16:19:23 -04:00