six-updater-web 0.11.2 → 0.12.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/Rakefile CHANGED
@@ -7,7 +7,7 @@ require 'rake/testtask'
7
7
 
8
8
  spec = Gem::Specification.new do |s|
9
9
  s.name = 'six-updater-web'
10
- s.version = '0.11.2'
10
+ s.version = '0.12.1'
11
11
  s.has_rdoc = false
12
12
  #s.extra_rdoc_files = ['README', 'LICENSE']
13
13
  s.summary = 'Your summary here'
@@ -9,7 +9,7 @@ class ModsController < ApplicationController
9
9
  :path,
10
10
  :priority,
11
11
  :sixconfigs,
12
- :servers,
12
+ :networks,
13
13
  :queryservers,
14
14
  # :created_at,
15
15
  :updated_at,
@@ -36,7 +36,7 @@ class ModsController < ApplicationController
36
36
  # config.columns[:changelog_link].label = "Changelog"
37
37
  config.columns[:queryservers].label = "Gamespy servers"
38
38
 
39
- [:servers, :queryservers, :sixconfigs].each do |c|
39
+ [:networks, :servers, :queryservers, :sixconfigs].each do |c|
40
40
  config.columns[c].form_ui = :record_select
41
41
  end
42
42
 
@@ -0,0 +1,24 @@
1
+ class NetworksController < ApplicationController
2
+ record_select :per_page => 10, :search_on => "name", :order_by => "name ASC", :full_text_search => true
3
+
4
+ active_scaffold :networks do |config|
5
+ config = self # Ruby19 compatibility
6
+ config.list.sorting = { :name => :asc }
7
+ config.columns = [
8
+ :name,
9
+ :homepage,
10
+ :repositories,
11
+ :mods,
12
+ :priority,
13
+ :disabled,
14
+ :created_at
15
+ ]
16
+ [:disabled, :priority].each do |column| # , :favorite
17
+ config.columns[column].inplace_edit = true
18
+ end
19
+ config.columns[:homepage].label = "NFO"
20
+ [:mods, :repositories].each do |c|
21
+ config.columns[c].form_ui = :record_select
22
+ end
23
+ end
24
+ end
@@ -1,15 +1,17 @@
1
1
  class RepositoriesController < ApplicationController
2
+ record_select :per_page => 10, :search_on => "url", :order_by => "url ASC", :full_text_search => true
2
3
  active_scaffold :repositories do |config|
3
4
  config = self # Ruby19 compatibility
4
5
  config.columns = [
5
6
  :url,
7
+ :network,
6
8
  :updated_at,
7
- :disabled,
8
- :favorite
9
+ :priority,
10
+ :disabled
9
11
  ]
10
12
  config.action_links.add 'copy', :label => 'Clone', :type => :record, :position => false, :confirm => "Do you really want to *clone* this item?"
11
13
  config.list.sorting = { :url => :asc }
12
- [:disabled, :favorite].each do |column|
14
+ [:priority, :disabled].each do |column|
13
15
  config.columns[column].inplace_edit = true
14
16
  end
15
17
  end
@@ -0,0 +1,5 @@
1
+ module NetworksHelper
2
+ def homepage_column(record, b = nil)
3
+ link_to "nfo", "#{record.homepage}", :target => "_blank"
4
+ end
5
+ end
@@ -2,6 +2,7 @@ class Mod < ActiveRecord::Base
2
2
  has_and_belongs_to_many :sixconfigs
3
3
  has_and_belongs_to_many :servers
4
4
  has_and_belongs_to_many :queryservers
5
+ has_and_belongs_to_many :networks
5
6
 
6
7
  six_guid
7
8
 
@@ -54,6 +55,16 @@ class Mod < ActiveRecord::Base
54
55
  end
55
56
  end
56
57
 
58
+ def all_repositories
59
+ if self.networks.empty?
60
+ Repository.find(:all)
61
+ else
62
+ repos = []
63
+ self.networks.each { |net| repos += net.repositories unless net.disabled }
64
+ repos
65
+ end
66
+ end
67
+
57
68
  def update_skip
58
69
  self.skip = if self.new_record?; true ; else; ((self.version == self.version_local) && !self.version.nil?); end
59
70
  end
@@ -71,10 +82,8 @@ class Mod < ActiveRecord::Base
71
82
  name = self.name.downcase
72
83
  name.gsub!("@", '')
73
84
  unless self.new_record?
74
- Repository.find(:all).each do |rep|
75
- unless rep.disabled
76
- hash[:repository] << "#{rep.to_updater_yml}/rel/#{name}/."
77
- end
85
+ self.all_repositories.each do |rep|
86
+ hash[:repository] << "#{rep.to_updater_yml}/rel/#{name}/." unless rep.disabled
78
87
  end
79
88
  end
80
89
  hash
@@ -0,0 +1,9 @@
1
+ class Network < ActiveRecord::Base
2
+ six_guid
3
+ has_and_belongs_to_many :mods
4
+ has_many :repositories
5
+
6
+ def to_label
7
+ "#{self.name}"
8
+ end
9
+ end
@@ -1,4 +1,5 @@
1
1
  class Repository < ActiveRecord::Base
2
+ belongs_to :network
2
3
  six_guid
3
4
 
4
5
  def to_label
@@ -46,7 +46,7 @@ class SystemSetting < ActiveRecord::Base
46
46
  status = Timeout::timeout(TIMEOUT) do
47
47
  Six::Network::Panel.login(self.server_username, self.server_password, true)
48
48
  end
49
- [Mod, Server, Repository, Action, Appsetting, Sixconfig].each do |t|
49
+ [Network, Mod, Server, Repository, Action, Appsetting, Sixconfig].each do |t|
50
50
  l += t.imp
51
51
  end
52
52
  rescue Timeout::Error
@@ -10,7 +10,7 @@ end
10
10
  require 'open3'
11
11
 
12
12
  module SixUpdaterWeb
13
- VERSION = "0.11.2"
13
+ VERSION = "0.12.1"
14
14
 
15
15
  COMPONENT = "six-updater-web"
16
16
  SIX_PORT = 3000 unless defined?(SIX_PORT)
@@ -83,8 +83,7 @@ module SixUpdaterWeb
83
83
  HOME_PATH = ENV['HOME']
84
84
  TEMP_PATH = '/tmp'
85
85
  end
86
- DATA_PATH = File.join(HOME_PATH, "six-updater") # Alt path... , COMPONENT)
87
- TOOLDATA_PATH = File.join(RAILS_ROOT, "config")
86
+ DATA_PATH = File.join(File.exists?(File.join(BASE_PATH, "legacy.txt")) ? BASE_PATH : HOME_PATH, "six-updater") # COMPONENT)
88
87
 
89
88
  rpath = nil
90
89
  begin
@@ -0,0 +1,24 @@
1
+ class CreateNetworks < ActiveRecord::Migration
2
+ include Six::Dbmanager::Migrate
3
+
4
+ def self.up
5
+ create_table :networks, :id => false do |t|
6
+ t.string :id, :limit => 36, :null => false, :primary => true
7
+
8
+ t.string :name
9
+ t.string :homepage
10
+ t.boolean :disabled
11
+ t.integer :priority
12
+
13
+ t.timestamps :deleted_at => false, :lock_version => false
14
+ end
15
+ six_join(["mod", "network"], :up, true)
16
+ add_column :repositories, :network_id, :string, :limit => 36
17
+ end
18
+
19
+ def self.down
20
+ drop_table :networks
21
+ six_join(["mod", "network"], :down)
22
+ remove_column :repositories, :network_id
23
+ end
24
+ end
@@ -0,0 +1,11 @@
1
+ class ChangeRepositoriesColumn < ActiveRecord::Migration
2
+ def self.up
3
+ remove_column :repositories, :favorite
4
+ add_column :repositories, :priority, :integer
5
+ end
6
+
7
+ def self.down
8
+ remove_column :repositories, :priority
9
+ add_column :repositories, :favorite, :boolean
10
+ end
11
+ end
@@ -9,7 +9,7 @@
9
9
  #
10
10
  # It's strongly recommended to check this file into your version control system.
11
11
 
12
- ActiveRecord::Schema.define(:version => 20100409114653) do
12
+ ActiveRecord::Schema.define(:version => 20100425143140) do
13
13
 
14
14
  create_table "actions", :id => false, :force => true do |t|
15
15
  t.string "id", :limit => 36, :null => false
@@ -171,6 +171,14 @@ ActiveRecord::Schema.define(:version => 20100409114653) do
171
171
  t.integer "priority"
172
172
  end
173
173
 
174
+ create_table "mods_networks", :id => false, :force => true do |t|
175
+ t.string "mod_id", :limit => 36
176
+ t.string "network_id", :limit => 36
177
+ end
178
+
179
+ add_index "mods_networks", ["mod_id"], :name => "index_mods_networks_on_mod_id"
180
+ add_index "mods_networks", ["network_id"], :name => "index_mods_networks_on_network_id"
181
+
174
182
  create_table "mods_queryservers", :id => false, :force => true do |t|
175
183
  t.string "mod_id", :limit => 36
176
184
  t.integer "queryserver_id"
@@ -195,6 +203,17 @@ ActiveRecord::Schema.define(:version => 20100409114653) do
195
203
  add_index "mods_sixconfigs", ["mod_id"], :name => "index_mods_sixconfigs_on_mod_id"
196
204
  add_index "mods_sixconfigs", ["sixconfig_id"], :name => "index_mods_sixconfigs_on_sixconfig_id"
197
205
 
206
+ create_table "networks", :id => false, :force => true do |t|
207
+ t.string "id", :limit => 36, :null => false
208
+ t.string "name"
209
+ t.string "homepage"
210
+ t.boolean "disabled"
211
+ t.integer "priority"
212
+ t.datetime "created_at"
213
+ t.datetime "deleted_at"
214
+ t.datetime "updated_at"
215
+ end
216
+
198
217
  create_table "plugin_schema_migrations", :id => false, :force => true do |t|
199
218
  t.string "plugin_name", :null => false
200
219
  t.string "version", :null => false
@@ -236,7 +255,8 @@ ActiveRecord::Schema.define(:version => 20100409114653) do
236
255
  t.datetime "created_at"
237
256
  t.datetime "updated_at"
238
257
  t.boolean "disabled"
239
- t.boolean "favorite"
258
+ t.string "network_id", :limit => 36
259
+ t.integer "priority"
240
260
  end
241
261
 
242
262
  create_table "servers", :id => false, :force => true do |t|
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class NetworksControllerTest < ActionController::TestCase
4
+ # Replace this with your real tests.
5
+ test "the truth" do
6
+ assert true
7
+ end
8
+ end
@@ -0,0 +1,4 @@
1
+ require 'test_helper'
2
+
3
+ class NetworksHelperTest < ActionView::TestCase
4
+ end
@@ -0,0 +1,8 @@
1
+ require 'test_helper'
2
+
3
+ class NetworkTest < ActiveSupport::TestCase
4
+ # Replace this with your real tests.
5
+ test "the truth" do
6
+ assert true
7
+ end
8
+ end
@@ -175,7 +175,7 @@ goldberg_controller_actions_029:
175
175
  url_to_use: ""
176
176
  goldberg_controller_actions_030:
177
177
  id: "33"
178
- site_controller_id: "19"
178
+ site_controller_id: "23"
179
179
  name: index
180
180
  permission_id:
181
181
  url_to_use: ""
@@ -209,3 +209,15 @@ goldberg_controller_actions_035:
209
209
  name: reset
210
210
  permission_id:
211
211
  url_to_use: ""
212
+ goldberg_controller_actions_036:
213
+ id: "39"
214
+ site_controller_id: "25"
215
+ name: index
216
+ permission_id:
217
+ url_to_use: ""
218
+ goldberg_controller_actions_037:
219
+ id: "40"
220
+ site_controller_id: "24"
221
+ name: index
222
+ permission_id:
223
+ url_to_use: ""
@@ -1,169 +1,177 @@
1
1
  ---
2
- goldberg_menu_items_018:
3
- name: Logs
4
- label: "\"In Browser\" Logs"
5
- controller_action_id: "36"
6
- id: "25"
7
- parent_id: "28"
8
- content_page_id:
2
+ goldberg_menu_items_001:
3
+ id: "1"
4
+ parent_id:
5
+ name: main
6
+ label: Main
9
7
  seq: "1"
8
+ controller_action_id: "30"
9
+ content_page_id:
10
+ goldberg_menu_items_002:
11
+ id: "3"
12
+ parent_id:
13
+ name: admin
14
+ label: Administration
15
+ seq: "6"
16
+ controller_action_id:
17
+ content_page_id: "9"
18
+ goldberg_menu_items_003:
19
+ id: "5"
20
+ parent_id: "9"
21
+ name: setup/permissions
22
+ label: Permissions
23
+ seq: "3"
24
+ controller_action_id: "4"
25
+ content_page_id:
26
+ goldberg_menu_items_004:
27
+ id: "6"
28
+ parent_id: "9"
29
+ name: setup/roles
30
+ label: Roles
31
+ seq: "2"
32
+ controller_action_id: "3"
33
+ content_page_id:
34
+ goldberg_menu_items_005:
35
+ id: "7"
36
+ parent_id: "9"
37
+ name: setup/pages
38
+ label: Content Pages
39
+ seq: "5"
40
+ controller_action_id: "8"
41
+ content_page_id:
42
+ goldberg_menu_items_006:
43
+ id: "8"
44
+ parent_id: "9"
45
+ name: setup/controllers
46
+ label: Controllers / Actions
47
+ seq: "4"
48
+ controller_action_id: "9"
49
+ content_page_id:
10
50
  goldberg_menu_items_007:
51
+ id: "9"
52
+ parent_id: "3"
11
53
  name: setup
12
54
  label: Setup
55
+ seq: "1"
13
56
  controller_action_id:
14
- id: "9"
15
- parent_id: "3"
16
57
  content_page_id: "8"
17
- seq: "1"
18
- goldberg_menu_items_020:
19
- name: logs
20
- label: Logs
21
- controller_action_id: "35"
22
- id: "28"
23
- parent_id:
24
- content_page_id:
25
- seq: "4"
26
- goldberg_menu_items_019:
27
- name: Output
28
- label: "\"In Browser\" Output"
29
- controller_action_id: "37"
30
- id: "27"
31
- parent_id: "28"
32
- content_page_id:
33
- seq: "2"
34
58
  goldberg_menu_items_008:
35
- name: setup/menus
36
- label: Menu Editor
37
- controller_action_id: "11"
38
59
  id: "11"
39
60
  parent_id: "9"
40
- content_page_id:
61
+ name: setup/menus
62
+ label: Menu Editor
41
63
  seq: "6"
42
- goldberg_menu_items_021:
43
- name: help
44
- label: Help
45
- controller_action_id:
46
- id: "30"
47
- parent_id:
48
- content_page_id: "12"
49
- seq: "5"
50
- goldberg_menu_items_010:
51
- name: setup/users
52
- label: Users
53
- controller_action_id: "15"
54
- id: "13"
55
- parent_id: "9"
64
+ controller_action_id: "11"
56
65
  content_page_id:
57
- seq: "1"
58
66
  goldberg_menu_items_009:
67
+ id: "12"
68
+ parent_id: "9"
59
69
  name: setup/system_settings
60
70
  label: System Settings
71
+ seq: "7"
61
72
  controller_action_id: "12"
62
- id: "12"
73
+ content_page_id:
74
+ goldberg_menu_items_010:
75
+ id: "13"
63
76
  parent_id: "9"
77
+ name: setup/users
78
+ label: Users
79
+ seq: "1"
80
+ controller_action_id: "15"
64
81
  content_page_id:
65
- seq: "7"
66
82
  goldberg_menu_items_011:
83
+ id: "15"
84
+ parent_id:
67
85
  name: Configuration
68
86
  label: Configuration
87
+ seq: "3"
69
88
  controller_action_id: "38"
70
- id: "15"
71
- parent_id:
72
89
  content_page_id:
73
- seq: "3"
74
90
  goldberg_menu_items_012:
75
- name: Presets
76
- label: Presets
77
- controller_action_id: "24"
78
91
  id: "16"
79
92
  parent_id: "15"
80
- content_page_id:
93
+ name: Presets
94
+ label: Presets
81
95
  seq: "1"
82
- goldberg_menu_items_001:
83
- name: main
84
- label: Main
85
- controller_action_id: "30"
86
- id: "1"
87
- parent_id:
96
+ controller_action_id: "24"
88
97
  content_page_id:
89
- seq: "1"
90
98
  goldberg_menu_items_013:
99
+ id: "19"
100
+ parent_id: "15"
91
101
  name: Mods
92
102
  label: Mods
103
+ seq: "3"
93
104
  controller_action_id: "31"
94
- id: "19"
95
- parent_id: "15"
96
105
  content_page_id:
97
- seq: "3"
98
- goldberg_menu_items_002:
99
- name: admin
100
- label: Administration
101
- controller_action_id:
102
- id: "3"
103
- parent_id:
104
- content_page_id: "9"
105
- seq: "6"
106
106
  goldberg_menu_items_014:
107
- name: Mirrors
108
- label: Mirrors
109
- controller_action_id: "32"
110
107
  id: "20"
111
108
  parent_id: "15"
112
- content_page_id:
109
+ name: Mirrors
110
+ label: Mirrors
113
111
  seq: "6"
114
- goldberg_menu_items_003:
115
- name: setup/permissions
116
- label: Permissions
117
- controller_action_id: "4"
118
- id: "5"
119
- parent_id: "9"
112
+ controller_action_id: "32"
120
113
  content_page_id:
121
- seq: "3"
122
114
  goldberg_menu_items_015:
123
- name: Actions
124
- label: Actions
125
- controller_action_id: "28"
126
115
  id: "21"
127
116
  parent_id: "15"
128
- content_page_id:
117
+ name: Actions
118
+ label: Actions
129
119
  seq: "5"
130
- goldberg_menu_items_004:
131
- name: setup/roles
132
- label: Roles
133
- controller_action_id: "3"
134
- id: "6"
135
- parent_id: "9"
120
+ controller_action_id: "28"
136
121
  content_page_id:
137
- seq: "2"
138
122
  goldberg_menu_items_016:
139
- name: Servers
140
- label: Servers
141
- controller_action_id: "33"
142
123
  id: "22"
143
124
  parent_id: "15"
144
- content_page_id:
125
+ name: Servers
126
+ label: Servers
145
127
  seq: "4"
146
- goldberg_menu_items_005:
147
- name: setup/pages
148
- label: Content Pages
149
- controller_action_id: "8"
150
- id: "7"
151
- parent_id: "9"
128
+ controller_action_id: "33"
152
129
  content_page_id:
153
- seq: "5"
154
130
  goldberg_menu_items_017:
131
+ id: "24"
132
+ parent_id: "15"
155
133
  name: Settings
156
134
  label: Settings
135
+ seq: "2"
157
136
  controller_action_id: "29"
158
- id: "24"
159
- parent_id: "15"
160
137
  content_page_id:
138
+ goldberg_menu_items_018:
139
+ id: "25"
140
+ parent_id: "28"
141
+ name: Logs
142
+ label: "\"In Browser\" Logs"
143
+ seq: "1"
144
+ controller_action_id: "36"
145
+ content_page_id:
146
+ goldberg_menu_items_019:
147
+ id: "27"
148
+ parent_id: "28"
149
+ name: Output
150
+ label: "\"In Browser\" Output"
161
151
  seq: "2"
162
- goldberg_menu_items_006:
163
- name: setup/controllers
164
- label: Controllers / Actions
165
- controller_action_id: "9"
166
- id: "8"
167
- parent_id: "9"
152
+ controller_action_id: "37"
168
153
  content_page_id:
154
+ goldberg_menu_items_020:
155
+ id: "28"
156
+ parent_id:
157
+ name: logs
158
+ label: Logs
169
159
  seq: "4"
160
+ controller_action_id: "35"
161
+ content_page_id:
162
+ goldberg_menu_items_021:
163
+ id: "30"
164
+ parent_id:
165
+ name: help
166
+ label: Help
167
+ seq: "5"
168
+ controller_action_id:
169
+ content_page_id: "12"
170
+ goldberg_menu_items_022:
171
+ id: "31"
172
+ parent_id: "15"
173
+ name: Networks
174
+ label: Networks
175
+ seq: "7"
176
+ controller_action_id: "40"
177
+ content_page_id:
@@ -104,3 +104,13 @@ goldberg_site_controllers_021:
104
104
  name: queryservers
105
105
  permission_id: "1"
106
106
  builtin: "0"
107
+ goldberg_site_controllers_022:
108
+ id: "24"
109
+ name: networks
110
+ permission_id: "1"
111
+ builtin: "0"
112
+ goldberg_site_controllers_023:
113
+ id: "25"
114
+ name: system_settings
115
+ permission_id: "1"
116
+ builtin: "0"
@@ -16,15 +16,20 @@ module Six
16
16
  end
17
17
 
18
18
  module ClassMethods
19
- def six_join(ar, dir = :up)
19
+ def six_join(ar, dir = :up, uid = false)
20
20
  table = "#{ar[0].pluralize}_#{ar[1].pluralize}"
21
21
  case dir
22
22
  when :down
23
23
  drop_table table
24
24
  when :up
25
25
  create_table table, :id => false do |t|
26
- t.column "#{ar[0]}_id", :integer
27
- t.column "#{ar[1]}_id", :integer
26
+ if uid
27
+ t.column "#{ar[0]}_id", :string, :limit => 36
28
+ t.column "#{ar[1]}_id", :string, :limit => 36
29
+ else
30
+ t.column "#{ar[0]}_id", :integer
31
+ t.column "#{ar[1]}_id", :integer
32
+ end
28
33
  end
29
34
  add_index table, "#{ar[0]}_id"
30
35
  add_index table, "#{ar[1]}_id"
@@ -5,6 +5,7 @@ module Six
5
5
  :mod, :signatures, :verifysignatures, :gamestate, :dedicated, :platform, :sv_battleeye, :language, :difficulty]
6
6
 
7
7
  LINUX, WIN = "\\\\", "\\" # TODO: Autodetect?
8
+ GEOIP_PATH = File.join(RAILS_ROOT, "config")
8
9
 
9
10
  def initialize(geo = nil)
10
11
  @list = Hash.new
@@ -17,12 +18,12 @@ module Six
17
18
 
18
19
  def read
19
20
  geo = @geo ? @geo : "-Q 8 "
20
- unless File.exists?(File.join(SixUpdaterWeb::TOOLDATA_PATH, "GeoIP.dat"))
21
+ unless File.exists?(File.join(GEOIP_PATH, "GeoIP.dat"))
21
22
  puts
22
- puts "Warning: GeoIP.dat database missing. Can't parse countries. #{SixUpdaterWeb::TOOLDATA_PATH}"
23
+ puts "Warning: GeoIP.dat database missing. Can't parse countries. #{GEOIP_PATH}"
23
24
  geo = nil
24
25
  end
25
- reply = %x[gslist -p "#{SixUpdaterWeb::TOOLDATA_PATH.gsub("/", "\\")}" -n arma2pc #{geo}-X #{PARAMS.clone.map{|e| "#{WIN}#{e}"}.join("")}]
26
+ reply = %x[gslist -p "#{GEOIP_PATH.gsub("/", "\\")}" -n arma2pc #{geo}-X #{PARAMS.clone.map{|e| "#{WIN}#{e}"}.join("")}]
26
27
  reply.gsub!("\\\\\\", "") if geo
27
28
  reply.split("\n")
28
29
  end
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 11
8
- - 2
9
- version: 0.11.2
7
+ - 12
8
+ - 1
9
+ version: 0.12.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sickboy
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-23 00:00:00 +02:00
17
+ date: 2010-04-25 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -108,6 +108,7 @@ files:
108
108
  - lib/app/controllers/logviews_controller.rb
109
109
  - lib/app/controllers/main_controller.rb
110
110
  - lib/app/controllers/mods_controller.rb
111
+ - lib/app/controllers/networks_controller.rb
111
112
  - lib/app/controllers/queryservers_controller.rb
112
113
  - lib/app/controllers/repositories_controller.rb
113
114
  - lib/app/controllers/servers_controller.rb
@@ -121,6 +122,7 @@ files:
121
122
  - lib/app/helpers/logviews_helper.rb
122
123
  - lib/app/helpers/main_helper.rb
123
124
  - lib/app/helpers/mods_helper.rb
125
+ - lib/app/helpers/networks_helper.rb
124
126
  - lib/app/helpers/queryservers_helper.rb
125
127
  - lib/app/helpers/repositories_helper.rb
126
128
  - lib/app/helpers/servers_helper.rb
@@ -132,6 +134,7 @@ files:
132
134
  - lib/app/models/logsession.rb
133
135
  - lib/app/models/log_observer.rb
134
136
  - lib/app/models/mod.rb
137
+ - lib/app/models/network.rb
135
138
  - lib/app/models/queryserver.rb
136
139
  - lib/app/models/repository.rb
137
140
  - lib/app/models/server.rb
@@ -198,6 +201,8 @@ files:
198
201
  - lib/db/migrate/20100405142959_change_mods_queryservers_id.rb
199
202
  - lib/db/migrate/20100405142960_add_gamespied_at_to_system_settings.rb
200
203
  - lib/db/migrate/20100409114653_add_priority_and_path_to_mods.rb
204
+ - lib/db/migrate/20100425121901_create_networks.rb
205
+ - lib/db/migrate/20100425143140_change_repositories_column.rb
201
206
  - lib/db/schema.rb
202
207
  - lib/doc/README_FOR_APP
203
208
  - lib/init.rb
@@ -288,6 +293,7 @@ files:
288
293
  - lib/test/functional/logviews_controller_test.rb
289
294
  - lib/test/functional/main_controller_test.rb
290
295
  - lib/test/functional/mods_controller_test.rb
296
+ - lib/test/functional/networks_controller_test.rb
291
297
  - lib/test/functional/queryservers_controller_test.rb
292
298
  - lib/test/functional/repositories_controller_test.rb
293
299
  - lib/test/functional/servers_controller_test.rb
@@ -304,6 +310,7 @@ files:
304
310
  - lib/test/unit/helpers/logviews_helper_test.rb
305
311
  - lib/test/unit/helpers/main_helper_test.rb
306
312
  - lib/test/unit/helpers/mods_helper_test.rb
313
+ - lib/test/unit/helpers/networks_helper_test.rb
307
314
  - lib/test/unit/helpers/queryservers_helper_test.rb
308
315
  - lib/test/unit/helpers/repositories_helper_test.rb
309
316
  - lib/test/unit/helpers/servers_helper_test.rb
@@ -312,6 +319,7 @@ files:
312
319
  - lib/test/unit/logsession_test.rb
313
320
  - lib/test/unit/log_test.rb
314
321
  - lib/test/unit/mod_test.rb
322
+ - lib/test/unit/network_test.rb
315
323
  - lib/test/unit/queryserver_test.rb
316
324
  - lib/test/unit/repository_test.rb
317
325
  - lib/test/unit/server_test.rb