4658-createWorker #1236

Merged
alexm merged 35 commits from 4658-createWorker into dev 2023-01-23 07:30:52 +00:00
Member
No description provided.
alexm added 25 commits 2023-01-03 07:12:20 +00:00
gitea/salix/pipeline/head This commit looks good Details
84a5f3986b
feat(worker): createWorker refs #4658
gitea/salix/pipeline/head There was a failure building this commit Details
6113ea398d
feat: worker-welcome
gitea/salix/pipeline/head There was a failure building this commit Details
7a7da9508f
feat: workerWelcomeEmail
gitea/salix/pipeline/head There was a failure building this commit Details
7c75eaadce
feat: worker-welcome
gitea/salix/pipeline/head There was a failure building this commit Details
f70a9cb785
feat(worker_new): use resetPassword funcionality
gitea/salix/pipeline/head There was a failure building this commit Details
42adba3538
mail content
gitea/salix/pipeline/head There was a failure building this commit Details
7822a6cac8
change folder
gitea/salix/pipeline/head There was a failure building this commit Details
bb944f9fee
feat(newWorker): use worker-welcome
gitea/salix/pipeline/head There was a failure building this commit Details
156f2b9129
feat: handle errors and autogenerate user and code
gitea/salix/pipeline/head There was a failure building this commit Details
aa5cfde1ae
test(worker_new): add back tests
gitea/salix/pipeline/head There was a failure building this commit Details
46c3d87dab
feat(worker_create): add vn-acl
alexm added 2 commits 2023-01-03 13:50:41 +00:00
alexm added 1 commit 2023-01-04 08:23:31 +00:00
gitea/salix/pipeline/head This commit looks good Details
9b98249398
test: front test and e2e
alexm reviewed 2023-01-04 08:25:54 +00:00
@ -0,0 +108,4 @@
required: true,
},
{
arg: 'profileTypeFk',
Author
Member

El campo se rellena en Access pero en el codigo no se utiliza para nada, seguir usandolo en Salix o quitarlo?

El campo se rellena en Access pero en el codigo no se utiliza para nada, seguir usandolo en Salix o quitarlo?
Owner

Eliminar campo

Eliminar campo
alexm marked this conversation as resolved
alexm changed title from WIP: 4658-createWorker to 4658-createWorker 2023-01-04 08:28:42 +00:00
alexm requested review from jgallego 2023-01-04 08:28:42 +00:00
alexm added 1 commit 2023-01-04 08:38:58 +00:00
gitea/salix/pipeline/head This commit looks good Details
9c044dc95b
fix: phone
alexm added the
CR / Tests passed
label 2023-01-09 06:23:09 +00:00
alexm added 1 commit 2023-01-09 06:23:43 +00:00
gitea/salix/pipeline/head This commit looks good Details
8688fc4652
Merge branch 'dev' into 4658-createWorker
jgallego requested changes 2023-01-10 07:26:59 +00:00
@ -0,0 +3,4 @@
VALUES
('ProfileType', '*', '*', 'ALLOW', 'ROLE', 'employee');
CREATE TABLE `vn`.`newWorkerConfig` (
Owner

usar workerConfig

usar workerConfig
alexm marked this conversation as resolved
@ -0,0 +5,4 @@
CREATE TABLE `vn`.`newWorkerConfig` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`street` VARCHAR(25) NULL,
Owner

quitar street

quitar street
alexm marked this conversation as resolved
@ -0,0 +6,4 @@
CREATE TABLE `vn`.`newWorkerConfig` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`street` VARCHAR(25) NULL,
`provinceFk` smallint(6) unsigned NULL,
Owner

cambiar por postalCode que rellena el resto de campos

cambiar por postalCode que rellena el resto de campos
alexm marked this conversation as resolved
@ -0,0 +7,4 @@
`id` int(11) NOT NULL AUTO_INCREMENT,
`street` VARCHAR(25) NULL,
`provinceFk` smallint(6) unsigned NULL,
`companyFk` smallint(5) unsigned NULL,
Owner

usar la del usuario conectado

usar la del usuario conectado
alexm marked this conversation as resolved
@ -0,0 +1,79 @@
import selectors from '../../helpers/selectors.js';
import getBrowser from '../../helpers/puppeteer';
describe('Worker calendar path', () => {
Owner

Este E2E esta conforme lo que Juan comentà de que els it siguen independents?

Este E2E esta conforme lo que Juan comentà de que els it siguen independents?
alexm marked this conversation as resolved
@ -0,0 +2,4 @@
module.exports = Self => {
Self.remoteMethodCtx('new', {
description: 'Creates a new ticket and returns the id',
Owner

canvia la descripcio

canvia la descripcio
alexm marked this conversation as resolved
@ -0,0 +129,4 @@
const myOptions = {};
const args = ctx.args;
let tx;
Owner

const

const
alexm marked this conversation as resolved
@ -0,0 +160,4 @@
nickname,
password: randomPassword.password,
email: args.email,
role: args.roleFk,
Owner

preguntar a laboral si lo quitamos de la creacion.
Preguntar si al crearlo alguna vez ponen algo distinto a employee

preguntar a laboral si lo quitamos de la creacion. Preguntar si al crearlo alguna vez ponen algo distinto a employee
Author
Member

Quitar

Quitar
alexm marked this conversation as resolved
@ -0,0 +198,4 @@
provinceFk: args.provinceFk,
postalCode: args.postalCode,
mobile: args.phone,
nickname: 'TR ' + nickname,
Owner

Preguntar a Alicia si esto aun es útil

Preguntar a Alicia si esto aun es útil
alexm marked this conversation as resolved
@ -0,0 +204,4 @@
myOptions
);
client = await models.Client.findById(user.id, null, myOptions);
Owner

preguntar si en estos casos sí es posible el null

preguntar si en estos casos sí es posible el null
alexm marked this conversation as resolved
alexm changed title from 4658-createWorker to WIP: 4658-createWorker 2023-01-12 07:30:56 +00:00
alexm added 1 commit 2023-01-13 12:54:26 +00:00
alexm added 1 commit 2023-01-16 11:19:14 +00:00
gitea/salix/pipeline/head This commit looks good Details
ecfad94057
refactor(worker_new): remove roleFk and profileType
alexm added 1 commit 2023-01-20 07:30:42 +00:00
alexm added 1 commit 2023-01-20 07:34:07 +00:00
gitea/salix/pipeline/head This commit looks good Details
ace7a5939e
move to changes 230401
jgallego approved these changes 2023-01-20 17:49:54 +00:00
alexm changed title from WIP: 4658-createWorker to 4658-createWorker 2023-01-23 07:11:31 +00:00
alexm added 1 commit 2023-01-23 07:12:30 +00:00
gitea/salix/pipeline/head This commit looks good Details
ce06274d0a
Merge branch 'dev' into 4658-createWorker
alexm merged commit 9b0134cb1c into dev 2023-01-23 07:30:52 +00:00
alexm deleted branch 4658-createWorker 2023-01-23 07:30:52 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: verdnatura/salix#1236
No description provided.