-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChanges
More file actions
199 lines (195 loc) · 7.83 KB
/
Changes
File metadata and controls
199 lines (195 loc) · 7.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
----------------------------
revision 1.49
Date: Thu Aug 28 10:30:00 2014 -0700
Strip external binary dependency.
Use LWP::UserAgent instead of system curl with Open2.
----------------------------
revision 1.42
Date: Thu Aug 21 13:02:36 2014 -0700
Add more xml tags to special handling for XML::Simple.
Date: Fri Aug 22 00:45:34 2014 -0700
Finish snakifying methods.
Date: Sun Aug 24 10:49:32 2014 -0700
Drop 'data' and 'href' elements from parent object.
----------------------------
revision 1.40
date: 2014/08/14 18:08:23; author: ted; state: Exp;
Major revamp of Zazzle:
Move Zazzle.pm to lib/Zazzle/API.pm
Add lib/Zazzle/DB.pm
update MANIFEST, Makefile.PL and test.pl
create/update relevant documentation
----------------------------
revision 1.32
date: 2014/08/13 15:44:39; author: ted; state: Exp; lines: +3 -3
call xmltoh() as class method, typecast data element as array in join(), and do not use scalar workaround for xml_in() options
----------------------------
revision 1.31
date: 2014/08/13 15:18:34; author: ted; state: Exp; lines: +19 -1
xmltoh():
This method converts returned xml data into a hash reference
using XML::Simple to do the heavy lifting. Add a test for
XML::Simple->xml_in() and document $zaz->{'href'} in pod.
----------------------------
revision 1.30
date: 2014/08/11 17:45:43; author: ted; state: Exp; lines: +38 -2
Switch to BSD style license and add license() method.
----------------------------
revision 1.29
date: 2014/08/11 17:06:15; author: ted; state: Exp; lines: +1 -1
sync Changes and VERSION
----------------------------
revision 1.28
date: 2014/08/11 17:05:04; author: ted; state: Exp; lines: +29 -3
Add getorder() method and documentation for it.
Also, document $obj->{'data'} before explaining
all API methods since this element will store
all returned data from Zazzle REST API.
----------------------------
revision 1.27
date: 2014/08/11 16:38:13; author: ted; state: Exp; lines: +3 -9
zap usage of path. It has not been used yet. It is not the job of this module to handle data translation and storage
----------------------------
revision 1.26
date: 2014/08/11 16:36:14; author: ted; state: Exp; lines: +19 -0
addorderactivity()
Submit messages for an order to the Zazzle customer support staff.
This uses URI::Escape to encode the message prior to submission.
We must now expect URI::Escape as a run-time dependency.
Documentation for this method is also included in this commit.
----------------------------
revision 1.25
date: 2014/08/11 00:08:01; author: ted; state: Exp; lines: +5 -1
prettier die with link to curl project
----------------------------
revision 1.24
date: 2014/08/10 23:58:36; author: ted; state: Exp; lines: +1 -0
die if system curl cannot be found
----------------------------
revision 1.23
date: 2014/08/10 22:57:31; author: ted; state: Exp; lines: +1 -1
trim line
----------------------------
revision 1.22
date: 2014/08/10 22:14:16; author: ted; state: Exp; lines: +8 -0
listordermessages() was added with last commit, but not noted.
Now we have added documentation for this method
----------------------------
revision 1.21
date: 2014/08/10 22:08:20; author: ted; state: Exp; lines: +10 -1
fix document layout for listupdateorders
----------------------------
revision 1.20
date: 2014/08/10 22:03:23; author: ted; state: Exp; lines: +14 -0
add listupdateorders and documentation
----------------------------
revision 1.19
date: 2014/08/10 18:05:42; author: ted; state: Exp; lines: +4 -0
put copyright in documentation
----------------------------
revision 1.18
date: 2014/08/10 17:53:06; author: ted; state: Exp; lines: +1 -1
sync Changes and $VERSION
----------------------------
revision 1.17
date: 2014/08/10 17:50:41; author: ted; state: Exp; lines: +3 -1
use which from File::Which to find curl at runtime
----------------------------
revision 1.16
date: 2014/08/10 17:43:44; author: ted; state: Exp; lines: +78 -52
fix almost all instances of line length over 72 chars
----------------------------
revision 1.15
date: 2014/08/10 15:44:47; author: ted; state: Exp; lines: +4 -3
separate accept and reject methods for easier reading
----------------------------
revision 1.14
date: 2014/08/10 07:37:22; author: ted; state: Exp; lines: +6 -1
include example of getting file path for initializing new object
----------------------------
revision 1.13
date: 2014/08/10 07:22:15; author: ted; state: Exp; lines: +46 -0
add wrappers for ackorder as well as documentation
----------------------------
revision 1.12
date: 2014/08/10 06:54:24; author: ted; state: Exp; lines: +21 -3
Add ackorder method. This method should never be called directly,
and will not be covered in the documentation. Instead, subsequent
wrappers will be written defining type and action parameters.
Also, cleanup getshippinglabel with a few nits, and use simpler
'eq' for string comparison instead of unnecessary regex.
----------------------------
revision 1.11
date: 2014/08/10 00:58:22; author: ted; state: Exp; lines: +1 -1
Bump version number according to this repository.
This version number and the contents of CHANGES
will not always be in sync during development. It
is the goal of the project to synchronize the
version and the CHANGES file at times of release.
Next commit will introduce necessary files for
CPAN compatibility. Licensing is reserved until
the project is ready for distribution.
----------------------------
revision 1.10
date: 2014/08/10 00:39:08; author: ted; state: Exp; lines: +6 -2
standarize module and add VERSION
----------------------------
revision 1.9
date: 2014/08/10 00:20:28; author: ted; state: Exp; lines: +1 -3
proper include of Digest::MD5 to remove redundant calls
----------------------------
revision 1.8
date: 2014/08/09 21:38:26; author: ted; state: Exp; lines: +20 -20
MD5 hashes are generated for each call, and use required elements
such as orderid, weight, etc. So, quit generating a default hash
when zazzle object is created. Instead, store the secret key in
this object, and let each method generate its own required hash.
While here, reformat usage documentation allowing more space.
----------------------------
revision 1.7
date: 2014/08/09 01:01:41; author: ted; state: Exp; lines: +20 -0
add getshippinglabel() method and documentation on its usage
----------------------------
revision 1.6
date: 2014/08/09 00:38:40; author: ted; state: Exp; lines: +1 -0
undefine url object after successful fetch()
----------------------------
revision 1.5
date: 2014/08/09 00:37:52; author: ted; state: Exp; lines: +9 -4
Redo url handling:
Remove 'method' object.
Define baseurl which should never be modified.
Let each method define relevant url.
Add url error handling and include in dump.
----------------------------
revision 1.4
date: 2014/08/08 23:16:42; author: ted; state: Exp; lines: +8 -1
validate() fails right away if array is empty, and fetch dumps data before dying
----------------------------
revision 1.3
date: 2014/08/08 23:06:39; author: ted; state: Exp; lines: +2 -2
correct erroneous comments
----------------------------
revision 1.2
date: 2014/08/08 23:03:40; author: ted; state: Exp; lines: +24 -0
begin documentation of Zazzle module
----------------------------
revision 1.1
date: 2014/08/08 22:30:04; author: ted; state: Exp;
branches: 1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 2014/08/08 22:30:04; author: ted; state: Exp; lines: +0 -0
Initial Module for Zazzle REST API
Includes:
new():
method for creation of new zazzle object including md5 hash
fetch():
internal method for requesting xml data from zazzle
validate():
internal method validating returned xml data according
to zazzle documentation at the time of writing
listneworders():
method for fetching of new order data from zazzle
=============================================================================