Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Equipe 1 - Atividade 5 #348

Open
wants to merge 126 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
126 commits
Select commit Hold shift + click to select a range
88aeaf9
Definicao de cenários baseados na GUI e nos controladores
tiagonog Mar 30, 2015
5d435f7
Alteracao de cenários baseados na GUI e nos controladores
tiagonog Mar 30, 2015
38e9aa0
New scenarios added:
RomeroBarata Mar 30, 2015
6433722
Merge remote-tracking branch 'origin/dev' into dev
RomeroBarata Mar 30, 2015
a3fa14d
Atividade 3
luisdelgado Mar 31, 2015
338f8c8
Atividade 3:
luisdelgado Mar 31, 2015
dd75fc9
Adicionados novos scenarios a feature Reports
Mar 31, 2015
2681a87
Update Conferencia.feature
Mar 31, 2015
6740394
New Scenarios Conferencia.feature
almeidaeduardo Mar 31, 2015
93acd30
Modificações nos cenários da feature reports
PauloLuna Mar 31, 2015
06e9ffe
Pequenas mudanças e adição de novos cenários para Conferência
Apr 3, 2015
dbb0f39
Pequenas modificações nos cenários em comformidade com os comentários…
Apr 4, 2015
fcf961c
Correcao de cenários em XMLImport
tiagonog Apr 15, 2015
e0f5256
Correcao de cenários em XMLImport
tiagonog Apr 18, 2015
39e3937
Implementacao de testes em XMLImport
tiagonog Apr 18, 2015
e41e8c3
Arquivo para execucao de testes
tiagonog Apr 18, 2015
7e123d6
Ajuste de erro
tiagonog Apr 18, 2015
1be3b45
Correção dos cenários
Apr 19, 2015
41bcb5b
Update Conferencia.feature
Apr 19, 2015
37f62e9
Cenários corrigidos e duas GUIs criadas, pelo fato que não existe cen…
fmcs3 Apr 19, 2015
bed6a6c
Update ConferenciaSteps.groovy
Apr 19, 2015
264898b
Removendo Classe Não Usada
fmcs3 Apr 19, 2015
5d913d7
Merge branch 'dev2' of https://github.com/tiagonog/rgms into dev2
fmcs3 Apr 19, 2015
7c883b1
Cenários corrigidos e duas GUIs criadas, pelo fato que não existe cen…
fmcs3 Apr 19, 2015
eb26cb9
Cenários corrigidos e duas GUIs criadas, pelo fato que não existe cen…
fmcs3 Apr 19, 2015
a151b38
Cenários corrigidos e duas GUIs criadas, pelo fato que não existe cen…
fmcs3 Apr 19, 2015
a08c9e4
Cenários corrigidos e duas GUIs criadas, pelo fato que não existe cen…
fmcs3 Apr 19, 2015
e178ca5
Mudanças em ResearchGroupCreatePage e ResearchGroupListPage
fmcs3 Apr 19, 2015
2fde2d6
- A few modifications on BibtexGenerateFile.feature to comply with Th…
RomeroBarata Apr 19, 2015
50d3540
Merge remote-tracking branch 'origin/dev2' into dev2
RomeroBarata Apr 19, 2015
afaf258
Atividade 5:
luisdelgado Apr 19, 2015
631e737
scenario update
almeidaeduardo Apr 19, 2015
f1b8dea
Update ConferenceSteps
almeidaeduardo Apr 19, 2015
492a125
Merge remote-tracking branch 'origin/dev2' into dev2
luisdelgado Apr 19, 2015
47e38d2
Merge remote-tracking branch 'origin/dev2' into dev2
luisdelgado Apr 19, 2015
b3537ac
modification of scenarios and tests about gui
Apr 20, 2015
7e9dfa6
testes atividade2
PauloLuna Apr 21, 2015
8c98be9
Reorganized the BibTexGenerateFileStesp.groovy because the commits fr…
RomeroBarata Apr 25, 2015
f39164e
Implementacao da Feature "Tolerancia para deteccao de dissertacoes co…
tiagonog May 2, 2015
13eca27
Update ConferenceSteps
almeidaeduardo May 2, 2015
f3ae3eb
Correcao de testes em XMLImport
tiagonog May 2, 2015
5ed146e
- Fixed a few scenarios so they now reflect better how the tests are …
RomeroBarata May 3, 2015
5a457f9
Merge remote-tracking branch 'origin/dev3' into dev3
RomeroBarata May 3, 2015
87e4363
Implementação em ReserachGroup Controller
fmcs3 May 3, 2015
b52317e
Merge remote-tracking branch 'origin/dev3' into dev3
fmcs3 May 3, 2015
a2fb731
Atividade 6:
luisdelgado May 3, 2015
8c5a7da
Merge remote-tracking branch 'origin/dev3' into dev3
luisdelgado May 3, 2015
c965965
Arquivo necessario para testes
tiagonog May 3, 2015
d7144b7
Arquivo necessario para testes
tiagonog May 3, 2015
35e46a0
Merge branch 'dev3' of https://github.com/tiagonog/rgms into dev3
tiagonog May 3, 2015
d4db8cf
Update ConferenceSteps
almeidaeduardo May 3, 2015
7c9bb76
Complemento da atividade 6 que não foi comitado no prazo por bug do I…
luisdelgado May 5, 2015
2abe3d7
Merge branch 'dev3' of https://github.com/tiagonog/rgms into dev3
luisdelgado May 5, 2015
45b6ef6
Retorno dos reportes para a feature ResearchGroup
PauloLuna May 7, 2015
1fae15b
Definicao de cenários baseados na GUI e nos controladores
tiagonog May 15, 2015
3c5d58b
Segunda Iteração: testando o "dev" destino.
luisdelgado May 21, 2015
f21c906
[#94150690]Implementação do teste de 'List existing books by title in…
luisdelgado May 23, 2015
7a60e16
[#94149856]
almeidaeduardo May 23, 2015
696c86b
[#94150036]
almeidaeduardo May 23, 2015
b1e1d42
[#94149866]
almeidaeduardo May 23, 2015
c6c2158
[#94149964]
almeidaeduardo May 23, 2015
0e6c65d
[#94149856]
almeidaeduardo May 23, 2015
f884d67
[completed #94150690]Finalização da implementação do teste de 'List e…
luisdelgado May 23, 2015
21a76fc
[#94150004] Scenario definition
RomeroBarata May 23, 2015
bc950ac
Merge remote-tracking branch 'origin/dev4' into dev4
RomeroBarata May 23, 2015
fde9d72
[#94150004] Scenario definition:
RomeroBarata May 23, 2015
3c9c617
[#94150004] Steps definition:
RomeroBarata May 23, 2015
b366483
[completed #94150004] Tests passed.
RomeroBarata May 24, 2015
4fa06e2
[#94150600] Scenario definition:
RomeroBarata May 24, 2015
146ff86
[#94574798]Cenario já está funcional, falta apenas consertar o teste
fmcs3 May 24, 2015
f14f754
Merge remote-tracking branch 'origin/dev4' into dev4
fmcs3 May 24, 2015
f93c10a
[#94150600] Steps definition:
RomeroBarata May 24, 2015
093af3f
Merge remote-tracking branch 'origin/dev4' into dev4
RomeroBarata May 24, 2015
a2274d2
[completed#94150600] Tests passed.
RomeroBarata May 24, 2015
b28f9af
[#94575074]Corrigindo bugs nos controllers e views para a implementaç…
fmcs3 May 24, 2015
f0d0517
Merge remote-tracking branch 'origin/dev4' into dev4
fmcs3 May 24, 2015
17601b8
[#94150610] Scenario definition:
RomeroBarata May 24, 2015
5c7e54f
Merge remote-tracking branch 'origin/dev4' into dev4
RomeroBarata May 24, 2015
4411419
[completed#94150610] Steps definition:
RomeroBarata May 24, 2015
88c365f
[#94575074]Cenários e Testes adicionados
fmcs3 May 24, 2015
29d3798
Merge remote-tracking branch 'origin/dev4' into dev4
fmcs3 May 24, 2015
9da81ae
[completed #95334800]Finalização do problema que surgiu na tarefa [#9…
luisdelgado May 25, 2015
938b175
Merge
luisdelgado May 25, 2015
e559a6d
[#94149214]Implementação do teste: "List existing book web".
luisdelgado May 26, 2015
dc5ddca
[#94150868]Implementação do teste: "Filter existing books by author".
luisdelgado May 26, 2015
678a55b
[completed #94150868]Finalização da implementação do cenário: "Filter…
luisdelgado May 26, 2015
19b3733
[completed #94149214]Finalização da implementação do cenário: "List e…
luisdelgado May 26, 2015
9923f01
[#94149240]Implementação do teste: "Post an existing book on facebook…
luisdelgado May 26, 2015
1e20a73
[#94575156]Cenarios , Teste implementados
fmcs3 May 26, 2015
a308e54
Merge remote-tracking branch 'origin/dev4' into dev4
fmcs3 May 26, 2015
6d5ccc1
[#94149856] Teste de "Search conference articles by Author web"
almeidaeduardo May 26, 2015
9a67c1e
[#94150036] Teste para "Remove conference article that does not exist"
almeidaeduardo May 26, 2015
63addfe
[completed #94149240]Finalização da implementação do cenário: "Post a…
luisdelgado May 26, 2015
2e26a77
Merge remote-tracking branch 'origin/dev4' into dev4
luisdelgado May 26, 2015
9d976e7
[#94149866] Teste para "Search for conferences which an Author have p…
almeidaeduardo May 26, 2015
653ce1e
[completed #94151116] Block orientation registry after similarity ana…
tiagonog May 27, 2015
68092ce
[completed #94151692] Show a successful message when the tolerance le…
tiagonog May 27, 2015
276a906
[completed #94151054] Allow orientation registry after similarity ana…
tiagonog May 27, 2015
7a429b0
[#95303030][#95302992][#95303018][#95303000] Modificações nos cenário…
PauloLuna May 28, 2015
8bb2c32
Repondo cenários retirados incorretamente
PauloLuna May 28, 2015
ea17318
Terceira Iteração: testando o "dev" destino.
luisdelgado Jun 16, 2015
58ecae5
[completed #97142972]Finalização da reparação de bugs em cenário: "li…
luisdelgado Jun 16, 2015
74e14d1
[#94149240]Implementação de código de: "post an existing book on face…
luisdelgado Jun 17, 2015
113f45c
[#94149240]Definição do cenário de: "post an existing book on faceboo…
luisdelgado Jun 19, 2015
0b6aa5c
[#94149240]Definição do cenário de: "post an existing book on faceboo…
luisdelgado Jun 19, 2015
72d49d2
[#94149240]Implementação do teste de: "post an existing book on faceb…
luisdelgado Jun 19, 2015
55d8684
[completed #94149240]Finalização da implementação do cenário de: "pos…
luisdelgado Jun 19, 2015
54ed405
[completed #97352808]Finalização de: "Desfazendo alteração indesejada".
luisdelgado Jun 19, 2015
15f8c1d
[completed #94150856] Block journal article registry after similarity…
tiagonog Jun 23, 2015
5bb1484
[completed #94150952] Allow journal article registry after similarity…
tiagonog Jun 23, 2015
d41b4a5
[#94149230]Implementação de código de: "add a new book tweeting it web".
luisdelgado Jun 24, 2015
0842f61
Merge remote-tracking branch 'origin/dev5' into dev5
luisdelgado Jun 24, 2015
dca750c
[#94149230]Definição do cenário de: "add a new book tweeting it web".
luisdelgado Jun 24, 2015
b3a6963
[#94149230]Implementação do teste de: "add a new book tweeting it web".
luisdelgado Jun 24, 2015
186ec80
[completed #94149230]Finalização da implementação do cenário de: "add…
luisdelgado Jun 24, 2015
e549397
[completed #97723112]Finalização da "Reparação de bugs".
luisdelgado Jun 24, 2015
38f5c9b
[#94150888]Definição do cenário de: "remove multiple books".
luisdelgado Jun 25, 2015
9f3f45e
[#94150888]Implementação de código de: "remove multiple books".
luisdelgado Jun 25, 2015
f2a639c
[#94150888]Implementação do teste de: "remove multiple books".
luisdelgado Jun 25, 2015
4ef8193
[completed #94150888]Finalização da implementação do cenário de: "rem…
luisdelgado Jun 25, 2015
39b031c
[completed #97164546] Analyze, identify and perform refactoring in co…
tiagonog Jun 26, 2015
e72a663
Merge branch 'dev5' of https://github.com/tiagonog/rgms into dev5
tiagonog Jun 26, 2015
13d3861
[#94149184]Refatoração de código: análise estática
luisdelgado Jun 26, 2015
61573c7
Merge remote-tracking branch 'origin/dev5' into dev5
luisdelgado Jun 26, 2015
b86373a
[#94149184]Refatoração de código: análise estática
luisdelgado Jun 26, 2015
ade7e02
[completed #94149184]Finalização da Refatoração de código.
luisdelgado Jun 26, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions grails-app/conf/BuildConfig.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ grails.project.dependency.resolution = {
grailsHome()
grailsCentral()
mavenCentral()

//mavenRepo "http://repo.grails.org/grails/plugins"
// uncomment these to enable remote dependency resolution from public Maven repositories
//mavenCentral()
//mavenLocal()
Expand All @@ -46,7 +46,7 @@ grails.project.dependency.resolution = {
compile('lib:itext-pdfa:5.4.0')
compile('lib:itext-xtra:5.4.0')
compile('lib:twitter4j-core:4.0.1')

//compile('commons-codec:commons-codec:1.6')
compile(group: 'org.apache.poi', name: 'poi', version: '3.7') {
excludes 'xmlbeans'
}
Expand Down
34 changes: 34 additions & 0 deletions grails-app/controllers/rgms/member/ResearchGroupController.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ class ResearchGroupController {

def save() {
def researchGroupInstance = new ResearchGroup(params)

/* Checando Caracteres Não Permitidos Nos Nomes*/
allowedChar(researchGroupInstance)

//#if($researchGroupHierarchy)
try {
validarChildOf(researchGroupInstance, researchGroupInstance.getChildOf())
Expand Down Expand Up @@ -266,4 +270,34 @@ class ResearchGroupController {
researchGroupInstance.save()
redirect(action: "show", id: researchGroupInstance.id)
}

def allowedChar(researchGroupInstance) {
def caracteres = ['#','%','*','@','!','$','¨','(',')','-','=']

boolean pesquisa
pesquisa = false

/* Procurando Caracteres não permitidos */
for (x in caracteres){
for (y in researchGroupInstance.name){
if(x == y)
pesquisa = true;
}

for (y in researchGroupInstance.twitter){
if(x == y)
pesquisa = true;
}

for (y in researchGroupInstance.sigla){
if(x == y)
pesquisa = true;
}
} /* Fim for */

/* Checando se foi achado caracteres não permitidos */
if (pesquisa){
throw new RuntimeException("Não é possível registrar um grupo com Caracteres Especiais!")
}
} /* Fim allowedChar method*/
}
21 changes: 21 additions & 0 deletions grails-app/controllers/rgms/publication/AuxiliarController.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,26 @@ class AuxiliarController {
}
}
}

def deleteMultiples(Object id1, Publication publicationInstance1, String label, String classe, Object id2, Publication publicationInstance2 ) {
boolean isReturned1 = check(id1, publicationInstance1, label, classe);
boolean isReturned2 = check(id2, publicationInstance2, label, classe);
if(!(isReturned1 && isReturned2)) {
try {
publicationInstance1.removeFromPublications()
publicationInstance2.removeFromPublications()
publicationInstance1.delete(flush: true)
publicationInstance2.delete(flush: true)
flash.message1 = message(code: 'default.deleted.message', args: [message(code: label, default: classe), id1])
flash.message2 = message(code: 'default.deleted.message', args: [message(code: label, default: classe), id2])
redirect(action: "list")
}
catch (DataIntegrityViolationException e) {
flash.message1 = message(code: 'default.not.deleted.message', args: [message(code: label, default: classe), id1])
flash.message2 = message(code: 'default.not.deleted.message', args: [message(code: label, default: classe), id2])
redirect(action: "show", id: id)
}
}
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package rgms.publication

/**
* Created by Luís Delgado on 02/05/15.
*/
class BibTexMainMenuController {

def index() {

}

def list = {
}

}
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
package rgms.publication

import cucumber.runtime.PendingException
import rgms.authentication.User
import rgms.member.Member
import rgms.member.Membership
import rgms.member.ResearchGroup
import rgms.publication.Periodico

/**
* Created with IntelliJ IDEA.
Expand Down Expand Up @@ -32,7 +34,9 @@ class BibtexGenerateFileController {
else
userMemberList.add([member:i])
}
[researchGroupInstanceList: ResearchGroup.list(params), researchGroupInstanceTotal: ResearchGroup.count(), userMemberInstance: userMemberList, userMemberInstanceTotal: userMemberList.size() ]
[researchGroupInstanceList: ResearchGroup.list(params), researchGroupInstanceTotal: ResearchGroup.count(),
userMemberInstance: userMemberList, userMemberInstanceTotal: userMemberList.size(),
periodicoInstanceList: Periodico.list(params), periodicoInstanceTotal: Periodico.count()]
}

def generateBibTex = {
Expand Down Expand Up @@ -71,4 +75,20 @@ class BibtexGenerateFileController {
render(bibtex)
}

def generateBibtexPeriodico = {
long articleId = (params.id).toLong()

String bibtex = generateBibtexArticle(articleId)

render (bibtex)
}

def generateBibtexArticle (long articleId) {
String bibtex = ""
def periodico = Periodico.findById(articleId)
bibtex = bibtex + periodico.generateBib()

return bibtex
}

}
15 changes: 15 additions & 0 deletions grails-app/controllers/rgms/publication/BookController.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,19 @@ class BookController {
def bookInstance = Book.get(id)
aux.delete(id, bookInstance, 'book.label', 'Book');
}

def List<Book> filterByAuthor(Integer max, String authorName) {
def List<Book> book = new ArrayList<>()
params.max = Math.min(max ?: 10, 100)
if (params["authors"] == authorName) {
book << [bookInstanceList: Book.list(params)]
}
return book
}

def deleteMultiples(Long id1, Long id2) {
def bookInstance1 = Book.get(id1)
def bookInstance2 = Book.get(id2)
aux.deleteMultiples(id1, bookInstance1, 'book.label', 'Book', id2, bookInstance2);
}
}
47 changes: 46 additions & 1 deletion grails-app/controllers/rgms/publication/XMLController.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@ import rgms.member.Member
*/
class XMLController {

static int similarityTolerance = 0

def home() {}

def upload() {
setSimilarityTolerance(Integer.parseInt(params.tolerance))
String flashMessage = 'Publications imported!'
String controller = "Publication"
if (!XMLService.Import(savePublication, returnWithMessage, flashMessage, controller, request))
if (!XMLService.Import(savePublication, returnWithMessage, flashMessage, controller, request, similarityTolerance))
return
}

Expand Down Expand Up @@ -95,6 +98,31 @@ class XMLController {
XMLService.createDissertations(xmlFile)
}

private Closure saveDissertationsWithSimilarityAnalisys = {
Node xmlFile ->
XMLService.createDissertationsWithSimilarityAnalysis(xmlFile, similarityTolerance)
}

private Closure saveOrientationsWithSimilarityAnalisys = {
Node xmlFile ->
XMLService.createOrientationsWithSimilarityAnalysis(xmlFile, similarityTolerance)
}

def boolean verifyDissertations(String title, Node xmlFile)
{
return XMLService.verifyDissertations(title, xmlFile)
}

def boolean verifyOrientations(String title, Node xmlFile)
{
return XMLService.verifyOrientations(title, xmlFile)
}

def boolean verifyJournals(String title, Node xmlFile)
{
return XMLService.verifyJournals(title, xmlFile)
}

def enviarConferenciaXML() {
String flashMessage = message(code: 'default.importedMsg.message')

Expand Down Expand Up @@ -133,6 +161,11 @@ class XMLController {
XMLService.createJournals(xmlFile)
}

private Closure saveJournalsWithSimilarityAnalysis = {
Node xmlFile ->
XMLService.createJournalsWithSimilarityAnalysis(xmlFile,similarityTolerance)
}

def uploadMemberXML() {
String flashMessage = 'XML data extracted. Complete the remaining fields'

Expand Down Expand Up @@ -163,4 +196,16 @@ class XMLController {
User user = User.findByUsername(SecurityUtils.getSubject()?.getPrincipal().toString())
return user?.author
}

def setSimilarityTolerance(int value)
{
similarityTolerance = value;
}

int getSimilarityToleranec()
{
return similarityTolerance;
}


}
17 changes: 17 additions & 0 deletions grails-app/controllers/rgms/tool/Levenshtein.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package rgms.tool

class Levenshtein {
def static int distance(String str1, String str2) {
def str1_len = str1.length()
def str2_len = str2.length()
int[][] distance = new int[str1_len + 1][str2_len + 1]
(str1_len + 1).times { distance[it][0] = it }
(str2_len + 1).times { distance[0][it] = it }
(1..str1_len).each { i ->
(1..str2_len).each { j ->
distance[i][j] = [distance[i-1][j]+1, distance[i][j-1]+1, str1[i-1]==str2[j-1]?distance[i-1][j-1]:distance[i-1][j-1]+1].min()
}
}
distance[str1_len][str2_len]
}
}
11 changes: 11 additions & 0 deletions grails-app/controllers/rgms/tool/TwitterTool.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,15 @@ public class TwitterTool{
twitterFound?.status != 0
}

static public boolean consultForBook(String bookName) {
println "consult="+bookName
def twitterFound = twittersHistory.find { bookNameTwitter ->
bookNameTwitter.bookName == bookName
}
if (twitterFound != null){
return false
}
twitterFound?.status != 0
}

}
4 changes: 3 additions & 1 deletion grails-app/domain/rgms/member/ResearchGroup.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ class ResearchGroup {
String name
String description
String twitter
String sigla

//#if($researchGroupHierarchy)
ResearchGroup childOf;
Expand All @@ -15,9 +16,10 @@ class ResearchGroup {
static hasMany = [memberships: Membership, news: News]

static constraints = {
name(maxSize: 10, blank: false, unique: true)
name(maxSize: 15, blank: false, unique: true)
description(maxSize: 1000, blank: false)
twitter(nullable: true)
sigla(maxSize: 10, blank: true, unique: true)

//#if($researchGroupHierarchy)
childOf(nullable: true, blank: true)
Expand Down
11 changes: 11 additions & 0 deletions grails-app/domain/rgms/publication/BibTexMainMenu.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package rgms.publication

/**
* Created by Luís Delgado on 02/05/15.
*/
class BibTexMainMenu {

static constraints = {
}

}
11 changes: 9 additions & 2 deletions grails-app/domain/rgms/publication/BibtexAux.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,15 @@ class BibtexAux {

static String organizeAuthors(Set<Member> members) {
def returning = ""
for (Member member : members) {
returning = returning + member.name + " and "
int count = 0;
for (Member member : members.iterator()) {
returning = returning + member.name
count = count + 1

/* Tomando cuidado para não adicionar um and depois do último autor*/
if (count < members.size()) {
returning = returning + " and "
}
}
return returning.substring(0, returning.length())
}
Expand Down
2 changes: 2 additions & 0 deletions grails-app/domain/rgms/publication/BibtexGenerateFile.groovy
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package rgms.publication

import cucumber.runtime.PendingException
import rgms.member.Member

/**
Expand Down Expand Up @@ -31,4 +32,5 @@ class BibtexGenerateFile {
}
return publicationsFiltered
}

}
3 changes: 3 additions & 0 deletions grails-app/i18n/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ orientation.same.members=Um membro nao pode orientar a si mesmo
default.xml.parserror.message=No file uploaded or it wasn't a valid XML
default.xml.structure.message=The XML struct doesn't comply with Lattes
default.xml.unknownerror.message=An unknown error occurred. Contact the administrator
default.xml.similar.dissertation.message = The file was not imported because there is a dissertation with a similar title registered
default.xml.similar.orientation.message = The file was not imported because there is a orientation with a similar title registered
default.xml.similar.journal.message = The file was not imported because there is a journal with a similar title registered
xml.label=XMLImport

file.already.exist.message=A file has already been saved with the same name
Expand Down
3 changes: 3 additions & 0 deletions grails-app/i18n/messages_pt_BR.properties
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ tese.month.label=Mês
tese.arquivo.label=Arquivo
tese.label=Tese
tese.duplicatetitle.failure = Tese não cadastrada porque já existe uma tese com o mesmo título
default.xml.similar.dissertation.message = O arquivo não foi importado porque existe uma dissertação com um título semelhante registrada
default.xml.similar.orientation.message = O arquivo não foi importado porque existe uma orientação com um título semelhante registrada
default.xml.similar.journal.message = O arquivo não foi importado porque existe um periódico com um título semelhante registrado
#end

#if($news)
Expand Down
Loading