* NEW API for handling mailing targets
* fix PHP Codesniffer
* adding return values to make phpstan happy
* Update function actually updates
* defining mailing_target public function create
* using a different language translation
* mailing_target - phpstan fixes
* mailing target - no check properties body
* mailing target int typecast fk_mailing
* mailing target - just 1 parameter
* mailing_target phpstan fixes
* mailing_target setting labelStatus
* mailing target class public function delete
* reveal the list of status name for the Mass mailing object in the API
* set tms to now when it is set to draft
* functions to set the mailing target status
* hurl testing api mailings
* hurl test - exit run script at first error
* hurl test mailings - should cover all endpoints
* using self:: in front of the CONST
* Trying to find out which line evaluates to noting
* API mailings can now get the targets of a mailing
* Protected method name "Mailings::_cleanTargetDatas" must not be prefixed with an underscore
* give me fk_project
* API endpoints for: Get all targets of a mass mailing + Get information about a specific target id
* API endpoint to update a mailing target
* telling pre-commit check to ignore, just like done in the function I copied
* be more explicit about for GUI tests we need username and password
* Prevent updating fk_mailing value
* API endpoint deleteTarget
* post to create a mailing target does work, but need slight more testing after work
* correct indent
* fixing some build errors
* More comprehensive hurl test of creation of a target
* adding status_dest to mailing targets json
---------
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
* Adding hurl tests to Dolibarr
* modifying run.sh to get it past commit checks
* change the APIHEADER to be read from the environment
* spell fix
* test to see if build system will accept this file
* deleting script method that doesn't work
* beginning to make hurl tests accept environment variables for the location
* Add GUI login to hurl tests
* Fix CI
* clean code (#35640)
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* clean code
* Fix warning
* Clean code
* PHPStan > Update baseline (#35644)
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
* NEW Can drag and drop in BOM card
* WIP Upload files
* WIP Upload files
* Adding hurl tests to Dolibarr
* using hostnport variable for all remaining tests
* Add some asserts and gui login tests
* double quotes around shell variables
* adding -r to read
* expand mass mail gui test with all 6 columns in the table
---------
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: ldestailleur <eldy@destailleur.fr>
Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dolibot <dolibarr-bot@users.noreply.github.com>
* Adding hurl tests to Dolibarr
* modifying run.sh to get it past commit checks
* change the APIHEADER to be read from the environment
* spell fix
* test to see if build system will accept this file
* deleting script method that doesn't work
* beginning to make hurl tests accept environment variables for the location
---------
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* fetch greatest tms for user and fix user creation and modification
* fetch greatest tms for user and fix user creation and modification
* fetch greatest tms for user and fix user creation and modification
* fetch greatest tms for user and fix user creation and modification
* fetch greatest tms for user and fix user creation and modification
* fetch greatest tms for user and fix user creation and modification
* "Enhance working days calculation to incorporate half-day adjustments and optimize public holiday checks"
* "Add test cases for num_open_day() to validate half-day and weekend boundary scenarios"
* "Update DateLibTest to include Saturday and Sunday as non-working days in test setup"