Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-14 | When debugging, debugs for all services/companies | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
because libcurl's verbose will hit anyway. There's no point trying to debug for a company and not the others. | |||
2021-07-14 | By default, Anteraja will not round up to minimum | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-14 | Log that works | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
Log will show up with libcurl's before the HTML, and only log that is within libcurl's, i.e. in the WRITEFUNCTION. | |||
2021-07-14 | Use macro for format | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-07-13 | Unignore some files | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
which are executable or build or libtool related. | |||
2021-07-13 | Anticipate empty services array | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
There might be cases where there is the JSON object "services", there's the array, but it's empty. | |||
2021-07-13 | Debugs Anteraja response | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-06-29 | Update library name | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
2021-06-29 | Revert "Update repo URL" | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ | |
This reverts commit b8236ef148464706893f5808dcbcabf61975ad1f. |