Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-08-14 | Init uninitialised with NULL | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-08-14 | Fix source extension | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-08-14 | Add support for creating node.js extension | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-08-01 | No curl call in Anteraja implementation | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-08-01 | Ignore automated backup files | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-07-26 | Makefile.am shouldn't be included in .gitignore | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-07-26 | Ignore Perl build files | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2022-01-12 | Perl version can log to a file | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-24 | Make sure the slot is nulled | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-24 | Make sure services is filled with NULL | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-24 | Each 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-22 | No special services struct | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-22 | Remove commented code | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-22 | pikul_codes shouldn't be needed | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-20 | Anticipate situation before there's any address info | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-20 | Function for listing services ready in HTML | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-20 | Function to get list of just the service codes | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-19 | Log order POST | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-19 | Minimum total weight is 1kg | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-19 | Merge the inline functions to pikul.c | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
So things are more straight forward, and this makes code more reusable. | |||
2021-07-19 | Implementations don't need the CURL* object that much | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-19 | Merge headers into common.h | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-18 | The qualifiers have been unnecessary | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-18 | Insurance is not determined by user's decision | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
It depends on some weight threshhold. | |||
2021-07-18 | Weight times quantity to make up total | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-17 | Shouldn't have been added | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-17 | Correct previous commit | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-17 | nitems include item quantities that are more than 1 | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-17 | Should be the user's responsibility to free it | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-17 | Rename waybill to tracking_number | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-17 | Minimum unit price must be 1000 too for Anteraja | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-17 | Minimum subtotal is 1000 for Anteraja | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-17 | Tidy up a bit | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-17 | Remove parameter names to save from retyping | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-17 | Postal codes for both sender & receiver | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-17 | Rename trx_id to order_number | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-17 | _Bool typemap | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-17 | Finally able to typemap char **[] right | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
For now the item object is still flattened. | |||
2021-07-16 | Typemap for char **[] | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
Not tested yet. Here so this compiles up to Perl module. | |||
2021-07-16 | use_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-16 | parcel_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-16 | Fix 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. | |||
2021-07-16 | Initialise items JSON before concatenating | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-16 | Update value parameter to subtotal | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-16 | Order functionality draft | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
Not tested yet. Now the item object is still flattened as an array, initially to hurry the interfacing with the Perl module. But we were stuck with having to typemap char *** anyway, so we switch to SWIG because of the potential of ease. Still, we need to typemap char ***, but now that we're at SWIG, we might as well typemap a custom item struct. | |||
2021-07-16 | SWIG files, therefore deprecating Pikul-XS | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-16 | Generalise the response handler | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
so the common part gets to be reused. | |||
2021-07-16 | Services weight max length macro | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-16 | No need for shipping to be passed as pointer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
when it needs to be global anyway. | |||
2021-07-14 | Macros for Anteraja services | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |