-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
207 lines (131 loc) · 6.82 KB
/
ChangeLog
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
200
201
202
203
204
205
206
2023-07-06 Russell Almond <ralmond@cherry>
* R/MessageQueue.R ($count): Added $count method to MessageQueue,
ListQueue and MongoQueue.
2023-06-23 Russell Almond <ralmond@cherry>
* R/MessageQueue.R (MessageQueue,MongoQueue,ListQueue): New class
for a collection of messages. `MongoQueue` is stored in a
database, and `ListQueue` is just a list of queues.
(fetchNextMessage): New generic function for fetching the next
method from a queue.
(markAsProcessed,markAsError): Added methods for message queue.
(importMessages): Imports messages into the database.
(cleanMessageQueue): Removes unneeded messages from the database.
(resetProcessedMessages): Resets `processed` field of selected
messages.
(purgeMessageQueue_): Removes unneded messages form the database.
* R/InjectionListeners.R (listenerDataTable): -- Method which
extracts the
contents of a message data table as a data frame.
* R/Listeners.R (registerOutput): Logs an output file as available
in the outputdatabase.
(buildListenerSet): wrapper for building whole
listener set from JSON description.
* DESCRIPTION (Version): Fairly major refactoring, moving a number
of things from EABN to here.
2023-05-25 Russell Almond <ralmond@cherry>
* R/Listeners.R: ($notifyListeners): Moved responsibility for setting `sender` field of message to here.
2023-05-24 Russell Almond <ralmond@cherry>
* R/InjectionListener.R (InjectionListener): Changed to pass DB to the class.
* R/UpdateListener.R (UpdateListener): Changed to pass DB to the class.
* R/UpsertListener.R (UpsertListener): Changed to pass DB to the class.
* R/Listeners.R: Moved construction of DB link out of constructors.
(buildListener): dburi and ssl_options are set by the caller, not the config.json This function now builds the Mongo object for the listener.
2023-05-20 Russell Almond <ralmond@cherry>
* R/Listeners.R: Moved various listener types into their own files.
* DESCRIPTION (Imports): Moved the database and json commands to the `mongo` package.
2022-04-11 Russell Almond <[email protected]>
* R/Message.R (parseSimpleData): forced the _id column to always have the name "oid" (necessary for monog).
2021-12-29 Russell Almond <[email protected]>
* R/Listeners.R: added Null method for resetListeners
2020-10-03 Russell Almond <ralmond@pei>
* R/Listeners.R (buildListener): Need basename here, as we don't want the full URL-like app name.
2020-07-31 Russell Almond <ralmond@Cherry>
* R/Message.R (buildJQterm): Strip leading $ from operators.
(buildJQterm): added unlist to deal with unnecessary listification
in fromJSON.
2020-06-12 Russell Almond <ralmond@Cherry>
* inst/config/setupApps.js: New code for setting up new
configuration for AuthorizedApps collection.
* R/Message.R (getManyRecs): Bug in getManyRecs (sort vs sorts).
* R/ErrorHandling.R (shinyAppender): Trial class to append to a
shiny list.
2020-04-26 Russell Almond <ralmond@Cherry>
* R/Listeners.R (listenerName): Changed funciton name and name is
too likely to cause conflicts.
* R/Listeners.R (resetListeners): Added reset method.
* R/Message.R (m_id<-,context<-,timestamp<-): Added setter
methods.
2020-04-20 Russell Almond <ralmond@Cherry>
* R/Listeners.R (buildListener): Added this function to build a
listener from JSON specifications.
(XXXListener): Added name field to all listeners.
2020-04-04 Russell Almond <ralmond@Cherry>
* R/Message.R (markAsProcessed): stupid missing ! causing infinite
loop. Fixed test to die on excessive loops.
2020-03-17 Russell Almond <ralmond@Cherry>
* R/Message.R (makeDBuri): Moved this code here as it seems to be
used just about every time we make a mongo connetion.
(makeDBuri): Added protocol arguement
* R/Listeners.R (ListenerSet): Added trap for blank URI to make
no-Mongo version.
2020-02-19 Russell Almond <ralmond@Cherry>
* R/Message.R (ununboxer): using sapply instead of lapply in
ununboxer causes it to simplify lists of length one in strange
ways. Can I change sapply to lapply here? NO. This breaks lots
of other things.
2020-02-12 Rusell Almond <ralmond@Cherry>
* R/Message.R (saveRec, markAsProcessed, markAsError): Changed so
that these would not save if the col argument is NULL.
2019-12-20 Rusell Almond <ralmond@Cherry>
* R/Message.R (markAsError): Added " to ' conversion to error
messages to avoid quoting issues in Mongo.
2019-07-17 Rusell Almond <ralmond@Cherry>
* R/Listeners.R (TableListener): Added TableListener.
2019-07-02 Russell Almond <[email protected]>
* R/Message.R (cleanMessageJlist): Added check for cases {$oid:
xxx} and {$data:YYYY-MM-DD...} (mongo export rather than using
as.json).
2019-06-19 Rusell Almond <ralmond@Cherry>
* R/Message.R (cleanMessageJlist): Added a trim to the context.
Hopefully, this will get rid of stray whitespace issues.
(as.jlist(P4Message)): Changed to make pError always a string, as
we can't seem to get error when we try to save the object.
2019-05-12 Rusell Almond <ralmond@Cherry>
* R/Listeners.R (UpsertListener): Added context to the list of
fields it updates, as this is particularly useful for the
Statistics collection, but not bad for the Players collection.
2019-04-27 Rusell Almond <ralmond@Cherry>
* R/Message.R (P4Message-class): Added boolean "processed"
field.
2019-03-06 Rusell Almond <ralmond@Cherry>
* R/Message.R (all.equal.P4Message): Added all.equal method so we
can surpress id and timestamp checks when needed.
2019-02-24 Rusell Almond <ralmond@Cherry>
* R/Listeners.R (CaptureListener): Added class to be used for
testing.
2019-02-02 Rusell Almond <ralmond@Cherry>
* R/Listeners.R (MongoDB, ListenerSet): Changed protocol on
ListenerSet, so that connection to the DB is established when
$messdb() method is called, rather than on initialize.
2019-01-13 Rusell Almond <ralmond@Cherry>
* R/Listeners.R: Added listener objects similar to Java listener
paradigm.
2018-12-31 Russell Almond <ralmond@Limu>
* R/Message.R (parseSimpleData, parseData, unparseData): Changed
to forked strategy, using both (un)serializeJSON and
parseSimpleData.
(parseSimpleData, ununboxer): Handling for NULL feilds
2018-12-27 Russell Almond <ralmond@Limu>
* R/Message.R (saveRec): Added names of "oid" to "_id" field, so
it gets automagically processed by buildJQuery.
(parseData, unparseData): Changed the way this works so it now
uses (un)serializeJSON to do the work.
2018-12-24 Russell Almond <ralmond@Limu>
* R/Message.R (unboxer): Changed so that it would not "unbox"
vectors of length greater than 1.
(parseData): Changed so that it wouldn't do numeric/character
conversion if there were lists of length greater than 1.
2018-11-22 Rusell Almond <ralmond@Cherry>
* R/Message.R (unboxer): Changed from overriding unbox, to new
unboxer recursive model.
(as.json): Changed default signature to "ANY".