├── axelor-studio ├── src │ ├── main │ │ ├── webapp │ │ │ ├── lib │ │ │ │ └── bpmn-js │ │ │ │ │ ├── assets │ │ │ │ │ └── bpmn-font │ │ │ │ │ │ └── font │ │ │ │ │ │ ├── bpmn.eot │ │ │ │ │ │ ├── bpmn.ttf │ │ │ │ │ │ └── bpmn.woff │ │ │ │ │ └── LICENSE │ │ │ ├── doc │ │ │ │ ├── resources │ │ │ │ │ ├── tab.gif │ │ │ │ │ ├── titlebar.gif │ │ │ │ │ ├── background.gif │ │ │ │ │ └── titlebar_end.gif │ │ │ │ ├── package-list │ │ │ │ ├── com │ │ │ │ │ └── axelor │ │ │ │ │ │ ├── meta │ │ │ │ │ │ ├── web │ │ │ │ │ │ │ └── package-frame.html │ │ │ │ │ │ └── db │ │ │ │ │ │ │ ├── package-frame.html │ │ │ │ │ │ │ └── repo │ │ │ │ │ │ │ └── package-frame.html │ │ │ │ │ │ ├── web │ │ │ │ │ │ └── service │ │ │ │ │ │ │ └── package-frame.html │ │ │ │ │ │ └── studio │ │ │ │ │ │ ├── module │ │ │ │ │ │ └── package-frame.html │ │ │ │ │ │ ├── service │ │ │ │ │ │ ├── wkf │ │ │ │ │ │ │ └── package-frame.html │ │ │ │ │ │ └── data │ │ │ │ │ │ │ └── package-frame.html │ │ │ │ │ │ └── web │ │ │ │ │ │ └── package-frame.html │ │ │ │ └── overview-frame.html │ │ │ ├── partials │ │ │ │ ├── View.html │ │ │ │ └── Model.html │ │ │ ├── angular-underscore.js │ │ │ └── css │ │ │ │ └── bpmn.css │ │ ├── resources │ │ │ ├── data-init │ │ │ │ ├── input │ │ │ │ │ ├── studio_fieldType.csv │ │ │ │ │ └── studio_filterOperator.csv │ │ │ │ └── input-config.xml │ │ │ ├── data-demo │ │ │ │ └── input │ │ │ │ │ ├── meta-module.xml │ │ │ │ │ ├── menus.xml │ │ │ │ │ ├── templates.xml │ │ │ │ │ ├── right-mgt.xml │ │ │ │ │ ├── report-builders.xml │ │ │ │ │ ├── charts.xml │ │ │ │ │ └── action-builders.xml │ │ │ ├── domains │ │ │ │ ├── MetaModule.xml │ │ │ │ ├── MetaTranslation.xml │ │ │ │ ├── MetaMenu.xml │ │ │ │ ├── MetaView.xml │ │ │ │ ├── MetaAction.xml │ │ │ │ ├── MetaSequence.xml │ │ │ │ ├── StudioConfiguration.xml │ │ │ │ ├── FieldType.xml │ │ │ │ ├── FilterOperator.xml │ │ │ │ ├── WkfTrackingTotal.xml │ │ │ │ ├── WkfTrackingTime.xml │ │ │ │ ├── WkfTrackingLine.xml │ │ │ │ ├── MetaModel.xml │ │ │ │ ├── ModuleRecorder.xml │ │ │ │ ├── ActionSelector.xml │ │ │ │ ├── StudioTemplate.xml │ │ │ │ ├── DataManager.xml │ │ │ │ ├── RecordImportWizard.xml │ │ │ │ ├── DashletBuilder.xml │ │ │ │ ├── ActionBuilderLine.xml │ │ │ │ ├── WkfTracking.xml │ │ │ │ ├── Filter.xml │ │ │ │ ├── ViewPanel.xml │ │ │ │ ├── WkfTransition.xml │ │ │ │ ├── ReportBuilder.xml │ │ │ │ ├── Wkf.xml │ │ │ │ ├── RightManagement.xml │ │ │ │ ├── MenuBuilder.xml │ │ │ │ ├── MetaField.xml │ │ │ │ └── WkfNode.xml │ │ │ ├── views │ │ │ │ ├── FieldType.xml │ │ │ │ ├── StudioConfiguration.xml │ │ │ │ ├── FilterOperator.xml │ │ │ │ ├── Dashboard.xml │ │ │ │ ├── MetaSequence.xml │ │ │ │ ├── WkfTrackingTotal.xml │ │ │ │ ├── ViewPanel.xml │ │ │ │ ├── WkfTrackingTime.xml │ │ │ │ ├── WkfTrackingLine.xml │ │ │ │ ├── DashboardBuilder.xml │ │ │ │ ├── DashletBuilder.xml │ │ │ │ ├── RecordImportWizard.xml │ │ │ │ ├── ActionSelector.xml │ │ │ │ ├── StudioTemplate.xml │ │ │ │ ├── WkfTracking.xml │ │ │ │ ├── MenuBuilder.xml │ │ │ │ ├── MetaModule.xml │ │ │ │ ├── ModuleRecorder.xml │ │ │ │ └── Wkf.xml │ │ │ ├── script │ │ │ │ ├── RestartServer.bat │ │ │ │ └── RestartServer.sh │ │ │ └── css │ │ │ │ └── studio.css │ │ └── java │ │ │ └── com │ │ │ └── axelor │ │ │ └── studio │ │ │ ├── service │ │ │ ├── data │ │ │ │ ├── exporter │ │ │ │ │ └── DataWriter.java │ │ │ │ ├── importer │ │ │ │ │ ├── DataReader.java │ │ │ │ │ └── ModuleImporter.java │ │ │ │ ├── ImportScript.java │ │ │ │ └── TranslationService.java │ │ │ └── CommandService.java │ │ │ ├── db │ │ │ └── repo │ │ │ │ ├── MenuBuilderRepo.java │ │ │ │ ├── ActionBuilderRepo.java │ │ │ │ └── ViewBuilderRepo.java │ │ │ ├── module │ │ │ └── StudioModule.java │ │ │ └── web │ │ │ ├── StudioTemplateController.java │ │ │ ├── ModuleRecorderController.java │ │ │ └── ChartBuilderController.java │ └── test │ │ ├── resources │ │ ├── log4j.properties │ │ └── META-INF │ │ │ └── persistence.xml │ │ └── java │ │ └── com │ │ └── axelor │ │ └── studio │ │ └── test │ │ ├── TestQuery.java │ │ └── TestModule.java ├── README.md └── build.gradle ├── axelor-exception ├── build.gradle └── src │ ├── main │ ├── resources │ │ ├── i18n │ │ │ ├── messages.csv │ │ │ ├── messages_en.csv │ │ │ └── messages_fr.csv │ │ ├── views │ │ │ └── Selects.xml │ │ └── domains │ │ │ └── TraceBack.xml │ └── java │ │ └── com │ │ └── axelor │ │ └── exception │ │ └── db │ │ └── IException.java │ └── test │ ├── resources │ ├── log4j.properties │ └── META-INF │ │ └── persistence.xml │ └── java │ └── com │ └── axelor │ └── exception │ ├── TestModule.java │ └── db │ └── TraceBackTest.java ├── .gitignore ├── axelor-admin ├── build.gradle └── src │ └── main │ ├── resources │ ├── i18n │ │ ├── messages.csv │ │ ├── messages_en.csv │ │ └── messages_fr.csv │ ├── domains │ │ ├── MetaGroupMenuAssistant.xml │ │ └── PermissionAssistant.xml │ └── views │ │ ├── Menu.xml │ │ ├── MetaGroupMenuAssistant.xml │ │ └── PermissionAssistant.xml │ └── java │ └── com │ └── axelor │ ├── auth │ ├── db │ │ └── IMessage.java │ └── web │ │ └── PermissionAssitantController.java │ └── meta │ └── web │ └── MetaGroupMenuAssistantController.java ├── axelor-message ├── src │ ├── main │ │ ├── resources │ │ │ ├── data-init │ │ │ │ ├── input │ │ │ │ │ ├── auth_role.csv │ │ │ │ │ └── auth_permission.csv │ │ │ │ └── input-config.xml │ │ │ ├── domains │ │ │ │ ├── Wizard.xml │ │ │ │ ├── EmailAddress.xml │ │ │ │ ├── Template.xml │ │ │ │ └── MailAccount.xml │ │ │ └── views │ │ │ │ ├── EmailAddress.xml │ │ │ │ ├── Selects.xml │ │ │ │ └── GenerateMessageWizard.xml │ │ └── java │ │ │ └── com │ │ │ └── axelor │ │ │ └── apps │ │ │ └── message │ │ │ ├── db │ │ │ └── repo │ │ │ │ └── MessageManagementRepository.java │ │ │ ├── service │ │ │ ├── MailAccountService.java │ │ │ └── TemplateMessageService.java │ │ │ ├── module │ │ │ └── MessageModule.java │ │ │ ├── web │ │ │ └── MessageController.java │ │ │ └── exception │ │ │ └── IExceptionMessage.java │ └── test │ │ └── java │ │ └── com │ │ └── axelor │ │ └── apps │ │ └── message │ │ └── mail │ │ └── MyModule.java └── build.gradle └── axelor-tool ├── src ├── main │ ├── resources │ │ └── i18n │ │ │ ├── messages.csv │ │ │ ├── messages_en.csv │ │ │ └── messages_fr.csv │ └── java │ │ └── com │ │ ├── qas │ │ └── web_2005_02 │ │ │ ├── package-info.java │ │ │ ├── Fault.java │ │ │ ├── EngineEnumType.java │ │ │ ├── EngineIntensityType.java │ │ │ └── LineContentType.java │ │ └── axelor │ │ └── apps │ │ └── tool │ │ ├── service │ │ └── CipherService.java │ │ ├── module │ │ └── ToolModule.java │ │ ├── EmailTool.java │ │ ├── date │ │ └── DurationTool.java │ │ ├── exception │ │ └── IExceptionMessage.java │ │ └── xml │ │ └── DateToXML.java └── test │ └── java │ └── com │ └── axelor │ └── apps │ └── tool │ ├── net │ └── TestURLService.java │ ├── file │ └── TestFileTool.java │ ├── TestStringTool.java │ └── db │ └── Move.java ├── build.gradle └── data └── template └── export-template.tmpl /axelor-studio/src/main/webapp/lib/bpmn-js/assets/bpmn-font/font/bpmn.eot: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /axelor-studio/src/main/webapp/lib/bpmn-js/assets/bpmn-font/font/bpmn.ttf: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /axelor-studio/src/main/webapp/lib/bpmn-js/assets/bpmn-font/font/bpmn.woff: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /axelor-studio/src/main/webapp/doc/resources/tab.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axelor/axelor-process-studio/HEAD/axelor-studio/src/main/webapp/doc/resources/tab.gif -------------------------------------------------------------------------------- /axelor-studio/src/main/webapp/doc/resources/titlebar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axelor/axelor-process-studio/HEAD/axelor-studio/src/main/webapp/doc/resources/titlebar.gif -------------------------------------------------------------------------------- /axelor-studio/src/main/webapp/doc/resources/background.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axelor/axelor-process-studio/HEAD/axelor-studio/src/main/webapp/doc/resources/background.gif -------------------------------------------------------------------------------- /axelor-studio/src/main/webapp/doc/resources/titlebar_end.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/axelor/axelor-process-studio/HEAD/axelor-studio/src/main/webapp/doc/resources/titlebar_end.gif -------------------------------------------------------------------------------- /axelor-exception/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'axelor-module' 2 | 3 | module { 4 | name "axelor-exception" 5 | version "4.1.3" 6 | title "Axelor :: Exception" 7 | 8 | removable false 9 | } 10 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | build 3 | .gradle 4 | .project 5 | .classpath 6 | .settings 7 | node_modules 8 | application.min.* 9 | *.sw[nop] 10 | *~ 11 | .#* 12 | [#]*# 13 | .metadata/ 14 | .idea/ 15 | out/ 16 | *.iml 17 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/data-init/input/studio_fieldType.csv: -------------------------------------------------------------------------------- 1 | name 2 | String 3 | BigDecimal 4 | Integer 5 | Boolean 6 | LocalDateTime 7 | LocalDate 8 | Long 9 | ManyToOne 10 | OneToMany 11 | ManyToMany 12 | DateTime 13 | -------------------------------------------------------------------------------- /axelor-admin/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'axelor-module' 2 | 3 | module { 4 | name "axelor-admin" 5 | version "4.1.3" 6 | title "Axelor :: Admin" 7 | 8 | removable false 9 | 10 | module "modules:axelor-exception" 11 | } 12 | -------------------------------------------------------------------------------- /axelor-message/src/main/resources/data-init/input/auth_role.csv: -------------------------------------------------------------------------------- 1 | "name";"description";"permissions" 2 | "role.admin";"Access to all objects for all modules";"perm.message.all" 3 | "role.user";"Access to all objects for all modules except admin";"perm.message.all" 4 | -------------------------------------------------------------------------------- /axelor-tool/src/main/resources/i18n/messages.csv: -------------------------------------------------------------------------------- 1 | "key","message","comment","context" 2 | "An error occurs while opening the connection. Please verify the following URL : %s.",,, 3 | "Years in 360 days",,, 4 | "Can not opening the connection to a empty URL.",,, 5 | "No such template",,, 6 | "Templating can not be empty",,, 7 | "Url %s is malformed.",,, 8 | -------------------------------------------------------------------------------- /axelor-tool/src/main/resources/i18n/messages_en.csv: -------------------------------------------------------------------------------- 1 | "key","message","comment","context" 2 | "An error occurs while opening the connection. Please verify the following URL : %s.",,, 3 | "Years in 360 days",,, 4 | "Can not opening the connection to a empty URL.",,, 5 | "No such template",,, 6 | "Templating can not be empty",,, 7 | "Url %s is malformed.",,, 8 | -------------------------------------------------------------------------------- /axelor-message/src/main/resources/data-init/input/auth_permission.csv: -------------------------------------------------------------------------------- 1 | "name";"object";"canRead";"canWrite";"canCreate";"canRemove";"canExport";"readCondition";"readParams";"writeCondition";"writeParams";"createCondition";"createParams";"removeCondition";"removeParams" 2 | "perm.message.all";"com.axelor.apps.message.db.*";"true";"true";"true";"true";"true";;;;;;;; 3 | -------------------------------------------------------------------------------- /axelor-studio/src/main/webapp/doc/package-list: -------------------------------------------------------------------------------- 1 | com.axelor.meta.db 2 | com.axelor.meta.db.repo 3 | com.axelor.meta.web 4 | com.axelor.studio.db 5 | com.axelor.studio.db.repo 6 | com.axelor.studio.module 7 | com.axelor.studio.service 8 | com.axelor.studio.service.data 9 | com.axelor.studio.service.wkf 10 | com.axelor.studio.web 11 | com.axelor.web.service 12 | -------------------------------------------------------------------------------- /axelor-message/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'axelor-module' 2 | 3 | module { 4 | name "axelor-message" 5 | version "4.1.3" 6 | title "Axelor :: Message" 7 | 8 | removable false 9 | 10 | module "modules:axelor-exception" 11 | module "modules:axelor-tool" 12 | } 13 | 14 | dependencies { 15 | compile libs.javax_mail 16 | testCompile libs.greenmail 17 | } 18 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/data-demo/input/meta-module.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /axelor-tool/src/main/resources/i18n/messages_fr.csv: -------------------------------------------------------------------------------- 1 | "key","message","comment","context" 2 | "An error occurs while opening the connection. Please verify the following URL : %s.",,, 3 | "Years in 360 days","Années sur 360 jours",, 4 | "Can not opening the connection to a empty URL.",,, 5 | "No such template",,, 6 | "Templating can not be empty",,, 7 | "Url %s is malformed.",,, 8 | -------------------------------------------------------------------------------- /axelor-tool/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'axelor-module' 2 | 3 | module { 4 | name "axelor-tool" 5 | version "4.1.3" 6 | title "Axelor :: Tool" 7 | } 8 | 9 | dependencies { 10 | compile "commons-net:commons-net:2.0" 11 | compile "org.apache.commons:commons-io:1.3.2" 12 | compile "org.apache.commons:commons-lang3:3.1" 13 | compile "com.sun.xml.bind:jaxb-impl:2.2.2" 14 | compile libs.ST4 15 | } 16 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/data-demo/input/menus.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/domains/MetaModule.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /axelor-tool/data/template/export-template.tmpl: -------------------------------------------------------------------------------- 1 |

About Me


First Name: {{contact.firstName}}

Last Name: {{contact.lastName}}

 

Contact me: {{contact.fullName}}


  • Java
  • JavaScript
  • Groovy
  • HTML5
public class Hello {

private String testKey1 = {{testKey1}}
private String testKey2 = {{testKey2}}
private String testKey3 = {{testKey3}}
}
-------------------------------------------------------------------------------- /axelor-studio/src/main/resources/data-demo/input/templates.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 14 | 15 | -------------------------------------------------------------------------------- /axelor-studio/src/main/webapp/partials/View.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
5 |

Fields

6 |
7 |
8 |
9 |

Form view

10 |
11 |
12 |
13 |
14 | 15 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/data-demo/input/right-mgt.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/domains/MetaTranslation.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/domains/MetaMenu.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/domains/MetaView.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/domains/MetaAction.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /axelor-message/src/main/resources/domains/Wizard.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/data-demo/input/report-builders.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | Note De Frais 7 | DemoExpense 8 | demo-expense-form 9 |
Note De Frais
10 |
Axelor Technologies Pvt Ltd.
11 | T 12 | T 13 | Expense$TODAY$.pdf 14 |
15 | 16 |
17 | -------------------------------------------------------------------------------- /axelor-exception/src/main/resources/i18n/messages.csv: -------------------------------------------------------------------------------- 1 | "key","message","comment","context" 2 | "Anomaly",,, 3 | "Batch",,, 4 | "CRM",,, 5 | "Category",,, 6 | "Cause",,, 7 | "Configuration problem",,, 8 | "Date",,, 9 | "Direct debit",,, 10 | "Doubtful customer",,, 11 | "Error",,, 12 | "Functional anomaly",,, 13 | "Inconsistency",,, 14 | "Interbank payment order",,, 15 | "Invoicing",,, 16 | "Message",,, 17 | "Missing field",,, 18 | "Name",,, 19 | "No Return Value",,, 20 | "Non-unique key",,, 21 | "Origin",,, 22 | "Reimbursement",,, 23 | "Reminder",,, 24 | "Technical anomaly",,, 25 | "Trace",,, 26 | "TraceBack",,, 27 | "Type",,, 28 | "User",,, 29 | -------------------------------------------------------------------------------- /axelor-exception/src/main/resources/i18n/messages_en.csv: -------------------------------------------------------------------------------- 1 | "key","message","comment","context" 2 | "Anomaly",,, 3 | "Batch",,, 4 | "CRM",,, 5 | "Category",,, 6 | "Cause",,, 7 | "Configuration problem",,, 8 | "Date",,, 9 | "Direct debit",,, 10 | "Doubtful customer",,, 11 | "Error",,, 12 | "Functional anomaly",,, 13 | "Inconsistency",,, 14 | "Interbank payment order",,, 15 | "Invoicing",,, 16 | "Message",,, 17 | "Missing field",,, 18 | "Name",,, 19 | "No Return Value",,, 20 | "Non-unique key",,, 21 | "Origin",,, 22 | "Reimbursement",,, 23 | "Reminder",,, 24 | "Technical anomaly",,, 25 | "Trace",,, 26 | "TraceBack",,, 27 | "Type",,, 28 | "User",,, 29 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/domains/MetaSequence.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/domains/StudioConfiguration.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/views/FieldType.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 |
15 | 16 | 17 | -------------------------------------------------------------------------------- /axelor-studio/src/main/webapp/partials/Model.html: -------------------------------------------------------------------------------- 1 |
2 | 7 |
8 |
9 |

Field Types

10 |
11 |
12 |
13 |

Model

14 |
15 |
16 |
17 |
-------------------------------------------------------------------------------- /axelor-message/src/main/resources/domains/EmailAddress.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/script/RestartServer.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set JSSE_OPTS= 3 | call shutdown.bat 4 | ping -n 3 127.0.0.1>null 5 | rmdir %CATALINA_APP% /S /Q 6 | mkdir %CATALINA_APP% 7 | cd %CATALINA_APP% 8 | jar -xf %1 9 | if exist "..\..\..\etc\application.properties" ( 10 | copy /y ..\..\..\etc\application.properties WEB-INF\classes\ 11 | ) 12 | if not "%2" == "" ( 13 | psql -d template1 -c "SELECT pg_terminate_backend(pg_stat_activity.pid) FROM pg_stat_activity WHERE datname = '"%PGDATABASE%"';" 14 | echo "DB Connection stopped" 15 | dropdb %PGDATABASE% 16 | echo "DB Dropped" 17 | createdb 18 | echo "DB Created" 19 | ) 20 | ping -n 3 127.0.0.1>null 21 | call startup.bat 22 | 23 | exit /B 24 | 25 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/domains/FieldType.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /axelor-message/src/main/resources/data-init/input-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/data-init/input-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/views/StudioConfiguration.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 |
15 | 16 |
-------------------------------------------------------------------------------- /axelor-studio/src/main/resources/domains/FilterOperator.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/script/RestartServer.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "App Path: " $1 4 | echo "Reset app: " $2 5 | echo "Catalina home: "$CATALINA_HOME 6 | echo "PGHOME: "$PGHOME 7 | 8 | if shutdown.sh; then 9 | rm -fr $CATALINA_APP* 10 | mkdir $CATALINA_APP 11 | cd $CATALINA_APP 12 | jar -xf $1 13 | if [ -f ../../../etc/application.properties]; then 14 | cp ../../../etc/application.properties META_INF/classes/ 15 | fi 16 | if [ $# -eq 2 ]; then 17 | echo "Reseting app...." 18 | if psql -d template1 -c "SELECT pg_terminate_backend(pg_stat_activity.pid) FROM pg_stat_activity WHERE datname = '"$PGDATABASE"';"; then 19 | dropdb $PGDATABASE 20 | createdb 21 | else 22 | echo error 23 | exit 24 | fi 25 | fi 26 | startup.sh 27 | fi 28 | 29 | -------------------------------------------------------------------------------- /axelor-admin/src/main/resources/i18n/messages.csv: -------------------------------------------------------------------------------- 1 | "key","message","comment","context" 2 | "Bad header row:",,, 3 | "Bad import file",,, 4 | "Create",,, 5 | "Create file",,, 6 | "Delete",,, 7 | "Details",,, 8 | "Error in import. Please check log",,, 9 | "Error in import: %s. Please check the server log",,, 10 | "Export",,, 11 | "Export for doc",,, 12 | "File",,, 13 | "Group Menu Assistant",,, 14 | "Groups",,, 15 | "Groups not found: %s",,, 16 | "Hide If",,, 17 | "Import",,, 18 | "Import completed succesfully",,, 19 | "Import date",,, 20 | "Import permissions",,, 21 | "Language",,, 22 | "Log",,, 23 | "Menu not found: %s",,, 24 | "Menus",,, 25 | "Name",,, 26 | "No header row found",,, 27 | "Object not found: %s",,, 28 | "Objects",,, 29 | "Permission Assistant",,, 30 | "Read",,, 31 | "Readonly If",,, 32 | "Title",,, 33 | "Write",,, 34 | -------------------------------------------------------------------------------- /axelor-admin/src/main/resources/i18n/messages_en.csv: -------------------------------------------------------------------------------- 1 | "key","message","comment","context" 2 | "Bad header row:",,, 3 | "Bad import file",,, 4 | "Create",,, 5 | "Create file",,, 6 | "Delete",,, 7 | "Details",,, 8 | "Error in import. Please check log",,, 9 | "Error in import: %s. Please check the server log",,, 10 | "Export",,, 11 | "Export for doc",,, 12 | "File",,, 13 | "Group Menu Assistant",,, 14 | "Groups",,, 15 | "Groups not found: %s",,, 16 | "Hide If",,, 17 | "Import",,, 18 | "Import completed succesfully",,, 19 | "Import date",,, 20 | "Import permissions",,, 21 | "Language",,, 22 | "Log",,, 23 | "Menu not found: %s",,, 24 | "Menus",,, 25 | "Name",,, 26 | "No header row found",,, 27 | "Object not found: %s",,, 28 | "Objects",,, 29 | "Permission Assistant",,, 30 | "Read",,, 31 | "Readonly If",,, 32 | "Title",,, 33 | "Write",,, 34 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/domains/WkfTrackingTotal.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/views/FilterOperator.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/domains/WkfTrackingTime.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/domains/WkfTrackingLine.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /axelor-studio/src/main/webapp/angular-underscore.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Axelor Business Solutions 3 | * 4 | * Copyright (C) 2018 Axelor (). 5 | * 6 | * This program is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Affero General Public License, version 3, 8 | * as published by the Free Software Foundation. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Affero General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Affero General Public License 16 | * along with this program. If not, see . 17 | */ 18 | angular.module('underscore', []).factory('_', function() { 19 | return window._; 20 | }); 21 | -------------------------------------------------------------------------------- /axelor-studio/src/main/webapp/doc/com/axelor/meta/web/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.axelor.meta.web 7 | 8 | 9 | 10 | 11 |

com.axelor.meta.web

12 |
13 |

Classes

14 | 17 |
18 | 19 | 20 | -------------------------------------------------------------------------------- /axelor-studio/src/main/webapp/doc/com/axelor/web/service/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.axelor.web.service 7 | 8 | 9 | 10 | 11 |

com.axelor.web.service

12 |
13 |

Classes

14 | 17 |
18 | 19 | 20 | -------------------------------------------------------------------------------- /axelor-studio/src/main/webapp/doc/com/axelor/studio/module/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.axelor.studio.module 7 | 8 | 9 | 10 | 11 |

com.axelor.studio.module

12 |
13 |

Classes

14 | 17 |
18 | 19 | 20 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/views/Dashboard.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/data-init/input/studio_filterOperator.csv: -------------------------------------------------------------------------------- 1 | name;value;fieldTypes 2 | equals;=;String|Integer|LocalDate|LocalDateTime|BigDecimal|Long|ManyToOne|DateTime 3 | not equals;!=;String|Integer|LocalDate|LocalDateTime|BigDecimal|Long|ManyToOne|DateTime 4 | greater or equal;>=;Integer|LocalDate|LocalDateTime|BigDecimal|DateTime 5 | less or equal;<=;Integer|LocalDate|LocalDateTime|BigDecimal|DateTime 6 | greater than;>;Integer|LocalDate|LocalDateTime|BigDecimal|DateTime 7 | less than;<;Integer|LocalDate|LocalDateTime|BigDecimal|DateTime 8 | is null;isNull;String|Integer|LocalDate|LocalDateTime|BigDecimal|Long|ManyToOne|DateTime 9 | is not null;notNull;String|Integer|LocalDate|LocalDateTime|BigDecimal|Long|ManyToOne|DateTime 10 | is true;TRUE;Boolean 11 | is false;FALSE;Boolean 12 | is empty;empty;ManyToMany 13 | include;include;ManyToMany 14 | is not empty;notEmpty;ManyToMany 15 | not include;notInclude;ManyToMany 16 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/views/MetaSequence.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 |
23 | 24 | 25 | -------------------------------------------------------------------------------- /axelor-admin/src/main/resources/domains/MetaGroupMenuAssistant.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /axelor-exception/src/main/resources/i18n/messages_fr.csv: -------------------------------------------------------------------------------- 1 | "key","message","comment","context" 2 | "Anomaly","Anomalie",, 3 | "Batch","Batch",, 4 | "CRM","CRM",, 5 | "Category","Catégorie",, 6 | "Cause","Cause",, 7 | "Configuration problem","Problème de configuration",, 8 | "Date","Date",, 9 | "Direct debit","Prélèvement",, 10 | "Doubtful customer","Client douteux",, 11 | "Error","Erreur",, 12 | "Functional anomaly","Anomalie fonctionnelle",, 13 | "Inconsistency","Inconsistence",, 14 | "Interbank payment order","Ordre de paiement interbancaire",, 15 | "Invoicing","Facturation",, 16 | "Message","Message",, 17 | "Missing field","Champ manquant",, 18 | "Name","Nom",, 19 | "No Return Value","Aucune valeur",, 20 | "Non-unique key","Clé non unique",, 21 | "Origin",,, 22 | "Reimbursement","Remboursement",, 23 | "Reminder","Relance",, 24 | "Technical anomaly","Anomalie technique",, 25 | "Trace","Trace",, 26 | "TraceBack","TraceBacks",, 27 | "Type","Type",, 28 | "User","Utilisateur",, 29 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/domains/MetaModel.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/views/WkfTrackingTotal.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
13 | 14 | 15 | 16 | 17 |
18 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/domains/ModuleRecorder.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/domains/ActionSelector.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /axelor-studio/src/main/webapp/doc/com/axelor/meta/db/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.axelor.meta.db 7 | 8 | 9 | 10 | 11 |

com.axelor.meta.db

12 |
13 |

Classes

14 | 18 |
19 | 20 | 21 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/domains/StudioTemplate.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /axelor-tool/src/main/java/com/qas/web_2005_02/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Axelor Business Solutions 3 | * 4 | * Copyright (C) 2018 Axelor (). 5 | * 6 | * This program is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Affero General Public License, version 3, 8 | * as published by the Free Software Foundation. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Affero General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Affero General Public License 16 | * along with this program. If not, see . 17 | */ 18 | @javax.xml.bind.annotation.XmlSchema(namespace = "http://www.qas.com/web-2005-02", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) 19 | package com.qas.web_2005_02; 20 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/views/ViewPanel.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
-------------------------------------------------------------------------------- /axelor-admin/src/main/resources/domains/PermissionAssistant.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /axelor-tool/src/main/java/com/axelor/apps/tool/service/CipherService.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Axelor Business Solutions 3 | * 4 | * Copyright (C) 2018 Axelor (). 5 | * 6 | * This program is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Affero General Public License, version 3, 8 | * as published by the Free Software Foundation. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Affero General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Affero General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.axelor.apps.tool.service; 19 | 20 | public interface CipherService { 21 | 22 | public String encrypt(String unencryptedString); 23 | 24 | public String decrypt(String encryptedString); 25 | 26 | } 27 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/domains/DataManager.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/views/WkfTrackingTime.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 |
22 | 23 | 24 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/domains/RecordImportWizard.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /axelor-studio/src/main/java/com/axelor/studio/service/data/exporter/DataWriter.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Axelor Business Solutions 3 | * 4 | * Copyright (C) 2018 Axelor (). 5 | * 6 | * This program is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Affero General Public License, version 3, 8 | * as published by the Free Software Foundation. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Affero General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Affero General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.axelor.studio.service.data.exporter; 19 | 20 | import com.axelor.meta.db.MetaFile; 21 | 22 | public interface DataWriter { 23 | 24 | void initialize(); 25 | 26 | void write(String key, Integer index, String[] values); 27 | 28 | MetaFile export(MetaFile input); 29 | 30 | } 31 | -------------------------------------------------------------------------------- /axelor-studio/src/main/java/com/axelor/studio/service/data/importer/DataReader.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Axelor Business Solutions 3 | * 4 | * Copyright (C) 2018 Axelor (). 5 | * 6 | * This program is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Affero General Public License, version 3, 8 | * as published by the Free Software Foundation. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Affero General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Affero General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.axelor.studio.service.data.importer; 19 | 20 | import com.axelor.meta.db.MetaFile; 21 | 22 | public interface DataReader { 23 | 24 | boolean initialize(MetaFile input); 25 | 26 | String[] read(String key, int index); 27 | 28 | int getTotalLines(String key); 29 | 30 | String[] getKeys(); 31 | } 32 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/views/WkfTrackingLine.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/views/DashboardBuilder.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
14 | 15 | 16 | 17 | 18 | 22 |
23 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /axelor-tool/src/main/java/com/axelor/apps/tool/module/ToolModule.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Axelor Business Solutions 3 | * 4 | * Copyright (C) 2018 Axelor (). 5 | * 6 | * This program is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Affero General Public License, version 3, 8 | * as published by the Free Software Foundation. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Affero General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Affero General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.axelor.apps.tool.module; 19 | 20 | import com.axelor.app.AxelorModule; 21 | import com.axelor.apps.tool.service.CipherService; 22 | import com.axelor.apps.tool.service.CipherServiceImpl; 23 | 24 | public class ToolModule extends AxelorModule { 25 | 26 | @Override 27 | protected void configure() { 28 | bind(CipherService.class).to(CipherServiceImpl.class); 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /axelor-tool/src/main/java/com/axelor/apps/tool/EmailTool.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Axelor Business Solutions 3 | * 4 | * Copyright (C) 2018 Axelor (). 5 | * 6 | * This program is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Affero General Public License, version 3, 8 | * as published by the Free Software Foundation. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Affero General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Affero General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.axelor.apps.tool; 19 | 20 | import java.util.regex.Pattern; 21 | 22 | public class EmailTool { 23 | public static boolean isValidEmailAddress(String email) { 24 | final String EMAIL_PATTERN = "[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})"; 25 | Pattern pattern = Pattern.compile(EMAIL_PATTERN); 26 | return pattern.matcher(email).matches(); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /axelor-admin/src/main/resources/i18n/messages_fr.csv: -------------------------------------------------------------------------------- 1 | "key","message","comment","context" 2 | "Bad header row:","Ligne d'en-tête incorrecte",, 3 | "Bad import file","Fichier d'import incorrect",, 4 | "Create","Créer",, 5 | "Create file","Créer fichier",, 6 | "Delete","Supprimer",, 7 | "Details","Détails",, 8 | "Error in import. Please check log",,, 9 | "Error in import: %s. Please check the server log",,, 10 | "Export",,, 11 | "Export for doc",,, 12 | "File","Fichier",, 13 | "Group Menu Assistant","Assistant gestion des menus par groupes",, 14 | "Groups","Groupes",, 15 | "Groups not found: %s","Groupe(s) inconnu(s) : %s",, 16 | "Hide If","Cacher si",, 17 | "Import","Importer",, 18 | "Import completed succesfully",,, 19 | "Import date","Date d'import",, 20 | "Import permissions","Importer les permissions",, 21 | "Language","Langue",, 22 | "Log",,, 23 | "Menu not found: %s","Menu(s) inconnu(s) : %s",, 24 | "Menus",,, 25 | "Name",,, 26 | "No header row found","Aucune ligne d'en-tête reconnue",, 27 | "Object not found: %s","Object(s) inconnu(s) : %s",, 28 | "Objects",,, 29 | "Permission Assistant","Assistant gestion des permissions",, 30 | "Read","Lecture",, 31 | "Readonly If","Lecture seule si",, 32 | "Title","Titre",, 33 | "Write","Ecriture",, 34 | -------------------------------------------------------------------------------- /axelor-studio/src/test/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=error, stdout 2 | 3 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 4 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 5 | 6 | # Print the date in ISO 8601 format 7 | log4j.appender.stdout.layout.ConversionPattern=%d [%t] %-5p %c - %m%n 8 | 9 | log4j.appender.R=org.apache.log4j.RollingFileAppender 10 | log4j.appender.R.File=application.log 11 | 12 | log4j.appender.R.MaxFileSize=100KB 13 | # Keep one backup file 14 | log4j.appender.R.MaxBackupIndex=1 15 | 16 | log4j.appender.R.layout=org.apache.log4j.PatternLayout 17 | log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n 18 | 19 | # Axelor logging 20 | 21 | # Log everything 22 | log4j.logger.com.axelor=all 23 | 24 | # Hibernate logging 25 | 26 | # Log everything. Good for troubleshooting 27 | #log4j.logger.org.hibernate=INFO 28 | 29 | # Log all SQL DML statements as they are executed 30 | #log4j.logger.org.hibernate.SQL=INFO 31 | 32 | # Log all SQL DDL statements as they are executed 33 | #log4j.logger.org.hibernate.tool.hbm2ddl=INFO 34 | 35 | # Log all JDBC parameters 36 | #log4j.logger.org.hibernate.type=ALL 37 | 38 | # Log transactions 39 | #log4j.logger.org.hibernate.transaction=DEBUG 40 | -------------------------------------------------------------------------------- /axelor-exception/src/test/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=error, stdout 2 | 3 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 4 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 5 | 6 | # Print the date in ISO 8601 format 7 | log4j.appender.stdout.layout.ConversionPattern=%d [%t] %-5p %c - %m%n 8 | 9 | log4j.appender.R=org.apache.log4j.RollingFileAppender 10 | log4j.appender.R.File=application.log 11 | 12 | log4j.appender.R.MaxFileSize=100KB 13 | # Keep one backup file 14 | log4j.appender.R.MaxBackupIndex=1 15 | 16 | log4j.appender.R.layout=org.apache.log4j.PatternLayout 17 | log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n 18 | 19 | # Axelor logging 20 | 21 | # Log everything 22 | log4j.logger.com.axelor=DEBUG 23 | 24 | # Hibernate logging 25 | 26 | # Log everything. Good for troubleshooting 27 | #log4j.logger.org.hibernate=INFO 28 | 29 | # Log all SQL DML statements as they are executed 30 | #log4j.logger.org.hibernate.SQL=INFO 31 | 32 | # Log all SQL DDL statements as they are executed 33 | #log4j.logger.org.hibernate.tool.hbm2ddl=INFO 34 | 35 | # Log all JDBC parameters 36 | #log4j.logger.org.hibernate.type=ALL 37 | 38 | # Log transactions 39 | #log4j.logger.org.hibernate.transaction=DEBUG 40 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/domains/DashletBuilder.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/domains/ActionBuilderLine.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /axelor-admin/src/main/resources/views/Menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 9 | 11 | 12 | 13 | 14 | 15 | 17 | 18 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /axelor-tool/src/test/java/com/axelor/apps/tool/net/TestURLService.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Axelor Business Solutions 3 | * 4 | * Copyright (C) 2018 Axelor (). 5 | * 6 | * This program is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Affero General Public License, version 3, 8 | * as published by the Free Software Foundation. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Affero General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Affero General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.axelor.apps.tool.net; 19 | 20 | import org.junit.Assert; 21 | import org.junit.Test; 22 | 23 | 24 | public class TestURLService { 25 | 26 | @Test 27 | public void testNotExist() { 28 | 29 | Assert.assertNull(URLService.notExist("http://www.google.com")); 30 | Assert.assertEquals("Problème de format de l'URL", URLService.notExist("www.google.com")); 31 | Assert.assertEquals("Ce document n'existe pas", URLService.notExist("http://www.testtrgfgfdg.com/")); 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /axelor-studio/src/main/webapp/doc/com/axelor/meta/db/repo/package-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | com.axelor.meta.db.repo 7 | 8 | 9 | 10 | 11 |

com.axelor.meta.db.repo

12 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /axelor-message/src/test/java/com/axelor/apps/message/mail/MyModule.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Axelor Business Solutions 3 | * 4 | * Copyright (C) 2018 Axelor (). 5 | * 6 | * This program is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Affero General Public License, version 3, 8 | * as published by the Free Software Foundation. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Affero General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Affero General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.axelor.apps.message.mail; 19 | 20 | import net.sf.ehcache.CacheManager; 21 | 22 | import com.axelor.db.JpaModule; 23 | import com.google.inject.AbstractModule; 24 | 25 | public class MyModule extends AbstractModule { 26 | 27 | @Override 28 | protected void configure() { 29 | 30 | // shutdown the cache manager if running 31 | if (CacheManager.ALL_CACHE_MANAGERS.size() > 0) { 32 | CacheManager.getInstance().shutdown(); 33 | } 34 | 35 | install(new JpaModule("testUnit", true, true)); 36 | } 37 | 38 | } -------------------------------------------------------------------------------- /axelor-exception/src/main/resources/views/Selects.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/domains/WkfTracking.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /axelor-message/src/main/java/com/axelor/apps/message/db/repo/MessageManagementRepository.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Axelor Business Solutions 3 | * 4 | * Copyright (C) 2018 Axelor (). 5 | * 6 | * This program is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Affero General Public License, version 3, 8 | * as published by the Free Software Foundation. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Affero General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Affero General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.axelor.apps.message.db.repo; 19 | 20 | import com.axelor.apps.message.db.Message; 21 | 22 | public class MessageManagementRepository extends MessageRepository { 23 | @Override 24 | public Message copy(Message entity, boolean deep) { 25 | entity.setStatusSelect(1); 26 | entity.setSentDateT(null); 27 | entity.setToEmailAddressSet(null); 28 | entity.setCcEmailAddressSet(null); 29 | entity.setBccEmailAddressSet(null); 30 | entity.setRecipientUser(null); 31 | return super.copy(entity, deep); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/views/DashletBuilder.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /axelor-studio/src/test/resources/META-INF/persistence.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | org.hibernate.ejb.HibernatePersistence 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /axelor-exception/src/test/java/com/axelor/exception/TestModule.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Axelor Business Solutions 3 | * 4 | * Copyright (C) 2018 Axelor (). 5 | * 6 | * This program is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU Affero General Public License, version 3, 8 | * as published by the Free Software Foundation. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU Affero General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Affero General Public License 16 | * along with this program. If not, see . 17 | */ 18 | package com.axelor.exception; 19 | 20 | import net.sf.ehcache.CacheManager; 21 | 22 | import com.axelor.auth.AuthModule; 23 | import com.axelor.db.JpaModule; 24 | import com.google.inject.AbstractModule; 25 | 26 | public class TestModule extends AbstractModule { 27 | 28 | @Override 29 | protected void configure() { 30 | // shutdown the cache manager if running : Breaking the test 31 | if (CacheManager.ALL_CACHE_MANAGERS.size() > 0) { 32 | CacheManager.getInstance().shutdown(); 33 | } 34 | install(new JpaModule("testUnit", true, true)); 35 | install(new AuthModule()); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /axelor-studio/src/main/resources/views/RecordImportWizard.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 |