summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-08-16Array function to be used in Javascriptꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
Plus settings to make it to runtime. Though somehow, the array data isn't passed yet to C.
2022-08-16The typemaps so far are Perl onlyꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-08-16Just include the headerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-08-16Initial node moduleꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-08-16Revert "Init uninitialised with NULL"ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
This reverts commit 0ea9e8be8a539d77215237b9b8359bb4e301a7b3. It caused segmentation fault.
2022-08-14Ignore Vim backup filesꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-08-14JSON syntax highlighting for binding.gypꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-08-14Gyp include_dirs for FBSD & Linuxꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-08-14Init uninitialised with NULLꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-08-14Fix source extensionꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-08-14Add support for creating node.js extensionꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-08-01No curl call in Anteraja implementationꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-08-01Ignore automated backup filesꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-07-26Makefile.am shouldn't be included in .gitignoreꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-07-26Ignore Perl build filesꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2022-01-12Perl version can log to a fileꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-24Make sure the slot is nulledꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-24Make sure services is filled with NULLꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-24Each shipping info is retained in its own slotꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
Slot/enum 0 is reserved for Pikul. libcurl WRITEFUNCTION callback userData parameter is now used for the shipping instance, but may also be used for something else in turns.
2021-07-22No special services structꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-22Remove commented codeꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-22pikul_codes shouldn't be neededꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-20Anticipate situation before there's any address infoꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-20Function for listing services ready in HTMLꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-20Function to get list of just the service codesꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-19Log order POSTꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-19Minimum total weight is 1kgꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-19Merge the inline functions to pikul.cꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
So things are more straight forward, and this makes code more reusable.
2021-07-19Implementations don't need the CURL* object that muchꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-19Merge headers into common.hꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-18The qualifiers have been unnecessaryꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-18Insurance is not determined by user's decisionꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
It depends on some weight threshhold.
2021-07-18Weight times quantity to make up totalꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-17Shouldn't have been addedꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-17Correct previous commitꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-17nitems include item quantities that are more than 1ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-17Should be the user's responsibility to free itꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-17Rename waybill to tracking_numberꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-17Minimum unit price must be 1000 too for Anterajaꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-17Minimum subtotal is 1000 for Anterajaꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-17Tidy up a bitꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-17Remove parameter names to save from retypingꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-17Postal codes for both sender & receiverꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-17Rename trx_id to order_numberꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-17_Bool typemapꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-07-17Finally able to typemap char **[] rightꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
For now the item object is still flattened.
2021-07-16Typemap for char **[]ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
Not tested yet. Here so this compiles up to Perl module.
2021-07-16use_insurance turns out to be requiredꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
This one follows the example given for the boolean JSON value, which is written as true or false. The response is error 500, internal server error. Despite the example, it says max length is 1 in the middle part of the doc, so maybe it should be written as 1 or 0. Will be tried next.
2021-07-16parcel_total_weight turns out to be requiredꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
We use Interchange as a reference, and the unit weight is not saved to database for the transaction, only shipping cost. So to make it convenient for the library users, the total weight calculation is done by the library, so no need to pass any total weight argument.
2021-07-16Fix the truncated items JSONꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
By making sure it's always concatenated with a null terminated string, AND fix the index that gets null terminated in the end.