Skip to content

Commit

Permalink
restoring files
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillermo Barco Muñoz committed Dec 29, 2016
1 parent 989dead commit c36cb24
Show file tree
Hide file tree
Showing 2 changed files with 166 additions and 0 deletions.
134 changes: 134 additions & 0 deletions src/main/install/config/autentia.properties
@@ -0,0 +1,134 @@
#
# TNTConcept Easy Enterprise Management by Autentia Real Bussiness Solution S.L.
# Copyright (C) 2007 Autentia Real Bussiness Solution S.L.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

# Uploaded files path
# Unix version -
pathFicheros=/var/lib/tntconcept/upload
# Windows version - pathFicheros=c:/tntconcept/upload

# Personal report path
# Unix version -
pathReports=/var/lib/projects/tntconcept/reports
# Windows version - pathReports=c:/tntconcept/reports/

# Id of public category of bulletin board. Messages of this category will be shown in login page.
idPublicCategory=1

# Id of our company
idOurCompany=1

# Configuration of the email sender service
# mail.host = smtp.mycompany.com
# mail.port = 25
# mail.username = admin@mycompany.com
# mail.password = admin@mycompany.com_password
# mail.requiresAuth = true
# mail.commissioning.mailSubject = Envio de pedidos
# mail.commissioning.mailBody = Se envia adjunto el documento con el pedido.\n\nUn saludo

# List of space-separated email to send holidays requests
# mail.sendto.holiday.approvers = admin@mycompany.com


# Number of child objectives that will be created per expired objective
childObjectivesCount=3
minChildObjectivesCount=2
maxChildObjectivesCount=5

# Id of quality documents main category.
qualityDocumentCategoryId=1

# Get the number of days before a category is considered as updated
updatedCategoryDays=5

# Id of user documents main category.
userDocumentCategoryId=4

# account entry groups ids.
incomeId= 1
costId = 2
initialEntryId = 4

# Id of roles
roleAdminId=1
roleSupervisorId=2
roleUserId=3
roleStaffId=4
roleClientId=5
roleProjectManagerId=6

# Class validators
identityCardValidator=com.autentia.tnt.validator.NifValidator
moneyValidator=com.autentia.tnt.validator.EuroValidator
accountEntryValidator=com.autentia.tnt.validator.AccountEntryValidator
periodicalAccountEntryValidator=com.autentia.tnt.validator.PeriodicalAccountEntryValidator
dateValidator=com.autentia.tnt.validator.DateValidator

# Number of fiscal years that appears in combo.
accountEntryMaximumYears = 4

# Default Report CSV delimiter
reportCSVDelimiter = ;

# loading reports on startup: 1 yes 0 no.
loadingReportOnLoad = 1

# force compile reports each request: 1 yes 0 no.
forceCompileReports = 0

# Organization Types
organizationTypeProvider = 2
organizationTypeProviderAndClient = 3

# Show logs to debug errors
showLogs false

# The name of the reports logo file
reportLogoName=logo.bmp

# Using external css (true / false)
isUsingExternalCss=false

# Root of external documents inside config dir
documentRoot=docroot

# Name of the file of acegi that contains security matrix (must be in config dir)
securityMatrix=securityConfiguration.xml

#Name of Schema for security matrix (must be in config dir)
schemaSecurityMatrix=securityConfiguration.xsd

# Validate the file of acegi that contains security matrix
validateSecurityMatrixXML=true

#When CreditTitle is paid, Bill changes into paid
payBillsWhenCreditTitleIsPaid=true

# Iva anterior al 1 de julio de 2010
ivaUntilJuly2010 = 16

# Iva anterior al 1 de Septiembre de 2012
ivaUntilSeptember2012 = 18

# Iva actual
iva = 21

# Usuario con permisos de administrador para ejecutar tareas autom\uFFFDticas
UserAdmin=admin

ldapAuthentication=false
ldapUrl=ldap://openldap-dev:389/dc=example\\,dc=com
32 changes: 32 additions & 0 deletions tntconcept-web/src/main/webapp/META-INF/context.xml
@@ -0,0 +1,32 @@
<?xml version='1.0' encoding='utf-8'?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache 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.apache.org/licenses/LICENSE-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.
-->
<!-- The contents of this file will be loaded for each web application -->
<Context>

<!-- Default set of monitored resources -->
<WatchedResource>WEB-INF/web.xml</WatchedResource>


<Manager pathname=""/>
<Environment name="TNTConceptConfigDir" type="java.lang.String" value="/Users/dani/Developer/laboratory/vagrant/TNTConcept/src/main/install/config"/>
<Resource name="jdbc/TNTConcept" auth="Container" type="javax.sql.DataSource"
maxActive="100" maxIdle="30" maxWait="10000" driverClassName="com.mysql.jdbc.Driver"
username="tntconcept" password="tntconcept"
url="jdbc:mysql://localhost:3306/tntconcept?autoReconnect=true"/>

</Context>

0 comments on commit c36cb24

Please sign in to comment.