smukherjee-openbill 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <actionScriptProperties mainApplicationPath="admin.mxml" version="3">
3
- <compiler additionalCompilerArguments="-locale en_US" copyDependentFiles="true" enableModuleDebug="true" flexSDK="Flex 3.2" generateAccessible="true" htmlExpressInstall="true" htmlGenerate="true" htmlHistoryManagement="true" htmlPlayerVersion="10.0.22" htmlPlayerVersionCheck="true" outputFolderPath="public" sourceFolderPath="src" strict="true" useApolloConfig="false" verifyDigests="true" warn="true">
3
+ <compiler additionalCompilerArguments="-locale en_US -optimize=true -incremental=true -use-network=true" copyDependentFiles="true" enableModuleDebug="true" flexSDK="Flex 3.2" generateAccessible="true" htmlExpressInstall="true" htmlGenerate="true" htmlHistoryManagement="true" htmlPlayerVersion="10.0.22" htmlPlayerVersionCheck="true" outputFolderPath="public" sourceFolderPath="src" strict="true" useApolloConfig="false" verifyDigests="true" warn="true">
4
4
  <compilerSourcePath/>
5
5
  <libraryPath defaultLinkType="3">
6
6
  <libraryPathEntry kind="4" path="">
data/INSTALL CHANGED
@@ -1,11 +1,15 @@
1
- == Download
1
+ == Installation
2
+
3
+ Run the following if you haven't already:
4
+
5
+ * gem sources -a http://gems.github.com
2
6
 
3
- Currently this library is available with git from:
7
+ You need have to installed the following latest gems rails, money, universal_ruby_whois
4
8
 
5
- * http://github.com/smukherjee/openbill
6
-
7
- == Installation
9
+ * sudo gem install rails
10
+ * sudo gem install collectiveidea-money
11
+ * sudo gem install mlightner-universal_ruby_whois
8
12
 
9
13
  You can clone the latest version from git
10
14
 
11
- * git clone git://github.com/smukherjee/openbill.git
15
+ * git clone git://github.com/smukherjee/openbill.git
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.5
1
+ 0.1.6
@@ -18,7 +18,7 @@ Learn more about Flex at http://flex.org
18
18
  <link rel="stylesheet" type="text/css" href="history/history.css" />
19
19
  <!-- END Browser History required section -->
20
20
 
21
- <title>openbill</title>
21
+ <title>${title}</title>
22
22
  <script src="AC_OETags.js" language="javascript"></script>
23
23
 
24
24
  <!-- BEGIN Browser History required section -->
@@ -68,7 +68,7 @@ if ( hasProductInstall && !hasRequestedVersion ) {
68
68
  "align", "middle",
69
69
  "id", "${application}",
70
70
  "quality", "high",
71
- "bgcolor", "#000000",
71
+ "bgcolor", "${bgcolor}",
72
72
  "name", "${application}",
73
73
  "allowScriptAccess","sameDomain",
74
74
  "type", "application/x-shockwave-flash",
@@ -84,7 +84,7 @@ if ( hasProductInstall && !hasRequestedVersion ) {
84
84
  "align", "middle",
85
85
  "id", "${application}",
86
86
  "quality", "high",
87
- "bgcolor", "#000000",
87
+ "bgcolor", "${bgcolor}",
88
88
  "name", "${application}",
89
89
  "allowScriptAccess","sameDomain",
90
90
  "type", "application/x-shockwave-flash",
@@ -104,7 +104,7 @@ if ( hasProductInstall && !hasRequestedVersion ) {
104
104
  codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
105
105
  <param name="movie" value="${swf}.swf" />
106
106
  <param name="quality" value="high" />
107
- <param name="bgcolor" value="#000000" />
107
+ <param name="bgcolor" value="${bgcolor}" />
108
108
  <param name="allowScriptAccess" value="sameDomain" />
109
109
  <embed src="${swf}.swf" quality="high" bgcolor="${bgcolor}"
110
110
  width="${width}" height="${height}" name="${application}" align="middle"
data/openbill.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{openbill}
5
- s.version = "0.1.5"
5
+ s.version = "0.1.6"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Siddhartha Mukherjee"]
@@ -122,6 +122,8 @@ Gem::Specification.new do |s|
122
122
  "pkg/openbill-0.0.0.gem",
123
123
  "pkg/openbill-0.1.3.gem",
124
124
  "pkg/openbill-0.1.4.gem",
125
+ "pkg/openbill-0.1.5.gem",
126
+ "pkg/openbill-0.1.6.gem",
125
127
  "public/404.html",
126
128
  "public/422.html",
127
129
  "public/500.html",
@@ -329,6 +331,7 @@ Gem::Specification.new do |s|
329
331
  "public/javascripts/jquery.scrollTo.js",
330
332
  "public/javascripts/prototype.js",
331
333
  "public/playerProductInstall.swf",
334
+ "public/privacy.html",
332
335
  "public/robots.txt",
333
336
  "public/stylesheets/base.css",
334
337
  "public/stylesheets/darkroom.css",
@@ -345,7 +348,7 @@ Gem::Specification.new do |s|
345
348
  "public/stylesheets/themes/openbill/style.css",
346
349
  "public/stylesheets/themes/orange/style.css",
347
350
  "public/stylesheets/themes/reidb-greenish/style.css",
348
- "rdoc/empty",
351
+ "public/terms.html",
349
352
  "rdoc/logo.max",
350
353
  "rdoc/logo.png",
351
354
  "script/about",
Binary file
Binary file
data/public/admin.html CHANGED
@@ -18,7 +18,7 @@ Learn more about Flex at http://flex.org
18
18
  <link rel="stylesheet" type="text/css" href="history/history.css" />
19
19
  <!-- END Browser History required section -->
20
20
 
21
- <title>openbill</title>
21
+ <title></title>
22
22
  <script src="AC_OETags.js" language="javascript"></script>
23
23
 
24
24
  <!-- BEGIN Browser History required section -->
@@ -68,7 +68,7 @@ if ( hasProductInstall && !hasRequestedVersion ) {
68
68
  "align", "middle",
69
69
  "id", "admin",
70
70
  "quality", "high",
71
- "bgcolor", "#000000",
71
+ "bgcolor", "#869ca7",
72
72
  "name", "admin",
73
73
  "allowScriptAccess","sameDomain",
74
74
  "type", "application/x-shockwave-flash",
@@ -84,7 +84,7 @@ if ( hasProductInstall && !hasRequestedVersion ) {
84
84
  "align", "middle",
85
85
  "id", "admin",
86
86
  "quality", "high",
87
- "bgcolor", "#000000",
87
+ "bgcolor", "#869ca7",
88
88
  "name", "admin",
89
89
  "allowScriptAccess","sameDomain",
90
90
  "type", "application/x-shockwave-flash",
@@ -104,7 +104,7 @@ if ( hasProductInstall && !hasRequestedVersion ) {
104
104
  codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
105
105
  <param name="movie" value="admin.swf" />
106
106
  <param name="quality" value="high" />
107
- <param name="bgcolor" value="#000000" />
107
+ <param name="bgcolor" value="#869ca7" />
108
108
  <param name="allowScriptAccess" value="sameDomain" />
109
109
  <embed src="admin.swf" quality="high" bgcolor="#869ca7"
110
110
  width="100%" height="100%" name="admin" align="middle"
data/public/admin.swf CHANGED
Binary file
@@ -0,0 +1 @@
1
+ openbill privacy page
@@ -897,8 +897,40 @@ TitleWindow
897
897
  MENU
898
898
  ------------------------------------------------------------------------
899
899
  */
900
-
901
900
  MenuBar
901
+ {
902
+
903
+ backgroundSkin: Embed(source="darkroom.swf", symbol="MenuBar_backgroundSkin");
904
+ itemUpSkin: Embed(source="darkroom.swf", symbol="MenuBar_itemUpSkin");
905
+ itemOverSkin: Embed(source="darkroom.swf", symbol="MenuBar_itemOverSkin");
906
+ itemDownSkin: Embed(source="darkroom.swf", symbol="MenuBar_itemDownSkin");
907
+ color: #aaaaaa;
908
+ backgroundColor:#ffffff;
909
+ textSelectedColor:#ffffff;
910
+ textRollOverColor:#ffffff;
911
+ rollOverColor:#ffffff;
912
+ menuStyleName: "dropDown";
913
+ }
914
+ .dropDown {
915
+ branchIcon: Embed(source="darkroom.swf",symbol="Menu_branchIcon");
916
+ branchDisabledIcon: Embed(source="darkroom.swf",symbol="Menu_branchDisabledIcon");
917
+ checkIcon: Embed(source="darkroom.swf",symbol="Menu_checkIcon");
918
+ checkDisabledIcon: Embed(source="darkroom.swf",symbol="Menu_checkDisabledIcon");
919
+ radioIcon: Embed(source="darkroom.swf",symbol="Menu_radioIcon");
920
+ radioDisabledIcon: Embed(source="darkroom.swf",symbol="Menu_radioDisabledIcon");
921
+ separatorSkin: Embed(source="darkroom.swf",symbol="Menu_separatorSkin");
922
+ backgroundColor: #ffffff;
923
+ backgroundAlpha: .9;
924
+ borderStyle: solid;
925
+ borderThickness: 1;
926
+ borderColor: #1e1e1e;
927
+ cornerRadius:0;
928
+ color: #bbbbbb;
929
+ textRollOverColor: #cccccc;
930
+ textSelectedColor:#dddddd;
931
+ rollOverColor: #333333;
932
+ }
933
+ /* MenuBar
902
934
  {
903
935
  background-skin: Embed("/assets/general/menu.png", scaleGridTop="4", scaleGridBottom="20", scaleGridLeft="5", scaleGridRight="13");
904
936
  background-size: "100%";
@@ -917,7 +949,7 @@ MenuBar
917
949
  font-size: 12;
918
950
  menu-style-name: "myMenu";
919
951
  }
920
-
952
+
921
953
  .myMenu
922
954
  {
923
955
  background-color: #000000;
@@ -934,7 +966,7 @@ MenuBar
934
966
  padding-top: 0;
935
967
  text-align: left;
936
968
  separator-skin: Embed("/assets/general/separator.png");
937
- }
969
+ } */
938
970
 
939
971
 
940
972
  /*
data/public/terms.html ADDED
@@ -0,0 +1 @@
1
+ openbill terms page
@@ -1,4 +1,20 @@
1
1
  <?xml version="1.0" encoding="utf-8"?>
2
- <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml">
2
+ <mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml">
3
+ <mx:VBox height="100%" width="250">
4
+ </mx:VBox>
5
+ <mx:VBox width="100%" height="100%">
6
+ <mx:VBox backgroundColor="#000000" dropShadowEnabled="true" dropShadowColor="#000000" paddingBottom="10" paddingLeft="10" paddingRight="10" paddingTop="10" shadowDirection="right" shadowDistance="5" borderStyle="solid">
7
+ <mx:BarChart id="barchart1" height="200" width="350" showAllDataTips="true" showDataTips="true" dataTipMode="multiple" selectionMode="multiple">
8
+ <mx:series>
9
+ <mx:BarSeries displayName="Pending order" xField=""/>
10
+ <mx:BarSeries displayName="Active order" xField=""/>
11
+ <mx:BarSeries displayName="Completed order" xField=""/>
12
+ <mx:BarSeries displayName="Suspended order" xField=""/>
13
+ </mx:series>
14
+ </mx:BarChart>
15
+ <mx:Legend dataProvider="{barchart1}" width="350" backgroundColor="#111111"/>
16
+ </mx:VBox>
3
17
 
4
- </mx:Canvas>
18
+ </mx:VBox>
19
+
20
+ </mx:HBox>
@@ -1,15 +1,87 @@
1
1
  <?xml version="1.0" encoding="utf-8"?>
2
- <mx:ControlBar xmlns:mx="http://www.adobe.com/2006/mxml" width="100%">
2
+ <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" verticalGap="0" creationComplete="initCollections()" paddingBottom="0" paddingLeft="0" paddingRight="0" paddingTop="0" backgroundColor="#333333" borderStyle="solid" borderColor="#333333" horizontalAlign="right">
3
3
  <mx:Script>
4
4
  <![CDATA[
5
+ import mx.events.MenuEvent;
6
+ import mx.collections.XMLListCollection;
5
7
  import org.rsos.openbill.model.OpenbillModelLocator;
6
8
  import org.rsos.openbill.event.LogoutEvent;
7
9
  import com.adobe.cairngorm.control.CairngormEventDispatcher;
8
10
  import mx.core.Application;
11
+ import mx.controls.Alert;
9
12
 
10
13
  [Bindable]
11
14
  private var model:OpenbillModelLocator = OpenbillModelLocator.getInstance();
12
-
15
+
16
+ [Bindable]
17
+ public var menuBarCollection:XMLListCollection;
18
+
19
+ private var menubarXML:XMLList =
20
+ <>
21
+ <menuitem label="Home" data="top">
22
+ <menuitem label="Admin home" data="1A"/>
23
+ <menuitem label="Settings" data="setting"/>
24
+ <menuitem label="Logout" data="logout"/>
25
+ </menuitem>
26
+ <menuitem label="Customer" data="top">
27
+ <menuitem label="List customers" data="2A"/>
28
+ <menuitem label="Add customer" data="2B"/>
29
+ <menuitem label="List custom fields" data="2C"/>
30
+ <menuitem label="Add custom field" data="2D"/>
31
+ </menuitem>
32
+ <menuitem label="Order" data="top">
33
+ <menuitem label="List orders" data="3A"/>
34
+ <menuitem label="Add order" data="3B"/>
35
+ </menuitem>
36
+ <menuitem label="Invoice" data="top">
37
+ <menuitem label="List invoices" data="4A"/>
38
+ <menuitem label="Add invoice" data="4B"/>
39
+ </menuitem>
40
+ <menuitem label="Product" data="top">
41
+ <menuitem label="List products" data="5A"/>
42
+ <menuitem label="Add product" data="5B"/>
43
+ <menuitem label="List billing cycles" data="5C"/>
44
+ <menuitem label="Add billing cycle" data="5D"/>
45
+ </menuitem>
46
+ <menuitem label="TLD" data="top">
47
+ <menuitem label="List tlds" data="6A"/>
48
+ <menuitem label="Add tld" data="6B"/>
49
+ </menuitem>
50
+ <menuitem label="Server" data="top">
51
+ <menuitem label="List servers" data="7A"/>
52
+ <menuitem label="Add server" data="7B"/>
53
+ <menuitem label="View server logs" data="7C"/>
54
+ </menuitem>
55
+ <menuitem label="Registrar" data="top">
56
+ <menuitem label="List registrars" data="8A"/>
57
+ <menuitem label="Add registrar" data="8B"/>
58
+ <menuitem label="View registration logs" data="8C"/>
59
+ </menuitem>
60
+ <menuitem label="Payment" data="top">
61
+ <menuitem label="List payment methods" data="9A"/>
62
+ <menuitem label="Add payment method" data="9B"/>
63
+ <menuitem label="View transcations" data="9C"/>
64
+ </menuitem>
65
+ <menuitem label="Template" data="top">
66
+ <menuitem label="List templates" data="10A"/>
67
+ <menuitem label="Add template" data="10B"/>
68
+ </menuitem>
69
+ <menuitem label="Help" data="top">
70
+ <menuitem label="About" data="11A"/>
71
+ </menuitem>
72
+ </>;
73
+
74
+ private function initCollections():void {
75
+ menuBarCollection = new XMLListCollection(menubarXML);
76
+ }
77
+
78
+ private function menuHandler(event:MenuEvent):void {
79
+ if (event.item.@data != "top") {
80
+ if (event.item.@data.toString()=="setting") opensetting();
81
+ if (event.item.@data.toString()=="logout") logout();
82
+ }
83
+ }
84
+
13
85
  private function logout():void
14
86
  {
15
87
  CairngormEventDispatcher.getInstance().dispatchEvent(new LogoutEvent());
@@ -23,9 +95,12 @@
23
95
  ]]>
24
96
  </mx:Script>
25
97
  <mx:DropShadowFilter id="dropShadow" distance="1" angle="45" blurX="0" blurY="0" alpha="1" color="0x111111" />
26
- <mx:Image source="images/logo.png" filters="{[dropShadow]}" />
27
- <mx:Label filters="{[dropShadow]}" text="{model.userVO.setting.setting_name}" fontSize="20" fontWeight="bold" color="#EEEEEE"/>
28
- <mx:Spacer width="100%"/>
29
- <mx:LinkButton click="opensetting()" filters="{[dropShadow]}" label="Settings" toolTip="Settings"/>
30
- <mx:LinkButton click="logout()" filters="{[dropShadow]}" label="Logout" toolTip="Logout"/>
31
- </mx:ControlBar>
98
+ <mx:HBox width="100%" verticalAlign="middle">
99
+ <mx:Image source="images/logo.png" filters="{[dropShadow]}" />
100
+ <mx:Label filters="{[dropShadow]}" text="{model.userVO.setting.setting_name}" fontSize="20" fontWeight="bold" color="#EEEEEE"/>
101
+ <mx:Spacer width="100%"/>
102
+ <mx:LinkButton click="opensetting()" filters="{[dropShadow]}" label="Settings" toolTip="Settings" color="#AAAAAA"/>
103
+ <mx:LinkButton click="logout()" filters="{[dropShadow]}" label="Logout" toolTip="Logout" color="#AAAAAA"/>
104
+ </mx:HBox>
105
+ <mx:MenuBar width="100%" labelField="@label" filters="{[dropShadow]}" itemClick="menuHandler(event);" dataProvider="{menuBarCollection}" />
106
+ </mx:VBox>
@@ -897,8 +897,40 @@ TitleWindow
897
897
  MENU
898
898
  ------------------------------------------------------------------------
899
899
  */
900
-
901
900
  MenuBar
901
+ {
902
+
903
+ backgroundSkin: Embed(source="darkroom.swf", symbol="MenuBar_backgroundSkin");
904
+ itemUpSkin: Embed(source="darkroom.swf", symbol="MenuBar_itemUpSkin");
905
+ itemOverSkin: Embed(source="darkroom.swf", symbol="MenuBar_itemOverSkin");
906
+ itemDownSkin: Embed(source="darkroom.swf", symbol="MenuBar_itemDownSkin");
907
+ color: #aaaaaa;
908
+ backgroundColor:#ffffff;
909
+ textSelectedColor:#ffffff;
910
+ textRollOverColor:#ffffff;
911
+ rollOverColor:#ffffff;
912
+ menuStyleName: "dropDown";
913
+ }
914
+ .dropDown {
915
+ branchIcon: Embed(source="darkroom.swf",symbol="Menu_branchIcon");
916
+ branchDisabledIcon: Embed(source="darkroom.swf",symbol="Menu_branchDisabledIcon");
917
+ checkIcon: Embed(source="darkroom.swf",symbol="Menu_checkIcon");
918
+ checkDisabledIcon: Embed(source="darkroom.swf",symbol="Menu_checkDisabledIcon");
919
+ radioIcon: Embed(source="darkroom.swf",symbol="Menu_radioIcon");
920
+ radioDisabledIcon: Embed(source="darkroom.swf",symbol="Menu_radioDisabledIcon");
921
+ separatorSkin: Embed(source="darkroom.swf",symbol="Menu_separatorSkin");
922
+ backgroundColor: #ffffff;
923
+ backgroundAlpha: .9;
924
+ borderStyle: solid;
925
+ borderThickness: 1;
926
+ borderColor: #1e1e1e;
927
+ cornerRadius:0;
928
+ color: #bbbbbb;
929
+ textRollOverColor: #cccccc;
930
+ textSelectedColor:#dddddd;
931
+ rollOverColor: #333333;
932
+ }
933
+ /* MenuBar
902
934
  {
903
935
  background-skin: Embed("/assets/general/menu.png", scaleGridTop="4", scaleGridBottom="20", scaleGridLeft="5", scaleGridRight="13");
904
936
  background-size: "100%";
@@ -917,7 +949,7 @@ MenuBar
917
949
  font-size: 12;
918
950
  menu-style-name: "myMenu";
919
951
  }
920
-
952
+
921
953
  .myMenu
922
954
  {
923
955
  background-color: #000000;
@@ -934,7 +966,7 @@ MenuBar
934
966
  padding-top: 0;
935
967
  text-align: left;
936
968
  separator-skin: Embed("/assets/general/separator.png");
937
- }
969
+ } */
938
970
 
939
971
 
940
972
  /*
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smukherjee-openbill
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Siddhartha Mukherjee
@@ -131,6 +131,8 @@ files:
131
131
  - pkg/openbill-0.0.0.gem
132
132
  - pkg/openbill-0.1.3.gem
133
133
  - pkg/openbill-0.1.4.gem
134
+ - pkg/openbill-0.1.5.gem
135
+ - pkg/openbill-0.1.6.gem
134
136
  - public/404.html
135
137
  - public/422.html
136
138
  - public/500.html
@@ -338,6 +340,7 @@ files:
338
340
  - public/javascripts/jquery.scrollTo.js
339
341
  - public/javascripts/prototype.js
340
342
  - public/playerProductInstall.swf
343
+ - public/privacy.html
341
344
  - public/robots.txt
342
345
  - public/stylesheets/base.css
343
346
  - public/stylesheets/darkroom.css
@@ -354,7 +357,7 @@ files:
354
357
  - public/stylesheets/themes/openbill/style.css
355
358
  - public/stylesheets/themes/orange/style.css
356
359
  - public/stylesheets/themes/reidb-greenish/style.css
357
- - rdoc/empty
360
+ - public/terms.html
358
361
  - rdoc/logo.max
359
362
  - rdoc/logo.png
360
363
  - script/about
data/rdoc/empty DELETED
File without changes