#5926 - Worker/PDA docuware #2482

Open
jsegarra wants to merge 40 commits from 5926_pda_worker_docuware into dev
Member
No description provided.
jsegarra added 1 commit 2024-05-20 12:05:20 +00:00
jsegarra added 1 commit 2024-05-20 20:40:07 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
85f8690634
feat(salix): refs #5926 docuwareUpload for Worker
jsegarra added 2 commits 2024-05-21 09:18:49 +00:00
jsegarra added 2 commits 2024-05-21 21:58:31 +00:00
jsegarra added 5 commits 2024-05-30 10:31:45 +00:00
jsegarra added 1 commit 2024-06-03 12:13:06 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
4c34ce66a0
Merge branch 'dev' into 5926_pda_worker_docuware
jsegarra added 7 commits 2024-06-07 00:00:24 +00:00
jsegarra added 3 commits 2024-06-10 08:15:47 +00:00
jsegarra requested review from alexm 2024-06-10 10:11:19 +00:00
jsegarra changed title from WIP: 5926 - Worker/PDA docuware to 5926 - Worker/PDA docuware 2024-06-10 10:11:22 +00:00
jsegarra added 2 commits 2024-06-12 20:30:04 +00:00
jsegarra added 1 commit 2024-06-17 08:09:31 +00:00
gitea/salix/pipeline/pr-dev There was a failure building this commit Details
9f7df66119
Merge branch 'dev' into 5926_pda_worker_docuware
alexm requested changes 2024-07-08 06:14:50 +00:00
alexm left a comment
Member

El png de europe no habria q moverlo no? Seria o ponerlo en un lugar general o duplicarlo

El png de europe no habria q moverlo no? Seria o ponerlo en un lugar general o duplicarlo
@ -4,0 +12,4 @@
let isDeviceConfigured = false;
if (!config)
config = existsSync(`../docuware.${env}.json`) ?? {};
Member

Esto que es?

Esto que es?
Author
Member

Es una funcionalidad que he hecho muy similar a print.development.json para que si existe algún archivo de configuración de tablet.
Esto es útil para hacer pruebas reales con la tablet 4 o con datos falsos

Es una funcionalidad que he hecho muy similar a print.development.json para que si existe algún archivo de configuración de tablet. Esto es útil para hacer pruebas reales con la tablet 4 o con datos falsos
@ -41,0 +112,4 @@
it('should return uploadOptions', async() => {
spyOn(Docuware, 'getDialog').and.returnValue((new Promise(resolve => resolve(Math.random()))));
// const dialogs = {
Member

Quitar?

Quitar?
jsegarra marked this conversation as resolved
@ -315,4 +315,6 @@ INSERT INTO mysql.roles_mapping (`User`, `Host`, `Role`, `Admin_option`)
FROM mysql.roles_mapping
WHERE `User` LIKE @prefixedLike AND `Host` = @genRoleHost;
INSERT INTO vn.docuware (code,fileCabinetName,`action`,dialogName,findById,dmsTypeFk,modelFk)
Member

En el after?
Yo diria que tiene que ir en un version

En el after? Yo diria que tiene que ir en un version
Author
Member

Si lo muevo de aquí a 00-firstScript, al hacer myt run me da error:

Error: Cannot add or update a child row: a foreign key constraint fails (vn.docuware, CONSTRAINT docuware_FK FOREIGN KEY (dmsTypeFk) REFERENCES dmsType (id) ON UPDATE CASCADE)

Si lo muevo de aquí a 00-firstScript, al hacer myt run me da error: Error: Cannot add or update a child row: a foreign key constraint fails (`vn`.`docuware`, CONSTRAINT `docuware_FK` FOREIGN KEY (`dmsTypeFk`) REFERENCES `dmsType` (`id`) ON UPDATE CASCADE)
Author
Member

Tiene que ir en fixtures.after y en version porque sino en local falla

Tiene que ir en fixtures.after y en version porque sino en local falla
@ -0,0 +3,4 @@
ALTER TABLE vn.docuware ADD CONSTRAINT docuware_module_FK FOREIGN KEY (modelFk) REFERENCES salix.module(code);
ALTER TABLE vn.docuwareTablet ADD fileCabinet varchar(100) NULL;
-- Auto-generated SQL script #202405221107
Member

Quitar

Quitar
jsegarra marked this conversation as resolved
@ -0,0 +9,4 @@
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
VALUES ('Worker','signPdaPdf','READ','ALLOW','ROLE','hr');
-- Auto-generated SQL script #202406061008
Member

quitar

quitar
jsegarra marked this conversation as resolved
e2e/tests.js Outdated
@ -36,20 +36,7 @@ async function test() {
const jasmine = new Jasmine();
const specFiles = [
`./e2e/paths/01*/*[sS]pec.js`,
Member

Dejar

Dejar
jsegarra marked this conversation as resolved
jsegarra added 3 commits 2024-07-08 10:16:13 +00:00
jsegarra added 1 commit 2024-07-08 10:20:22 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
1dd65d29e9
feat(salix): refs #5926 #5926 revert europe.png folder
Author
Member

El png de europe no habria q moverlo no? Seria o ponerlo en un lugar general o duplicarlo

El editor se debió rallar porque esa imagen no me hace falta.

> El png de europe no habria q moverlo no? Seria o ponerlo en un lugar general o duplicarlo El editor se debió rallar porque esa imagen no me hace falta.
jsegarra added 1 commit 2024-07-08 10:21:04 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
62dcfec8a4
Merge branch 'dev' into 5926_pda_worker_docuware
jsegarra requested review from alexm 2024-07-08 10:21:12 +00:00
sergiodt changed title from 5926 - Worker/PDA docuware to WIP: 5926 - Worker/PDA docuware 2024-07-11 12:08:08 +00:00
jsegarra changed title from WIP: 5926 - Worker/PDA docuware to WIP: #5926 - Worker/PDA docuware 2024-07-12 21:01:02 +00:00
jsegarra added 4 commits 2024-07-12 21:14:18 +00:00
jsegarra changed title from WIP: #5926 - Worker/PDA docuware to #5926 - Worker/PDA docuware 2024-07-15 07:36:27 +00:00
jsegarra added 1 commit 2024-07-23 21:09:29 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
8f66e7c1ca
Merge branch 'dev' into 5926_pda_worker_docuware
jsegarra added 3 commits 2024-07-23 21:12:51 +00:00
alexm added 1 commit 2024-09-11 06:50:41 +00:00
alexm added 1 commit 2024-09-11 08:30:49 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
70ebe7ea47
fix: refs #5926 typo
All checks were successful
gitea/salix/pipeline/pr-dev This commit looks good
Required
Details
This pull request has changes conflicting with the target branch.
  • back/methods/docuware/specs/core.spec.js
  • back/methods/docuware/upload.js
  • db/dump/fixtures.before.sql
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#2482
No description provided.