@cronapp/templates 2.9.1 → 2.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/file/crud/phonegap_crud_view/__FileName__.view.html.ftl +9 -9
- package/package.json +1 -1
- package/project/M/cronapp-lyceum-project-mobile-cordova/__copydata.ftl +29 -0
- package/project/M/cronapp-lyceum-project-mobile-cordova/__linksInherit +9 -0
- package/project/M/cronapp-lyceum-project-mobile-cordova/project.svg +190 -0
- package/project/M/cronapp-lyceum-project-mobile-cordova/src/main/resources/application.properties.ftl +27 -0
- package/project/M/cronapp-lyceum-project-mobile-cordova/template.properties +52 -0
- package/project/M/cronapp-lyceum-project-mobile-cordova/template_en_US.properties +32 -0
- package/project/M/cronapp-lyceum-project-mobile-cordova/template_pt_BR.properties +31 -0
- package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/logged/user.view.html +4 -4
- package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/login.view.html.ftl +80 -31
- package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/public/__copydata.ftl +8 -0
- package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-autenticacao/views/public/menu.view.html +2 -2
- package/project/M/cronapp-rad-project-mobile-cordova/src/main/mobileapp/www/www-sem-autenticacao/views/public/menu.view.html +2 -2
- package/project/M/cronapp-rad-project-mobile-cordova/template.properties +1 -0
- package/project/W/cronapp-rad-project/pom.xml.ftl +7 -0
- package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/js/blockly/privacy/Cookies.blockly +43 -2
- package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/js/blockly/privacy/Cookies.blockly.js +22 -0
- package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/logged/home.view.html.ftl +2 -2
- package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/login.view.html.ftl +53 -51
- package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/public/__copydata.ftl +7 -0
- package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/public/home.view.html.ftl +1 -1
- package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/public/privacy/cookies.view.html +1 -1
- package/project/W/cronapp-rad-project/src/main/webapp-sem-autenticacao/webapp/views/home.view.html.ftl +2 -2
- package/templates/low-code/data-layer/ENTITIES.ftl +36 -22
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
</div>
|
|
101
101
|
<#elseif field.isDate() >
|
|
102
102
|
<label for="textinput-${field.name}-${model.random}" class="item item-input item-stacked-label"
|
|
103
|
-
data-component="crn-input-floating">
|
|
103
|
+
data-component="crn-input-floating" id="lbl-${field.name}-${model.random}">
|
|
104
104
|
<span class="input-label">${model.formMapLabels[field.name]!}</span>
|
|
105
105
|
<input aria-label="<#if field.label?has_content>${field.label}<#else>${field.name}</#if>" type="date"
|
|
106
106
|
placeholder="<#if field.label?has_content>${field.label}<#else>${field.name}</#if>"
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
</label>
|
|
112
112
|
<#elseif field.isTimestamp()>
|
|
113
113
|
<label for="textinput-${field.name}-${model.random}" class="item item-input item-stacked-label"
|
|
114
|
-
data-component="crn-input-floating">
|
|
114
|
+
data-component="crn-input-floating" id="lbl-${field.name}-${model.random}">
|
|
115
115
|
<span class="input-label">${model.formMapLabels[field.name]!}</span>
|
|
116
116
|
<input aria-label="<#if field.label?has_content>${field.label}<#else>${field.name}</#if>"
|
|
117
117
|
type="datetime"
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
</label>
|
|
124
124
|
<#elseif field.isTime()>
|
|
125
125
|
<label for="textinput-${field.name}-${model.random}" class="item item-input item-stacked-label"
|
|
126
|
-
data-component="crn-input-floating">
|
|
126
|
+
data-component="crn-input-floating" id="lbl-${field.name}-${model.random}">
|
|
127
127
|
<span class="input-label">${model.formMapLabels[field.name]!}</span>
|
|
128
128
|
<input aria-label="<#if field.label?has_content>${field.label}<#else>${field.name}</#if>" type="time"
|
|
129
129
|
placeholder="<#if field.label?has_content>${field.label}<#else>${field.name}</#if>"
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
</label>
|
|
135
135
|
<#elseif field.isNumber() >
|
|
136
136
|
<label for="textinput-${field.name}-${model.random}" class="item item-input item-stacked-label"
|
|
137
|
-
data-component="crn-input-floating">
|
|
137
|
+
data-component="crn-input-floating" id="lbl-${field.name}-${model.random}">
|
|
138
138
|
<span class="input-label">${model.formMapLabels[field.name]!}</span>
|
|
139
139
|
<input aria-label="<#if field.label?has_content>${field.label}<#else>${field.name}</#if>" type="integer"
|
|
140
140
|
placeholder="<#if field.label?has_content>${field.label}<#else>${field.name}</#if>"
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
</label>
|
|
146
146
|
<#elseif (field.isByte() || field.isInteger()) >
|
|
147
147
|
<label for="textinput-${field.name}-${model.random}" class="item item-input item-stacked-label"
|
|
148
|
-
data-component="crn-input-floating">
|
|
148
|
+
data-component="crn-input-floating" id="lbl-${field.name}-${model.random}">
|
|
149
149
|
<span class="input-label">${model.formMapLabels[field.name]!}</span>
|
|
150
150
|
<input aria-label="<#if field.label?has_content>${field.label}<#else>${field.name}</#if>"
|
|
151
151
|
type="integer"
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
</label>
|
|
158
158
|
<#elseif field.isLong() >
|
|
159
159
|
<label for="textinput-${field.name}-${model.random}" class="item item-input item-stacked-label"
|
|
160
|
-
data-component="crn-input-floating">
|
|
160
|
+
data-component="crn-input-floating" id="lbl-${field.name}-${model.random}">
|
|
161
161
|
<span class="input-label">${model.formMapLabels[field.name]!}</span>
|
|
162
162
|
<input aria-label="<#if field.label?has_content>${field.label}<#else>${field.name}</#if>"
|
|
163
163
|
type="number"
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
</label>
|
|
170
170
|
<#elseif field.isDecimal() >
|
|
171
171
|
<label for="textinput-${field.name}-${model.random}" class="item item-input item-stacked-label"
|
|
172
|
-
data-component="crn-input-floating">
|
|
172
|
+
data-component="crn-input-floating" id="lbl-${field.name}-${model.random}">
|
|
173
173
|
<span class="input-label">${model.formMapLabels[field.name]!}</span>
|
|
174
174
|
<input aria-label="<#if field.label?has_content>${field.label}<#else>${field.name}</#if>" type="number"
|
|
175
175
|
placeholder="<#if field.label?has_content>${field.label}<#else>${field.name}</#if>"
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
</label>
|
|
181
181
|
<#elseif field.isChar() >
|
|
182
182
|
<label for="textinput-${field.name}-${model.random}" class="item item-input item-stacked-label"
|
|
183
|
-
data-component="crn-input-floating">
|
|
183
|
+
data-component="crn-input-floating" id="lbl-${field.name}-${model.random}">
|
|
184
184
|
<span class="input-label">${model.formMapLabels[field.name]!}</span>
|
|
185
185
|
<input aria-label="<#if field.label?has_content>${field.label}<#else>${field.name}</#if>" type="text" maxlength="1"
|
|
186
186
|
placeholder="<#if field.label?has_content>${field.label}<#else>${field.name}</#if>"
|
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
</div>
|
|
233
233
|
<#else>
|
|
234
234
|
<label for="textinput-${field.name}-${model.random}" class="item item-input item-stacked-label"
|
|
235
|
-
data-component="crn-input-floating">
|
|
235
|
+
data-component="crn-input-floating" id="lbl-${field.name}-${model.random}">
|
|
236
236
|
<span class="input-label">${model.formMapLabels[field.name]!}</span>
|
|
237
237
|
<input
|
|
238
238
|
type="text"
|
package/package.json
CHANGED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<#if ((backend?lower_case) == "true" && (frontend?lower_case) == "true") || (backend?lower_case) == "true" >
|
|
2
|
+
path=/config
|
|
3
|
+
path=/diagram
|
|
4
|
+
path=/src
|
|
5
|
+
path=/docs
|
|
6
|
+
file=.gitignore.ftl
|
|
7
|
+
file=pom.xml.ftl
|
|
8
|
+
file=project.png
|
|
9
|
+
file=README.md
|
|
10
|
+
file=spring-boot.png
|
|
11
|
+
</#if>
|
|
12
|
+
<#if (backend?lower_case) == "false" && (frontend?lower_case) == "true" >
|
|
13
|
+
path=/src
|
|
14
|
+
path=/docs
|
|
15
|
+
file=.gitignore.ftl
|
|
16
|
+
file=pom.xml.ftl
|
|
17
|
+
file=project.png
|
|
18
|
+
file=README.md
|
|
19
|
+
file=spring-boot.png
|
|
20
|
+
</#if>
|
|
21
|
+
<#if (backend?lower_case) == "false" && (frontend?lower_case) == "false" >
|
|
22
|
+
path=/src/main/mobileapp
|
|
23
|
+
path=/docs
|
|
24
|
+
file=.gitignore.ftl
|
|
25
|
+
file=pom.xml.ftl
|
|
26
|
+
file=project.png
|
|
27
|
+
file=README.md
|
|
28
|
+
file=spring-boot.png
|
|
29
|
+
</#if>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
../../project/W/cronapp-rad-project/config
|
|
2
|
+
../../project/W/cronapp-rad-project/docs
|
|
3
|
+
../../project/W/cronapp-rad-project/diagram
|
|
4
|
+
../../project/W/cronapp-rad-project/Dockerfile
|
|
5
|
+
../../project/W/cronapp-rad-project/Jenkinsfile
|
|
6
|
+
../../project/W/cronapp-rad-project/pom.xml.ftl
|
|
7
|
+
../../project/W/cronapp-rad-project/.gitignore.ftl
|
|
8
|
+
../../project/W/cronapp-rad-project/README.md
|
|
9
|
+
../../project/M/cronapp-rad-project-mobile-cordova/src
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
4
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
|
5
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
6
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
9
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
10
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
11
|
+
id="Camada_1"
|
|
12
|
+
data-name="Camada 1"
|
|
13
|
+
viewBox="0 0 140 84"
|
|
14
|
+
version="1.1"
|
|
15
|
+
sodipodi:docname="project2.svg"
|
|
16
|
+
inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)">
|
|
17
|
+
<metadata
|
|
18
|
+
id="metadata62">
|
|
19
|
+
<rdf:RDF>
|
|
20
|
+
<cc:Work
|
|
21
|
+
rdf:about="">
|
|
22
|
+
<dc:format>image/svg+xml</dc:format>
|
|
23
|
+
<dc:type
|
|
24
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
25
|
+
<dc:title>project</dc:title>
|
|
26
|
+
</cc:Work>
|
|
27
|
+
</rdf:RDF>
|
|
28
|
+
</metadata>
|
|
29
|
+
<sodipodi:namedview
|
|
30
|
+
pagecolor="#ffffff"
|
|
31
|
+
bordercolor="#666666"
|
|
32
|
+
borderopacity="1"
|
|
33
|
+
objecttolerance="10"
|
|
34
|
+
gridtolerance="10"
|
|
35
|
+
guidetolerance="10"
|
|
36
|
+
inkscape:pageopacity="0"
|
|
37
|
+
inkscape:pageshadow="2"
|
|
38
|
+
inkscape:window-width="1920"
|
|
39
|
+
inkscape:window-height="1050"
|
|
40
|
+
id="namedview60"
|
|
41
|
+
showgrid="false"
|
|
42
|
+
inkscape:zoom="3.2122851"
|
|
43
|
+
inkscape:cx="115.56013"
|
|
44
|
+
inkscape:cy="37.50223"
|
|
45
|
+
inkscape:window-x="1920"
|
|
46
|
+
inkscape:window-y="0"
|
|
47
|
+
inkscape:window-maximized="1"
|
|
48
|
+
inkscape:current-layer="Camada_1" />
|
|
49
|
+
<defs
|
|
50
|
+
id="defs9">
|
|
51
|
+
<style
|
|
52
|
+
id="style2">.cls-1{fill:url(#Gradiente_sem_nome_2);}.cls-2{fill:#fff;}</style>
|
|
53
|
+
<linearGradient
|
|
54
|
+
id="Gradiente_sem_nome_2"
|
|
55
|
+
y1="42"
|
|
56
|
+
x2="140"
|
|
57
|
+
y2="42"
|
|
58
|
+
gradientUnits="userSpaceOnUse"
|
|
59
|
+
gradientTransform="translate(-185.34591,-16.289308)">
|
|
60
|
+
<stop
|
|
61
|
+
offset="0"
|
|
62
|
+
stop-color="#80d8ff"
|
|
63
|
+
id="stop4" />
|
|
64
|
+
<stop
|
|
65
|
+
offset="1"
|
|
66
|
+
stop-color="#ea80fc"
|
|
67
|
+
id="stop6" />
|
|
68
|
+
</linearGradient>
|
|
69
|
+
</defs>
|
|
70
|
+
<title
|
|
71
|
+
id="title11">project</title>
|
|
72
|
+
<rect
|
|
73
|
+
id="rect94"
|
|
74
|
+
width="138.239"
|
|
75
|
+
height="82.327042"
|
|
76
|
+
x="1.3283472"
|
|
77
|
+
y="0.73904139"
|
|
78
|
+
style="fill:#ffffff" />
|
|
79
|
+
<image
|
|
80
|
+
y="7.8856015"
|
|
81
|
+
x="-3.3206923"
|
|
82
|
+
id="image72"
|
|
83
|
+
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAADICAYAAABS39xVAAAWqklEQVR42uzcu2tTUQDH8XOTGx8U
|
|
84
|
+
FVREwQcuLoKiIi4ugoJgQQRxEZxcHFQEwU1x1kEU/AMU29pqtfFRXzio+MJqVByEvqx92rexbdLW
|
|
85
|
+
Hn8Jae9JagMOTRy+H/iuuduPk9vTGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
|
86
|
+
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMDVW2tK1Brl
|
|
87
|
+
mRz9z7xVIzETMQBQRO5gLVCX1W7lG0fH/fCZ+Ftvf/KzCRkAKDaNlKcuqE51XJWYjOYq/9jAi9B3
|
|
88
|
+
DdY+RgvA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
189
|
+
width="147.67296" />
|
|
190
|
+
</svg>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
cronapp.framework.mailer.auth=true
|
|
2
|
+
cronapp.framework.mailer.host=smtp.gmail.com
|
|
3
|
+
cronapp.framework.mailer.password=password
|
|
4
|
+
cronapp.framework.mailer.port=587
|
|
5
|
+
cronapp.framework.mailer.protocol=smtp
|
|
6
|
+
cronapp.framework.mailer.scheduler.batchSize=10
|
|
7
|
+
cronapp.framework.mailer.scheduler.expression=0 * * ? * *
|
|
8
|
+
cronapp.framework.mailer.tls=true
|
|
9
|
+
cronapp.framework.mailer.username=email@gmail.com
|
|
10
|
+
|
|
11
|
+
security.oauth2.client.accessTokenUri=https://identity.dev.lyceum.cloud/realms/${tenant}/protocol/openid-connect/token
|
|
12
|
+
security.oauth2.client.clientAuthenticationScheme=form
|
|
13
|
+
security.oauth2.client.clientId=${accessid}
|
|
14
|
+
security.oauth2.client.clientSecret=${token}
|
|
15
|
+
security.oauth2.client.scope=openid profile email
|
|
16
|
+
security.oauth2.client.userAuthorizationUri=https://identity.dev.lyceum.cloud/realms/${tenant}/protocol/openid-connect/auth
|
|
17
|
+
security.oauth2.resource.preferTokenInfo=false
|
|
18
|
+
security.oauth2.resource.userInfoUri=https://identity.dev.lyceum.cloud/realms/${tenant}/protocol/openid-connect/userinfo
|
|
19
|
+
|
|
20
|
+
security.oauth2.saml.entityId=entityId
|
|
21
|
+
security.oauth2.saml.metadataUrl=metadataUrl
|
|
22
|
+
security.oauth2.saml.privateKey=privateKey
|
|
23
|
+
security.oauth2.saml.privateKeyPass=privateKeyPass
|
|
24
|
+
security.oauth2.saml.storeFile=storeFile
|
|
25
|
+
security.oauth2.saml.storePass=storePass
|
|
26
|
+
security.oauth2.sso.login-path=/login
|
|
27
|
+
spring.output.ansi.enabled=ALWAYS
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
order=1
|
|
2
|
+
icon=project.svg
|
|
3
|
+
name=LyceumX Low-Code Module
|
|
4
|
+
description=Template para criação de aplicações para LyceumX
|
|
5
|
+
encoding=UTF-8
|
|
6
|
+
template=low-code
|
|
7
|
+
mimetype.src=folder/regular
|
|
8
|
+
mimetype.src.main.java=folder/src
|
|
9
|
+
mimetype.src.main.resources=folder/src
|
|
10
|
+
mimetype.src.main.mobileapp.www=folder/web
|
|
11
|
+
mimetype.src.main.webapp=folder/web
|
|
12
|
+
mimetype.src.test.java=folder/regular
|
|
13
|
+
mimetype.config=folder/servercontext
|
|
14
|
+
billingPlan=developer,techne
|
|
15
|
+
|
|
16
|
+
template.id=cronapp-lyceum-project-mobile-cordova
|
|
17
|
+
features=ionic|angularjs|eclipselink|jpa|maven|springboot|cordova
|
|
18
|
+
|
|
19
|
+
parameter.page.1.string.0.appid=${generateAppId}
|
|
20
|
+
parameter.page.1.boolean.1.frontend=true
|
|
21
|
+
parameter.page.1.boolean.2.backend=true
|
|
22
|
+
parameter.page.1.list.3.authentication=SSO
|
|
23
|
+
parameter.page.1.list.4.social=Não|Sim
|
|
24
|
+
parameter.page.1.list.5.mutual=Não|Sim
|
|
25
|
+
parameter.page.1.string.6.tenant=
|
|
26
|
+
parameter.page.1.string.7.token=
|
|
27
|
+
parameter.page.1.string.8.accessid=
|
|
28
|
+
|
|
29
|
+
parameter.page.2.theme.6.theme=Material|Aquamarine|Fuse|DsGov|Cerulean|Cosmo|Cyborg|Darkly|Flatly|Journal|Lumen|Paper|Readable|Sandstone|Simplex|Slate|Spacelab|Superhero|United|Yeti
|
|
30
|
+
themeDescription.Aquamarine=O tema Aquamarine utiliza o padrão de HTML e CSS do Bootstrap 🆕
|
|
31
|
+
themeDescription.Fuse=O tema Fuse utiliza o padrão de HTML e CSS do Bootstrap 🆕
|
|
32
|
+
themeDescription.DsGov=O tema DsGov utiliza o padrão de HTML e CSS do Gov.br 🆕
|
|
33
|
+
themeDescription.Material=O tema Material utiliza o padrão de HTML e CSS do Bootstrap com suporte à acessibilidade ♿
|
|
34
|
+
themeDescription.Cerulean=O tema Cerulean utiliza o padrão de HTML e CSS do Bootstrap
|
|
35
|
+
themeDescription.Cosmo=O tema Cosmo utiliza o padrão de HTML e CSS do Bootstrap
|
|
36
|
+
themeDescription.Cyborg=O tema Cyborg utiliza o padrão de HTML e CSS do Bootstrap
|
|
37
|
+
themeDescription.Darkly=O tema Darkly utiliza o padrão de HTML e CSS do Bootstrap
|
|
38
|
+
themeDescription.Flatly=O tema Flatly utiliza o padrão de HTML e CSS do Bootstrap
|
|
39
|
+
themeDescription.Journal=O tema Journal utiliza o padrão de HTML e CSS do Bootstrap
|
|
40
|
+
themeDescription.Lumen=O tema Lumen utiliza o padrão de HTML e CSS do Bootstrap
|
|
41
|
+
themeDescription.Paper=O tema Paper utiliza o padrão de HTML e CSS do Bootstrap
|
|
42
|
+
themeDescription.Readable=O tema Readable utiliza o padrão de HTML e CSS do Bootstrap
|
|
43
|
+
themeDescription.Sandstone=O tema Sandstone utiliza o padrão de HTML e CSS do Bootstrap
|
|
44
|
+
themeDescription.Simplex=O tema Simplex utiliza o padrão de HTML e CSS do Bootstrap
|
|
45
|
+
themeDescription.Slate=O tema Slate utiliza o padrão de HTML e CSS do Bootstrap
|
|
46
|
+
themeDescription.Spacelab=O tema Spacelab utiliza o padrão de HTML e CSS do Bootstrap
|
|
47
|
+
themeDescription.Superhero=O tema Superhero utiliza o padrão de HTML e CSS do Bootstrap
|
|
48
|
+
themeDescription.United=O tema United utiliza o padrão de HTML e CSS do Bootstrap
|
|
49
|
+
themeDescription.Yeti=O tema Yeti utiliza o padrão de HTML e CSS do Bootstrap
|
|
50
|
+
|
|
51
|
+
parameter.dependency.dcyauthentication.authentication.backend.false=Token
|
|
52
|
+
parameter.hidden.lyceum=true
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
description=Template for creating applications for LyceumX
|
|
2
|
+
parameter.page.1.string.0.appid=Application Id
|
|
3
|
+
parameter.page.1.boolean.1.frontend=Include Web Front-End
|
|
4
|
+
parameter.page.1.boolean.2.backend=Include Back-End
|
|
5
|
+
parameter.page.1.list.3.authentication=Authentication Type
|
|
6
|
+
parameter.page.1.list.4.social=Login over social networks
|
|
7
|
+
parameter.page.1.list.5.mutual=Mutual Authentication
|
|
8
|
+
parameter.page.1.string.6.tenant=LyceumX Tenant
|
|
9
|
+
parameter.page.1.string.7.token=LyceumX Token
|
|
10
|
+
parameter.page.1.string.8.accessid=LyceumX Id
|
|
11
|
+
|
|
12
|
+
parameter.page.2.theme.6.theme=Theme (Bootstrap)
|
|
13
|
+
themeDescription.Aquamarine=Aquamarine theme uses standard HTML and CSS Bootstrap 🆕
|
|
14
|
+
themeDescription.Fuse=Fuse theme uses standard HTML and CSS Bootstrap 🆕
|
|
15
|
+
themeDescription.DsGov=DsGov theme uses standard HTML and CSS of Brazilian Gov.br 🆕
|
|
16
|
+
themeDescription.Material=Material theme uses standard HTML and CSS Bootstrap with accessibility support ♿
|
|
17
|
+
themeDescription.Cerulean=Cerulean theme uses standard HTML and CSS Bootstrap
|
|
18
|
+
themeDescription.Cosmo=Cosmo theme uses standard HTML and CSS Bootstrap
|
|
19
|
+
themeDescription.Cyborg=Cyborg theme uses standard HTML and CSS Bootstrap
|
|
20
|
+
themeDescription.Darkly=The Darkly theme uses standard HTML and CSS Bootstrap
|
|
21
|
+
themeDescription.Flatly=The Flatly theme uses standard HTML and CSS Bootstrap
|
|
22
|
+
themeDescription.Journal=The Journal theme uses standard HTML and CSS Bootstrap
|
|
23
|
+
themeDescription.Lumen=The Lumen theme uses standard HTML and CSS Bootstrap
|
|
24
|
+
themeDescription.Paper=The Paper theme uses standard HTML and CSS Bootstrap
|
|
25
|
+
themeDescription.Readable=Readable The theme uses standard HTML and CSS Bootstrap
|
|
26
|
+
themeDescription.Sandstone=Sandstone theme uses standard HTML and CSS Bootstrap
|
|
27
|
+
themeDescription.Simplex=Simplex theme uses standard HTML and CSS Bootstrap
|
|
28
|
+
themeDescription.Slate=Slate theme uses standard HTML and CSS Bootstrap
|
|
29
|
+
themeDescription.Spacelab=Spacelab theme uses standard HTML and CSS Bootstrap
|
|
30
|
+
themeDescription.Superhero=The Superhero theme uses standard HTML and CSS Bootstrap
|
|
31
|
+
themeDescription.United=The theme United uses standard HTML and CSS Bootstrap
|
|
32
|
+
themeDescription.Yeti=Yeti theme uses standard HTML and CSS Bootstrap
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
parameter.page.1.string.0.appid=Id da Aplicação
|
|
2
|
+
parameter.page.1.boolean.1.frontend=Incluir Front-End Web
|
|
3
|
+
parameter.page.1.boolean.2.backend=Incluir Back-End
|
|
4
|
+
parameter.page.1.list.3.authentication=Tipo de Autenticação
|
|
5
|
+
parameter.page.1.list.4.social=Login por redes sociais
|
|
6
|
+
parameter.page.1.list.5.mutual=Autenticação Mútua
|
|
7
|
+
parameter.page.1.string.6.tenant=LyceumX Tenant
|
|
8
|
+
parameter.page.1.string.7.token=LyceumX Token
|
|
9
|
+
parameter.page.1.string.8.accessid=LyceumX Id
|
|
10
|
+
|
|
11
|
+
parameter.page.2.theme.6.theme=Tema (Bootstrap)
|
|
12
|
+
themeDescription.Fuse=O tema Fuse utiliza o padrão de HTML e CSS do Bootstrap 🆕
|
|
13
|
+
themeDescription.Aquamarine=O tema Aquamarine utiliza o padrão de HTML e CSS do Bootstrap 🆕
|
|
14
|
+
themeDescription.DsGov=O tema DsGov utiliza o padrão de HTML e CSS do Gov.br 🆕
|
|
15
|
+
themeDescription.Material=O tema Material utiliza o padrão de HTML e CSS do Bootstrap com suporte à acessibilidade ♿
|
|
16
|
+
themeDescription.Cerulean=O tema Cerulean utiliza o padrão de HTML e CSS do Bootstrap
|
|
17
|
+
themeDescription.Cosmo=O tema Cosmo utiliza o padrão de HTML e CSS do Bootstrap
|
|
18
|
+
themeDescription.Cyborg=O tema Cyborg utiliza o padrão de HTML e CSS do Bootstrap
|
|
19
|
+
themeDescription.Darkly=O tema Darkly utiliza o padrão de HTML e CSS do Bootstrap
|
|
20
|
+
themeDescription.Flatly=O tema Flatly utiliza o padrão de HTML e CSS do Bootstrap
|
|
21
|
+
themeDescription.Journal=O tema Journal utiliza o padrão de HTML e CSS do Bootstrap
|
|
22
|
+
themeDescription.Lumen=O tema Lumen utiliza o padrão de HTML e CSS do Bootstrap
|
|
23
|
+
themeDescription.Paper=O tema Paper utiliza o padrão de HTML e CSS do Bootstrap
|
|
24
|
+
themeDescription.Readable=O tema Readable utiliza o padrão de HTML e CSS do Bootstrap
|
|
25
|
+
themeDescription.Sandstone=O tema Sandstone utiliza o padrão de HTML e CSS do Bootstrap
|
|
26
|
+
themeDescription.Simplex=O tema Simplex utiliza o padrão de HTML e CSS do Bootstrap
|
|
27
|
+
themeDescription.Slate=O tema Slate utiliza o padrão de HTML e CSS do Bootstrap
|
|
28
|
+
themeDescription.Spacelab=O tema Spacelab utiliza o padrão de HTML e CSS do Bootstrap
|
|
29
|
+
themeDescription.Superhero=O tema Superhero utiliza o padrão de HTML e CSS do Bootstrap
|
|
30
|
+
themeDescription.United=O tema United utiliza o padrão de HTML e CSS do Bootstrap
|
|
31
|
+
themeDescription.Yeti=O tema Yeti utiliza o padrão de HTML e CSS do Bootstrap
|
|
@@ -35,17 +35,17 @@
|
|
|
35
35
|
<input type="hidden" name="csrf_token" value="CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz" />
|
|
36
36
|
<div class="list" ng-disabled="!User.editing && !User.inserting">
|
|
37
37
|
<!-- email begin -->
|
|
38
|
-
<label for="textinput-email" class="item item-input item-stacked-label" data-component="crn-input-floating">
|
|
38
|
+
<label for="textinput-email" class="item item-input item-stacked-label" data-component="crn-input-floating" id="lbl-textinput-email">
|
|
39
39
|
<span>Email</span>
|
|
40
40
|
<input aria-label="Email" type="text" placeholder="Email" ng-model="User.active.email" id="textinput-email" name="textinput-email">
|
|
41
41
|
</label>
|
|
42
42
|
<!-- name begin -->
|
|
43
|
-
<label for="textinput-name" class="item item-input item-stacked-label" data-component="crn-input-floating">
|
|
43
|
+
<label for="textinput-name" class="item item-input item-stacked-label" data-component="crn-input-floating" id="lbl-textinput-name">
|
|
44
44
|
<span>{{'Users.view.Name' | translate}}</span>
|
|
45
45
|
<input aria-label="{{'Users.view.Name' | translate}}" type="text" placeholder="{{'Users.view.Name' | translate}}" ng-model="User.active.name" id="textinput-name" name="textinput-name" required="required">
|
|
46
46
|
</label>
|
|
47
47
|
<!-- login begin -->
|
|
48
|
-
<label for="textinput-login" class="item item-input item-stacked-label" data-component="crn-input-floating">
|
|
48
|
+
<label for="textinput-login" class="item item-input item-stacked-label" data-component="crn-input-floating" id="lbl-textinput-login">
|
|
49
49
|
<span>{{'Users.view.Login' | translate}}</span>
|
|
50
50
|
<input aria-label="{{'Users.view.Login' | translate}}" type="text" placeholder="{{'Users.view.Login' | translate}}" ng-model="User.active.userName" id="textinput-login" name="textinput-login" required="required">
|
|
51
51
|
</label>
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
</div>
|
|
60
60
|
</div>
|
|
61
61
|
<!-- password begin -->
|
|
62
|
-
<label for="textinput-password" class="item item-input item-stacked-label" data-component="crn-input-floating">
|
|
62
|
+
<label for="textinput-password" class="item item-input item-stacked-label" data-component="crn-input-floating" id="lbl-textinput-password">
|
|
63
63
|
<span>{{'Home.view.Password' | translate}}</span>
|
|
64
64
|
<input type="password" aria-label="{{'Home.view.Password' | translate}}" type="text" placeholder="{{'Home.view.Password' | translate}}" ng-model="User.active.password" id="textinput-password" name="textinput-password" required="required">
|
|
65
65
|
</label>
|
|
@@ -6,39 +6,88 @@
|
|
|
6
6
|
<img aria-roledescription="logo" alt="{{'Accessibility.Login.Logo.Alt' | translate}}" src="node_modules/cronapp-framework-mobile-js/img/logo.svg" class="component-holder logo" style="display: block; margin-left:auto; margin-right:auto;" xattr-position="display: block; margin-left:auto; margin-right:auto;" data-component="crn-image" id="crn-image-960683">
|
|
7
7
|
</div>
|
|
8
8
|
</div>
|
|
9
|
-
<
|
|
10
|
-
<
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
<div class="item">
|
|
22
|
-
<a href="#/app/public/reset-password-email" class="component-holder" style="display:block" xattr-fullsize="display:block;" data-replace="true" data-component="crn-anchor" id="reset-password-login" on-hold="" on-tap="">{{'ResetPassword' | translate}}</a>
|
|
23
|
-
</div>
|
|
24
|
-
|
|
25
|
-
<div class="item" title="{{'Login.view.Login' | translate}}" for="crn-button-445347">
|
|
26
|
-
<button role="button" aria-label="{{'Login.view.Login' | translate}}" class="button button-block button-light button-medium filled" type="button" xattr-fullsize="button-block" xattr-theme="button-light" ng-click="cronapi.client('js.blockly.auth.Login.login').run(vars.username, vars.password, null)" data-component="crn-button" xattr-size="button-medium" xattr-type="filled" id="crn-button-907928" ng-disabled="form.$invalid || vm.dataLoading">
|
|
27
|
-
<i class="light" xattr-icon-theme="light"></i>
|
|
28
|
-
<span>{{"Login.view.Login" | translate}}</span></button>
|
|
29
|
-
</div>
|
|
30
|
-
|
|
31
|
-
<div class="item">
|
|
32
|
-
<a aria-label="{{'Signup.view.Signup' | translate}}" href="#/app/public/signup" class="component-holder" style="display:block" xattr-fullsize="display:block;" data-replace="true" data-component="crn-anchor" id="button-signup">{{'Signup.view.Signup' | translate}}</a>
|
|
33
|
-
</div>
|
|
34
|
-
|
|
35
|
-
<div class="item" title="{{message.error}}">
|
|
36
|
-
<div ng-show="message.error" class="help-block" data-container="true">
|
|
37
|
-
{{message.error}}
|
|
9
|
+
<div class="list list-inset login-mobile" data-container="true">
|
|
10
|
+
<form class="form-validation" autocomplete="off" name="form" role="form">
|
|
11
|
+
<input type="hidden" name="csrf_token" value="CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz">
|
|
12
|
+
<#if authentication?lower_case != "sso" && authentication?lower_case != "saml">
|
|
13
|
+
<div class="item item-input component-holder" data-component="crn-input" for="crn-input-username" title="{{'Login.view.Username' | translate}}" id="lbl-input-username">
|
|
14
|
+
<input aria-label="{{'Login.view.Username' | translate}}" autocomplete="username" autocorrect="off" autocapitalize="off" type="text" placeholder="{{'Login.view.Username' | translate}}" ng-model="vars.username" id="crn-input-username" keyboard="username">
|
|
15
|
+
</div>
|
|
16
|
+
<div class="item item-input component-holder" data-component="crn-input" for="crn-input-password" title="{{'Login.view.Password' | translate}}" id="lbl-input-password">
|
|
17
|
+
<input aria-label="{{'Login.view.Password' | translate}}" autocomplete="current-password" type="password" placeholder="{{'Login.view.Password' | translate}}" ng-model="vars.password" id="crn-input-password" keyboard="password">
|
|
18
|
+
</div>
|
|
19
|
+
<div class="item">
|
|
20
|
+
<a href="#/app/public/reset-password-email" class="component-holder" style="display:block" xattr-fullsize="display:block;" data-replace="true" data-component="crn-anchor" id="reset-password-login" on-hold="" on-tap="">{{'ResetPassword' | translate}}</a>
|
|
38
21
|
</div>
|
|
22
|
+
<div class="item" title="{{'Login.view.Login' | translate}}" for="crn-button-445347">
|
|
23
|
+
<button role="button" aria-label="{{'Login.view.Login' | translate}}" class="button button-block button-light button-medium filled" type="button" xattr-fullsize="button-block" xattr-theme="button-light" ng-click="cronapi.client('js.blockly.auth.Login.login').run(vars.username, vars.password, null)" data-component="crn-button" xattr-size="button-medium" xattr-type="filled" id="crn-button-907928" ng-disabled="form.$invalid || vm.dataLoading">
|
|
24
|
+
<i class="light" xattr-icon-theme="light"></i>
|
|
25
|
+
<span>{{"Login.view.Login" | translate}}</span></button>
|
|
26
|
+
</div>
|
|
27
|
+
<#else>
|
|
28
|
+
<div class="item" title="{{'Login.view.Login' | translate}}" for="crn-button-445347">
|
|
29
|
+
<button role="button" aria-label="{{'Login.view.Login' | translate}}" class="button button-block button-light button-medium filled" type="button" xattr-fullsize="button-block" xattr-theme="button-light" ng-click="redirectToLogin()" data-component="crn-button" xattr-size="button-medium" xattr-type="filled" id="crn-button-907928" ng-disabled="form.$invalid || vm.dataLoading">
|
|
30
|
+
<i class="light" xattr-icon-theme="light"></i>
|
|
31
|
+
<span>{{"Login.view.Login" | translate}}</span></button>
|
|
32
|
+
</div>
|
|
33
|
+
</#if>
|
|
34
|
+
<#if authentication?lower_case != "sso" && authentication?lower_case != "saml">
|
|
35
|
+
<div class="item">
|
|
36
|
+
<a aria-label="{{'Signup.view.Signup' | translate}}" href="#/app/public/signup" class="component-holder" style="display:block" xattr-fullsize="display:block;" data-replace="true" data-component="crn-anchor" id="button-signup">{{'Signup.view.Signup' | translate}}</a>
|
|
37
|
+
</div>
|
|
38
|
+
</#if>
|
|
39
|
+
</form>
|
|
40
|
+
<#if social?? && social?lower_case == "sim">
|
|
41
|
+
<form action="/signin/facebook" method="POST" id="facebook">
|
|
42
|
+
<input type="hidden" name="csrf_token" value="CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz">
|
|
43
|
+
<input type="hidden" name="scope" value="email,public_profile">
|
|
44
|
+
</form>
|
|
45
|
+
<form action="/signin/github" method="POST" id="github">
|
|
46
|
+
<input type="hidden" name="csrf_token" value="CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz">
|
|
47
|
+
<input type="hidden" name="scope" value="email,public_profile">
|
|
48
|
+
</form>
|
|
49
|
+
<form action="/signin/google" method="POST" id="google">
|
|
50
|
+
<input type="hidden" name="csrf_token" value="CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz">
|
|
51
|
+
<input type="hidden" name="scope" value="email">
|
|
52
|
+
</form>
|
|
53
|
+
<form action="/signin/linkedin" method="POST" id="linkedin">
|
|
54
|
+
<input type="hidden" name="csrf_token" value="CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz">
|
|
55
|
+
<input type="hidden" name="scope" value="r_emailaddress">
|
|
56
|
+
</form>
|
|
57
|
+
<form action="/signin/cronapp" method="POST" id="cronapp">
|
|
58
|
+
<input type="hidden" name="csrf_token" value="CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz">
|
|
59
|
+
<input type="hidden" name="scope" value="email">
|
|
60
|
+
</form>
|
|
61
|
+
<div class="component-holder ng-scope login-social" data-component="crn-button-bar" id="crn-login-social-mobile" style="">
|
|
62
|
+
<div class="button-bar center-block text-center">
|
|
63
|
+
<button data-component="crn-button" type="button" onclick="document.getElementById('facebook').submit()" xattr-size="" xattr-type="" xattr-theme="" xattr-fullsize="button-block" id="login-social-facebook">
|
|
64
|
+
<span>Facebook</span>
|
|
65
|
+
<i class="icon icon-left fa fa-facebook positive" xattr-icon-theme="positive"></i>
|
|
66
|
+
</button>
|
|
67
|
+
<button data-component="crn-button" type="button" onclick="document.getElementById('github').submit()" xattr-size="" xattr-type="" xattr-theme="" xattr-fullsize="button-block" id="login-social-github">
|
|
68
|
+
<span>Github</span>
|
|
69
|
+
<i class="icon icon-left fa fa-github-alt positive" xattr-icon-theme="positive"></i>
|
|
70
|
+
</button>
|
|
71
|
+
<button data-component="crn-button" type="button" onclick="document.getElementById('google').submit()" xattr-size="" xattr-type="" xattr-theme="" xattr-fullsize="button-block" id="login-social-google">
|
|
72
|
+
<span>Google</span>
|
|
73
|
+
<i class="icon icon-left fa fa-linkedin-square positive" xattr-icon-theme="positive"></i>
|
|
74
|
+
</button>
|
|
75
|
+
<button data-component="crn-button" type="button" onclick="document.getElementById('linkedin').submit()" xattr-size="" xattr-type="" xattr-theme="" xattr-fullsize="button-block" id="login-social-linkedin">
|
|
76
|
+
<span>Linkedin</span>
|
|
77
|
+
<i class="icon icon-left fa fa-google positive" xattr-icon-theme="positive"></i>
|
|
78
|
+
</button>
|
|
79
|
+
<button data-component="crn-button" type="button" onclick="document.getElementById('cronapp').submit()" xattr-size="" xattr-type="" xattr-theme="" xattr-fullsize="button-block" id="login-social-cronapp">
|
|
80
|
+
<span>CRONAPP</span>
|
|
81
|
+
<i class="icon icon-left fa fa-cloud positive" xattr-icon-theme="positive"></i>
|
|
82
|
+
</button>
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
</#if>
|
|
86
|
+
<div class="item" title="{{message.error}}">
|
|
87
|
+
<div ng-show="message.error" class="help-block" data-container="true">
|
|
88
|
+
{{message.error}}
|
|
39
89
|
</div>
|
|
40
|
-
|
|
41
90
|
</div>
|
|
42
|
-
</
|
|
91
|
+
</div>
|
|
43
92
|
</ion-content>
|
|
44
93
|
</ion-view>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<#-- Verificar se existem parametros -->
|
|
2
|
+
file=home.view.html
|
|
3
|
+
file=menu.view.html
|
|
4
|
+
<#if authentication?lower_case != "sso" && authentication?lower_case != "saml">
|
|
5
|
+
file=reset-password-email.view.html
|
|
6
|
+
file=reset-password.view.html
|
|
7
|
+
file=signup.view.html
|
|
8
|
+
</#if>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<ion-view class="pane" role="region">
|
|
2
2
|
<ion-content data-container="true" data-component="crn-ion-content" class="scroll-content menu-view">
|
|
3
|
-
<
|
|
3
|
+
<div class=" disable-user-behavior list">
|
|
4
4
|
<!-- Menu -->
|
|
5
5
|
<div class="component-holder" data-component="crn-navbar" id="menu-blue">
|
|
6
6
|
<div class="nav navbar-nav">
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
</div>
|
|
11
11
|
</div>
|
|
12
12
|
<!-- Menu -->
|
|
13
|
-
</
|
|
13
|
+
</div>
|
|
14
14
|
</ion-content>
|
|
15
15
|
</ion-view>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<ion-view class="pane">
|
|
2
2
|
<ion-content data-container="true" data-component="crn-ion-content" class="scroll-content menu-view">
|
|
3
|
-
<
|
|
3
|
+
<div class=" disable-user-behavior list">
|
|
4
4
|
<!-- Menu -->
|
|
5
5
|
<div class="component-holder" data-component="crn-navbar" id="menu-blue">
|
|
6
6
|
<div class="nav navbar-nav">
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
</cron-mobile-menu>
|
|
11
11
|
</div>
|
|
12
12
|
<!-- Menu -->
|
|
13
|
-
</
|
|
13
|
+
</div>
|
|
14
14
|
</ion-content>
|
|
15
15
|
</ion-view>
|
|
@@ -189,6 +189,13 @@
|
|
|
189
189
|
<groupId>io.cronapp</groupId>
|
|
190
190
|
<artifactId>cronapp-framework-auditlog</artifactId>
|
|
191
191
|
</dependency>
|
|
192
|
+
<#if ((lyceum??) && (lyceum?lower_case) == "true") >
|
|
193
|
+
<dependency>
|
|
194
|
+
<groupId>io.cronapp.plugins.0D605BA-0E1B-4814-AECE-5A793A49976</groupId>
|
|
195
|
+
<artifactId>lyceumx-api</artifactId>
|
|
196
|
+
<version>1.0.0-SNAPSHOT</version>
|
|
197
|
+
</dependency>
|
|
198
|
+
</#if>
|
|
192
199
|
</dependencies>
|
|
193
200
|
<repositories>
|
|
194
201
|
<repository>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?><blockly audit="false" blocklyType="WEB" bpmnAble="false" formTarget="src/main/webapp/views/public/privacy/cookies.view.html" resourceType="JS" ruleDescription="Cookies" ruleName="Cookies" ruleSynchronous="false" ruleTimeout="" ruleType="I" soap="false" swagger="false">
|
|
2
|
-
<metadata scale="1" scrollx="
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?><blockly audit="false" blocklyType="WEB" bpmnAble="false" formTarget="src/main/webapp/views/public/privacy/cookies.view.html" library="false" resourceType="JS" ruleDescription="Cookies" ruleName="Cookies" ruleSynchronous="false" ruleTimeout="" ruleType="I" soap="false" swagger="false">
|
|
2
|
+
<metadata scale="1" scrollx="225.20000000000005" scrolly="-727.9999999999999" target="4,jQlG7DhFXI`(beTz@O"/>
|
|
3
3
|
<block asynccall="false" colour="#fca03b" id="fHKQ4}K963e^Op)eRLp}" origintype="procedures_defnoreturn" output="false" tooltip="Cria uma função que não tem retorno." type="procedures_defnoreturn" x="-307" y="173">
|
|
4
4
|
<field customattributes="" name="NAME">openPreferences</field>
|
|
5
5
|
<comment h="80" pinned="false" w="160">Descreva esta função...</comment>
|
|
@@ -414,4 +414,45 @@
|
|
|
414
414
|
</block>
|
|
415
415
|
</value>
|
|
416
416
|
</block>
|
|
417
|
+
<block asynccall="false" colour="#fca03b" id="4,jQlG7DhFXI`(beTz@O" origintype="procedures_defreturn" output="false" tooltip="Cria uma função que possui um valor de retorno." type="procedures_defreturn" x="-134" y="937">
|
|
418
|
+
<field customattributes="" name="NAME">checkCookies</field>
|
|
419
|
+
<statement name="STACK">
|
|
420
|
+
<block asynccall="false" colour="#0088ee" dependencyby="4,jQlG7DhFXI`(beTz@O" id="pyk-m!-J9(E=xf;~ZGG`" origintype="variables_set" output="false" tooltip="Define esta variável para o valor da entrada." type="variables_set">
|
|
421
|
+
<field customattributes="" name="VAR">haveCookies</field>
|
|
422
|
+
<value name="VALUE">
|
|
423
|
+
<block asynccall="false" colour="#487f7f" dependencyby="4,jQlG7DhFXI`(beTz@O" id="4T]]m|CJ#ioH7OIi5#z8" multilayer="false" namespace="cronapi.util.checkSavedCookies" origintype="procedures_callreturn" output="true" returntype="ObjectType.STRING" tooltip="%3Cdiv%20class=%22name%22%3E%3Cstrong%3ENome:%3C/strong%3E%3Cdiv%3EVerificar%20cookie%20salvo%3C/div%3E%3C/div%3E%3Cdiv%20class=%22description%22%3E%3Cstrong%3EDescri%C3%A7%C3%A3o:%3C/strong%3E%3Cdiv%3EBloco%20que%20verifica%20se%20a%20chave%20j%C3%A1%20est%C3%A1%20salva%20no%20cookie%20de%20sess%C3%A3o%3C/div%3E%3C/div%3E%3Cdiv%20class=%22params%22%3E%3Cstrong%3EParam%C3%AAtro:%3C/strong%3E%3Cdiv%3E%3Cspan%3E%20-%20Chave%20:%20Texto%3C/span%3E%3Cbr%3E%3C/div%3E%3C/div%3E%3Cdiv%20class=%22return%22%3E%3Cstrong%3ERetorno:%3C/strong%3E%3Cdiv%3E%3Cspan%3E%20-%20Texto%3C/span%3E%3C/div%3E%3C/div%3E%3Cdiv%20class=%22link%22%3E%3Cstrong%3EAjuda:%3C/strong%3E%3Cdiv%20class=%22tooltip-link%22%3E%3Ca%20target=%22_blank%22%20href=%22http://localhost:8080/help?type=blockly&amp;id=cronapi.util.checkSavedCookies%22%3EAjuda%3C/a%3E%3C/div%3E%3C/div%3E" type="procedures_callreturn">
|
|
424
|
+
<mutation name="{{cronapi.util.checkSavedCookies}}" return-raw-type="undefined">
|
|
425
|
+
<arg cronapi-raw-type="undefined" cronapi-type="ObjectType.STRING" name="Chave"/>
|
|
426
|
+
</mutation>
|
|
427
|
+
<value name="ARG0">
|
|
428
|
+
<shadow asynccall="false" colour="#5ba593" dependencyby="4,jQlG7DhFXI`(beTz@O" id="0;w@pe}Di^%S$h[EaV{C" origintype="text" output="true" tooltip="function () { [native code] }" type="text">
|
|
429
|
+
<field customattributes="" name="TEXT">cookieEssencial</field>
|
|
430
|
+
</shadow>
|
|
431
|
+
</value>
|
|
432
|
+
</block>
|
|
433
|
+
</value>
|
|
434
|
+
<next>
|
|
435
|
+
<block asynccall="false" colour="#5b80a5" dependencyby="4,jQlG7DhFXI`(beTz@O" id="!qU$?O2|eMlx~nBo#=QD" origintype="controls_if" output="false" tooltip="function () { [native code] }" type="controls_if">
|
|
436
|
+
<value name="IF0">
|
|
437
|
+
<block asynccall="false" colour="#0088ee" dependencyby="4,jQlG7DhFXI`(beTz@O" id="]fhJw;raU3u:ag=WJV@%" origintype="variables_get" output="true" tooltip="Retorna o valor desta variável." type="variables_get">
|
|
438
|
+
<field customattributes="" name="VAR">haveCookies</field>
|
|
439
|
+
</block>
|
|
440
|
+
</value>
|
|
441
|
+
<statement name="DO0">
|
|
442
|
+
<block asynccall="false" colour="#934848" dependencyby="4,jQlG7DhFXI`(beTz@O" id="7?*aVNb1C:GDm7u{NQ*]" multilayer="true" namespace="cronapi.screen.hideComponent" origintype="procedures_callnoreturn" output="false" returntype="ObjectType.VOID" tooltip="%3Cdiv%20class=%22name%22%3E%3Cstrong%3ENome:%3C/strong%3E%3Cdiv%3EEsconder%20componente%3C/div%3E%3C/div%3E%3Cdiv%20class=%22description%22%3E%3Cstrong%3EDescri%C3%A7%C3%A3o:%3C/strong%3E%3Cdiv%3EFun%C3%A7%C3%A3o%20que%20esconde%20um%20componente%20da%20tela%3C/div%3E%3C/div%3E%3Cdiv%20class=%22params%22%3E%3Cstrong%3EParam%C3%AAtro:%3C/strong%3E%3Cdiv%3E%3Cspan%3E%20-%20Identificador%20:%20Objeto%3C/span%3E%3Cdiv%3E%20Identificador%20do%20componente%20a%20ser%20modificado%3C/div%3E%3C/div%3E%3C/div%3E%3Cdiv%20class=%22link%22%3E%3Cstrong%3EAjuda:%3C/strong%3E%3Cdiv%20class=%22tooltip-link%22%3E%3Ca%20target=%22_blank%22%20href=%22http://localhost:8080/help?type=blockly&amp;id=cronapi.screen.hideComponent%22%3EAjuda%3C/a%3E%3C/div%3E%3C/div%3E" type="procedures_callnoreturn">
|
|
443
|
+
<mutation name="{{cronapi.screen.hideComponent}}" return-raw-type="undefined">
|
|
444
|
+
<arg cronapi-raw-type="undefined" cronapi-type="ObjectType.OBJECT" name="Identificador"/>
|
|
445
|
+
</mutation>
|
|
446
|
+
<value name="ARG0">
|
|
447
|
+
<block asynccall="false" colour="#934848" dependencyby="4,jQlG7DhFXI`(beTz@O" id="%cIxo-!u*2HHl.6yPKIh" origintype="ids_from_screen" output="true" type="ids_from_screen">
|
|
448
|
+
<field customattributes="" name="SELECT">dialogCookies</field>
|
|
449
|
+
</block>
|
|
450
|
+
</value>
|
|
451
|
+
</block>
|
|
452
|
+
</statement>
|
|
453
|
+
</block>
|
|
454
|
+
</next>
|
|
455
|
+
</block>
|
|
456
|
+
</statement>
|
|
457
|
+
</block>
|
|
417
458
|
</blockly>
|
|
@@ -127,3 +127,25 @@ window.blockly.js.blockly.privacy.Cookies.checkCookieEssencials = async function
|
|
|
127
127
|
}
|
|
128
128
|
return isChecked;
|
|
129
129
|
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* @function checkCookies
|
|
133
|
+
*
|
|
134
|
+
*
|
|
135
|
+
*
|
|
136
|
+
*
|
|
137
|
+
* @author Root
|
|
138
|
+
* @since 29/08/2022 14:21:06
|
|
139
|
+
*
|
|
140
|
+
*/
|
|
141
|
+
window.blockly.js.blockly.privacy.Cookies.checkCookiesArgs = [];
|
|
142
|
+
window.blockly.js.blockly.privacy.Cookies.checkCookies = async function() {
|
|
143
|
+
var haveCookies;
|
|
144
|
+
//
|
|
145
|
+
haveCookies = this.cronapi.util.checkSavedCookies('cookieEssencial');
|
|
146
|
+
//
|
|
147
|
+
if (haveCookies) {
|
|
148
|
+
//
|
|
149
|
+
this.cronapi.screen.hideComponent("dialogCookies");
|
|
150
|
+
}
|
|
151
|
+
}
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
<ul class="dropdown-menu">
|
|
42
42
|
<li><a href="" class="component-holder" ng-click="cronapi.screen.showModal('modalPassword')" data-component="crn-anchor">{{"Home.view.ChangePassword" | translate}}</a></li>
|
|
43
43
|
<#if mutual?? && mutual?lower_case == "sim" && (enterprise)!false>
|
|
44
|
-
<li><a ng-click="cronapi.client('js.blockly.MutualAuth.signup').run()" href="" data-component="crn-anchor"
|
|
44
|
+
<li><a ng-click="cronapi.client('js.blockly.MutualAuth.signup').run()" href="" data-component="crn-anchor">{{'LinkCertificate' | translate}}</a></li>
|
|
45
45
|
</#if>
|
|
46
|
-
<li><a ng-click="logout()" href="" data-component="crn-anchor"
|
|
46
|
+
<li><a ng-click="logout()" href="" data-component="crn-anchor">{{"Home.view.Logout" | translate}}</a></li>
|
|
47
47
|
</ul>
|
|
48
48
|
</li>
|
|
49
49
|
</ul>
|
package/project/W/cronapp-rad-project/src/main/webapp-autenticacao/webapp/views/login.view.html.ftl
CHANGED
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
</div>
|
|
37
37
|
</div>
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
<a ng-click="cronapi.screen.showModal('forgotPasswordModal')" class="reset-password cron-link component-holder col-xs-12 col-md-12" target="_self"
|
|
40
|
+
data-replace="true" data-component="crn-anchor" id="crn-botao-cadastre">{{'ResetPassword' | translate}}
|
|
41
|
+
</a>
|
|
40
42
|
|
|
41
|
-
|
|
42
|
-
data-replace="true" data-component="crn-anchor" id="crn-botao-cadastre">{{'ResetPassword' | translate}}
|
|
43
|
-
</a>
|
|
43
|
+
</#if>
|
|
44
44
|
|
|
45
45
|
<div class="messages">
|
|
46
46
|
<div ng-show="message.error" class="help-block" data-container="true">
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
<span class="" text-theme="">{{"Login.view.Login" | translate}}</span>
|
|
59
59
|
</button>
|
|
60
60
|
</div>
|
|
61
|
+
<a href="#/public/signup" class="sign-up cron-link component-holder col-md-12 col-xs-12"
|
|
62
|
+
target="_self" data-replace="true" data-component="crn-anchor" id="crn-anchor-login-signup">
|
|
63
|
+
{{'Signup.view.Signup' | translate}}
|
|
64
|
+
</a>
|
|
61
65
|
</#if>
|
|
62
|
-
<a href="#/public/signup" class="sign-up cron-link component-holder col-md-12 col-xs-12"
|
|
63
|
-
target="_self" data-replace="true" data-component="crn-anchor" id="crn-anchor-login-signup">
|
|
64
|
-
{{'Signup.view.Signup' | translate}}
|
|
65
|
-
</a>
|
|
66
66
|
|
|
67
67
|
</form>
|
|
68
68
|
<div class="" data-container="true"></div>
|
|
@@ -142,54 +142,56 @@
|
|
|
142
142
|
</div>
|
|
143
143
|
</div>
|
|
144
144
|
|
|
145
|
-
|
|
146
|
-
<div class="modal
|
|
147
|
-
<div class="modal-
|
|
148
|
-
<div class="modal-
|
|
149
|
-
<
|
|
150
|
-
<
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
<h2 class="modal-title">{{'ForgotPassword' | translate}}</h2>
|
|
155
|
-
</div>
|
|
156
|
-
<div class="modal-body">
|
|
157
|
-
<form class="form-validation" autocomplete="off" name="forgotPasswordForm" role="form">
|
|
158
|
-
<input type="hidden" name="csrf_token" value="CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz">
|
|
159
|
-
<div class="text-danger wrapper text-center" ng-show="authError">
|
|
160
|
-
</div>
|
|
161
|
-
<div class="list-group list-group-sm">
|
|
162
|
-
<div class="">
|
|
163
|
-
<label for="forgotPasswordEmail">
|
|
164
|
-
{{'ForgotPasswordEmail' | translate}}
|
|
165
|
-
</label>
|
|
166
|
-
<input type="email" class="form-control k-textbox" id="forgotPasswordEmail"
|
|
167
|
-
aria-label="{{'ForgotPasswordEmail' | translate}}" ng-required="true"
|
|
168
|
-
ng-model="forgotPasswordEmail.value"/>
|
|
169
|
-
</div>
|
|
170
|
-
</div>
|
|
171
|
-
</form>
|
|
172
|
-
</div>
|
|
173
|
-
<div class="modal-footer">
|
|
174
|
-
<div class="component-holder ng-scope col-md-12" data-component="crn-button" id="crn-button-save">
|
|
175
|
-
<button class="btn k-button btn-primary" type="submit"
|
|
176
|
-
ng-click="cronapi.client('js.blockly.UserControl.resetPassword').names('7afdf898').run(forgotPasswordEmail.value)" xattr-fullsize=""
|
|
177
|
-
aria-label="{{'Save' | translate}}" xattr-theme="btn-primary" xattr-disabled="" ng-disabled="form.$invalid || vm.dataLoading">
|
|
178
|
-
<i class="glyphicon glyphicon-ok"></i>
|
|
179
|
-
<span>{{'Save' | translate}}</span>
|
|
145
|
+
<#if authentication?lower_case != "sso" && authentication?lower_case != "saml">
|
|
146
|
+
<div class="modal fade" id="forgotPasswordModal">
|
|
147
|
+
<div class="modal-dialog">
|
|
148
|
+
<div class="modal-content">
|
|
149
|
+
<div class="modal-header">
|
|
150
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="{{'Home.view.Close' | translate}}">
|
|
151
|
+
<span aria-hidden="true">
|
|
152
|
+
×
|
|
153
|
+
</span>
|
|
180
154
|
</button>
|
|
155
|
+
<h2 class="modal-title">{{'ForgotPassword' | translate}}</h2>
|
|
181
156
|
</div>
|
|
182
|
-
<div class="
|
|
183
|
-
<
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
<
|
|
188
|
-
|
|
157
|
+
<div class="modal-body">
|
|
158
|
+
<form class="form-validation" autocomplete="off" name="forgotPasswordForm" role="form">
|
|
159
|
+
<input type="hidden" name="csrf_token" value="CIwNZNlR4XbisJF39I8yWnWX9wX4WFoz">
|
|
160
|
+
<div class="text-danger wrapper text-center" ng-show="authError">
|
|
161
|
+
</div>
|
|
162
|
+
<div class="list-group list-group-sm">
|
|
163
|
+
<div class="">
|
|
164
|
+
<label for="forgotPasswordEmail">
|
|
165
|
+
{{'ForgotPasswordEmail' | translate}}
|
|
166
|
+
</label>
|
|
167
|
+
<input type="email" class="form-control k-textbox" id="forgotPasswordEmail"
|
|
168
|
+
aria-label="{{'ForgotPasswordEmail' | translate}}" ng-required="true"
|
|
169
|
+
ng-model="forgotPasswordEmail.value"/>
|
|
170
|
+
</div>
|
|
171
|
+
</div>
|
|
172
|
+
</form>
|
|
173
|
+
</div>
|
|
174
|
+
<div class="modal-footer">
|
|
175
|
+
<div class="component-holder ng-scope col-md-12" data-component="crn-button" id="crn-button-save">
|
|
176
|
+
<button class="btn k-button btn-primary" type="submit"
|
|
177
|
+
ng-click="cronapi.client('js.blockly.UserControl.resetPassword').names('7afdf898').run(forgotPasswordEmail.value)" xattr-fullsize=""
|
|
178
|
+
aria-label="{{'Save' | translate}}" xattr-theme="btn-primary" xattr-disabled="" ng-disabled="form.$invalid || vm.dataLoading">
|
|
179
|
+
<i class="glyphicon glyphicon-ok"></i>
|
|
180
|
+
<span>{{'Save' | translate}}</span>
|
|
181
|
+
</button>
|
|
182
|
+
</div>
|
|
183
|
+
<div class="component-holder ng-scope col-md-12" data-component="crn-button" id="crn-button-close">
|
|
184
|
+
<button class="btn k-button btn-danger" type="button" data-dismiss="modal"
|
|
185
|
+
xattr-fullsize="" aria-label="{{'Home.view.Close' | translate}}" xattr-theme="btn-danger"
|
|
186
|
+
xattr-disabled="">
|
|
187
|
+
<i class="glyphicon glyphicon-remove"></i>
|
|
188
|
+
<span>{{'Home.view.Close' | translate}}</span>
|
|
189
|
+
</button>
|
|
190
|
+
</div>
|
|
189
191
|
</div>
|
|
190
192
|
</div>
|
|
191
193
|
</div>
|
|
192
194
|
</div>
|
|
193
|
-
|
|
195
|
+
</#if>
|
|
194
196
|
|
|
195
197
|
<div ng-include="'./views/public/privacy/cookies.view.html'"></div>
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
</div>
|
|
21
21
|
</nav>
|
|
22
22
|
</div>
|
|
23
|
-
<div class="container-fluid main-view <#if !(menuPosition??) || menuPosition == "Horizontal">main-view-horizontal<#else>main-view-vertical</#if>">
|
|
23
|
+
<div ui-view class="container-fluid main-view <#if !(menuPosition??) || menuPosition == "Horizontal">main-view-horizontal<#else>main-view-vertical</#if>">
|
|
24
24
|
<h1 class="title text-left h3" xattr-position="text-left" xattr-type="h3" data-component="crn-text-component" id="crn-text-component-public-home">{{'Home.view.Home' | translate}}</h1>
|
|
25
25
|
</div>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<div id="starter" ng-destroy="" data-component="crn-start" screen-params="">
|
|
1
|
+
<div id="starter" ng-destroy="" data-component="crn-start" screen-params="" ng-init="cronapi.client('js.blockly.privacy.Cookies.checkCookies').run()">
|
|
2
2
|
<div class="privacy-view">
|
|
3
3
|
<div id="dialogCookies" class="dialog-cookies alert alert-dismissible text-center" role="alert" ng-init="">
|
|
4
4
|
<div class="cookiealert-container">
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<div class="container-fluid">
|
|
8
8
|
<div class="navbar-header">
|
|
9
9
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar, #navbar2" aria-expanded="false" aria-controls="navbar"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
|
|
10
|
-
<a class="component-holder ng-binding ng-scope navbar-brand" data-component="crn-image" ng-click="cronapi.screen.changeView('#/home', [])"> <img alt="{{'Home.view.Home' | translate}}" src="node_modules/cronapp-framework-js/img/cronapp-logo-login.png"
|
|
10
|
+
<a class="component-holder ng-binding ng-scope navbar-brand" data-component="crn-image" ng-click="cronapi.screen.changeView('#/home', [])"> <img alt="{{'Home.view.Home' | translate}}" src="node_modules/cronapp-framework-js/img/cronapp-logo-login.png" id="crn-navbar-logo" data-component="crn-image"> </a>
|
|
11
11
|
</div>
|
|
12
12
|
<div id="navbar" class="navbar-collapse collapse float-left-desktop">
|
|
13
13
|
<ul class="nav navbar-nav" style="float:none">
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
</#list>
|
|
27
27
|
</#if>
|
|
28
28
|
<li>
|
|
29
|
-
<cron-dynamic-menu class="component-holder" data-component="crn-dynamic-menu" options="{"subMenuOptions":[{"id":"1h85bvnhg7511","name":"Home","title":"{{'Home.view.Home' | translate}}","iconClass":"fa fa-home","action":"cronapi.screen.changeView('#/home', [])","level":1,"menuItems":[]}]}">Dynamic Menu</cron-dynamic-menu>
|
|
29
|
+
<cron-dynamic-menu id="crn-dynamic-menu-home" class="component-holder" data-component="crn-dynamic-menu" options="{"subMenuOptions":[{"id":"1h85bvnhg7511","name":"Home","title":"{{'Home.view.Home' | translate}}","iconClass":"fa fa-home","action":"cronapi.screen.changeView('#/home', [])","level":1,"menuItems":[]}]}">Dynamic Menu</cron-dynamic-menu>
|
|
30
30
|
</li>
|
|
31
31
|
|
|
32
32
|
</ul>
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
* @generated
|
|
19
19
|
*/
|
|
20
20
|
public ${classClass.name} set${fieldName?cap_first}(${field.type} ${fieldName}) {
|
|
21
|
-
<#if field.isEncryption() &&
|
|
21
|
+
<#if field.isEncryption() && field.getPasswordPolicy() != "full">
|
|
22
22
|
this.${fieldName} = ${fieldName}.startsWith(ENCRYPT) ? ${fieldName} : new BCryptPasswordEncoder().encode(${fieldName});
|
|
23
23
|
<#else>
|
|
24
24
|
this.${fieldName} = ${fieldName};
|
|
25
|
-
</#if>
|
|
25
|
+
</#if>
|
|
26
26
|
return this;
|
|
27
27
|
}
|
|
28
|
-
</#macro>
|
|
28
|
+
</#macro>
|
|
29
29
|
|
|
30
30
|
package ${entityPackage}<#if subPackage??>.${subPackage}</#if>;
|
|
31
31
|
|
|
@@ -39,13 +39,16 @@ import cronapi.rest.security.CronappSecurity;
|
|
|
39
39
|
<#if clazz.rest>
|
|
40
40
|
import cronapi.swagger.CronappSwagger;
|
|
41
41
|
</#if>
|
|
42
|
-
<#if clazz.hasRowVersion() || clazz.hasXML()>
|
|
42
|
+
<#if clazz.hasRowVersion() || clazz.hasXML() || clazz.hasUUID()>
|
|
43
43
|
import org.eclipse.persistence.annotations.Convert;
|
|
44
44
|
import org.eclipse.persistence.annotations.Converter;
|
|
45
45
|
</#if>
|
|
46
46
|
<#if clazz.hasRowVersion()>
|
|
47
47
|
import cronapi.database.VersionConverter;
|
|
48
48
|
</#if>
|
|
49
|
+
<#if clazz.hasUUID()>
|
|
50
|
+
import cronapi.database.UUIDConverter;
|
|
51
|
+
</#if>
|
|
49
52
|
<#if clazz.hasUseOuterJoin()?? && clazz.hasUseOuterJoin()>
|
|
50
53
|
import org.eclipse.persistence.annotations.JoinFetch;
|
|
51
54
|
import org.eclipse.persistence.annotations.JoinFetchType;
|
|
@@ -68,9 +71,8 @@ import cronapi.database.ByteConverter;
|
|
|
68
71
|
import cronapp.framework.persistence.ValidPassword;
|
|
69
72
|
import cronapp.framework.persistence.ValidPasswords;
|
|
70
73
|
import cronapp.framework.persistence.PasswordEncoderListener;
|
|
71
|
-
<#else>
|
|
72
|
-
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
|
|
73
74
|
</#if>
|
|
75
|
+
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
|
|
74
76
|
</#if>
|
|
75
77
|
<#list clazz.imports as import>
|
|
76
78
|
import ${import};
|
|
@@ -104,7 +106,7 @@ import org.eclipse.persistence.annotations.*;
|
|
|
104
106
|
</#if>
|
|
105
107
|
_0", columnNames={
|
|
106
108
|
<#list clazz.fieldsUniqueKey as field>
|
|
107
|
-
"${field.dbFieldName}"
|
|
109
|
+
"${field.dbFieldName}"
|
|
108
110
|
<#if field?has_next>
|
|
109
111
|
,
|
|
110
112
|
</#if>
|
|
@@ -125,7 +127,7 @@ import org.eclipse.persistence.annotations.*;
|
|
|
125
127
|
@TenantDiscriminatorColumns({
|
|
126
128
|
</#if>
|
|
127
129
|
<#list clazz.multitententFields as field>
|
|
128
|
-
@TenantDiscriminatorColumn(name = "${field.dbFieldName}", contextProperty = "${field.multitenantContext}")<#if field_has_next>,</#if>
|
|
130
|
+
@TenantDiscriminatorColumn(name = "${field.dbFieldName?replace("\"", "\\\"")}", contextProperty = "${field.multitenantContext}")<#if field_has_next>,</#if>
|
|
129
131
|
</#list>
|
|
130
132
|
<#if (clazz.multitententFields?size > 1)>
|
|
131
133
|
})
|
|
@@ -147,17 +149,23 @@ import org.eclipse.persistence.annotations.*;
|
|
|
147
149
|
converterClass=ByteConverter.class
|
|
148
150
|
)
|
|
149
151
|
</#if>
|
|
152
|
+
<#if clazz.hasUUID()>
|
|
153
|
+
@Converter(
|
|
154
|
+
name="uuid",
|
|
155
|
+
converterClass=UUIDConverter.class
|
|
156
|
+
)
|
|
157
|
+
</#if>
|
|
150
158
|
<#if clazz.hasStrongPassword() && clazz.hasEncryption()>
|
|
151
159
|
@ValidPasswords({
|
|
152
160
|
<#list clazz.fields as field>
|
|
153
|
-
<#if field.isEncryption()>
|
|
161
|
+
<#if field.isEncryption() && field.getPasswordPolicy() == "full">
|
|
154
162
|
@ValidPassword(passwordProperty = "${field.name}", passwordHistoryProperty = "${field.name}History"),
|
|
155
163
|
</#if>
|
|
156
164
|
</#list>
|
|
157
|
-
})
|
|
165
|
+
})
|
|
158
166
|
</#if>
|
|
159
167
|
public class ${clazz.name} implements Serializable {
|
|
160
|
-
<#if clazz.hasEncryption()
|
|
168
|
+
<#if clazz.hasEncryption()>
|
|
161
169
|
/**
|
|
162
170
|
* Variável privada para verificação da criptofrafia
|
|
163
171
|
*
|
|
@@ -185,6 +193,9 @@ public class ${clazz.name} implements Serializable {
|
|
|
185
193
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
186
194
|
</#if>
|
|
187
195
|
</#if>
|
|
196
|
+
<#if (field.isUUID())!false>
|
|
197
|
+
@Convert("uuid")
|
|
198
|
+
</#if>
|
|
188
199
|
<#if field.isVersion()>
|
|
189
200
|
@Version
|
|
190
201
|
<#elseif field.isDate()>
|
|
@@ -197,7 +208,7 @@ public class ${clazz.name} implements Serializable {
|
|
|
197
208
|
<#if (field.relationNames?size == 1)>
|
|
198
209
|
<#list field.relationNames?keys as key>
|
|
199
210
|
<#if key??>
|
|
200
|
-
@JoinColumn(name="${key}", nullable = ${field.nullable?c}, referencedColumnName = "${field.relationNames[key]}", insertable=${field.insertable?c}, updatable=${field.updatable?c})
|
|
211
|
+
@JoinColumn(name="${(key)?replace("\"", "\\\"")}", nullable = ${field.nullable?c}, referencedColumnName = "${field.relationNames[key]?replace("\"", "\\\"")}", insertable=${field.insertable?c}, updatable=${field.updatable?c})
|
|
201
212
|
</#if>
|
|
202
213
|
</#list>
|
|
203
214
|
<#elseif (field.relationNames?size > 1)>
|
|
@@ -205,14 +216,14 @@ public class ${clazz.name} implements Serializable {
|
|
|
205
216
|
@JoinColumns({
|
|
206
217
|
<#list field.relationNames?keys as key>
|
|
207
218
|
<#if key??>
|
|
208
|
-
@JoinColumn(name="${key}", nullable = ${field.nullable?c}, referencedColumnName = "${field.relationNames[key]}", insertable=${field.insertable?c}, updatable=${field.updatable?c})
|
|
219
|
+
@JoinColumn(name="${(key)?replace("\"", "\\\"")}", nullable = ${field.nullable?c}, referencedColumnName = "${field.relationNames[key]?replace("\"", "\\\"")}", insertable=${field.insertable?c}, updatable=${field.updatable?c})
|
|
209
220
|
<#if (i>1)>,</#if>
|
|
210
221
|
</#if>
|
|
211
222
|
<#assign i = i-1>
|
|
212
223
|
</#list>
|
|
213
224
|
})
|
|
214
225
|
<#else>
|
|
215
|
-
@Column(name = "${field.dbFieldName}", nullable = ${field.nullable?c}<#if !field.primaryKey>, unique = ${field.unique?c}</#if><#if field.length??>, length=${field.length?c}</#if><#if field.precision??>, precision=${field.precision?c}</#if><#if field.scale??>, scale=${field.scale?c}</#if>, insertable=${field.insertable?c}, updatable=${field.updatable?c}<#if field.columnDefinition??>, columnDefinition = "${field.columnDefinition}"</#if>)
|
|
226
|
+
@Column(name = "${field.dbFieldName?replace("\"", "\\\"")}", nullable = ${field.nullable?c}<#if !field.primaryKey>, unique = ${field.unique?c}</#if><#if field.length??>, length=${field.length?c}</#if><#if field.precision??>, precision=${field.precision?c}</#if><#if field.scale??>, scale=${field.scale?c}</#if>, insertable=${field.insertable?c}, updatable=${field.updatable?c}<#if field.columnDefinition??>, columnDefinition = "${field.columnDefinition}"</#if>)
|
|
216
227
|
</#if>
|
|
217
228
|
${field.modifier} <#if field.arrayRelation>${field.type}<#else>${field.type}</#if> ${name}<#if field.defaultValue?has_content> = ${field.defaultValue}<#elseif field.primaryKey && field.generationType?? && field.generationType == "UUID"> = UUID.randomUUID().toString().toUpperCase()</#if>;
|
|
218
229
|
</#if>
|
|
@@ -225,6 +236,9 @@ public class ${clazz.name} implements Serializable {
|
|
|
225
236
|
*/
|
|
226
237
|
<#if (field.rowVersion)!false>
|
|
227
238
|
@Convert("version")
|
|
239
|
+
</#if>
|
|
240
|
+
<#if (field.isUUID())!false>
|
|
241
|
+
@Convert("uuid")
|
|
228
242
|
</#if>
|
|
229
243
|
<#if (field.XML)!false>
|
|
230
244
|
@Convert("bytes")
|
|
@@ -237,7 +251,7 @@ public class ${clazz.name} implements Serializable {
|
|
|
237
251
|
<#if (field.relationNames?size == 1)>
|
|
238
252
|
<#list field.relationNames?keys as key>
|
|
239
253
|
<#if key??>
|
|
240
|
-
@JoinColumn(name="${key}", nullable = ${field.nullable?c}, referencedColumnName = "${field.relationNames[key]}", insertable=${field.insertable?c}, updatable=${field.updatable?c}<#if field.cascade>, foreignKey = @ForeignKey(name = "<#if tableName??>${tableName}<#else>${clazz.name?upper_case}</#if>_${key?upper_case}_${field.dbTableRelationClazz}_${field.relationNames[key]?upper_case}", foreignKeyDefinition = "FOREIGN KEY (${key}) REFERENCES ${field.dbTableRelationClazz} (${field.relationNames[key]}) ON DELETE CASCADE")<#elseif field.fkName?has_content>, foreignKey = @ForeignKey(name = "${field.fkName}", foreignKeyDefinition = "FOREIGN KEY (${key}) REFERENCES ${field.dbTableRelationClazz} (${field.relationNames[key]})")</#if>)
|
|
254
|
+
@JoinColumn(name="${(key)?replace("\"", "\\\"")}", nullable = ${field.nullable?c}, referencedColumnName = "${field.relationNames[key]?replace("\"", "\\\"")}", insertable=${field.insertable?c}, updatable=${field.updatable?c}<#if field.cascade>, foreignKey = @ForeignKey(name = "<#if tableName??>${tableName?replace("\"", "\\\"")}<#else>${(clazz.name?upper_case)?replace("\"", "\\\"")}</#if>_${(key?upper_case)?replace("\"", "\\\"")}_${field.dbTableRelationClazz?replace("\"", "\\\"")}_${(field.relationNames[key]?upper_case)?replace("\"", "\\\"")}", foreignKeyDefinition = "FOREIGN KEY (${(key)?replace("\"", "\\\"")}) REFERENCES ${field.dbTableRelationClazz} (${field.relationNames[key]?replace("\"", "\\\"")}) ON DELETE CASCADE")<#elseif field.fkName?has_content>, foreignKey = @ForeignKey(name = "${field.fkName?replace("\"", "\\\"")}", foreignKeyDefinition = "FOREIGN KEY (${(key)?replace("\"", "\\\"")}) REFERENCES ${field.dbTableRelationClazz} (${field.relationNames[key]?replace("\"", "\\\"")})")</#if>)
|
|
241
255
|
</#if>
|
|
242
256
|
</#list>
|
|
243
257
|
<#elseif (field.relationNames?size > 1)>
|
|
@@ -245,14 +259,14 @@ public class ${clazz.name} implements Serializable {
|
|
|
245
259
|
@JoinColumns({
|
|
246
260
|
<#list field.relationNames?keys as key>
|
|
247
261
|
<#if key??>
|
|
248
|
-
@JoinColumn(name="${key}", nullable = ${field.nullable?c}, referencedColumnName = "${field.relationNames[key]}", insertable=${field.insertable?c}, updatable=${field.updatable?c}<#if field.fkName?has_content>, foreignKey = @ForeignKey(name = "${field.fkName}", foreignKeyDefinition = "FOREIGN KEY (${key}) REFERENCES ${field.dbTableRelationClazz} (${field.relationNames[key]})")</#if>)
|
|
262
|
+
@JoinColumn(name="${(key)?replace("\"", "\\\"")}", nullable = ${field.nullable?c}, referencedColumnName = "${field.relationNames[key]?replace("\"", "\\\"")}", insertable=${field.insertable?c}, updatable=${field.updatable?c}<#if field.fkName?has_content>, foreignKey = @ForeignKey(name = "${field.fkName?replace("\"", "\\\"")}", foreignKeyDefinition = "FOREIGN KEY (${(key)?replace("\"", "\\\"")}) REFERENCES ${field.dbTableRelationClazz} (${field.relationNames[key]?replace("\"", "\\\"")})")</#if>)
|
|
249
263
|
<#if (i>1)>,</#if>
|
|
250
264
|
</#if>
|
|
251
265
|
<#assign i = i-1>
|
|
252
266
|
</#list>
|
|
253
267
|
})
|
|
254
268
|
<#elseif field.arrayRelation>
|
|
255
|
-
@OneToMany(fetch = FetchType.LAZY, mappedBy="${field.mappedBy}", insertable=${field.insertable?c}, updatable=${field.updatable?c})
|
|
269
|
+
@OneToMany(fetch = FetchType.LAZY, mappedBy="${field.mappedBy?replace("\"", "\\\"")}", insertable=${field.insertable?c}, updatable=${field.updatable?c})
|
|
256
270
|
<#else>
|
|
257
271
|
<#if field.transient>
|
|
258
272
|
@Transient
|
|
@@ -266,7 +280,7 @@ public class ${clazz.name} implements Serializable {
|
|
|
266
280
|
<#elseif field.isTimestamp()>
|
|
267
281
|
@Temporal(TemporalType.TIMESTAMP)
|
|
268
282
|
</#if>
|
|
269
|
-
@Column(name = "${field.dbFieldName}", nullable = ${field.nullable?c}<#if !field.primaryKey>, unique = ${field.unique?c}</#if><#if field.length??>, length=${field.length?c}</#if><#if field.precision??>, precision=${field.precision?c}</#if><#if field.scale??>, scale=${field.scale?c}</#if>, insertable=${field.insertable?c}, updatable=${field.updatable?c}<#if field.columnDefinition??>, columnDefinition = "${field.columnDefinition}"</#if>)
|
|
283
|
+
@Column(name = "${field.dbFieldName?replace("\"", "\\\"")}", nullable = ${field.nullable?c}<#if !field.primaryKey>, unique = ${field.unique?c}</#if><#if field.length??>, length=${field.length?c}</#if><#if field.precision??>, precision=${field.precision?c}</#if><#if field.scale??>, scale=${field.scale?c}</#if>, insertable=${field.insertable?c}, updatable=${field.updatable?c}<#if field.columnDefinition??>, columnDefinition = "${field.columnDefinition}"</#if>)
|
|
270
284
|
</#if>
|
|
271
285
|
</#if>
|
|
272
286
|
<#if field.getUseOuterJoin()>
|
|
@@ -276,7 +290,7 @@ public class ${clazz.name} implements Serializable {
|
|
|
276
290
|
@JsonIgnore
|
|
277
291
|
</#if>
|
|
278
292
|
<#if field.isCloudStorage()>
|
|
279
|
-
@CronapiCloud(type = "${field.getStorageType()}", value="${field.getStorageKey()}", id="${field.getStorageId()}", secret="${field.getStorageSecret()}")
|
|
293
|
+
@CronapiCloud(type = "${field.getStorageType()}", value="${field.getStorageKey()}", id="${field.getStorageId()}", secret="${field.getStorageSecret()}", regionAWS="${field.getRegionAWS()}")
|
|
280
294
|
</#if>
|
|
281
295
|
<#if field.isFileDataBase()>
|
|
282
296
|
@CronapiByteHeaderSignature
|
|
@@ -288,11 +302,11 @@ public class ${clazz.name} implements Serializable {
|
|
|
288
302
|
${field.modifier} <#if field.arrayRelation>${field.type}<#else>${field.type}</#if> ${field.name}<#if field.defaultValue?has_content> = ${field.defaultValue}</#if>;
|
|
289
303
|
</#if>
|
|
290
304
|
|
|
291
|
-
<#if field.isEncryption()>
|
|
305
|
+
<#if field.isEncryption() && field.getPasswordPolicy() == "full">
|
|
292
306
|
/**
|
|
293
307
|
* @generated
|
|
294
308
|
*/
|
|
295
|
-
<@single_line>@Column(name = "${field.dbFieldName}_history"
|
|
309
|
+
<@single_line>@Column(name = "${field.dbFieldName?replace("\"", "\\\"")}_history"
|
|
296
310
|
<#if !field.insertable>, insertable = ${field.insertable?c}</#if>
|
|
297
311
|
<#if !field.updatable>, updatable = ${field.updatable?c}</#if>
|
|
298
312
|
)</@single_line>
|
|
@@ -309,7 +323,7 @@ public class ${clazz.name} implements Serializable {
|
|
|
309
323
|
|
|
310
324
|
<#list clazz.fields as field>
|
|
311
325
|
<@getter_setter clazz field "${field.name}" />
|
|
312
|
-
<#if field.isEncryption()>
|
|
326
|
+
<#if field.isEncryption() && field.getPasswordPolicy() == "full">
|
|
313
327
|
<@getter_setter clazz field "${field.name}History" />
|
|
314
328
|
</#if>
|
|
315
329
|
</#list>
|