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
Sylvain
e543f1fe3e
add watermark to invoices in dev/staging/test environment
2019-02-27 17:44:52 +01:00
Sylvain
cf23fae73c
Merge branch 'dev' into host
2019-02-14 16:35:38 +01:00
Sylvain
06f2c3626c
refactored rake tasks
2019-02-13 12:59:28 +01:00
Sylvain
b865ec0c5a
prevent regenerate footprints
2019-02-13 10:59:44 +01:00
Sylvain
f9364b3872
chains invoice and invoiceItem records. save them in archives
2019-02-12 14:45:21 +01:00
Sylvain
abf80e0a38
Merge branch 'dev' into host
2019-02-11 13:46:24 +01:00
Sylvain
dfc7d25696
fixed Plugin module definition
2019-02-11 13:45:43 +01:00
Sylvain
9dd57315a0
Merge branch 'dev' into host
2019-01-31 17:22:54 +01:00
Sylvain
c983b3cdc3
BracesAroundHashParameters: context_dependent
2019-01-31 17:22:23 +01:00
Sylvain
864f034859
Merge branch 'dev' into host
2019-01-31 17:17:29 +01:00
Sylvain
7f59b2eedb
fixed ruby syntax in libs
2019-01-31 17:15:26 +01:00
Sylvain
6e274afe3b
accounting archive: insert code checksum and previous archive checksum
2019-01-31 12:19:50 +01:00
Sylvain
f6e236aeb5
refactored roles methods to match ruby conventions
2019-01-14 12:57:31 +01:00
Sylvain
7822ab4572
[ongoing] fix reservation processes
2018-12-10 17:20:23 +01:00
Sylvain
48e0bf21a2
fix es_build_projects_index
2018-11-29 18:07:52 +01:00
Sylvain
8b874411e1
instructions to skip ES upgrade
2018-11-29 16:53:58 +01:00
Sylvain
c046b1d26b
[bug] fablab:fix:categories_slugs
2018-09-06 11:22:23 +02:00
Sylvain
407c18075c
[bug] event catgories not correct in statistics
2018-07-12 12:48:50 +02:00
Sylvain
1aad974782
Ensure elasticSearch indices are started with green status on new installations
2018-04-04 14:05:48 +02:00
Sylvain
9d7e128be9
Number.isInteger polyfill for IE11
2017-12-21 14:39:15 +01:00
Nicolas Florentin
2f4dd4642a
adds polyfill for Object.assign, fix for IE11
2017-12-18 14:54:46 +01:00
Sylvain
d6ef5704b7
[bug] incomplete error message during fix:recursive_events_over_DST
2017-09-12 08:39:07 +02:00
Sylvain
de6ea6ff14
[bug] recursive_events_over_DST fail with deleted events
2017-09-11 16:32:33 +02:00
Sylvain
8ac716af55
[bug]ActiveRecord::RecordNotFound during fix:recursive_events_over_DST
2017-09-11 10:39:40 +02:00
Sylvain
9f136b479a
rake task to fix existing recursive events
2017-09-05 10:36:49 +02:00
Sylvain
1af07f5e54
[ongoing] rake task to fix existing recursive events
2017-09-04 17:27:18 +02:00
Sylvain
3d4260a3f7
[bug] unable to delete standard group
2017-08-30 14:57:06 +02:00
Peng DU
2ff47f3204
add task Id: 3713, reference: 1706002/VL, stripe id: in_1ASRQy2sOmf47Nz9Xpxtw46A, invoice total: 30.0, stripe invoice total: 80.0, date: 2017-06-08 16:16:26 +0200
...
Id: 3716, reference: 1706005/VL, stripe id: in_1ASRye2sOmf47Nz9utkjPDve, invoice total: 30.0, stripe invoice total: 40.0, date: 2017-06-08 16:51:15 +0200
Id: 3717, reference: 1706006/VL, stripe id: in_1ASS1X2sOmf47Nz93Xn2UxVh, invoice total: 30.0, stripe invoice total: 40.0, date: 2017-06-08 16:54:14 +0200
Id: 3718, reference: 1706007/VL, stripe id: in_1ASSBI2sOmf47Nz9Ol0gEEfC, invoice total: 30.0, stripe invoice total: 40.0, date: 2017-06-08 17:04:19 +0200 allow find the invoices incoherent
2017-06-09 11:08:08 +02:00
Sylvain
b403f86187
[bug] price init for new groups & delete group
2017-05-15 15:25:27 +02:00
Sylvain
f4187d0b4b
[bug] news plans statistics are not shown
2017-03-21 15:47:25 +01:00
Sylvain
2c1b65eab9
Merge branch 'hotfix' into dev
2017-03-15 13:07:28 +01:00
Sylvain
8d5966396d
[bug] editing a plan remove the rolling attribute
2017-03-15 12:50:19 +01:00
Sylvain
2419a96010
spaces stats index in elastic
2017-02-28 17:49:19 +01:00
Sylvain
4f3c5e963c
[bug] change plan price lost stats
2017-01-09 10:54:30 +01:00
Sylvain
c13f640e81
remove rails find_by_* helpers
2016-11-23 16:30:19 +01:00
Sylvain
6487ea7e08
add explicit result message on rake task fablab:es_build_availabilities_index
2016-10-05 12:28:13 +02:00
Sylvain
d0ffd602a3
Fix typo
2016-09-29 21:28:51 +02:00
DULAC Philippe
7e16dd2a0a
add some log text on bulk_export rake function
...
ajout d'une description pour faire apparaitre cette fonction dans la liste
2016-09-29 20:50:27 +02:00
Sylvain
99801bb02a
improved explanation about rebuild assets
2016-09-28 12:14:21 +02:00
Sylvain
81a6b996ee
fix sso data mmaing: if no mapping were defined for an integer value, set the raw value
2016-09-22 17:32:25 +02:00
Sylvain
3c277428bf
[SSO] field data mapping transformation on data reception
2016-09-15 17:10:41 +02:00
Sylvain
b7c41e89c4
fix locale of notify_auth_changed mails
2016-09-13 10:48:07 +02:00
Sylvain
d0837706b6
fixed rake tasks
2016-09-05 15:30:46 +02:00
Sylvain
701b913eb1
[ongoing] elastic data structure for storing availabilities info
2016-09-05 15:15:31 +02:00
Sylvain
0c3a2a7832
fix events categories
2016-08-11 11:07:49 +02:00
Sylvain
4d2f46ca95
[feature] Async statistics export to XLSX
...
- fix tests due to removal of event_categories
- rake task for generating statistics
2016-07-27 11:28:54 +02:00
Sylvain
0557cb991f
rake task for correct event statistics mapping in elastic
2016-06-30 14:14:46 +02:00
Sylvain
875e513f1c
Merge remote-tracking branch 'origin/open-api' into dev
2016-06-27 16:31:50 +02:00
cyril
c94121fda0
fix plugin_registry method
2016-06-16 17:37:56 +02:00
Nicolas Florentin
f158ba2890
refacto code insertion code
2016-05-26 15:14:57 +02:00
Nicolas Florentin
3cf75d794f
prepare app to receive navi_gami plugin
2016-05-26 15:14:56 +02:00
Nicolas Florentin
822705c54c
adds necessary code to permit navi gami plugin to add data in user profile view
2016-05-26 15:14:20 +02:00
Nicolas Florentin
a47a78fe9c
simpler way to import scss from plugins
2016-05-26 15:13:36 +02:00
Nicolas Florentin
0c00bf5895
Plugin::Instance can register a stylesheets, enable to import it in application.scss dynamically
2016-05-26 15:13:36 +02:00
Nicolas Florentin
a14130473a
plugin underconstruction... !
2016-05-26 15:13:36 +02:00
Nicolas Florentin
7f032526cb
implements open_api various endpoints
2016-05-04 18:17:50 +02:00
Nicolas Florentin
1a446bf646
frontend openlab search view, ctrl, services
2016-04-22 18:17:55 +02:00
Nicolas Florentin
f65bb95575
almost finishes synchro with openlab system
2016-04-21 11:42:43 +02:00
Sylvain
7817e285f0
rake task to remove stripe secrets from VCR cassettes
2016-04-12 16:43:10 +02:00
Sylvain
6027fb5f38
Merge branch 'hotfix' into tests
2016-04-06 17:47:10 +02:00
Sylvain
929e756b10
[bug] fix incorrect VAT rate on invoices
2016-04-06 17:46:24 +02:00
Nicolas Florentin
dd6ecaa1cd
finally succeed to generate fixtures from db
2016-04-05 12:05:40 +02:00
Nicolas Florentin
a2c09a3ff2
adds rake task to generate fixtures from db, adds a class method to ActiveRecord::Base to generate fixtures
2016-04-05 11:02:49 +02:00
cyril
d1450f65f6
release 2.0 rc
2016-03-23 18:39:41 +01:00
cyril
68eab24fa1
init depot fabmanager
2015-05-05 03:10:25 +02:00