-
-
Notifications
You must be signed in to change notification settings - Fork 191
/
ChangeLog
815 lines (451 loc) · 17.5 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
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
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
2015-11-07 Dongsheng Cai <[email protected]>
Issue #122 Enhance APNs connection
Improve logging.ini
2015-11-06 Dongsheng Cai <[email protected]>
Fix #120 Implement APIs over SSL
Fix dbprefix
Issue #123 Add indexes to collections
2015-09-27 Dongsheng Cai <[email protected]>
Merge pull request #116 from pathikb/apns_shutdown_fix
APNS Fix: Added status-code 10 to status_table dictionary, credit to @pathikb
2015-09-24 Pathik <[email protected]>
Added status-code 10 to status_table dictionary
The status code for Shutdown (Status = 10) was only added to the comments and not to the actual status_table dictionary. The APNS module crashes the moment it encounters status 10. This commit is a fix for that.
2015-08-12 Dongsheng Cai <[email protected]>
Merge pull request #113 from University-of-Strathclyde-LTE-Team/wip-112
This is a "better" fix for the connection being dropped, credit to @mhughes2k #113
2015-08-11 Michael Hughes <[email protected]>
This is a "better" fix for the connection being dropped If reconnect is on it will re-attempt as per the APNS documentation
2015-07-22 Dongsheng Cai <[email protected]>
Issue #112 non 6-byte response should be ignored
2015-06-07 Dongsheng Cai <[email protected]>
Merge pull request #107 from bkylerussell/tasks/broadcast-feedback
Provide broadcast feedback from APNs
2015-06-03 Kyle Russell <[email protected]>
Poll for broadcast status
If a notification client fails to transmit the notification, this
should be reported back to the user instead of just saying "Notification
sent!"
2015-05-31 Kyle Russell <[email protected]>
apns: Remove read_until_close streaming_callback
Provides missing error detection in the read_until_close callback.
Removes streaming_callback since the implementation doesn't actually
support handling chunked response data.
If all the result data can be read at once (which is likely for a small
APNs response), then the read_until_close callback is called, not the
read_until_close streaming_callback (which chunks the data). Only the
streaming_callback was implemented to report an error, so that's not
helpful.
2015-03-27 Dongsheng Cai <[email protected]>
Update README.md
Merge pull request #102 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2015-03-27 The Gitter Badger <[email protected]>
Added Gitter badge
2015-03-09 Dongsheng Cai <[email protected]>
Merge pull request #98 from thomasbiddle/allow_custom_ios_params
Ensure we can add iOS params. credit to @thomasbiddle
2015-03-09 TJ Biddle <[email protected]>
Ensure we can add iOS params.
2014-11-03 Dongsheng Cai <[email protected]>
Merge pull request #89 from SimoneCarnio/master
Fix responsedata by @SimoneCarnio
2014-11-02 Simone Carnio <[email protected]>
fix responsedata assign
2014-10-19 Dongsheng Cai <[email protected]>
Fixes undefined 'alert' parameter in /api/push.py
2014-10-19 Dongsheng Cai <[email protected]>
Merge pull request #85 from frankdu/master
Remove unused imports. It's obvious in PyCharm IDE
fixes #85
2014-10-19 Frank Du <[email protected]>
Remove unused imports. It's obvious in PyCharm IDE
2014-10-08 Dongsheng Cai <[email protected]>
Cannot send broadcast in web UI
fixes #84, credit to @fabiociotoli
2014-10-07 Dongsheng Cai <[email protected]>
KeyError when sending broadcast
Fixes #83
2014-10-06 Dongsheng Cai <[email protected]>
Merge pull request #82 from frankdu/fix_crash
Fix the crash caused by missing argument keys #82
2014-10-06 Frank Du <[email protected]>
Fix the crash caused by missing argument keys
Test Plan:
1. Send a broadcast in app -> broadcast
2. It doesn't crash with below error any more:
TypeError: send_broadcast() takes exactly 3 arguments (5 given)
2014-09-15 Dongsheng Cai <[email protected]>
Merge pull request #78 from jleyva/IOS_SPLITLINES
Remove line ending only for APNS(iOS devices)
2014-09-15 Juan Leyva <[email protected]>
Remove line ending only for iOs
Others system my accept that format (Android 4, WNS)
2014-09-15 Dongsheng Cai <[email protected]>
Fix missing clickatell settings #77
2014-08-24 Dongsheng Cai <[email protected]>
Travis Ci
2014-08-23 Dongsheng Cai <[email protected]>
Fix up device filter #61
Broadcast API to accept protocol specific data #61
2014-08-20 Dongsheng Cai <[email protected]>
Update README.md
Send SMS through AirNotifier #62
Update README.md
2014-08-19 Dongsheng Cai <[email protected]>
Fix broadcast API #59
Fix send broadcast api #59
Fix mpns cert bug #60
APNS badge and sound parameters fix #58
2014-08-14 Dongsheng Cai <[email protected]>
Harden file storage handling #57
Harden file management #57
Update support url
2014-08-13 Dongsheng Cai <[email protected]>
cleanup top navbar
More sidebar clean up #56
Clean up sidebar code #56
Fix creating new app error #56
2014-08-09 Dongsheng Cai <[email protected]>
Clean up gcm code
Remove "objects browser" for now
Fix broadcast code #55
Uses AsyncHTTPClient, means faster response from AN
2014-08-08 Dongsheng Cai <[email protected]>
Improved logging.ini
2014-08-06 Dongsheng Cai <[email protected]>
WNS protocol code cleanup #48
reset mpns connection #47
Move base class
Remove old cert files
Store MPNS certificate #47
Improved MPNS code #47
Update README.md
Add LICENSE file
2014-08-04 Dongsheng Cai <[email protected]>
logging config
python logging config
Cleanup logging
2014-08-01 Dongsheng Cai <[email protected]>
Formatting
set default protocol specific data
Fix push v2 api for android
Add hooks/__init__.py
Split api
Split site controller
Clean up code
rename api_controller.py to api.py
Issue #54 Implement json_decode()
Issue #53 Access key v2
Issue #48 exception handing
Issue #51 Token v2 API
Issue #52 reset connections when key/secret changed
Improve APNS code sytle
Issue #48 coding style fix
Issue #49 coding style fix
Issue #48 improve coding style
Issue #48 moodle hook
2014-07-31 Dongsheng Cai <[email protected]>
Fix README.md
Issue #48 application hooks
2014-07-26 Dongsheng Cai <[email protected]>
Issue #47 MPNS protocol
2014-07-27 Dongsheng Cai <[email protected]>
Issue #49 improve wns protocol
2014-07-26 Dongsheng Cai <[email protected]>
Issue #49 toast/tile/badge templates
2014-07-23 Dongsheng Cai <[email protected]>
Handle ctrl-c when running in console
Issue #49 allow wns and mpns device types
Issue #47 MPNS protocol and harden other services
2014-07-20 Dongsheng Cai <[email protected]>
Issue #49 complete v2 protocal
2014-07-19 Dongsheng Cai <[email protected]>
Issue #49 More WNS protocol implementation
2014-07-16 Dongsheng Cai <[email protected]>
Issue #49 PushService base class
2014-07-15 Dongsheng Cai <[email protected]>
Issue #49 Improve init_message_agents()
2014-07-13 Dongsheng Cai <[email protected]>
Issue #49 Implement WNS protocol
2014-07-12 Dongsheng Cai <[email protected]>
Issue #48 notification api uses Json request body
2014-07-10 Dongsheng Cai <[email protected]>
Issue #0 Remove test scripts
2014-07-09 Dongsheng Cai <[email protected]>
Issue #49 Create v2 push notification api
2014-07-06 Dongsheng Cai <[email protected]>
Issue #49 Register WNS connections
2014-07-05 Dongsheng Cai <[email protected]>
Issue #49 Create WNS package
2014-06-30 Dongsheng Cai <[email protected]>
Issue #49 Add device types
Organize file structure
Update URLs
Update README.md
2014-05-12 Juan Leyva <[email protected]>
Forced lower case to device types. Otherwise, devices like Android may raise and invalid device exception Conflicts: controllers/api_controller.py
2014-05-11 Dongsheng Cai <[email protected]>
Issue #42 Remove line ending chars from alert msg
2014-05-11 Dongsheng Cai <[email protected]>
Merge pull request #43 from jleyva/master
1. Parsing config file
2. Fix request library version
3. Fix request parameter name
2014-05-10 Juan Leyva <[email protected]>
Making a message payload compatible with Phonegap PushPlugin
Moved settings loading code to correct place (so the messaging agents can be properly initializated)
Checking existing app overwrites new app document definition
App settings should be loaded on AirnotifierApp constructor
Otherwise the default values for settings are used and the airnotifier.conf file is ignored (so the database used is allways airnotifier instead the specified in airnotifier.con)
2014-05-09 Juan Leyva <[email protected]>
Fixed invalid requests library version
2014-04-14 Dongsheng Cai <[email protected]>
Issue #41 Stop logging private user notifications
2014-03-25 Dongsheng Cai <[email protected]>
Merge branch 'master' into moodle
Issue #0 Add http status code
Add http status code
Fix flawed verification logic
2014-03-25 Dongsheng Cai <[email protected]>
Fix moodle specific hack
Merge branch 'master' into moodle
Conflicts:
controllers/api_controller.py
2014-03-25 Dongsheng Cai <[email protected]>
Unfortunate conflicts
Conflicts:
airnotifier.py
apns.py
controllers/api_controller.py
controllers/site_controller.py
install.py
requirements.txt
templates/app_keys.html
templates/app_new.html
templates/app_settings.html
templates/apps.html
util.py
2014-03-22 Dongsheng Cai <[email protected]>
Issue #40 Response should be more restful
Issue #40 handle canonical ids
2014-03-19 Dongsheng Cai <[email protected]>
Issue #40 Fix web broadcast
Issue #38 Purge logs
Issue #29 disallow create duplicated app
2014-03-18 Dongsheng Cai <[email protected]>
Issue #32 Remove app db
Issue #37 Strip log text
2014-03-11 Dongsheng Cai <[email protected]>
Clean up initialization code
2014-03-10 Dongsheng Cai <[email protected]>
Fix token page display
2014-03-08 Dongsheng Cai <[email protected]>
Issue #8 Access control isn't hard-coded anymore!
2014-03-09 Dongsheng Cai <[email protected]>
Issue #8 Access keys endpoing should check permission
2014-03-07 Dongsheng Cai <[email protected]>
Checkin template file
2014-03-06 Dongsheng Cai <[email protected]>
More clean up
Clean up
Issue #40 Improve GCM HTTP error handing
2014-03-05 Dongsheng Cai <[email protected]>
Issue #8 Improved permission checking code
2014-03-04 Dongsheng Cai <[email protected]>
Issue #40 Broadcast API
2014-03-03 Dongsheng Cai <[email protected]>
Issue #40 Android notification working
2014-03-02 Dongsheng Cai <[email protected]>
Issue #40: GCM HTTP API
2014-02-28 Dongsheng Cai <[email protected]>
Issue #0 misc stuff
2014-02-27 Dongsheng Cai <[email protected]>
Issue #0 Fixing import
Issue #0 Fixing import and exception handing
Issue #40 Initialise gcm connection
2014-02-26 Dongsheng Cai <[email protected]>
Issue #13 Upgrade mongodb collection scheme
Issue #13 Upgrade token collection for each app setup
2014-02-25 Dongsheng Cai <[email protected]>
Issue #40 token and notification api update
2014-02-24 Dongsheng Cai <[email protected]>
Issue #40 REST API update for android
2014-02-23 Dongsheng Cai <[email protected]>
Issue #13 Write version into mongodb
2014-02-22 Dongsheng Cai <[email protected]>
Issue #40 GCM library
Issue #40 Start GCM work
2014-02-21 Dongsheng Cai <[email protected]>
Issue #1 Fixed app link
2014-02-20 Dongsheng Cai <[email protected]>
Issue #36 Fix a link
Issue #36 Fix a link
Issue #36 Adding android options to settings page
Issue #36 Adding android options to settings page
2013-09-21 Dongsheng Cai <[email protected]>
Verify site from moodle.net
2014-02-19 Dongsheng Cai <[email protected]>
Issue #35 Cleanup app action handler
1. Clean up action handler
2. Clean up setting page to leave room for android settings
Issue #35 Cleanup app action handler
1. Clean up action handler
2. Clean up setting page to leave room for android settings
Issue #34 Fixed editing key page
1. Create access key dialog
2. Fixed add manager and change password dialogs
Issue #34 Fixed editing key page
1. Create access key dialog
2. Fixed add manager and change password dialogs
2014-02-13 Dongsheng Cai <[email protected]>
Issue #0 Get help button
Issue #0 Get help button
Issue #0 Page tweak
Issue #0 Page tweak
Issue #0 page tweak
Issue #0 page tweak
Issue #0 harden app creation process
Issue #0 harden app creation process
Issue #0 Grant more permissions by default
Issue #0 Grant more permissions by default
Issue #31 UI to change password
Issue #31 UI to change password
Issue #33 Update bootstrap
Issue #33 Update bootstrap
Issue #0 Update README.md
Issue #0 Update README.md
2013-09-21 Dongsheng Cai <[email protected]>
Issue #21 Create access key from API
Issue #21 Create access key from API
2013-05-09 Dongsheng Cai <[email protected]>
Issue #0 mostly just coding style clean up
Issue #0 mostly just coding style clean up
2013-05-01 Dongsheng Cai <[email protected]>
Issue #0 Template improvement
Issue #0 Template improvement
Issue #0 Raise tornado and pymongo requirements
Issue #0 Raise tornado and pymongo requirements
Issue #22 Feedback service implementation
Issue #22 Feedback service implementation
Issue #27 check cert and key files
Issue #27 check cert and key files
2013-04-29 Dongsheng Cai <[email protected]>
Issue #23 remove tornado.database
Issue #23 remove tornado.database
2013-03-04 Dongsheng Cai <[email protected]>
Issue #21: IP blocker
Issue #21: IP blocker
2012-11-16 Jerome Mouneyrac <[email protected]>
Merge pull request #18 from mouneyrac/jerome
#17 fix wrong permission checking
Merge pull request #18 from mouneyrac/jerome
#17 fix wrong permission checking
#17 fix wrong permission checking
2012-11-16 Dongsheng Cai <[email protected]>
Issue #16: Fixed empty access key issue
Issue #14: key and cert files check
2012-11-03 Dongsheng Cai <[email protected]>
Issue #11 Improved query
2012-11-02 Dongsheng Cai <[email protected]>
Issue #10, use @route decorator
Improved install script
Improved UI layout
Reconnect mongodb if failed
2012-07-22 Dongsheng Cai <[email protected]>
Issue #0: Added .gitignore & supervisord.conf
Issue #9: editing access key page template file
Issue #9: added editing access key page
2012-07-21 Dongsheng Cai <[email protected]>
Issue #4 & Issue #5
return after send error message
2012-07-19 Frederic Massart <[email protected]>
Issue #3 Fix custom arguments send as list - co-author: Jerome Mouneyrac
2012-07-18 Jerome Mouneyrac <[email protected]>
Issue #3: Support custom parameters for notification and broadcast
2012-07-13 Dongsheng Cai <[email protected]>
Issue #2: Permssion setting
2012-07-08 Dongsheng Cai <[email protected]>
Issue #1: Updated README.md
2012-07-02 Dongsheng Cai <[email protected]>
Issue #1: Added Installation and Config sections
2012-04-24 Dongsheng Cai <[email protected]>
Fixed object query handler
Added channel support (needs more work)
2012-04-15 Dongsheng Cai <[email protected]>
Updated README
Improved time counter
SideBar improvement
Tokens and logs pagination
Added port setting and blitz handler
Less logging info
2012-04-12 Dongsheng Cai <[email protected]>
Change app shrot name in testing scripts
2012-04-11 Dongsheng Cai <[email protected]>
Moving testing scripts to test/
2012-04-10 Dongsheng Cai <[email protected]>
Managers managment page, UI improvements
- clean up config file
- Added admin page to create/update managers
- Hide certfile/keyfile, environment setting when APNs is up
2012-04-09 Dongsheng Cai <[email protected]>
Fixed a bug to auto reconnect in APNs, validation to token
2012-04-08 Dongsheng Cai <[email protected]>
Refactor APNs connection code and UI improvement
1. Refactor APNSClient to choose server address, improved payload
construction
2. New rest interface to send broadcast
3. Allow to delete tokens and keys
4. Remove bootstrap-responsive.css
5. Apply password salt
6. APNs environment can be set in app setting
2012-04-05 Dongsheng Cai <[email protected]>
MongoDB has to use `safe` flag
2012-04-02 Dongsheng Cai <[email protected]>
Added logging ability
Objects stores in collections with prefix
1. Added more test cases
2. objects API improvments
3. Handle ObjectId automatically
Implemented broadcast from web interface
1. Implemented broadcast
2. Fixed update setting code
2012-04-01 Dongsheng Cai <[email protected]>
Merge logout and login handlers, improved redirect
Added login authentication
Update favicon.ico
Adding more Rest APIs, Web UI improvements
1. Implemented Objects/Users/Tokens API
2. Drop oauth implementation plan
3. Update bootstrap css
4. Implemented server info page
5. Tweak stats page in table
2012-03-29 Dongsheng Cai <[email protected]>
Switch backend to MongoDB
1. Switch to MongoDB
2. Stop/Start APNs from web interface
2012-03-28 Dongsheng Cai <[email protected]>
Refactor request handlers, improved web interfaces
2012-03-26 Dongsheng Cai <[email protected]>
Improved web config page
2012-03-25 Dongsheng Cai <[email protected]>
Updated README file
Token handler and APNs connection pool
1. Implemented token handler
2. APNs connection pool
3. Update certfile and keyfile from web interface
4. Added a few testing scripts
2012-03-20 Dongsheng Cai <[email protected]>
Started to work on UI, and multi-apps support
2012-03-10 Dongsheng Cai <[email protected]>
Use tornado build-in configuration loading module
2012-03-07 Dongsheng Cai <[email protected]>
Added oauth library
Added a few things I gonna finish
Implement notification REST API
- Notification REST API
- Enhanced notification format supported
- Handle server response
2012-03-03 Dongsheng Cai <[email protected]>
Initial commit
Added README.md file