1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-10 15:13:29 +01:00
Commit Graph

2120 Commits

Author SHA1 Message Date
Kyle Spearrin
b1e8d16b9d update some libs 2020-01-13 09:33:12 -05:00
Kyle Spearrin
bc0901348b calculate storage updates 2020-01-10 20:05:58 -05:00
Kyle Spearrin
5bb440563f just type mapping for json docs 2020-01-10 18:54:44 -05:00
Kyle Spearrin
d653629e79 EF repo fixes 2020-01-10 18:14:45 -05:00
Kyle Spearrin
fa1322599f remove using 2020-01-10 16:24:16 -05:00
Kyle Spearrin
77180e0c82 update DisableFormValueModelBindingAttribute 2020-01-10 16:23:56 -05:00
Kyle Spearrin
47b50e48ef update libs 2020-01-10 16:14:16 -05:00
Mart124
f7512445e4 Add windowsazure.com to eq domains (#637)
* Add windowsazure.com to eq domains

* Add azure.com to eq domains
2020-01-10 11:53:11 -05:00
Kyle Spearrin
e13f022c90 upgrade swagger 2020-01-10 09:36:12 -05:00
Kyle Spearrin
f71433d09a remove libcurl3 2020-01-10 08:55:22 -05:00
Kyle Spearrin
7fd6e4359d fix warnings 2020-01-10 08:47:58 -05:00
Kyle Spearrin
29580684a3 upgrade to aspnet core 3.1 2020-01-10 08:33:13 -05:00
Kyle Spearrin
8026912eeb fixes for databasecontext and json types 2020-01-09 07:57:33 -05:00
Kyle Spearrin
002efaafd4 map json columns for org and user 2020-01-08 21:38:32 -05:00
Kyle Spearrin
9fa7f335bd org repo 2020-01-08 21:34:49 -05:00
Kyle Spearrin
46c258428e delete typoed class 2020-01-08 20:31:31 -05:00
Kyle Spearrin
7c5be176fa Stub out EF repo base with user repo 2020-01-08 20:28:16 -05:00
Kyle Spearrin
9caaab0537 stub out policy models and repos 2020-01-06 14:27:16 -05:00
Kyle Spearrin
4e4644e17d stub out organization policy db schema 2020-01-06 14:26:48 -05:00
Kyle Spearrin
36e97ccbd2 update 2fa recovery email copy 2019-12-23 15:31:55 -05:00
Kyle Spearrin
ad010f6080 Merge branch 'master' of github.com:bitwarden/server 2019-12-23 15:26:47 -05:00
Brian Becker
0be86072f7 Add email notification on Two Factor recovery use (#625)
* Add email notification on Two Factor recovery use

* A user who has lost their 2fa device can clear out the
  2fa settings using a recovery code.  When this happens
  it gets logged but no notification to the user occurs.
* Add a notification to be sent when 2fa recovery code is
  used

* Add email message templates
2019-12-23 15:26:39 -05:00
Kyle Spearrin
e2d65e5b08 switch to official bitpay light library 2019-12-19 10:27:06 -05:00
Papina
665e78ec1c PostgreSQL - Functions (#578)
* PostgreSQL initial commit of translation from SQL Server to PostgreSQL

* snake_case added.
set search path for schema.  schema qualified name no longer needed for creation and access of functions.

* Table DDL for PostgreSQL

* Rename User.sql to user.sql

* PostgreSQL views, 
snake_case column fix for user_create, 
rename of users.sql file to lowercase

* user_update function

* remove tabs

* cast types, and table DDL changed to match

* case

* resolve casting issues. casting is done inside function

* update views

* more functions

* more functions

* removed casting

* spelling mistake

* spelling

* changes to functions, added replace
2019-12-02 08:28:18 -05:00
Kyle Spearrin
9e470c1f7a log startup 2019-11-27 14:42:24 -05:00
Kyle Spearrin
a5b809f477 update rolling file settings for LogRollBySizeLimit 2019-11-25 11:40:04 -05:00
Kyle Spearrin
654eb5e15f further validate email for org users 2019-11-25 10:57:55 -05:00
Kyle Spearrin
c7d34a7ac6 fix typo. roll 2019-11-22 10:36:17 -05:00
Kyle Spearrin
d270311393 config for rolling log files by size limit 2019-11-22 10:33:57 -05:00
Kyle Spearrin
2693ffeab0 include ip in log message. only for self host 2019-11-22 10:23:11 -05:00
Kyle Spearrin
d022517762 login failed log message 2019-11-22 07:30:32 -05:00
Kyle Spearrin
9da83cbdc3 remove alive job 2019-11-04 07:43:15 -05:00
Kyle Spearrin
72750cf298 org re-invite api 2019-10-07 16:23:38 -04:00
Kyle Spearrin
19b8c385d2 npm audit fix 2019-10-07 16:01:27 -04:00
Kyle Spearrin
28adefe50a EventsProcessor csproj 2019-10-04 13:54:35 -04:00
Kyle Spearrin
e7625eda86 build script 2019-10-04 13:46:46 -04:00
Kyle Spearrin
904c29809b placeholders 2019-10-01 09:13:00 -04:00
Kyle Spearrin
47fed7ab80 date range search on logs 2019-10-01 09:02:36 -04:00
Kyle Spearrin
b99f6cdbc1 allow long urls on admin 2019-10-01 08:57:56 -04:00
Kyle Spearrin
5bd43478c7 handle reversed transactions 2019-10-01 08:19:01 -04:00
Kyle Spearrin
5fd9df3beb app in review flag for iap receipt validation 2019-09-29 20:42:53 -04:00
Kyle Spearrin
7b75e134d8 AppleReceiptNotification class 2019-09-25 10:12:42 -04:00
Kyle Spearrin
e4c58b1d5c relax rate limiting on invites 2019-09-24 08:18:14 -04:00
Kyle Spearrin
091d6d318c fix info logger for apple iap 2019-09-23 14:30:04 -04:00
Kyle Spearrin
5e7ac0a9bc handle appleReceipt already existing on customer 2019-09-23 10:27:14 -04:00
Kyle Spearrin
d04d92bb89 AttemptToPayInvoiceWithAppleReceipt 2019-09-23 09:03:18 -04:00
Kyle Spearrin
b72744eafc alloe sub cancellation when deleting account 2019-09-20 13:45:47 -04:00
Kyle Spearrin
6f8fff59e7 bump version 2019-09-20 07:43:04 -04:00
Kyle Spearrin
784c86893f throw apple iap exceptions 2019-09-20 00:01:35 -04:00
Kyle Spearrin
ff5a0ff0ce payment service support for iap 2019-09-19 23:30:16 -04:00
Kyle Spearrin
eee4dd9877 ANCMPreConfiguredForIIS 2019-09-19 17:00:39 -04:00
Kyle Spearrin
8d29eefb3a log json formatted 2019-09-19 16:43:06 -04:00
Kyle Spearrin
8340b22c2a UsingInAppPurchase prop on sub models 2019-09-19 16:31:11 -04:00
Kyle Spearrin
ad95dd6bb2 check for valid transaction as well 2019-09-19 10:04:15 -04:00
Kyle Spearrin
62f4e67e8a save userId with receipt data 2019-09-19 09:36:26 -04:00
Kyle Spearrin
43f26925d1 fixes for meta repo and iapcheck model 2019-09-19 09:23:48 -04:00
Kyle Spearrin
d73e2da7a4 iap pre-check 2019-09-19 08:53:33 -04:00
Kyle Spearrin
e9174ba9f4 iap pre-purchase check 2019-09-19 08:46:26 -04:00
Kyle Spearrin
9ddfe3e947 fix json serialization of receipt status 2019-09-18 17:43:17 -04:00
Kyle Spearrin
bed2a0ab7b no additional storage for premium 2019-09-18 10:52:53 -04:00
Kyle Spearrin
b39d1e13d7 set owner context for org api 2019-09-18 10:47:36 -04:00
Kyle Spearrin
4ec05e111c fix typo 2019-09-18 09:47:42 -04:00
Kyle Spearrin
1495f6e507 fix typo 2019-09-18 09:47:25 -04:00
Kyle Spearrin
3af2fbd4e9 register new services 2019-09-18 09:46:26 -04:00
Kyle Spearrin
68b5ba6474 update to apple iap service 2019-09-17 22:58:38 -04:00
Kyle Spearrin
ed7da76bac add helpers and renewal info to receipt model 2019-09-17 22:58:06 -04:00
Kyle Spearrin
8290ddbb94 apple iap service 2019-09-17 19:48:40 -04:00
Kyle Spearrin
7a2e86c2ba new payment method types 2019-09-17 17:08:46 -04:00
Kyle Spearrin
64ddcaaf0f isUser function 2019-09-17 16:55:40 -04:00
Kyle Spearrin
dcbe30b80f noop 2019-09-17 16:09:23 -04:00
Kyle Spearrin
2c319af95b object name for meta data repo 2019-09-17 10:15:59 -04:00
Kyle Spearrin
c82947a5f8 update receipt object 2019-09-16 16:23:07 -04:00
Kyle Spearrin
9e51eaea28 Apple Iap service 2019-09-16 09:22:22 -04:00
Kyle Spearrin
d009aa57c0 noop meta data repo 2019-09-13 16:10:20 -04:00
Kyle Spearrin
3037b95920 metadata repository for table storage 2019-09-13 16:02:01 -04:00
Kyle Spearrin
e1e147b78f log apple status update 2019-09-13 10:00:20 -04:00
Kyle Spearrin
a370dd1149 apple webhook key 2019-09-13 09:58:30 -04:00
Kyle Spearrin
2f7cd3ee95 stub out apple iap webhook 2019-09-13 09:56:01 -04:00
Papina
79ffda0377 #453 PostgreSQL - Views (#560)
* PostgreSQL initial commit of translation from SQL Server to PostgreSQL

* snake_case added.
set search path for schema.  schema qualified name no longer needed for creation and access of functions.

* Table DDL for PostgreSQL

* Rename User.sql to user.sql

* PostgreSQL views, 
snake_case column fix for user_create, 
rename of users.sql file to lowercase
2019-09-12 07:59:07 -04:00
Kyle Spearrin
ba6baa3caa clean up pgsql 2019-09-11 13:44:56 -04:00
Papina
5000de6fa8 #453 Added PostgreSQL initial db scripts (User) (#556)
* PostgreSQL initial commit of translation from SQL Server to PostgreSQL

* snake_case added.
set search path for schema.  schema qualified name no longer needed for creation and access of functions.

* Table DDL for PostgreSQL
2019-09-11 13:38:46 -04:00
Kyle Spearrin
12c8e4b124 format pg params object 2019-09-11 13:32:55 -04:00
Kyle Spearrin
e8375335ac fix alive endpoint on notifications 2019-09-08 22:14:15 -04:00
Kyle Spearrin
5d047d52c3 return default kdf info 2019-09-07 14:08:19 -04:00
Kyle Spearrin
294a6dbba5 set/use default payment method on customer 2019-09-06 08:47:36 -04:00
Kyle Spearrin
920debf2c9 upper card brand 2019-09-05 20:45:01 -04:00
Kyle Spearrin
44956b3994 fixes to exception logging 2019-09-04 12:54:19 -04:00
Kyle Spearrin
cf9c8d8fe9 support PaymentMethodDetails in stripe webhook 2019-09-03 17:00:05 -04:00
Kyle Spearrin
1be6e2008b qty is only 1 if re-creating after proration 2019-09-03 16:49:25 -04:00
Kyle Spearrin
aca274a49b add new properties to LogContext 2019-09-03 14:44:22 -04:00
Kyle Spearrin
72310701d2 move ip address method to core helpers 2019-09-03 14:08:08 -04:00
Kyle Spearrin
4982c21c37 qty should be 1 when restoring invoice items 2019-09-03 12:48:42 -04:00
Kyle Spearrin
54162d6531 fix credit card bug for premium 2019-09-02 20:23:43 -04:00
Kyle Spearrin
62732fa002 gateway check 2019-09-02 08:53:59 -04:00
Kyle Spearrin
ed86a5f9d5 add a delay to invoice.payment_succeeded hook 2019-09-02 08:41:06 -04:00
Kyle Spearrin
f37f335120 allow alive check on cloud an self host 2019-08-31 12:22:42 -04:00
Kyle Spearrin
32247fec2b filter log: Failed writing message 2019-08-31 08:22:30 -04:00
Kyle Spearrin
a3b30595f5 null check paymentToken 2019-08-31 00:33:29 -04:00
Kyle Spearrin
81d2da8df4 update packages 2019-08-30 10:20:40 -04:00
Kyle Spearrin
c31e377f32 America/New_York timezone on non-windows 2019-08-27 23:30:53 -04:00
Kyle Spearrin
9c90358aa1 nodocker flag for build scripts 2019-08-27 15:52:04 -04:00
Kyle Spearrin
d0abd413ba log keepalive task 2019-08-27 15:19:10 -04:00
Kyle Spearrin
a9da624b1d bump version 2019-08-27 09:27:52 -04:00
Kyle Spearrin
235e796fff upgrade serilogs 2019-08-27 09:24:58 -04:00
Kyle Spearrin
25a8640d80 get rid of old smtp mail delivery service 2019-08-27 09:23:03 -04:00
Kyle Spearrin
1db442a5bf update libs 2019-08-27 09:21:08 -04:00
Kyle Spearrin
53ba5fe324 all host origins allowed 2019-08-22 15:05:00 -04:00
Kyle Spearrin
19850631f6 allow cors origin wildcard 2019-08-22 12:00:10 -04:00
Kyle Spearrin
669a7c00d8 load fresh sub and invoices on webhooks 2019-08-20 11:09:02 -04:00
Kyle Spearrin
7957707559 add xbox to eq domains for microsoft 2019-08-13 22:53:17 -04:00
Kyle Spearrin
fa3bb0c081 set customer source and method earlier 2019-08-12 11:15:05 -04:00
Kyle Spearrin
18e6149329 handle incomplete status in webhook 2019-08-12 10:45:05 -04:00
Kyle Spearrin
5c3bf78226 handle sub incomplete status 2019-08-12 10:42:14 -04:00
Kyle Spearrin
41f9f6a7f0 only refund captured charges 2019-08-12 10:33:06 -04:00
Kyle Spearrin
157cafa551 PaymentResponseModel for storage and seat adjustments 2019-08-12 10:03:50 -04:00
Kyle Spearrin
74bbeae776 adjust storage with payment intent/method handling 2019-08-10 12:59:32 -04:00
Kyle Spearrin
e60f1a4f50 add missing sub create options 2019-08-10 12:07:24 -04:00
Kyle Spearrin
bc5322f4cf support for payment intent/method on org signup 2019-08-10 11:58:44 -04:00
Kyle Spearrin
00e808d731 payment intent/method support for incomplete status 2019-08-09 23:56:26 -04:00
Kyle Spearrin
efcf626999 update payment method with stripe card payment method 2019-08-09 16:29:23 -04:00
Kyle Spearrin
b11fd2fab8 handle PaymentMethods for PaymentSource billing info 2019-08-09 15:53:01 -04:00
Kyle Spearrin
9686b4bf2b process off session payment methods 2019-08-09 14:06:07 -04:00
Kyle Spearrin
3aea61cb63 remove unused service 2019-08-09 11:09:37 -04:00
Kyle Spearrin
ae386bfee4 remove old service refs 2019-08-08 23:22:46 -04:00
Kyle Spearrin
48ec345702 update stripe SDK 2019-08-08 17:36:41 -04:00
Kyle Spearrin
6d4e34b229 use SettingHasValue for smtp services 2019-08-07 19:39:37 -04:00
Kyle Spearrin
db7d586ee6 admin keep alive job 2019-08-04 20:37:05 -04:00
Kyle Spearrin
379d1b60bd fix npm install from build scripts 2019-08-04 20:24:46 -04:00
Kyle Spearrin
f43e954a31 Starting informational with bypass 2019-08-04 20:04:04 -04:00
Kyle Spearrin
aae60aaca2 log admin job tasks 2019-08-04 20:02:31 -04:00
Kyle Spearrin
00d1bbf0ee GetAlive for icons server 2019-08-03 23:26:34 -04:00
Kyle Spearrin
928e1b6ad4 alive endpoint and logging 2019-08-03 23:16:31 -04:00
Kyle Spearrin
35dbcb87d3 bump version 2019-07-27 22:20:00 -04:00
Kyle Spearrin
6640e64876 HaveIBeenPwned API key not set. 2019-07-27 12:29:20 -04:00
Kyle Spearrin
8d09a7ad13 org license are version 5 2019-07-26 21:56:48 -04:00
Kyle Spearrin
f78b212aa8 health checks for docker 2019-07-26 11:59:42 -04:00
Kyle Spearrin
d9d2dea784 bump version 2019-07-25 22:10:20 -04:00
Kyle Spearrin
71202cbdc3 remove environnment variables from web config 2019-07-25 22:02:35 -04:00
Kyle Spearrin
edd49c7e67 show pii on api 2019-07-25 21:17:58 -04:00
André Paulo
34eba3c465 Added AskUbuntu.com to StackExchange Domains (#538)
To make sure I wasn't missing any links, compiled a list of all the websites that you can check [here](https://gist.github.com/andre-paulo98/8cca381d09f2078b5eddc4e8516de3b4). [This is the source](https://stackexchange.com/sites?view=list#traffic)
2019-07-25 20:35:18 -04:00
Kyle Spearrin
fcdac6415a cache ciphers on events lookup 2019-07-25 16:29:34 -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
0f0cd3beeb handle bulk cipher events more efficiently 2019-07-25 15:34:14 -04:00
Kyle Spearrin
f6da38f931 allow web vault origin for cors requests 2019-07-25 15:05:03 -04:00
Kyle Spearrin
a0da6b3886 azure build scripts 2019-07-24 21:59:14 -04:00
Kyle Spearrin
48fd3062b6 rate limits on prelogin 2019-07-23 17:26:44 -04:00
Kyle Spearrin
a23e081397 update some libs 2019-07-23 16:58:40 -04:00
Kyle Spearrin
94188fa0b5 update to net core 2.2 2019-07-23 16:38:49 -04:00
Kyle Spearrin
b21e89f264 hibp api v3 2019-07-22 21:23:09 -04:00
Kyle Spearrin
2c80e337ae Organization_ClientExportedVault event 2019-07-12 17:12:36 -04:00
Kyle Spearrin
7c41da494f signalr heartbeat 2019-07-11 23:06:30 -04:00
Kyle Spearrin
51e4c5e1b7 filter out heartbeat warning log 2019-07-11 21:55:57 -04:00
Kyle Spearrin
05f876e61c stopping service log 2019-07-11 21:48:44 -04:00
Kyle Spearrin
aedbfcce50 register global settings 2019-07-11 21:45:14 -04:00
Kyle Spearrin
2f300107ce Remove error log on send 2019-07-11 21:12:20 -04:00
Kyle Spearrin
a6bd55e7a5 more logging 2019-07-11 16:19:38 -04:00
Kyle Spearrin
21d5417e92 done processing warning 2019-07-11 15:46:42 -04:00
Kyle Spearrin
ba2c7fe67d catch any unhandled exceptions in event processor 2019-07-11 15:43:20 -04:00
Kyle Spearrin
242e509b9d set en-US as default current culture 2019-07-11 15:03:17 -04:00
Kyle Spearrin
d61957d2de tz id for linux vs windows 2019-07-10 22:16:24 -04:00
Kyle Spearrin
b5d2a1da75 load certs from azure storage 2019-07-10 20:05:07 -04:00
Kyle Spearrin
f97539d558 build events container into docker deployment 2019-07-09 14:49:34 -04:00
Kyle Spearrin
da5c385d4a new client event types, pass date to event funcs 2019-07-09 11:44:09 -04:00
Kyle Spearrin
f7be870bfe up KDF max to 2 million 2019-07-06 23:34:10 -04:00
Kyle Spearrin
bc2621f45f log httpclient send exceptions 2019-07-05 14:20:16 -04:00
Kyle Spearrin
f9a43288a9 collect events in bulk 2019-07-03 12:11:40 -04:00
Kyle Spearrin
db41a1bd13 collect many events 2019-07-03 08:58:18 -04:00
Kyle Spearrin
69731ecb9d Add event types 2019-06-20 08:56:10 -04:00
Kyle Spearrin
e242539b84 check if already paid 2019-06-17 08:19:26 -04:00
Kyle Spearrin
377e6ff697 handle invoice already paid error 2019-06-17 08:15:56 -04:00
Kyle Spearrin
7b27443e5f update app cache when editing orgs from admin 2019-06-13 00:31:50 -04:00
Kyle Spearrin
6f0d64119a keep application cache in sync with service bus 2019-06-13 00:10:37 -04:00
Kyle Spearrin
2d63732085 normalize billing email 2019-06-12 22:09:32 -04:00
Kyle Spearrin
1c57492028 trim and tolower billing email 2019-06-12 22:08:53 -04:00
Kyle Spearrin
ad7c4b89c4 back to corehelpers 2019-06-11 17:17:23 -04:00
Kyle Spearrin
6ab2f4ff87 org invite exp hours configurable 2019-06-11 16:44:59 -04:00
Julien Brochet
da4918b4aa Fix Flickr equivalent domain with Yahoo (#512) 2019-06-05 08:00:49 -04:00
Kyle Spearrin
621f43c5cd fix token refresh logic 2019-05-30 23:06:02 -04:00
Kyle Spearrin
35804e10cf collection cipher query improvements 2019-05-28 23:55:47 -04:00
Sandro Jäckel
3feaaf8f01 Replace company.com with example.com (#502) 2019-05-22 20:07:39 -04:00
Kyle Spearrin
d34cde7579 group name fix 2019-05-15 22:38:52 -04:00
Kyle Spearrin
cac0295af0 bump version 2019-05-15 22:12:59 -04:00
Kyle Spearrin
2ac62ecadb bump version 2019-05-14 13:11:06 -04:00
Kyle Spearrin
92505a2d4f dont remove owners when syncing directory 2019-05-14 13:09:56 -04:00
Kyle Spearrin
889d770cec formatting 2019-05-14 11:16:30 -04:00
Kyle Spearrin
6381634a92 update libs 2019-05-11 20:56:49 -04:00
Kyle Spearrin
4e65275a2f catch errors when processing notification messages 2019-05-07 22:06:05 -04:00
Kyle Spearrin
1c38fcda85 version bump 2019-05-07 11:16:02 -04:00
Kyle Spearrin
33845d372f bump dockerfile dep versions 2019-05-07 11:14:37 -04:00
Kyle Spearrin
0c760cf9e1 overwrite existing users on import 2019-05-06 21:31:36 -04:00
Kyle Spearrin
b4148d3532 fix issues on cipher admin endpoints 2019-05-01 09:38:13 -04:00
Kyle Spearrin
a416f5a912 support X-Real-IP 2019-04-26 11:02:38 -04:00
Kyle Spearrin
43eeebdc21 trim ip 2019-04-26 09:56:22 -04:00
Kyle Spearrin
e6baa1490c UseForwardedHeaders with known proxies 2019-04-26 09:52:54 -04:00
Kyle Spearrin
8b80478a97 otp can be >= 32 <= 48 2019-04-24 17:47:26 -04:00
Kyle Spearrin
271b9fa246 update mailkit 2019-04-16 13:22:54 -04:00
Kyle Spearrin
9ed52da2f5 rearrange file 2019-04-14 22:45:58 -04:00
Kyle Spearrin
d6a451d41f start TLS info on admin homepage 2019-04-12 09:14:06 -04:00
Kyle Spearrin
5cc0b19da8 start tls mail config 2019-04-10 08:44:58 -04:00
Kyle Spearrin
fa463843bb change permission checks on cipher events 2019-04-05 22:59:03 -04:00
Kyle Spearrin
4b6edace09 handle refund echecks 2019-04-01 09:46:02 -04:00
Kyle Spearrin
7d47dac65f DisableEmailNewDevice 2019-04-01 08:28:36 -04:00
Kyle Spearrin
6c86996ab3 disable new device emails env variable. 2019-04-01 08:27:37 -04:00
Kyle Spearrin
0885264800 log error from exceptions on 2fa registration 2019-03-29 08:59:02 -04:00
Kyle Spearrin
e40d581422 no need to owner group change check 2019-03-28 12:37:17 -04:00
Kyle Spearrin
54c46f716b Only owner can change the type of another owner.
resolves #467
2019-03-28 12:36:57 -04:00
Kyle Spearrin
d8361ff1d6 Wait 20 seconds to allow database to come online 2019-03-25 14:50:03 -04:00
Kyle Spearrin
3a1e24976b move migrator project to util 2019-03-25 13:23:50 -04:00
Kyle Spearrin
28884c3330 move migrations to migrator project 2019-03-25 13:21:05 -04:00
Kyle Spearrin
cfe3708509 db migrator project stubbed out 2019-03-25 09:38:04 -04:00
Kyle Spearrin
5892842139 add account credit 2019-03-21 23:11:53 -04:00
Kyle Spearrin
5bfed59f9c upgrade org api 2019-03-21 21:36:03 -04:00
Kyle Spearrin
7f77d661c3 remove logging from base identity client service 2019-03-20 09:13:25 -04:00
Kyle Spearrin
8b180c8126 bump version 2019-03-20 08:52:25 -04:00
Kyle Spearrin
bfdc4feaba remove debug logging 2019-03-20 08:46:55 -04:00
Kyle Spearrin
4ed309ea13 fix refs passed from multiservice push 2019-03-20 08:38:28 -04:00
Kyle Spearrin
9dedf359e5 updates to logging 2019-03-20 08:26:11 -04:00
Kyle Spearrin
2f3b38a941 more relay logging 2019-03-20 00:41:11 -04:00
Kyle Spearrin
dc0bdfa28b fix logger ref 2019-03-19 23:45:09 -04:00
Kyle Spearrin
685928a4c7 fix bitpay initalization 2019-03-19 23:32:54 -04:00
Kyle Spearrin
e2be61da0a testing: more logs 2019-03-19 22:47:53 -04:00
Kyle Spearrin
54b0db2128 log from BaseIdentityClientService for testing 2019-03-19 21:57:46 -04:00
Kyle Spearrin
6d581c57fe delete with etag 2019-03-19 21:41:24 -04:00
Kyle Spearrin
c29ae6601f event collection api endpoint 2019-03-19 17:45:31 -04:00
Kyle Spearrin
268b162c0a events collect endpoint 2019-03-19 17:26:34 -04:00
Kyle Spearrin
fd8a8c8b67 make event message processing idempotent 2019-03-19 17:12:55 -04:00
Kyle Spearrin
625ed1a1ee force SecureSocketOptions.none if 25 w/ no ssl 2019-03-19 00:47:07 -04:00
Kyle Spearrin
01a293cf76 record installation devices 2019-03-19 00:39:03 -04:00
Kyle Spearrin
11fafa4a92 install libcurl3 package for mailkit issue 735 2019-03-19 00:24:39 -04:00
Kyle Spearrin
8427c23b5e amazon sqs block ip queuing 2019-03-18 16:23:37 -04:00
Kyle Spearrin
f7511fce13 increase import limits 2019-03-15 11:29:07 -04:00
Kyle Spearrin
df6d55584f group/member update ids apis 2019-03-13 17:07:48 -04:00
Kyle Spearrin
7e920b955c amazon ses mail delivery service 2019-03-13 16:19:00 -04:00
Kyle Spearrin
8d54442173 ses mail delivery service 2019-03-13 14:07:08 -04:00
Kyle Spearrin
e6ee23fbe8 no need to check values 2019-03-13 09:42:18 -04:00
Kyle Spearrin
cbd0f15224 back to regular ip string 2019-03-13 09:42:04 -04:00
Kyle Spearrin
3187afdb0b get group member ids and member group ids apis 2019-03-12 11:35:03 -04:00
Kyle Spearrin
14fd7e2801 throttle block messages and base64 encode them 2019-03-11 23:31:45 -04:00
Kyle Spearrin
2bdcff56b6 make new message for unblock 2019-03-10 23:11:28 -04:00
Kyle Spearrin
3c9b2ef2f5 remove protocol from host 2019-03-08 17:15:42 -05:00
Kyle Spearrin
bae1884630 filter nulls from transaction gateway index 2019-03-08 16:57:14 -05:00
Kyle Spearrin
14ecb8af93 set swagger host 2019-03-08 16:21:37 -05:00
Kyle Spearrin
61f473390f fix spec link 2019-03-08 15:48:34 -05:00
Kyle Spearrin
e51d435236 allow negative amount transaction 2019-03-08 15:37:09 -05:00
Kyle Spearrin
9895306974 natives devDependencies 2019-03-08 00:05:41 -05:00
Kyle Spearrin
605efeb6d6 suppress sql proj warnings 2019-03-07 23:03:32 -05:00
Kyle Spearrin
ec9be8bcfa ignore warning on release too 2019-03-07 22:59:40 -05:00
Kyle Spearrin
52e1ceace8 Revert "ignore xml comment warnings"
This reverts commit bca4f850a5.
2019-03-07 22:57:24 -05:00
Kyle Spearrin
bca4f850a5 ignore xml comment warnings 2019-03-07 17:09:29 -05:00
Kyle Spearrin
75f01a5774 collection externalId 2019-03-07 15:18:27 -05:00
Kyle Spearrin
2684de0fff add more metadata to swaggergen 2019-03-07 14:06:02 -05:00
Kyle Spearrin
14ee85eea2 collection update model 2019-03-07 09:34:20 -05:00
Kyle Spearrin
62503068c6 events apis 2019-03-07 09:13:39 -05:00
Kyle Spearrin
80e5258624 new twitter account 2019-03-06 15:08:02 -05:00
Kyle Spearrin
a6b14131ef public collection apis 2019-03-06 09:15:23 -05:00
Kyle Spearrin
de1b00533f org members public api 2019-03-05 23:24:14 -05:00
Kyle Spearrin
00f3c476ae apis for getting user details 2019-03-05 23:22:43 -05:00
Kyle Spearrin
df09b02ecc return collection associations with group response 2019-03-05 10:55:02 -05:00
Kyle Spearrin
41ab456bbd wait 15 seconds each loop 2019-03-04 23:46:35 -05:00
Kyle Spearrin
2a49824ab7 BlockIpHostedService to replace func 2019-03-04 23:41:46 -05:00
Kyle Spearrin
3c9c1a2ab7 doc model param 2019-03-04 21:06:41 -05:00
Kyle Spearrin
42b104bc8f apikey apis for orgs 2019-03-04 09:52:43 -05:00
Kyle Spearrin
15cb0ad4c3 implement useapi and apikey 2019-03-02 15:09:33 -05:00
Kyle Spearrin
66729fec3f move event processor to aspnet hosted service 2019-03-02 12:15:28 -05:00
Kyle Spearrin
c4ac86d4f4 db changes for org api 2019-03-01 23:44:45 -05:00
Kyle Spearrin
92d686ba36 public apis for groups 2019-03-01 17:38:22 -05:00
Kyle Spearrin
88cb0443b7 serializer and swagger adjustments for dev 2019-03-01 17:37:11 -05:00
Kyle Spearrin
201f7d9aa4 current context for organization clients 2019-03-01 17:30:59 -05:00
Kyle Spearrin
8d51700120 modelstate and exception handling for public apis 2019-03-01 17:30:44 -05:00
Kyle Spearrin
e0d7da892e xml documentation for swaggergen 2019-03-01 09:34:07 -05:00
Kyle Spearrin
259d370edd add self host permission 2019-03-01 09:33:23 -05:00
Kyle Spearrin
6e4df8cb0b test group get api for swagger 2019-02-28 20:51:47 -05:00
Kyle Spearrin
c02f732056 camelcase swagger/public apis 2019-02-28 20:50:40 -05:00
Kyle Spearrin
0a82f472ef object is always first 2019-02-28 20:49:52 -05:00
Kyle Spearrin
9916668a7a more stripe logging 2019-02-28 20:49:39 -05:00
Kyle Spearrin
77b673f768 doc title 2019-02-28 14:25:47 -05:00
Kyle Spearrin
1c71af47bb swagger specs for public api 2019-02-28 14:20:14 -05:00
Kyle Spearrin
b6696df055 set secret for dev 2019-02-28 00:03:11 -05:00
Kyle Spearrin
57ebe0de1a make sure global settings are set 2019-02-28 00:02:52 -05:00
Kyle Spearrin
4084a01d7a replace paypal webhook with ipn 2019-02-27 14:55:23 -05:00
Kyle Spearrin
aef68d4934 support for stripe sources in billing info 2019-02-27 10:16:46 -05:00
Kyle Spearrin
25ea96f1bd support for sources in webhooks 2019-02-27 10:11:45 -05:00
Kyle Spearrin
176078f04b Stub out public api for org groups 2019-02-26 22:06:39 -05:00
Kyle Spearrin
5923b4c9bd org API clients 2019-02-26 17:01:33 -05:00
Kyle Spearrin
c1c49fb67e show PII in dev mode 2019-02-26 17:01:06 -05:00
Kyle Spearrin
506fe28ee7 make payment method type required 2019-02-26 12:45:34 -05:00
Kyle Spearrin
91bbc3e8f9 display names for enums 2019-02-26 12:37:29 -05:00
Kyle Spearrin
b042fc5543 remove net471. all netcore now! 2019-02-26 11:33:09 -05:00
Kyle Spearrin
0e756208e8 port events processor over to webjobs sdk 3 2019-02-26 11:31:37 -05:00
Kyle Spearrin
d6eeca3138 update identity server libs 2019-02-26 08:22:14 -05:00
Kyle Spearrin
35e986a077 update libs and remove old code/workarounds 2019-02-26 08:15:56 -05:00
Kyle Spearrin
b04b402490 bank is 6 2019-02-25 12:49:45 -05:00
Kyle Spearrin
3b8552b2fa billing info and tx management tools 2019-02-25 12:43:20 -05:00
Kyle Spearrin
7ee8c0a240 add billing info to admin edit page 2019-02-25 10:39:04 -05:00
Kyle Spearrin
b229985256 add new gateway and payment method type 2019-02-25 10:38:56 -05:00
Kyle Spearrin
b028696891 assign credit type for account credit 2019-02-23 20:24:34 -05:00
Kyle Spearrin
b5782f7b72 fix paypal edge case 2019-02-23 17:40:46 -05:00
Kyle Spearrin
2f5410de28 GetTransactionDate 2019-02-23 13:57:59 -05:00
Kyle Spearrin
b4f026a946 add transaction currency to details 2019-02-23 10:21:06 -05:00
Kyle Spearrin
bc3e6f349c no hash 2019-02-23 08:01:23 -05:00
Kyle Spearrin
71667628f9 bitpay invoice id 2019-02-23 08:00:25 -05:00
Kyle Spearrin
b0c90bc4b3 amounts are positive always 2019-02-23 07:53:47 -05:00
Kyle Spearrin
e2df614cd5 check receiver after txn_type 2019-02-23 07:44:29 -05:00
Kyle Spearrin
5103a05332 use datetime 2019-02-22 23:51:38 -05:00
Kyle Spearrin
246fcda1f7 get key from Request.Query 2019-02-22 22:59:31 -05:00
Kyle Spearrin
78fa990b1f fixes for credit add 2019-02-22 22:55:40 -05:00
Kyle Spearrin
c5b2a929d2 added credit email notification 2019-02-22 21:13:34 -05:00
Kyle Spearrin
25c8d6d043 remove usings 2019-02-22 09:44:42 -05:00
Kyle Spearrin
c1b271193b add some logging to stripe webhook 2019-02-22 09:31:05 -05:00
Kyle Spearrin
09592fd4d3 log warnings for bad requests or unsupported cases 2019-02-22 09:00:51 -05:00
Kyle Spearrin
4c84eeca5b bitpay ipn for processing credits 2019-02-22 08:49:11 -05:00
Kyle Spearrin
c0e9d95538 early return 2019-02-22 08:20:34 -05:00
Kyle Spearrin
4e99ae0dd6 send notification IPNs on bitpay invoice 2019-02-22 08:08:48 -05:00
Kyle Spearrin
31097870a1 stub out BitPay IPN endpoint 2019-02-21 22:54:53 -05:00
Kyle Spearrin
fdaa9504d5 bitpay invoice api 2019-02-21 22:43:37 -05:00
Kyle Spearrin
d514fcdaeb account_credit:1 2019-02-21 21:48:24 -05:00
Kyle Spearrin
532c23d58b ipn updates 2019-02-21 21:08:45 -05:00
Kyle Spearrin
de2ca2ff95 throw No payment method is available. 2019-02-21 17:27:57 -05:00
Kyle Spearrin
9c5fde35f5 filter invoices 2019-02-20 23:58:54 -05:00
Kyle Spearrin
01d324a8b4 support credit purchases and prorated upgrades 2019-02-20 23:54:27 -05:00
Kyle Spearrin
e10c99ec96 credit payment type 2019-02-20 23:50:05 -05:00
Kyle Spearrin
c6d4440cc5 no async 2019-02-20 23:49:54 -05:00
Kyle Spearrin
494b3f18b6 process credit from ipn 2019-02-20 16:03:38 -05:00
Kyle Spearrin
312ced0e3b paypal IPN processing for account credit 2019-02-20 15:17:23 -05:00
Kyle Spearrin
cdea940597 braintree error 2019-02-19 21:27:07 -05:00
Kyle Spearrin
a9336a0e02 add support for passing payment method type 2019-02-19 17:13:21 -05:00
Kyle Spearrin
707c0ccb36 remove business country from org signup 2019-02-18 23:37:35 -05:00
Kyle Spearrin
250784d197 remove charge and add balance to billing models 2019-02-18 17:09:56 -05:00
Kyle Spearrin
2397c6d862 comment on Expiration 2019-02-18 16:25:09 -05:00
Kyle Spearrin
ad577bafcc use existing stripe customer for premium signup 2019-02-18 16:08:58 -05:00
Kyle Spearrin
b036657d78 apis for subscription vs billing 2019-02-18 15:40:47 -05:00
Kyle Spearrin
5945c39b32 associated ah-hoc prorate invoice with sub 2019-02-18 08:07:30 -05:00
Kyle Spearrin
acb7ff2b09 bad request if no ids on subscription 2019-02-16 22:08:04 -05:00
Kyle Spearrin
7d36a0d398 filter canceled orgs 2019-02-16 16:08:12 -05:00
Kyle Spearrin
594c9e9e3e blacklist of link rels to ignore 2019-02-16 09:15:24 -05:00
Kyle Spearrin
dee395960a webhook fixes 2019-02-15 16:18:53 -05:00
Kyle Spearrin
fb21b19490 charge braintree customer tool 2019-02-15 16:18:34 -05:00
Kyle Spearrin
1b5652fb7c inject IOptions for billing settings 2019-02-14 23:37:08 -05:00
Kyle Spearrin
3b951ce5cc update some libs 2019-02-14 15:33:51 -05:00
Kyle Spearrin
558cf87e17 < , not <= 2019-02-14 15:26:44 -05:00
Kyle Spearrin
48343a519b ip blocks are 15 mins 2019-02-14 14:16:18 -05:00
Kyle Spearrin
022d5f19f2 remove google plus 2019-02-14 12:12:54 -05:00
Kyle Spearrin
67146cd4be send payment failed emails 2019-02-14 11:49:39 -05:00
Kyle Spearrin
f70ececa9d get rid of premium renewal jobs for braintree 2019-02-14 10:18:27 -05:00
Kyle Spearrin
f2aac6b8a0 continue if disables 2019-02-13 21:03:22 -05:00
Kyle Spearrin
cc2cef5b27 pass org admin flag for attachment actions 2019-02-12 11:49:35 -05:00
Kyle Spearrin
5cdfc83903 remove bt webhook key 2019-02-11 23:27:32 -05:00
Kyle Spearrin
dc03faf5da remove old braintree hook 2019-02-11 23:26:11 -05:00
Kyle Spearrin
f225b5d46a rename billing classes 2019-02-10 21:23:37 -05:00
Kyle Spearrin
bc30f47331 is null, not = 2019-02-09 21:38:33 -05:00
Kyle Spearrin
8fad9d849f Merge branch 'stripechanges' 2019-02-09 18:13:49 -05:00
Kyle Spearrin
7ad899c728 todo for payment failure email 2019-02-09 18:12:52 -05:00
Kyle Spearrin
d568b86e1e inject stripepaymentservice 2019-02-08 23:53:09 -05:00
Kyle Spearrin
a97a6216d7 return invoices and transactions on billing api 2019-02-08 23:24:48 -05:00
Kyle Spearrin
f837c1708e paypal webhook key 2019-02-08 14:28:36 -05:00
Kyle Spearrin
1dc22f61d1 catch sql FK violations on webhook tx creation 2019-02-07 17:28:09 -05:00
Kyle Spearrin
22c049c9c5 disable autostats for cipher table 2019-02-03 22:39:53 -05:00
Kyle Spearrin
7675478daa refund if something screws up 2019-02-03 00:05:35 -05:00
Kyle Spearrin
9e14af3223 attempt to pay invoices via braintree 2019-02-03 00:00:21 -05:00
Kyle Spearrin
856e331ef3 custom ids to braintree customers 2019-02-02 23:04:44 -05:00
Kyle Spearrin
98bd42dde1 fix enums 2019-02-02 23:04:14 -05:00
Kyle Spearrin
0e4e3b22d1 reuse btCustomerId when changing from pp => new pp 2019-02-02 16:42:40 -05:00
Kyle Spearrin
0c956f2e89 move DatabaseExpiredGrantsJob to Friday at 10pm 2019-02-01 23:55:54 -05:00
Kyle Spearrin
9cb7a0caaf remove credit 2019-02-01 23:29:34 -05:00
Kyle Spearrin
fb3cdba99e check to make sure not already refunded 2019-02-01 23:29:12 -05:00
Kyle Spearrin
4ade9a229b stripe charge hooks and fixes to pp refunds 2019-02-01 23:04:51 -05:00
Kyle Spearrin
1bf1d83b26 drop 2 2019-02-01 22:27:13 -05:00
Kyle Spearrin
1283932f4e rename for case change 2019-02-01 22:26:58 -05:00
Kyle Spearrin
a5044b6e6c rename to PayPal 2019-02-01 22:25:34 -05:00
Kyle Spearrin
44630e9728 handle transactions on paypal webhook 2019-02-01 22:22:08 -05:00
Kyle Spearrin
f3b5068aba paypal client and stub out webhook 2019-02-01 17:16:28 -05:00
Kyle Spearrin
9882815e4a custom id fields for paypal 2019-02-01 09:18:34 -05:00
Kyle Spearrin
11f353050f fix sql proj file 2019-01-31 17:02:08 -05:00
Kyle Spearrin
24fbec6c0e fix ambig. transaction refs 2019-01-31 16:55:04 -05:00
Kyle Spearrin
25f3b76e6b added transactions table 2019-01-31 16:45:01 -05:00
Kyle Spearrin
9f876d9bff purchase org with paypal support 2019-01-31 14:25:46 -05:00
Kyle Spearrin
952d624d72 change payment methods between stripe and paypal 2019-01-31 12:11:30 -05:00
Kyle Spearrin
fca1ee4253 CancelAndRecoverChargesAsync for braintree 2019-01-31 09:00:44 -05:00
Kyle Spearrin
87ee144edd preview and pay to invoice prior to sub change 2019-01-31 00:41:13 -05:00
Kyle Spearrin
d236bdd408 rework paypal payment to use customer balance 2019-01-30 16:27:20 -05:00
Kyle Spearrin
abb1751bfe stripe invoice handling. return credit amount. 2019-01-29 17:44:31 -05:00
Kyle Spearrin
a34ca4700d upgrade stripe lib and breaking changes 2019-01-29 14:41:37 -05:00
Kyle Spearrin
e54a381dba setup: process paypal with stripe subscription 2019-01-29 13:12:11 -05:00
Kyle Spearrin
54c6ffeece Registration 2019-01-26 21:47:34 -05:00
Kyle Spearrin
8512a42627 rename core to server 2019-01-25 11:35:57 -05:00
Kyle Spearrin
ce35d768cb udo change to core.csproj 2019-01-25 00:14:29 -05:00
Kyle Spearrin
f8f7c339c3 get request up from cloudflare header 2019-01-25 00:01:24 -05:00
Kyle Spearrin
b19628c6f8 new device logged in email notification 2019-01-24 22:37:49 -05:00
Kyle Spearrin
43967ebbc1 increase folder limits on imports 2019-01-23 22:40:19 -05:00
Kyle Spearrin
a07f37e093 ssl override, deprecate defaultCreds and authType 2019-01-22 21:28:56 -05:00
Kyle Spearrin
17cc1d6543 deprecate smtpclient for mailkit smtp service 2019-01-22 19:44:03 -05:00
Kyle Spearrin
18884d564d 3 org invites per minute 2019-01-20 22:21:19 -05:00
Kyle Spearrin
f78f2710be rate limiting org invite emails further 2019-01-20 22:13:43 -05:00
Kyle Spearrin
411e8a67f9 core => server updates 2019-01-18 22:20:05 -05:00
Kyle Spearrin
858a0d28dd bump versions 2019-01-18 17:15:49 -05:00
Kyle Spearrin
9afca4c277 remove old org fields 2019-01-18 15:49:57 -05:00
Kyle Spearrin
ca22a007f6 noindex,nofollow 2019-01-17 16:45:53 -05:00
Kyle Spearrin
bcd396d620 robots noindex admin 2019-01-17 16:24:52 -05:00
Kyle Spearrin
e7e0d17ac6 security stamp validation for passwordless login 2019-01-17 16:07:24 -05:00