viewpoint 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/TODO +2 -0
- data/VERSION +1 -1
- data/lib/model/generic_folder.rb +34 -1
- data/lib/model/item.rb +51 -3
- data/lib/model/message.rb +30 -7
- data/lib/soap/handsoap/builders/ews_build_helpers.rb +39 -14
- data/lib/soap/handsoap/ews_service.rb +66 -18
- data/lib/soap/handsoap/parsers/ews_parser.rb +38 -0
- data/lib/viewpoint.rb +18 -0
- data/test/spec/basic_functions.spec +18 -0
- data/test/spec/item_tests.spec +43 -0
- data/test/spec/spec.opts +7 -0
- metadata +5 -50
- data/examples/cal2ical.rb +0 -29
- data/examples/ews_fusefs.rb +0 -363
- data/examples/webclient/.gems +0 -2
- data/examples/webclient/README +0 -1
- data/examples/webclient/config.ru +0 -26
- data/examples/webclient/ews_access_handler.rb +0 -42
- data/examples/webclient/public/css/mail.css +0 -33
- data/examples/webclient/public/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/examples/webclient/public/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/examples/webclient/public/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/examples/webclient/public/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/examples/webclient/public/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/examples/webclient/public/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/examples/webclient/public/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/examples/webclient/public/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/examples/webclient/public/css/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/examples/webclient/public/css/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/examples/webclient/public/css/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/examples/webclient/public/css/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/examples/webclient/public/css/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/examples/webclient/public/css/smoothness/jquery-ui-1.7.2.custom.css +0 -406
- data/examples/webclient/public/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/examples/webclient/public/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/examples/webclient/public/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/examples/webclient/public/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/examples/webclient/public/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/examples/webclient/public/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/examples/webclient/public/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/examples/webclient/public/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/examples/webclient/public/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/examples/webclient/public/css/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/examples/webclient/public/css/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/examples/webclient/public/css/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/examples/webclient/public/css/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/examples/webclient/public/css/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/examples/webclient/public/css/ui-lightness/jquery-ui-1.7.2.custom.css +0 -406
- data/examples/webclient/public/js/jquery-1.3.2.min.js +0 -19
- data/examples/webclient/public/js/jquery-ui-1.7.2.custom.min.js +0 -145
- data/examples/webclient/viewpoint_web.rb +0 -295
- data/examples/webclient/views/_footer.haml +0 -1
- data/examples/webclient/views/_header.haml +0 -11
- data/examples/webclient/views/_tagline.haml +0 -1
- data/examples/webclient/views/index.haml +0 -20
- data/examples/webclient/views/layout.haml +0 -42
- data/examples/webclient/views/mail.haml +0 -45
- data/examples/webclient/views/welcome.haml +0 -0
- data/lib/model/task_list.rb +0 -19
|
@@ -1 +0,0 @@
|
|
|
1
|
-
%h3 The Outlook Webmail Alternative
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
-#############################################################################
|
|
2
|
-
-# Copyright © 2009 Dan Wanek <dan.wanek@gmail.com>
|
|
3
|
-
-#
|
|
4
|
-
-#
|
|
5
|
-
-# This file is part of Viewpoint.
|
|
6
|
-
-#
|
|
7
|
-
-# Viewpoint is free software: you can redistribute it and/or
|
|
8
|
-
-# modify it under the terms of the GNU General Public License as published
|
|
9
|
-
-# by the Free Software Foundation, either version 3 of the License, or (at
|
|
10
|
-
-# your option) any later version.
|
|
11
|
-
-#
|
|
12
|
-
-# Viewpoint is distributed in the hope that it will be useful,
|
|
13
|
-
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
-
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
15
|
-
-# Public License for more details.
|
|
16
|
-
-#
|
|
17
|
-
-# You should have received a copy of the GNU General Public License along
|
|
18
|
-
-# with Viewpoint. If not, see <http://www.gnu.org/licenses/>.
|
|
19
|
-
-#############################################################################
|
|
20
|
-
%h2 Viewpoint Web Client
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
-#############################################################################
|
|
2
|
-
-# Copyright © 2009 Dan Wanek <dwanek@nd.gov>
|
|
3
|
-
-#
|
|
4
|
-
-#
|
|
5
|
-
-# This file is part of CommentMonster.
|
|
6
|
-
-#
|
|
7
|
-
-# CommentMonster is free software: you can redistribute it and/or
|
|
8
|
-
-# modify it under the terms of the GNU General Public License as published
|
|
9
|
-
-# by the Free Software Foundation, either version 3 of the License, or (at
|
|
10
|
-
-# your option) any later version.
|
|
11
|
-
-#
|
|
12
|
-
-# CommentMonster is distributed in the hope that it will be useful,
|
|
13
|
-
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
-
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
15
|
-
-# Public License for more details.
|
|
16
|
-
-#
|
|
17
|
-
-# You should have received a copy of the GNU General Public License along
|
|
18
|
-
-# with CommentMonster. If not, see <http://www.gnu.org/licenses/>.
|
|
19
|
-
-#############################################################################
|
|
20
|
-
!!! XML
|
|
21
|
-
!!!
|
|
22
|
-
%html
|
|
23
|
-
%head
|
|
24
|
-
%link{:rel => "stylesheet", :href => "css/ui-lightness/jquery-ui-1.7.2.custom.css", :type => "text/css"}
|
|
25
|
-
%link{:rel => "stylesheet", :href => "css/mail.css", :type => "text/css"}
|
|
26
|
-
%script{:type => "text/javascript", :src => "js/jquery-1.3.2.min.js"}
|
|
27
|
-
%script{:type => "text/javascript", :src => "js/jquery-ui-1.7.2.custom.min.js"}
|
|
28
|
-
:javascript
|
|
29
|
-
$(function(){
|
|
30
|
-
$('#tabs').tabs();
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
%body
|
|
34
|
-
#page
|
|
35
|
-
#header
|
|
36
|
-
= partial :_header
|
|
37
|
-
#tagline
|
|
38
|
-
= partial :_tagline
|
|
39
|
-
#content
|
|
40
|
-
= yield
|
|
41
|
-
#footer
|
|
42
|
-
= partial :_footer
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
-#############################################################################
|
|
2
|
-
-# Copyright © 2009 Dan Wanek <dan.wanek@gmail.com>
|
|
3
|
-
-#
|
|
4
|
-
-#
|
|
5
|
-
-# This file is part of Viewpoint.
|
|
6
|
-
-#
|
|
7
|
-
-# Viewpoint is free software: you can redistribute it and/or
|
|
8
|
-
-# modify it under the terms of the GNU General Public License as published
|
|
9
|
-
-# by the Free Software Foundation, either version 3 of the License, or (at
|
|
10
|
-
-# your option) any later version.
|
|
11
|
-
-#
|
|
12
|
-
-# Viewpoint is distributed in the hope that it will be useful,
|
|
13
|
-
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
-
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
15
|
-
-# Public License for more details.
|
|
16
|
-
-#
|
|
17
|
-
-# You should have received a copy of the GNU General Public License along
|
|
18
|
-
-# with Viewpoint. If not, see <http://www.gnu.org/licenses/>.
|
|
19
|
-
-#############################################################################
|
|
20
|
-
%html
|
|
21
|
-
%head
|
|
22
|
-
%link{:rel => "stylesheet", :href => "css/ui-lightness/jquery-ui-1.7.2.custom.css", :type => "text/css"}
|
|
23
|
-
%link{:rel => "stylesheet", :href => "css/mail.css", :type => "text/css"}
|
|
24
|
-
%script{:type => "text/javascript", :src => "js/jquery-1.3.2.min.js"}
|
|
25
|
-
%script{:type => "text/javascript", :src => "js/jquery-ui-1.7.2.custom.min.js"}
|
|
26
|
-
:javascript
|
|
27
|
-
$(function(){
|
|
28
|
-
$(".msg_header:even").addClass("even_msg");
|
|
29
|
-
$(".msg_header:odd").addClass("odd_msg");
|
|
30
|
-
$(".msg_header").click(function(e) {
|
|
31
|
-
//var txt = $(this).children(".msg_id").attr('id');
|
|
32
|
-
var txt = $(this).children('input').attr('value');
|
|
33
|
-
$("#msg_body").load("/msg", { msg_id: txt } );
|
|
34
|
-
});
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
%body
|
|
38
|
-
%div#msg_body
|
|
39
|
-
- msgs.each do |msg|
|
|
40
|
-
%div.msg_header
|
|
41
|
-
%input{:type => 'hidden', :id => 'msg_id', :value => msg.item_id}
|
|
42
|
-
%div.sender= msg.sender
|
|
43
|
-
%div.subject= msg.subject
|
|
44
|
-
%div.date= msg.date_time_recieved.strftime('%b %y')
|
|
45
|
-
%div.msg_body
|
|
File without changes
|
data/lib/model/task_list.rb
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
#############################################################################
|
|
2
|
-
# Copyright © 2010 Dan Wanek <dan.wanek@gmail.com>
|
|
3
|
-
#
|
|
4
|
-
#
|
|
5
|
-
# This file is part of Viewpoint.
|
|
6
|
-
#
|
|
7
|
-
# Viewpoint is free software: you can redistribute it and/or
|
|
8
|
-
# modify it under the terms of the GNU General Public License as published
|
|
9
|
-
# by the Free Software Foundation, either version 3 of the License, or (at
|
|
10
|
-
# your option) any later version.
|
|
11
|
-
#
|
|
12
|
-
# Viewpoint is distributed in the hope that it will be useful,
|
|
13
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
15
|
-
# Public License for more details.
|
|
16
|
-
#
|
|
17
|
-
# You should have received a copy of the GNU General Public License along
|
|
18
|
-
# with Viewpoint. If not, see <http://www.gnu.org/licenses/>.
|
|
19
|
-
#############################################################################
|