Sylvain
427ba1a74b
[bug] unable to sync coupons on stripe
2021-06-21 10:45:13 +02:00
Sylvain
27ac345588
remove reference to stripe in user creation workflow
2021-06-14 15:14:14 +02:00
Sylvain
7cfa2ca2c7
fix passing payzen tests
2021-06-14 14:53:59 +02:00
Sylvain
7ba2d58f50
update VCR to 6.0.0
...
Also: - updated cassettes
- Automated stripe secrets filtering in cassettes
- Improved display when no plan-categories exists
2021-06-11 14:29:30 +02:00
Sylvain
13fae70277
test payzen endpoints
2021-06-09 18:48:51 +02:00
Sylvain
68f64cfc5c
update the card for payment schedules
2021-06-04 18:26:20 +02:00
Sylvain
89adcf1a9d
WIP: pay item
2021-06-03 16:25:42 +02:00
Sylvain
ea774e2080
wait for the first payzen transaction + fix initial amount
2021-06-03 14:28:52 +02:00
Sylvain
dc0a75e52d
verify each deadlines on payzen for payment schedules
2021-06-03 12:22:37 +02:00
Sylvain
4e109f7edb
retrieve gateway objects with multiple ids
2021-06-03 09:48:21 +02:00
Sylvain
87cd41794e
WIP: payzen subscription
...
TODO: retreive the payzen subscription from PayZen::Item
2021-06-02 20:07:53 +02:00
Sylvain
431ea28448
WIP: payzen recurring payments
2021-06-01 12:20:02 +02:00
Sylvain
28e41de9ad
task to reset the stripe payment methods in test mode
2021-05-31 16:15:57 +02:00
Sylvain
55b0e25ee9
generate footprints in a reproductible way
2021-05-31 12:53:28 +02:00
Sylvain
db58ee28c0
migration to object[]
...
TODO: fix invoices checksums
2021-05-31 11:52:53 +02:00
Sylvain
d942d46632
WIP: migration to object[]
...
TODO: fix running tests, fix front-end
2021-05-28 17:34:20 +02:00
Sylvain
a38fe0b43c
fix raising errors from lib
2021-05-28 09:10:58 +02:00
Sylvain
136159a2b5
improve error message in case of payzen error
2021-05-27 17:14:20 +02:00
Sylvain
6cd74ac33e
remove references to PaymentSchedule.scheduled
2021-05-27 16:11:23 +02:00
Sylvain
c79078c8e1
Merge branch 'dev' into payzen
2021-05-26 14:00:51 +02:00
Sylvain
4e601b672a
[bug] fablab:fix_invoices date parsing error
2021-05-26 11:49:52 +02:00
Sylvain
b938232c19
Merge branch 'dev' into payzen
2021-05-25 14:06:30 +02:00
Sylvain
ecf80b0591
ability to set invoices as erroneous
2021-05-24 16:34:27 +02:00
Sylvain
5b7b54d421
refactor integrity checking code
2021-05-24 11:34:35 +02:00
Sylvain
3a910b1182
script to fix existing invoices w/o invoiced_id
2021-05-24 11:19:59 +02:00
Sylvain
1f9a7ba6cc
fix debugging footprints
2021-05-17 17:04:52 +02:00
Sylvain
6bcd9f6fef
Merge branch 'dev' into payzen
2021-05-17 15:07:41 +02:00
Sylvain
0992999a32
[bug] some invoices does not have the name of the user
2021-05-14 17:07:38 +02:00
Sylvain
e3187460ea
create payment schedules on payzen
...
Also: make generic the creation of products on remote gateway
Also: make generic the call to gateway specific actions
2021-04-30 16:07:19 +02:00
Sylvain
3dc686840c
front adaptation to cartItems
...
fix payzen customer cart creation
TODO: refactor the payOnSite modals
2021-04-27 17:18:20 +02:00
Sylvain
0a5380d310
fix checksum lib
2021-04-26 10:12:18 +02:00
Sylvain
94cbcd3236
refactor to use the new price computation system based on ShoppingCart
2021-04-23 12:52:06 +02:00
Sylvain
e456ddc7c9
WIP: refactor the price computation system
2021-04-22 19:24:08 +02:00
Sylvain
434ec9c205
refactored Invoices to get rid of stripe references
2021-04-20 17:22:53 +02:00
Sylvain
a897d37b2d
improved footprint debug process
2021-04-16 16:03:10 +02:00
Sylvain
343b2f7d23
refactor code related to archiving
2021-04-16 10:34:02 +02:00
Sylvain
ddd1ac52d6
save reservation|subscription to db after payment
2021-04-14 17:56:10 +02:00
Sylvain
4d3ead310d
do not run StripeWorker tasks is the gateway is not enabled
2021-04-14 12:18:37 +02:00
Sylvain
4e512dda45
validate the payment server side
2021-04-13 17:16:05 +02:00
Sylvain
dca2651fb3
process payements with payzen
2021-04-12 17:37:09 +02:00
Sylvain
ef7dcd37d8
retreive the formToken from PZ API
2021-04-12 12:16:12 +02:00
Sylvain
23032c405b
WIP: create the formToken server-side
2021-04-09 17:17:58 +02:00
Sylvain
fb2abcc382
integrate payzen logo and other fixes
2021-04-08 17:11:48 +02:00
Sylvain
4245747072
include payzen frontend libs if enabled
2021-04-07 17:17:17 +02:00
Sylvain
422acdd162
safely configure and test payzen keys
2021-04-02 17:16:27 +02:00
Sylvain
30830b56fd
PayZen REST API wrapper ruby + live test keys while configuring
2021-04-01 18:20:26 +02:00
Sylvain
5b854ea831
Merge branch 'dev' into payzen
2021-03-24 14:34:24 +01:00
Sylvain
7099f1f317
address required
...
- Ability to set the address as a mandatory field
- The address is new requested when creating an account
- The profile completion page is less fuzzy for people landing on it without enabled SSO
2021-03-23 11:49:05 +01:00
Sylvain
3ea06826ad
WIP: select gateway
2021-03-03 15:28:56 +01:00
Sylvain
a5f9b0703b
Version 4.7.0
2021-02-23 14:42:48 +01:00
Sylvain
d7056f0adc
fix footprints checking for payment schedule items
2021-02-23 14:04:42 +01:00
Sylvain
1cc727de6b
fix schedulable plans border color, in casemate theme + typo
2021-02-10 11:50:12 +01:00
Sylvain
8468a3c6de
rake task to regenerate payment schedules PDF files
2021-02-10 11:40:23 +01:00
Sylvain
728ae4310c
improved testing of payment schedules + some fixes
...
TODO: fix the test
rails test test/integration/reservations/create_test.rb
Reservations::CreateTest#test_user_reserves_a_machine_and_renew_a_subscription_with_payment_schedule_and_coupon_and_wallet [test/integration/reservations/create_test.rb:841]
Minitest::Assertion: Expected: "stripe"
Actual: nil
2020-12-30 18:43:33 +01:00
Sylvain
678af0de1f
using stripe api + improved ui + ui to configure schedules reference
...
TODO: as an admin, I can select if payment_method = (stripe || local)
2020-11-16 16:37:40 +01:00
Sylvain
ed5b90cbdc
add stp_product_id to all items that can be scheduled
2020-11-12 12:14:51 +01:00
Sylvain
a9cc0b391b
save products and prices to stripe for each plans
2020-10-27 16:46:38 +01:00
Sylvain
ec8fe3bf28
fixes import of JS dependencies
2020-09-14 16:08:49 +02:00
Sylvain
6f3a1d0c6a
[bug] unable to run task find_incoherent_invoices
2020-08-26 11:35:38 +02:00
Sylvain
19fb816d36
Enhanced rake task to create fixtures for test cases
2020-07-22 09:45:20 +02:00
Sylvain
7bf06ff23e
debug footprints
2020-07-21 19:25:21 +02:00
Sylvain
9ca64418e7
[bug] version check is not working
2020-07-01 16:56:21 +02:00
Sylvain
c24623dcff
[bug] unable to sync members with stripe
2020-07-01 16:26:59 +02:00
Sylvain
297e1bef75
[bug] task env_to_db overrides the values set in the UI, even if the corresponding variable was not defined in the env file
2020-07-01 12:31:52 +02:00
Sylvain
045462f51f
change instructions to start tasks w/ rails
2020-06-30 14:35:22 +02:00
Sylvain
b0c6ab7ab4
test create and active new auth provider
2020-06-30 14:25:51 +02:00
Sylvain
8137418904
improved test for accounting periods
2020-06-24 15:25:17 +02:00
Sylvain
d83e3a8d26
using gem pg_search
2020-06-22 11:25:35 +02:00
Sylvain
40dd39304e
enable/disable statistics module fomr the UI
2020-06-17 12:20:51 +02:00
Sylvain
42872ab107
configure wallet from UI
2020-06-15 12:44:43 +02:00
Sylvain
f46c78a476
read email_confirmation_required from the UI
2020-06-15 11:57:13 +02:00
Sylvain
48bcf0b838
configure invoices prefix from the DB
2020-06-15 10:58:15 +02:00
Sylvain
78518e17fb
read stripe_currency from the UI
...
We prevent the currency from being changed if any stripe payment was made, because a stripe user cannot made pay with different currencies. If we try to charge a user with a different currency than the currency he used for a previous payment, this will fail; so we must prevent this case
2020-06-10 16:37:11 +02:00
Sylvain
82d6677cff
read stripe_api_key from db
2020-06-10 11:33:03 +02:00
Sylvain
88208627c9
read stripe_public_key from the db
2020-06-10 11:02:30 +02:00
Sylvain
9ff0a06029
many sidekiq fixes
2020-06-09 18:51:57 +02:00
Sylvain
a70668f52a
sync members on stripe after keys update
2020-06-09 14:27:18 +02:00
Sylvain
d5939a9de5
set the stripe keys from the UI
2020-06-09 13:09:31 +02:00
Sylvain
06b5da9df8
configure online payment from the UI
2020-06-08 17:42:59 +02:00
Sylvain
b44a8da73b
set openlab_default from the UI
2020-06-08 16:15:44 +02:00
Sylvain
88f2fb3749
secure the settings API (read) + read the openlab settings from the db
2020-06-08 15:08:07 +02:00
Sylvain
db8de18bd4
set openlab-projects id & secret from the UI
2020-06-08 11:38:49 +02:00
Sylvain
5c152412db
test mime type of a file
...
use marcel to test mime types
updated mimemagic
2020-06-03 16:25:13 +02:00
Sylvain
45013be950
configure default_host & default_protocol from env
...
reverts 478a6c40
(partially) & b2434864
2020-06-02 18:29:24 +02:00
Sylvain
9a0f36c245
configure disqus_shortname from the UI
2020-06-01 18:31:43 +02:00
Sylvain
478a6c409d
define default_protocol & default_host from the UI + fix email_from + various minor fixes
2020-06-01 17:32:32 +02:00
Sylvain
0617e4cd26
configure default_mail_from from the UI
2020-06-01 12:15:16 +02:00
Sylvain
434c211ccf
configure the features tour display mode from the UI
2020-05-27 18:49:53 +02:00
Sylvain
0d211e2e31
configure google recaptcha from UI
2020-05-27 16:35:30 +02:00
Sylvain
c3846e7080
configure twitter analytics from the UI
2020-05-27 15:39:39 +02:00
Sylvain
628a0f3bc3
configure facebook_app_id from the UI
2020-05-27 12:29:51 +02:00
Sylvain
2d628d8826
disable the invoicing module from the UI config panel
2020-05-26 18:07:07 +02:00
Sylvain
537743a740
configure the plans module from the admin UI
2020-05-26 15:39:28 +02:00
Sylvain
6cc6bba7ce
refactored app to gather spaces module status from the settings
2020-05-26 13:59:40 +02:00
Sylvain
fd93093f0d
UI to configure the spaces module
2020-05-26 10:53:49 +02:00
Sylvain
acefc325f6
configure events_in_calendar form the UI panel
2020-05-25 17:36:53 +02:00
Sylvain
a63340188b
configure default slot duration from settings panel
2020-05-25 12:55:01 +02:00
Sylvain
ddce7f516a
configuration of book concurrent slots through the settings interface
2020-05-25 12:55:00 +02:00
Sylvain
419605e551
configuration of google analytics tracking ID through the settings interface
2020-05-25 12:55:00 +02:00
Sylvain
f80eb230ca
refactored code to use Setting.get
2020-05-25 12:54:19 +02:00
Sylvain
bf57587301
[bug] recurrent availabilities do not keep the custom duration
2020-05-25 11:03:31 +02:00
Sylvain
fdc2f60ff5
[bug] when a new account is created through the sign-up modal, the role is not reported in the StatisticProfile ( #196 )
...
Also: if a member was deleted the /api/members/mapping will raise an error
2020-05-18 16:23:53 +02:00
Sylvain
29e7ac2f08
[bug] background image of the profile is not shown and wrong menu hover color
2020-05-04 12:10:13 +02:00
Sylvain
35ce577651
[bug] subscription page shows the groups without any active plans
...
[bug] cart price inconsistently updated after a subscription
[feature] plans page for managers
2020-04-29 10:57:32 +02:00
Sylvain
09f74a060d
fix version check
2020-04-14 15:13:40 +02:00
Sylvain
b3c823c0d4
Maintenance task to display the current version
2020-04-14 10:13:45 +02:00
Sylvain
8395363811
Maintenance task to migrate notifications for Fab-manager v1
2020-04-08 18:06:42 +02:00
Sylvain
de9c224a92
improved version check
...
- use referer from client when available
- save uuid returned by hub
- send uuid to hub on version check
- check the version on each startup to prevent wrong sync
- also: do not save a setting on API update if it has not changed
2020-04-07 17:53:19 +02:00
Sylvain
705bedc25c
[bug] crediting a wallet w/ refund invoice prevent statistics generation ( #196 )
2020-04-01 12:51:18 +02:00
Sylvain
d74790e3da
use rails instead of rake
2020-03-25 17:58:53 +01:00
Sylvain
5da4a90692
[bug] invalid footprints in invoices fixtures
2020-03-25 12:34:33 +01:00
Sylvain
8fca92b8ae
prevent version check from running multiple times + updated sidekiq
2020-03-04 10:35:00 +01:00
Sylvain
9e618274fc
prevent multiple version check at start time
2020-03-03 18:27:43 +01:00
Sylvain
d833f6d812
harmonize Fab-manager trademark syntax
2020-02-26 10:19:43 +01:00
Sylvain
656a603d6c
customize home page css
2020-01-27 17:10:29 +01:00
Sylvain
059096c2dd
privacy option for fab-analytics
2020-01-15 10:46:04 +01:00
Sylvain
774060d9ab
FORCE_VERSION_CHECK for dev env + do not save hub public key if duplicate
2020-01-14 17:59:30 +01:00
Sylvain
1f3d9cf88d
display upgrade infos directly on the interface
2020-01-14 17:12:36 +01:00
Sylvain
bb48a13f83
health endpoint & automated version check
2020-01-14 14:33:00 +01:00
Sylvain
64764e5498
check version on hub & [ongoing] health endpoint
2020-01-13 17:05:53 +01:00
Sylvain
f50e45d2de
rake task to sync users with stripe
2019-12-03 16:32:59 +01:00
Nicolas Florentin
db41e846dd
uses DateTime#current instead of Time.now in tests
2019-12-02 15:29:05 +01:00
Nicolas Florentin
77cf8c8218
replaces almost all Time.now by DateTime.current
2019-12-02 11:57:25 +01:00
Sylvain
1cc1bd23b7
Ability to fully rebuild the projets index in ElasticSearch with rake fablab 🇪🇸 build_projects_index
2019-10-16 14:37:43 +02:00
Sylvain
4300f29ad7
[bug] unable to run rake fablab 🇪🇸 * tasks due to an issue with gem faraday 0.16.x
...
Gem faraday was updated to 0.17 to solve the issue
2019-10-16 13:11:47 +02:00
Sylvain
5fcf9968cb
Updated Omniauth & Omniauth-oauth2 + fixed oauth2 callback url
2019-10-02 16:06:27 +02:00
Sylvain
224b0d6dee
Merge branch 'sca' into dev
2019-09-12 12:53:56 +02:00
Sylvain
4d0ac9b3ca
using stp_payment_intent_id instead of stp_invoice_id on new invoices
2019-09-10 16:45:45 +02:00
Nicolas Florentin
65035ea315
fix rake task fablab:maintenance:regenerate_invoices was not taking into account the timezone
2019-08-14 15:23:04 +02:00
Nicolas Florentin
3b7b02163d
fix rake task fablab:maintenance:regenerate_invoices was not taking into account the timezone
2019-08-14 15:22:10 +02:00
Nicolas Florentin
673205eb50
removes only_invoice scope from regenerate_invoices rake task
2019-08-14 14:26:56 +02:00
Nicolas Florentin
0c4475acea
removes only_invoice scope from regenerate_invoices rake task
2019-08-14 14:18:04 +02:00
Sylvain
48c68b29be
removed old fullcalendar artefact
2019-07-17 15:18:39 +02:00
Sylvain
e9f91a36e9
[bug] prevent task migrate_pdf_invoices_folders from raising an error when run with no invoices
2019-06-17 15:01:23 +02:00
Sylvain
249e59bb2a
get user consent about cookies
2019-06-13 11:28:55 +02:00
Sylvain
4edab0c53a
task to delete inactive users
2019-06-12 16:06:30 +02:00
Sylvain
0e18defe53
handle deleted user in statistics
2019-06-12 12:40:43 +02:00
Sylvain
a53c6e80e7
move invoice->operator to invoicing_profile + minor fixes to handle user deletion
2019-06-12 12:22:38 +02:00
Sylvain
86ded2b8d2
[ongoing] fixes for invoices pdf files
2019-06-11 16:56:11 +02:00
Sylvain
83d3fd83b3
[bug] close period reminder is sent too early
2019-05-27 16:09:27 +02:00
Sylvain
0c51f25f7f
Merge branch 'hotfix' into dev
2019-05-27 12:50:19 +02:00
Sylvain
6f2483a51f
[bug] when generating an Avoir at a previous date, the resulting checksum may be invalid
2019-05-27 11:11:21 +02:00
Sylvain
bf014c688d
[bug] Corrective patch for users with invalid group_id
2019-04-16 12:37:47 +02:00
Sylvain
af9ab6d5b5
fix using 0 in add_vat_rate task
2019-03-27 12:58:08 +01:00
Sylvain
fd55c8d315
use SHA-3 (256 bits) to compute checksums + simplify accounting period integrity check UI
2019-03-21 17:15:41 +01:00
Sylvain
fce2d824b4
rake task to generate code checksum
2019-03-20 11:37:09 +01:00
Sylvain
940ea3051b
chain historyValues with sha256 footprints
2019-03-20 11:01:53 +01:00
Sylvain
b439c643cb
zip archives, include checksum, chained zips
2019-03-13 17:48:35 +01:00
Sylvain
005fd89ca1
task to insert old VAT rates in history
2019-03-13 12:03:14 +01:00
Sylvain
811d7288e7
fix chain_record methods
2019-03-11 13:49:16 +01:00