Commit Graph

  • 5161a74354 Add STRIPE_PUBLIC_KEY setting fnux 2020-03-05 10:28:03 +0100
  • 0e62ccff3b Cleanup/reorder uncloud_pay views fnux 2020-03-05 10:27:33 +0100
  • bf83b750de Replace legacy Stripe Charge API by Payment{setup, intent} fnux 2020-03-05 10:23:34 +0100
  • 47148454f6 s/_/-/ for bill id Nico Schottelius 2020-03-06 11:11:16 +0100
  • 0032c272e7 Merge branch 'bill-id' of code.ungleich.ch:nico/meow-pay Nico Schottelius 2020-03-06 11:10:47 +0100
  • 263125048d Begin to introduce a DCL alike view for VMs Nico Schottelius 2020-03-06 11:10:20 +0100
  • 658262c599 Add human readable reference to bills fnux 2020-03-06 09:39:41 +0100
  • c41b55573a Fix order link in BillRecordSerializer fnux 2020-03-06 09:32:25 +0100
  • 4016c28c5f Fix generate-bills fnux 2020-03-05 11:27:43 +0100
  • aa8336b7e4 VM: def __str__ Nico Schottelius 2020-03-05 23:55:33 +0100
  • 0e6a6afd88 [opennebula] Fix fields/serializers Nico Schottelius 2020-03-05 23:18:07 +0100
  • efbe1c0596 Merge commands into the "vm" command Nico Schottelius 2020-03-05 17:52:01 +0100
  • 6c7f0e98b3 Rebuild paymentmethod/stripe migrations from master fnux 2020-03-05 16:24:45 +0100
  • b8c2f80e45 [vmhost] add available_ram_in_gb and available_cores Nico Schottelius 2020-03-05 15:06:34 +0100
  • 139aca6a61 Remove vms field from vmhost Nico Schottelius 2020-03-05 14:58:45 +0100
  • 2a73f0e767 [migration] make vm name optional, use storage class choices Nico Schottelius 2020-03-05 14:22:56 +0100
  • 66e224e926 [storage] move choices to uncloud_storage Nico Schottelius 2020-03-05 14:21:10 +0100
  • 10f09c7115 add an old client hack (just for reference) Nico Schottelius 2020-03-05 14:15:33 +0100
  • ec7a2a3c3a Correct pricing for VMProduct Nico Schottelius 2020-03-05 14:00:14 +0100
  • b07df26eb2 Move STRIPE_PUBLIC_KEY to secrets (i.e. local configuration) fnux 2020-03-05 11:51:08 +0100
  • b958cc77ea Fix duplicates in payment method creation fnux 2020-03-05 11:45:37 +0100
  • e9b6a6f277 Fix migration dependencies after rebase fnux 2020-03-05 11:43:07 +0100
  • 546667d117 Remove unused empty migration fnux 2020-03-05 11:36:19 +0100
  • b88dfa4bfe Fix payment update updates fnux 2020-03-05 11:28:43 +0100
  • d6ee806467 Fix error in stripe get_customer_id_for fnux 2020-03-05 11:28:20 +0100
  • a41184d83d Fix generate-bills, remove debug print in charge method fnux 2020-03-05 11:27:43 +0100
  • 2f70418f4d Fix dumb logic errors/typo from last commit fnux 2020-03-05 11:13:04 +0100
  • 21e1a3d220 Revamp stripe error handling fnux 2020-03-05 11:03:47 +0100
  • 4cc19e1e6e Remove legacy credit card support fnux 2020-03-05 10:28:50 +0100
  • 08bf7cd320 Add STRIPE_PUBLIC_KEY setting fnux 2020-03-05 10:28:03 +0100
  • 7e9f2ea561 Cleanup/reorder uncloud_pay views fnux 2020-03-05 10:27:33 +0100
  • 929211162d Replace legacy Stripe Charge API by Payment{setup, intent} fnux 2020-03-05 10:23:34 +0100
  • cf17373b3f Fix ahmed introduced migrations Nico Schottelius 2020-03-05 11:35:00 +0100
  • 14a4fa8cc1 Merge remote-tracking branch 'ahmed/migrate-one-to-regular-vm' Nico Schottelius 2020-03-05 11:34:15 +0100
  • 4fc1c36ae9 fix incorrect migrations from fnux-stable branch Nico Schottelius 2020-03-05 11:17:30 +0100
  • 371c5ccf00 Merge remote-tracking branch 'origin/fnux-hacks' fnux 2020-03-04 12:10:22 +0100
  • faca104459 Fix stripe import in uncloud_pay.models fnux 2020-03-04 11:05:21 +0100
  • 9e8149135b Move bill generation logic to Bill class, initial work for prepaid fnux 2020-03-04 10:55:12 +0100
  • 02b287eff8 small cleaning ahmadbilalkhalid 2020-03-04 14:44:41 +0500
  • 9aabc66e57 Pay: move some model-related methods from helpers to models fnux 2020-03-04 09:39:18 +0100
  • a662b1fe29 Make migrate-one-vm-to-regular command idempotent ahmadbilalkhalid 2020-03-04 13:25:46 +0500
  • 88c10e2e4a improve readability ahmadbilalkhalid 2020-03-03 23:53:45 +0500
  • fea0568bb9 init commit ahmadbilalkhalid 2020-03-03 23:46:39 +0500
  • e0cb6ac670 Allow for charging customers fnux 2020-03-03 18:16:25 +0100
  • ebc9238845 recreate all migrations Nico Schottelius 2020-03-03 17:50:52 +0100
  • 94a39ed81d Properly wire stripe card to payment methods fnux 2020-03-03 16:55:56 +0100
  • 5c2d2a5b94 Document relations for Orders and Managed Services fnux 2020-03-03 13:14:51 +0100
  • e9ef2acb06 Add readme for objects Nico Schottelius 2020-03-03 12:15:05 +0100
  • 3846e49395 Fix migration issue introduced in previous merge fnux 2020-03-03 11:40:37 +0100
  • a849e642dd Merge remote-tracking branch 'origin/master' into fnux-hacks fnux 2020-03-03 11:36:08 +0100
  • 28407bf3e3 Quickly document OrderRecord class fnux 2020-03-03 11:34:47 +0100
  • ea00e81b1e Move all stripe stuff to stripe.py Nico Schottelius 2020-03-03 11:31:32 +0100
  • 53baf0d9f3 Fix typo in BillRecord fnux 2020-03-03 11:29:57 +0100
  • 11e22f5001 Consistently use one_time_price instead of setup_fee fnux 2020-03-03 11:27:35 +0100
  • e176ad0817 Remove second stripe key definition Nico Schottelius 2020-03-03 11:26:16 +0100
  • a50095f873 Merge remote-tracking branch 'origin/fnux-stable' Nico Schottelius 2020-03-03 11:23:29 +0100
  • a40da40169 Add recurring_count to bills fnux 2020-03-03 11:15:48 +0100
  • 2eaaad49db Handle setup fee in bills fnux 2020-03-03 10:59:21 +0100
  • 9fdf66ed74 Fix MatrixService ordering fnux 2020-03-03 10:51:16 +0100
  • b31aa72f84 Allow to select billing period when registering VM fnux 2020-03-03 10:14:56 +0100
  • 5559d600c7 Move things around for readability in uncloud_pay models and serializer fnux 2020-03-03 09:13:04 +0100
  • 4e51670a90 Expand recurring period billing logic for DD/MM/hh/month fnux 2020-03-03 08:53:19 +0100
  • 4ad737ed90 Initial stripe playground fnux 2020-03-02 22:26:40 +0100
  • c651c4ddaa Cleanup a bit BillRecord fnux 2020-03-02 16:41:49 +0100
  • 531bfa1768 actual thing name is replaced by pseudo names ahmadbilalkhalid 2020-03-02 19:20:12 +0500
  • 750d8c8cbf Use fictional hostname for VMHost ahmadbilalkhalid 2020-03-02 17:42:54 +0500
  • 0c3e6d10ae Indentation/Spacing fixes ahmadbilalkhalid 2020-03-02 17:20:30 +0500
  • afdba3d7d9 Remove duplicate code ahmadbilalkhalid 2020-03-02 17:17:30 +0500
  • 52e74c22cc Merge branch 'nico/meow-pay-master' into HEAD ahmadbilalkhalid 2020-03-02 17:05:23 +0500
  • 6c9c63e0da Add sample clean() for model + Add tests for uncloud_vm ahmadbilalkhalid 2020-03-02 16:54:36 +0500
  • 9e9018060e Wire order records to bills, fix user balance fnux 2020-03-02 10:46:04 +0100
  • 9e253d497b Wrap VM creation in database transaction fnux 2020-03-02 09:30:51 +0100
  • 81bd54116a Add records to orders fnux 2020-03-02 09:25:03 +0100
  • 8e41b894c0 Add OrderRecord model fnux 2020-03-02 08:09:42 +0100
  • 3228b91038 Merge branch 'master' into 'master' Ahmed Bilal 2020-03-02 07:17:04 +0100
  • 028fd6789f ++cleanup Ahmed Bilal 2020-03-02 07:17:04 +0100
  • 4f25086a63 Only generate bill if no overlap fnux 2020-03-01 15:47:27 +0100
  • be2b0a8855 Fix a few errors on preview billing rework fnux 2020-03-01 12:23:04 +0100
  • 4115eed2a8 +migration Nico Schottelius 2020-02-29 17:58:10 +0100
  • 5c33bc5c02 support creating disks Nico Schottelius 2020-02-29 17:57:57 +0100
  • 6a38e4e0a4 add url for importing disk image Nico Schottelius 2020-02-29 17:00:13 +0100
  • bcbd6f6f83 Introduce disk->image relationship Nico Schottelius 2020-02-29 16:45:52 +0100
  • e319d1d151 WIP revamped bill logic fnux 2020-02-29 09:08:30 +0100
  • af1265003e Define custom fields and serializer for MatrixServiceProduct fnux 2020-02-28 16:26:45 +0100
  • eaa483e018 Commit forgottem uncloud_vm migrations fnux 2020-02-28 15:08:45 +0100
  • 181005ad6c Cleanup VMProduct serializer, add name field to VMProduct fnux 2020-02-28 15:07:20 +0100
  • b3bbfafa04 Introduce custom ProductViewSet preventing customer from updating products fnux 2020-02-28 14:57:45 +0100
  • 33cc2b2111 Add uncloud_storage template app fnux 2020-02-28 14:48:01 +0100
  • 3b87a47430 Add initial ungleich_service app with MatrixServiceProduct shell fnux 2020-02-28 14:46:33 +0100
  • b5a242f176 Merge branch 'master' into fnux-hacks fnux 2020-02-28 13:58:36 +0100
  • 1cb1de4876 Add (broken) charge method to payment method endpoint fnux 2020-02-28 11:10:31 +0100
  • c0512e54b0 Add handle-overdue-bills fnux 2020-02-28 10:18:24 +0100
  • e12575e1de Commit forgotten migration on Orders (Float->Decimal) fnux 2020-02-28 09:59:13 +0100
  • adb57c55ca Revamp generate-bills logic to avoid overlapping fnux 2020-02-28 09:58:01 +0100
  • 89215e47b6 phase in mac Nico Schottelius 2020-02-28 09:34:29 +0100
  • 37ed126bc1 Create payment on strip charging fnux 2020-02-28 09:26:18 +0100
  • 4bed53c8a8 Wire charge-negative-balance to payment methods fnux 2020-02-28 09:10:36 +0100
  • 059791e2f2 Add initial generate-bills and charge-negative-balance uncloud-pay commands fnux 2020-02-28 08:59:32 +0100
  • ef5e7e8035 Quickly wire vm creation to orders fnux 2020-02-27 20:58:12 +0100
  • b1649a6228 Remove product resolution from /order endpoint fnux 2020-02-27 20:37:19 +0100