Skip to content

Instantly share code, notes, and snippets.

View nicolaasmatthijs's full-sized avatar

Nicolaas Matthijs nicolaasmatthijs

View GitHub Profile
{
"block_1": {
"type": "search",
"xs": "12",
"sm": "12",
"md": "12",
"lg": "12",
"minHeight": "",
"horizontalAlign": "center",
"verticalAlign": "middle",
Failed to properly deal with a submission:
---
assignment_id: 6
attempt: 1
body:
grade:
grade_matches_current_submission: true
graded_at:
grader_id:
id: 26
{
'id': 'dashboard',
'title': oae.api.i18n.translate('__MSG__RECENT_ACTIVITY__'),
'icon': 'fa-tachometer',
'closeNav': true,
'layout': [
{
'width': 'col-md-9',
'widgets': [
{
{
'id': 'dashboard',
'title': oae.api.i18n.translate('__MSG__RECENT_ACTIVITY__'),
'icon': 'fa-tachometer',
'closeNav': true,
'layout': [
{
'width': 'col-md-9',
'widgets': [
{
1) Activity Email verify aggregation respects email preference:
Uncaught AssertionError: 1 == 2
at /Users/Nicolaas/Desktop/ApereoOAE/Code/oae/Hilary/node_modules/oae-activity/tests/test-email.js:304:60
at /Users/Nicolaas/Desktop/ApereoOAE/Code/oae/Hilary/node_modules/oae-email/lib/test/util.js:105:32
at allDone (/Users/Nicolaas/Desktop/ApereoOAE/Code/oae/Hilary/node_modules/oae-activity/lib/internal/email.js:201:20)
at /Users/Nicolaas/Desktop/ApereoOAE/Code/oae/Hilary/node_modules/oae-activity/lib/internal/buckets.js:119:16
at _collectBuckets (/Users/Nicolaas/Desktop/ApereoOAE/Code/oae/Hilary/node_modules/oae-activity/lib/internal/buckets.js:138:16)
at /Users/Nicolaas/Desktop/ApereoOAE/Code/oae/Hilary/node_modules/oae-activity/lib/internal/buckets.js:149:16
at /Users/Nicolaas/Desktop/ApereoOAE/Code/oae/Hilary/node_modules/oae-activity/lib/internal/buckets.js:215:28
at /Users/Nicolaas/Desktop/ApereoOAE/Code/oae/Hilary/node_modules/oae-util/lib/locking.js:94:
4 failing
1) Emails Email configuration verify noreply from header:
Uncaught AssertionError: false == true
at /Users/Nicolaas/Desktop/ApereoOAE/Code/oae/Hilary/node_modules/oae-email/tests/test-email.js:393:36
at /Users/Nicolaas/Desktop/ApereoOAE/Code/oae/Hilary/node_modules/oae-email/lib/test/util.js:102:28
at allDone (/Users/Nicolaas/Desktop/ApereoOAE/Code/oae/Hilary/node_modules/oae-activity/lib/internal/email.js:169:20)
at /Users/Nicolaas/Desktop/ApereoOAE/Code/oae/Hilary/node_modules/oae-activity/lib/internal/buckets.js:119:16
at _collectBuckets (/Users/Nicolaas/Desktop/ApereoOAE/Code/oae/Hilary/node_modules/oae-activity/lib/internal/buckets.js:138:16)
at /Users/Nicolaas/Desktop/ApereoOAE/Code/oae/Hilary/node_modules/oae-activity/lib/internal/buckets.js:149:16
Running "mocha-hack:all" (mocha-hack) task
1) "before all" hook
2) "after all" hook
0 passing (3s)
2 failing
1) "before all" hook:
1) Content Content comments verify reply to comment (threaded):
Uncaught AssertionError: 9 == 10
at /Users/Nicolaas/Desktop/ApereoOAE/Code/oae/Hilary/node_modules/oae-content/tests/test-content.js:803:88
at Request._callback (/Users/Nicolaas/Desktop/ApereoOAE/Code/oae/Hilary/node_modules/oae-rest/lib/util.js:244:16)
at Request.self.callback (/Users/Nicolaas/Desktop/ApereoOAE/Code/oae/Hilary/node_modules/request/request.js:121:22)
at Request.EventEmitter.emit (events.js:98:17)
at Request.<anonymous> (/Users/Nicolaas/Desktop/ApereoOAE/Code/oae/Hilary/node_modules/request/request.js:985:14)
at Request.EventEmitter.emit (events.js:117:20)
at IncomingMessage.<anonymous> (/Users/Nicolaas/Desktop/ApereoOAE/Code/oae/Hilary/node_modules/request/request.js:936:12)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
[2014-05-19 16:42:22,174][DEBUG][action.search.type ] [Ikaris] [oae][4], node[nz0nA505RrWUlm4n7HES7A], [P], s[STARTED]: Failed to execute [org.elasticsearch.action.search.SearchRequest@32cdfb83] lastShard [true]
org.elasticsearch.search.SearchParseException: [oae][4]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"filtered":{"query":{"bool":{"should":[{"multi_match":{"fields":["q_high^2.0","q_low^0.75"],"query":"Nicolaas"}}],"minimum_should_match":1}},"filter":{"and":[{"and":[{"term":{"_type":"resource"}},{"terms":{"resourceType":["user","group"]}}]},{"or":[{"and":[{"or":[{"term":{"visibility":"public"}},{"and":[{"term":{"tenantAlias":"cam"}},{"or":[{"term":{"visibility":"loggedin"}},{"and":[{"term":{"resourceType":"group"}},{"terms":{"joinable":["yes","request"]}}]}]}]}]},{"terms":{"tenantAlias":["cam"]}},{"not":{"term":{"visibility":"private"}}}]},{"has_child":{"type":"resource_members","query":{"terms":{"direct_members":["u:cam:xyenE6BwdR"]}}}}]}]}}},"size":10,"sort":[{"_score":
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index 0e15689..3f4b4f3 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -235,7 +235,7 @@ http {
expires -1;
}
- rewrite ^/admin /admin/index.html last;
+ rewrite ^/admin$ /admin/index.html last;