This repository has been archived by the owner on Jun 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.js
207 lines (188 loc) · 10.1 KB
/
package.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
Package.describe({
name: "admithub:admithub-telescope-theme",
summary: "AdmitHub theme for Telescope",
version: "0.0.1",
git: "https://github.com/AdmitHub/admithub-telescope-theme.git"
});
Package.onUse(function (api) {
api.use([
'underscore',
'alanning:roles',
'aldeed:simple-schema',
'aldeed:[email protected]',
'bengott:avatar',
'jparker:gravatar',
'iron:router',
'richsilv:[email protected]',
'telescope-lib',
'telescope-base',
'telescope-daily',
'telescope-newsletter',
'telescope-notifications',
'telescope-rss',
'telescope-search',
'telescope-tags',
'standard-app-packages',
'stylus'
]);
api.addFiles('lib/permissions.js', ['client', 'server']);
api.addFiles('lib/admithub.js', ['client', 'server']);
api.addFiles('lib/routes.js', ['client', 'server']);
api.addFiles('lib/_fields.js', ['client', 'server']);
api.addFiles('lib/helpers.js', ['client', 'server']);
api.addFiles('lib/freeTrialBot.js', ['client', 'server']);
api.addFiles("lib/smsvalidations.js", ['client', 'server']);
api.addFiles('lib/server/methods.js', ['server']);
api.addFiles('lib/server/publications.js', ['server']);
api.addFiles('lib/server/emailTemplates.js', ['server']);
api.addFiles('lib/server/postEditCallbacks.js', ['server']);
api.addFiles('lib/client/partners.js', 'client');
// begin styles
api.addFiles('lib/client/css/screen.styl', 'client');
api.addFiles('lib/client/css/mixins/mod.import.styl', 'client');
api.addFiles('lib/client/css/mixins/ui.import.styl', 'client');
api.addFiles('lib/client/css/mixins/type.import.styl', 'client');
api.addFiles('lib/client/css/mixins/common.import.styl', 'client');
api.addFiles('lib/client/css/common/base.import.styl', 'client');
api.addFiles('lib/client/css/common/variables.import.styl', 'client');
api.addFiles('lib/client/css/common/override.import.styl', 'client');
api.addFiles('lib/client/css/common/sticky-footer.import.styl', 'client');
api.addFiles('lib/client/css/common/type.import.styl', 'client');
api.addFiles('lib/client/css/common/position.import.styl', 'client');
api.addFiles('lib/client/css/common/grid.import.styl', 'client');
api.addFiles('lib/client/css/common/zindex.import.styl', 'client');
api.addFiles('lib/client/css/common/icons.import.styl', 'client');
api.addFiles('lib/client/css/common/ui.import.styl', 'client');
api.addFiles('lib/client/css/common/ui-form.import.styl', 'client');
api.addFiles('lib/client/css/common/markdown.import.styl', 'client');
api.addFiles('lib/client/css/common/tables.import.styl', 'client');
api.addFiles('lib/client/css/common/link.import.styl', 'client');
api.addFiles('lib/client/css/common/space.import.styl', 'client');
api.addFiles('lib/client/css/common/no.import.styl', 'client');
api.addFiles('lib/client/css/common/sidebar.import.styl', 'client');
api.addFiles('lib/client/css/common/responsive.import.styl', 'client');
api.addFiles('lib/client/css/modules/section.import.styl', 'client');
api.addFiles('lib/client/css/modules/hero.import.styl', 'client');
api.addFiles('lib/client/css/modules/dropdown.import.styl', 'client');
api.addFiles('lib/client/css/modules/markdown.import.styl', 'client');
api.addFiles('lib/client/css/modules/alerts.import.styl', 'client');
api.addFiles('lib/client/css/modules/progress-bar.import.styl', 'client');
api.addFiles('lib/client/css/global/header.import.styl', 'client');
api.addFiles('lib/client/css/global/footer.import.styl', 'client');
api.addFiles('lib/client/css/global/content.import.styl', 'client');
api.addFiles('lib/client/css/forum/posts.import.styl', 'client');
api.addFiles('lib/client/css/forum/comments.import.styl', 'client');
api.addFiles('lib/client/css/forum/newsletter.import.styl', 'client');
api.addFiles('lib/client/css/forum/search.import.styl', 'client');
api.addFiles('lib/client/css/forum/user.import.styl', 'client');
api.addFiles('lib/client/css/forum/contributors.import.styl', 'client');
api.addFiles('lib/client/css/forum/categories.import.styl', 'client');
api.addFiles('lib/client/css/pages/sign-in.import.styl', 'client');
api.addFiles('lib/client/css/pages/bot.import.styl', 'client');
// end styles
api.addFiles('lib/client/views/ah_category_list.html', 'client');
api.addFiles('lib/client/views/ah_category_list.js', 'client');
api.addFiles('lib/client/views/ah_free_trial_bot_widget.html', 'client');
api.addFiles('lib/client/views/ah_free_trial_bot_widget.js', 'client');
api.addFiles('lib/client/views/ah_userTagsForPost.html', 'client');
api.addFiles('lib/client/views/comment_form.html', 'client');
api.addFiles('lib/client/views/comment_item.html', 'client');
api.addFiles('lib/client/views/comment_item.js', 'client');
api.addFiles('lib/client/views/contributors.html', 'client');
api.addFiles('lib/client/views/contributors.js', 'client');
api.addFiles('lib/client/views/free_trial_bot.html', 'client');
api.addFiles('lib/client/views/free_trial_bot.js', 'client');
api.addFiles('lib/client/views/free_trial_bot_signup.html', 'client');
api.addFiles('lib/client/views/free_trial_bot_signup.js', 'client');
api.addFiles('lib/client/views/free_trial_bot_parent_educator.html', 'client');
api.addFiles('lib/client/views/free_trial_bot_parent_educator.js', 'client');
api.addFiles('lib/client/views/header_cta.html', 'client');
api.addFiles('lib/client/views/header_cta.js', 'client');
api.addFiles('lib/client/views/header.html', 'client');
api.addFiles('lib/client/views/header.js', 'client');
api.addFiles('lib/client/views/layout.html', 'client');
api.addFiles('lib/client/views/layout.js', 'client');
api.addFiles('lib/client/views/message_item.html', 'client');
api.addFiles('lib/client/views/message_item.js', 'client');
api.addFiles('lib/client/views/nav.html', 'client');
api.addFiles('lib/client/views/nav_notifications.html', 'client');
api.addFiles('lib/client/views/nav_notifications.js', 'client');
api.addFiles('lib/client/views/newsletter_banner.html', 'client');
api.addFiles('lib/client/views/newsletter_banner.js', 'client');
api.addFiles('lib/client/views/notification_item.html', 'client');
api.addFiles('lib/client/views/notification_item.js', 'client');
api.addFiles('lib/client/views/notification_new_comment.html', 'client');
api.addFiles('lib/client/views/notification_new_reply.html', 'client');
api.addFiles('lib/client/views/post_admin.html', 'client');
api.addFiles('lib/client/views/post_body.html', 'client');
api.addFiles('lib/client/views/post_body.js', 'client');
api.addFiles('lib/client/views/post_categories.html', 'client');
api.addFiles('lib/client/views/post_categories.js', 'client');
api.addFiles('lib/client/views/post_comments_link.html', 'client');
api.addFiles('lib/client/views/post_content.html', 'client');
api.addFiles('lib/client/views/post_content.js', 'client');
api.addFiles('lib/client/views/post_discuss.html', 'client');
api.addFiles('lib/client/views/post_edit.html', 'client');
api.addFiles('lib/client/views/post_info.html', 'client');
api.addFiles('lib/client/views/post_info.js', 'client');
api.addFiles('lib/client/views/post_item.html', 'client');
api.addFiles('lib/client/views/post_item.js', 'client');
api.addFiles('lib/client/views/post_page.html', 'client');
api.addFiles('lib/client/views/post_page.js', 'client');
api.addFiles('lib/client/views/post_share.html', 'client');
api.addFiles('lib/client/views/post_share.js', 'client');
api.addFiles('lib/client/views/post_submit.html', 'client');
api.addFiles('lib/client/views/post_title.html', 'client');
api.addFiles('lib/client/views/post_title.js', 'client');
api.addFiles('lib/client/views/post_upvote.html', 'client');
api.addFiles('lib/client/views/post_upvote.js', 'client');
api.addFiles('lib/client/views/posts_list.html', 'client');
api.addFiles('lib/client/views/posts_list.js', 'client');
api.addFiles('lib/client/views/posts_load_more.html', 'client');
api.addFiles('lib/client/views/search.html', 'client');
api.addFiles('lib/client/views/search.js', 'client');
api.addFiles('lib/client/views/touts.html', 'client');
api.addFiles('lib/client/views/touts.js', 'client');
api.addFiles('lib/client/views/trackers.html', 'client');
api.addFiles('lib/client/views/trackers.js', 'client');
api.addFiles('lib/client/views/typekit.html', 'client');
api.addFiles('lib/client/views/user_email.html', 'client');
api.addFiles('lib/client/views/user_email.js', 'client');
api.addFiles('public/icons/admithub.eot', 'client');
api.addFiles('public/icons/admithub.svg', 'client');
api.addFiles('public/icons/admithub.ttf', 'client');
api.addFiles('public/icons/admithub.woff', 'client');
api.addFiles('public/img/favicon.ico', 'client');
api.addFiles('public/img/CUNY-logo.png');
api.addFiles('public/img/georgia-state-university_200x200.jpg', 'client');
api.addFiles('public/img/st-anselm-crest.png', 'client');
api.addFiles('public/img/st-anselm-logo.png', 'client');
api.addFiles('public/img/cooper-square-128.png', 'client');
api.addFiles('public/img/tcu-square-logo.png', 'client');
api.addFiles('public/img/owlAvatar.png', 'client');
api.addFiles('public/img/owl-repeat.png', 'client');
api.addFiles('public/img/[email protected]', 'client');
api.addFiles('public/img/owl-repeat-light.png', 'client');
api.addFiles('public/img/[email protected]', 'client');
api.addFiles('public/img/OwlWeb-120x120.png', 'client');
api.addFiles('public/img/forum-header-shadow.png', 'client');
// Make sure this is added *after* screen.styl above.
api.addFiles('lib/client/css/asset_path_overrides.styl', 'client');
// Permissions overrides
api.export("isAdminById");
api.export('isAdmin');
api.export('updateAdmin');
api.export('adminMongoQuery');
api.export('notAdminMongoQuery');
api.export('getEmail');
api.export('getUserSetting');
api.export('adminUsers');
// Template overrides
api.export('templates');
api.export('themeSettings');
api.export('primaryNav');
api.export('secondaryNav');
api.export('FreeTrialBots');
api.export('FreeTrialBotSchema');
api.export('slugifyPost');
});