-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVERSIONS.txt
More file actions
383 lines (283 loc) · 14.1 KB
/
VERSIONS.txt
File metadata and controls
383 lines (283 loc) · 14.1 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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
iOSBasics
Version 0.33.2 (2/12/22)
* Removed unused code.
Version 0.33.1 (2/12/22)
* Added message to an exception enum.
* Removed a specific fix for Rod. This may have been causing his
launch failure issue.
Version 0.33.0 (10/25/21)
* Add max file size configuration.
Version 0.32.2 (8/28/21)
* Update packages, for ChangeResolvers-- and `notNew`.
Allow `notNew` key to be nil.
Version 0.32.1 (8/28/21)
* Update packages, for ChangeResolvers-- and `notNew`.
Version 0.32.0 (8/27/21)
* Add creation/update to attributes returned from fileAttributes
Version 0.31.15 (8/22/21)
* Attempted fix for crash Rod saw on 8/21/21.
Version 0.31.14 (8/22/21)
* Added more debugging for DownloadFileTracker
Version 0.31.13 (8/15/21)
* Added support for restarting downloads when they expire
* Generalized an expiry protocol for use across three models that have expiries.
Version 0.31.12 (8/15/21)
* Added more debugging output
* Removed an unused parameter, when checking for expired uploads.
* Changed configuration parameter to more suitable value for release
Version 0.31.11 (8/14/21)
* Added retry of expired upload deletions
- Migrations for UploadDeletionTracker for expiry and networkCacheId field.
- With migration of expiry field values.
* Applied new priority rules for deletions, uploads, and downloads
- https://github.com/SyncServerII/Neebla/issues/25#issuecomment-898940988
- Added associated tests.
Version 0.31.10 (8/13/21)
* Added some constraints to not allow downloading of files currently being uploaded: https://github.com/SyncServerII/Neebla/issues/25#issuecomment-898779555
* Added related tests.
* Added a specific migration/fix for this issue for Rod.
Version 0.31.9 (8/13/21)
* Add logging.
Version 0.31.8 (8/13/21)
* Removed URL+Extras-- moved to iOSShared.
Version 0.31.7 (8/11/21)
* Added more logging; queueing deletions when `allowUploadDownload` is true.
Version 0.31.6 (8/11/21)
* Added more logging
Version 0.31.5 (8/10/21)
* Not throwing error from `migration_2021_8_7` because this is causing a problem for Rod.
Version 0.31.4 (8/10/21)
* Add a check to ensure a file can be read, immediately before uploading because an error in this regard happened today.
* Add `allowUploadDownload` to configuration to enable debugging.
* Added debugging output to indicate if we can read files.
Version 0.31.3 (8/10/21)
* Add some logging.
Version 0.31.2 (8/9/21)
* Fix migration issue. See https://github.com/SyncServerII/Neebla/issues/26
Version 0.31.1 (8/8/21)
* Run automated tests, and make updates for v0.31.0 changes.
- Removed unused method.
- Reverted a cache deletion change because it was causing test failures.
- Fixed an incorrect logging condition.
Version 0.31.0 (8/8/21)
* Changes for https://github.com/SyncServerII/Neebla/issues/25
- Add support for retries of uploads based on an expiry duration:
`uploadExpiryDuration`.
- Also added a test for new server support of detecting a duplicate v0 upload:
.v0DuplicateFileUpload
- Uses defaultUploadExpiryDuration of 10 minutes. This is for initial TestFlight
build only. Don't release this to App Store.
Version 0.30.5 (8/2/21)
* Add debugging output. Trying to gather info to fix Rod's issue: https://github.com/SyncServerII/Neebla/issues/25
Version 0.30.4 (8/1/21)
* Fixed an issue (that an Apple reviewer found-- thank you Apple!) in `sendRequestTo` which, since the addition of refresh retries to refresh an expired access token, wasn't allowing requests to endpoints which didn't require authentication. And specifically, requests to `getSharingInvitationInfo` had no longer been working. And so when the Apple reviewer tried to redeem a sharing invitation, that failed because the request to `getSharingInvitationInfo` failed.
* Added an automated test to ensure that the `getSharingInvitationInfo` failure doesn't happen again.
Version 0.30.3 (7/21/21)
* Fix an issue in upsert(fileIndex ...)
Version 0.30.2 (7/18/21)
* Added `usersThatMustBeInDestination` to move file groups.
Version 0.30.1 (7/13/21)
* Changed to a pair of push notifications for the file group move-- one to the
source sharing group, one to the destination sharing group.
Version 0.30.0 (7/11/21)
* Changes for upload deletion- only uses fileGroupUUID now.
* Changes to require fileGroupUUID on v0 uploads.
* Added file group move method on sync server interface.
Version 0.29.16 (6/27/21)
* Add email address to a redeemSharingInvitation case.
Version 0.29.15 (6/27/21)
* Add recording of user email addresses. In check creds, add user and redeem sharing invitation for new users. See https://github.com/SyncServerII/ServerMain/issues/16
Version 0.29.14 (6/26/21)
* Another effort to fix the credentials refresh.
Version 0.29.13 (6/26/21)
* Fixed (yet another) issue with credentials refresh.
Version 0.29.12 (6/23/21)
* Fixed issue with checkCreds-- it was using the wrong credentials object.
* Refactored some credentials related code in Networking.
* Removed unused `setCredentials` delegate method.
Version 0.29.11 (6/21/21)
* Enabled use of batchUUID when calling getUploadsResults
- Corresponds to server version 1.11.5;
See https://github.com/SyncServerII/Neebla/issues/20
* Added more credentials refresh logging.
Version 0.29.10 (6/21/21)
* Added more logging.
Version 0.29.9 (6/21/21)
* Fixed issue with reset downloads. Had been using .all but really needed .some.
- Improved some related log messaging.
Version 0.29.8 (6/20/21)
* Added code to reset downloads from public interface. See https://github.com/SyncServerII/Neebla/issues/21
* Added temporary fix for https://github.com/SyncServerII/Neebla/issues/20
Version 0.29.7 (6/20/21)
* Using updated `iOSShared`.
Version 0.29.6 (6/20/21)
* Made debug info available in non-debug builds. Again-- using `notice`.
Version 0.29.5 (6/19/21)
* Made debug info available in non-debug builds.
Version 0.29.4 (6/18/21)
* Added `fileGroupAttributes` method on interface.
Version 0.29.3 (6/16/21)
* Added credentials refresh for simple network requests.
See https://github.com/SyncServerII/Neebla/issues/17
Version 0.29.2 (6/16/21)
* Added logging.
Version 0.29.1 (6/14/21)
* Added logging for user sign out.
* Added `maxConcurrentFileGroupUploads` to configuration-- to limit the number
of concurrent uploads to the server. And some corresponding changes to the code
to use this parameter.
Version 0.29.0 (6/10/21)
* Add conflict processing: When an upload occurs with a file label
and that file label had already been uploaded for that file group.
- See https://github.com/SyncServerII/Neebla/issues/15#issuecomment-855324838
- Now starting to use uuid collision delegate method with this.
Version 0.28.4 (6/3/21)
* Fix issue with updating mostRecentDate in SharingEntry's.
Only update the mostRecentDate if the new one is non-nil.
Version 0.28.3 (6/3/21)
* Added mostRecentDate to SharingEntry table.
Version 0.28.2 (6/3/21)
* Added comments.
* Added mostRecentDate to SharingGroup type.
* Checking for unknown fileLabel's in a fileIndex -- so that there is no failure.
Just ignores that file index record. This is in preparation for the addition of
fileLabel's to existing object types and ensuring that apps that haven't yet been
updated don't fail.
Version 0.28.1 (5/31/21)
* fileAttributes now returns nil if the fileUUID isn't found.
Version 0.28.0 (5/30/21)
* Added support for informAllButSelf.
Modified iOSBasics.SharingGroup for this.
Added serverVersion to attributes returned from fileAttributes method.
Added supporting test cases.
* MIGRATION:
Added informAllButSelf field to UploadFileTracker
Version 0.27.2 (5/16/21)
* Fix user defaults issue with storing current schema version.
Version 0.27.1 (5/16/21)
* Fix mark download state -- to allow files/objects to be redownloaded.
In the last release if you removed an album and then readded it, you couldn't download the items in the album.
Version 0.27.0 (5/15/21)
* Updates based on the v1.9.0 server changes
Removed users are now marked as deleted in sharing groups.
Removed filtering for deleted sharing groups from sharingGroups method.
No longer trying to infer deleted sharing groups from missing sharing groups.
See https://github.com/SyncServerII/Neebla/issues/12
* Update related tests.
* Updates for v0.14.0 `iOSShared`-- database migration protocol improvements.
Enable test cases to work with database migration.
* Fix checkCreds issue when unauthorized.
Version 0.26.0 (5/8/21)
* Added support for appMetaData in downloading
* Added SQLite migration support
* Added migration for:
DownloadFileTracker: appMetaData field.
Version 0.25.1 (5/8/21)
* Improve operation of server version check-- it had been reporting bad server version when the server was down.
Version 0.25.0 (4/17/21)
* Changed invitationAccepted parameter to RedeemResult
Version 0.24.0 (4/17/21)
* Removed unused parameter with `removeUser` method.
* Added `SignIns` public method-- removeUser
* Have redeemSharingInvitation method not check if app is in foreground.
Version 0.23.0 (4/16/21)
* Added more flexible canMakeNetworkRequests method.
* Enabling invitation redeeming to report if an account was created or not.
Version 0.22.1 (4/11/21)
* Fixed CheckCreds issue: Incorrect force unwrap caused a crash.
Version 0.22.0 (4/11/21)
* Added call to versionsAreOK
* Added tests of version checking-- plus fixed one issue.
* Adding networking failover.
* Get tests running again due to tooManyRequests issue
Version 0.21.0 (4/3/21)
* Moved AppState to iOSShared library.
Version 0.20.2 (3/31/21)
* Added tests.
Version 0.20.1 (3/30/21)
* Working on fixing issue: https://github.com/SyncServerII/Neebla/issues/9
Version 0.20.0 (3/29/21)
* Added debugPendingUploads public method.
Version 0.19.0 (3/28/21)
* Added UserDisplayable conformance to SyncServerError.
Version 0.18.2 (3/28/21)
* Fix issue: From server log: Mismatch: At least one of the uploads had an uploadCount different than: 2
Version 0.18.1 (3/28/21)
* Fix issue with uploadsMatching
Version 0.18.0 (3/28/21)
* Deal with "v0 contents for change resolver (CommentFile) were not valid": https://github.com/SyncServerII/Neebla/issues/8. I rewrote and cleaned up code dealing with upload prioritization. In particular, when doing initial upload queuing or when retriggering, v0 uploads were not given consistent priority.
* When doing testing, not using check deferred Timer. That had been making tests flaky.
* Fixed a test `testQueueTwoObjectsAlreadyRegisteredWorks` that was at best flaky-- due to some changes to sync that been done earlier.
* Added some logging.
* Condensed/refactored *anyUploadsWith* methods-- there were too many for readability and for testability.
Version 0.17.1 (3/20/21)
* Refactored some code for clarity.
Version 0.17.0 (3/20/21)
* Added method to indicate foreground/background state to library.
Version 0.16.0 (3/19/21)
* Added use of `BackgroundAsssertable` in networking delegate calls.
Version 0.15.0 (3/18/21)
* Working on crash issues. Added use of `BackgroundAsssertable`.
Version 0.14.0 (3/16/21)
* Generalize network reachability to NetworkRequestable.
Version 0.13.3 (3/15/21)
* Fix issue where additional uploads for a file group could start even when the file group is currently uploading.
Version 0.13.2 (3/14/21)
* Fix downloadable files issue. Files marked as deleted were being returned as still downloadable.
Version 0.13.1 (3/10/21)
* Remove unused/commented out code.
* Added debugging methods.
* Fixed syncQueue issue.
* Added `cleanupIfNeeded` method-- to deal with Neebla issue of not being able to download an object.
Version 0.13.0 (3/4/21)
* Rename a delegate method for consistency.
* Improve upload error handling.
* Retriggering failed uploads.
Version 0.12.1 (3/4/21)
* Rename a method.
Version 0.12.0 (3/4/21)
* Added method to return most recent local file version.
* Added support for new batch upload files on server.
Version 0.11.2 (2/28/21)
* Fixed more queue usage issues.
Version 0.11.1 (2/28/21)
* Fixed serial queue issue.
Version 0.11.0 (2/28/21)
* Added use of serial queue.
Version 0.10.0 (2/25/21)
* Changed delegate method: Now explicitly reporting file group UUIDs upon completion of deferred operations.
Version 0.9.1 (2/22/21)
* Refactoring related to Index returning summary of file groups.
Version 0.9.0 (2/21/21)
* Index now returning summary of file groups, when given with no sharing group parameter.
Version 0.8.0 (2/21/21)
* Using NetworkReachability protocol and fake reachability for testing.
Version 0.7.1 (2/21/21)
* Fix build issue.
Version 0.7.0 (2/21/21)
* Improving deletion queuing.
Version 0.6.0 (2/20/21)
* sync method now throws error if no network connection.
Version 0.5.0 (2/20/21)
* Fix issue due to dependent iOSShared library, and add Errors protocol compliance.
Version 0.4.1 (2/20/21)
* Make SyncServerError equatable and make that public.
Version 0.4.0 (2/20/21)
* Added checks for networking connectivity.
Version 0.3.1 (2/18/21)
* Added logging.
Version 0.3.0 (2/17/21)
* Improved retry mechanism for downloads.
Version 0.2.0 (2/7/21)
* Improved error reporting.
Version 0.1.0 (2/6/21)
* Added UpdateUser endpoint.
Version 0.0.4 (2/3/21)
* Further work on download issues: Improve error handling.
Version 0.0.3 (2/3/21)
* Working on download issues:
https://github.com/SyncServerII/iOSBasics/issues/2
Version 0.0.2 (1/30/21)
Fix push notification error reporting.
Version 0.0.1 (1/27/21)
Beta testing.