even more reliable multiple-payment/double-click/concurrent-payment-form protection
[freeside.git] / FS / FS.pm
1 package FS;
2
3 use strict;
4 use vars qw($VERSION);
5
6 $VERSION = '%%%VERSION%%%';
7
8 #find missing entries in this file with:
9 # for a in `ls *pm | cut -d. -f1`; do grep 'L<FS::'$a'>' ../FS.pm >/dev/null || echo "missing $a" ; done
10
11 1;
12 __END__
13
14 =head1 NAME
15
16 FS - Freeside Perl modules
17
18 =head1 SYNOPSIS
19
20 Freeside perl modules and CLI utilities.
21
22 =head2 Utility classes
23
24 L<FS::Schema> - Freeside database schema
25
26 L<FS::Setup> - Setup subroutines
27
28 L<FS::Conf> - Freeside configuration values
29
30 L<FS::ConfItem> - Freeside configuration option meta-data.
31
32 L<FS::ConfDefaults> - Freeside configuration default and available values
33
34 L<FS::UID> - User class (not yet OO)
35
36 L<FS::CurrentUser> -  Package representing the current user
37
38 L<FS::CGI> - Non OO-subroutines for the web interface.
39
40 L<FS::Msgcat> - Message catalog
41
42 L<FS::SearchCache> - Search cache
43
44 L<FS::AccessRight> - Access control rights.
45
46 L<FS::Report> - Report data objects
47
48 L<FS::Report::Table> - Report data objects
49
50 L<FS::Report::Table::Monthly> - Report data objects
51
52 L<FS::XMLRPC> - Backend XML::RPC server
53
54 L<FS::Misc> - Miscellaneous subroutines
55
56 L<FS::payby> - Payment types
57
58 L<FS::ClientAPI_SessionCache> - ClientAPI session cache
59
60 L<FS::Pony> - A pony
61
62 =head2 Database record classes
63
64 L<FS::Record> - Database record base class
65
66 L<FS::m2m_Common> - Mixin class for classes in a many-to-many relationship
67
68 L<FS::m2name_Common> - Base class for tables with a related table listing names
69
70 L<FS::option_Common> - Base class for option sub-classes
71
72 L<FS::conf> - Configuration value class
73
74 L<FS::payinfo_Mixin>  - Mixin class for records in tables that contain payinfo.
75
76 L<FS::access_user> - Employees / internal users
77
78 L<FS::access_user_pref> - Employee preferences
79
80 L<FS::access_group> - Employee groups
81
82 L<FS::access_usergroup> - Employee group membership
83
84 L<FS::access_groupagent> - Group reseller access
85
86 L<FS::access_right> - Access rights
87
88 L<FS::svc_acct_pop> - POP (Point of Presence, not Post
89 Office Protocol) class
90
91 L<FS::part_pop_local> - Local calling area class
92
93 L<FS::part_referral> - Referral class
94
95 L<FS::pkg_referral> - Package referral class
96
97 L<FS::cust_main_county> - Locale (tax rate) class
98
99 L<FS::cust_tax_exempt> - Tax exemption record class
100
101 L<FS::cust_tax_exempt_pkg> - Line-item specific tax exemption record class
102
103 L<FS::svc_Common> - Service base class
104
105 L<FS::svc_Parent_Mixin> - Mixin class for svc_ classes with a parent_svcnum field
106
107 L<FS::svc_acct> - Account (shell, RADIUS, POP3) class
108
109 L<FS::acct_snarf> - External mail account class
110
111 L<FS::acct_rt_transaction> - Time worked application to account class
112
113 L<FS::radius_usergroup> - RADIUS groups
114
115 L<FS::svc_domain> - Domain class
116
117 L<FS::domain_record> - DNS zone entries
118
119 L<FS::registrar> - Domain registrar class
120
121 L<FS::svc_forward> - Mail forwarding class
122
123 L<FS::svc_www> - Web virtual host class.
124
125 L<FS::svc_broadband> - DSL, wireless and other broadband class.
126
127 L<FS::addr_block> - Address block class
128
129 L<FS::router> - Router class
130
131 L<FS::part_virtual_field> - Broadband virtual field class
132
133 L<FS::svc_phone> - Phone service class
134
135 L<FS::cdr> - Call Detail Record class
136
137 L<FS::cdr_calltype> - CDR calltype class
138
139 L<FS::cdr_carrier> - CDR carrier class
140
141 L<FS::cdr_upstream_rate> - CDR upstream rate class
142
143 L<FS::cdr_type> - CDR type class
144
145 L<FS::svc_external> - Externally tracked service class.
146
147 L<FS::inventory_class> - Inventory classes
148
149 L<FS::inventory_item> - Inventory items
150
151 L<FS::part_svc> - Service definition class
152
153 L<FS::part_svc_column> - Column constraint class
154
155 L<FS::export_svc> - Class linking service definitions (see L<FS::part_svc>)
156 with exports (see L<FS::part_export>)
157
158 L<FS::part_export> - External provisioning export class
159
160 L<FS::part_export_option> - Export option class
161
162 L<FS::pkg_class> - Package class class
163
164 L<FS::part_pkg> - Package definition class
165
166 L<FS::part_pkg_option> - Package definition option class
167
168 L<FS::pkg_svc> - Class linking package definitions (see L<FS::part_pkg>) with
169 service definitions (see L<FS::part_svc>)
170
171 L<FS::reg_code> - One-time registration codes
172
173 L<FS::reg_code_pkg> - Class linking registration codes (see L<FS::reg_code>) with package definitions (see L<FS::part_pkg>)
174
175 L<FS::rate> - Rate plans for call billing
176
177 L<FS::rate_region> - Rate regions for call billing
178
179 L<FS::rate_prefix> - Rate region prefixes for call billing
180
181 L<FS::rate_detail> - Rate plan detail for call billing
182
183 L<FS::agent> - Agent (reseller) class
184
185 L<FS::agent_type> - Agent type class
186
187 L<FS::type_pkgs> - Class linking agent types (see L<FS::agent_type>) with package definitions (see L<FS::part_pkg>)
188
189 L<FS::payment_gateway> - Payment gateway class
190
191 L<FS::payment_gateway_option> - Payment gateway option class
192
193 L<FS::agent_payment_gateway> - Agent payment gateway class
194
195 L<FS::cust_svc> - Service class
196
197 L<FS::cust_pkg> - Customer package class
198
199 L<FS::cust_pkg_option> - Customer package option class
200
201 L<FS::reason_type> - Reason type class
202
203 L<FS::reason> - Reason class
204
205 L<FS::cust_pkg_reason> - Package reason class
206
207 L<FS::cust_main> - Customer class
208
209 L<FS::cust_main_Mixin> - Mixin class for records that contain fields from cust_main
210
211 L<FS::cust_main_invoice> - Invoice destination class
212
213 L<FS::cust_main_note> - Customer note class
214
215 L<FS::banned_pay> - Banned payment information class
216
217 L<FS::cust_bill> - Invoice class
218
219 L<FS::cust_bill_pkg> - Invoice line item class
220
221 L<FS::cust_bill_pkg_detail> - Invoice line item detail class
222
223 L<FS::part_bill_event> - (Old) Invoice event definition class
224
225 L<FS::cust_bill_event> - (Old) Completed invoice event class
226
227 L<FS::part_event> - (New) Billing event definition class
228
229 L<FS::part_event_option> - (New) Billing event option class
230
231 L<FS::part_event::Condition> - (New) Billing event condition base class
232
233 L<FS::part_event::Action> - (New) Billing event action base class
234
235 L<FS::part_event_condition> - (New) Billing event condition class
236
237 L<FS::part_event_condition_option> - (New) Billing event condition option class
238
239 L<FS::part_event_condition_option_option> - (New) Billing event condition compound option class
240
241 L<FS::cust_event> - (New) Customer event class
242
243 L<FS::cust_bill_ApplicationCommon> - Base class for bill application classes
244
245 L<FS::cust_pay> - Payment class
246
247 L<FS::cust_pay_pending> - Pending payment class
248
249 L<FS::cust_pay_void> - Voided payment class
250
251 L<FS::cust_bill_pay> - Payment application class
252
253 L<FS::cust_bill_pay_pkg> - Line-item specific payment application class
254
255 L<FS::cust_bill_pay_batch> - Batch payment application class
256
257 L<FS::cust_credit> - Credit class
258
259 L<FS::cust_refund> - Refund class
260
261 L<FS::cust_credit_refund> - Refund application to credit class
262
263 L<FS::cust_credit_bill> - Credit application to invoice class
264
265 L<FS::cust_credit_bill_pkg> - Line-item specific credit application to invoice class
266
267 L<FS::cust_pay_refund> - Refund application to payment class
268
269 L<FS::pay_batch> - Credit card transaction queue class
270
271 L<FS::cust_pay_batch> - Credit card transaction member queue class
272
273 L<FS::prepay_credit> - Prepaid "calling card" credit class.
274
275 L<FS::nas> - Network Access Server class
276
277 L<FS::port> - NAS port class
278
279 L<FS::session> - User login session class
280
281 L<FS::queue> - Job queue
282
283 L<FS::queue_arg> - Job arguments
284
285 L<FS::queue_depend> - Job dependencies
286
287 L<FS::msgcat> - Message catalogs
288
289 L<FS::clientapi_session>
290
291 L<FS::clientapi_session_field>
292
293 =head2 Historical database record classes
294
295 L<FS::h_Common> - History table base class
296
297 L<FS::h_cust_bill> - Historical record of customer tax changes (old-style)
298
299 L<FS::h_cust_svc> - Object method for h_cust_svc objects
300
301 L<FS::h_cust_tax_exempt> - Historical record of customer tax changes (old-style)
302
303 L<FS::h_domain_record> - Historical DNS entry objects
304
305 L<FS::h_svc_acct> - Historical account objects
306
307 L<FS::h_svc_broadband> - Historical broadband connection objects
308
309 L<FS::h_svc_domain> - Historical domain objects
310
311 L<FS::h_svc_external> - Historical externally tracked service objects
312
313 L<FS::h_svc_forward> - Historical mail forwarding alias objects
314
315 L<FS::h_svc_phone> - Historical phone number objects
316
317 L<FS::h_svc_www> - Historical web virtual host objects
318
319 =head2 Remote API modules
320
321 L<FS::SelfService> - Self-service API
322
323 L<FS::SelfService::XMLRPC> - Self-service XML-RPC API
324
325 =head2 User Interface classes
326
327 L<FS::UI::Web> - Web user-interface class
328
329 L<FS::UI::bytecount> - Byte counter user-interface class
330
331 =head2 Command-line utilities
332
333 L<freeside-adduser> - Command line interface to add (freeside) users.
334
335 L<freeside-daily> - Run daily billing and collection events.
336
337 L<freeside-monthly> - Run monthly billing and invoice collection events.
338
339 L<freeside-dbdef-create> - Recreate database schema cache
340
341 L<freeside-deluser> - Command line interface to delete (freeside) users.
342
343 L<freeside-expiration-alerter> - Emails notifications of credit card expirations.
344
345 L<freeside-email> -  Prints email addresses of all users on STDOUT
346
347 L<freeside-fetch> - Send a freeside page to a list of employees.
348
349 L<freeside-prepaidd> - Real-time daemon for prepaid packages
350
351 L<freeside-prune-applications> - Removes stray applications of credit, payment to bills, refunds, etc.
352
353 L<freeside-queued> - Job queue daemon
354
355 L<freeside-radgroup> - Command line utility to manipulate radius groups
356
357 L<freeside-reexport> - Command line tool to re-trigger export jobs for existing services
358
359 L<freeside-reset-fixed> - Command line tool to set the fixed columns for existing services
360
361 L<freeside-sqlradius-dedup-group> - Command line tool to eliminate duplicate usergroup entries from radius tables
362
363 L<freeside-sqlradius-radacctd> - Real-time radacct import daemon
364
365 L<freeside-sqlradius-reset> - Command line interface to reset and recreate RADIUS SQL tables
366
367 L<freeside-sqlradius-seconds> - Command line time-online tool
368
369 L<freeside-upgrade> - Upgrades database schema for new freeside verisons.
370
371 =head1 Notes
372
373 To quote perl(1), "If you're intending to read these straight through for the
374 first time, the suggested order will tend to reduce the number of forward
375 references."
376
377 If you've never used OO modules before,
378 http://www.perl.com/doc/FMTEYEWTK/easy_objects.html might help you out.
379
380 =head1 DESCRIPTION
381
382 Freeside is a billing and administration package for wired and wireless ISPs,
383 VoIP, hosting, service and content providers and other online businesses.
384
385 The Freeside home page is at <http://www.sisd.com/freeside>.
386
387 The main documentation is at <http://www.sisd.com/mediawiki>.
388
389 =head1 SUPPORT
390
391 A mailing list for users is available.  Send a blank message to
392 <freeside-users-subscribe@sisd.com> to subscribe.
393
394 A mailing list for developers is available.  It is intended to be lower volume
395 and higher SNR than the users list.  Send a blank message to
396 <freeside-devel-subscribe@sisd.com> to subscribe.
397
398 Commercial support is available; see
399 <http://www.sisd.com/freeside/commercial.html>.
400
401 =head1 AUTHORS
402
403 Primarily Ivan Kohler, with help from many kind folks, including core
404 contributors Jeff Finucane, Kristian Hoffman, Jason Hall and Peter Bowen.
405
406 See the CREDITS file in the Freeside distribution for a (hopefully) complete
407 list and the individal files for details.
408
409 =head1 SEE ALSO
410
411 perl(1), main Freeside documentation at <http://www.sisd.com/mediawiki/>
412
413 =head1 BUGS
414
415 Those modules which would be useful separately should be pulled out, 
416 renamed appropriately and uploaded to CPAN.  So far: DBIx::DBSchema, Net::SSH
417 and Net::SCP...
418
419 =cut
420