sequenceserver 3.1.1 → 3.1.3

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.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sequenceserver/api_errors.rb +24 -0
  3. data/lib/sequenceserver/blast/tasks.rb +1 -1
  4. data/lib/sequenceserver/blast.rb +6 -0
  5. data/lib/sequenceserver/database.rb +13 -0
  6. data/lib/sequenceserver/routes.rb +1 -1
  7. data/lib/sequenceserver/sequence.rb +1 -2
  8. data/lib/sequenceserver/version.rb +1 -1
  9. data/lib/sequenceserver.rb +1 -1
  10. data/public/css/app.min.css +1 -1
  11. data/public/css/sequenceserver.css +0 -18
  12. data/public/css/sequenceserver.min.css +2 -2
  13. data/public/js/alignment_exporter.js +16 -28
  14. data/public/js/cloud_share_modal.js +42 -42
  15. data/public/js/form.js +12 -10
  16. data/public/js/grapher.js +4 -4
  17. data/public/js/hit.js +3 -3
  18. data/public/js/hits.js +276 -0
  19. data/public/js/jquery_world.js +1 -1
  20. data/public/js/mailto.js +1 -3
  21. data/public/js/null_plugins/report_plugins.js +1 -0
  22. data/public/js/options.js +2 -6
  23. data/public/js/query.js +1 -1
  24. data/public/js/report.js +68 -252
  25. data/public/js/report_root.js +7 -5
  26. data/public/js/search.js +28 -11
  27. data/public/js/sequence.js +158 -158
  28. data/public/js/sequence_modal.js +28 -36
  29. data/public/js/sidebar.js +7 -6
  30. data/public/js/tests/alignment_exporter.spec.js +38 -0
  31. data/public/js/tests/cloud_share_modal.spec.js +75 -0
  32. data/public/js/tests/report.spec.js +37 -15
  33. data/public/packages/jquery-ui@1.13.3.js +19070 -0
  34. data/public/sequenceserver-report.min.js +3 -2481
  35. data/public/sequenceserver-report.min.js.LICENSE.txt +300 -0
  36. data/public/sequenceserver-report.min.js.map +1 -0
  37. data/public/sequenceserver-search.min.js +3 -2382
  38. data/public/sequenceserver-search.min.js.LICENSE.txt +292 -0
  39. data/public/sequenceserver-search.min.js.map +1 -0
  40. data/views/layout.erb +3 -7
  41. data/views/search.erb +1 -1
  42. data/views/search_layout.erb +1 -1
  43. metadata +11 -5
  44. data/public/config.js +0 -147
  45. data/public/packages/jquery-ui@1.11.4.js +0 -16624
@@ -0,0 +1,292 @@
1
+ /*!
2
+ "shortcut" : 113,
3
+ "shortcut_label" : 'F2',
4
+ "icon" : "glyphicon glyphicon-leaf",
5
+ */
6
+
7
+ /*!
8
+ 'themes' : {
9
+ 'name' : this.get_theme(),
10
+ 'icons' : this._data.core.themes.icons,
11
+ 'dots' : this._data.core.themes.dots
12
+ },
13
+ */
14
+
15
+ /*!
16
+ .on("mousedown.jstree touchstart.jstree", ".jstree-wholerow", function (e) {
17
+ if(e.target === e.currentTarget) {
18
+ var a = $(e.currentTarget).closest(".jstree-node").children(".jstree-anchor");
19
+ e.target = a[0];
20
+ a.trigger(e);
21
+ }
22
+ })
23
+ */
24
+
25
+ /*!
26
+ if(!('oncontextmenu' in document.body) && ('ontouchstart' in document.body)) {
27
+ var el = null, tm = null;
28
+ this.element
29
+ .on("touchstart", ".jstree-anchor", function (e) {
30
+ el = e.currentTarget;
31
+ tm = +new Date();
32
+ $(document).one("touchend", function (e) {
33
+ e.target = document.elementFromPoint(e.originalEvent.targetTouches[0].pageX - window.pageXOffset, e.originalEvent.targetTouches[0].pageY - window.pageYOffset);
34
+ e.currentTarget = e.target;
35
+ tm = ((+(new Date())) - tm);
36
+ if(e.target === el && tm > 600 && tm < 1000) {
37
+ e.preventDefault();
38
+ $(el).trigger('contextmenu', e);
39
+ }
40
+ el = null;
41
+ tm = null;
42
+ });
43
+ });
44
+ }
45
+ */
46
+
47
+ /*!
48
+ oi = obj.children("i:visible"),
49
+ ai = a.children("i:visible"),
50
+ w1 = oi.width() * oi.length,
51
+ w2 = ai.width() * ai.length,
52
+ */
53
+
54
+ /*!
55
+ * if using jslint please allow for the jQuery global and use following options:
56
+ * jslint: loopfunc: true, browser: true, ass: true, bitwise: true, continue: true, nomen: true, plusplus: true, regexp: true, unparam: true, todo: true, white: true
57
+ */
58
+
59
+ /*!
60
+ * jQuery JavaScript Library v3.7.1
61
+ * https://jquery.com/
62
+ *
63
+ * Copyright OpenJS Foundation and other contributors
64
+ * Released under the MIT license
65
+ * https://jquery.org/license
66
+ *
67
+ * Date: 2023-08-28T13:37Z
68
+ */
69
+
70
+ /*!
71
+ * jQuery UI :data 1.13.3
72
+ * https://jqueryui.com
73
+ *
74
+ * Copyright OpenJS Foundation and other contributors
75
+ * Released under the MIT license.
76
+ * https://jquery.org/license
77
+ */
78
+
79
+ /*!
80
+ * jQuery UI Autocomplete 1.13.3
81
+ * https://jqueryui.com
82
+ *
83
+ * Copyright OpenJS Foundation and other contributors
84
+ * Released under the MIT license.
85
+ * https://jquery.org/license
86
+ */
87
+
88
+ /*!
89
+ * jQuery UI Button 1.13.3
90
+ * https://jqueryui.com
91
+ *
92
+ * Copyright OpenJS Foundation and other contributors
93
+ * Released under the MIT license.
94
+ * https://jquery.org/license
95
+ */
96
+
97
+ /*!
98
+ * jQuery UI Checkboxradio 1.13.3
99
+ * https://jqueryui.com
100
+ *
101
+ * Copyright OpenJS Foundation and other contributors
102
+ * Released under the MIT license.
103
+ * https://jquery.org/license
104
+ */
105
+
106
+ /*!
107
+ * jQuery UI Controlgroup 1.13.3
108
+ * https://jqueryui.com
109
+ *
110
+ * Copyright OpenJS Foundation and other contributors
111
+ * Released under the MIT license.
112
+ * https://jquery.org/license
113
+ */
114
+
115
+ /*!
116
+ * jQuery UI Datepicker 1.13.3
117
+ * https://jqueryui.com
118
+ *
119
+ * Copyright OpenJS Foundation and other contributors
120
+ * Released under the MIT license.
121
+ * https://jquery.org/license
122
+ */
123
+
124
+ /*!
125
+ * jQuery UI Dialog 1.13.3
126
+ * https://jqueryui.com
127
+ *
128
+ * Copyright OpenJS Foundation and other contributors
129
+ * Released under the MIT license.
130
+ * https://jquery.org/license
131
+ */
132
+
133
+ /*!
134
+ * jQuery UI Draggable 1.13.3
135
+ * https://jqueryui.com
136
+ *
137
+ * Copyright OpenJS Foundation and other contributors
138
+ * Released under the MIT license.
139
+ * https://jquery.org/license
140
+ */
141
+
142
+ /*!
143
+ * jQuery UI Droppable 1.13.3
144
+ * https://jqueryui.com
145
+ *
146
+ * Copyright OpenJS Foundation and other contributors
147
+ * Released under the MIT license.
148
+ * https://jquery.org/license
149
+ */
150
+
151
+ /*!
152
+ * jQuery UI Effects 1.13.3
153
+ * https://jqueryui.com
154
+ *
155
+ * Copyright OpenJS Foundation and other contributors
156
+ * Released under the MIT license.
157
+ * https://jquery.org/license
158
+ */
159
+
160
+ /*!
161
+ * jQuery UI Focusable 1.13.3
162
+ * https://jqueryui.com
163
+ *
164
+ * Copyright OpenJS Foundation and other contributors
165
+ * Released under the MIT license.
166
+ * https://jquery.org/license
167
+ */
168
+
169
+ /*!
170
+ * jQuery UI Position 1.13.3
171
+ * https://jqueryui.com
172
+ *
173
+ * Copyright OpenJS Foundation and other contributors
174
+ * Released under the MIT license.
175
+ * https://jquery.org/license
176
+ *
177
+ * https://api.jqueryui.com/position/
178
+ */
179
+
180
+ /*!
181
+ * jQuery UI Resizable 1.13.3
182
+ * https://jqueryui.com
183
+ *
184
+ * Copyright OpenJS Foundation and other contributors
185
+ * Released under the MIT license.
186
+ * https://jquery.org/license
187
+ */
188
+
189
+ /*!
190
+ * jQuery UI Spinner 1.13.3
191
+ * https://jqueryui.com
192
+ *
193
+ * Copyright OpenJS Foundation and other contributors
194
+ * Released under the MIT license.
195
+ * https://jquery.org/license
196
+ */
197
+
198
+ /*!
199
+ * jQuery UI Support for jQuery core 1.8.x and newer 1.13.3
200
+ * https://jqueryui.com
201
+ *
202
+ * Copyright OpenJS Foundation and other contributors
203
+ * Released under the MIT license.
204
+ * https://jquery.org/license
205
+ *
206
+ */
207
+
208
+ /*!
209
+ * jQuery UI Tabs 1.13.3
210
+ * https://jqueryui.com
211
+ *
212
+ * Copyright OpenJS Foundation and other contributors
213
+ * Released under the MIT license.
214
+ * https://jquery.org/license
215
+ */
216
+
217
+ /*!
218
+ * jQuery UI Tooltip 1.13.3
219
+ * https://jqueryui.com
220
+ *
221
+ * Copyright OpenJS Foundation and other contributors
222
+ * Released under the MIT license.
223
+ * https://jquery.org/license
224
+ */
225
+
226
+ /*!
227
+ * jQuery UI Widget 1.13.3
228
+ * https://jqueryui.com
229
+ *
230
+ * Copyright OpenJS Foundation and other contributors
231
+ * Released under the MIT license.
232
+ * https://jquery.org/license
233
+ */
234
+
235
+ /*!
236
+ * jsTree 3.3.16
237
+ * http://jstree.com/
238
+ *
239
+ * Copyright (c) 2014 Ivan Bozhanov (http://vakata.com)
240
+ *
241
+ * Licensed same as jquery - under the terms of the MIT License
242
+ * http://www.opensource.org/licenses/mit-license.php
243
+ */
244
+
245
+ /*! jQuery UI - v1.13.3 - 2024-04-26
246
+ * https://jqueryui.com
247
+ * Includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js
248
+ * Copyright OpenJS Foundation and other contributors; Licensed MIT */
249
+
250
+ /**
251
+ * @license React
252
+ * react-dom.development.js
253
+ *
254
+ * Copyright (c) Facebook, Inc. and its affiliates.
255
+ *
256
+ * This source code is licensed under the MIT license found in the
257
+ * LICENSE file in the root directory of this source tree.
258
+ */
259
+
260
+ /**
261
+ * @license React
262
+ * react-jsx-runtime.development.js
263
+ *
264
+ * Copyright (c) Facebook, Inc. and its affiliates.
265
+ *
266
+ * This source code is licensed under the MIT license found in the
267
+ * LICENSE file in the root directory of this source tree.
268
+ */
269
+
270
+ /**
271
+ * @license React
272
+ * scheduler.development.js
273
+ *
274
+ * Copyright (c) Facebook, Inc. and its affiliates.
275
+ *
276
+ * This source code is licensed under the MIT license found in the
277
+ * LICENSE file in the root directory of this source tree.
278
+ */
279
+
280
+ /**
281
+ * Checks if an event is supported in the current execution environment.
282
+ *
283
+ * NOTE: This will not work correctly for non-generic events such as `change`,
284
+ * `reset`, `load`, `error`, and `select`.
285
+ *
286
+ * Borrows from Modernizr.
287
+ *
288
+ * @param {string} eventNameSuffix Event name, e.g. "click".
289
+ * @return {boolean} True if the event is supported.
290
+ * @internal
291
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
292
+ */