summaryrefslogtreecommitdiffstats
path: root/agenda/.views.py.swp
blob: ac17a3d8efdd7dddf8721bad805aeba10ace9359 (plain)
ofshex dumpascii
0000 62 30 56 49 4d 20 37 2e 31 00 00 00 00 10 00 00 07 bc ce 48 de b2 02 00 1d 4d 00 00 72 6f 6f 74 b0VIM.7.1..........H.....M..root
0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0040 00 00 00 00 69 6e 66 6f 70 6f 69 6e 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ....infopoint...................
0060 00 00 00 00 00 00 00 00 00 00 00 00 2f 68 6f 6d 65 2f 64 6a 61 6e 67 6f 2f 69 6e 66 6f 70 6f 69 ............/home/django/infopoi
0080 6e 74 2f 61 67 65 6e 64 61 2f 76 69 65 77 73 2e 70 79 00 00 00 00 00 00 00 00 00 00 00 00 00 00 nt/agenda/views.py..............
00a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
00c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
00e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
01a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
01c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
01e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
02a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
02c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
02e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
03a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
03c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
03e0 00 00 00 00 00 00 00 00 00 75 74 66 2d 38 0d 00 33 32 31 30 23 22 21 20 13 12 55 00 00 00 00 00 .........utf-8..3210#"!...U.....
0400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
04a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
04c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
04e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
05a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
05c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
05e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0680 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
06a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
06c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
06e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
07a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
07c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
07e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0880 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
08a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
08c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
08e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0900 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0920 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0940 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
09a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
09c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
09e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0a00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0a20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0a40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0a60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0a80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0aa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ac0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ae0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0b00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0b20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0b40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0b60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0b80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ba0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0bc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0be0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0c00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0c20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0c40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0c60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0c80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ca0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0cc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ce0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0d00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0d20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0d40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0d60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0d80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0da0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0dc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0de0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0e00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0e20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0e40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0e60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0e80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ea0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ec0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ee0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0f00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0f20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0f40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0f60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0f80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1000 74 70 06 00 ff 00 00 00 02 00 00 00 3d 00 00 00 01 00 00 00 01 00 00 00 07 00 00 00 23 00 00 00 tp..........=...............#...
1020 32 00 00 00 01 00 00 00 06 00 00 00 26 00 00 00 39 00 00 00 01 00 00 00 05 00 00 00 25 00 00 00 2...........&...9...........%...
1040 3a 00 00 00 01 00 00 00 04 00 00 00 5a 00 00 00 54 00 00 00 01 00 00 00 03 00 00 00 50 00 00 00 :...........Z...T...........P...
1060 ae 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
12a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
12c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
12e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
13a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
13c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
13e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
14a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
14c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
14e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
15a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
15c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
15e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1680 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
16a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
16c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
16e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1880 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
18a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
18c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
18e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1900 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1920 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1940 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
19a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
19c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
19e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1a00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1a20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1a40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1a60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1a80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1aa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ac0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ae0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1b00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1b20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1b40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1b60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1b80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ba0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1bc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1be0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1c00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1c20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1c40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1c60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1c80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ca0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1cc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ce0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1d00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1d20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1d40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1d60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1d80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1da0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1dc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1de0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1e00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1e20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1e40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1e60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1e80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ea0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ec0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ee0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1f00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1f20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1f40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1f60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1f80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1fa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1fc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1fe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
2000 61 64 00 00 1a 05 00 00 22 06 00 00 00 10 00 00 3d 00 00 00 e6 0f 00 00 c0 0f 00 00 6c 0f 00 00 ad......".......=...........l...
2020 45 0f 00 00 2b 0f 00 00 f0 0e 00 00 b5 0e 00 00 81 0e 00 00 4f 0e 00 00 1c 0e 00 00 f0 0d 00 00 E...+...............O...........
2040 a2 0d 00 00 17 0d 00 00 de 0c 00 00 af 0c 00 00 84 0c 00 00 61 0c 00 00 52 0c 00 00 51 0c 00 00 ....................a...R...Q...
2060 3d 0c 00 00 2d 0c 00 00 2c 0c 00 00 17 0c 00 00 16 0c 00 00 f9 0b 00 00 af 0b 00 00 97 0b 00 00 =...-...,.......................
2080 8a 0b 00 00 89 0b 00 00 62 0b 00 00 47 0b 00 00 09 0b 00 00 e0 0a 00 00 a9 0a 00 00 67 0a 00 00 ........b...G...............g...
20a0 29 0a 00 00 0c 0a 00 00 d5 09 00 00 a0 09 00 00 6f 09 00 00 39 09 00 00 0e 09 00 00 d4 08 00 00 )...............o...9...........
20c0 9a 08 00 00 72 08 00 00 52 08 00 00 3a 08 00 00 21 08 00 00 03 08 00 00 df 07 00 00 c3 07 00 00 ....r...R...:...!...............
20e0 a1 07 00 00 5a 07 00 00 59 07 00 00 33 07 00 00 0c 07 00 00 ed 06 00 00 99 06 00 00 6f 06 00 00 ....Z...Y...3...............o...
2100 40 06 00 00 22 06 00 00 ff 05 00 00 f0 05 00 00 d4 05 00 00 b4 05 00 00 9a 05 00 00 84 04 00 00 @..."...........................
2120 5c 04 00 00 0f 04 00 00 e7 03 00 00 c0 03 00 00 9d 03 00 00 7d 03 00 00 4f 03 00 00 1a 03 00 00 \...................}...O.......
2140 e9 02 00 00 c1 02 00 00 74 02 00 00 56 02 00 00 17 02 00 00 df 01 00 00 98 01 00 00 87 01 00 00 ........t...V...................
2160 86 01 00 00 c9 01 00 00 ac 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
2180 00 00 00 00 00 09 00 09 72 65 74 75 72 6e 20 72 65 73 70 6f 6e 73 65 00 09 72 65 73 70 6f 6e 73 ........return.response..respons
21a0 65 5b 27 43 6f 6e 74 65 6e 74 2d 44 69 73 70 6f 73 69 74 69 6f 6e 27 5d 20 3d 20 27 61 74 74 61 e['Content-Disposition'].=.'atta
21c0 63 68 6d 65 6e 74 3b 20 66 69 6c 65 6e 61 6d 65 3d 66 69 6c 65 6e 61 6d 65 2e 69 63 73 27 00 09 chment;.filename=filename.ics'..
21e0 72 65 73 70 6f 6e 73 65 5b 27 46 69 6c 65 6e 61 6d 65 27 5d 20 3d 20 27 66 69 6c 65 6e 61 6d 65 response['Filename'].=.'filename
2200 2e 69 63 73 27 20 20 23 20 49 45 20 6e 65 65 64 73 20 74 68 69 73 00 09 72 65 73 70 6f 6e 73 65 .ics'..#.IE.needs.this..response
2220 20 3d 20 48 74 74 70 52 65 73 70 6f 6e 73 65 28 69 63 61 6c 73 74 72 65 61 6d 2c 20 6d 69 6d 65 .=.HttpResponse(icalstream,.mime
2240 74 79 70 65 3d 27 74 65 78 74 2f 63 61 6c 65 6e 64 61 72 27 29 00 09 69 63 61 6c 73 74 72 65 61 type='text/calendar')..icalstrea
2260 6d 20 3d 20 63 61 6c 2e 73 65 72 69 61 6c 69 7a 65 28 29 00 09 09 76 65 76 65 6e 74 2e 61 64 64 m.=.cal.serialize()...vevent.add
2280 28 27 66 72 65 65 62 75 73 79 27 29 2e 76 61 6c 75 65 20 3d 20 5b 28 76 65 76 65 6e 74 2e 64 74 ('freebusy').value.=.[(vevent.dt
22a0 73 74 61 72 74 2e 76 61 6c 75 65 2c 76 65 76 65 6e 74 2e 64 74 65 6e 64 2e 76 61 6c 75 65 29 5d start.value,vevent.dtend.value)]
22c0 00 09 09 76 65 76 65 6e 74 2e 61 64 64 28 27 74 72 61 6e 73 70 27 29 2e 76 61 6c 75 65 20 3d 20 ...vevent.add('transp').value.=.
22e0 27 4f 50 41 51 55 45 27 00 09 09 76 65 76 65 6e 74 2e 61 64 64 28 27 64 74 65 6e 64 27 29 2e 76 'OPAQUE'...vevent.add('dtend').v
2300 61 6c 75 65 20 3d 20 6f 6e 65 5f 65 76 65 6e 74 2e 65 6e 64 5f 64 61 74 65 00 09 09 76 65 76 65 alue.=.one_event.end_date...veve
2320 6e 74 2e 61 64 64 28 27 64 74 73 74 61 72 74 27 29 2e 76 61 6c 75 65 20 3d 20 6f 6e 65 5f 65 76 nt.add('dtstart').value.=.one_ev
2340 65 6e 74 2e 73 74 61 72 74 5f 64 61 74 65 00 09 20 20 20 20 20 20 20 09 76 65 76 65 6e 74 2e 61 ent.start_date..........vevent.a
2360 64 64 28 27 73 75 6d 6d 61 72 79 27 29 2e 76 61 6c 75 65 20 3d 20 27 42 55 53 59 27 00 09 09 76 dd('summary').value.=.'BUSY'...v
2380 65 76 65 6e 74 20 3d 20 63 61 6c 2e 61 64 64 28 27 56 46 52 45 45 42 55 53 59 27 29 00 09 09 66 event.=.cal.add('VFREEBUSY')...f
23a0 72 65 65 62 75 73 79 65 6e 64 20 3d 20 6f 6e 65 5f 65 76 65 6e 74 2e 65 6e 64 5f 64 61 74 65 00 reebusyend.=.one_event.end_date.
23c0 09 09 66 72 65 65 62 75 73 79 73 74 61 72 74 20 3d 20 6f 6e 65 5f 65 76 65 6e 74 2e 73 74 61 72 ..freebusystart.=.one_event.star
23e0 74 5f 64 61 74 65 00 09 66 6f 72 20 6f 6e 65 5f 65 76 65 6e 74 20 69 6e 20 75 73 65 72 2e 65 76 t_date..for.one_event.in.user.ev
2400 65 6e 74 5f 73 65 74 2e 61 6c 6c 28 29 3a 00 09 09 76 65 76 65 6e 74 2e 61 64 64 28 27 66 72 65 ent_set.all():...vevent.add('fre
2420 65 62 75 73 79 27 29 2e 76 61 6c 75 65 20 3d 20 5b 28 76 65 76 65 6e 74 2e 64 74 73 74 61 72 74 ebusy').value.=.[(vevent.dtstart
2440 2e 76 61 6c 75 65 2c 76 65 76 65 6e 74 2e 64 74 65 6e 64 2e 76 61 6c 75 65 29 5d 00 09 09 76 65 .value,vevent.dtend.value)]...ve
2460 76 65 6e 74 2e 61 64 64 28 27 74 72 61 6e 73 70 27 29 2e 76 61 6c 75 65 20 3d 20 27 4f 50 41 51 vent.add('transp').value.=.'OPAQ
2480 55 45 27 00 09 09 76 65 76 65 6e 74 2e 61 64 64 28 27 64 74 65 6e 64 27 29 2e 76 61 6c 75 65 20 UE'...vevent.add('dtend').value.
24a0 3d 20 6f 6e 65 5f 65 76 65 6e 74 2e 65 6e 64 5f 64 61 74 65 00 09 09 76 65 76 65 6e 74 2e 61 64 =.one_event.end_date...vevent.ad
24c0 64 28 27 64 74 73 74 61 72 74 27 29 2e 76 61 6c 75 65 20 3d 20 6f 6e 65 5f 65 76 65 6e 74 2e 73 d('dtstart').value.=.one_event.s
24e0 74 61 72 74 5f 64 61 74 65 00 09 20 20 20 20 20 20 20 09 76 65 76 65 6e 74 2e 61 64 64 28 27 73 tart_date..........vevent.add('s
2500 75 6d 6d 61 72 79 27 29 2e 76 61 6c 75 65 20 3d 20 27 42 55 53 59 27 00 09 09 76 65 76 65 6e 74 ummary').value.=.'BUSY'...vevent
2520 20 3d 20 63 61 6c 2e 61 64 64 28 27 56 46 52 45 45 42 55 53 59 27 29 00 09 09 66 72 65 65 62 75 .=.cal.add('VFREEBUSY')...freebu
2540 73 79 65 6e 64 20 3d 20 6f 6e 65 5f 65 76 65 6e 74 2e 65 6e 64 5f 64 61 74 65 00 09 09 66 72 65 syend.=.one_event.end_date...fre
2560 65 62 75 73 79 73 74 61 72 74 20 3d 20 6f 6e 65 5f 65 76 65 6e 74 2e 73 74 61 72 74 5f 64 61 74 ebusystart.=.one_event.start_dat
2580 65 00 09 66 6f 72 20 6f 6e 65 5f 65 76 65 6e 74 20 69 6e 20 75 73 65 72 2e 65 09 69 63 61 6c 73 e..for.one_event.in.user.e.icals
25a0 74 72 65 61 6d 20 3d 20 63 61 6c 2e 73 65 72 69 61 6c 69 7a 09 69 63 61 6c 73 74 72 65 61 6d 20 tream.=.cal.serializ.icalstream.
25c0 3d 20 63 61 6c 2e 73 65 72 69 61 6c 69 7a 65 28 29 00 09 09 09 69 63 61 6c 73 74 72 65 61 6d 20 =.cal.serialize()....icalstream.
25e0 3d 20 63 61 6c 2e 73 65 72 69 61 6c 69 7a 65 28 09 69 63 61 6c 73 74 72 65 61 6d 20 3d 20 63 09 =.cal.serialize(.icalstream.=.c.
2600 69 63 61 6c 73 74 72 65 61 6d 20 3d 20 63 61 6c 2e 73 65 72 69 61 6c 69 7a 65 28 29 00 09 09 09 icalstream.=.cal.serialize()....
2620 76 65 09 69 63 61 6c 73 74 72 65 61 6d 20 3d 20 63 61 6c 2e 73 65 72 69 61 6c 69 7a 65 28 29 00 ve.icalstream.=.cal.serialize().
2640 09 09 09 76 65 76 65 6e 74 2e 61 64 64 28 27 6f 72 67 61 6e 69 7a 65 72 27 29 2e 76 61 6c 75 65 ...vevent.add('organizer').value
2660 20 3d 20 70 69 78 69 65 2e 65 6d 61 69 6c 00 09 09 66 6f 72 20 70 69 78 69 65 20 69 6e 20 6f 6e .=.pixie.email...for.pixie.in.on
2680 65 5f 65 76 65 6e 74 2e 70 69 78 69 65 2e 61 6c 6c 28 29 5b 3a 31 5d 3a 00 09 09 09 6f 6e 65 5f e_event.pixie.all()[:1]:....one_
26a0 67 72 6f 75 70 2e 64 69 72 5f 70 61 72 61 6d 3d 22 68 74 74 70 3a 2f 2f 69 6e 66 6f 70 6f 69 6e group.dir_param="http://infopoin
26c0 74 2f 61 67 65 6e 64 61 2f 67 72 6f 75 70 2f 22 2b 73 74 72 28 67 72 6f 75 70 2e 67 72 6f 75 70 t/agenda/group/"+str(group.group
26e0 2e 69 64 29 2b 22 2f 63 61 6c 2f 22 00 09 09 09 6f 6e 65 5f 67 72 6f 75 70 2e 76 61 6c 75 65 3d .id)+"/cal/"....one_group.value=
2700 67 72 6f 75 70 2e 67 72 6f 75 70 00 09 09 09 6f 6e 65 5f 67 72 6f 75 70 20 3d 20 76 65 76 65 6e group.group....one_group.=.veven
2720 74 2e 61 64 64 28 27 63 61 74 65 67 6f 72 69 65 27 29 00 09 09 66 6f 72 20 67 72 6f 75 70 20 69 t.add('categorie')...for.group.i
2740 6e 20 6f 6e 65 5f 65 76 65 6e 74 2e 67 72 6f 75 70 2e 61 6c 6c 28 29 3a 00 00 09 09 09 61 74 74 n.one_event.group.all():.....att
2760 2e 64 69 72 5f 70 61 72 61 6d 3d 22 68 74 74 70 3a 2f 2f 69 6e 66 6f 70 6f 69 6e 74 2f 61 67 65 .dir_param="http://infopoint/age
2780 6e 64 61 2f 75 73 65 72 2f 22 2b 73 74 72 28 75 73 65 72 2e 69 64 29 2b 22 2f 62 75 73 79 2f 22 nda/user/"+str(user.id)+"/busy/"
27a0 00 09 09 09 09 61 74 74 2e 70 61 72 74 73 74 61 74 5f 70 61 72 61 6d 3d 27 41 43 43 45 50 54 45 .....att.partstat_param='ACCEPTE
27c0 44 27 00 09 09 09 69 66 20 75 73 65 72 2e 61 74 74 65 6e 64 61 6e 63 65 20 3d 3d 20 31 3a 00 09 D'....if.user.attendance.==.1:..
27e0 09 09 61 74 74 2e 72 6f 6c 65 5f 70 61 72 61 6d 3d 27 52 45 51 2d 50 41 52 54 49 43 49 50 41 4e ..att.role_param='REQ-PARTICIPAN
2800 54 27 00 09 09 09 61 74 74 2e 63 6e 5f 70 61 72 61 6d 3d 75 73 65 72 2e 75 73 65 72 6e 61 6d 65 T'....att.cn_param=user.username
2820 00 09 09 09 61 74 74 2e 72 73 76 70 5f 70 61 72 61 6d 3d 27 54 72 75 65 27 00 09 09 09 61 74 74 ....att.rsvp_param='True'....att
2840 2e 76 61 6c 75 65 3d 75 73 65 72 2e 65 6d 61 69 6c 00 09 09 09 61 74 74 20 3d 20 76 65 76 65 6e .value=user.email....att.=.veven
2860 74 2e 61 64 64 28 27 61 74 74 65 6e 64 65 65 27 29 00 09 09 66 6f 72 20 75 73 65 72 20 69 6e 20 t.add('attendee')...for.user.in.
2880 6f 6e 65 5f 65 76 65 6e 74 2e 61 74 65 6e 64 65 65 73 2e 61 6c 6c 28 29 3a 00 09 09 76 65 76 65 one_event.atendees.all():...veve
28a0 6e 74 2e 61 64 64 28 27 6c 6f 63 61 74 69 6f 6e 27 29 2e 76 61 6c 75 65 20 3d 20 6f 6e 65 5f 65 nt.add('location').value.=.one_e
28c0 76 65 6e 74 2e 6c 6f 63 61 74 69 6f 6e 2e 74 69 74 6c 65 00 09 09 76 65 76 65 6e 74 2e 61 64 64 vent.location.title...vevent.add
28e0 28 27 64 65 73 63 72 69 70 74 69 6f 6e 27 29 2e 76 61 6c 75 65 20 3d 20 6f 6e 65 5f 65 76 65 6e ('description').value.=.one_even
2900 74 2e 64 65 73 63 72 69 70 74 69 6f 6e 00 09 09 76 65 76 65 6e 74 2e 61 64 64 28 27 73 74 61 74 t.description...vevent.add('stat
2920 75 73 27 29 2e 76 61 6c 75 65 20 3d 20 27 43 4f 4e 46 49 52 4d 45 44 27 00 09 09 76 65 76 65 6e us').value.=.'CONFIRMED'...veven
2940 74 2e 61 64 64 28 27 64 74 73 74 61 6d 70 27 29 2e 76 61 6c 75 65 20 3d 20 6f 6e 65 5f 65 76 65 t.add('dtstamp').value.=.one_eve
2960 6e 74 2e 73 74 61 72 74 5f 64 61 74 65 20 00 09 09 76 65 76 65 6e 74 2e 61 64 64 28 27 64 74 65 nt.start_date....vevent.add('dte
2980 6e 64 27 29 2e 76 61 6c 75 65 20 3d 20 6f 6e 65 5f 65 76 65 6e 74 2e 65 6e 64 5f 64 61 74 65 00 nd').value.=.one_event.end_date.
29a0 09 09 76 65 76 65 6e 74 2e 61 64 64 28 27 64 74 73 74 61 72 74 27 29 2e 76 61 6c 75 65 20 3d 20 ..vevent.add('dtstart').value.=.
29c0 6f 6e 65 5f 65 76 65 6e 74 2e 73 74 61 72 74 5f 64 61 74 65 00 09 20 20 20 20 20 20 20 09 76 65 one_event.start_date..........ve
29e0 76 65 6e 74 2e 61 64 64 28 27 73 75 6d 6d 61 72 79 27 29 2e 76 61 6c 75 65 20 3d 20 6f 6e 65 5f vent.add('summary').value.=.one_
2a00 65 76 65 6e 74 2e 74 69 74 6c 65 00 09 09 76 65 76 65 6e 74 20 3d 20 63 61 6c 2e 61 64 64 28 27 event.title...vevent.=.cal.add('
2a20 76 65 76 65 6e 74 27 29 00 09 09 63 61 6c 2e 61 64 64 28 27 78 2d 77 72 2d 63 61 6c 6e 61 6d 65 vevent')...cal.add('x-wr-calname
2a40 27 29 2e 76 61 6c 75 65 20 3d 20 6f 6e 65 5f 65 76 65 6e 74 2e 74 69 74 6c 65 2b 27 20 63 61 6c ').value.=.one_event.title+'.cal
2a60 65 6e 64 61 72 27 00 09 09 63 61 6c 2e 61 64 64 28 27 63 61 6c 64 65 73 63 27 29 2e 76 61 6c 75 endar'...cal.add('caldesc').valu
2a80 65 20 3d 20 27 49 6e 66 6f 70 6f 69 6e 74 20 65 76 65 6e 74 20 2d 20 27 2b 6f 6e 65 5f 65 76 65 e.=.'Infopoint.event.-.'+one_eve
2aa0 6e 74 2e 74 69 74 6c 65 00 09 66 6f 72 20 6f 6e 65 5f 65 76 65 6e 74 20 69 6e 20 45 76 65 6e 74 nt.title..for.one_event.in.Event
2ac0 2e 63 61 6c 65 6e 64 61 72 2e 66 69 6c 74 65 72 28 70 6b 3d 6f 62 6a 65 63 74 5f 69 64 29 3a 00 .calendar.filter(pk=object_id):.
2ae0 09 63 61 6c 2e 61 64 64 28 27 63 61 6c 73 63 61 6c 65 27 29 2e 76 61 6c 75 65 20 3d 20 27 47 52 .cal.add('calscale').value.=.'GR
2b00 45 47 4f 52 49 41 4e 27 00 09 63 61 6c 2e 61 64 64 28 27 6d 65 74 68 6f 64 27 29 2e 76 61 6c 75 EGORIAN'..cal.add('method').valu
2b20 65 20 3d 20 27 50 55 42 4c 49 53 48 27 20 20 23 20 49 45 2f 4f 75 74 6c 6f 6f 6b 20 6e 65 65 64 e.=.'PUBLISH'..#.IE/Outlook.need
2b40 73 20 74 68 69 73 00 09 63 61 6c 20 3d 20 76 6f 62 6a 65 63 74 2e 69 43 61 6c 65 6e 64 61 72 28 s.this..cal.=.vobject.iCalendar(
2b60 29 00 64 65 66 20 69 63 61 6c 5f 6f 6e 65 5f 65 76 65 6e 74 28 72 65 71 75 65 73 74 2c 6f 62 6a ).def.ical_one_event(request,obj
2b80 65 63 74 5f 69 64 29 3a 00 00 09 72 65 74 75 72 6e 20 69 6e 66 6f 00 09 69 6e 66 6f 20 3d 20 73 ect_id):...return.info..info.=.s
2ba0 74 72 28 6d 61 70 2e 72 65 61 64 28 29 29 00 09 6d 61 70 20 3d 20 6f 70 65 6e 28 20 27 2f 76 61 tr(map.read())..map.=.open(.'/va
2bc0 72 2f 77 77 77 2f 6d 65 64 69 61 2f 6d 61 70 73 2f 27 2b 73 74 72 28 74 79 70 65 29 2b 27 5f 27 r/www/media/maps/'+str(type)+'_'
2be0 2b 73 74 72 28 6f 62 6a 65 63 74 5f 69 64 29 2b 27 2e 6d 61 70 27 20 29 00 64 65 66 20 67 65 74 +str(object_id)+'.map'.).def.get
2c00 5f 6d 61 70 28 74 79 70 65 2c 6f 62 6a 65 63 74 5f 69 64 29 3a 00 00 74 6f 64 61 79 20 3d 20 64 _map(type,object_id):..today.=.d
2c20 61 74 65 2e 74 6f 64 61 79 28 29 00 00 63 69 74 79 20 3d 20 27 4d 61 6c 61 67 61 27 00 61 64 64 ate.today()..city.=.'Malaga'.add
2c40 72 65 73 73 20 3d 20 27 47 61 6f 6e 61 20 33 27 00 00 69 6d 70 6f 72 74 20 76 6f 62 6a 65 63 74 ress.=.'Gaona.3'..import.vobject
2c60 00 66 72 6f 6d 20 64 6a 61 6e 67 6f 2e 66 6f 72 6d 73 20 69 6d 70 6f 72 74 20 4d 6f 64 65 6c 46 .from.django.forms.import.ModelF
2c80 6f 72 6d 00 66 72 6f 6d 20 64 6a 61 6e 67 6f 2e 74 65 6d 70 6c 61 74 65 20 69 6d 70 6f 72 74 20 orm.from.django.template.import.
2ca0 52 65 71 75 65 73 74 43 6f 6e 74 65 78 74 00 66 72 6f 6d 20 64 6a 61 6e 67 6f 2e 76 69 65 77 73 RequestContext.from.django.views
2cc0 2e 67 65 6e 65 72 69 63 20 69 6d 70 6f 72 74 20 63 72 65 61 74 65 5f 75 70 64 61 74 65 00 66 72 .generic.import.create_update.fr
2ce0 6f 6d 20 64 6a 61 6e 67 6f 2e 63 6f 6e 74 72 69 62 2e 66 6f 72 6d 74 6f 6f 6c 73 2e 70 72 65 76 om.django.contrib.formtools.prev
2d00 69 65 77 20 69 6d 70 6f 72 74 20 46 6f 72 6d 50 72 65 76 69 65 77 00 66 72 6f 6d 20 69 6e 66 6f iew.import.FormPreview.from.info
2d20 70 6f 69 6e 74 2e 61 67 65 6e 64 61 2e 66 6f 72 6d 73 20 69 6d 70 6f 72 74 20 54 6f 64 6f 43 72 point.agenda.forms.import.TodoCr
2d40 65 61 74 65 46 6f 72 6d 2c 20 54 6f 64 6f 46 6f 72 6d 2c 54 6f 64 6f 52 65 6c 61 74 65 64 43 72 eateForm,.TodoForm,TodoRelatedCr
2d60 65 61 74 65 46 6f 72 6d 2c 47 72 6f 75 70 41 64 64 45 76 65 6e 74 46 6f 72 6d 2c 45 76 65 6e 74 eateForm,GroupAddEventForm,Event
2d80 46 6f 72 6d 2c 20 52 65 64 65 73 46 6f 72 6d 2c 54 6f 64 6f 43 6f 6d 70 6c 65 74 65 64 46 6f 72 Form,.RedesForm,TodoCompletedFor
2da0 6d 00 66 72 6f 6d 20 69 6e 66 6f 70 6f 69 6e 74 2e 61 67 65 6e 64 61 2e 6d 6f 64 65 6c 73 20 69 m.from.infopoint.agenda.models.i
2dc0 6d 70 6f 72 74 20 45 76 65 6e 74 2c 20 41 74 74 65 6e 64 61 6e 63 65 2c 54 6f 64 6f 2c 50 65 6e mport.Event,.Attendance,Todo,Pen
2de0 64 69 6e 67 54 6f 64 6f 4d 61 6e 61 67 65 72 00 66 72 6f 6d 20 69 6e 66 6f 70 6f 69 6e 74 2e 61 dingTodoManager.from.infopoint.a
2e00 67 65 6e 64 61 2e 74 65 6d 70 6c 61 74 65 74 61 67 73 20 69 6d 70 6f 72 74 20 2a 00 66 72 6f 6d genda.templatetags.import.*.from
2e20 20 64 6a 61 6e 67 6f 2e 63 6f 6e 74 72 69 62 2e 63 6f 6d 6d 65 6e 74 73 2e 6d 6f 64 65 6c 73 20 .django.contrib.comments.models.
2e40 69 6d 70 6f 72 74 20 43 6f 6d 6d 65 6e 74 00 66 72 6f 6d 20 64 6a 61 6e 67 6f 2e 63 6f 6e 74 72 import.Comment.from.django.contr
2e60 69 62 2e 61 75 74 68 2e 6d 6f 64 65 6c 73 20 69 6d 70 6f 72 74 20 47 72 6f 75 70 2c 55 73 65 72 ib.auth.models.import.Group,User
2e80 00 66 72 6f 6d 20 64 6a 61 6e 67 6f 2e 63 6f 6e 74 72 69 62 2e 61 75 74 68 20 69 6d 70 6f 72 74 .from.django.contrib.auth.import
2ea0 20 61 75 74 68 65 6e 74 69 63 61 74 65 2c 20 6c 6f 67 69 6e 00 66 72 6f 6d 20 64 6a 61 6e 67 6f .authenticate,.login.from.django
2ec0 2e 63 6f 6e 74 72 69 62 2e 63 6f 6e 74 65 6e 74 74 79 70 65 73 2e 6d 6f 64 65 6c 73 20 69 6d 70 .contrib.contenttypes.models.imp
2ee0 6f 72 74 20 43 6f 6e 74 65 6e 74 54 79 70 65 00 66 72 6f 6d 20 64 6a 61 6e 67 6f 2e 68 74 74 70 ort.ContentType.from.django.http
2f00 20 69 6d 70 6f 72 74 20 48 74 74 70 52 65 73 70 6f 6e 73 65 2c 20 48 74 74 70 52 65 73 70 6f 6e .import.HttpResponse,.HttpRespon
2f20 73 65 52 65 64 69 72 65 63 74 00 66 72 6f 6d 20 64 61 74 65 74 69 6d 65 20 69 6d 70 6f 72 74 20 seRedirect.from.datetime.import.
2f40 64 61 74 65 00 66 72 6f 6d 20 69 6e 66 6f 70 6f 69 6e 74 2e 61 67 65 6e 64 61 2e 6d 6f 64 65 6c date.from.infopoint.agenda.model
2f60 73 20 69 6d 70 6f 72 74 20 2a 20 00 66 72 6f 6d 20 64 6a 61 6e 67 6f 2e 73 68 6f 72 74 63 75 74 s.import.*..from.django.shortcut
2f80 73 20 69 6d 70 6f 72 74 20 72 65 6e 64 65 72 5f 74 6f 5f 72 65 73 70 6f 6e 73 65 2c 20 67 65 74 s.import.render_to_response,.get
2fa0 5f 6f 62 6a 65 63 74 5f 6f 72 5f 34 30 34 2c 20 67 65 74 5f 6c 69 73 74 5f 6f 72 5f 34 30 34 00 _object_or_404,.get_list_or_404.
2fc0 66 72 6f 6d 20 5f 5f 66 75 74 75 72 65 5f 5f 20 69 6d 70 6f 72 74 20 77 69 74 68 5f 73 74 61 74 from.__future__.import.with_stat
2fe0 65 6d 65 6e 74 00 23 20 43 72 65 61 74 65 20 79 6f 75 72 20 76 69 65 77 73 20 68 65 72 65 2e 00 ement.#.Create.your.views.here..
3000 61 64 00 00 37 01 00 00 8b 02 00 00 00 10 00 00 50 00 00 00 88 0f 00 00 87 0f 00 00 61 0f 00 00 ad..7...........P...........a...
3020 32 0f 00 00 0f 0f 00 00 89 0e 00 00 88 0e 00 00 63 0e 00 00 34 0e 00 00 18 0e 00 00 0e 0e 00 00 2...............c...4...........
3040 dc 0d 00 00 64 0d 00 00 63 0d 00 00 3d 0d 00 00 0d 0d 00 00 f1 0c 00 00 e7 0c 00 00 b5 0c 00 00 ....d...c...=...................
3060 b4 0c 00 00 92 0c 00 00 8d 0c 00 00 3f 0c 00 00 ee 0b 00 00 e8 0b 00 00 e3 0b 00 00 ad 0b 00 00 ............?...................
3080 6e 0b 00 00 48 0b 00 00 a8 0a 00 00 a0 0a 00 00 4b 0a 00 00 4a 0a 00 00 26 0a 00 00 00 0a 00 00 n...H...........K...J...&.......
30a0 ff 09 00 00 ce 09 00 00 b1 09 00 00 87 09 00 00 80 09 00 00 3a 09 00 00 04 09 00 00 ef 08 00 00 ....................:...........
30c0 7d 08 00 00 7c 08 00 00 56 08 00 00 13 08 00 00 fe 07 00 00 fb 07 00 00 88 07 00 00 7e 07 00 00 }...|...V...................~...
30e0 3d 07 00 00 3c 07 00 00 f1 06 00 00 a7 06 00 00 82 06 00 00 81 06 00 00 5e 06 00 00 43 06 00 00 =...<...................^...C...
3100 1d 06 00 00 ee 05 00 00 c5 05 00 00 90 05 00 00 5a 05 00 00 26 05 00 00 5a 04 00 00 59 04 00 00 ................Z...&...Z...Y...
3120 4f 04 00 00 0e 04 00 00 0d 04 00 00 ee 03 00 00 c4 03 00 00 55 03 00 00 54 03 00 00 53 03 00 00 O...................U...T...S...
3140 2f 03 00 00 02 03 00 00 8d 02 00 00 8c 02 00 00 8b 02 00 00 8a 02 00 00 00 00 00 00 00 00 00 00 /...............................
3160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
31a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
31c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
31e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3280 00 00 00 00 00 00 00 00 00 00 00 00 00 09 72 65 74 75 72 6e 20 72 65 6e 64 65 72 5f 74 6f 5f 72 ..............return.render_to_r
32a0 65 73 70 6f 6e 73 65 28 27 61 67 65 6e 64 61 2f 6f 6e 65 5f 63 6f 6d 6d 65 6e 74 2e 68 74 6d 6c esponse('agenda/one_comment.html
32c0 27 2c 20 7b 27 63 6f 6d 6d 65 6e 74 27 3a 20 63 6f 6d 6d 65 6e 74 7d 2c 63 6f 6e 74 65 78 74 5f ',.{'comment':.comment},context_
32e0 69 6e 73 74 61 6e 63 65 3d 52 65 71 75 65 73 74 43 6f 6e 74 65 78 74 28 72 65 71 75 65 73 74 29 instance=RequestContext(request)
3300 29 00 09 63 6f 6d 6d 65 6e 74 20 3d 20 43 6f 6d 6d 65 6e 74 2e 6f 62 6a 65 63 74 73 2e 67 65 74 )..comment.=.Comment.objects.get
3320 28 70 6b 3d 6f 62 6a 65 63 74 5f 69 64 29 00 64 65 66 20 6f 6e 65 5f 63 6f 6d 6d 65 6e 74 28 72 (pk=object_id).def.one_comment(r
3340 65 71 75 65 73 74 2c 6f 62 6a 65 63 74 5f 69 64 29 3a 00 00 00 09 72 65 74 75 72 6e 20 72 65 6e equest,object_id):....return.ren
3360 64 65 72 5f 74 6f 5f 72 65 73 70 6f 6e 73 65 28 27 61 67 65 6e 64 61 2f 6f 6e 65 5f 65 76 65 6e der_to_response('agenda/one_even
3380 74 2e 68 74 6d 6c 27 2c 20 7b 27 65 76 65 6e 74 27 3a 20 65 76 65 6e 74 7d 2c 63 6f 6e 74 65 78 t.html',.{'event':.event},contex
33a0 74 5f 69 6e 73 74 61 6e 63 65 3d 52 65 71 75 65 73 74 43 6f 6e 74 65 78 74 28 72 65 71 75 65 73 t_instance=RequestContext(reques
33c0 74 29 29 00 09 65 76 65 6e 74 20 3d 20 45 76 65 6e 74 2e 63 61 6c 65 6e 64 61 72 2e 67 65 74 28 t))..event.=.Event.calendar.get(
33e0 70 6b 3d 6f 62 6a 65 63 74 5f 69 64 29 00 64 65 66 20 61 74 74 65 6e 64 28 72 65 71 75 65 73 74 pk=object_id).def.attend(request
3400 2c 6f 62 6a 65 63 74 5f 69 64 29 3a 00 00 09 09 72 65 74 75 72 6e 20 48 74 74 70 52 65 73 70 6f ,object_id):....return.HttpRespo
3420 6e 73 65 52 65 64 69 72 65 63 74 28 27 64 6a 61 6e 67 6f 2e 63 6f 6e 74 72 69 62 2e 61 75 74 68 nseRedirect('django.contrib.auth
3440 2e 76 69 65 77 73 2e 6c 6f 67 69 6e 27 29 00 09 65 6c 73 65 3a 20 20 20 00 00 09 09 72 65 74 75 .views.login')..else:.......retu
3460 72 6e 20 72 65 6e 64 65 72 5f 74 6f 5f 72 65 73 70 6f 6e 73 65 28 27 61 67 65 6e 64 61 2f 75 73 rn.render_to_response('agenda/us
3480 65 72 5f 65 76 65 6e 74 73 2e 68 74 6d 6c 27 2c 20 7b 27 75 73 65 72 27 3a 20 75 73 65 72 2c 20 er_events.html',.{'user':.user,.
34a0 27 61 74 74 65 6e 64 61 6e 63 65 27 3a 20 61 74 74 65 6e 64 61 6e 63 65 2c 20 27 63 6f 6e 66 69 'attendance':.attendance,.'confi
34c0 72 6d 65 64 27 3a 20 63 6f 6e 66 69 72 6d 65 64 2c 20 27 70 65 6e 64 69 6e 67 27 3a 20 70 65 6e rmed':.confirmed,.'pending':.pen
34e0 64 69 6e 67 2c 20 27 72 65 6a 65 63 74 65 64 27 3a 20 72 65 6a 65 63 74 65 64 7d 2c 63 6f 6e 74 ding,.'rejected':.rejected},cont
3500 65 78 74 5f 69 6e 73 74 61 6e 63 65 3d 52 65 71 75 65 73 74 43 6f 6e 74 65 78 74 28 72 65 71 75 ext_instance=RequestContext(requ
3520 65 73 74 29 29 00 09 09 72 65 6a 65 63 74 65 64 20 3d 20 75 73 65 72 2e 61 74 74 65 6e 64 61 6e est))...rejected.=.user.attendan
3540 63 65 2e 66 69 6c 74 65 72 28 61 74 74 65 6e 64 61 6e 63 65 3d 27 30 27 29 00 09 09 70 65 6e 64 ce.filter(attendance='0')...pend
3560 69 6e 67 20 3d 20 75 73 65 72 2e 61 74 74 65 6e 64 61 6e 63 65 2e 66 69 6c 74 65 72 28 61 74 74 ing.=.user.attendance.filter(att
3580 65 6e 64 61 6e 63 65 3d 27 4e 55 4c 4c 27 29 00 09 09 63 6f 6e 66 69 72 6d 65 64 20 3d 20 75 73 endance='NULL')...confirmed.=.us
35a0 65 72 2e 61 74 74 65 6e 64 61 6e 63 65 2e 66 69 6c 74 65 72 28 61 74 74 65 6e 64 61 6e 63 65 3d er.attendance.filter(attendance=
35c0 27 31 27 29 00 09 09 61 74 74 65 6e 64 61 6e 63 65 20 3d 20 75 73 65 72 2e 61 74 74 65 6e 64 61 '1')...attendance.=.user.attenda
35e0 6e 63 65 5f 73 65 74 2e 61 6c 6c 28 29 00 09 09 75 73 65 72 20 3d 20 67 65 74 5f 6f 62 6a 65 63 nce_set.all()...user.=.get_objec
3600 74 5f 6f 72 5f 34 30 34 28 55 73 65 72 2c 20 70 6b 3d 6f 62 6a 65 63 74 5f 69 64 29 00 09 69 66 t_or_404(User,.pk=object_id)..if
3620 20 20 72 65 71 75 65 73 74 2e 75 73 65 72 2e 69 73 5f 61 75 74 68 65 6e 74 69 63 61 74 65 64 28 ..request.user.is_authenticated(
3640 29 3a 00 09 6f 62 6a 65 63 74 5f 69 64 3d 72 65 71 75 65 73 74 2e 75 73 65 72 2e 69 64 00 64 65 ):..object_id=request.user.id.de
3660 66 20 63 6f 6e 66 69 72 6d 61 74 69 6f 6e 5f 70 65 6e 64 69 6e 67 28 72 65 71 75 65 73 74 29 3a f.confirmation_pending(request):
3680 00 00 20 20 20 20 20 20 20 20 23 20 75 73 65 72 20 68 69 74 73 20 74 68 65 20 42 61 63 6b 20 62 ..........#.user.hits.the.Back.b
36a0 75 74 74 6f 6e 2e 00 20 20 20 20 20 20 20 20 23 20 77 69 74 68 20 50 4f 53 54 20 64 61 74 61 2e utton..........#.with.POST.data.
36c0 20 54 68 69 73 20 70 72 65 76 65 6e 74 73 20 64 61 74 61 20 66 72 6f 6d 20 62 65 69 6e 67 20 70 .This.prevents.data.from.being.p
36e0 6f 73 74 65 64 20 74 77 69 63 65 20 69 66 20 61 00 20 20 20 20 20 20 20 20 23 20 41 6c 77 61 79 osted.twice.if.a.........#.Alway
3700 73 20 72 65 74 75 72 6e 20 61 6e 20 48 74 74 70 52 65 73 70 6f 6e 73 65 52 65 64 69 72 65 63 74 s.return.an.HttpResponseRedirect
3720 20 61 66 74 65 72 20 73 75 63 63 65 73 73 66 75 6c 6c 79 20 64 65 61 6c 69 6e 67 00 00 09 09 72 .after.successfully.dealing....r
3740 65 74 75 72 6e 20 48 74 74 70 52 65 73 70 6f 6e 73 65 52 65 64 69 72 65 63 74 28 27 64 6a 61 6e eturn.HttpResponseRedirect('djan
3760 67 6f 2e 63 6f 6e 74 72 69 62 2e 61 75 74 68 2e 76 69 65 77 73 2e 6c 6f 67 69 6e 27 29 00 09 65 go.contrib.auth.views.login')..e
3780 6c 73 65 3a 20 20 20 00 09 09 09 72 65 74 75 72 6e 20 72 65 6e 64 65 72 5f 74 6f 5f 72 65 73 70 lse:.......return.render_to_resp
37a0 6f 6e 73 65 28 27 61 67 65 6e 64 61 2f 77 61 6e 6e 61 5f 6a 6f 69 6e 2e 68 74 6d 6c 27 2c 20 7b onse('agenda/wanna_join.html',.{
37c0 27 65 76 65 6e 74 27 3a 20 65 76 65 6e 74 20 7d 2c 63 6f 6e 74 65 78 74 5f 69 6e 73 74 61 6e 63 'event':.event.},context_instanc
37e0 65 3d 52 65 71 75 65 73 74 43 6f 6e 74 65 78 74 28 72 65 71 75 65 73 74 29 29 00 09 09 00 09 09 e=RequestContext(request))......
3800 09 61 74 74 65 6e 64 61 6e 63 65 2e 73 61 76 65 28 29 00 09 09 09 61 74 74 65 6e 64 61 6e 63 65 .attendance.save()....attendance
3820 20 3d 20 41 74 74 65 6e 64 61 6e 63 65 28 65 76 65 6e 74 3d 65 76 65 6e 74 2c 70 65 72 73 6f 6e .=.Attendance(event=event,person
3840 3d 70 65 72 73 6f 6e 2c 61 74 74 65 6e 64 61 6e 63 65 3d 31 29 00 09 20 20 20 20 09 65 78 63 65 =person,attendance=1).......exce
3860 70 74 20 41 74 74 65 6e 64 61 6e 63 65 2e 44 6f 65 73 4e 6f 74 45 78 69 73 74 3a 00 00 09 09 09 pt.Attendance.DoesNotExist:.....
3880 72 65 74 75 72 6e 20 72 65 6e 64 65 72 5f 74 6f 5f 72 65 73 70 6f 6e 73 65 28 27 61 67 65 6e 64 return.render_to_response('agend
38a0 61 2f 6f 6e 65 5f 65 76 65 6e 74 2e 68 74 6d 6c 27 2c 20 7b 27 65 76 65 6e 74 27 3a 20 65 76 65 a/one_event.html',.{'event':.eve
38c0 6e 74 20 7d 2c 63 6f 6e 74 65 78 74 5f 69 6e 73 74 61 6e 63 65 3d 52 65 71 75 65 73 74 43 6f 6e nt.},context_instance=RequestCon
38e0 74 65 78 74 28 72 65 71 75 65 73 74 29 29 00 09 09 09 61 74 74 65 6e 64 61 6e 63 65 2e 73 61 76 text(request))....attendance.sav
3900 65 28 29 00 09 09 09 75 6e 61 70 65 72 73 6f 6e 61 2e 61 74 74 65 6e 64 61 6e 63 65 20 3d 20 72 e()....unapersona.attendance.=.r
3920 65 71 75 65 73 74 2e 50 4f 53 54 5b 27 61 74 74 65 6e 64 61 6e 63 65 27 5d 00 09 09 09 75 6e 61 equest.POST['attendance']....una
3940 70 65 72 73 6f 6e 61 20 3d 20 41 74 74 65 6e 64 61 6e 63 65 2e 6f 62 6a 65 63 74 73 2e 67 65 74 persona.=.Attendance.objects.get
3960 28 65 76 65 6e 74 3d 6f 62 6a 65 63 74 5f 69 64 2c 70 65 72 73 6f 6e 3d 70 65 72 73 6f 6e 29 00 (event=object_id,person=person).
3980 09 09 74 72 79 3a 00 09 09 61 74 74 65 6e 64 61 6e 63 65 20 3d 20 72 65 71 75 65 73 74 2e 50 4f ..try:...attendance.=.request.PO
39a0 53 54 5b 27 61 74 74 65 6e 64 61 6e 63 65 27 5d 00 09 09 70 65 72 73 6f 6e 20 3d 20 72 65 71 75 ST['attendance']...person.=.requ
39c0 65 73 74 2e 75 73 65 72 2e 69 64 28 29 00 09 09 65 76 65 6e 74 20 3d 20 67 65 74 5f 6f 62 6a 65 est.user.id()...event.=.get_obje
39e0 63 74 5f 6f 72 5f 34 30 34 28 45 76 65 6e 74 2c 20 70 6b 3d 6f 62 6a 65 63 74 5f 69 64 29 00 00 ct_or_404(Event,.pk=object_id)..
3a00 09 69 66 20 20 72 65 71 75 65 73 74 2e 75 73 65 72 2e 69 73 5f 61 75 74 68 65 6e 74 69 63 61 74 .if..request.user.is_authenticat
3a20 65 64 28 29 3a 00 64 65 66 20 61 74 74 65 6e 64 61 6e 63 65 28 72 65 71 75 65 73 74 2c 20 6f 62 ed():.def.attendance(request,.ob
3a40 6a 65 63 74 5f 69 64 29 3a 00 00 09 09 72 65 74 75 72 6e 20 72 65 6e 64 65 72 5f 74 6f 5f 72 65 ject_id):....return.render_to_re
3a60 73 70 6f 6e 73 65 28 27 61 67 65 6e 64 61 2f 6c 6f 63 61 74 69 6f 6e 5f 65 76 65 6e 74 73 2e 68 sponse('agenda/location_events.h
3a80 74 6d 6c 27 2c 20 7b 27 6c 6f 63 61 74 69 6f 6e 27 3a 20 6c 6f 63 61 74 69 6f 6e 20 20 7d 29 00 tml',.{'location':.location..}).
3aa0 09 65 6c 73 65 3a 20 00 09 09 72 65 74 75 72 6e 20 72 65 6e 64 65 72 5f 74 6f 5f 72 65 73 70 6f .else:....return.render_to_respo
3ac0 6e 73 65 28 27 61 67 65 6e 64 61 2f 6c 6f 63 61 74 69 6f 6e 5f 65 76 65 6e 74 73 2e 68 74 6d 6c nse('agenda/location_events.html
3ae0 27 2c 20 7b 27 6c 6f 63 61 74 69 6f 6e 27 3a 20 6c 6f 63 61 74 69 6f 6e 2c 20 27 6d 61 70 5f 63 ',.{'location':.location,.'map_c
3b00 6f 6f 72 64 69 6e 61 74 65 73 27 3a 20 6d 61 70 5f 63 6f 6f 72 64 69 6e 61 74 65 73 7d 2c 63 6f oordinates':.map_coordinates},co
3b20 6e 74 65 78 74 5f 69 6e 73 74 61 6e 63 65 3d 52 65 71 75 65 73 74 43 6f 6e 74 65 78 74 28 72 65 ntext_instance=RequestContext(re
3b40 71 75 65 73 74 29 29 00 09 69 66 20 20 72 65 71 75 65 73 74 2e 75 73 65 72 2e 69 73 5f 61 75 74 quest))..if..request.user.is_aut
3b60 68 65 6e 74 69 63 61 74 65 64 28 29 3a 00 09 6d 61 70 5f 63 6f 6f 72 64 69 6e 61 74 65 73 20 3d henticated():..map_coordinates.=
3b80 20 73 74 72 28 67 65 74 5f 6d 61 70 28 27 6c 6f 63 61 74 69 6f 6e 27 2c 6f 62 6a 65 63 74 5f 69 .str(get_map('location',object_i
3ba0 64 29 29 2e 65 6e 63 6f 64 65 28 29 00 09 6c 6f 63 61 74 69 6f 6e 20 3d 20 67 65 74 5f 6f 62 6a d)).encode()..location.=.get_obj
3bc0 65 63 74 5f 6f 72 5f 34 30 34 28 4c 6f 63 61 74 69 6f 6e 2c 20 70 6b 3d 6f 62 6a 65 63 74 5f 69 ect_or_404(Location,.pk=object_i
3be0 64 29 00 09 22 22 22 00 09 77 61 6e 74 00 09 54 68 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 63 d).."""..want..The.information.c
3c00 61 6e 20 62 65 20 74 65 63 68 6e 69 63 61 6c 2c 20 61 62 6f 75 74 20 74 68 65 20 70 72 6f 67 72 an.be.technical,.about.the.progr
3c20 61 6d 6d 65 2c 20 61 6e 64 20 61 62 6f 75 74 20 65 76 65 72 79 74 68 69 6e 67 20 79 6f 75 00 09 amme,.and.about.everything.you..
3c40 54 68 69 73 20 76 69 65 77 20 68 65 6c 70 73 20 79 6f 75 20 74 6f 20 67 65 74 20 69 6e 66 6f 72 This.view.helps.you.to.get.infor
3c60 6d 61 74 69 6f 6e 20 61 62 6f 75 74 20 6f 6e 65 20 6f 66 20 74 68 65 20 70 6c 61 63 65 73 20 6f mation.about.one.of.the.places.o
3c80 66 20 74 68 65 20 63 65 6e 74 65 72 00 09 22 22 22 00 64 65 66 20 6c 6f 63 61 74 69 6f 6e 28 72 f.the.center..""".def.location(r
3ca0 65 71 75 65 73 74 2c 20 6f 62 6a 65 63 74 5f 69 64 29 3a 00 00 09 72 65 74 75 72 6e 20 48 74 74 equest,.object_id):...return.Htt
3cc0 70 52 65 73 70 6f 6e 73 65 52 65 64 69 72 65 63 74 28 27 2f 67 72 6f 75 70 2f 27 2b 6f 62 6a 65 pResponseRedirect('/group/'+obje
3ce0 63 74 5f 69 64 29 00 09 66 2e 73 61 76 65 28 29 00 09 66 20 3d 20 54 6f 64 6f 46 6f 72 6d 28 72 ct_id)..f.save()..f.=.TodoForm(r
3d00 65 71 75 65 73 74 2e 50 4f 53 54 29 00 09 67 72 6f 75 70 20 3d 20 67 65 74 5f 6f 62 6a 65 63 74 equest.POST)..group.=.get_object
3d20 5f 6f 72 5f 34 30 34 28 47 72 6f 75 70 2c 20 70 6b 3d 6f 62 6a 65 63 74 5f 69 64 29 00 64 65 66 _or_404(Group,.pk=object_id).def
3d40 20 73 61 76 65 67 72 6f 75 70 74 6f 64 6f 28 72 65 71 75 65 73 74 2c 6f 62 6a 65 63 74 5f 69 64 .savegrouptodo(request,object_id
3d60 29 3a 00 00 09 23 72 65 74 75 72 6e 20 72 65 6e 64 65 72 5f 74 6f 5f 72 65 73 70 6f 6e 73 65 28 ):...#return.render_to_response(
3d80 27 61 67 65 6e 64 61 2f 6f 6e 65 5f 65 76 65 6e 74 2e 68 74 6d 6c 27 2c 20 7b 27 66 27 3a 20 66 'agenda/one_event.html',.{'f':.f
3da0 2c 20 27 65 76 65 6e 74 27 3a 20 65 76 65 6e 74 7d 2c 63 6f 6e 74 65 78 74 5f 69 6e 73 74 61 6e ,.'event':.event},context_instan
3dc0 63 65 3d 52 65 71 75 65 73 74 43 6f 6e 74 65 78 74 28 72 65 71 75 65 73 74 29 29 00 09 72 65 74 ce=RequestContext(request))..ret
3de0 75 72 6e 20 48 74 74 70 52 65 73 70 6f 6e 73 65 52 65 64 69 72 65 63 74 28 27 2f 61 67 65 6e 64 urn.HttpResponseRedirect('/agend
3e00 61 2f 27 2b 65 76 65 6e 74 5f 69 64 29 00 09 66 2e 73 61 76 65 28 29 00 09 66 20 3d 20 54 6f 64 a/'+event_id)..f.save()..f.=.Tod
3e20 6f 46 6f 72 6d 28 72 65 71 75 65 73 74 2e 50 4f 53 54 29 00 09 65 76 65 6e 74 20 3d 20 67 65 74 oForm(request.POST)..event.=.get
3e40 5f 6f 62 6a 65 63 74 5f 6f 72 5f 34 30 34 28 45 76 65 6e 74 2c 20 70 6b 3d 65 76 65 6e 74 5f 69 _object_or_404(Event,.pk=event_i
3e60 64 29 00 64 65 66 20 73 61 76 65 65 76 65 6e 74 74 6f 64 6f 28 72 65 71 75 65 73 74 2c 65 76 65 d).def.saveeventtodo(request,eve
3e80 6e 74 5f 69 64 29 3a 00 00 09 72 65 74 75 72 6e 20 72 65 6e 64 65 72 5f 74 6f 5f 72 65 73 70 6f nt_id):...return.render_to_respo
3ea0 6e 73 65 28 27 61 67 65 6e 64 61 2f 61 64 64 5f 74 6f 64 6f 5f 74 6f 5f 65 76 65 6e 74 2e 68 74 nse('agenda/add_todo_to_event.ht
3ec0 6d 6c 27 2c 20 7b 27 66 27 3a 20 6e 65 77 74 6f 64 6f 2c 20 27 65 76 65 6e 74 27 3a 20 65 76 65 ml',.{'f':.newtodo,.'event':.eve
3ee0 6e 74 20 7d 2c 63 6f 6e 74 65 78 74 5f 69 6e 73 74 61 6e 63 65 3d 52 65 71 75 65 73 74 43 6f 6e nt.},context_instance=RequestCon
3f00 74 65 78 74 28 72 65 71 75 65 73 74 29 29 00 09 6e 65 77 74 6f 64 6f 20 3d 20 54 6f 64 6f 52 65 text(request))..newtodo.=.TodoRe
3f20 6c 61 74 65 64 43 72 65 61 74 65 46 6f 72 6d 28 29 00 09 65 76 65 6e 74 20 3d 20 67 65 74 5f 6f latedCreateForm()..event.=.get_o
3f40 62 6a 65 63 74 5f 6f 72 5f 34 30 34 28 45 76 65 6e 74 2c 20 70 6b 3d 65 76 65 6e 74 5f 69 64 29 bject_or_404(Event,.pk=event_id)
3f60 00 64 65 66 20 61 64 64 74 6f 64 6f 74 6f 65 76 65 6e 74 28 72 65 71 75 65 73 74 2c 65 76 65 6e .def.addtodotoevent(request,even
3f80 74 5f 69 64 29 3a 00 00 09 23 72 65 74 75 72 6e 20 72 65 6e 64 65 72 5f 74 6f 5f 72 65 73 70 6f t_id):...#return.render_to_respo
3fa0 6e 73 65 28 27 61 67 65 6e 64 61 2f 6f 6e 65 5f 65 76 65 6e 74 2e 68 74 6d 6c 27 2c 20 7b 27 66 nse('agenda/one_event.html',.{'f
3fc0 27 3a 20 66 2c 20 27 65 76 65 6e 74 27 3a 20 65 76 65 6e 74 7d 2c 63 6f 6e 74 65 78 74 5f 69 6e ':.f,.'event':.event},context_in
3fe0 73 74 61 6e 63 65 3d 52 65 71 75 65 73 74 43 6f 6e 74 65 78 74 28 72 65 71 75 65 73 74 29 29 00 stance=RequestContext(request)).
4000 61 64 00 00 77 00 00 00 f3 01 00 00 00 10 00 00 5a 00 00 00 31 0f 00 00 20 0f 00 00 e5 0e 00 00 ad..w...........Z...1...........
4020 92 0e 00 00 91 0e 00 00 7b 0e 00 00 44 0e 00 00 42 0e 00 00 15 0e 00 00 96 0d 00 00 85 0d 00 00 ........{...D...B...............
4040 57 0d 00 00 00 0d 00 00 ff 0c 00 00 e7 0c 00 00 c3 0c 00 00 96 0c 00 00 17 0c 00 00 06 0c 00 00 W...............................
4060 d8 0b 00 00 81 0b 00 00 80 0b 00 00 7f 0b 00 00 7e 0b 00 00 69 0b 00 00 35 0b 00 00 34 0b 00 00 ................~...i...5...4...
4080 c7 0a 00 00 c6 0a 00 00 c5 0a 00 00 a7 0a 00 00 70 0a 00 00 69 0a 00 00 1b 0a 00 00 06 0a 00 00 ................p...i...........
40a0 05 0a 00 00 e4 09 00 00 d2 09 00 00 bc 09 00 00 99 09 00 00 73 09 00 00 37 09 00 00 15 09 00 00 ....................s...7.......
40c0 d1 08 00 00 7f 07 00 00 7e 07 00 00 5b 07 00 00 2b 07 00 00 0c 07 00 00 d9 06 00 00 d8 06 00 00 ........~...[...+...............
40e0 d7 06 00 00 be 06 00 00 a1 06 00 00 97 06 00 00 82 06 00 00 46 06 00 00 dd 05 00 00 dc 05 00 00 ....................F...........
4100 b3 05 00 00 87 05 00 00 75 05 00 00 68 05 00 00 13 05 00 00 e1 04 00 00 e0 04 00 00 b1 04 00 00 ........u...h...................
4120 85 04 00 00 73 04 00 00 66 04 00 00 34 04 00 00 33 04 00 00 32 04 00 00 1c 04 00 00 00 04 00 00 ....s...f...4...3...2...........
4140 93 03 00 00 92 03 00 00 6b 03 00 00 3c 03 00 00 1a 03 00 00 90 02 00 00 8f 02 00 00 8e 02 00 00 ........k...<...................
4160 63 02 00 00 46 02 00 00 40 02 00 00 35 02 00 00 2c 02 00 00 25 02 00 00 f3 01 00 00 f2 01 00 00 c...F...@...5...,...%...........
4180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
41a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
41c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
41e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 72 65 74 75 72 6e 20 48 74 74 70 52 ....................return.HttpR
4200 65 73 70 6f 6e 73 65 52 65 64 69 72 65 63 74 28 27 2f 61 67 65 6e 64 61 2f 27 2b 65 76 65 6e 74 esponseRedirect('/agenda/'+event
4220 5f 69 64 29 00 09 09 70 61 73 73 00 09 65 78 63 65 70 74 3a 00 09 09 66 2e 73 61 76 65 28 29 00 _id)...pass..except:...f.save().
4240 09 74 72 79 3a 00 09 66 20 3d 20 52 65 64 65 73 46 6f 72 6d 28 72 65 71 75 65 73 74 2e 50 4f 53 .try:..f.=.RedesForm(request.POS
4260 54 29 00 64 65 66 20 61 64 64 65 76 65 6e 74 74 6f 67 72 6f 75 70 73 61 76 65 28 72 65 71 75 65 T).def.addeventtogroupsave(reque
4280 73 74 2c 65 76 65 6e 74 5f 69 64 29 3a 00 00 00 09 72 65 74 75 72 6e 20 72 65 6e 64 65 72 5f 74 st,event_id):....return.render_t
42a0 6f 5f 72 65 73 70 6f 6e 73 65 28 27 61 67 65 6e 64 61 2f 61 64 64 5f 65 76 65 6e 74 5f 74 6f 5f o_response('agenda/add_event_to_
42c0 67 72 6f 75 70 2e 68 74 6d 6c 27 2c 20 7b 27 66 27 3a 20 61 64 64 74 6f 67 72 6f 75 70 2c 20 27 group.html',.{'f':.addtogroup,.'
42e0 65 76 65 6e 74 27 3a 20 65 76 65 6e 74 20 7d 2c 63 6f 6e 74 65 78 74 5f 69 6e 73 74 61 6e 63 65 event':.event.},context_instance
4300 3d 52 65 71 75 65 73 74 43 6f 6e 74 65 78 74 28 72 65 71 75 65 73 74 29 29 00 09 61 64 64 74 6f =RequestContext(request))..addto
4320 67 72 6f 75 70 20 3d 20 47 72 6f 75 70 41 64 64 45 76 65 6e 74 46 6f 72 6d 28 29 00 09 65 76 65 group.=.GroupAddEventForm()..eve
4340 6e 74 20 3d 20 67 65 74 5f 6f 62 6a 65 63 74 5f 6f 72 5f 34 30 34 28 45 76 65 6e 74 2c 20 70 6b nt.=.get_object_or_404(Event,.pk
4360 3d 65 76 65 6e 74 5f 69 64 29 00 64 65 66 20 61 64 64 65 76 65 6e 74 74 6f 67 72 6f 75 70 28 72 =event_id).def.addeventtogroup(r
4380 65 71 75 65 73 74 2c 65 76 65 6e 74 5f 69 64 29 3a 00 00 09 72 65 74 75 72 6e 20 72 65 6e 64 65 equest,event_id):...return.rende
43a0 72 5f 74 6f 5f 72 65 73 70 6f 6e 73 65 28 27 61 67 65 6e 64 61 2f 61 64 64 5f 74 6f 64 6f 2e 68 r_to_response('agenda/add_todo.h
43c0 74 6d 6c 27 2c 20 7b 27 66 27 3a 20 6e 65 77 74 6f 64 6f 20 7d 2c 63 6f 6e 74 65 78 74 5f 69 6e tml',.{'f':.newtodo.},context_in
43e0 73 74 61 6e 63 65 3d 52 65 71 75 65 73 74 43 6f 6e 74 65 78 74 28 72 65 71 75 65 73 74 29 29 00 stance=RequestContext(request)).
4400 09 6e 65 77 74 6f 64 6f 20 3d 20 54 6f 64 6f 43 72 65 61 74 65 46 6f 72 6d 28 29 00 64 65 66 20 .newtodo.=.TodoCreateForm().def.
4420 61 64 64 74 6f 64 6f 28 72 65 71 75 65 73 74 29 3a 00 00 00 09 72 65 74 75 72 6e 20 48 74 74 70 addtodo(request):....return.Http
4440 52 65 73 70 6f 6e 73 65 52 65 64 69 72 65 63 74 28 27 2f 67 72 6f 75 70 2f 27 2b 6f 62 6a 65 63 ResponseRedirect('/group/'+objec
4460 74 5f 69 64 29 00 09 74 6f 64 6f 2e 73 61 76 65 28 29 00 09 74 6f 64 6f 2e 64 6f 6e 65 20 3d 20 t_id)..todo.save()..todo.done.=.
4480 54 72 75 65 00 09 74 6f 64 6f 20 3d 20 67 65 74 5f 6f 62 6a 65 63 74 5f 6f 72 5f 34 30 34 28 54 True..todo.=.get_object_or_404(T
44a0 6f 64 6f 2c 20 70 6b 3d 74 6f 64 6f 5f 69 64 29 00 64 65 66 20 63 6c 6f 73 65 67 72 6f 75 70 74 odo,.pk=todo_id).def.closegroupt
44c0 6f 64 6f 28 72 65 71 75 65 73 74 2c 74 6f 64 6f 5f 69 64 2c 6f 62 6a 65 63 74 5f 69 64 29 3a 00 odo(request,todo_id,object_id):.
44e0 00 09 72 65 74 75 72 6e 20 48 74 74 70 52 65 73 70 6f 6e 73 65 52 65 64 69 72 65 63 74 28 27 2f ..return.HttpResponseRedirect('/
4500 61 67 65 6e 64 61 2f 27 2b 65 76 65 6e 74 5f 69 64 29 00 09 72 65 71 75 65 73 74 2e 75 73 65 72 agenda/'+event_id)..request.user
4520 2e 6d 65 73 73 61 67 65 5f 73 65 74 2e 63 72 65 61 74 65 28 6d 65 73 73 61 67 65 3d 74 6f 64 6f .message_set.create(message=todo
4540 2e 74 69 74 6c 65 2b 27 20 68 61 73 20 62 65 65 6e 20 63 6c 6f 73 65 64 20 61 73 20 63 6f 6d 70 .title+'.has.been.closed.as.comp
4560 6c 65 74 65 64 27 29 00 09 74 6f 64 6f 2e 73 61 76 65 28 29 00 09 74 6f 64 6f 2e 64 6f 6e 65 20 leted')..todo.save()..todo.done.
4580 3d 20 54 72 75 65 00 09 74 6f 64 6f 20 3d 20 67 65 74 5f 6f 62 6a 65 63 74 5f 6f 72 5f 34 30 34 =.True..todo.=.get_object_or_404
45a0 28 54 6f 64 6f 2c 20 70 6b 3d 74 6f 64 6f 5f 69 64 29 00 64 65 66 20 63 6c 6f 73 65 74 6f 64 6f (Todo,.pk=todo_id).def.closetodo
45c0 28 72 65 71 75 65 73 74 2c 74 6f 64 6f 5f 69 64 2c 65 76 65 6e 74 5f 69 64 29 3a 00 00 09 72 65 (request,todo_id,event_id):...re
45e0 74 75 72 6e 20 72 65 6e 64 65 72 5f 74 6f 5f 72 65 73 70 6f 6e 73 65 28 27 61 67 65 6e 64 61 2f turn.render_to_response('agenda/
4600 75 73 65 72 5f 65 76 65 6e 74 73 2e 68 74 6d 6c 27 2c 20 7b 27 66 27 3a 20 66 7d 2c 63 6f 6e 74 user_events.html',.{'f':.f},cont
4620 65 78 74 5f 69 6e 73 74 61 6e 63 65 3d 52 65 71 75 65 73 74 43 6f 6e 74 65 78 74 28 72 65 71 75 ext_instance=RequestContext(requ
4640 65 73 74 29 29 00 09 75 73 65 72 2e 6d 65 73 73 61 67 65 5f 73 65 74 2e 63 72 65 61 74 65 28 6d est))..user.message_set.create(m
4660 65 73 73 61 67 65 3d 66 2e 74 69 74 6c 65 2b 27 20 68 61 73 20 62 65 65 6e 20 73 61 76 65 64 27 essage=f.title+'.has.been.saved'
4680 29 00 09 75 73 65 72 20 3d 20 72 65 71 75 65 73 74 2e 75 73 65 72 00 09 66 2e 73 61 76 65 28 29 )..user.=.request.user..f.save()
46a0 00 09 66 20 3d 20 54 6f 64 6f 46 6f 72 6d 28 72 65 71 75 65 73 74 2e 50 4f 53 54 29 20 00 64 65 ..f.=.TodoForm(request.POST)..de
46c0 66 20 73 75 62 6d 69 74 74 6f 64 6f 28 72 65 71 75 65 73 74 29 3a 00 00 00 09 72 65 74 75 72 6e f.submittodo(request):....return
46e0 20 48 74 74 70 52 65 73 70 6f 6e 73 65 52 65 64 69 72 65 63 74 28 27 2f 61 67 65 6e 64 61 2f 27 .HttpResponseRedirect('/agenda/'
4700 2b 6f 62 6a 65 63 74 5f 69 64 29 00 09 65 76 65 6e 74 2e 70 69 78 69 65 2e 61 64 64 28 72 65 71 +object_id)..event.pixie.add(req
4720 75 65 73 74 2e 75 73 65 72 29 00 09 65 76 65 6e 74 20 3d 20 67 65 74 5f 6f 62 6a 65 63 74 5f 6f uest.user)..event.=.get_object_o
4740 72 5f 34 30 34 28 45 76 65 6e 74 2c 20 70 6b 3d 6f 62 6a 65 63 74 5f 69 64 29 00 64 65 66 20 61 r_404(Event,.pk=object_id).def.a
4760 64 6f 70 74 65 76 65 6e 74 28 72 65 71 75 65 73 74 2c 6f 62 6a 65 63 74 5f 69 64 29 3a 00 00 09 doptevent(request,object_id):...
4780 72 65 74 75 72 6e 20 72 65 6e 64 65 72 5f 74 6f 5f 72 65 73 70 6f 6e 73 65 28 27 61 67 65 6e 64 return.render_to_response('agend
47a0 61 2f 6f 6e 65 5f 65 76 65 6e 74 2e 68 74 6d 6c 27 2c 20 7b 27 65 76 65 6e 74 27 3a 20 65 76 65 a/one_event.html',.{'event':.eve
47c0 6e 74 2c 20 27 69 6e 76 69 74 65 27 3a 20 69 6e 76 69 74 65 2c 20 27 61 74 74 65 6e 64 61 6e 63 nt,.'invite':.invite,.'attendanc
47e0 65 27 3a 20 61 74 74 65 6e 64 61 6e 63 65 2c 20 27 6e 65 77 74 6f 64 6f 27 3a 20 6e 65 77 74 6f e':.attendance,.'newtodo':.newto
4800 64 6f 2c 20 27 61 64 64 74 6f 67 72 6f 75 70 27 3a 20 61 64 64 74 6f 67 72 6f 75 70 2c 20 27 70 do,.'addtogroup':.addtogroup,.'p
4820 65 6e 64 69 6e 67 5f 74 6f 64 6f 73 27 3a 20 70 65 6e 64 69 6e 67 5f 74 6f 64 6f 73 2c 20 27 63 ending_todos':.pending_todos,.'c
4840 6f 6d 70 6c 65 74 65 64 5f 74 6f 64 6f 27 3a 20 63 6f 6d 70 6c 65 74 65 64 5f 74 6f 64 6f 2c 20 ompleted_todo':.completed_todo,.
4860 27 6d 61 70 5f 63 6f 6f 72 64 69 6e 61 74 65 73 27 3a 20 6d 61 70 5f 63 6f 6f 72 64 69 6e 61 74 'map_coordinates':.map_coordinat
4880 65 73 2c 20 27 61 64 64 72 65 73 73 27 3a 20 61 64 64 72 65 73 73 2c 20 27 63 69 74 79 27 3a 20 es,.'address':.address,.'city':.
48a0 63 69 74 79 20 7d 2c 63 6f 6e 74 65 78 74 5f 69 6e 73 74 61 6e 63 65 3d 52 65 71 75 65 73 74 43 city.},context_instance=RequestC
48c0 6f 6e 74 65 78 74 28 72 65 71 75 65 73 74 29 29 00 09 70 65 6e 64 69 6e 67 5f 74 6f 64 6f 73 20 ontext(request))..pending_todos.
48e0 3d 20 54 6f 64 6f 2e 74 6f 64 6f 73 2e 70 65 6e 64 69 6e 67 5f 74 6f 64 6f 73 28 29 2e 66 69 6c =.Todo.todos.pending_todos().fil
4900 74 65 72 28 65 76 65 6e 74 3d 6f 62 6a 65 63 74 5f 69 64 29 00 09 61 64 64 74 6f 67 72 6f 75 70 ter(event=object_id)..addtogroup
4920 20 3d 20 47 72 6f 75 70 41 64 64 45 76 65 6e 74 46 6f 72 6d 28 29 00 09 6d 61 70 5f 63 6f 6f 72 .=.GroupAddEventForm()..map_coor
4940 64 69 6e 61 74 65 73 20 3d 20 73 74 72 28 67 65 74 5f 6d 61 70 28 27 65 76 65 6e 74 27 2c 6f 62 dinates.=.str(get_map('event',ob
4960 6a 65 63 74 5f 69 64 29 29 2e 65 6e 63 6f 64 65 28 29 00 09 63 6f 6d 70 6c 65 74 65 64 5f 74 6f ject_id)).encode()..completed_to
4980 64 6f 20 3d 20 54 6f 64 6f 43 6f 6d 70 6c 65 74 65 64 46 6f 72 6d 28 29 00 09 6e 65 77 74 6f 64 do.=.TodoCompletedForm()..newtod
49a0 6f 20 3d 20 54 6f 64 6f 52 65 6c 61 74 65 64 43 72 65 61 74 65 46 6f 72 6d 28 29 00 09 09 61 74 o.=.TodoRelatedCreateForm()...at
49c0 74 65 6e 64 61 6e 63 65 20 3d 20 27 6e 6f 6e 65 27 00 09 09 69 6e 76 69 74 65 20 3d 20 27 54 72 tendance.=.'none'...invite.=.'Tr
49e0 75 65 27 00 09 65 78 63 65 70 74 20 41 74 74 65 6e 64 61 6e 63 65 2e 44 6f 65 73 4e 6f 74 45 78 ue'..except.Attendance.DoesNotEx
4a00 69 73 74 3a 00 00 09 09 69 6e 76 69 74 65 20 3d 20 27 63 6f 6e 66 69 72 6d 27 00 09 09 61 74 74 ist:....invite.=.'confirm'...att
4a20 65 6e 64 61 6e 63 65 20 3d 20 41 74 74 65 6e 64 61 6e 63 65 2e 6f 62 6a 65 63 74 73 2e 67 65 74 endance.=.Attendance.objects.get
4a40 28 65 76 65 6e 74 3d 6f 62 6a 65 63 74 5f 69 64 2c 70 65 72 73 6f 6e 3d 72 65 71 75 65 73 74 2e (event=object_id,person=request.
4a60 75 73 65 72 2e 69 64 29 00 09 74 72 79 3a 20 00 20 20 20 20 20 20 20 20 65 76 65 6e 74 20 3d 20 user.id)..try:..........event.=.
4a80 67 65 74 5f 6f 62 6a 65 63 74 5f 6f 72 5f 34 30 34 28 45 76 65 6e 74 2c 20 70 6b 3d 6f 62 6a 65 get_object_or_404(Event,.pk=obje
4aa0 63 74 5f 69 64 29 00 64 65 66 20 65 76 65 6e 74 28 72 65 71 75 65 73 74 2c 6f 62 6a 65 63 74 5f ct_id).def.event(request,object_
4ac0 69 64 29 3a 00 00 00 09 72 65 74 75 72 6e 20 72 65 6e 64 65 72 5f 74 6f 5f 72 65 73 70 6f 6e 73 id):....return.render_to_respons
4ae0 65 28 27 61 67 65 6e 64 61 2f 72 61 6e 64 6f 6d 2e 68 74 6d 6c 27 2c 20 7b 27 65 76 65 6e 74 27 e('agenda/random.html',.{'event'
4b00 3a 20 65 76 65 6e 74 20 7d 2c 63 6f 6e 74 65 78 74 5f 69 6e 73 74 61 6e 63 65 3d 52 65 71 75 65 :.event.},context_instance=Reque
4b20 73 74 43 6f 6e 74 65 78 74 28 72 65 71 75 65 73 74 29 29 00 00 09 65 76 65 6e 74 20 3d 20 45 76 stContext(request))...event.=.Ev
4b40 65 6e 74 2e 65 76 65 6e 74 73 2e 6e 65 78 74 5f 65 76 65 6e 74 73 2e 6f 72 64 65 72 5f 62 79 28 ent.events.next_events.order_by(
4b60 27 3f 27 29 5b 3a 31 5d 00 64 65 66 20 72 61 6e 64 6f 6d 28 72 65 71 75 65 73 74 29 3a 00 00 00 '?')[:1].def.random(request):...
4b80 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 72 65 6e 64 65 72 5f 74 .................return.render_t
4ba0 6f 5f 72 65 73 70 6f 6e 73 65 28 27 61 67 65 6e 64 61 2f 65 76 65 6e 74 5f 6c 69 73 74 2e 68 74 o_response('agenda/event_list.ht
4bc0 6d 6c 27 2c 20 7b 27 65 76 65 6e 74 27 3a 20 65 76 65 6e 74 20 7d 29 00 09 09 23 65 76 65 6e 74 ml',.{'event':.event.})...#event
4be0 20 3d 20 45 76 65 6e 74 2e 63 61 6c 65 6e 64 61 72 2e 66 69 6c 74 65 72 28 70 75 62 6c 69 63 3d .=.Event.calendar.filter(public=
4c00 54 72 75 65 29 00 20 20 20 20 20 20 20 20 65 6c 73 65 3a 20 20 20 00 20 20 20 20 20 20 20 20 20 True).........else:.............
4c20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 72 65 6e 64 65 72 5f 74 6f 5f 72 65 73 70 6f 6e 73 65 .......return.render_to_response
4c40 28 27 61 67 65 6e 64 61 2f 65 76 65 6e 74 5f 6c 69 73 74 2e 68 74 6d 6c 27 2c 20 7b 27 65 76 65 ('agenda/event_list.html',.{'eve
4c60 6e 74 27 3a 20 65 76 65 6e 74 7d 2c 63 6f 6e 74 65 78 74 5f 69 6e 73 74 61 6e 63 65 3d 52 65 71 nt':.event},context_instance=Req
4c80 75 65 73 74 43 6f 6e 74 65 78 74 28 72 65 71 75 65 73 74 29 29 00 20 20 20 20 20 20 20 20 69 66 uestContext(request)).........if
4ca0 20 20 72 65 71 75 65 73 74 2e 75 73 65 72 2e 69 73 5f 61 75 74 68 65 6e 74 69 63 61 74 65 64 28 ..request.user.is_authenticated(
4cc0 29 3a 00 09 65 76 65 6e 74 20 3d 20 45 76 65 6e 74 2e 65 76 65 6e 74 73 2e 6e 65 78 74 5f 65 76 ):..event.=.Event.events.next_ev
4ce0 65 6e 74 73 28 29 00 64 65 66 20 63 61 6c 65 6e 64 61 72 20 28 72 65 71 75 65 73 74 29 3a 00 00 ents().def.calendar.(request):..
4d00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 72 65 6e 64 65 72 5f 74 6f ................return.render_to
4d20 5f 72 65 73 70 6f 6e 73 65 28 27 61 67 65 6e 64 61 2f 65 76 65 6e 74 5f 6c 69 73 74 2e 68 74 6d _response('agenda/event_list.htm
4d40 6c 27 2c 20 7b 27 65 76 65 6e 74 27 3a 20 65 76 65 6e 74 20 7d 29 00 09 09 23 65 76 65 6e 74 20 l',.{'event':.event.})...#event.
4d60 3d 20 45 76 65 6e 74 2e 63 61 6c 65 6e 64 61 72 2e 66 69 6c 74 65 72 28 70 75 62 6c 69 63 3d 54 =.Event.calendar.filter(public=T
4d80 72 75 65 29 00 20 20 20 20 20 20 20 20 65 6c 73 65 3a 20 20 20 00 20 20 20 20 20 20 20 20 20 20 rue).........else:..............
4da0 20 20 20 20 20 20 72 65 74 75 72 6e 20 72 65 6e 64 65 72 5f 74 6f 5f 72 65 73 70 6f 6e 73 65 28 ......return.render_to_response(
4dc0 27 61 67 65 6e 64 61 2f 65 76 65 6e 74 5f 6c 69 73 74 2e 68 74 6d 6c 27 2c 20 7b 27 65 76 65 6e 'agenda/event_list.html',.{'even
4de0 74 27 3a 20 65 76 65 6e 74 7d 2c 63 6f 6e 74 65 78 74 5f 69 6e 73 74 61 6e 63 65 3d 52 65 71 75 t':.event},context_instance=Requ
4e00 65 73 74 43 6f 6e 74 65 78 74 28 72 65 71 75 65 73 74 29 29 00 20 20 20 20 20 20 20 20 69 66 20 estContext(request)).........if.
4e20 20 72 65 71 75 65 73 74 2e 75 73 65 72 2e 69 73 5f 61 75 74 68 65 6e 74 69 63 61 74 65 64 28 29 .request.user.is_authenticated()
4e40 3a 00 09 00 09 65 76 65 6e 74 20 3d 20 45 76 65 6e 74 2e 65 76 65 6e 74 73 2e 74 6f 64 61 79 5f :....event.=.Event.events.today_
4e60 65 76 65 6e 74 73 2e 66 69 6c 74 65 72 28 70 75 62 6c 69 63 3d 54 72 75 65 29 00 64 65 66 20 72 events.filter(public=True).def.r
4e80 65 6e 64 65 72 20 28 72 65 71 75 65 73 74 29 3a 00 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ender.(request):................
4ea0 20 20 72 65 74 75 72 6e 20 72 65 6e 64 65 72 5f 74 6f 5f 72 65 73 70 6f 6e 73 65 28 27 61 67 65 ..return.render_to_response('age
4ec0 6e 64 61 2f 65 76 65 6e 74 5f 6c 69 73 74 2e 68 74 6d 6c 27 2c 20 7b 27 6c 6f 67 27 3a 20 6c 6f nda/event_list.html',.{'log':.lo
4ee0 67 20 7d 29 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 76 65 6e 74 20 3d 20 45 76 65 g.}).................event.=.Eve
4f00 6e 74 2e 63 61 6c 65 6e 64 61 72 2e 66 69 6c 74 65 72 28 70 75 62 6c 69 63 3d 54 72 75 65 29 00 nt.calendar.filter(public=True).
4f20 20 20 20 20 20 20 20 20 65 6c 73 65 3a 20 20 20 00 09 09 72 65 74 75 72 6e 20 72 65 6e 64 65 72 ........else:......return.render
4f40 5f 74 6f 5f 72 65 73 70 6f 6e 73 65 28 27 61 67 65 6e 64 61 2f 75 73 65 72 5f 70 61 67 65 2e 68 _to_response('agenda/user_page.h
4f60 74 6d 6c 27 2c 20 7b 27 6c 6f 67 65 6e 74 72 69 65 73 27 3a 20 6c 6f 67 65 6e 74 72 69 65 73 2c tml',.{'logentries':.logentries,
4f80 27 67 72 6f 75 70 5f 74 6f 64 6f 73 27 3a 20 67 72 6f 75 70 5f 74 6f 64 6f 73 2c 20 27 6e 65 77 'group_todos':.group_todos,.'new
4fa0 74 6f 64 6f 27 3a 20 6e 65 77 74 6f 64 6f 2c 20 27 6d 69 73 73 69 6e 67 5f 70 69 78 69 65 73 27 todo':.newtodo,.'missing_pixies'
4fc0 3a 20 6d 69 73 73 69 6e 67 5f 70 69 78 69 65 73 20 7d 2c 63 6f 6e 74 65 78 74 5f 69 6e 73 74 61 :.missing_pixies.},context_insta
4fe0 6e 63 65 3d 52 65 71 75 65 73 74 43 6f 6e 74 65 78 74 28 72 65 71 75 65 73 74 29 29 20 20 20 00 nce=RequestContext(request))....
5000 61 64 00 00 a1 08 00 00 49 09 00 00 00 10 00 00 25 00 00 00 c9 0f 00 00 94 0f 00 00 63 0f 00 00 ad......I.......%...........c...
5020 2e 0f 00 00 f4 0e 00 00 ba 0e 00 00 92 0e 00 00 72 0e 00 00 5a 0e 00 00 41 0e 00 00 23 0e 00 00 ................r...Z...A...#...
5040 ff 0d 00 00 de 0d 00 00 97 0d 00 00 6d 0d 00 00 3e 0d 00 00 20 0d 00 00 e1 0c 00 00 a9 0c 00 00 ............m...>...............
5060 62 0c 00 00 51 0c 00 00 50 0c 00 00 4f 0c 00 00 2a 0c 00 00 01 0c 00 00 de 0b 00 00 8c 0b 00 00 b...Q...P...O...*...............
5080 50 0b 00 00 98 0a 00 00 97 0a 00 00 7d 0a 00 00 1b 0a 00 00 ca 09 00 00 b5 09 00 00 8b 09 00 00 P...........}...................
50a0 6f 09 00 00 49 09 00 00 16 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 o...I...........................
50c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
50e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
51a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
51c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
51e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
52a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
52c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
52e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
53a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
53c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
53e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
54a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
54c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
54e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
55a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
55c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
55e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5680 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
56a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
56c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
56e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
57a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
57c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
57e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5880 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
58a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
58c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
58e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5900 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 69 66 20 20 72 65 71 75 65 .......................if..reque
5920 73 74 2e 75 73 65 72 2e 69 73 5f 61 75 74 68 65 6e 74 69 63 61 74 65 64 28 29 3a 00 09 6e 65 77 st.user.is_authenticated():..new
5940 74 6f 64 6f 20 3d 20 54 6f 09 69 66 20 20 72 65 71 75 65 73 74 2e 75 73 65 72 2e 69 73 5f 61 75 todo.=.To.if..request.user.is_au
5960 74 68 65 6e 74 69 63 61 74 65 64 28 29 3a 00 09 6e 65 77 74 6f 64 6f 20 3d 20 54 6f 64 6f 43 72 thenticated():..newtodo.=.TodoCr
5980 65 61 74 65 46 6f 72 6d 28 29 00 09 6c 6f 67 65 6e 74 72 69 65 73 20 3d 20 75 73 65 72 2e 6c 6f eateForm()..logentries.=.user.lo
59a0 67 65 6e 74 72 79 5f 73 65 74 2e 61 6c 6c 28 29 5b 3a 35 5d 00 09 75 73 65 72 20 3d 20 72 65 71 gentry_set.all()[:5]..user.=.req
59c0 75 65 73 74 2e 75 73 65 72 00 09 6d 69 73 73 69 6e 67 5f 70 69 78 69 65 73 20 3d 20 45 76 65 6e uest.user..missing_pixies.=.Even
59e0 74 2e 65 76 65 6e 74 73 2e 6d 69 73 73 69 6e 67 5f 70 69 78 69 65 73 28 29 2e 66 69 6c 74 65 72 t.events.missing_pixies().filter
5a00 28 72 65 64 65 73 5f 5f 75 73 65 72 3d 31 29 2e 64 69 73 74 69 6e 63 74 28 29 00 09 67 72 6f 75 (redes__user=1).distinct()..grou
5a20 70 5f 74 6f 64 6f 73 20 3d 20 54 6f 64 6f 2e 74 6f 64 6f 73 2e 70 65 6e 64 69 6e 67 5f 74 6f 64 p_todos.=.Todo.todos.pending_tod
5a40 6f 73 28 29 2e 66 69 6c 74 65 72 28 6e 65 74 77 6f 72 6b 5f 5f 75 73 65 72 3d 72 65 71 75 65 73 os().filter(network__user=reques
5a60 74 2e 75 73 65 72 29 2e 6f 72 64 65 72 5f 62 79 28 27 64 75 65 5f 64 61 74 65 27 29 00 64 65 66 t.user).order_by('due_date').def
5a80 20 6d 69 73 6d 65 6e 73 61 6a 65 73 28 72 65 71 75 65 73 74 29 3a 00 00 09 72 65 74 75 72 6e 20 .mismensajes(request):...return.
5aa0 72 65 6e 64 65 72 5f 74 6f 5f 72 65 73 70 6f 6e 73 65 28 27 61 67 65 6e 64 61 2f 6f 6e 65 5f 67 render_to_response('agenda/one_g
5ac0 72 6f 75 70 2e 68 74 6d 6c 27 2c 20 7b 27 67 72 6f 75 70 27 3a 20 67 72 6f 75 70 2c 20 27 74 6f roup.html',.{'group':.group,.'to
5ae0 64 6f 73 27 3a 20 74 6f 64 6f 73 2c 20 27 6e 65 77 74 6f 64 6f 27 3a 20 6e 65 77 74 6f 64 6f 2c dos':.todos,.'newtodo':.newtodo,
5b00 20 27 6d 61 70 5f 63 6f 6f 72 64 69 6e 61 74 65 73 27 3a 6d 61 70 5f 63 6f 6f 72 64 69 6e 61 74 .'map_coordinates':map_coordinat
5b20 65 73 20 20 7d 2c 63 6f 6e 74 65 78 74 5f 69 6e 73 74 61 6e 63 65 3d 52 65 71 75 65 73 74 43 6f es..},context_instance=RequestCo
5b40 6e 74 65 78 74 28 72 65 71 75 65 73 74 29 29 00 09 6d 61 70 5f 63 6f 6f 72 64 69 6e 61 74 65 73 ntext(request))..map_coordinates
5b60 20 3d 20 73 74 72 28 67 65 74 5f 6d 61 70 28 27 67 72 6f 75 70 27 2c 6f 62 6a 65 63 74 5f 69 64 .=.str(get_map('group',object_id
5b80 29 29 2e 65 6e 63 6f 64 65 28 29 00 09 74 6f 64 6f 73 20 3d 20 54 6f 64 6f 2e 74 6f 64 6f 73 2e )).encode()..todos.=.Todo.todos.
5ba0 70 65 6e 64 69 6e 67 5f 74 6f 64 6f 73 28 29 2e 66 69 6c 74 65 72 28 6e 65 74 77 6f 72 6b 3d 6f pending_todos().filter(network=o
5bc0 62 6a 65 63 74 5f 69 64 29 2e 66 69 6c 74 65 72 28 70 75 62 6c 69 63 3d 54 72 75 65 29 00 09 6e bject_id).filter(public=True)..n
5be0 65 77 74 6f 64 6f 20 3d 20 54 6f 64 6f 52 65 6c 61 74 65 64 43 72 65 61 74 65 46 6f 72 6d 28 29 ewtodo.=.TodoRelatedCreateForm()
5c00 00 09 67 72 6f 75 70 20 3d 20 47 72 6f 75 70 2e 6f 62 6a 65 63 74 73 2e 67 65 74 28 70 6b 3d 6f ..group.=.Group.objects.get(pk=o
5c20 62 6a 65 63 74 5f 69 64 29 00 64 65 66 20 6a 75 73 74 6f 6e 65 67 72 6f 75 70 28 72 65 71 75 65 bject_id).def.justonegroup(reque
5c40 73 74 2c 6f 62 6a 65 63 74 5f 69 64 29 3a 00 00 00 09 72 65 74 75 72 6e 20 72 65 73 70 6f 6e 73 st,object_id):....return.respons
5c60 65 00 09 72 65 73 70 6f 6e 73 65 5b 27 43 6f 6e 74 65 6e 74 2d 44 69 73 70 6f 73 69 74 69 6f 6e e..response['Content-Disposition
5c80 27 5d 20 3d 20 27 61 74 74 61 63 68 6d 65 6e 74 3b 20 66 69 6c 65 6e 61 6d 65 3d 66 69 6c 65 6e '].=.'attachment;.filename=filen
5ca0 61 6d 65 2e 69 63 73 27 00 09 72 65 73 70 6f 6e 73 65 5b 27 46 69 6c 65 6e 61 6d 65 27 5d 20 3d ame.ics'..response['Filename'].=
5cc0 20 27 66 69 6c 65 6e 61 6d 65 2e 69 63 73 27 20 20 23 20 49 45 20 6e 65 65 64 73 20 74 68 69 73 .'filename.ics'..#.IE.needs.this
5ce0 00 09 72 65 73 70 6f 6e 73 65 20 3d 20 48 74 74 70 52 65 73 70 6f 6e 73 65 28 69 63 61 6c 73 74 ..response.=.HttpResponse(icalst
5d00 72 65 61 6d 2c 20 6d 69 6d 65 74 79 70 65 3d 27 74 65 78 74 2f 63 61 6c 65 6e 64 61 72 27 29 00 ream,.mimetype='text/calendar').
5d20 09 69 63 61 6c 73 74 72 65 61 6d 20 3d 20 63 61 6c 2e 73 65 72 69 61 6c 69 7a 65 28 29 00 09 09 .icalstream.=.cal.serialize()...
5d40 09 76 65 76 65 6e 74 2e 61 64 64 28 27 6f 72 67 61 6e 69 7a 65 72 27 29 2e 76 61 6c 75 65 20 3d .vevent.add('organizer').value.=
5d60 20 70 69 78 69 65 2e 65 6d 61 69 6c 00 09 09 66 6f 72 20 70 69 78 69 65 20 69 6e 20 6f 6e 65 5f .pixie.email...for.pixie.in.one_
5d80 65 76 65 6e 74 2e 70 69 78 69 65 2e 61 6c 6c 28 29 5b 3a 31 5d 3a 00 09 09 09 61 74 74 2e 64 69 event.pixie.all()[:1]:....att.di
5da0 72 5f 70 61 72 61 6d 3d 22 68 74 74 70 3a 2f 2f 69 6e 66 6f 70 6f 69 6e 74 2f 61 67 65 6e 64 61 r_param="http://infopoint/agenda
5dc0 2f 75 73 65 72 2f 22 2b 73 74 72 28 75 73 65 72 2e 69 64 29 2b 22 2f 62 75 73 79 2f 22 00 09 09 /user/"+str(user.id)+"/busy/"...
5de0 09 61 74 74 2e 70 61 72 74 73 74 61 74 5f 70 61 72 61 6d 3d 27 41 43 43 45 50 54 45 44 27 00 09 .att.partstat_param='ACCEPTED'..
5e00 09 09 61 74 74 2e 72 6f 6c 65 5f 70 61 72 61 6d 3d 27 52 45 51 2d 50 41 52 54 49 43 49 50 41 4e ..att.role_param='REQ-PARTICIPAN
5e20 54 27 00 09 09 09 61 74 74 2e 63 6e 5f 70 61 72 61 6d 3d 75 73 65 72 2e 75 73 65 72 6e 61 6d 65 T'....att.cn_param=user.username
5e40 00 09 09 09 61 74 74 2e 72 73 76 70 5f 70 61 72 61 6d 3d 27 54 72 75 65 27 00 09 09 09 61 74 74 ....att.rsvp_param='True'....att
5e60 2e 76 61 6c 75 65 3d 75 73 65 72 2e 65 6d 61 69 6c 00 09 09 09 61 74 74 20 3d 20 76 65 76 65 6e .value=user.email....att.=.veven
5e80 74 2e 61 64 64 28 27 61 74 74 65 6e 64 65 65 27 29 00 09 09 66 6f 72 20 75 73 65 72 20 69 6e 20 t.add('attendee')...for.user.in.
5ea0 6f 6e 65 5f 65 76 65 6e 74 2e 61 74 65 6e 64 65 65 73 2e 61 6c 6c 28 29 3a 00 09 09 76 65 76 65 one_event.atendees.all():...veve
5ec0 6e 74 2e 61 64 64 28 27 6c 6f 63 61 74 69 6f 6e 27 29 2e 76 61 6c 75 65 20 3d 20 6f 6e 65 5f 65 nt.add('location').value.=.one_e
5ee0 76 65 6e 74 2e 6c 6f 63 61 74 69 6f 6e 2e 74 69 74 6c 65 00 09 09 76 65 76 65 6e 74 2e 61 64 64 vent.location.title...vevent.add
5f00 28 27 64 65 73 63 72 69 70 74 69 6f 6e 27 29 2e 76 61 6c 75 65 20 3d 20 6f 6e 65 5f 65 76 65 6e ('description').value.=.one_even
5f20 74 2e 64 65 73 63 72 69 70 74 69 6f 6e 00 09 09 76 65 76 65 6e 74 2e 61 64 64 28 27 64 74 73 74 t.description...vevent.add('dtst
5f40 61 6d 70 27 29 2e 76 61 6c 75 65 20 3d 20 6f 6e 65 5f 65 76 65 6e 74 2e 73 74 61 72 74 5f 64 61 amp').value.=.one_event.start_da
5f60 74 65 00 09 09 76 65 76 65 6e 74 2e 61 64 64 28 27 64 74 65 6e 64 27 29 2e 76 61 6c 75 65 20 3d te...vevent.add('dtend').value.=
5f80 20 6f 6e 65 5f 65 76 65 6e 74 2e 65 6e 64 5f 64 61 74 65 00 09 09 76 65 76 65 6e 74 2e 61 64 64 .one_event.end_date...vevent.add
5fa0 28 27 64 74 73 74 61 72 74 27 29 2e 76 61 6c 75 65 20 3d 20 6f 6e 65 5f 65 76 65 6e 74 2e 73 74 ('dtstart').value.=.one_event.st
5fc0 61 72 74 5f 64 61 74 65 00 09 20 20 20 20 20 20 20 09 76 65 76 65 6e 74 2e 61 64 64 28 27 73 75 art_date..........vevent.add('su
5fe0 6d 6d 61 72 79 27 29 2e 76 61 6c 75 65 20 3d 20 6f 6e 65 5f 65 76 65 6e 74 2e 74 69 74 6c 65 00 mmary').value.=.one_event.title.
6000 61 64 00 00 04 09 00 00 b0 09 00 00 00 10 00 00 26 00 00 00 d7 0f 00 00 bc 0f 00 00 95 0f 00 00 ad..............&...............
6020 57 0f 00 00 2e 0f 00 00 e5 0e 00 00 bd 0e 00 00 a0 0e 00 00 69 0e 00 00 34 0e 00 00 09 0e 00 00 W...................i...4.......
6040 e1 0d 00 00 b0 0d 00 00 76 0d 00 00 3c 0d 00 00 14 0d 00 00 f4 0c 00 00 dc 0c 00 00 c3 0c 00 00 ........v...<...................
6060 a5 0c 00 00 81 0c 00 00 60 0c 00 00 19 0c 00 00 ef 0b 00 00 c0 0b 00 00 a2 0b 00 00 63 0b 00 00 ........`...................c...
6080 2b 0b 00 00 e4 0a 00 00 d3 0a 00 00 d2 0a 00 00 b3 0a 00 00 98 0a 00 00 5a 0a 00 00 31 0a 00 00 +.......................Z...1...
60a0 fb 09 00 00 cd 09 00 00 b0 09 00 00 7d 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ............}...................
60c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
60e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
61a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
61c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
61e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
62a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
62c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
62e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
63a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
63c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
63e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
64a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
64c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
64e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
65a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
65c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
65e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6680 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
66a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
66c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
66e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
67a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
67c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
67e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6880 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
68a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
68c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
68e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6900 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6920 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6940 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
6960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 09 76 ...............................v
6980 65 76 65 6e 74 20 3d 20 63 61 6c 2e 61 64 64 28 27 76 65 76 65 6e 74 27 29 00 09 66 6f 72 20 6f event.=.cal.add('vevent')..for.o
69a0 6e 65 5f 65 76 65 6e 74 20 69 6e 20 45 76 65 6e 09 09 76 65 76 65 6e 74 20 3d 20 63 61 6c 2e 61 ne_event.in.Even..vevent.=.cal.a
69c0 64 64 28 27 76 65 76 65 6e 74 27 29 00 09 66 6f 72 20 6f 6e 65 5f 65 76 65 6e 74 20 69 6e 20 45 dd('vevent')..for.one_event.in.E
69e0 76 65 6e 74 2e 65 76 65 6e 74 73 2e 6e 65 78 74 5f 65 76 65 6e 74 73 28 29 3a 00 09 63 61 6c 2e vent.events.next_events():..cal.
6a00 61 64 64 28 27 78 2d 77 72 2d 63 61 6c 6e 61 6d 65 27 29 2e 76 61 6c 75 65 20 3d 20 27 69 6e 66 add('x-wr-calname').value.=.'inf
6a20 6f 70 6f 69 6e 74 20 63 61 6c 65 6e 64 61 72 27 00 09 63 61 6c 2e 61 64 64 28 27 63 61 6c 73 63 opoint.calendar'..cal.add('calsc
6a40 61 6c 65 27 29 2e 76 61 6c 75 65 20 3d 20 27 47 52 45 47 4f 52 49 41 4e 27 00 09 63 61 6c 2e 61 ale').value.=.'GREGORIAN'..cal.a
6a60 64 64 28 27 6d 65 74 68 6f 64 27 29 2e 76 61 6c 75 65 20 3d 20 27 50 55 42 4c 49 53 48 27 20 20 dd('method').value.=.'PUBLISH'..
6a80 23 20 49 45 2f 4f 75 74 6c 6f 6f 6b 20 6e 65 65 64 73 20 74 68 69 73 00 09 63 61 6c 20 3d 20 76 #.IE/Outlook.needs.this..cal.=.v
6aa0 6f 62 6a 65 63 74 2e 69 43 61 6c 65 6e 64 61 72 28 29 00 64 65 66 20 69 63 61 6c 5f 6e 65 78 74 object.iCalendar().def.ical_next
6ac0 5f 65 76 65 6e 74 73 28 72 65 71 75 65 73 74 29 3a 00 00 09 72 65 74 75 72 6e 20 72 65 73 70 6f _events(request):...return.respo
6ae0 6e 73 65 00 09 72 65 73 70 6f 6e 73 65 5b 27 43 6f 6e 74 65 6e 74 2d 44 69 73 70 6f 73 69 74 69 nse..response['Content-Dispositi
6b00 6f 6e 27 5d 20 3d 20 27 61 74 74 61 63 68 6d 65 6e 74 3b 20 66 69 6c 65 6e 61 6d 65 3d 66 69 6c on'].=.'attachment;.filename=fil
6b20 65 6e 61 6d 65 2e 69 63 73 27 00 09 72 65 73 70 6f 6e 73 65 5b 27 46 69 6c 65 6e 61 6d 65 27 5d ename.ics'..response['Filename']
6b40 20 3d 20 27 66 69 6c 65 6e 61 6d 65 2e 69 63 73 27 20 20 23 20 49 45 20 6e 65 65 64 73 20 74 68 .=.'filename.ics'..#.IE.needs.th
6b60 69 73 00 09 72 65 73 70 6f 6e 73 65 20 3d 20 48 74 74 70 52 65 73 70 6f 6e 73 65 28 69 63 61 6c is..response.=.HttpResponse(ical
6b80 73 74 72 65 61 6d 2c 20 6d 69 6d 65 74 79 70 65 3d 27 74 65 78 74 2f 63 61 6c 65 6e 64 61 72 27 stream,.mimetype='text/calendar'
6ba0 29 00 09 69 63 61 6c 73 74 72 65 61 6d 20 3d 20 63 61 6c 2e 73 65 72 69 61 6c 69 7a 65 28 29 00 )..icalstream.=.cal.serialize().
6bc0 09 09 09 76 65 76 65 6e 74 2e 61 64 64 28 27 6f 72 67 61 6e 69 7a 65 72 27 29 2e 76 61 6c 75 65 ...vevent.add('organizer').value
6be0 20 3d 20 70 69 78 69 65 2e 65 6d 61 69 6c 00 09 09 66 6f 72 20 70 69 78 69 65 20 69 6e 20 6f 6e .=.pixie.email...for.pixie.in.on
6c00 65 5f 65 76 65 6e 74 2e 70 69 78 69 65 2e 61 6c 6c 28 29 5b 3a 31 5d 3a 00 09 09 09 61 74 74 2e e_event.pixie.all()[:1]:....att.
6c20 64 69 72 5f 70 61 72 61 6d 3d 22 68 74 74 70 3a 2f 2f 69 6e 66 6f 70 6f 69 6e 74 2f 61 67 65 6e dir_param="http://infopoint/agen
6c40 64 61 2f 75 73 65 72 2f 22 2b 73 74 72 28 75 73 65 72 2e 69 64 29 2b 22 2f 62 75 73 79 2f 22 00 da/user/"+str(user.id)+"/busy/".
6c60 09 09 09 61 74 74 2e 70 61 72 74 73 74 61 74 5f 70 61 72 61 6d 3d 27 41 43 43 45 50 54 45 44 27 ...att.partstat_param='ACCEPTED'
6c80 00 09 09 09 61 74 74 2e 72 6f 6c 65 5f 70 61 72 61 6d 3d 27 52 45 51 2d 50 41 52 54 49 43 49 50 ....att.role_param='REQ-PARTICIP
6ca0 41 4e 54 27 00 09 09 09 61 74 74 2e 63 6e 5f 70 61 72 61 6d 3d 75 73 65 72 2e 75 73 65 72 6e 61 ANT'....att.cn_param=user.userna
6cc0 6d 65 00 09 09 09 61 74 74 2e 72 73 76 70 5f 70 61 72 61 6d 3d 27 54 72 75 65 27 00 09 09 09 61 me....att.rsvp_param='True'....a
6ce0 74 74 2e 76 61 6c 75 65 3d 75 73 65 72 2e 65 6d 61 69 6c 00 09 09 09 61 74 74 20 3d 20 76 65 76 tt.value=user.email....att.=.vev
6d00 65 6e 74 2e 61 64 64 28 27 61 74 74 65 6e 64 65 65 27 29 00 09 09 66 6f 72 20 75 73 65 72 20 69 ent.add('attendee')...for.user.i
6d20 6e 20 6f 6e 65 5f 65 76 65 6e 74 2e 61 74 65 6e 64 65 65 73 2e 61 6c 6c 28 29 3a 00 09 09 76 65 n.one_event.atendees.all():...ve
6d40 76 65 6e 74 2e 61 64 64 28 27 6c 6f 63 61 74 69 6f 6e 27 29 2e 76 61 6c 75 65 20 3d 20 6f 6e 65 vent.add('location').value.=.one
6d60 5f 65 76 65 6e 74 2e 6c 6f 63 61 74 69 6f 6e 2e 74 69 74 6c 65 00 09 09 76 65 76 65 6e 74 2e 61 _event.location.title...vevent.a
6d80 64 64 28 27 64 65 73 63 72 69 70 74 69 6f 6e 27 29 2e 76 61 6c 75 65 20 3d 20 6f 6e 65 5f 65 76 dd('description').value.=.one_ev
6da0 65 6e 74 2e 64 65 73 63 72 69 70 74 69 6f 6e 00 09 09 76 65 76 65 6e 74 2e 61 64 64 28 27 64 74 ent.description...vevent.add('dt
6dc0 65 6e 64 27 29 2e 76 61 6c 75 65 20 3d 20 6f 6e 65 5f 65 76 65 6e 74 2e 65 6e 64 5f 64 61 74 65 end').value.=.one_event.end_date
6de0 00 09 09 76 65 76 65 6e 74 2e 61 64 64 28 27 54 52 41 4e 53 50 27 29 2e 76 61 6c 75 65 20 3d 20 ...vevent.add('TRANSP').value.=.
6e00 27 4f 50 41 51 55 45 27 00 09 09 76 65 76 65 6e 74 2e 61 64 64 28 27 73 74 61 74 75 73 27 29 2e 'OPAQUE'...vevent.add('status').
6e20 76 61 6c 75 65 20 3d 20 27 43 4f 4e 46 49 52 4d 45 44 27 00 09 09 76 65 76 65 6e 74 2e 61 64 64 value.=.'CONFIRMED'...vevent.add
6e40 28 27 64 74 73 74 61 72 74 27 29 2e 76 61 6c 75 65 20 3d 20 6f 6e 65 5f 65 76 65 6e 74 2e 73 74 ('dtstart').value.=.one_event.st
6e60 61 72 74 5f 64 61 74 65 00 09 20 20 20 20 20 20 20 09 76 65 76 65 6e 74 2e 61 64 64 28 27 73 75 art_date..........vevent.add('su
6e80 6d 6d 61 72 79 27 29 2e 76 61 6c 75 65 20 3d 20 6f 6e 65 5f 65 76 65 6e 74 2e 74 69 74 6c 65 00 mmary').value.=.one_event.title.
6ea0 09 09 76 65 76 65 6e 74 20 3d 20 63 61 6c 2e 61 64 64 28 27 76 65 76 65 6e 74 27 29 00 09 66 6f ..vevent.=.cal.add('vevent')..fo
6ec0 72 20 6f 6e 65 5f 65 76 65 6e 74 20 69 6e 20 75 73 65 72 2e 65 76 65 6e 74 5f 73 65 74 2e 61 6c r.one_event.in.user.event_set.al
6ee0 6c 28 29 3a 00 09 63 61 6c 2e 61 64 64 28 27 78 2d 77 72 2d 63 61 6c 6e 61 6d 65 27 29 2e 76 61 l():..cal.add('x-wr-calname').va
6f00 6c 75 65 20 3d 20 27 69 6e 66 6f 70 6f 69 6e 74 20 63 61 6c 65 6e 64 61 72 20 66 6f 72 20 27 2b lue.=.'infopoint.calendar.for.'+
6f20 75 73 65 72 2e 75 73 65 72 6e 61 6d 65 00 09 63 61 6c 2e 61 64 64 28 27 63 61 6c 73 63 61 6c 65 user.username..cal.add('calscale
6f40 27 29 2e 76 61 6c 75 65 20 3d 20 27 47 52 45 47 4f 52 49 41 4e 27 00 09 63 61 6c 2e 61 64 64 28 ').value.=.'GREGORIAN'..cal.add(
6f60 27 6d 65 74 68 6f 64 27 29 2e 76 61 6c 75 65 20 3d 20 27 50 55 42 4c 49 53 48 27 20 20 23 20 49 'method').value.=.'PUBLISH'..#.I
6f80 45 2f 4f 75 74 6c 6f 6f 6b 20 6e 65 65 64 73 20 74 68 69 73 00 09 75 73 65 72 20 3d 20 55 73 65 E/Outlook.needs.this..user.=.Use
6fa0 72 2e 6f 62 6a 65 63 74 73 2e 67 65 74 28 70 6b 3d 6f 62 6a 65 63 74 5f 69 64 29 00 09 63 61 6c r.objects.get(pk=object_id)..cal
6fc0 20 3d 20 76 6f 62 6a 65 63 74 2e 69 43 61 6c 65 6e 64 61 72 28 29 00 64 65 66 20 69 63 61 6c 5f .=.vobject.iCalendar().def.ical_
6fe0 75 73 65 72 5f 65 76 65 6e 74 73 28 72 65 71 75 65 73 74 2c 6f 62 6a 65 63 74 5f 69 64 29 3a 00 user_events(request,object_id):.
7000 61 64 00 00 18 09 00 00 b8 09 00 00 00 10 00 00 23 00 00 00 c1 0f 00 00 89 0f 00 00 42 0f 00 00 ad..............#...........B...
7020 31 0f 00 00 30 0f 00 00 05 0f 00 00 ea 0e 00 00 c3 0e 00 00 74 0e 00 00 4b 0e 00 00 01 0e 00 00 1...0...............t...K.......
7040 b4 0d 00 00 8d 0d 00 00 6a 0d 00 00 4a 0d 00 00 1c 0d 00 00 e7 0c 00 00 b6 0c 00 00 8e 0c 00 00 ........j...J...................
7060 41 0c 00 00 19 0c 00 00 f2 0b 00 00 cf 0b 00 00 af 0b 00 00 81 0b 00 00 4c 0b 00 00 1b 0b 00 00 A.......................L.......
7080 f3 0a 00 00 a6 0a 00 00 88 0a 00 00 49 0a 00 00 11 0a 00 00 ca 09 00 00 b9 09 00 00 b8 09 00 00 ............I...................
70a0 9a 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
70c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
70e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
71a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
71c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
71e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
72a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
72c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
72e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
73a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
73c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
73e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
74a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
74c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
74e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
75a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
75c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
75e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7680 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
76a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
76c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
76e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
77a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
77c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
77e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7880 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
78a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
78c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
78e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7900 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7920 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7940 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
7980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 72 65 74 75 ............................retu
79a0 72 6e 20 72 65 73 70 6f 6e 73 65 00 09 72 65 73 70 6f 6e 73 65 5b 27 43 00 09 72 65 74 75 72 6e rn.response..response['C..return
79c0 20 72 65 73 70 6f 6e 73 65 00 09 72 65 73 70 6f 6e 73 65 5b 27 43 6f 6e 74 65 6e 74 2d 44 69 73 .response..response['Content-Dis
79e0 70 6f 73 69 74 69 6f 6e 27 5d 20 3d 20 27 61 74 74 61 63 68 6d 65 6e 74 3b 20 66 69 6c 65 6e 61 position'].=.'attachment;.filena
7a00 6d 65 3d 66 69 6c 65 6e 61 6d 65 2e 69 63 73 27 00 09 72 65 73 70 6f 6e 73 65 5b 27 46 69 6c 65 me=filename.ics'..response['File
7a20 6e 61 6d 65 27 5d 20 3d 20 27 66 69 6c 65 6e 61 6d 65 2e 69 63 73 27 20 20 23 20 49 45 20 6e 65 name'].=.'filename.ics'..#.IE.ne
7a40 65 64 73 20 74 68 69 73 00 09 72 65 73 70 6f 6e 73 65 20 3d 20 48 74 74 70 52 65 73 70 6f 6e 73 eds.this..response.=.HttpRespons
7a60 65 28 69 63 61 6c 73 74 72 65 61 6d 2c 20 6d 69 6d 65 74 79 70 65 3d 27 74 65 78 74 2f 63 61 6c e(icalstream,.mimetype='text/cal
7a80 65 6e 64 61 72 27 29 00 09 69 63 61 6c 73 74 72 65 61 6d 20 3d 20 63 61 6c 2e 73 65 72 69 61 6c endar')..icalstream.=.cal.serial
7aa0 69 7a 65 28 29 00 09 09 76 65 76 65 6e 74 2e 61 64 64 28 27 66 72 65 65 62 75 73 79 27 29 2e 76 ize()...vevent.add('freebusy').v
7ac0 61 6c 75 65 20 3d 20 5b 28 76 65 76 65 6e 74 2e 64 74 73 74 61 72 74 2e 76 61 6c 75 65 2c 76 65 alue.=.[(vevent.dtstart.value,ve
7ae0 76 65 6e 74 2e 64 74 65 6e 64 2e 76 61 6c 75 65 29 5d 00 09 09 76 65 76 65 6e 74 2e 61 64 64 28 vent.dtend.value)]...vevent.add(
7b00 27 74 72 61 6e 73 70 27 29 2e 76 61 6c 75 65 20 3d 20 27 4f 50 41 51 55 45 27 00 09 09 76 65 76 'transp').value.=.'OPAQUE'...vev
7b20 65 6e 74 2e 61 64 64 28 27 64 74 65 6e 64 27 29 2e 76 61 6c 75 65 20 3d 20 6f 6e 65 5f 65 76 65 ent.add('dtend').value.=.one_eve
7b40 6e 74 2e 65 6e 64 5f 64 61 74 65 00 09 09 76 65 76 65 6e 74 2e 61 64 64 28 27 64 74 73 74 61 72 nt.end_date...vevent.add('dtstar
7b60 74 27 29 2e 76 61 6c 75 65 20 3d 20 6f 6e 65 5f 65 76 65 6e 74 2e 73 74 61 72 74 5f 64 61 74 65 t').value.=.one_event.start_date
7b80 00 09 20 20 20 20 20 20 20 09 76 65 76 65 6e 74 2e 61 64 64 28 27 73 75 6d 6d 61 72 79 27 29 2e ..........vevent.add('summary').
7ba0 76 61 6c 75 65 20 3d 20 27 42 55 53 59 27 00 09 09 76 65 76 65 6e 74 20 3d 20 63 61 6c 2e 61 64 value.=.'BUSY'...vevent.=.cal.ad
7bc0 64 28 27 56 46 52 45 45 42 55 53 59 27 29 00 09 09 66 72 65 65 62 75 73 79 65 6e 64 20 3d 20 6f d('VFREEBUSY')...freebusyend.=.o
7be0 6e 65 5f 65 76 65 6e 74 2e 65 6e 64 5f 64 61 74 65 00 09 09 66 72 65 65 62 75 73 79 73 74 61 72 ne_event.end_date...freebusystar
7c00 74 20 3d 20 6f 6e 65 5f 65 76 65 6e 74 2e 73 74 61 72 74 5f 64 61 74 65 00 09 66 6f 72 20 6f 6e t.=.one_event.start_date..for.on
7c20 65 5f 65 76 65 6e 74 20 69 6e 20 75 73 65 72 2e 65 76 65 6e 74 5f 73 65 74 2e 61 6c 6c 28 29 3a e_event.in.user.event_set.all():
7c40 00 09 09 76 65 76 65 6e 74 2e 61 64 64 28 27 66 72 65 65 62 75 73 79 27 29 2e 76 61 6c 75 65 20 ...vevent.add('freebusy').value.
7c60 3d 20 5b 28 76 65 76 65 6e 74 2e 64 74 73 74 61 72 74 2e 76 61 6c 75 65 2c 76 65 76 65 6e 74 2e =.[(vevent.dtstart.value,vevent.
7c80 64 74 65 6e 64 2e 76 61 6c 75 65 29 5d 00 09 09 76 65 76 65 6e 74 2e 61 64 64 28 27 74 72 61 6e dtend.value)]...vevent.add('tran
7ca0 73 70 27 29 2e 76 61 6c 75 65 20 3d 20 27 4f 50 41 51 55 45 27 00 09 09 76 65 76 65 6e 74 2e 61 sp').value.=.'OPAQUE'...vevent.a
7cc0 64 64 28 27 64 74 65 6e 64 27 29 2e 76 61 6c 75 65 20 3d 20 6f 6e 65 5f 65 76 65 6e 74 2e 65 6e dd('dtend').value.=.one_event.en
7ce0 64 5f 64 61 74 65 00 09 09 76 65 76 65 6e 74 2e 61 64 64 28 27 64 74 73 74 61 72 74 27 29 2e 76 d_date...vevent.add('dtstart').v
7d00 61 6c 75 65 20 3d 20 6f 6e 65 5f 65 76 65 6e 74 2e 73 74 61 72 74 5f 64 61 74 65 00 09 20 20 20 alue.=.one_event.start_date.....
7d20 20 20 20 20 09 76 65 76 65 6e 74 2e 61 64 64 28 27 73 75 6d 6d 61 72 79 27 29 2e 76 61 6c 75 65 .....vevent.add('summary').value
7d40 20 3d 20 27 42 55 53 59 27 00 09 09 76 65 76 65 6e 74 20 3d 20 63 61 6c 2e 61 64 64 28 27 56 46 .=.'BUSY'...vevent.=.cal.add('VF
7d60 52 45 45 42 55 53 59 27 29 00 09 09 66 72 65 65 62 75 73 79 65 6e 64 20 3d 20 6f 6e 65 5f 65 76 REEBUSY')...freebusyend.=.one_ev
7d80 65 6e 74 2e 65 6e 64 5f 64 61 74 65 00 09 09 66 72 65 65 62 75 73 79 73 74 61 72 74 20 3d 20 6f ent.end_date...freebusystart.=.o
7da0 6e 65 5f 65 76 65 6e 74 2e 73 74 61 72 74 5f 64 61 74 65 00 09 66 6f 72 20 6f 6e 65 5f 65 76 65 ne_event.start_date..for.one_eve
7dc0 6e 74 20 69 6e 20 75 73 65 72 2e 65 76 65 6e 74 73 2e 61 6c 6c 28 29 2e 65 78 63 6c 75 64 65 28 nt.in.user.events.all().exclude(
7de0 74 69 74 6c 65 5f 5f 69 6e 3d 75 73 65 72 2e 65 76 65 6e 74 5f 73 65 74 2e 61 6c 6c 28 29 29 3a title__in=user.event_set.all()):
7e00 00 09 63 61 6c 2e 61 64 64 28 27 55 52 4c 27 29 2e 76 61 6c 75 65 20 3d 20 27 68 74 74 70 3a 2f ..cal.add('URL').value.=.'http:/
7e20 2f 69 6e 66 6f 70 6f 69 6e 74 2f 61 67 65 6e 64 61 2f 75 73 65 72 2f 27 2b 6f 62 6a 65 63 74 5f /infopoint/agenda/user/'+object_
7e40 69 64 2b 27 2f 62 75 73 79 27 00 09 63 61 6c 2e 61 64 64 28 27 63 61 6c 73 63 61 6c 65 27 29 2e id+'/busy'..cal.add('calscale').
7e60 76 61 6c 75 65 20 3d 20 27 47 52 45 47 4f 52 49 41 4e 27 00 09 63 61 6c 2e 61 64 64 28 27 78 2d value.=.'GREGORIAN'..cal.add('x-
7e80 77 72 2d 63 61 6c 6e 61 6d 65 27 29 2e 76 61 6c 75 65 20 3d 20 27 69 6e 66 6f 70 6f 69 6e 74 20 wr-calname').value.=.'infopoint.
7ea0 66 72 65 65 2f 62 75 73 79 20 74 69 6d 65 20 66 6f 72 20 27 2b 75 73 65 72 2e 75 73 65 72 6e 61 free/busy.time.for.'+user.userna
7ec0 6d 65 00 09 75 73 65 72 20 3d 20 55 73 65 72 2e 6f 62 6a 65 63 74 73 2e 67 65 74 28 70 6b 3d 6f me..user.=.User.objects.get(pk=o
7ee0 62 6a 65 63 74 5f 69 64 29 00 09 63 61 6c 20 3d 20 76 6f 62 6a 65 63 74 2e 69 43 61 6c 65 6e 64 bject_id)..cal.=.vobject.iCalend
7f00 61 72 28 29 00 64 65 66 20 69 63 61 6c 5f 75 73 65 72 5f 62 75 73 79 74 69 6d 65 28 72 65 71 75 ar().def.ical_user_busytime(requ
7f20 65 73 74 2c 6f 62 6a 65 63 74 5f 69 64 29 3a 00 00 09 72 65 74 75 72 6e 20 72 65 73 70 6f 6e 73 est,object_id):...return.respons
7f40 65 00 09 72 65 73 70 6f 6e 73 65 5b 27 43 6f 6e 74 65 6e 74 2d 44 69 73 70 6f 73 69 74 69 6f 6e e..response['Content-Disposition
7f60 27 5d 20 3d 20 27 61 74 74 61 63 68 6d 65 6e 74 3b 20 66 69 6c 65 6e 61 6d 65 3d 66 69 6c 65 6e '].=.'attachment;.filename=filen
7f80 61 6d 65 2e 69 63 73 27 00 09 72 65 73 70 6f 6e 73 65 5b 27 46 69 6c 65 6e 61 6d 65 27 5d 20 3d ame.ics'..response['Filename'].=
7fa0 20 27 66 69 6c 65 6e 61 6d 65 2e 69 63 73 27 20 20 23 20 49 45 20 6e 65 65 64 73 20 74 68 69 73 .'filename.ics'..#.IE.needs.this
7fc0 00 09 72 65 73 70 6f 6e 73 65 20 3d 20 48 74 74 70 52 65 73 70 6f 6e 73 65 28 69 63 61 6c 73 74 ..response.=.HttpResponse(icalst
7fe0 72 65 61 6d 2c 20 6d 69 6d 65 74 79 70 65 3d 27 74 65 78 74 2f 63 61 6c 65 6e 64 61 72 27 29 00 ream,.mimetype='text/calendar').