1. 26 Jan, 2024 40 commits
    • Romain Courteaud's avatar
      slapos_accounting: · 2f414c7f
      Romain Courteaud authored
      * fix: do not use unrelated causality value
        Builder passes all movement used to generate all the invoice
      * allow closing the invoice has soon as the stop date value is reached
      * test: wip accounting checks
      * do not access the object if not needed
      * drop Entity_statOutstandingAmount
      * wip Entity_hasOutstandingAmount
      * wip: create from multiple invoices
        using Entity_getOutstandingAmountList
      * group also outstanding amount by ledger
      * drop PaymentTransaction_start
      * use the same ledger than the payment transaction
      * create Payment Transaction to pay all user's invoices
      * improve Payment line title
      * allow to pay invoices at a date
      * test paying invoices
      * test: fix create payment tests
      * drop preferred_default_pre_payment_subscription_invoice_template_property
      * test: templates were dropped
      * drop preferred_default_pre_payment_template
      * drop getPreferredAggregatedSubscriptionSaleTradeCondition
      * drop preferred_aggregated_sale_trade_condition
      * test: unused variable
      * test: fixup testSlapOSAccountingConstraint
      * test: fix trade condition retrieval
      * drop preferred_instance_delivery_template_property
      * drop slapos_accounting_instance_delivery_template
      * drop slapos_accounting_instance_delivery_line_template
      * drop preferred_aggregated_consumption_sale_trade_condition
      * drop SlapOSAccountingSystemPreference
      * keep organisation_module/slapos/bank_account
      * disable packing list generation from tio xml
        this is not critical for now, and will be upgraded later
      * fixConsistency is not called anymore on Hosting Subscription
      * drop template_compute_node
      * drop template_member
      * test: there is no causality_state anymore on instance tree
      * test: fix consistency on Hosting Subscription does not set the periodicity date
      * drop unused script
      * reduce number of sale trade condition to check
      2f414c7f
    • Romain Courteaud's avatar
      slapos_rss_style: · 9eba923a
      Romain Courteaud authored
      * drop template_software_installation
      * drop template_instance_tree
      * drop template_member
      9eba923a
    • Romain Courteaud's avatar
      slapos_pdm: · a9a36b73
      Romain Courteaud authored
      * update xml format
      * optional_variation_base_category_list are not set in variation_base_category_list
      * force software change from Upgrade Decision
      * drop template_instance_tree
      * allow to force upgrade to a specific release
      * rely on self instead of one a global
      * drop view_related_upgrade_decision on Compute Node
        Deprecated for a long time
      a9a36b73
    • Romain Courteaud's avatar
      9b30c305
    • Romain Courteaud's avatar
      9b28b27d
    • Romain Courteaud's avatar
      slapos_jio: · 8f2e9e5e
      Romain Courteaud authored
      * fixup rebase
      * drop files moved to portal_skins
      8f2e9e5e
    • Romain Courteaud's avatar
      slapos_accounting: · 83ff9883
      Romain Courteaud authored
      * disable packing list generation from tioxml
        Everything is broken currently...
      * drop testSlapOSContractAlarm
      * drop create_new_cloud_contract action
      * drop jump_to_cloud_contract action
      * test: SoftwareInstance_requestValidationPayment was dropped
      * drop CloudContractLine_getRemainingInvoiceCredit
      * drop Person_isAllowedToAllocate
      * drop Entity_statSlapOSOutstandingAmount
      * test: change class inheritance
        do not inherit from a class with existing test, as it forces subclass to keep exactly the same test function name
      * lint: do not redefine id variable
      83ff9883
    • Romain Courteaud's avatar
      slapos_crm: · cc8ae8bf
      Romain Courteaud authored
      * drop preferred_support_request_template_property
      * drop slapos_crm_support_request_template
      * fixup slapos_crm_create_regularisation_request tests
      * reactivate slapos_crm_create_regularisation_request
      * test slapos_crm_invalidate_suspended_regularisation_request is ok
      * test slapos_crm_check_software_installation_state
      * test slapos_crm_check_instance_in_error
      * test slapos_crm_update_support_request_state
      * desactivate Person_getSubscriptionRequestFirstUnpaidInvoiceList
      * drop Person_getSubscriptionRequestFirstUnpaidInvoiceList
      * do not count all Support Requests
        limit parameter with count is meaningless, as count return 1 result
      * update Base_getSupportRequestInProgress usage
      * XXX disable ticket.notify and ticket.requestEvent
      * wip script to create Support Request and Event
      * search a matching Trade Condition to generate a Support Request
      * update ComputeNode_checkState to use new scripts
      * test ComputeNode_checkSoftwareInstallationState
      * deliver outgoing events
      * test InstanceTree_checkSoftwareInstanceState
      * Project_createSupportRequestWithCausality already checks if Support Request exists
      * no need to check twice the object portal type
      * test SupportRequest_updateMonitoringState
      * activate one more alarm
      * revert  Send Mail on pending tickets
        nexedi/slapos.core!417
        Virtual Master's manager are responsible to handle the tickets through their worklist.
        Not user.
        Virtual Master's manager can send email from the Ticket to directly ping a user.
      * drop ticket_slap_interface_workflow
      * test ComputeNode_hasContactedRecently
        Do not check if there is a packing list. It is unrelated to the contact.
      * Base_getOpenRelatedTicketList was dropped
      * ComputeNode_checkAndUpdateAllocationScope was dropped
      * test: simplify
      * set comment in the event workflow history
      * send Mail Message
      * unify event creation
        Reuse Ticket_createProjectEvent
      * do not pass a empty list of node_uid
      * no need to manually handle the notification message
      * create the Regularisation Request from a Trade Condition instead of a template
      * use notification message title instead of the ticket title
      * use Entity_hasOutstandingAmount
        Entity_getOutstandingAmount is meaningless in case of multiple source_section and multiple currencies.
        Entity_hasOutstandingAmount will only report True or False.
      * test RegularisationRequest_invalidateIfPersonBalanceIsOk
      * test RegularisationRequest_checkToTriggerNextEscalationStep
      * test RegularisationRequest_triggerStopReminderEscalation
      * test RegularisationRequest_triggerStopAcknowledgmentEscalation
      * test RegularisationRequest_triggerDeleteReminderEscalation
      * test RegularisationRequest_stopInstanceTreeList
      * test RegularisationRequest_deleteInstanceTreeList
      * fixup RegularisationRequest_checkToSendUniqEvent tests
      * fixup RegularisationRequest_checkToTriggerNextEscalationStep tests
      * fixup InstanceTree_stopFromRegularisationRequest tests
      * fixup InstanceTree_deleteFromRegularisationRequest tests
      * drop slapos_crm_regularisation_request_template
      * drop slapos_crm_web_message_template
      * drop preferred_web_message_template_property
      * drop slapos_ticket_trade_condition
      * drop update_destination_for_slapos
      * drop allocation_tester
      * drop template_software_installation
      * drop template_instance_tree
      * drop template_member
      * test: fixup person title
      * test: fixup: ensure tickets can be created
      * test: fixup creation of instance tree
      * test: fixup instance tree creation
      * test: ComputeNode_getTicketRelatedList was dropped
      * test: rss feed will be used by virtual manager production
      * test: ticket.approveRegistration was dropped
      * ExactMatch
      cc8ae8bf
    • Romain Courteaud's avatar
      slapos_cloud: · d9981cfd
      Romain Courteaud authored
      * drop support request template preference
      * drop my_preferred_support_request_template
      * stop using getPreferredSupportRequestTemplate
      * drop Subscription Condition usage
      * break Base_getSupportRequestInProgress
        Use causality category instead of aggregate, to link the Ticket to the context document (instance, node, ...).
        Aggregate must be used to define the item of the movement resource.
        Break the parameters and use the context to define the causality value.
      * use causality to link the  Ticket to the context document
      * XXX disable person.notify & person.requestSupport
        I don't get why there are 2 transitions for now.
      * drop ComputerNetwork_viewComputeNodeList
      * drop notify and requestSupport transitions
        They have been replaced by python script and alarms
      * test: person.notify has been dropped
      * drop slapos_crm_regularisation_request_template
      * Do not allow user to change the release/type/shared status
      * no need to use a tag if context is not reindexed
      * allow to force software change
      * speed up Base_reindexAndSenseAlarm execution
      * drop my_preferred_default_pre_payment_template
      * drop default_pre_payment_subscription_invoice_template
      * drop getPreferredAggregatedSubscriptionSaleTradeCondition
      * test: drop unused functions
      * drop preferred_aggregated_sale_trade_condition
      * drop preferred_aggregated_sale_trade_condition
      * test: drop reference to slapos_aggregated_trade_condition_v3
      * test: drop test from dropped interaction
      * test: role is not required on a Person
      * test: do not invalidate instance to not unlink
      * test: create Trade Condition when Project is accountable
      * drop slapos_crm_web_message_template
      * drop my_preferred_web_message_template
      * drop template_pre_payment_subscription_sale_invoice_transaction
      * drop preferred_default_pre_payment_subscription_invoice_template
      * drop slapos_accounting_instance_delivery_line_template
      * drop slapos_aggregated_consumption_trade_condition
      * drop preferred_aggregated_consumption_sale_trade_condition
      * drop unused template
      * drop template_computer_model
      * drop template_hosting_subscription
      * drop template_software_installation
      * drop template_compute_node
      * drop template_instance_tree
      * drop template_software_instance
      * drop template_member
      * drop drop template_software_instance
      * drop template_software_instance
      * drop template_software_instance
      * add afterClone scripts
      * test: check remote node parameters propagation
      * try to create an upgrade decision for a remote instance
      * test: add checkRemoteInstanceUnallocation method
      * XXX stop invalidating Slave Instance
        TODO: Instance on Remote Node must propagate their destruction, before being invalidated
      * instance must be invalidated before unallocating it
      * drop not needed script
      * invalidate Slave Instance allocation on a Compute Node
      * trigger invalidation as soon as an Instance is destroyed
      * alarm must visit allocated Slave Instance to invalidate them
      * report software url of the linked instance, even if it is in destroyed_state / invalidated
      * test: slave are not directly invalidated as soon as it is destroyed
      * propagate remote node destruction
      * do not crash if no instance is found
      * ExactMatch
      * drop comments
      * keep compatibility with project_guid sla
      * allow to propagate a single instance
      * add subordination category on Remote Node
      * try to wait for previous alarms to finish before triggering a new one
      * priority 3
      * do not call activeSense concurrently
      * prevent activeSense to be called concurrently
      * reduce number of activities
      * do not loop
      * drop preferred_cloud_contract_enabled
      * stop using hateoas web site
      * change the skin selection to register
      * test: create needed bank account
      d9981cfd
    • Romain Courteaud's avatar
      slapos_configurator: do not prevent slapos_category to be updated · f457faaf
      Romain Courteaud authored
      otherwise, new categories are not installed
      f457faaf
    • Romain Courteaud's avatar
      slapos_panel_ui_test: · d8522ba8
      Romain Courteaud authored
      * test: assignments are automatically created when adding a virtual master
      d8522ba8
    • Romain Courteaud's avatar
    • Romain Courteaud's avatar
      slapos_erp5: · c254df44
      Romain Courteaud authored
      * test: fixup trade condition specialise
      * configure 2 modules's business_application
      * do not allow user to see each others
        Do not allow personal information to be visible to anybody
      * allow Sale agent/manager to handle Assignments
      * test: assignments are automaticall created when creating a virtual master
      * test: fixup
      * drop organisation pages
      c254df44
    • Romain Courteaud's avatar
      slapos_subscription_request: · 8c5b9194
      Romain Courteaud authored
      * assert trade_condition_type are the same
      * update Subscription Request view
      8c5b9194
    • Romain Courteaud's avatar
    • Romain Courteaud's avatar
    • Romain Courteaud's avatar
    • Romain Courteaud's avatar
      slapos_erp5: · ac36e283
      Romain Courteaud authored
      * test: slapos_panel_compatibility was added
      * test: create Trade Condition for Deposit
      * test:  slapos_panel_compatibility skin selection
      ac36e283
    • Romain Courteaud's avatar
      0819fdad
    • Romain Courteaud's avatar
      slapos_payzen: update xml format · 4e7a77f6
      Romain Courteaud authored
      4e7a77f6
    • Romain Courteaud's avatar
      slapos_crm: update xml format · 98cf645a
      Romain Courteaud authored
      98cf645a
    • Romain Courteaud's avatar
    • Romain Courteaud's avatar
      slapos_pdm: software_release is an optional variation · cc23fdf2
      Romain Courteaud authored
      We can not update the Open Order every time one Instance is upgraded
      cc23fdf2
    • Romain Courteaud's avatar
      slapos_accounting: · d0f9e509
      Romain Courteaud authored
      * search Sale Trade Condition by trade_condition_type
      * set trade_condition_type on temporary Sale Order
      d0f9e509
    • Romain Courteaud's avatar
    • Romain Courteaud's avatar
    • Romain Courteaud's avatar
      slapos_panel: · 664dcd3a
      Romain Courteaud authored
      * readd translation bt5 dependencies
      * configure trade_condition_type on the Sale Trade Condition
      664dcd3a
    • Romain Courteaud's avatar
    • Romain Courteaud's avatar
    • Romain Courteaud's avatar
      slapos_category: Add trade condition type categories. · eba57d22
      Romain Courteaud authored
      This will be used to automatically select a Trade Condition in slapos_accounting
      eba57d22
    • Romain Courteaud's avatar
      slapos_jio_before_deletion: · 958c5305
      Romain Courteaud authored
      * dependencies
      958c5305
    • Romain Courteaud's avatar
      slapos_jio: · de100658
      Romain Courteaud authored
      * status gadget portal _type is provided by the python script
      * do not mess with cursor used by browser
        it only confuses users
      * do not display links without href
      * disable gadget status onLoop
        Instead of jio.get, the paramers must provide the url to query,
        otherwise, it is not possible to use this gadget in the full ERP5JS
      * reintroduce all stuff from slapos_jio_before_deletion
        my branch is not ready to drop everything
      de100658
    • Romain Courteaud's avatar
    • Romain Courteaud's avatar
      slapos_panel: · 526cc755
      Romain Courteaud authored
      * project does not have status gadget anymore
      * use getPreferredHateoasUrl to generate the compute token
        improve consistency with slaptool (configure this value in 1 place only)
      526cc755
    • Romain Courteaud's avatar
      slapos_jio/panel: restore status gadget first rendering · 43217339
      Romain Courteaud authored
      onLoop must be fixed probably
      43217339
    • Romain Courteaud's avatar
      slapos_jio: restore label_listbox_field · 67663dc4
      Romain Courteaud authored
      67663dc4
    • Romain Courteaud's avatar
      slapos_panel: drop hardcoded url · 3882907a
      Romain Courteaud authored
      3882907a
    • Romain Courteaud's avatar
    • Romain Courteaud's avatar
      397a030c
    • Romain Courteaud's avatar
      slapos_cloud · 0faee7cc
      Romain Courteaud authored
      * add slaos_cloud_garbage_collect_one_time_virtual_master_access_token
      0faee7cc