This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* This file is part of the AccesstoMemory (AtoM) software. | |
* | |
* AccesstoMemory (AtoM) is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU Affero General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2013-09-23 15:37:51,889][DEBUG][action.search.type ] [Yondu] [atom_ac][0], node[T3LAqKwrSmKghpM5t4oByQ], [P], s[STARTED]: Failed to execute [org.elasticsearch.action.search.SearchRequest@1c5a536e] | |
org.elasticsearch.search.SearchParseException: [atom_ac][0]: query[+_all:photographs +ancestors:[74063 TO 74063]],from[-1],size[10]: Parse Failure [Failed to parse source [{"size":"10","facets":{"levels":{"facet_filter":{"bool":{"must":[{"term":{"i18n.languages":"en"}}]}},"terms":{"field":"levelOfDescriptionId","size":10}},"mediatypes":{"facet_filter":{"bool":{"must":[{"term":{"i18n.languages":"en"}}]}},"terms":{"field":"digitalObject.mediaTypeId","size":10}},"digitalobjects":{"query":{"term":{"hasDigitalObject":true}},"facet_filter":{"bool":{"must":[{"term":{"i18n.languages":"en"}}]}}},"repos":{"facet_filter":{"bool":{"must":[{"term":{"i18n.languages":"en"}}]}},"terms":{"field":"repository.id","size":10}},"places":{"facet_filter":{"bool":{"must":[{"term":{"i18n.languages":"en"}}]}},"terms":{"field":"places.i |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
radawi@ubuntu:~/www/atom-ac$ git diff | |
diff --git a/apps/qubit/modules/default/actions/moveAction.class.php b/apps/qubi | |
index b5f189f..fb17f24 100644 | |
--- a/apps/qubit/modules/default/actions/moveAction.class.php | |
+++ b/apps/qubit/modules/default/actions/moveAction.class.php | |
@@ -96,26 +96,57 @@ class DefaultMoveAction extends sfAction | |
} | |
$this->parent = QubitObject::getBySlug($this->form->parent->getValue()); | |
- $query = QubitSearch::getInstance()->addTerm($this->parent->slug, 'parent') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
radawi@ubuntu:~/www/atom-ac$ git diff | |
diff --git a/plugins/arElasticSearchPlugin/lib/model/arElasticSearchInformationObjectPdo.class.php b/plugins/arElasticSearchPlugin/lib/model/arElast | |
index 0b5fca9..0ead496 100644 | |
--- a/plugins/arElasticSearchPlugin/lib/model/arElasticSearchInformationObjectPdo.class.php | |
+++ b/plugins/arElasticSearchPlugin/lib/model/arElasticSearchInformationObjectPdo.class.php | |
@@ -840,7 +840,7 @@ class arElasticSearchInformationObjectPdo | |
} | |
// Dates | |
- $dates = $this->getDates('array'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
radawi@ubuntu:~/www/atom$ git diff | |
diff --git a/plugins/sfSearchPlugin/lib/log/xfLoggerTask.class.php b/plugins/sfSearchPlugin/lib/log/xfLoggerTask.class.php | |
index 6b65897..11740c5 100644 | |
--- a/plugins/sfSearchPlugin/lib/log/xfLoggerTask.class.php | |
+++ b/plugins/sfSearchPlugin/lib/log/xfLoggerTask.class.php | |
@@ -47,21 +47,27 @@ final class xfLoggerTask implements xfLogger | |
*/ | |
public function log($message, $section = 'sfSearch') | |
{ | |
- $message = preg_replace_callback('/"(.+?)"/', function($matches) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
radawi@ubuntu:~/www/atom$ git diff | |
diff --git a/qubit_dev.php b/qubit_dev.php | |
index 782d49e..349fd66 100644 | |
--- a/qubit_dev.php | |
+++ b/qubit_dev.php | |
@@ -12,7 +12,7 @@ if (false !== $envIp = getenv('ATOM_DEBUG_IP')) | |
if (!in_array(@$_SERVER['REMOTE_ADDR'], $allowedIps)) | |
{ | |
- die('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Update cultures for organizational elements (Document types) | |
foreach (array( | |
'(A) Agendas' => '(A) Ordres du jour', | |
'(D) Documents' => '(D) Documents', | |
'(M) Memoranda' => '(M) Memoranda', | |
'(N) Notes' => '(N) Notes', | |
'(R) Records' => '(R) Comptes rendus', | |
'(VR) Verbatim Records' => '(VR) Comptes rendus textuels', | |
'(WP) Working Papers' => '(WP) Documents de travail') as $en => $fr) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Add root term as parent for terms without it | |
$sql = sprintf("UPDATE %s | |
SET parent_id = ? | |
WHERE parent_id IS NULL | |
AND id != ?;", QubitTerm::TABLE_NAME); | |
QubitPdo::modify($sql, array(QubitTerm::ROOT_ID, QubitTerm::ROOT_ID)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
88 Connect root@localhost on atom_2 | |
88 Query SET NAMES 'utf8' | |
88 Query SELECT COUNT(*) FROM `setting` WHERE setting.NAME='plugins' | |
88 Query SELECT setting.NAME, setting.SCOPE, setting.EDITABLE, setting.DELETEABLE, setting.SOURCE_CULTURE, setting.ID, setting.SERIAL_NUMBER FROM `setting` WHERE setting.NAME='plugins' | |
88 Query SELECT setting_i18n.VALUE, setting_i18n.ID, setting_i18n.CULTURE FROM `setting_i18n` WHERE setting_i18n.ID='1' | |
88 Query SELECT value | |
FROM setting JOIN setting_i18n ON setting.id = setting_i18n.id | |
WHERE scope = "default_template" AND name = 'informationobject' | |
88 Query SELECT COUNT(*) FROM `user`, `actor`, `object` WHERE user.ID='115215' AND actor.ID=object.ID AND user.ID=actor.ID | |
88 Query SELECT object.CLASS_NAME, object.CREATED_AT, object.UPDATED_AT, object.ID, object.SERIAL_NUMBER, actor.ID, actor.CORPORATE_BODY_IDENTIFIERS, actor.ENTITY_TYPE_ID, actor.DESCRIPTION_STATUS_ID, actor.DESCRIPTION_DETAIL_ID, actor.DESCRIPTION_ID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
92 Connect root@localhost on atom_2 | |
92 Query SET NAMES 'utf8' | |
92 Query SELECT COUNT(*) FROM `setting` WHERE setting.NAME='plugins' | |
92 Query SELECT setting.NAME, setting.SCOPE, setting.EDITABLE, setting.DELETEABLE, setting.SOURCE_CULTURE, setting.ID, setting.SERIAL_NUMBER FROM `setting` WHERE setting.NAME='plugins' | |
92 Query SELECT setting_i18n.VALUE, setting_i18n.ID, setting_i18n.CULTURE FROM `setting_i18n` WHERE setting_i18n.ID='1' | |
92 Query SELECT COUNT(*) FROM `user`, `actor`, `object` WHERE user.ID='115215' AND actor.ID=object.ID AND user.ID=actor.ID | |
92 Query SELECT object.CLASS_NAME, object.CREATED_AT, object.UPDATED_AT, object.ID, object.SERIAL_NUMBER, actor.ID, actor.CORPORATE_BODY_IDENTIFIERS, actor.ENTITY_TYPE_ID, actor.DESCRIPTION_STATUS_ID, actor.DESCRIPTION_DETAIL_ID, actor.DESCRIPTION_IDENTIFIER, actor.SOURCE_STANDARD, actor.PARENT_ID, actor.LFT, actor.RGT, actor.SOURCE_CULTURE, user.ID, user.USERNAME, user.EMAIL, user.SHA1_PASSWORD, user.SALT, user.ACTIVE FROM ` |
OlderNewer