forked from sakaiproject/sakai
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SAM-3115 Tags and search in Samigo (sakaiproject#4090)
- Loading branch information
1 parent
ed54555
commit 809632b
Showing
184 changed files
with
11,985 additions
and
599 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4767,3 +4767,35 @@ | |
|
||
# The email address that will receive the confirmation mails from the import jobs (by default uses the defined in portal.error.email) | ||
#[email protected] | ||
|
||
#SAMIGO | ||
|
||
|
||
#show the search question option in the question creation page (default is false) | ||
#This needs elasticsearch service working | ||
#samigo.question.show.showSearchQuestion=false | ||
|
||
#Limit the max number of search results to appear in the search question (50 by default) | ||
#samigo.search.maxResults=50 | ||
|
||
|
||
#Allow the use of tags in samigo in the authoring part(default is false) | ||
#samigo.author.usetags=false | ||
|
||
#Allows the instructors to delete tags from a question. (default is true) | ||
#samigo.author.allowDeleteTags=false | ||
|
||
#Allow the display of tags in the grading part (default is false) | ||
#samigo.evaluation.usetags=false | ||
|
||
|
||
#MULTI-TAGS PROPERTIES | ||
#If true, the tags will be updated in all the questions identical to the one edited (same hash). (default is false) | ||
#If this is enabled, it has preference over the value in samigo.author.multitag.singlequestion.check, so no check will appear to the user and the tags will be updated in any case. (Note: The admin user will always view the check) | ||
#samigo.author.multitag.singlequestion=false | ||
|
||
#If true, the tags will be updated in all the questions identical to the one edited (same hash) based on a check in the interface. (default is false) | ||
#If samigo.author.multitag.singlequestion is true it has preference over this one, so the check won't appear to the user and the saving in all the same hash questions will happen always. | ||
#If both samigo.author.multitag.singlequestion and samigo.author.multitag.singlequestion.check are false, | ||
# the tags will be independent in every question and saving one question won’t affect any other question. | ||
#samigo.author.multitag.singlequestion.check=false |
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
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
52 changes: 52 additions & 0 deletions
52
.../samigo-api/src/java/org/sakaiproject/tool/assessment/data/ifc/assessment/ItemTagIfc.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/********************************************************************************** | ||
* $URL$ | ||
* $Id$ | ||
*********************************************************************************** | ||
* | ||
* Copyright (c) 2004, 2005, 2006, 2008 The Sakai Foundation | ||
* | ||
* Licensed under the Educational Community License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.opensource.org/licenses/ECL-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
**********************************************************************************/ | ||
|
||
package org.sakaiproject.tool.assessment.data.ifc.assessment; | ||
|
||
import java.io.Serializable; | ||
|
||
public interface ItemTagIfc extends Serializable { | ||
|
||
Long getId(); | ||
|
||
void setId(Long id); | ||
|
||
ItemDataIfc getItem(); | ||
|
||
void setItem(ItemDataIfc item); | ||
|
||
String getTagId(); | ||
|
||
void setTagId(String tagId); | ||
|
||
String getTagLabel(); | ||
|
||
void setTagLabel(String tagLabel); | ||
|
||
String getTagCollectionId(); | ||
|
||
void setTagCollectionId(String tagCollectionId); | ||
|
||
String getTagCollectionName(); | ||
|
||
void setTagCollectionName(String tagCollectionName); | ||
|
||
} |
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
15 changes: 15 additions & 0 deletions
15
...o/samigo-api/src/java/org/sakaiproject/tool/assessment/entity/api/ItemEntityProvider.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package org.sakaiproject.tool.assessment.entity.api; | ||
|
||
import org.sakaiproject.entitybroker.entityprovider.EntityProvider; | ||
|
||
/** | ||
* Entity Provider for samigo Item | ||
* | ||
* @author Unicon | ||
* | ||
*/ | ||
public interface ItemEntityProvider extends EntityProvider { | ||
|
||
public final static String ENTITY_PREFIX = "sam_item"; | ||
|
||
} |
15 changes: 15 additions & 0 deletions
15
...api/src/java/org/sakaiproject/tool/assessment/entity/api/PublishedItemEntityProvider.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package org.sakaiproject.tool.assessment.entity.api; | ||
|
||
import org.sakaiproject.entitybroker.entityprovider.EntityProvider; | ||
|
||
/** | ||
* Entity Provider for samigo Item | ||
* | ||
* @author Unicon | ||
* | ||
*/ | ||
public interface PublishedItemEntityProvider extends EntityProvider { | ||
|
||
public final static String ENTITY_PREFIX = "sam_publisheditem"; | ||
|
||
} |
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.