]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/xul/staff_client/chrome/content/evergreen/main/constants.js
I really need to come up with a good way for xul to work both remotely and in chrome...
[Evergreen.git] / Open-ILS / xul / staff_client / chrome / content / evergreen / main / constants.js
1 dump('Loading constants.js\n');
2 var api = {
3         'AUTH_INIT' : { 'app' : 'open-ils.auth', 'method' : 'open-ils.auth.authenticate.init' },
4         'AUTH_COMPLETE' : { 'app' : 'open-ils.auth', 'method' : 'open-ils.auth.authenticate.complete' },
5         'BILL_PAY' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.money.payment' },
6         'BLOB_CHECKOUTS_RETRIEVE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.actor.user.checked_out' },
7         'CAPTURE_COPY_FOR_HOLD_VIA_BARCODE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.hold.capture_copy.barcode' },
8         'CHECKIN_VIA_BARCODE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.checkin.barcode' },
9         'CHECKOUT_PERMIT_VIA_BARCODE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.permit_checkout' },
10         'CHECKOUT_VIA_BARCODE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.checkout.barcode' },
11         'FM_ACP_RETRIEVE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.asset.copy.fleshed.retrieve' },
12         'FM_ACPL_RETRIEVE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.config.copy_location.retrieve.all' },
13         'FM_ACTSC_RETRIEVE_VIA_AOU' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.stat_cat.actor.retrieve.all' },
14         'FM_AHR_RETRIEVE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.holds.retrieve' },
15         'FM_AOU_RETRIEVE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.org_tree.retrieve' },
16         'FM_AOU_RETRIEVE_RELATED_VIA_SESSION' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.org_unit.full_path.retrieve' },
17         'FM_AOUT_RETRIEVE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.org_types.retrieve' },
18         'FM_ASV_CREATE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.survey.create' },
19         'FM_ASV_RETRIEVE_REQUIRED' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.survey.retrieve.required' },
20         'FM_ASVR_RETRIEVE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.survey.response.retrieve' },
21         'FM_AU_IDS_RETRIEVE_VIA_HASH' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.patron.search.advanced' },
22         'FM_AU_RETRIEVE_VIA_SESSION' : { 'app' : 'open-ils.auth', 'method' : 'open-ils.auth.session.retrieve' },
23         'FM_AU_RETRIEVE_VIA_BARCODE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.fleshed.retrieve_by_barcode' },
24         'FM_AU_RETRIEVE_VIA_ID' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.fleshed.retrieve' },
25         'FM_BRE_RETRIEVE_VIA_ID' : { 'app' : 'open-ils.cat', 'method' : 'open-ils.cat.biblio.record.metadata.retrieve' },
26         'FM_CCS_RETRIEVE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.config.copy_status.retrieve.all' },
27         'FM_CIRC_RETRIEVE_VIA_USER' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.actor.user.checked_out.slim' },
28         'FM_CIT_RETRIEVE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.ident_types.retrieve' },
29         'FM_CST_RETRIEVE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.standings.retrieve' },
30         'FM_MB_CREATE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.money.billing.create' },
31         'FM_MB_RETRIEVE_VIA_MBTS_ID' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.money.billing.retrieve.all' },
32         'FM_MP_RETRIEVE_VIA_MBTS_ID' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.money.payment.retrieve.all' },
33         'FM_MG_CREATE' : { 'app' : 'open-ils.circ', 'method' : 'open-ils.circ.money.grocery.create' },
34         'FM_MOBTS_HAVING_BALANCE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.user.transactions.have_balance' },
35         'FM_PGT_RETRIEVE' : { 'app' : 'open-ils.actor', 'method' : 'open-ils.actor.groups.retrieve' },
36         'MARC_HTML_RETRIEVE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.biblio.record.html' },
37         'MODS_SLIM_METARECORD_RETRIEVE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.biblio.metarecord.mods_slim.retrieve' },
38         'MODS_SLIM_RECORD_RETRIEVE' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.biblio.record.mods_slim.retrieve' },
39         'MODS_SLIM_RECORD_RETRIEVE_VIA_COPY' : { 'app' : 'open-ils.search', 'method' : 'open-ils.search.biblio.mods_from_copy' },
40 }
41
42 var urls = {
43         'opac' : 'http://dev.gapines.org/opac/en-US/skin/default/xml/advanced.xml',
44         'browser' : 'http://dev.gapines.org/opac/en-US/skin/default/xml/advanced.xml',
45         'REMOTE' : 'http://dev.gapines.org/',
46         'XUL_BIB_BRIEF' : '/xul/server/cat/bib_brief.xul',
47         'XUL_BROWSER' : 'chrome://evergreen/content/util/browser.xul',
48         'XUL_CHECKIN' : '/xul/server/circ/checkin.xul',
49         'XUL_CHECKOUT' : '/xul/server/circ/checkout.xul',
50         'XUL_CAT_DETAILS' : 'chrome://evergreen/content/cat/details.xul',
51         'XUL_DEBUG_CONSOLE' : 'chrome://global/content/console.xul',
52         'XUL_DEBUG_FIELDMAPPER' : '/xul/server/util/fm_view.xul',
53         'XUL_DEBUG_FILTER_CONSOLE' : '/xul/server/util/filter_console.xul',
54         'XUL_DEBUG_SHELL' : '/xul/server/util/shell.html',
55         'XUL_DEBUG_XULEDITOR' : '/xul/server/util/xuledit.xul',
56         'XUL_HOLD_CAPTURE' : '/xul/server/circ/hold_capture.xul',
57         'XUL_MARC_EDIT' : 'chrome://evergreen/content/legacy/marc.xul',
58         'XUL_MARC_VIEW' : '/xul/server/cat/marc_view.xul',
59         'XUL_MENU_FRAME' : 'chrome://evergreen/content/main/menu_frame.xul',
60         'XUL_PATRON_BARCODE_ENTRY' : '/xul/server/patron/barcode_entry.xul',
61         'XUL_PATRON_BILLS' : '/xul/server/patron/bills.xul',
62         'XUL_PATRON_BILL_CC_INFO' : '/xul/server/patron/bill_cc_info.xul',
63         'XUL_PATRON_BILL_CHECK_INFO' : '/xul/server/patron/bill_check_info.xul',
64         'XUL_PATRON_BILL_DETAILS' : '/xul/server/patron/bill_details.xul',
65         'XUL_PATRON_BILL_WIZARD' : '/xul/server/patron/bill_wizard.xul',
66         'XUL_PATRON_DISPLAY' : '/xul/server/patron/display.xul',
67         'XUL_PATRON_EDIT' : '/xul/server/patron/user_edit.xml',
68         'XUL_PATRON_HOLDS' : '/xul/server/patron/holds.xul',
69         'XUL_PATRON_INFO' : 'data:text/html,<h1>Info Here</h1>',
70         'XUL_PATRON_ITEMS' : '/xul/server/patron/items.xul',
71         'XUL_PATRON_SEARCH_FORM' : '/xul/server/patron/search_form.xul',
72         'XUL_PATRON_SEARCH_RESULT' : '/xul/server/patron/search_result.xul',
73         'XUL_PATRON_SUMMARY' : '/xul/server/patron/summary.xul',
74         'XUL_REMOTE_BROWSER' : '/xul/server/util/rbrowser.xul',
75         'XUL_SURVEY_WIZARD' : 'chrome://evergreen/content/admin/survey_wizard.xul',
76         'TEST_HTML' : '/xul/server/main/test.html',
77         'TEST_XUL' : 'chrome://evergreen/content/admin/test.xul',
78         'XUL_OPAC_WRAPPER' : 'chrome://evergreen/content/cat/opac.xul',
79 }