Compare commits

...

561 Commits

Author SHA1 Message Date
Guillermo Bonet 6fa75b3abc Version increased
gitea/hedera-web/pipeline/head This commit looks good Details
2024-08-06 09:48:59 +02:00
Guillermo Bonet ce230b1133 Merge pull request 'test → master' (!76) from test into master
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #76
2024-08-06 07:08:53 +00:00
Guillermo Bonet f2ca49b261 Merge pull request 'refactor: refs #7511 Changed dependences' (!75) from dev into test
gitea/hedera-web/pipeline/pr-master Build queued... Details
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #75
2024-08-06 07:08:17 +00:00
Guillermo Bonet a5b8e56506 Merge pull request 'test → master' (!66) from test into master
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #66
2024-07-23 06:23:47 +00:00
Guillermo Bonet 93562bb4dd fix: refs #7704 Bug fix
gitea/hedera-web/pipeline/pr-master This commit looks good Details
gitea/hedera-web/pipeline/head This commit looks good Details
2024-07-19 10:25:23 +02:00
Guillermo Bonet aaa9d34404 Version increased
gitea/hedera-web/pipeline/pr-master This commit looks good Details
gitea/hedera-web/pipeline/head This commit looks good Details
2024-07-19 09:40:10 +02:00
Guillermo Bonet de5740856e refactor: refs #7511 Changed dependences
gitea/hedera-web/pipeline/head This commit looks good Details
gitea/hedera-web/pipeline/pr-test Build queued... Details
2024-07-19 07:50:02 +02:00
Guillermo Bonet 70746995ca Merge pull request 'dev → test' (!69) from dev into test
gitea/hedera-web/pipeline/pr-master This commit looks good Details
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #69
2024-07-18 05:59:33 +00:00
Juan Ferrer 90dea8fde9 ci(Jenkinsfile): refs #7643 Tag only master as latest
gitea/hedera-web/pipeline/pr-master This commit looks good Details
gitea/hedera-web/pipeline/head This commit looks good Details
2024-07-15 10:32:11 +02:00
Guillermo Bonet f57967cd17 Merge pull request 'feat: refs #7704 Change minQuantity' (!67) from 7704-itemMinimalQuantity into dev
gitea/hedera-web/pipeline/head This commit looks good Details
gitea/hedera-web/pipeline/pr-test Build queued... Details
Reviewed-on: #67
Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
2024-07-12 07:43:13 +00:00
Guillermo Bonet 1c54922692 feat: refs #7704 Refactor
gitea/hedera-web/pipeline/pr-dev This commit looks good Details
2024-07-11 14:33:15 +02:00
Guillermo Bonet 8929f8c55a feat: refs #7704 Refactor
gitea/hedera-web/pipeline/pr-dev This commit looks good Details
2024-07-11 14:32:56 +02:00
Guillermo Bonet 7f2c645682 feat: refs #7704 Refactor
gitea/hedera-web/pipeline/pr-dev This commit looks good Details
2024-07-11 13:36:21 +02:00
Guillermo Bonet 099f494101 feat: refs #7704 Change minQuantity
gitea/hedera-web/pipeline/pr-dev This commit looks good Details
2024-07-11 11:40:11 +02:00
Juan Ferrer ddc5c2adc7 ci: refs #7643 Jenkinsfile code clean
gitea/hedera-web/pipeline/head This commit looks good Details
gitea/hedera-web/pipeline/pr-master This commit looks good Details
2024-07-10 12:48:01 +02:00
Juan Ferrer 16d1e1fd69 ci: refs #7643 Debuild image updated
gitea/hedera-web/pipeline/head This commit looks good Details
2024-07-10 12:37:24 +02:00
Juan Ferrer 340c68406c ci: refs #7643 Debuild image updated
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-10 12:36:35 +02:00
Juan Ferrer c2f7ee1be8 ci: refs #7643 Debuild image updated
gitea/hedera-web/pipeline/head This commit looks good Details
2024-07-10 12:30:56 +02:00
Juan Ferrer 4d81b6c5b2 ci: refs #7643 Debuild dput debug
gitea/hedera-web/pipeline/head This commit looks good Details
2024-07-10 12:19:57 +02:00
Juan Ferrer fba0c73402 ci: refs #7643 Debuild dput debug
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-10 12:18:05 +02:00
Juan Ferrer 5ac6652663 ci: refs #7643 Debuild dput debug
gitea/hedera-web/pipeline/head Something is wrong with the build of this commit Details
2024-07-10 11:31:08 +02:00
Juan Ferrer 21da29ab8d ci: refs #7643 Debuild dput debug
gitea/hedera-web/pipeline/head Something is wrong with the build of this commit Details
2024-07-10 11:23:18 +02:00
Juan Ferrer 1f373f1bc3 ci: refs #7643 Debuild dput debug
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-10 11:20:59 +02:00
Juan Ferrer 47acbb7ebb ci: refs #7643 Debuild dput debug
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-10 11:19:05 +02:00
Juan Ferrer f863d8a897 ci: refs #7643 Debuild debug
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-10 11:16:19 +02:00
Juan Ferrer 5186387162 ci: refs #7643 Reprepro debug
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-10 10:54:47 +02:00
Juan Ferrer fd11c1ea00 ci: refs #7643 Reprepro debug
gitea/hedera-web/pipeline/head Something is wrong with the build of this commit Details
2024-07-09 17:31:24 +02:00
Juan Ferrer 8a022aac66 ci: refs #7643 Reprepro debug
gitea/hedera-web/pipeline/head Something is wrong with the build of this commit Details
2024-07-09 17:03:57 +02:00
Juan Ferrer ddaff6afe9 ci: refs #7643 Reprepro debug
gitea/hedera-web/pipeline/head Something is wrong with the build of this commit Details
2024-07-09 16:55:20 +02:00
Juan Ferrer bdf7a16003 ci: refs #7643 Reprepro debug
gitea/hedera-web/pipeline/head This commit looks good Details
2024-07-09 15:43:55 +02:00
Juan Ferrer 3db9314dfd ci: refs #7643 Reprepro debug & docker deploy improve
gitea/hedera-web/pipeline/head This commit looks good Details
2024-07-09 12:16:31 +02:00
Juan Ferrer 7ff9e2e97d ci: refs #7643 Reprepro includedeb improve
gitea/hedera-web/pipeline/head Something is wrong with the build of this commit Details
2024-07-09 12:04:23 +02:00
Juan Ferrer 0d61a9de03 ci: refs #7643 Reprepro includedeb improve
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-09 11:38:58 +02:00
Juan Ferrer 979b1293a9 ci: refs #7643 Reprepro includedeb fix
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-09 10:45:22 +02:00
Juan Ferrer 29168a6927 ci: refs #7643 Reprepro & debuild fixes
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-09 10:38:42 +02:00
Juan Ferrer b62185289f ci: refs #7643 Reprepro & debuild fixes
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-05 14:22:15 +02:00
Juan Ferrer d66047c451 ci: refs #7643 Reprepro & debuild fixes
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-05 14:20:41 +02:00
Juan Ferrer 03be5f9a56 ci: refs #7643 Reprepro SSH credentials fix
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-05 14:11:04 +02:00
Juan Ferrer 96fd08b369 ci: refs #7643 Reprepro SSH credentials fix
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-05 13:55:23 +02:00
Juan Ferrer 36573342b7 ci: refs #7643 Reprepro SSH credentials debug
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-05 13:43:41 +02:00
Juan Ferrer 14451121ac ci: refs #7643 Reprepro SSH credentials debug
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-05 13:41:43 +02:00
Juan Ferrer 44a45a25b2 ci: refs #7643 Reprepro SSH credentials debug
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-05 13:36:39 +02:00
Juan Ferrer 7618e65105 ci: refs #7643 Reprepro SSH credentials debug
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-05 13:32:42 +02:00
Juan Ferrer 1efb84dd83 ci: refs #7643 Reprepro SSH credentials debug
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-05 13:20:40 +02:00
Juan Ferrer 90137ab08f ci: refs #7643 Reprepro SSH credentials debug
gitea/hedera-web/pipeline/head Something is wrong with the build of this commit Details
2024-07-05 13:18:18 +02:00
Juan Ferrer b73e292cb0 ci: refs #7643 Reprepro SSH credentials debug
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-05 13:07:53 +02:00
Juan Ferrer 444732460e ci: refs #7643 Reprepro SSH credentials fix
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-05 13:05:06 +02:00
Juan Ferrer ab88575c72 ci: refs #7643 Reprepro SSH credentials fix
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-05 13:02:48 +02:00
Juan Ferrer 5cf6ef5b1c ci: refs #7643 Reprepro SSH credentials fix
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-05 13:01:49 +02:00
Juan Ferrer dcf46094f0 ci: refs #7643 Reprepro SSH credentials fix
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-05 11:13:03 +02:00
Juan Ferrer c6589989d4 ci: refs #7643 Reprepro SSH credentials fix
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-05 11:11:29 +02:00
Juan Ferrer 59e7999385 ci: refs #7643 Reprepro SSH credentials fix
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-05 11:10:10 +02:00
Juan Ferrer 756fccaa78 ci: refs #7643 Reprepro SSH credentials fix
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-05 11:09:15 +02:00
Juan Ferrer 7174842cfa ci: refs #7643 Reprepro SSH credentials
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-05 11:08:44 +02:00
Juan Ferrer d6e7d3b025 ci: refs #7643 Reprepro fixes
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-05 10:34:27 +02:00
Juan Ferrer 5bc20e9e05 ci: refs #7643 Reprepro fixes
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-05 10:32:08 +02:00
Juan Ferrer 6be7bccff7 ci: refs #7643 Debuild debug
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-05 10:29:35 +02:00
Juan Ferrer bf5ba5dac1 ci: refs #7643 Debuild debug
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-05 10:20:07 +02:00
Juan Ferrer 0d2ac8f9fb ci: refs #7643 Debuild debug
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-05 10:07:37 +02:00
Juan Ferrer cb61ad5d11 ci: refs #7643 Debuild artifact
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-05 10:04:10 +02:00
Juan Ferrer 5abcf9e71d ci: refs #7643 Debuild image fixes
gitea/hedera-web/pipeline/head Something is wrong with the build of this commit Details
2024-07-05 09:48:29 +02:00
Juan Ferrer 0952a690a5 ci: refs #7643 Debuild image fixes
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-04 19:19:30 +02:00
Juan Ferrer cc5faf97da ci: refs #7643 Debuild image fixes
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-04 19:04:04 +02:00
Juan Ferrer 9507292a13 fix: refs #7643 Debuild stage debug
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-04 19:00:35 +02:00
Juan Ferrer 17baf12449 fix: refs #7643 Debuild stage debug
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-04 18:48:49 +02:00
Juan Ferrer 749189d726 fix: refs #7643 Debuild stage debug
gitea/hedera-web/pipeline/head Something is wrong with the build of this commit Details
2024-07-04 18:45:32 +02:00
Juan Ferrer 7a94c3a01e ci: refs #7643 Debuild image fixes
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-04 18:42:34 +02:00
Juan Ferrer c4977b7997 fix: refs #7643 Debuild stage debug
gitea/hedera-web/pipeline/head Something is wrong with the build of this commit Details
2024-07-04 18:10:31 +02:00
Juan Ferrer ca4457bf54 ci: refs #7643 Debuild output
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-04 16:28:42 +02:00
Juan Ferrer d1c4f9dba2 fix: refs #7643 Debuild stage debug
gitea/hedera-web/pipeline/head Something is wrong with the build of this commit Details
2024-07-04 16:21:11 +02:00
Juan Ferrer 921b029b06 fix: refs #7643 Update debuild image
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-04 11:51:48 +02:00
Juan Ferrer ff63cd11c3 fix: refs #7643 Reprepro stage debug
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-04 11:28:29 +02:00
Juan Ferrer 1f1043a43c fix: refs #7643 Reprepro stage debug
gitea/hedera-web/pipeline/head Something is wrong with the build of this commit Details
2024-07-04 11:24:45 +02:00
Juan Ferrer a868a5b540 fix: refs #7643 Reprepro stage debug
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-07-04 11:15:53 +02:00
Juan Ferrer baa596430e fix: refs #7643 Reprepro stage
gitea/hedera-web/pipeline/head Something is wrong with the build of this commit Details
2024-07-04 11:08:26 +02:00
Guillermo Bonet 5ca765486f Merge pull request 'test → master' (!65) from test into master
gitea/hedera-web/pipeline/head There was a failure building this commit Details
Reviewed-on: #65
2024-06-25 07:11:48 +00:00
Guillermo Bonet 61fac85554 Version increased
gitea/hedera-web/pipeline/head This commit looks good Details
gitea/hedera-web/pipeline/pr-master This commit looks good Details
2024-06-25 08:36:13 +02:00
Guillermo Bonet 3a714debfc Merge pull request 'dev → test' (!64) from dev into test
gitea/hedera-web/pipeline/head There was a failure building this commit Details
Reviewed-on: #64
2024-06-21 12:29:07 +00:00
Guillermo Bonet 647dd09013 Merge pull request 'fix: refs #7498 Download invoice out error' (!63) from 7498-fixInvoiceOuts into dev
gitea/hedera-web/pipeline/head This commit looks good Details
gitea/hedera-web/pipeline/pr-test Build started... Details
Reviewed-on: #63
2024-06-11 06:54:44 +00:00
Guillermo Bonet 05c71c7425 refactor: refs #7498 Version increased
gitea/hedera-web/pipeline/pr-dev Build queued... Details
2024-06-11 08:54:33 +02:00
Guillermo Bonet 90e2b0abb5 refactor: refs #7498 Deleted method
gitea/hedera-web/pipeline/pr-dev This commit looks good Details
2024-06-07 08:51:03 +02:00
Guillermo Bonet bcbbee411f fix: refs #7498 Download invoice out error
gitea/hedera-web/pipeline/pr-master This commit looks good Details
gitea/hedera-web/pipeline/pr-dev This commit looks good Details
2024-05-29 10:45:34 +02:00
Guillermo Bonet 961ff02053 Merge pull request 'test' (!61) from test into master
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #61
2024-05-28 06:22:39 +00:00
Guillermo Bonet e7eb2a01fe Merge branch 'master' into test
gitea/hedera-web/pipeline/pr-master This commit looks good Details
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-05-28 06:20:48 +00:00
Juan Ferrer 98cefc8f0f feat: refs #7442 Kubernetes deploy
gitea/hedera-web/pipeline/pr-master This commit looks good Details
gitea/hedera-web/pipeline/head This commit looks good Details
2024-05-27 10:11:41 +02:00
Juan Ferrer e40a28b649 feat: refs #7442 Kubernetes deploy
gitea/hedera-web/pipeline/head Build queued... Details
gitea/hedera-web/pipeline/pr-master Build queued... Details
2024-05-27 10:11:03 +02:00
Guillermo Bonet f869e7413c Merge branch 'dev' into test
gitea/hedera-web/pipeline/pr-master This commit looks good Details
gitea/hedera-web/pipeline/head This commit looks good Details
2024-05-27 07:18:04 +02:00
Guillermo Bonet 29e800ea30 refs #7039 Version increased
gitea/hedera-web/pipeline/head This commit looks good Details
gitea/hedera-web/pipeline/pr-test There was a failure building this commit Details
2024-05-27 07:15:44 +02:00
Robert Ferrús 1eb98b772a Merge pull request 'feat: refs #7039 change country to name' (!57) from 7039-country-country into dev
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #57
Reviewed-by: Guillermo Bonet <guillermo@verdnatura.es>
2024-05-15 09:04:33 +00:00
Guillermo Bonet 1fe6816c08 Version increased
gitea/hedera-web/pipeline/pr-master This commit looks good Details
gitea/hedera-web/pipeline/head This commit looks good Details
2024-05-14 14:17:26 +02:00
Javi Gallego 5bbc342471 package
gitea/hedera-web/pipeline/pr-master This commit looks good Details
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-05-14 13:37:32 +02:00
Javi Gallego d808fa71d1 changeLog
gitea/hedera-web/pipeline/pr-master This commit looks good Details
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-05-14 13:25:46 +02:00
Juan Ferrer ac226205b0 Merge pull request 'feat: refs #7108 deletes exchange-rate' (!59) from 7108 into test
gitea/hedera-web/pipeline/pr-master This commit looks good Details
gitea/hedera-web/pipeline/head There was a failure building this commit Details
Reviewed-on: #59
Reviewed-by: Juan Ferrer <juan@verdnatura.es>
2024-05-14 08:51:27 +00:00
Guillermo Bonet 87f17409f7 Merge pull request 'test → master' (!60) from test into master
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #60
2024-05-14 07:20:35 +00:00
Javi Gallego ae70cbaaf4 feat: refs #7108 deletes exchange-rate
gitea/hedera-web/pipeline/pr-test This commit looks good Details
2024-05-09 09:20:07 +02:00
Guillermo Bonet 6e1613a26c Merge branch '7039-country-country' of https://gitea.verdnatura.es/verdnatura/hedera-web into 7039-country-country
gitea/hedera-web/pipeline/pr-dev This commit looks good Details
2024-05-07 14:05:45 +02:00
Guillermo Bonet 359ddb5d18 Fix 2024-05-07 14:05:44 +02:00
Guillermo Bonet d75fe3fc00 Merge branch 'dev' into 7039-country-country
gitea/hedera-web/pipeline/pr-dev This commit looks good Details
2024-05-07 11:54:14 +00:00
Guillermo Bonet e6cd88ee82 Merge branch 'test' of https://gitea.verdnatura.es/verdnatura/hedera-web into test
gitea/hedera-web/pipeline/head This commit looks good Details
gitea/hedera-web/pipeline/pr-master This commit looks good Details
2024-05-07 13:53:37 +02:00
Guillermo Bonet a405cba00b Version increased 2024-05-07 13:53:36 +02:00
Guillermo Bonet e4f55ca9e9 Merge pull request 'dev → test' (!58) from dev into test
gitea/hedera-web/pipeline/head There was a failure building this commit Details
Reviewed-on: #58
2024-05-07 11:51:00 +00:00
Robert Ferrús d8ea9134d4 feat: refs #7039 change country to name
gitea/hedera-web/pipeline/pr-dev This commit looks good Details
2024-05-07 07:29:00 +02:00
Guillermo Bonet a96859b6bb Merge pull request 'refactor: refs #7258 Deleted dependences of vn2008' (!56) from 7258-byeViewsVn2008 into dev
gitea/hedera-web/pipeline/head This commit looks good Details
gitea/hedera-web/pipeline/pr-test This commit looks good Details
Reviewed-on: #56
Reviewed-by: Juan Ferrer <juan@verdnatura.es>
2024-05-02 07:55:34 +00:00
Guillermo Bonet e210a09f6b Merge branch 'dev' into 7258-byeViewsVn2008
gitea/hedera-web/pipeline/pr-dev This commit looks good Details
2024-04-24 08:16:20 +00:00
Guillermo Bonet 5304a77f94 Merge branch 'test' into dev
gitea/hedera-web/pipeline/head This commit looks good Details
2024-04-24 10:06:48 +02:00
Guillermo Bonet 3f63da06f1 fix: refs #6492 Version increased
gitea/hedera-web/pipeline/head This commit looks good Details
2024-04-24 10:00:25 +02:00
Guillermo Bonet 7d120598bc refactor: refs #7258 Deleted dependences of vn2008
gitea/hedera-web/pipeline/pr-dev This commit looks good Details
2024-04-24 07:55:52 +02:00
Juan Ferrer 4cf91140f7 Merge pull request '#6492 replace procedure' (!55) from 6492-useAgencyVolume into master
gitea/hedera-web/pipeline/head There was a failure building this commit Details
Reviewed-on: #55
Reviewed-by: Juan Ferrer <juan@verdnatura.es>
2024-04-23 14:08:14 +00:00
Jorge Penadés 06554b7dee fix: refs #6492 replace procedure
gitea/hedera-web/pipeline/pr-master This commit looks good Details
2024-04-23 12:02:04 +02:00
Juan Ferrer 83c6886ee6 feat(catalog): refs #7222 Set image aspect ratio to 1:1
gitea/hedera-web/pipeline/head This commit looks good Details
2024-04-17 10:10:40 +02:00
Jorge Penadés 4765bc78de Merge pull request 'feat: refs #6492 replace procedure' (!54) from 6492-replaceAgencyVolume into dev
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #54
Reviewed-by: Juan Ferrer <juan@verdnatura.es>
2024-04-12 06:49:16 +00:00
Jorge Penadés 0a9635feb2 feat: refs #6492 replace procedure
gitea/hedera-web/pipeline/pr-dev This commit looks good Details
2024-04-10 12:41:45 +02:00
Jorge Penadés 00c8e4b1e3 feat: refs #6492 replace procedure
gitea/hedera-web/pipeline/pr-dev This commit looks good Details
2024-04-10 12:35:44 +02:00
Guillermo Bonet 1414b6c96e refactor: refs #5167 Version increased
gitea/hedera-web/pipeline/pr-master This commit looks good Details
gitea/hedera-web/pipeline/head This commit looks good Details
2024-03-21 07:15:28 +01:00
Guillermo Bonet 244b3f939e Merge pull request 'refactor: refs #5167 Deleted provinces section' (!51) from 5167-removedProvince into master
gitea/hedera-web/pipeline/head There was a failure building this commit Details
Reviewed-on: #51
Reviewed-by: Juan Ferrer <juan@verdnatura.es>
2024-03-21 06:03:58 +00:00
Guillermo Bonet 1d2f9061c5 refactor: refs #5167 Requested changes
gitea/hedera-web/pipeline/pr-master This commit looks good Details
2024-03-11 13:23:07 +01:00
Guillermo Bonet a121750fa7 refactor: refs #5167 Deleted provinces section
gitea/hedera-web/pipeline/pr-master This commit looks good Details
2024-03-11 08:52:43 +01:00
Guillermo Bonet 73ba16634e refactor: refs #5167 Deleted provinces section
gitea/hedera-web/pipeline/pr-master This commit looks good Details
2024-03-11 08:50:35 +01:00
Juan Ferrer 2515cbcee7 ci: HOTFIX Use version to tag docker images
gitea/hedera-web/pipeline/head This commit looks good Details
2024-02-22 09:41:39 +01:00
Juan Ferrer d1cdba800d Jenkinsfile refactor
gitea/hedera-web/pipeline/pr-master This commit looks good Details
gitea/hedera-web/pipeline/head This commit looks good Details
2024-02-22 09:25:38 +01:00
Juan Ferrer 02ddc87755 version increased
gitea/hedera-web/pipeline/pr-master This commit looks good Details
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-02-22 09:03:28 +01:00
Juan Ferrer 7689be689f Merge branch 'master' into test
gitea/hedera-web/pipeline/pr-master This commit looks good Details
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2024-02-22 08:56:16 +01:00
Juan Ferrer 33778629e6 Merge pull request 'dev' (!49) from dev into test
gitea/hedera-web/pipeline/head There was a failure building this commit Details
gitea/hedera-web/pipeline/pr-master There was a failure building this commit Details
Reviewed-on: #49
2024-02-15 12:35:15 +00:00
Juan Ferrer 7f1d8ebb8e version updated
gitea/hedera-web/pipeline/head This commit looks good Details
gitea/hedera-web/pipeline/pr-test Build started... Details
gitea/hedera-web/pipeline/pr-dev This commit looks good Details
2024-02-15 13:34:20 +01:00
Juan Ferrer 4d8a67f499 Merge pull request 'test' (!48) from test into dev
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #48
2024-02-15 12:32:01 +00:00
Guillermo Bonet c6120af93b Merge pull request 'refactor: refs #6780 Deleted references to warehouse vn2008' (!47) from 6780-changeViewDependencesVn2008 into dev
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #47
Reviewed-by: Juan Ferrer <juan@verdnatura.es>
2024-02-02 08:16:55 +00:00
Guillermo Bonet 95f819c22f refactor: refs #6780 Deleted references to warehouse vn2008
gitea/hedera-web/pipeline/pr-dev This commit looks good Details
2024-02-01 09:46:16 +01:00
Juan Ferrer 496061fb3c refs #6200 Version increased
gitea/hedera-web/pipeline/head This commit looks good Details
2023-10-10 14:17:50 +02:00
Juan Ferrer 0b85c1230a Merge branch 'master' of https://gitea.verdnatura.es/verdnatura/hedera-web
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2023-10-10 12:46:42 +02:00
Juan Ferrer 3ed871cb4c refs #6200 fix 2023-10-10 12:46:05 +02:00
Juan Ferrer c7159a1e13 Merge pull request 'refs #6200 test into master' (!46) from test into master
gitea/hedera-web/pipeline/head Something is wrong with the build of this commit Details
Reviewed-on: #46
2023-10-10 08:21:49 +00:00
Juan Ferrer fba880fb33 refs #6200 Version increased
gitea/hedera-web/pipeline/head There was a failure building this commit Details
gitea/hedera-web/pipeline/pr-dev Build queued... Details
2023-10-10 09:37:29 +02:00
Juan Ferrer 1535a557a8 refs #6200 Fixes: style & add to basket
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2023-10-09 21:08:40 +02:00
Juan Ferrer 4a09fe39a8 refs #6200 style fixes, mock local date
gitea/hedera-web/pipeline/head This commit looks good Details
2023-10-09 21:01:11 +02:00
Juan Ferrer 3977b258d3 refs #6200 Style fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2023-10-09 20:20:01 +02:00
Juan Ferrer 6915e06c71 refs #6200 Minimal amount
gitea/hedera-web/pipeline/head This commit looks good Details
2023-10-09 19:51:59 +02:00
Juan Ferrer a474f9df05 Merge branch 'master' into test
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2023-10-09 19:06:44 +02:00
Juan Ferrer 620bd53262 refs #5879 Fixes: PHP max upload filesize
gitea/hedera-web/pipeline/head This commit looks good Details
2023-08-30 17:48:23 +02:00
Juan Ferrer 8f98597ea2 refs #5863 Fixes: Mailer, logout & run db
gitea/hedera-web/pipeline/head This commit looks good Details
2023-08-21 11:41:51 +02:00
Alex Moreno a2cd8a711e Merge pull request 'refs #5762 feat(changePassword): salix compatibility' (!44) from 5762-recover-password_salix2 into test
gitea/hedera-web/pipeline/head There was a failure building this commit Details
Reviewed-on: #44
Reviewed-by: Juan Ferrer <juan@verdnatura.es>
2023-08-18 06:57:15 +00:00
Alex Moreno 08b4a3437c refs #5762 feat(changePassword): salix compatibility
gitea/hedera-web/pipeline/head This commit looks good Details
2023-08-07 07:25:11 +02:00
Juan Ferrer a59c44fb3a refs #5863 Version increased
gitea/hedera-web/pipeline/head This commit looks good Details
2023-08-02 08:49:49 +02:00
Juan Ferrer 2adfd2299a Merge pull request 'hotFix(logout): correct order' (!43) from hotFix_correctOrder_logout into master
gitea/hedera-web/pipeline/head There was a failure building this commit Details
Reviewed-on: #43
Reviewed-by: Juan Ferrer <juan@verdnatura.es>
2023-07-28 11:25:16 +00:00
Juan Ferrer f929e67d76 Merge branch 'master' into hotFix_correctOrder_logout
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2023-07-28 11:24:56 +00:00
Juan Ferrer d37493b081 ticket #097414 Fix: Use client language
gitea/hedera-web/pipeline/head This commit looks good Details
2023-07-28 13:11:33 +02:00
Alex Moreno 0f3ddb1a99 hotFix(logout): correct order
gitea/hedera-web/pipeline/head This commit looks good Details
2023-07-28 10:16:28 +02:00
Juan Ferrer bb4e348d0c Merge pull request 'test into master' (!42) from test into master
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #42
2023-07-27 20:07:42 +00:00
Juan Ferrer 754b8cd6c4 refs #6079 Add tag 8 & modify france phone
gitea/hedera-web/pipeline/head This commit looks good Details
2023-07-27 21:55:17 +02:00
Alex Moreno 7bb067223a Merge pull request '5863_logout_remove_session' (!40) from 5863_logout_remove_session into test
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #40
Reviewed-by: Juan Ferrer <juan@verdnatura.es>
2023-07-14 11:04:56 +00:00
Alex Moreno 9363cdf5a4 refs #5863 fix remove user session
gitea/hedera-web/pipeline/head This commit looks good Details
2023-07-12 08:34:47 +02:00
Alex Moreno d17bc6115f refs #5863 logout remove $_SESSION['user']
gitea/hedera-web/pipeline/head This commit looks good Details
2023-07-12 07:17:20 +02:00
Javi Gallego 9475c26663 Merge pull request 'refs #5863 add echos in login' (!39) from 5863_service_add_echos2 into test
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #39
Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
2023-07-11 11:57:09 +00:00
Alex Moreno 607513452f Merge branch 'test' of https://gitea.verdnatura.es/verdnatura/hedera-web into 5863_service_add_echos2
gitea/hedera-web/pipeline/head This commit looks good Details
2023-07-11 11:36:50 +02:00
Alex Moreno 86be0278a6 refs #5863 add echos in login
gitea/hedera-web/pipeline/head This commit looks good Details
2023-07-11 11:35:15 +02:00
Alex Moreno a8f98d62ab Merge pull request 'refs #5863 add echos in login' (!38) from 5863_service_add_echos into test
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #38
Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
2023-07-11 07:21:12 +00:00
Alex Moreno 2af5851066 refs #5863 add echos in login 2023-07-11 09:18:34 +02:00
Javi Gallego 1470e77572 Merge pull request 'refs #5863 remove echos' (!37) from 5863-visit_user3 into test
gitea/hedera-web/pipeline/head There was a failure building this commit Details
Reviewed-on: #37
Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
2023-07-10 07:23:01 +00:00
Alex Moreno 32cc865290 refs #5863 remove echos
gitea/hedera-web/pipeline/head This commit looks good Details
2023-07-10 09:17:16 +02:00
Javi Gallego 8bcfe9f50c Merge pull request 'refs #5863 echos' (!36) from 5863-visit_user2 into test
gitea/hedera-web/pipeline/head There was a failure building this commit Details
Reviewed-on: #36
Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
2023-07-10 06:44:52 +00:00
Alex Moreno f638143e3e refs #5863 echos
gitea/hedera-web/pipeline/head This commit looks good Details
2023-07-10 08:43:15 +02:00
Javi Gallego 07bde10609 Merge pull request 'refs #5863 add echos' (!35) from 5863-visit_user into test
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #35
Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
2023-07-10 05:54:10 +00:00
Alex Moreno 4231365e4f refs #5863 add echos
gitea/hedera-web/pipeline/head This commit looks good Details
2023-07-10 07:52:24 +02:00
Juan Ferrer fa56a4e540 refs #5879 Jenkinsfile: debuild updated
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2023-06-20 17:29:01 +02:00
Juan Ferrer 5bcfd5897c Merge pull request 'refs #5879 test into dev' (!34) from test into dev
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #34
2023-06-20 15:20:29 +00:00
Juan Ferrer 572d4b7b83 Merge branch 'master' into test
gitea/hedera-web/pipeline/head This commit looks good Details
2023-06-20 17:18:54 +02:00
Juan Ferrer bbeb70eb6b refs #5879 Upgrade Debian image
gitea/hedera-web/pipeline/head This commit looks good Details
2023-06-20 16:56:19 +02:00
Juan Ferrer 2905a6ab57 Merge branch 'master' of https://gitea.verdnatura.es/verdnatura/hedera-web
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2023-06-20 16:08:14 +02:00
Juan Ferrer 5b84671d57 hotfix #097414 Version increased 2023-06-20 16:08:13 +02:00
Carlos Andrés 9146d28db5 Merge pull request 'hotfix-Ticket-#097414-traducción-meensaje-de-error' (!32) from hotfix-Ticket-#097414-traducción-meensaje-de-error into master
gitea/hedera-web/pipeline/head There was a failure building this commit Details
Reviewed-on: #32
Reviewed-by: Juan Ferrer <juan@verdnatura.es>
2023-06-20 12:02:02 +00:00
Carlos Andrés 59242daa79 Merge branch 'master' into hotfix-Ticket-#097414-traducción-meensaje-de-error
gitea/hedera-web/pipeline/head This commit looks good Details
2023-06-20 12:01:38 +00:00
Juan Ferrer fd32b3f15a refs #5489 Version increased
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2023-06-16 08:28:05 +02:00
Juan Ferrer 56395aa91b refs #5489 Account.sync(): bcryptPassword not used, removed
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2023-06-15 13:14:01 +02:00
Carlos Andrés 2610448e79 hotfix Ticket #097414 traducción mensajes de error
gitea/hedera-web/pipeline/head This commit looks good Details
2023-06-15 10:06:28 +02:00
Carlos Andrés 9eba09ddf7 hotfix Ticket #097414 traducción mensajes de error
gitea/hedera-web/pipeline/head This commit looks good Details
2023-06-15 10:04:58 +02:00
Juan Ferrer 74980fbdd7 refs #5553 Insert/Update image table before save
gitea/hedera-web/pipeline/head This commit looks good Details
2023-04-14 10:39:59 +02:00
Juan Ferrer 01326dc91c Merge pull request 'test' (!31) from test into dev
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #31
2023-03-10 11:23:16 +00:00
Juan Ferrer 5ce2f46842 Merge pull request 'refs #3867 Fix: display message of forbidden errors' (!30) from master into test
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #30
2023-03-10 11:22:50 +00:00
Juan Ferrer 42f682739e refs #3867 Fix: display message of forbidden errors
gitea/hedera-web/pipeline/head This commit looks good Details
2023-03-07 08:50:12 +01:00
Juan Ferrer bbe7f2ea14 Merge pull request 'refs #3723 Set docker memory limit' (!29) from master into test
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #29
2023-03-06 08:31:52 +00:00
Juan Ferrer cdafea824e refs #3723 Set docker memory limit
gitea/hedera-web/pipeline/head This commit looks good Details
2023-03-06 09:25:02 +01:00
Juan Ferrer 5fce203252 Merge pull request 'test' (!28) from test into dev
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #28
2023-02-27 08:47:36 +00:00
Juan Ferrer 9945c8f1b6 Merge pull request 'master' (!27) from master into test
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #27
2023-02-27 08:46:45 +00:00
Juan Ferrer 1ef0d48ba7 refs #4253 Version increased
gitea/hedera-web/pipeline/head This commit looks good Details
2023-02-26 02:13:28 +01:00
Juan Ferrer 197758f2bc refs #4253 supplant security code uncommented 2023-02-26 02:12:45 +01:00
Juan Ferrer 511e925467 refs #5122 Show shopping bag icon in basket
gitea/hedera-web/pipeline/head This commit looks good Details
2023-02-24 08:59:45 +01:00
Juan Ferrer f47e7e07a7 refs #5122 Pending orders: Show taxable base instead of total
gitea/hedera-web/pipeline/head This commit looks good Details
2023-02-24 08:46:49 +01:00
Juan Ferrer b32be540f3 Merge pull request 'test' (!26) from test into dev
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #26
2023-02-23 19:28:45 +00:00
Juan Ferrer 4190aad94e Merge pull request 'master' (!25) from master into test
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #25
2023-02-23 19:22:05 +00:00
Juan Ferrer 9bfd42eaf8 refs #5122 Navigation improved, date shows year, fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2023-02-23 20:19:56 +01:00
Juan Ferrer dd7185d5dd refs #5122 Backend fix: Return error code for user exceptions
gitea/hedera-web/pipeline/head This commit looks good Details
2023-02-23 17:05:19 +01:00
Juan Ferrer 10d8128133 refs #5122 Order check fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2023-02-23 16:50:49 +01:00
Juan Ferrer b357c4a451 Merge pull request 'refs #5122 Version increased' (!24) from master into test
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #24
2023-02-23 13:40:14 +00:00
Juan Ferrer e5941266ed refs #5122 Version increased
gitea/hedera-web/pipeline/head This commit looks good Details
2023-02-23 14:36:36 +01:00
Juan Ferrer 592f79fcbd Merge pull request 'master' (!23) from master into test
gitea/hedera-web/pipeline/head There was a failure building this commit Details
Reviewed-on: #23
2023-02-23 13:35:17 +00:00
Juan Ferrer 0abc6bdc23 refs #5122 Fix
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2023-02-23 14:32:13 +01:00
Juan Ferrer 210b7e7806 Merge pull request 'refs #5253' (!22) from test into master
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #22
2023-02-23 09:30:42 +00:00
Juan Ferrer 92a4bc458c Merge pull request 'dev' (!21) from dev into test
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #21
2023-02-16 10:33:51 +00:00
Juan Ferrer 520e0c1eff refs #5161 Version increased
gitea/hedera-web/pipeline/head This commit looks good Details
2023-02-16 11:23:38 +01:00
Juan Ferrer afd23e08b7 Merge pull request 'refs #5122' (!20) from 5122-multipleBasket into dev
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #20
2023-02-15 19:57:41 +00:00
Juan Ferrer 18cdb4cc1b Merge branch 'dev' into 5122-multipleBasket
gitea/hedera-web/pipeline/head This commit looks good Details
2023-02-15 19:54:25 +00:00
Juan Ferrer ca5f80f6c3 refs #5122
gitea/hedera-web/pipeline/head This commit looks good Details
2023-02-15 17:18:54 +01:00
Juan Ferrer d1ff6889af Merge pull request '5122-multipleBasket' (!19) from 5122-multipleBasket into dev
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #19
2023-02-15 16:15:03 +00:00
Juan Ferrer a632a15242 refs #5122
gitea/hedera-web/pipeline/head This commit looks good Details
2023-02-15 17:13:25 +01:00
Juan Ferrer 67b6f77b12 refs #5122
gitea/hedera-web/pipeline/head This commit looks good Details
2023-02-15 14:07:09 +01:00
Juan Ferrer e8eab29887 Merge branch 'dev' into 5122-multipleBasket
gitea/hedera-web/pipeline/head This commit looks good Details
2023-02-14 17:10:34 +01:00
Juan Ferrer 326aeee127 Merge pull request 'test' (!18) from test into dev
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #18
2023-01-31 13:15:47 +00:00
Juan Ferrer bbb0089b59 Merge pull request 'master' (!17) from master into test
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #17
2023-01-31 13:15:19 +00:00
Juan Ferrer 406b2f8300 #4253 Hotfix: OutdatedVersionError not handled
gitea/hedera-web/pipeline/head This commit looks good Details
2023-01-31 14:09:01 +01:00
Juan Ferrer efc7342359 fixes #5174 Redsys TPV api migrated to salix
gitea/hedera-web/pipeline/head This commit looks good Details
2023-01-31 13:38:59 +01:00
Juan Ferrer 806c4cc3ad refs #5122 Checkpoint
gitea/hedera-web/pipeline/head This commit looks good Details
2023-01-30 11:08:26 +01:00
Juan Ferrer c463e967ca refs #3971 Form input locking when loading
gitea/hedera-web/pipeline/head This commit looks good Details
2023-01-16 16:57:48 +01:00
Juan Ferrer be43a38b38 refs #3971 Order confirm style fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2023-01-16 14:18:07 +01:00
Juan Ferrer 59ed61ae9b refs #4253 Translation & UI fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2023-01-16 13:59:11 +01:00
Juan Ferrer 17e54cfc60 Merge pull request 'test' (!16) from test into dev
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #16
2022-12-09 11:55:42 +00:00
Juan Ferrer baa9bb7cdf Merge pull request 'refs #3971 Fixes: Checkout, pay' (!15) from master into test
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #15
2022-12-09 11:55:18 +00:00
Juan Ferrer 87d75be910 refs #3971 Fixes: Checkout, pay
gitea/hedera-web/pipeline/head This commit looks good Details
2022-12-09 12:51:51 +01:00
Juan Ferrer ac629dc97b Merge pull request 'test' (!14) from test into dev
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #14
2022-12-05 09:21:44 +00:00
Juan Ferrer ff3320d590 Merge branch 'test' of https://gitea.verdnatura.es/verdnatura/hedera-web into test
gitea/hedera-web/pipeline/head This commit looks good Details
2022-12-02 19:24:38 +01:00
Juan Ferrer e8b727ab6c refs #4922 .quasar dir added to gitignore
gitea/hedera-web/pipeline/head This commit looks good Details
2022-12-02 09:18:09 +01:00
Juan Ferrer 5934ee3832 refs #3971 User supplant fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-12-02 09:15:43 +01:00
Juan Ferrer 4f09574697 Merge pull request 'test' (!13) from test into dev
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #13
2022-12-01 08:07:57 +00:00
Juan Ferrer 6d95dfb999 Merge pull request 'master' (!12) from master into test
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #12
2022-12-01 08:07:08 +00:00
Juan Ferrer 1fa9b1e8b0 refs #3971 Order checkout hotfix
gitea/hedera-web/pipeline/head This commit looks good Details
2022-12-01 09:04:33 +01:00
Juan Ferrer 327508c3ee Merge pull request 'test' (!11) from test into master
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #11
2022-12-01 07:54:27 +00:00
Juan Ferrer ba2c143677 Merge branch 'test' into dev
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-29 19:15:05 +01:00
Juan Ferrer 9309bd156c refs #3971 fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-29 19:13:32 +01:00
Juan Ferrer 875629fc17 Merge pull request 'test' (!10) from test into dev
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #10
2022-11-28 09:52:02 +00:00
Juan Ferrer ebb6055be5 refs #3971 Version increased
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-28 10:41:45 +01:00
Juan Ferrer 209d2e2606 Merge branch 'master' into test
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2022-11-28 10:19:39 +01:00
Juan Ferrer 11da415eb2 refs #3971
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-28 09:51:54 +01:00
Juan Ferrer 6640314879 refs 3971 Rest requests promisified 2022-11-28 09:51:31 +01:00
Juan Ferrer b0b2451510 refs #3971 TinyMCE working, login & various style fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-24 14:49:48 +01:00
Juan Ferrer 922f27e71a refs #3971 Side bar style fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-23 17:48:56 +01:00
Juan Ferrer 8978172515 refs #3971 Htk.Select: Display value when no row
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-23 13:52:20 +01:00
Juan Ferrer ca61ee24ce refs #3971 Catalog: filter fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-23 13:11:16 +01:00
Juan Ferrer 5443cbe7f1 refs #3971 Catalog: style fixes, filter by tag fix
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-23 12:55:06 +01:00
Juan Ferrer f39b8b4cb3 refs #3971 Issue 067214 fixed
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-23 12:18:19 +01:00
Juan Ferrer 998e7a0b5e refs #3971 Catalog style fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-21 13:08:32 +01:00
Juan Ferrer 17f6ba97b4 refs #3971 Font size fix, checkout padding fix
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-19 17:36:31 +01:00
Juan Ferrer 9b71d4352b refs #3971 Style fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-19 14:00:13 +01:00
Juan Ferrer 16da03b0f9 refs #3971 TinyMCE fix
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-19 01:40:28 +01:00
Juan Ferrer 5824633e1b refs 3971 Style fixes, scope & news error fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-19 01:28:24 +01:00
Juan Ferrer 8ec59e969b refs #3971 Catalog: Style fixes, ordering fix, mobile style fix, refactor
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-18 21:10:41 +01:00
Juan Ferrer faa04966c7 refs #3971 Style fixes, debug alert removed
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-18 04:06:22 +01:00
Juan Ferrer e92e04b4d5 refs #3971 Error fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-18 01:26:08 +01:00
Juan Ferrer ae70cd2b4e refs #3971 Webpack assets: exclude imported
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-18 01:24:23 +01:00
Juan Ferrer ece21bb929 refs #3971 Webpack assets fix
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-18 01:14:23 +01:00
Juan Ferrer 339f885d1b refs #3971 Webpack assets fix
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-18 01:01:05 +01:00
Juan Ferrer 679bdc6235 refs #3971 Source maps disabled
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-18 00:31:45 +01:00
Juan Ferrer ed4b93330a refs #3971 Promise polyfill removed
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-17 23:54:13 +01:00
Juan Ferrer ac62118a20 refs #3971 Fix: blank page
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-17 23:47:33 +01:00
Juan Ferrer 6ecce8fec6 refs #3971 import() forms, refactor, async, retrocompatibility
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-17 23:31:48 +01:00
Juan Ferrer 0c7476a37c refs #3971 Function keyword removed 2022-11-16 02:46:44 +01:00
Juan Ferrer 0510149fd8 refs #3971 Webpack imports 2022-11-16 02:44:39 +01:00
Juan Ferrer 5f1f0423cf refs #3971 Webpack imports 2022-11-16 02:43:11 +01:00
Juan Ferrer 22ce6425de refs #3971 Style fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-15 22:26:48 +01:00
Juan Ferrer 1f80bd5ee0 refs #3971 Text size reduced for mobile
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-14 18:00:25 +01:00
Juan Ferrer ee989a04bc refs #3971 Dialog modal fix
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-12 13:06:55 +01:00
Juan Ferrer cc42626406 refs #3971 Version increased
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-11 21:13:36 +01:00
Juan Ferrer f613295e34 refs #3971 Version checking fixed & enabled 2022-11-11 21:06:19 +01:00
Juan Ferrer 6a8be05d4b refs #3971 Style fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-11 21:01:32 +01:00
Juan Ferrer 6f080b1275 refs #3971 Version cookie fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-11 20:31:17 +01:00
Juan Ferrer a59d062f95 refs #3971 style fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-11 16:18:36 +01:00
Juan Ferrer c07ff136ed refs #3971 style fixes 2022-11-11 16:17:20 +01:00
Juan Ferrer 7b6b50e27e refs #3971 Version cookie fix
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-11 15:46:30 +01:00
Juan Ferrer 7451f643af refs #3971 Version cookie fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-11 15:40:07 +01:00
Juan Ferrer 8fac1a5ab4 refs #3971 Version increased
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-11 15:34:39 +01:00
Juan Ferrer c2a601c30c refs #3971 Cookie fixes
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2022-11-11 15:32:45 +01:00
Juan Ferrer f82ecaad91 refs #3971 Catalog & basket style fixes, version check/set fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-11 15:20:48 +01:00
Juan Ferrer 5de1601348 refs #3971 Select input & basket style fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-11 13:18:52 +01:00
Juan Ferrer 5abed9a207 refs #3971 Version check skipped
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-10 22:55:05 +01:00
Juan Ferrer 1b7de926d5 refs #3971 Translation fixes
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2022-11-10 22:25:34 +01:00
Juan Ferrer 656f1be008 refs #3971 package-lock.json updated
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-10 22:09:06 +01:00
Juan Ferrer d4a7f41600 Merge branch 'test' 2022-11-10 21:57:43 +01:00
Juan Ferrer 59f446a824 Hotfix: restore user password
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-04 15:15:16 +01:00
Juan Ferrer 28876ad819 Fotfix: Cannot update user configuration
gitea/hedera-web/pipeline/head This commit looks good Details
2022-11-04 14:36:21 +01:00
Juan Ferrer 137c912ba9 Dockerfile fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-10-15 14:56:25 +02:00
Juan Ferrer 3c4b201069 debian version updated
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2022-10-15 14:42:26 +02:00
Juan Ferrer 94c4c43bb5 #4474 Fix memory leaks
gitea/hedera-web/pipeline/head This commit looks good Details
2022-10-13 17:01:18 +02:00
Juan Ferrer c5d1a6fd3a debian compat increased
gitea/hedera-web/pipeline/head This commit looks good Details
2022-10-10 13:29:23 +02:00
Juan Ferrer 996f318fe6 Delivery note URL fix
gitea/hedera-web/pipeline/head This commit looks good Details
2022-10-10 13:22:17 +02:00
Juan Ferrer dc6b1b967e NPM install cache
gitea/hedera-web/pipeline/head This commit looks good Details
2022-10-10 13:03:13 +02:00
Juan Ferrer dca89ed01c Delivery note URL fix, docker fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-10-10 12:51:34 +02:00
Juan Ferrer 1e514ab12a #4365 Fixes & refactor
gitea/hedera-web/pipeline/head This commit looks good Details
2022-10-05 10:49:54 +02:00
Juan Ferrer bf5ad50f94 Refactor, unused code removed
gitea/hedera-web/pipeline/head This commit looks good Details
2022-10-04 15:12:16 +02:00
Juan Ferrer e8f73c5147 Minor fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-10-04 10:17:43 +02:00
Juan Ferrer 3f637fff80 Minor fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-10-03 15:50:39 +02:00
Juan Ferrer 5e87da735f Fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-10-03 14:49:41 +02:00
Juan Ferrer 81ba131375 Hotfix: edi/load
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2022-08-08 08:57:35 +02:00
Juan Ferrer 28ca363348 Version increased
gitea/hedera-web/pipeline/head This commit looks good Details
2022-07-27 12:17:01 +02:00
Juan Ferrer 958b39e9be Deploy fixes
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2022-07-27 12:13:34 +02:00
Juan Ferrer c11500b3de Deploy fixes
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2022-07-27 12:06:53 +02:00
Juan Ferrer a68436b330 Deploy fixes
gitea/hedera-web/pipeline/head Something is wrong with the build of this commit Details
2022-07-27 12:04:56 +02:00
Juan Ferrer 243dd6f44a Deploy fixes
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2022-07-27 11:43:58 +02:00
Juan Ferrer d9fdb3f4c2 Deploy fixes
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2022-07-27 11:42:29 +02:00
Juan Ferrer d16a992c8a Deploy fixes
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2022-07-27 11:40:34 +02:00
Juan Ferrer 04b2e0ff50 Deploy fixes
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2022-07-27 11:35:35 +02:00
Juan Ferrer 297b2f877c Deploy fixes
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2022-07-27 10:22:33 +02:00
Juan Ferrer 87c3e8e11b Deploy fixes
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2022-07-27 10:18:14 +02:00
Juan Ferrer 264a2c5f58 Deploy fixes
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2022-07-27 10:01:57 +02:00
Juan Ferrer 3913eed8aa Deploy fixes
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2022-07-27 09:57:07 +02:00
Juan Ferrer a652f86172 Deploy refactor & fixes
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2022-07-27 09:37:53 +02:00
Juan Ferrer 90e9941b4c #4275 #3971 Fixes
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2022-07-15 07:55:18 +02:00
Juan Ferrer a43e0522f5 Merge branch 'master' into test 2022-07-11 11:26:33 +02:00
Juan Ferrer a130163617 #4212 edi/load fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-07-08 07:47:37 +02:00
Juan Ferrer 2887497730 edi/load: fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-07-07 23:46:18 +02:00
Juan Ferrer 13e61acb2a edi/load: entryYear field fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-07-07 23:17:48 +02:00
Juan Ferrer 574c63ea4e EDI: environments, new params, refactor
gitea/hedera-web/pipeline/head This commit looks good Details
2022-07-07 14:55:34 +02:00
Juan Ferrer be23ceed4b Hotfix
gitea/hedera-web/pipeline/head This commit looks good Details
2022-06-27 18:16:24 +02:00
Juan Ferrer 00c7f9da0d EDI: Added field RFF+VN(vendorOrderNumber)
gitea/hedera-web/pipeline/head This commit looks good Details
2022-06-27 16:41:58 +02:00
Juan Ferrer 9ca2f78103 #4212 New EKT barcode
gitea/hedera-web/pipeline/head This commit looks good Details
2022-06-23 10:37:18 +02:00
Juan Ferrer fd6f39371a Builder refactor, various fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-06-18 23:04:34 +02:00
Juan Ferrer d1819118d8 Fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-06-07 10:19:29 +02:00
Juan Ferrer 7669dc0db0 Fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-06-06 19:13:57 +02:00
Juan Ferrer e635807cb9 Merge pull request '0000-lot' (#9) from 0000-lot into test
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #9
2022-06-06 16:23:49 +00:00
Juan Ferrer a1b77ce202 Alpha
gitea/hedera-web/pipeline/head This commit looks good Details
2022-06-06 18:22:26 +02:00
Juan Ferrer 68eedecb90 Checkpoint
gitea/hedera-web/pipeline/head This commit looks good Details
2022-06-06 18:19:43 +02:00
Juan Ferrer 2307c16748 Checkpoint
gitea/hedera-web/pipeline/head This commit looks good Details
2022-06-06 18:02:17 +02:00
Juan Ferrer 30052408de Checkpoint
gitea/hedera-web/pipeline/head This commit looks good Details
2022-06-06 14:49:18 +02:00
Juan Ferrer 87a583794a Checkpoint
gitea/hedera-web/pipeline/head This commit looks good Details
2022-06-06 10:53:59 +02:00
Juan Ferrer de19063ed9 Checkpoint
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-30 03:30:33 +02:00
Juan Ferrer 894ff77877 Catalog filter fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-28 21:31:43 +02:00
Juan Ferrer 3de2c2f9fe Catalog filter, builder ids
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-28 21:27:36 +02:00
Juan Ferrer 0141eea534 DB result rows now handled as objects
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2022-05-28 17:49:46 +02:00
Juan Ferrer fc22db73f2 Vn.Scope: $ is now an object 2022-05-28 03:18:06 +02:00
Juan Ferrer d2ed1fb1af Resposive
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-28 02:51:05 +02:00
Juan Ferrer 060acd294e Fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-28 02:37:24 +02:00
Juan Ferrer 6de30422ff Version increased
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-26 16:29:42 +02:00
Juan Ferrer 2c5dcba923 Merge pull request 'Fixes' (#8) from 3971-modernizeStyle into test
gitea/hedera-web/pipeline/head There was a failure building this commit Details
Reviewed-on: #8
2022-05-26 14:27:10 +00:00
Juan Ferrer 0600daec31 Fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-26 16:26:20 +02:00
Juan Ferrer 1c311a851f Merge pull request 'Backend: Webpack assets fix' (#7) from 3971-modernizeStyle into test
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #7
2022-05-26 08:35:10 +00:00
Juan Ferrer 2f0dc7e282 Backend: Webpack assets fix
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-26 10:34:20 +02:00
Juan Ferrer 09e418da95 Merge pull request '3971-modernizeStyle' (#6) from 3971-modernizeStyle into test
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #6
2022-05-26 08:02:24 +00:00
Juan Ferrer 60eabacf22 Version increased
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-26 10:01:29 +02:00
Juan Ferrer f80e8b4476 Beta
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-26 10:00:19 +02:00
Juan Ferrer 614038470d Checkpoint
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-26 08:08:31 +02:00
Juan Ferrer f515249329 Checkpoint
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-25 20:04:16 +02:00
Juan Ferrer dc0ba66257 Checkpoint
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-24 23:11:12 +02:00
Juan Ferrer 546e67d6f6 Checkpoint
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-24 12:18:44 +02:00
Juan Ferrer 11ba609144 Checkpoint
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-21 23:32:06 +02:00
Juan Ferrer f815aa9992 Checkpoint 2022-05-21 23:31:56 +02:00
Juan Ferrer 83ab901da6 Merge branch 'test' into 3971-modernizeStyle 2022-05-21 23:26:34 +02:00
Juan Ferrer 3384170793 Merge pull request 'master' (#5) from master into test
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #5
2022-05-20 13:02:23 +00:00
Juan Ferrer 2aff47ef2e Download invoice fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-20 14:20:34 +02:00
Juan Ferrer 1d782a28ed Merge pull request 'test' (#4) from test into master
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #4
2022-05-18 16:28:22 +00:00
Juan Ferrer 39e41a8cbd Merge branch 'test' into 3971-modernizeStyle
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-11 09:47:11 +02:00
Juan Ferrer 10cff090f1 Merge branch 'test' into 3971-modernizeStyle 2022-05-11 09:43:33 +02:00
Juan Ferrer d23f06bd91 Merge pull request 'Apache conf fixes' (#3) from 3806-salixBackend into test
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #3
2022-05-09 15:18:14 +00:00
Juan Ferrer 17cf7135c7 Apache conf fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-09 17:15:56 +02:00
Juan Ferrer cb39b99020 Merge pull request '3806-salixBackend' (#2) from 3806-salixBackend into test
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #2
2022-05-09 13:54:49 +00:00
Juan Ferrer aa52198cd4 #3806 Version increased
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-09 15:54:05 +02:00
Juan Ferrer 4bb31e9dd3 #3806 Supplant fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-09 15:52:29 +02:00
Juan Ferrer 7e398059dc Merge branch 'test' into 3806-salixBackend
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-09 00:00:05 +02:00
Juan Ferrer 4f82cc9e9a compose fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-08 23:54:48 +02:00
Juan Ferrer 7464abc5a4 Compose fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-08 23:47:57 +02:00
Juan Ferrer 60561265e8 Jenkinsfile fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-08 23:44:20 +02:00
Juan Ferrer aa4d1edd32 #3806 Salix backend
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-05 15:56:17 +02:00
Juan Ferrer f3bdb5f3c5 #3971 pre-alfa
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-05 15:54:53 +02:00
Juan Ferrer b428a11ac0 #3971 Modernización de estilo, pre-alfa 2022-05-05 15:54:32 +02:00
Juan Ferrer 07632e077e Merge pull request 'test' (#1) from test into master
gitea/hedera-web/pipeline/head This commit looks good Details
Reviewed-on: #1
2022-05-05 09:43:20 +00:00
Juan Ferrer f5e1b11df9 Jenkinsfile fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-05 11:39:49 +02:00
Juan Ferrer 497f0c130b docker-compose fix
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-05 11:35:14 +02:00
Juan Ferrer 8ec889a9f7 Jenkinsfile fixes
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2022-05-05 11:19:29 +02:00
Juan Ferrer 2d12be21cb #3974 Create test branch
gitea/hedera-web/pipeline/head This commit looks good Details
2022-05-05 11:05:05 +02:00
Juan Ferrer 32b794225a Left menu fix
gitea/hedera-web/pipeline/head This commit looks good Details
2022-04-20 15:03:29 +02:00
Juan Ferrer 803075f216 #3894 Style fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-04-13 15:21:01 +02:00
Juan Ferrer aeb94d2569 #3894 Style fixes for mobile
gitea/hedera-web/pipeline/head This commit looks good Details
2022-04-13 15:17:43 +02:00
Juan Ferrer 5a94525bd7 #3894 I18n fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-04-13 13:44:31 +02:00
Juan Ferrer 188181b114 #3894 Display minimal grouping, php8.1 compatibility fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2022-04-13 13:31:52 +02:00
Juan Ferrer 2fe78cfc0e php-zip module added
gitea/hedera-web/pipeline/head This commit looks good Details
2022-04-11 15:47:47 +02:00
Juan Ferrer 559e7c48a2 edi/update: FTP passive mode enabled
gitea/hedera-web/pipeline/head This commit looks good Details
2022-04-11 15:14:29 +02:00
Juan Ferrer b2535c5d38 MySQL rolePrefix fix
gitea/hedera-web/pipeline/head This commit looks good Details
2022-02-10 12:37:12 +01:00
Juan Ferrer 8522097950 Family icon renamed
gitea/hedera-web/pipeline/head This commit looks good Details
2021-11-17 09:01:18 +01:00
Juan Ferrer 89a2263adb Category icons updated
gitea/hedera-web/pipeline/head This commit looks good Details
2021-11-17 08:36:38 +01:00
Juan Ferrer b9ff616e0f Mail column renamed to receiver
gitea/hedera-web/pipeline/head This commit looks good Details
2021-10-08 13:18:01 +02:00
Juan Ferrer dbbaaa34b1 Jenkinsfile fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2021-09-27 14:34:15 +02:00
Juan Ferrer 90a464a77d Version increased
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2021-09-27 14:29:28 +02:00
Juan Ferrer 06f58f07ca Ceph mounts
gitea/hedera-web/pipeline/head There was a failure building this commit Details
2021-09-27 14:26:16 +02:00
Juan Ferrer 995dbc3585 Compose fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2021-04-30 00:30:45 +02:00
Juan Ferrer 52e295a393 Jenkins fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2021-04-30 00:20:36 +02:00
Juan Ferrer a014a40a12 docker deploy constraint worker
gitea/hedera-web/pipeline/head This commit looks good Details
2021-04-30 00:13:18 +02:00
Juan Ferrer 1530b571c0 Docker stack deploy
gitea/hedera-web/pipeline/head This commit looks good Details
2021-04-30 00:07:06 +02:00
Juan Ferrer 95aa622497 Connection limit tunned
gitea/hedera-web/pipeline/head This commit looks good Details
2021-04-26 14:05:52 +02:00
Juan Ferrer 6121973824 Connection limit increased
gitea/hedera-web/pipeline/head This commit looks good Details
2021-04-26 13:55:17 +02:00
Juan Ferrer 1430fc2a1a Connections limit increased
gitea/hedera-web/pipeline/head This commit looks good Details
2021-04-26 13:50:02 +02:00
Juan Ferrer 3c8bc545ec Connection limit, PVP for
gitea/hedera-web/pipeline/head This commit looks good Details
2021-04-26 13:42:42 +02:00
Juan Ferrer 25d5346f5d Grant execute to image trash clean script
gitea/hedera-web/pipeline/head This commit looks good Details
2021-04-02 18:05:04 +02:00
Juan Ferrer ff58f1f1c3 Image trash clean
gitea/hedera-web/pipeline/head This commit looks good Details
2021-04-02 18:02:42 +02:00
Juan Ferrer 7591bebe83 Dockerfile with force update of PHP lib
gitea/hedera-web/pipeline/head This commit looks good Details
2021-03-31 12:53:13 +02:00
Juan Ferrer 3008f4b87f Password recovery fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2021-03-31 12:33:30 +02:00
Juan Ferrer f9c8cd0e83 Password recovery fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2021-03-31 12:18:25 +02:00
Juan Ferrer 66875ce193 Column prefixed with table alias
gitea/hedera-web/pipeline/head This commit looks good Details
2021-02-12 10:56:12 +01:00
Juan Ferrer 6a040cd4d8 Date rendering fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2021-01-23 17:15:02 +01:00
Juan Ferrer b09e345e62 Htk.Calendar fix for invalid dates
gitea/hedera-web/pipeline/head This commit looks good Details
2021-01-22 20:07:52 +01:00
Juan Ferrer e53ed0d67a Icon path fix
gitea/hedera-web/pipeline/head This commit looks good Details
2021-01-15 16:02:44 +01:00
Juan Ferrer 87922964de Theme color
gitea/hedera-web/pipeline/head This commit looks good Details
2021-01-15 15:43:30 +01:00
Juan Ferrer 9e59d578b8 Sync fix, icon background
gitea/hedera-web/pipeline/head This commit looks good Details
2021-01-15 14:52:26 +01:00
Juan Ferrer 690218c16e Hotfix
gitea/hedera-web/pipeline/head This commit looks good Details
2020-10-23 13:00:40 +02:00
Juan Ferrer 846d7b9ec8 Thin family icons, ticket services, SQL refactor
gitea/hedera-web/pipeline/head This commit looks good Details
2020-10-23 12:10:41 +02:00
Juan Ferrer 65c02084d2 Catalog limit increased
gitea/hedera-web/pipeline/head This commit looks good Details
2020-09-26 13:34:05 +02:00
Juan Ferrer 3e26e49b86 Image sync method fixes.
gitea/hedera-web/pipeline/head This commit looks good Details
2020-08-29 14:35:19 +02:00
Juan Ferrer a07842e899 Image sync method fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2020-08-29 13:59:28 +02:00
Juan Ferrer 989730a905 Image sync script fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2020-08-29 13:54:38 +02:00
Juan Ferrer 079e9266f1 Image sync method fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2020-08-29 13:48:32 +02:00
Juan Ferrer 6c59b72023 Compose fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2020-08-29 13:12:40 +02:00
Juan Ferrer 7a46fc0bbc Image synchronization script optimized
gitea/hedera-web/pipeline/head This commit looks good Details
2020-08-29 13:06:54 +02:00
Juan Ferrer 1c6d346f51 Catalog field order fixed
gitea/hedera-web/pipeline/head This commit looks good Details
2020-08-13 10:21:59 +02:00
Juan Ferrer 13c29b641f Catalog record limit increased
gitea/hedera-web/pipeline/head This commit looks good Details
2020-07-30 10:14:39 +02:00
Juan Ferrer fa2107befb Month translation fixed
gitea/hedera-web/pipeline/head This commit looks good Details
2020-07-03 14:03:57 +02:00
Juan Ferrer d543e64851 edi/update fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2020-06-30 16:52:42 +02:00
Juan Ferrer c8c629cdf8 edi/update fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2020-06-30 16:47:44 +02:00
Juan Ferrer d72ab8cefe Precio hasta
gitea/hedera-web/pipeline/head This commit looks good Details
2020-06-17 12:01:58 +02:00
Juan Ferrer 4886f4cd96 Responsive login
gitea/hedera-web/pipeline/head This commit looks good Details
2020-05-05 18:08:59 +02:00
Juan Ferrer d740c92efc Fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2020-05-05 11:17:26 +02:00
Juan Ferrer 2ad9675dd7 Visit cookie samesite
gitea/hedera-web/pipeline/head This commit looks good Details
2020-05-05 11:05:50 +02:00
Juan Ferrer 46e6a838f0 console.log removed
gitea/hedera-web/pipeline/head This commit looks good Details
2020-05-04 23:07:21 +02:00
Juan Ferrer 8ad20d23e3 Locale fixes
gitea/hedera-web/pipeline/head Something is wrong with the build of this commit Details
2020-05-04 23:05:52 +02:00
Juan Ferrer 8e916d376a Fixed duplicated dialog response
gitea/hedera-web/pipeline/head This commit looks good Details
2020-05-04 22:47:02 +02:00
Juan Ferrer 54966582b5 Timezone fixes
gitea/hedera-web/pipeline/head This commit looks good Details
2020-05-04 21:55:18 +02:00
Juan Ferrer 7219962f0c Improved timezone handling
gitea/hedera-web/pipeline/head This commit looks good Details
2020-05-03 22:35:24 +02:00
Juan Ferrer 4733185e9f Display visible agencies
gitea/hedera-web/pipeline/head This commit looks good Details
2020-04-11 13:37:03 +02:00
Juan Ferrer 0f2db56f1c Procedure call renamed
gitea/hedera-web/master This commit looks good Details
2020-02-12 08:24:32 +01:00
Juan Ferrer bc4000f135 PHP notice fixed
gitea/hedera-web/master This commit looks good Details
2020-02-07 15:00:59 +01:00
Juan Ferrer 4863ff83ba Old code removed: Docker port, Jenkins config
gitea/hedera-web/master This commit looks good Details
2020-01-29 14:02:50 +01:00
Juan Ferrer 6322c44e14 Compose service renamed
gitea/hedera-web/master This commit looks good Details
2020-01-28 14:59:59 +01:00
Juan Ferrer 0db18864a4 Storage mountpoint
gitea/hedera-web/master This commit looks good Details
2020-01-23 15:03:28 +01:00
Juan Ferrer c4ad0d77e0 access version fixes
gitea/hedera-web/master This commit looks good Details
2020-01-23 14:50:35 +01:00
Juan Ferrer 5a8b0447dd access-version fixes
gitea/hedera-web/master This commit looks good Details
2020-01-23 14:28:12 +01:00
Juan Ferrer 54dd5a21cf PHPMailer fixes
gitea/hedera-web/master This commit looks good Details
2020-01-23 14:05:58 +01:00
Juan Ferrer d4fae5b077 access version chmod
gitea/hedera-web/master This commit looks good Details
2020-01-23 13:52:38 +01:00
Juan Ferrer cf1e1255bd PHP max file size
gitea/hedera-web/master This commit looks good Details
2020-01-23 13:18:55 +01:00
Juan Ferrer ada90236ee Statics served from CDN
gitea/hedera-web/master This commit looks good Details
2020-01-23 12:47:30 +01:00
Juan Ferrer d91a40de3e Browscap fixes
gitea/hedera-web/master This commit looks good Details
2020-01-23 08:32:18 +01:00
Juan Ferrer 5fa047214a Browscap
gitea/hedera-web/master This commit looks good Details
2020-01-23 08:25:10 +01:00
Juan Ferrer 955dce8cbf Compose fixes
gitea/hedera-web/master This commit looks good Details
2020-01-22 21:50:27 +01:00
Juan Ferrer 00e7348b9a Docker fixes
gitea/hedera-web/master This commit looks good Details
2020-01-22 21:48:37 +01:00
Juan Ferrer e0c2c58089 Deps fixed
gitea/hedera-web/master This commit looks good Details
2020-01-22 20:03:10 +01:00
Juan Ferrer 9595e9f21f postrm fixes
gitea/hedera-web/master This commit looks good Details
2020-01-22 19:54:32 +01:00
Juan Ferrer ad57c0d377 Dockerfile fixes
gitea/hedera-web/master There was a failure building this commit Details
2020-01-22 19:51:37 +01:00
Juan Ferrer b7ce16b034 Docker downgrade to stretch
gitea/hedera-web/master There was a failure building this commit Details
2020-01-22 19:47:14 +01:00
Juan Ferrer ed45e02a82 Dependencies fixed
gitea/hedera-web/master This commit looks good Details
2020-01-22 12:01:38 +01:00
Juan Ferrer 23c19f1486 dumb term removed
gitea/hedera-web/master This commit looks good Details
2020-01-22 11:46:09 +01:00
Juan Ferrer 976e06bcfd dumb TERM
gitea/hedera-web/master This commit looks good Details
2020-01-22 11:37:55 +01:00
Juan Ferrer 1cc2f76ffa Deps fixed
gitea/hedera-web/master This commit looks good Details
2020-01-22 11:30:11 +01:00
Juan Ferrer 9adc545f08 Dependency fixes
gitea/hedera-web/master There was a failure building this commit Details
2020-01-22 09:35:49 +01:00
Juan Ferrer 1fb65632c6 Image path fixes
gitea/hedera-web/master This commit looks good Details
2020-01-22 08:39:44 +01:00
Juan Ferrer be9a23caca Apache LDAP module enabled
gitea/hedera-web/master This commit looks good Details
2020-01-22 08:33:54 +01:00
Juan Ferrer fe21919a6e Compose fixes
gitea/hedera-web/master This commit looks good Details
2020-01-21 17:08:04 +01:00
Juan Ferrer de1b6a3998 Dependencies fixed
gitea/hedera-web/master This commit looks good Details
2020-01-21 17:03:41 +01:00
Juan Ferrer 2fdb66a55b Deploy fixes
gitea/hedera-web/master This commit looks good Details
2020-01-21 09:56:35 +01:00
Juan Ferrer ce0b782925 Debian postinst fixes
gitea/hedera-web/master This commit looks good Details
2020-01-21 09:41:19 +01:00
Juan Ferrer bd4ec0fead Debian postinst fixes
gitea/hedera-web/master There was a failure building this commit Details
2020-01-21 09:37:11 +01:00
Juan Ferrer cdf7b176b2 Compose fixes
gitea/hedera-web/master There was a failure building this commit Details
2020-01-21 09:32:19 +01:00
Juan Ferrer 9082a7ede9 Jenkinsfile fixes
gitea/hedera-web/master There was a failure building this commit Details
2020-01-21 09:30:18 +01:00
Juan Ferrer c9400f2fca Version increased
gitea/hedera-web/master There was a failure building this commit Details
2020-01-21 09:25:27 +01:00
Juan Ferrer c0e2578e3c Jenkinsfile fixes
gitea/hedera-web/master There was a failure building this commit Details
2020-01-21 09:01:05 +01:00
Juan Ferrer c9703bbeee Docker deployment
gitea/hedera-web/master There was a failure building this commit Details
2020-01-21 09:00:03 +01:00
Juan Ferrer 77a8787ad2 Version increased
gitea/hedera-web/master This commit looks good Details
2020-01-20 22:28:02 +01:00
Juan Ferrer 21a4aee8e4 Preparing docker deployment
gitea/hedera-web/master There was a failure building this commit Details
2020-01-20 22:26:15 +01:00
Juan Ferrer d01fb711b1 Jenkins deployment
gitea/hedera-web/master This commit looks good Details
2020-01-17 13:07:01 +01:00
Juan Ferrer 6fceb2cf69 French translations fixed 2020-01-14 09:58:45 +01:00
Juan Ferrer 2cd2368eee French translations updated 2020-01-09 13:59:56 +01:00
Juan Ferrer 4ba69cf2da edi/update fixes, guest redirected to cms/home 2020-01-08 11:52:29 +01:00
Juan Ferrer 28db4da4f8 Link to french registration form 2019-11-19 09:22:51 +01:00
Juan Ferrer e1ed50b139 Login & order checkout user error logging improved, recover password translation fixes 2019-10-29 14:02:09 +01:00
Juan Ferrer 4d7d35cb84 Fruits logo, priceKg added 2019-09-16 10:09:41 +02:00
Juan Ferrer a23725b815 Version increased 2019-09-13 13:16:16 +02:00
Juan Ferrer 1029660760 Shelves width fixed 2019-09-13 13:11:15 +02:00
Juan Ferrer 0477449c46 cluster renamed to storage 2019-09-10 12:00:56 +02:00
Juan Ferrer 6cb13727a7 _onFormLoad does nothing if gui is not ready 2019-09-06 14:54:50 +02:00
Juan Ferrer 5fc168987d Javascript logging enabled only in debug mode 2019-09-06 11:22:34 +02:00
Juan Ferrer ccfbdbd9f5 PHP 7.3 upgrade, bugs fixed, improved JS log 2019-09-05 18:16:10 +02:00
Juan Ferrer d04ba0695a Added LDAP objectClass: posixAccount 2019-08-07 14:36:20 +02:00
Juan Ferrer 5102571b5f myInvoice.pdf renamed to hasPdf 2019-08-02 12:48:41 +02:00
Juan Ferrer 90161d1014 Image upload fixes 2019-07-23 14:20:19 +02:00
Juan Ferrer 7329310f1f Visits SQL FK refactor 2019-07-15 13:57:34 +02:00
Juan Ferrer 1bbe94385b Login bug fixed 2019-07-02 13:43:52 +02:00
Juan Ferrer 7673a21baf Password fixes 2019-07-02 11:42:39 +02:00
Juan Ferrer b1c5bb1b6a Password check fixes 2019-07-02 10:52:32 +02:00
Juan Ferrer 0b862f8a4e Bcrypt now is used for passwords 2019-07-02 10:48:14 +02:00
Juan Ferrer 235121a637 Ticket style fixes 2019-06-28 09:24:18 +02:00
Juan Ferrer 6e59fd8ea7 zone 2019-06-05 09:05:54 +02:00
Juan Ferrer 46f0420431 Password syncronization fixes 2019-06-04 14:14:48 +02:00
Juan Ferrer 55b5409624 SQL refactor 2019-05-28 16:27:28 +02:00
Juan Ferrer dc41737464 Image caching improved 2019-05-27 15:38:06 +02:00
Juan Ferrer fb422846dd Edi load fixes 2019-05-24 15:30:48 +02:00
Juan Ferrer 4f3b7efcb3 SQL refactor 2019-05-21 16:16:27 +02:00
Juan Ferrer 0882952dcf Browscap automatically updated plus fixes 2019-05-09 12:02:23 +02:00
Juan Ferrer 94590ac50a Mail translation fixes 2019-05-08 12:47:07 +02:00
Juan Ferrer 230eae9eda Notify errors to replyTo for automated emails 2019-05-07 17:06:40 +02:00
Juan Ferrer 3f0b762650 Category icon fixes 2019-04-18 10:03:35 +02:00
Juan Ferrer 76b6689f60 Type fixes 2019-04-16 16:39:35 +02:00
Juan Ferrer 45852245a1 Artificial type adjustments 2019-04-16 15:54:55 +02:00
Juan Ferrer 774a471f3d Icon fixes 2019-04-15 09:23:34 +02:00
Juan Ferrer 060abe371e New family icon 2019-04-15 09:17:28 +02:00
Juan Ferrer a374da6f9b Deploy logging improved 2019-03-28 17:29:44 +01:00
Juan Ferrer db1ac9d185 Term colors disabled for deploying 2019-03-28 17:14:14 +01:00
Juan Ferrer 72a97fa069 #10299 Catalog: Item card style fixes 2019-03-28 16:33:26 +01:00
Juan Ferrer 6f1b96cb4a #10134 #9819 Fixed 2019-03-13 09:57:18 +01:00
Juan Ferrer 95d9c6c4d5 SQL compatibility fixes with MySQL 8 2019-03-01 15:17:50 +01:00
Juan Ferrer 0a5aa8e6cd Catalog text overlap fixed, tpv return url fixed 2019-02-14 16:26:13 +01:00
Juan Ferrer 27ec20369e Style fixes 2019-02-12 17:21:19 +01:00
Juan Ferrer 4907e37b70 Pets family enabled 2019-02-12 16:40:17 +01:00
Juan Ferrer 8dc92c484c Image uploader fixes 2019-02-08 07:57:07 +01:00
Juan Ferrer 6ec94de7a3 #9663 Update items with matching id option when uploading image 2019-02-07 14:09:56 +01:00
Juan Ferrer 0ae35c2622 #9728 fixed, edi/load fails when mail has no message-ID 2019-02-06 16:50:07 +01:00
Juan Ferrer ae0973c16b #9702 fixed 2019-02-05 17:20:24 +01:00
Juan Ferrer c744e9286e WP assets fix 2019-02-05 14:18:38 +01:00
Juan Ferrer ec85573e39 Version increased 2019-02-05 14:13:37 +01:00
Juan Ferrer 233c9f624c #8750 fixed, npm update 2019-02-05 14:11:40 +01:00
Juan Ferrer b5c610daf4 putOrderFk added to EKTs 2019-02-05 11:22:20 +01:00
Juan 698cd9aeb8 Samba sync fixes 2018-10-03 17:10:52 +02:00
Juan 28146b08ef Default agency when none is available 2018-09-14 15:13:28 +02:00
Juan 8cc05e174e TPV mail cleaning bug fixed 2018-09-13 14:59:49 +02:00
Juan 38a6a7a3ac Addresses without province or country are now visible 2018-09-13 13:23:50 +02:00
Juan c77373e772 Maps API key 2018-08-31 08:14:47 +02:00
Juan 03dd6f94e4 Discount is now displayed 2018-08-30 15:26:05 +02:00
Juan 1ade47299a Bugs solved on images, server locale files rolled back to json 2018-08-24 15:20:18 +02:00
Juan 9394ca8c51 catalog: 3 tags shown in list view, up to 6 digits for available. 2018-08-24 13:17:34 +02:00
Juan bdc8d0c225 Text overlaping at catalog fixed 2018-07-23 17:30:18 +02:00
Juan acd0a0025e New longName/tags system, bigger images on zoom 2018-07-20 16:30:29 +02:00
Juan 1395532b6c Download disabled for unavailable invoice PDFs 2018-07-02 14:54:37 +02:00
Juan 81a31a8674 Landing and shipping date shown in tickets 2018-06-21 08:43:48 +02:00
Juan 562368e77d Version increased 2018-06-20 13:55:34 +02:00
Juan 04b34b5d31 Version increased 2018-06-20 13:49:49 +02:00
Juan c39604fbc1 Tags ordered by priority in item's file 2018-06-20 13:45:55 +02:00
Javi Gallego 3903d0f53b gitignore ignora el debug de php 2018-06-12 12:37:09 +02:00
Javi Gallego 78eed917b8 buy config.php sin hedera-web 2018-06-12 11:01:15 +02:00
Javi Gallego 6a8e5bb264 merge exchange-rate 2018-06-11 08:39:32 +02:00
Javi Gallego 96758a3abb merge exchange-rate 2018-06-11 08:35:24 +02:00
Juan 2382c70e16 Version increased 2018-06-06 13:33:30 +02:00
Juan 91dec387fa improved README, PHP linting, bugs fixed 2018-06-06 13:08:17 +02:00
Juan d19438bad1 PHP linting, bugs fixed 2018-05-23 13:09:55 +02:00
Juan a57498548f EDI update bugs solved, PHP linting 2018-05-23 12:14:20 +02:00
Juan 063d9b92e8 SQL refactor 2018-05-18 16:20:46 +02:00
Juan 7f2f0372b3 SQL refactor 2018-05-18 13:52:05 +02:00
Juan b56a12c341 Bugs at order confirm fixed 2018-05-17 14:08:43 +02:00
Juan 3ca7bb7688 Label & radio/checkbox issues fixed 2018-05-17 13:22:13 +02:00
Juan 177133b6c0 Account IBAN fixed 2018-05-17 12:09:29 +02:00
Juan f5f0904d85 Assitant improved 2018-05-17 10:52:27 +02:00
Juan 65791be9d5 Bug Db.Param.oneWay fixed 2018-05-16 17:21:15 +02:00
Juan 7b10868dea Bugs fixed 2018-05-16 12:01:31 +02:00
Juan fdceb1cb0e Uglify bugs fixed 2018-05-16 11:50:04 +02:00
Juan 0376674081 Order configuration assistant now it's clearer 2018-05-16 11:36:42 +02:00
Juan a4d3f323c3 SQL refactor 2018-05-11 16:50:43 +02:00
Juan 87237ed366 SQL lowerCase refactor 2018-05-11 11:25:10 +02:00
Juan 2f1c31fa74 Dependencies fixed 2018-05-08 17:02:26 +02:00
Juan 283c534980 Version 2018-05-05 18:27:50 +02:00
Juan bbf691764c Apache multiviews disabled due to bad nfs performance 2018-05-04 22:46:09 +02:00
Juan e344f6ac34 Deploy test 2018-05-02 10:21:08 +02:00
Juan 01328996cf Deploy test 2018-05-02 08:44:27 +02:00
Juan df56173dd7 Bugs fixed 2018-04-21 15:13:05 +02:00
Juan ba802341db Bug when changing image name solved 2018-04-09 14:43:21 +02:00
Juan 9cddde8d8f Tags stable 2018-04-03 11:31:51 +02:00
Juan 0313b8729f Tags disaplayed in tickets and orders 2018-03-27 17:26:17 +02:00
Juan 3b14d419d6 Tags beta v2 2018-03-27 16:35:53 +02:00
Juan 73b2750b8a Tags beta, local config.php, removed MySQL cleartext plugin due to php7 lack of support 2018-03-26 18:35:02 +02:00
Juan fadc5505ad Style fixes 2018-03-07 12:29:53 +01:00
Juan 80b295f467 Style fix 2018-03-07 12:17:00 +01:00
Juan 21d3eda413 Style fixes 2018-03-07 11:52:38 +01:00
Juan 342f4ab82d Sign up URL updated, news & training style updated 2018-03-06 08:58:41 +01:00
651 changed files with 37924 additions and 21061 deletions

2
.dockerignore Normal file
View File

@ -0,0 +1,2 @@
debian
node_modules

View File

@ -9,3 +9,7 @@ rules:
no-console: 0
no-cond-assign: 0
no-unexpected-multiline: 0
brace-style: [error, 1tbs]
space-before-function-paren: [error, never]
padded-blocks: [error, never]
func-call-spacing: [error, never]

3
.gitignore vendored
View File

@ -1,2 +1,5 @@
node_modules
build/
config.my.php
.vscode/
.quasar

52
Dockerfile Normal file
View File

@ -0,0 +1,52 @@
# Not using buster because of bug: https://bugs.php.net/bug.php?id=78870
FROM debian:bookworm-slim
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
curl \
ca-certificates \
gnupg2
# Apache
RUN apt-get install -y --no-install-recommends \
apache2 \
libapache2-mod-php \
&& . /etc/apache2/envvars \
&& ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log" \
&& ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log" \
&& ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log"
RUN a2dissite 000-default
# NodeJs
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
&& apt-get install -y --no-install-recommends nodejs
# Hedera
RUN curl -sL https://apt.verdnatura.es/conf/verdnatura.gpg | apt-key add - \
&& echo "deb http://apt.verdnatura.es/ bookworm main" \
> /etc/apt/sources.list.d/vn.list \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
php-apcu \
php-image-text \
php-text-captcha \
php-zip \
hedera-web \
cron
ARG BUILD_ID=unknown
ARG VERSION
ENV VERSION $VERSION
RUN echo $VERSION
RUN apt-get update \
&& apt-get install -y php-vn-lib hedera-web=$VERSION \
&& rm -rf /var/lib/apt/lists/*
CMD ["apachectl", "-D", "FOREGROUND"]

102
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,102 @@
#!/usr/bin/env groovy
def BRANCH_ENV = [
test: 'test',
master: 'production'
]
def remote = [:]
node {
stage('Setup') {
env.NODE_ENV = BRANCH_ENV[env.BRANCH_NAME] ?: 'dev'
echo "NODE_NAME: ${env.NODE_NAME}"
echo "WORKSPACE: ${env.WORKSPACE}"
}
}
pipeline {
agent any
environment {
PROJECT_NAME = 'hedera-web'
}
stages {
stage('Debuild') {
when {
anyOf {
branch 'master'
branch 'test'
}
}
agent {
docker {
image 'registry.verdnatura.es/verdnatura/debuild:2.23.4-vn7'
registryUrl 'https://registry.verdnatura.es/'
registryCredentialsId 'docker-registry'
}
}
steps {
sh 'debuild -us -uc -b'
sh 'mkdir -p debuild'
sh 'mv ../hedera-web_* debuild'
script {
def files = findFiles(glob: 'debuild/*.changes')
files.each { file -> env.CHANGES_FILE = file.name }
}
configFileProvider([
configFile(fileId: "dput.cf", variable: 'DPUT_CONFIG')
]) {
sshagent(credentials: ['jenkins-agent']) {
sh 'dput --config "$DPUT_CONFIG" verdnatura "debuild/$CHANGES_FILE"'
}
}
}
}
stage('Deploy') {
when {
anyOf {
branch 'master'
branch 'test'
}
}
environment {
CREDS = credentials('docker-registry')
IMAGE = "$REGISTRY/verdnatura/hedera-web"
}
steps {
script {
def packageJson = readJSON file: 'package.json'
env.VERSION = "${packageJson.version}"
env.TAG = "${packageJson.version}-build${env.BUILD_ID}"
}
sh 'docker-compose build --build-arg BUILD_ID=$BUILD_ID --parallel'
sh 'docker login --username $CREDS_USR --password $CREDS_PSW $REGISTRY'
sh 'docker push $IMAGE:$TAG'
script {
if (env.BRANCH_NAME == 'master') {
sh 'docker tag $IMAGE:$TAG $IMAGE:latest'
sh 'docker push $IMAGE:latest'
}
}
withKubeConfig([
serverUrl: "$KUBERNETES_API",
credentialsId: 'kubernetes',
namespace: 'salix'
]) {
sh 'kubectl set image deployment/hedera-web-$BRANCH_NAME hedera-web-$BRANCH_NAME=$IMAGE:$TAG'
sh 'kubectl set image deployment/hedera-web-cron-$BRANCH_NAME hedera-web-cron-$BRANCH_NAME=$IMAGE:$TAG'
}
}
}
}
post {
unsuccessful {
setEnv()
sendEmail()
}
}
}

View File

@ -1,3 +1,58 @@
# Hedera
Hedera is the main page for Verdnatura.
Hedera is the main web shop page for Verdnatura.
## Prerequisites
Required applications.
* PHP >= 8.4
* Node.js >= 20.0
Take a look to *debian/control* file to see additional dependencies.
Copy config.php to *config.my.php* and place your DB config there.
### Installing dependencies and launching
Pull from repository.
Run this commands on project root directory to install Node dependencies.
```
$ npm install
```
Install project dependences (debian/control).
Pull from repository [php-vn-lib](https://gitea.verdnatura.es/verdnatura/php-vn-lib) and install [dependences](https://gitea.verdnatura.es/verdnatura/php-vn-lib/src/branch/master/debian/control) of this project.
Configure config.php file.
Launch project fronted.
```
$ npm run front
```
Launch salix backend.
```
$ npm run db
$ npm run back
```
Launch project backend.
```
$ php -S 127.0.0.1:3001 -t . index.php
```
### Command line
Run server side method from command line.
```
$ php hedera-web.php -m method_path
```
## Built with
* [nodejs](https://nodejs.org/)
* [php](https://www.php.net/)
* [Webpack](https://webpack.js.org/)
* [MooTools](https://mootools.net/)
* [TinyMCE](https://www.tinymce.com/)

View File

@ -1,14 +1,22 @@
# Alias /hedera-web /usr/share/hedera-web/
# Alias /image-db /var/lib/hedera-web/image-db/
<IfModule mod_mime.c>
AddType text/x-yaml .yml
</IfModule>
<IfModule mpm_prefork_module>
ServerLimit 30
MaxRequestWorkers 30
MaxRequestsPerChild 1000
</IfModule>
<VirtualHost *:80>
DocumentRoot /usr/share/hedera-web/
</VirtualHost>
<Directory /usr/share/hedera-web/>
Options -Indexes -FollowSymLinks
AllowOverride None
Require all granted
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
<FilesMatch "\.(css|js|json|yml|php|xml|html|svg)$">
SetOutputFilter DEFLATE
@ -20,9 +28,3 @@
</IfModule>
</FilesMatch>
</Directory>
<Directory /var/lib/hedera-web/image-db/>
Options Indexes FollowSymLinks MultiViews
AllowOverride FileInfo Options
Require all granted
</Directory>

84
app.js
View File

@ -1,71 +1,41 @@
__webpack_public_path__ = _PUBLIC_PATH;
var assetsPath;
import 'promise-polyfill/src/polyfill';
import 'hedera/hedera';
const locales = require('./import').locales;
const packageJson = require('./package.json');
if (_DEV_MODE)
{
var host = window.location.host.split(':')[0];
assetsPath = 'http://'+ host +':'+ _DEV_SERVER_PORT +'/'+ _PUBLIC_PATH;
}
else
assetsPath = _PUBLIC_PATH;
__webpack_public_path__ = assetsPath;
require ('hedera/hedera');
window.onload = function ()
{
loadLocale (main);
window.onload = function() {
loadLocale(main);
}
function main (req)
{
if (req)
onLocaleLoad (req);
hederaWeb = new Hedera.App ();
hederaWeb.run ();
function main() {
Vn.setVersion(packageJson.version);
const hederaWeb = new Hedera.App();
window.hederaWeb = hederaWeb;
hederaWeb.run();
}
function loadLocale (cb)
{
Vn.Locale.init ();
function loadLocale(callback) {
Vn.Locale.init();
var lang = Vn.Locale.language;
var req = require.context ('js', true, /locale\/en.yml$/);
onLocaleLoad (req);
var req = require.context('js', true, /locale\/en.yml$/);
onLocaleLoad(Vn.Locale.fallbackLang, req);
switch (lang)
{
case 'ca':
require ([], function () {
cb (require.context ('js', true, /locale\/ca.yml$/)); });
break;
case 'es':
require ([], function () {
cb (require.context ('js', true, /locale\/es.yml$/)); });
break;
case 'fr':
require ([], function () {
cb (require.context ('js', true, /locale\/fr.yml$/)); });
break;
case 'mn':
require ([], function () {
cb (require.context ('js', true, /locale\/mn.yml$/)); });
break;
case 'pt':
require ([], function () {
cb (require.context ('js', true, /locale\/pt.yml$/)); });
break;
default:
cb ();
}
const loadFn = locales[lang];
if (loadFn)
loadFn(function(req) {
onLocaleLoad(lang, req);
callback();
});
else
callback();
}
function onLocaleLoad (req)
{
var keys = req.keys ();
function onLocaleLoad(lang, req) {
var keys = req.keys();
for (var i = 0; i < keys.length; i++)
Vn.Locale.add (req (keys[i]));
Vn.Locale.add(req(keys[i]), lang);
}

View File

@ -12,18 +12,19 @@
*
* - http://www.mydomain.org -> config.www.php
* - http://test.mydomain.org -> config.test.php
*
* Put the password in base64.
*/
return [
/**
/**
* Database parameters.
**/
'db' => [
*/
'db' => [
'host' => 'localhost'
,'port' => 3306
,'schema' => 'hedera-web'
,'schema' => 'hedera'
,'user' => 'hedera-web'
,'pass' => ''
]
,'pass' => '' // base64 encoded
,'tz' => 'Europe/madrid'
]
];

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
hedera-web (1.405.78) stable; urgency=low
hedera-web (24.14.11) stable; urgency=low
* Initial Release.

2
debian/compat vendored
View File

@ -1 +1 @@
9
10

6
debian/control vendored
View File

@ -5,12 +5,12 @@ Build-Depends: build-essential, debhelper, nodejs
Standards-Version: 3.9.3
Section: misc
Homepage: https://verdnatura.es
Vcs-Git: https://git.verdnatura.es/hedera-web
Vcs-Git: https://gitea.verdnatura.es/verdnatura/hedera-web
Package: hedera-web
Architecture: all
Depends: apache2 | httpd, nodejs, php5-cli, php5-mysql, php5-mcrypt, php5-ldap, php5-ssh2, php-vn-lib
Suggests: php-text-captcha, php5-imap, tinymce
Depends: apache2 | httpd, nodejs, php-cli, php-vn-lib, php-apcu, php-imap, php-soap, libphp-phpmailer, php-gd, php-pear
Suggests: php-image-text, php-text-captcha, php-zip, cron
Section: misc
Priority: optional
Description: Verdnatura's web page

2
debian/copyright vendored
View File

@ -1,6 +1,6 @@
Format: http://dep.debian.net/deps/dep5
Name: hedera-web
Source: git://www.verdnatura.es/var/git/hedera-web
Source: https://gitea.verdnatura.es/verdnatura/hedera-web
Files: *
Copyright: 2011-2015 Juan Ferrer Toribio <juan@verdnatura.es>

7
debian/cron.d vendored
View File

@ -1,7 +1,8 @@
MAILTO=webmaster
*/4 * * * * root hedera-web.php -m tpv/confirm-mail
*/1 * * * * root hedera-web.php -m misc/mail
*/2 * * * * root hedera-web.php -m edi/load
0 23 * * * root hedera-web.php -m edi/clean
0 5 * * * root hedera-web.php -m edi/update
*/1 * * * * root hedera-web.php -m misc/mail
0 5 * * * root hedera-web.php -m misc/exchange-rate
0 0 * * * root hedera-web.php -m image/sync
0 1 * * * root /usr/share/hedera-web/utils/image-clean.sh > /dev/null
0 */1 * * * root /usr/share/hedera-web/utils/update-browscap.sh > /dev/null

6
debian/install vendored
View File

@ -1,4 +1,6 @@
conf/* etc/hedera-web
apache.conf etc/hedera-web
config.php etc/hedera-web
php.ini etc/hedera-web
web usr/share/php/vn
doc/* usr/share/doc/hedera-web
hedera-web.php usr/share/hedera-web
@ -8,8 +10,10 @@ js usr/share/hedera-web
pages usr/share/hedera-web
reports usr/share/hedera-web
rest usr/share/hedera-web
utils usr/share/hedera-web
index.php usr/share/hedera-web
package.json usr/share/hedera-web
build usr/share/hedera-web
README.md usr/share/hedera-web
webpack.config.json usr/share/hedera-web
build-deps/node_modules usr/share/hedera-web

3
debian/links vendored
View File

@ -1,2 +1,3 @@
etc/hedera-web/apache.conf etc/apache2/conf-available/hedera-web.conf
usr/share/hedera-web/hedera-web.php usr/bin/hedera-web.php
etc/hedera-web/apache.conf etc/apache2/conf-available/hedera-web.conf
etc/hedera-web/php.ini etc/php/8.2/apache2/conf.d/99-hedera-web.ini

9
debian/postinst vendored
View File

@ -2,14 +2,15 @@
set -e
(cd /usr/share/hedera-web && npm install --production)
/usr/share/hedera-web/utils/update-browscap.sh > /dev/null
if [ -e /usr/share/apache2/apache2-maintscript-helper ]
then
. /usr/share/apache2/apache2-maintscript-helper
apache2_invoke enmod rewrite
apache2_invoke enmod headers
apache2_invoke enconf hedera-web.conf
fi
service php5-fpm restart
service cron restart
#service php7.3-fpm restart
#service cron restart

4
debian/postrm vendored
View File

@ -8,5 +8,5 @@ then
apache2_invoke disconf hedera-web.conf
fi
rm -rf /usr/share/hedera-web/node_modules
service cron restart
#rm -rf /usr/share/hedera-web/node_modules
#service cron restart

8
debian/rules vendored
View File

@ -6,9 +6,13 @@
dh $@
clean:
npm --production run clean
npm run clean
dh_clean $@
build:
npm --production run build
npm install --no-audit --prefer-offline
npm --omit=dev run build
mkdir -p build-deps
cp package.json package-lock.json build-deps
(cd build-deps && npm install --omit=dev --no-audit --prefer-offline)

1
debian/source.lintian-overrides vendored Normal file
View File

@ -0,0 +1 @@
hedera-web: package-contains-npm-ignore-file

9
docker-compose.yml Normal file
View File

@ -0,0 +1,9 @@
version: '3.7'
services:
main:
image: registry.verdnatura.es/verdnatura/hedera-web:${TAG:?}
build:
context: .
dockerfile: Dockerfile
args:
- VERSION=${VERSION:?}

View File

@ -2,12 +2,11 @@
require_once __DIR__.'/../php-vn-lib/env.php';
set_include_path (__DIR__.PATH_SEPARATOR.get_include_path ());
set_include_path(__DIR__.PATH_SEPARATOR.get_include_path());
$vnAutoloadMap['vn/web'] = __DIR__.'/web';
const _ENABLE_DEBUG = TRUE;
const _DEV_MODE = TRUE;
const _CONFIG_DIR = __DIR__.'/../../.config';
const _LOG_DIR = '/tmp';
const _DATA_DIR = '/tmp';

View File

@ -1,42 +0,0 @@
Hedera.AddressList = new Class
({
Extends: Hedera.Form
,activate: function ()
{
this.$('user-model').setInfo ('c', 'myClient', 'hedera');
this.$('addresses').setInfo ('a', 'myAddress', 'hedera');
}
,onAddAddressClick: function ()
{
this.hash.set ({
form: 'account/address',
address: 0
});
}
,onReturnClick: function ()
{
window.history.back();
}
,onRemoveAddressClick: function (button, form)
{
if (confirm (_('AreYouSureDeleteAddress')))
{
form.set ('isActive', false);
form.refresh ();
}
}
,onEditAddressClick: function (button, form)
{
this.hash.set ({
form: 'account/address',
address: form.get ('id')
});
}
});

View File

@ -0,0 +1,43 @@
import './style.scss';
export default new Class({
Extends: Hedera.Form,
Template: require('./ui.xml')
,activate() {
this.$.userModel.setInfo('c', 'myClient', 'hedera');
this.$.addresses.setInfo('a', 'myAddress', 'hedera');
}
,onAddAddressClick() {
this.hash.setAll({
form: 'account/address',
address: 0
});
}
,onReturnClick() {
window.history.back();
}
,onSetDefaultClick(event, addressId) {
if (event.defaultPrevented) return;
this.$.defaultAddress.value = addressId;
Htk.Toast.showMessage(_('DefaultAddressModified'));
}
,async onRemoveAddressClick(form) {
if (confirm(_('AreYouSureDeleteAddress'))) {
await form.set('isActive', false);
await form.refresh();
}
}
,onEditAddressClick(address) {
this.hash.setAll({
form: 'account/address',
address
});
}
});

View File

@ -1,7 +1,8 @@
Addresses: Direccions
Addresses: Adreces
Return: Tornar
AddAddress: Afegir adreça
SetAsDefault: Establir com per defecte
RemoveAddress: Esborrar direcció
EditAddress: Modificar direcció
AreYouSureDeleteAddress: Estàs segur de que vols eliminar la direcció?
DefaultAddressModified: Adreça per defecte modificada

View File

@ -5,3 +5,4 @@ SetAsDefault: Set as default
RemoveAddress: Remove address
EditAddress: Edit address
AreYouSureDeleteAddress: Are you sure you want to delete the address?
DefaultAddressModified: Default address modified

View File

@ -5,3 +5,4 @@ SetAsDefault: Establecer como predeterminada
RemoveAddress: Borrar dirección
EditAddress: Modificar dirección
AreYouSureDeleteAddress: ¿Estás seguro de que quieres borrar la dirección?
DefaultAddressModified: Dirección por defecto modificada

View File

@ -5,3 +5,4 @@ SetAsDefault: Définir par défaut
RemoveAddress: Supprimer l'adresse
EditAddress: Changement d'adresse
AreYouSureDeleteAddress: Souhaitez-vous vraiment supprier l'adresse?
DefaultAddressModified: Adresse par défaut modifiée

View File

@ -5,3 +5,4 @@ SetAsDefault: Selecionar como pre-determinado
RemoveAddress: Eliminar Morada
EditAddress: Modificar Morada
AreYouSureDeleteAddress: Tens certeza que queres eliminar esta morada?
DefaultAddressModified: Endereço padrão modificado

View File

@ -1,48 +0,0 @@
.address-list
{
padding: 1em;
}
.address-list .box
{
max-width: 30em;
}
.address-list .form
{
margin: 0 auto;
max-width: 25em;
padding: 2em;
}
.address
{
padding: 1em;
border-bottom: 1px solid #DDD;
}
.address p
{
margin: 0.2em 0;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.address p.important
{
font-size: 1.2em;
}
.address .actions
{
float: right;
}
.address .actions > .htk-button
{
margin: 0;
}
.address .actions > *
{
display: inline-block;
vertical-align: middle;
}
.address .actions > input
{
margin: .6em;
}

View File

@ -0,0 +1,6 @@
hedera-address-list {
.htk-list .side {
padding-right: 16px;
}
}

View File

@ -2,21 +2,16 @@
<vn-group>
<db-form id="user-form">
<db-model property="model" id="user-model" updatable="true">
<custom>
SELECT id, defaultAddressFk
FROM myClient c
</custom>
</db-model>
</db-form>
<db-model id="addresses" updatable="true">
<custom>
SELECT a.id, a.nickname, p.name province, a.postalCode,
a.city, a.street, a.isActive, c.country
a.city, a.street, a.isActive
FROM myAddress a
LEFT JOIN vn.province p ON p.id = a.provinceFk
JOIN vn.country c ON c.id = p.countryFk
WHERE a.isActive
</custom>
</db-model>
</vn-group>
<div id="title">
@ -26,47 +21,48 @@
<htk-bar-button
icon="add"
tip="_AddAddress"
on-click="onAddAddressClick"/>
on-click="this.onAddAddressClick()"/>
</div>
<div id="form" class="address-list">
<div class="box">
<div id="form" class="hedera-address-list">
<div class="box vn-w-sm">
<htk-radio-group
id="default-address"
column="defaultAddressFk"
form="user-form"/>
<htk-repeater model="addresses" form-id="iter">
<htk-repeater model="addresses" form-id="address" class="htk-list">
<custom>
<div class="address">
<div class="actions">
<div class="item clickable" on-click="this.onSetDefaultClick($event, address.id)">
<div class="side">
<htk-radio
form="iter"
column="id"
radio-group="default-address"
tip="_SetAsDefault"/>
<htk-button
form="iter"
column="id"
tip="_RemoveAddress"
icon="delete"
on-click="onRemoveAddressClick"/>
<htk-button
form="iter"
column="id"
tip="_EditAddress"
icon="edit"
on-click="onEditAddressClick"/>
val="{{address.id}}"
tip="_SetAsDefault"
name="test"/>
</div>
<div class="content">
<p class="important">
<htk-text form="iter" column="nickname"/>
{{address.nickname}}
</p>
<p>
<htk-text form="iter" column="street"/>
{{address.street}}
</p>
<p>
<htk-text form="iter" column="postalCode"/>,
<htk-text form="iter" column="city"/>
{{address.postalCode}}, {{address.city}}
</p>
</div>
<div
class="actions"
on-click="$event.preventDefault()">
<htk-button
icon="delete"
tip="_RemoveAddress"
on-click="this.onRemoveAddressClick($iter)"/>
<htk-button
icon="edit"
tip="_EditAddress"
on-click="this.onEditAddressClick(address.id)"/>
</div>
</div>
</custom>
</htk-repeater>
</div>

View File

@ -1,35 +0,0 @@
Hedera.Address = new Class
({
Extends: Hedera.Form
,activate: function ()
{
this.$('model').setInfo ('a', 'myAddress', 'hedera', ['id'], 'id');
this.$('model').setDefault ('clientFk', 'a',
new Sql.Function ({schema: 'account', name: 'userGetId'}));
}
,onStatusChange: function (form)
{
if (form.ready && this.$('address').value == 0)
form.insertRow ();
}
,onOperationsDone: function ()
{
Htk.Toast.showMessage (_('AddressChangedSuccessfully'));
this.onReturnClick ();
}
,onAcceptClick: function ()
{
this.$('iter').performOperations ();
}
,onReturnClick: function ()
{
window.history.back();
}
});

View File

@ -0,0 +1,20 @@
export default new Class({
Extends: Hedera.Form,
Template: require('./ui.xml'),
activate() {
this.$.model.setInfo('a', 'myAddress', 'hedera', ['id'], 'id');
this.$.model.setDefault('clientFk', 'a',
new Sql.Function({schema: 'account', name: 'myUser_getId'}));
},
onStatusChange() {
if (this.$.iter.ready && this.hash.$.address == 0)
this.$.iter.insertRow();
},
onOperationsDone() {
Htk.Toast.showMessage(_('AddressChangedSuccessfully'));
window.history.back()
}
});

View File

@ -1,16 +0,0 @@
.address
{
padding: 1em;
}
.address .box
{
max-width: 30em;
padding: 2em;
}
.address .form
{
margin: 0 auto;
max-width: 25em;
}

View File

@ -1,97 +1,87 @@
<vn>
<vn-group>
<vn-param id="address"/>
<vn-hash-param key="address" param="address"/>
<db-form id="iter" on-status-changed="onStatusChange">
<vn-lot-query id="params">
<vn-spec name="address" type="Number"/>
</vn-lot-query>
<db-form id="iter" on-status-changed="this.onStatusChange()">
<db-model
id="model"
property="model"
updatable="true"
mode="ON_DEMAND"
on-operations-done="onOperationsDone">
<custom>
lot="params"
on-operations-done="this.onOperationsDone()">
SELECT a.id, a.street, a.nickname, a.city,
a.postalCode, a.provinceFk, c.id countryFk
a.postalCode, a.provinceFk, p.countryFk
FROM myAddress a
LEFT JOIN vn.province p ON p.id = a.provinceFk
JOIN vn.country c ON c.id = p.countryFk
WHERE a.id = #address
</custom>
<sql-batch property="batch">
<custom>
<item name="address" param="address"/>
</custom>
</sql-batch>
</db-model>
</db-form>
</vn-group>
<div id="title">
<h1><t>AddEditAddress</t></h1>
<h1><t>Configuration</t></h1>
</div>
<div id="actions">
<htk-bar-button
icon="ok"
tip="_Accept"
on-click="onAcceptClick"/>
<htk-bar-button
icon="close"
tip="_Return"
on-click="onReturnClick"/>
on-click="window.history.back()"/>
<htk-bar-button
icon="check"
tip="_Accept"
on-click="iter.performOperations()"/>
</div>
<div id="form" class="address">
<div class="box">
<div class="form">
<div id="form" class="hedera-address">
<div class="form box vn-w-sm vn-pa-lg">
<h5 class="vn-mb-md">
<t>AddEditAddress</t>
</h5>
<div class="form-group">
<label><t>Name</t></label>
<htk-entry column="nickname" form="iter"/>
<htk-entry
placeholder="_Name"
form="iter" column="nickname"/>
</div>
<div class="form-group">
<label><t>Address</t></label>
<htk-entry column="street" form="iter"/>
<htk-entry
placeholder="_Address"
form="iter" column="street"/>
</div>
<div class="form-group">
<label><t>City</t></label>
<htk-entry column="city" form="iter"/>
<htk-entry
placeholder="_City"
form="iter" column="city"/>
</div>
<div class="form-group">
<label><t>ZipCode</t></label>
<htk-entry column="postalCode" form="iter"/>
<htk-entry
placeholder="_ZipCode"
form="iter" column="postalCode"/>
</div>
<div class="form-group">
<label><t>Country</t></label>
<htk-combo>
<db-param
<htk-combo
placeholder="_Country"
form="iter" column="countryFk"
id="country"
property="param"
form="iter"
column="countryFk"
one-way="true"/>
one-way="true"
one-time="true">
<db-model property="model">
<custom>
SELECT id, country FROM vn.country
ORDER BY country
</custom>
SELECT id, name FROM vn.country
ORDER BY name
</db-model>
</htk-combo>
</div>
<div class="form-group">
<label><t>Province</t></label>
<htk-combo column="provinceFk" form="iter">
<db-model property="model">
<custom>
<htk-combo
placeholder="_Province"
column="provinceFk"
form="iter">
<db-model property="model" lot="country">
SELECT id, name FROM vn.province
WHERE countryFk = #country
WHERE countryFk = #id
ORDER BY name
</custom>
<sql-batch property="batch">
<custom>
<item name="country" param="country"/>
</custom>
</sql-batch>
</db-model>
</htk-combo>
</div>
</div>
</div>
</div>
</vn>

View File

@ -1,77 +0,0 @@
Hedera.Conf = new Class
({
Extends: Hedera.Form
,activate: function ()
{
this.$('user-model').setInfo ('c', 'myClient', 'hedera');
}
,onPassChangeClick: function ()
{
this.$('old-password').value = '';
this.$('new-password').value = '';
this.$('repeat-password').value = '';
var recoverPass = this.$('user-form').get ('recoverPass');
this.$('old-password').style.display = recoverPass ? 'none' : 'block';
this.$('change-password').show ();
if (recoverPass)
this.$('new-password').focus ();
else
this.$('old-password').focus ();
}
,onPassModifyClick: function ()
{
try {
var oldPassword = this.$('old-password').value;
var newPassword = this.$('new-password').value;
var repeatedPassword = this.$('repeat-password').value;
if (newPassword == '' && repeatedPassword == '')
throw new Error (_('Passwords empty'));
if (newPassword !== repeatedPassword)
throw new Error (_('Passwords doesn\'t match'));
var params = {
oldPassword: oldPassword,
newPassword: newPassword
};
this.conn.send ('core/change-password', params,
this._onPassChange.bind (this));
}
catch (e)
{
Htk.Toast.showError (e.message);
}
}
,_onPassChange: function (json, error)
{
if (json)
{
this.$('change-password').hide ();
Htk.Toast.showMessage (_('Password changed!'));
this.$('user-form').refresh ();
}
else
{
Htk.Toast.showError (error.message);
this.$('old-password').select ();
}
}
,onPassInfoClick: function ()
{
this.$('password-info').show ();
}
,onAddressesClick: function ()
{
this.hash.set ({form: 'account/address-list'});
}
});

View File

@ -0,0 +1,13 @@
import './style.scss';
export default new Class({
Extends: Hedera.Form,
Template: require('./ui.xml'),
activate() {
this.$.userModel.setInfo('c', 'myClient', 'hedera');
this.$.userModel.setInfo('u', 'myUser', 'account');
this.$.changePassword.conn = this.conn
this.$.changePassword.user = this.gui.user
}
});

View File

@ -1,4 +1,5 @@
Configuration: Configuració
Personal information: Dades personals
Username: Nom d'usuari
Password: Contrasenya
Email: Correu electrònic
@ -9,7 +10,7 @@ Receive invoices by email: Rebre factures per correu electrònic
Old password: Contrasenya antiga
New password: Nova contrasenya
Repeat password: Repetir contrasenya
Info: Info
Requirements: Requisits
Modify: Modificar
Password requirements: Requisits de contrasenya
characters long: caràcters de longitud

View File

@ -1,4 +1,5 @@
Configuration: Configuration
Personal information: Personal information
Username: Username
Password: Password
Email: Email
@ -9,7 +10,7 @@ Receive invoices by email: Receive invoices by email
Old password: Old password
New password: New password
Repeat password: Repeat password
Info: Info
Requirements: Requirements
Modify: Modify
Password requirements: Password requirements
characters long: characters long

View File

@ -1,4 +1,5 @@
Configuration: Configuración
Personal information: Datos personales
Username: Nombre de usuario
Password: Contraseña
Email: Correo electrónico
@ -9,7 +10,7 @@ Receive invoices by email: Recibir facturas por correo electrónico
Old password: Contaseña antigua
New password: Nueva contraseña
Repeat password: Repetir contraseña
Info: Info
Requirements: Requisitos
Modify: Modificar
Password requirements: Requisitos de constraseña
characters long: carácteres de longitud

View File

@ -1,4 +1,5 @@
Configuration: Configuration
Personal information: Informations personnelles
Username: Utilisateur
Password: Mot de passe
Email: Courriel
@ -9,7 +10,7 @@ Receive invoices by email: Recevoir des factures par e-mail
Old password: Ancien mot de passe
New password: Nouveau mot de passe
Repeat password: Répéter le mot de passe
Info: Info
Requirements: Exigences
Modify: Modifier
Password requirements: Mot de passe exigences
characters long: Longs caractères

View File

@ -1,25 +1,26 @@
Configuration: Configuração
Personal information: Dados pessoais
Username: Nome de usuario
Password: Palavra-Passe
Password: Palavra-passe
Email: E-Mail
Display name: Nome para mostrar
Language: Idioma
Billing: Facturação
Receive invoices by email: Receber facturas por e-mail
Old password: Palavra-Passe antiga
New password: Nova Palavra-Passe
Repeat password: Repetir Palavra-Passe
Info: Info
Old password: Palavra-passe antiga
New password: Nova Palavra-passe
Repeat password: Repetir Palavra-passe
Requirements: Requisitos
Modify: Modificar
Password requirements: Requisitos de Palavra-Passe
Password requirements: Requisitos de Palavra-passe
characters long: caracteres
alphabetic characters: caracteres alfabéticos
capital letters: letras maiúsculas
digits: dígitos
symbols: 'símbolos. Ej: $%&.'
Password changed!: Palavra-Passe Modificada!
Password doesn't meet the requirements: Palavra-Passe não atende aos requisitos
Password changed!: Palavra-passe Modificada!
Password doesn't meet the requirements: Palavra-passe não atende aos requisitos
Passwords doesn't match: As Palavras-Passe não coincidem!
Passwords empty: Palavra-Passe vazia
Passwords empty: Palavra-passe vazia
Addresses: Moradas
Change password: Mudar Palavra-Passe
Change password: Mudar Palavra-passe

View File

@ -1,33 +0,0 @@
.conf
{
padding: 1em;
}
.conf .box
{
max-width: 30em;
padding: 2em;
}
.conf .form
{
margin: 0 auto;
max-width: 25em;
}
.conf .form-group input[type=password]
{
margin-bottom: 0.5em;
}
.pass-change
{
max-width: 15em;
}
.pass-info
{
width: 15em;
}
.pass-info ul
{
list-style-type: none;
}

View File

@ -0,0 +1,4 @@
.pass-info ul {
list-style-type: none;
}

View File

@ -1,22 +1,12 @@
<vn>
<vn-group>
<db-form id="password-form">
<db-model property="model">
<custom>
SELECT length, nAlpha, nUpper, nDigits, nPunct
FROM account.userPassword
</custom>
</db-model>
</db-form>
<db-form id="user-form">
<db-model property="model" id="user-model" updatable="true">
<custom>
SELECT u.id, u.name, u.email, u.recoverPass,
u.nickname, u.lang, c.isToBeMailed, c.id clientFk
FROM account.userView u
SELECT u.id, u.name, u.email, u.nickname,
u.lang, c.isToBeMailed, c.id clientFk
FROM account.myUser u
LEFT JOIN myClient c
ON u.id = c.id
</custom>
</db-model>
</db-form>
</vn-group>
@ -27,30 +17,42 @@
<htk-bar-button
icon="place"
tip="_Addresses"
on-click="onAddressesClick"/>
on-click="hash.setAll({form: 'account/address-list'})"/>
<htk-bar-button
icon="preferences"
icon="lock_reset"
tip="_Change password"
on-click="onPassChangeClick"/>
on-click="this.$.changePassword.open()"/>
</div>
<div id="form" class="conf">
<div class="box">
<div class="form">
<div class="form box vn-w-sm vn-pa-lg">
<h5 class="vn-mb-md">
<t>Personal information</t>
</h5>
<div class="form-group">
<label for="user-name"><t>Username</t></label>
<htk-text form="user-form" column="name"/>
<htk-entry
placeholder="_Username"
disabled="true"
form="user-form"
column="name"/>
</div>
<div class="form-group">
<label for="email"><t>Email</t></label>
<htk-entry form="user-form" column="email"></htk-entry>
<htk-entry
placeholder="_Email"
form="user-form"
column="email">
</htk-entry>
</div>
<div class="form-group">
<label for="nickname"><t>Display name</t></label>
<htk-entry form="user-form" column="nickname"/>
<htk-entry
placeholder="_Display name"
form="user-form"
column="nickname"/>
</div>
<div class="form-group">
<label for="lang"><t>Language</t></label>
<htk-combo form="user-form" column="lang">
<htk-combo
placeholder="_Language"
form="user-form"
column="lang">
<db-model property="model">
<custom>
SELECT code, name FROM language WHERE isActive
@ -59,70 +61,12 @@
</htk-combo>
</div>
<div class="form-group">
<label for="mail"><t>Receive invoices by email</t></label>
<label>
<htk-check form="user-form" column="isToBeMailed"/>
</div>
<t>Receive invoices by email</t>
</label>
</div>
</div>
</div>
<htk-popup
id="change-password"
modal="true">
<div property="child-node" class="htk-dialog pass-change">
<div>
<input
id="old-password"
type="password"
placeholder="_Old password"/>
<input
id="new-password"
type="password"
placeholder="_New password"/>
<input
id="repeat-password"
type="password"
placeholder="_Repeat password"/>
</div>
<div class="button-bar">
<button class="thin" on-click="onPassModifyClick">
<t>Modify</t>
</button>
<button class="thin" on-click="onPassInfoClick">
<t>Info</t>
</button>
<div class="clear"/>
</div>
</div>
</htk-popup>
<htk-popup
id="password-info"
modal="true">
<div property="child-node" class="htk-dialog pass-info">
<h3>
<t>Password requirements</t>
</h3>
<ul>
<li>
<htk-text form="password-form" column="length"/>
<t>characters long</t>
</li>
<li>
<htk-text form="password-form" column="nAlpha"/>
<t>alphabetic characters</t>
</li>
<li>
<htk-text form="password-form" column="nUpper"/>
<t>capital letters</t>
</li>
<li>
<htk-text form="password-form" column="nDigits"/>
<t>digits</t>
</li>
<li>
<htk-text form="password-form" column="nPunct"/>
<t>symbols</t>
</li>
</ul>
</div>
</htk-popup>
<htk-change-password id="change-password"/>
</vn>

View File

@ -1,6 +0,0 @@
Hedera.AccessLog = new Class
({
Extends: Hedera.Form
});

View File

@ -0,0 +1,7 @@
import './style.scss';
export default new Class({
Extends: Hedera.Form,
Template: require('./ui.xml')
});

View File

@ -1,6 +1,6 @@
AccessLog: Registro de acessos
'UserNumber:': 'Nº usuario:'
'User:': 'Usuario:'
'UserNumber:': 'Nº utilizador:'
'User:': 'Utilizador:'
'Phone:': 'Telefone:'
'Mobile:': 'Telemóvel:'
Access: Acceso

View File

@ -1,36 +0,0 @@
.access-log
{
padding: 1em;
}
.access-log .box
{
max-width: 25em;
margin: 0 auto;
}
.access-log .form
{
padding: 2em;
}
.access-log .form > p
{
font-size: 1.2em;
margin: .1em 0;
}
/* List */
.access-log .list
{
margin-top: 1em;
}
.access-log .item
{
display: block;
padding: 1em;
border-bottom: 1px solid #DDD;
}
.access-log .item > p
{
margin: .1em 0;
}

View File

@ -0,0 +1,12 @@
.access-log .form > p {
font-size: 1.2rem;
margin: .1em 0;
}
/* List */
.access-log .htk-list {
margin-top: 16px;
}

View File

@ -1,18 +1,12 @@
<vn>
<vn-group>
<vn-param id="user"/>
<vn-hash-param key="user" param="user"/>
<db-form id="user-form">
<db-model property="model">
<custom>
SELECT Id_Cliente, Cliente, Telefono, movil
FROM vn2008.Clientes WHERE Id_Cliente = #user
</custom>
<sql-batch property="batch">
<custom>
<item name="user" param="user"/>
</custom>
</sql-batch>
<db-form v-model="user">
<db-model property="model" lot="hash">
SELECT u.id, u.name user, u.nickname, u.email, c.phone, r.name role
FROM account.user u
JOIN account.role r ON r.id = u.role
LEFT JOIN vn.client c ON c.id = u.id
WHERE u.id = #user
</db-model>
</db-form>
</vn-group>
@ -20,55 +14,37 @@
<h1><t>AccessLog</t></h1>
</div>
<div id="form" class="access-log">
<div class="box">
<div class="box vn-w-xs vn-pa-lg">
<div class="form">
<p>
<htk-text form="user-form" column="Id_Cliente"/>
</p>
<p>
<htk-text form="user-form" column="Cliente"/>
</p>
<p>
<htk-text form="user-form" column="Telefono"/>
</p>
<p>
<htk-text form="user-form" column="movil"/>
</p>
<h4>{{user.nickname}}</h4>
<p>#{{user.id}} - {{user.user}}</p>
<p>{{user.role}}</p>
<p>{{user.email}}</p>
<p>{{user.phone}}</p>
</div>
</div>
<div class="list box">
<div>
<htk-repeater form-id="iter">
<db-model property="model">
<custom>
<htk-repeater form-id="iter" class="box vn-w-xs htk-list vn-mt-md">
<db-model property="model" lot="hash">
SELECT u.stamp, a.platform, a.browser, a.version, a.javascript, a.cookies
FROM visitUser u
JOIN visitAccess c ON c.id = u.access
JOIN visitAgent a ON a.id = c.agent
WHERE u.user = #user
JOIN visitAccess c ON c.id = u.accessFk
JOIN visitAgent a ON a.id = c.agentFk
WHERE u.userFk = #user
ORDER BY u.stamp DESC
LIMIT 8
</custom>
<sql-batch property="batch">
<custom>
<item name="user" param="user"/>
</custom>
</sql-batch>
</db-model>
<custom>
<div class="item">
<div class="content">
<p>
<htk-text form="iter" column="stamp" format="_%a, %e %b %Y at %T"/>
{{Vn.Value.format(iter.stamp, _('%a, %e %b %Y at %T'))}}
</p>
<p>
<htk-text form="iter" column="platform"/> -
<htk-text form="iter" column="browser"/>
<htk-text form="iter" column="version"/>
{{iter.platform}} - {{iter.browser}} {{iter.version}}
</p>
</div>
</div>
</custom>
</htk-repeater>
</div>
</div>
</div>
</vn>

View File

@ -1,53 +0,0 @@
Hedera.Connections = new Class
({
Extends: Hedera.Form
,_timeoutId: null
,onModelStatusChange: function (model, status)
{
if (!model.ready)
return;
if (this._timeoutId)
clearTimeout (this._timeoutId);
this._timeoutId = setTimeout (this.onRefreshClick.bind (this), 60000);
}
,deactivate: function ()
{
clearTimeout (this._timeoutId);
}
,onRefreshClick: function ()
{
this.$('sessions').refresh ();
}
,onAccessLogClick: function (button, form)
{
this.hash.set ({
'form': 'admin/access-log'
,'user': form.get ('userId')
});
}
,onChangeUserClick: function (button, form)
{
this.gui.supplantUser (form.get ('user'),
this._onUserSupplant.bind (this));
}
,_onUserSupplant: function (userName)
{
this.hash.set ({'form': 'ecomerce/orders'});
}
,sessionsFunc: function ()
{
return 1;
}
});

View File

@ -0,0 +1,33 @@
import './style.scss';
export default new Class({
Extends: Hedera.Form,
Template: require('./ui.xml')
,_timeoutId: null
,onModelStatusChange() {
if (!this.$.sessions.ready)
return;
if (this._timeoutId)
clearTimeout(this._timeoutId);
this._timeoutId = setTimeout(
() => this.$.sessions.refresh(), 60000);
}
,deactivate() {
clearTimeout(this._timeoutId);
}
,async onChangeUserClick(userName) {
await this.gui.supplantUser(userName);
this.hash.setAll({form: 'ecomerce/orders'});
}
,sessionsFunc() {
return 1;
}
});

View File

@ -1,44 +0,0 @@
.connections
{
padding: 1em;
}
.connections .box
{
max-width: 25em;
margin: 0 auto;
}
.action-bar .connections-sum
{
padding: .4em;
margin-top: .9em;
margin-right: .5em;
background-color: #1e88e5;
border-radius: 0.1em;
box-shadow: 0 0 0.4em #666;
}
/* List */
.connections .item
{
display: block;
padding: 1em;
border-bottom: 1px solid #DDD;
}
.connections .item > button
{
float: right;
margin: 0;
}
.connections .item > p
{
margin: .1em 0;
}
.connections .item > p.important
{
font-size: 1.2em;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}

View File

@ -0,0 +1,9 @@
.action-bar .connections-sum {
padding: .4em;
background-color: #1e88e5;
border-radius: .1em;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}

View File

@ -6,7 +6,7 @@
<htk-bar-button
icon="refresh"
tip="_Refresh"
on-click="onRefreshClick"/>
on-click="sessions.refresh()"/>
<div class="connections-sum">
<htk-text>
<db-calc-sum
@ -18,50 +18,46 @@
</div>
</div>
<div id="form" class="connections">
<div class="box">
<htk-repeater form-id="iter">
<db-model property="model" id="sessions" on-status-changed="onModelStatusChange">
<custom>
SELECT vu.user userId, vu.stamp, u.nickname, s.lastUpdate,
<htk-repeater form-id="iter" class="box htk-list vn-w-xs">
<db-model
property="model"
id="sessions"
on-status-changed="this.onModelStatusChange()">
SELECT vu.userFk userId, vu.stamp, u.nickname, s.lastUpdate,
a.platform, a.browser, a.version, u.name user
FROM userSession s
JOIN visitUser vu ON vu.id = s.userVisit
JOIN visitAccess ac ON ac.id = vu.access
JOIN visitAgent a ON a.id = ac.agent
JOIN visit v ON v.id = a.visit
JOIN account.user u ON u.id = vu.user
JOIN visitUser vu ON vu.id = s.userVisitFk
JOIN visitAccess ac ON ac.id = vu.accessFk
JOIN visitAgent a ON a.id = ac.agentFk
JOIN visit v ON v.id = a.visitFk
JOIN account.user u ON u.id = vu.userFk
ORDER BY lastUpdate DESC
</custom>
</db-model>
<custom>
<div class="item">
<htk-button
form="iter"
column="id"
tip="_Supplant user"
icon="incognito"
on-click="onChangeUserClick"/>
<htk-button
form="iter"
column="id"
tip="_Access log"
icon="gnome"
on-click="onAccessLogClick"/>
<a class="item"
href="{{`#!form=admin/access-log&amp;user=${iter.userId}`}}"
title="_Access log">
<div class="content">
<p class="important">
<htk-text form="iter" column="nickname"/>
{{iter.nickname}}
</p>
<p>
<htk-text form="iter" column="stamp" format="%a, %T"/> -
<htk-text form="iter" column="lastUpdate" format="%T"/>
{{Vn.Value.format(iter.stamp, '%a, %T')}} -
{{Vn.Value.format(iter.lastUpdate, '%T')}}
</p>
<p>
<htk-text form="iter" column="platform"/> -
<htk-text form="iter" column="browser"/>
<htk-text form="iter" column="version"/>
{{iter.platform}} - {{iter.browser}} {{iter.version}}
</p>
</div>
<div class="actions"
on-click="$event.preventDefault()">
<htk-button
tip="_Supplant user"
icon="supervisor_account"
on-click="this.onChangeUserClick(iter.user)"/>
</div>
</a>
</custom>
</htk-repeater>
</div>
</div>
</vn>

View File

@ -0,0 +1,10 @@
import './style.scss';
export default new Class({
Extends: Hedera.Form,
Template: require('./ui.xml'),
activate() {
this.$.items.setInfo('i', 'item', 'vn', ['id']);
}
});

View File

@ -1,6 +0,0 @@
Hedera.Items = new Class
({
Extends: Hedera.Form
});

View File

@ -1,42 +0,0 @@
.items
{
padding: 1em;
}
.items .box
{
max-width: 25em;
margin: 0 auto;
}
/* Row */
.items .row
{
padding: 1em;
border-bottom: 1px solid #DDD;
}
.items .row > .photo
{
margin-right: 1em;
float: left;
border-radius: 50%;
height: 3.2em;
width: 3.2em;
}
.items .row > p
{
margin: .1em 0;
margin-left: 5em;
}
.items .row > p.important
{
font-size: 1.2em;
}
/* Topbar */
.action-bar .htk-search-entry
{
margin: .8em .6em;
}

View File

@ -0,0 +1,6 @@
.items .item .photo {
border-radius: 10px;
height: 80px;
width: 80px;
}

View File

@ -1,58 +1,57 @@
<vn>
<vn-group>
<vn-param id="filter"/>
<vn-hash-param key="filter" param="filter"/>
</vn-group>
<div id="title">
<h1><t>Items</t></h1>
</div>
<div id="actions">
<htk-search-entry
param="filter"/>
<htk-search-entry form="hash" column="search"/>
</div>
<div id="form" class="items">
<div class="rows box">
<htk-repeater form-id="iter" empty-message="_Enter a search term">
<db-model property="model">
<custom>
SELECT Id_Article, Article, Medida, Categoria, Foto
FROM vn2008.Articles
WHERE Article LIKE CONCAT('%', #filter, '%')
OR Id_Article = #filter
ORDER BY Article LIMIT 50
</custom>
<sql-batch property="batch">
<custom>
<item name="filter" param="filter"/>
</custom>
</sql-batch>
<htk-repeater
class="htk-list rows box vn-w-xs"
form-id="iter"
empty-message="_Enter a search term">
<db-model property="model" id="items" lot="hash">
SELECT i.id, i.longName, i.size, i.category,
i.value5, i.value6, i.value7,
i.image, im.updated
FROM vn.item i
LEFT JOIN image im
ON im.collectionFk = 'catalog'
AND im.name = i.image
WHERE i.longName LIKE CONCAT('%', #search, '%')
OR i.id = #search
ORDER BY i.longName LIMIT 50
</db-model>
<custom>
<div class="row">
<div class="item">
<div class="side vn-mr-md">
<htk-image
form="iter"
column="Foto"
form="$iter"
column="image"
stamp-column="updated"
class="photo"
directory="catalog"
subdir="200x200"
full-dir="900x900"
full-dir="1600x900"
editable="true"
conn="conn"/>
<p class="concept">
<htk-text form="iter" column="Article"/>
<htk-text form="iter" column="Medida"/>
<htk-text form="iter" column="Categoria"/>
</div>
<div class="content">
<p class="important">
{{iter.longName}}
</p>
<p class="tags">
{{iter.value5}} {{iter.value6}} {{iter.value7}}
</p>
<p>
<htk-text form="iter" column="Id_Article"/>
{{iter.id}}
</p>
<p>
<htk-text form="iter" column="Foto"/>
{{iter.image}}
</p>
<div class="clear"/>
</div>
</div>
</custom>
</htk-repeater>
</div>
</div>
</vn>

View File

@ -0,0 +1,7 @@
import './style.scss';
export default new Class({
Extends: Hedera.Form,
Template: require('./ui.xml')
});

View File

@ -1,11 +0,0 @@
Hedera.Links = new Class
({
Extends: Hedera.Form
,repeaterFunc: function (res, form)
{
res.$('link').href = form.get ('link');
}
});

View File

@ -1,38 +0,0 @@
.cpanel
{
padding: 1em;
}
.cpanel .box
{
max-width: 30em;
}
/* Items */
.cpanel .item
{
display: block;
padding: 1em;
border-bottom: 1px solid #DDD;
}
.cpanel .item:hover
{
background-color: rgba(1, 1, 1, 0.05);
}
.cpanel .item > .htk-image
{
margin: 0;
margin-right: 1em;
float: left;
max-height: 2.8em;
max-width: 2.8em;
}
.cpanel .item > p
{
margin: .1em 0;
}
.cpanel .item > p.important
{
font-size: 1.2em;
}

View File

@ -0,0 +1,50 @@
.cpanel .items > div {
max-width: 900px;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 16px;
margin: 0 auto;
}
.cpanel .item {
display: flex;
flex-direction: column;
align-items: center;
margin: 0;
width: 140px;
padding: 15px;
text-align: center;
transition: background-color 250ms ease-out;
}
.cpanel .item:hover {
background-color: rgba(1, 1, 1, 0.05);
}
.cpanel .item > .htk-image {
display: flex;
justify-content: center;
align-items: center;
margin: 0;
float: left;
height: 80px;
}
.cpanel .item > .htk-image > img {
max-height: 60px;
max-width: 60px;
padding: 0;
}
.cpanel .item > h6 {
flex: none;
margin: .1em 0;
font-size: .9rem;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.cpanel .item > .text-secondary {
flex: none;
margin: 0;
font-size: .8rem;
height: 40px;
overflow: hidden;
}

View File

@ -3,8 +3,7 @@
<h1><t>ControlPanel</t></h1>
</div>
<div id="form" class="cpanel">
<div class="box">
<htk-repeater form-id="iter" renderer="repeaterFunc">
<htk-repeater form-id="iter" class="items">
<db-model property="model">
<custom>
SELECT image, name, description, link FROM link
@ -12,21 +11,21 @@
</custom>
</db-model>
<custom>
<a id="link" class="item" target="_blank">
<a class="item box"
href="{{iter.link}}"
target="_blank">
<htk-image
form="iter"
column="image"
value="{{iter.image}}"
directory="link"
subdir="full"/>
<p class="important">
<htk-text form="iter" column="name"/>
</p>
<p>
<htk-text form="iter" column="description"/>
<h6>
{{iter.name}}
</h6>
<p class="text-secondary">
{{iter.description}}
</p>
</a>
</custom>
</htk-repeater>
</div>
</div>
</vn>

201
forms/admin/photos/index.js Normal file
View File

@ -0,0 +1,201 @@
import './style.scss';
var Status = {
NONE : 0
,WAITING : 1
,UPLOADING : 2
,UPLOADED : 3
};
export default new Class({
Extends: Hedera.Form,
Template: require('./ui.xml')
,filesData: []
,uploadCount: 0
,isUploading: false
,activate() {
this.$.schema.value = 'catalog';
}
,addFiles(files) {
if (!files)
return;
for (var i = 0; i < files.length; i++)
this.addFile(files[i]);
}
,addFile(file) {
var doc = document;
var li = doc.createElement('div');
var div = doc.createElement('div');
div.className = 'thumb';
li.appendChild(div);
var thumb = doc.createElement('img');
thumb.file = file;
div.appendChild(thumb);
var reader = new FileReader();
reader.onload = function(e) {
thumb.src = e.target.result;
};
reader.readAsDataURL(file);
var name = doc.createElement('input');
name.type = 'text';
name.value = getFileName(file.name);
li.appendChild(name);
var statusNode = doc.createElement('div');
statusNode.className = 'status';
li.appendChild(statusNode);
var fileData = {
li: li,
file: file,
name: name,
statusNode: statusNode
};
var button = new Htk.Button({
tip: 'Remove',
icon: 'delete'
});
button.node.addEventListener('click',
() => this.onFileRemove(fileData));
li.appendChild(button.node);
this.filesData.push(fileData);
this.$.fileList.appendChild(li);
this.setImageStatus(fileData, Status.NONE, 'add', _('Pending upload'));
}
,async onUploadClick() {
if (this.isUploading) return;
const uploadQueue = [];
let hasFiles = false;
for (const fileData of this.filesData) {
if (fileData.status !== Status.NONE) continue;
this.setImageStatus(
fileData, Status.WAITING, 'cloud_upload', _('Waiting for upload'));
fileData.name.disabled = true;
uploadQueue.push(fileData);
hasFiles = true;
}
if (!hasFiles) {
Htk.Toast.showWarning(_('There are no files to upload'));
return;
}
this.isUploading = true;
let hasErrors = false;
for (const fileData of uploadQueue) {
this.setImageStatus(
fileData, Status.UPLOADING, 'upload', _('Uploading file'));
const formData = new FormData();
formData.append('updateMatching', this.$.updateMatching.value);
formData.append('image', fileData.file);
formData.append('name', fileData.name.value);
formData.append('schema', this.$.schema.value);
formData.append('srv', 'json:image/upload');
try {
await this.conn.sendFormData(formData);
this.setImageStatus(
fileData, Status.UPLOADED, 'cloud_done', _('Image uploaded'));
} catch(err) {
this.setImageStatus(
fileData, Status.NONE, 'error', err.message);
fileData.name.disabled = false;
hasErrors = true;
}
}
this.isUploading = false;
if (hasErrors)
Htk.Toast.showError(_('Some errors happened on upload'));
else
Htk.Toast.showMessage(_('Upload finished successfully'));
}
,setImageStatus(fileData, status, icon, title) {
fileData.status = status;
var statusNode = fileData.statusNode;
Vn.Node.removeChilds(statusNode);
var iconNode = new Htk.Icon({name: icon});
statusNode.appendChild(iconNode.node);
statusNode.title = title ? title : '';
}
,onFileRemove(fileData) {
this.$.fileList.removeChild(fileData.li);
for (var i = 0; i < this.filesData.length; i++)
if (this.filesData[i] === fileData) {
this.filesData.splice(i, 1);
break;
}
}
,onClearClick() {
this.filesData = [];
Vn.Node.removeChilds(this.$.fileList);
}
,onDropzoneClick() {
this.$.file.click();
}
,onFileChange() {
this.addFiles(this.$.file.files);
}
,onDragEnter() {
this.$.dropzone.classList.add('dragover');
}
,onDragLeave() {
this.$.dropzone.classList.remove('dragover');
}
,onDragOver(event) {
event.preventDefault();
}
,onDragEnd(event) {
this.$.dropzone.classList.remove('dragover');
event.dataTransfer.clearData();
}
,onDrop(event) {
event.preventDefault();
this.addFiles(event.dataTransfer.files);
}
});
function getFileName(path) {
var barIndex = path.lastIndexOf('/');
if (barIndex === -1)
barIndex = path.lastIndexOf('\\');
if (barIndex === -1)
barIndex = 0;
var dotIndex = path.lastIndexOf('.');
if (dotIndex === -1)
dotIndex = 0;
return path.substr(barIndex, dotIndex);
}

View File

@ -1,6 +1,8 @@
Images: Imatges
Collection: Col·lecció
Click or drop files here: Prem o deixa anar els arxius aquí
Pending upload: Pujada pendent
Update items with matching id: Actualitzar els elements amb id coincident
Clear all: Netejar tot
Upload files: Pujar arxius
Waiting for upload: Esperant per pujar

View File

@ -1,6 +1,8 @@
Images: Images
Collection: Collection
Click or drop files here: Click or drop files here
Pending upload: Pending upload
Update items with matching id: Update items with matching id
Clear all: Clear all
Upload files: Upload files
Waiting for upload: Waiting for upload

View File

@ -1,6 +1,8 @@
Images: Imágenes
Collection: Colección
Click or drop files here: Pulsa o suelta los archivos aquí
Pending upload: Subida pendiente
Update items with matching id: Actualizar ítems con id coincidente
Clear all: Limpiar todo
Upload files: Subir archivos
Waiting for upload: Esperando para subir

View File

@ -1,6 +1,8 @@
Images: Images
Collection: Collection
Click or drop files here: Cliquez ici ou déposer des fichiers
Pending upload: Hausse en attente
Update items with matching id: Mettre à jour les éléments avec l'identifiant correspondant
Clear all: Tout effacer
Upload files: Upload Files
Waiting for upload: En attente de télécharger

View File

@ -1,6 +1,8 @@
Images: Imagens
Collection: Coleção
Click or drop files here: Clique ou solte arquivos aqui
Pending upload: Ascensão pendente
Update items with matching id: Atualizar itens com id correspondente
Clear all: Limpar tudo
Upload files: Fazer upload de arquivos
Waiting for upload: Esperando para enviar

View File

@ -1,235 +0,0 @@
(function() {
var Status = {
NONE : 0
,WAITING : 1
,UPLOADING : 2
,UPLOADED : 3
};
Hedera.Photos = new Class
({
Extends: Hedera.Form
,filesData: []
,uploadCount: 0
,errors: false
,uploadQueue: []
,isUploading: false
,activate: function ()
{
this.$('schema').value = 'catalog';
}
,addFiles: function (files)
{
if (!files)
return;
for (var i = 0; i < files.length; i++)
this.addFile (files[i]);
}
,addFile: function (file)
{
var doc = document;
var div = doc.createElement ('div');
var button = new Htk.Button ({
tip: 'Remove',
icon: 'delete'
});
button.on ('click', this.onFileRemove, this);
div.appendChild (button.node);
var thumb = doc.createElement ('img');
thumb.file = file;
thumb.className = 'thumb';
div.appendChild (thumb);
var reader = new FileReader ();
reader.onload = function (e) { thumb.src = e.target.result; };
reader.readAsDataURL(file);
var name = doc.createElement ('input');
name.type = 'text';
name.value = getFileName (file.name);
div.appendChild (name);
var statusNode = doc.createElement ('span');
statusNode.className = 'status';
div.appendChild (statusNode);
var fileData = {
div: div,
file: file,
name: name,
statusNode: statusNode,
status: Status.NONE
};
this.filesData.push (fileData);
button.value = fileData;
this.$('file-list').appendChild (div);
}
,onUploadClick: function ()
{
var filesData = this.filesData;
var count = 0;
for (var i = 0; i < filesData.length; i++)
{
var fileData = filesData[i];
if (fileData.status === Status.NONE)
{
this.setImageStatus (
fileData, Status.WAITING, 'cloud-upload', _('Waiting for upload'));
fileData.name.disabled = true;
this.uploadQueue.push (fileData);
count++;
}
}
if (count === 0)
Htk.Toast.showWarning (_('There are no files to upload'));
else
this.uploadNextFile ();
}
,uploadNextFile: function ()
{
if (this.isUploading)
return;
this.isUploading = true;
var fileData = this.uploadQueue.shift ();
this.setImageStatus (
fileData, Status.UPLOADING, 'upload', _('Uploading file'));
var formData = new FormData();
formData.append ('image', fileData.file);
formData.append ('name', fileData.name.value);
formData.append ('schema', this.$('schema').value);
formData.append ('srv', 'json:image/upload');
this.conn.sendFormData (formData,
this.onFileUpload.bind (this, fileData));
}
,onFileUpload: function (fileData, data, error)
{
this.isUploading = false;
if (data)
{
this.setImageStatus (
fileData, Status.UPLOADED, 'ok', _('Image uploaded'));
}
else
{
this.setImageStatus (
fileData, Status.NONE, 'error', error.message);
fileData.name.disabled = false;
this.errors = true;
}
if (this.uploadQueue.length === 0)
{
if (this.errors)
Htk.Toast.showError (_('Some errors happened on upload'));
else
Htk.Toast.showMessage (_('Upload finished successfully'));
this.errors = false;
}
else
this.uploadNextFile ();
}
,setImageStatus: function (fileData, status, icon, title)
{
fileData.status = status;
var statusNode = fileData.statusNode;
Vn.Node.removeChilds (statusNode);
var iconNode = new Htk.Icon ({icon: icon});
statusNode.appendChild (iconNode.node);
statusNode.title = title ? title : '';
}
,onFileRemove: function (button)
{
var fileData = button.value;
this.$('file-list').removeChild (fileData.div);
for (var i = 0; i < this.filesData.length; i++)
if (this.filesData[i] === fileData)
{
this.filesData.splice (i, 1);
break;
}
}
,onClearClick: function ()
{
this.filesData = [];
Vn.Node.removeChilds (this.$('file-list'));
}
,onDropzoneClick: function ()
{
this.$('file').click ();
}
,onFileChange: function ()
{
this.addFiles (this.$('file').files);
}
,onDragEnter: function (event)
{
Vn.Node.addClass (this.$('dropzone'), 'dragover');
}
,onDragLeave: function (event)
{
Vn.Node.removeClass (this.$('dropzone'), 'dragover');
}
,onDragOver: function (event)
{
event.preventDefault ();
}
,onDragEnd: function (event)
{
Vn.Node.removeClass (this.$('dropzone'), 'dragover');
event.dataTransfer.clearData ();
}
,onDrop: function (event)
{
event.preventDefault ();
this.addFiles (event.dataTransfer.files);
}
});
function getFileName (path)
{
var barIndex = path.lastIndexOf ('/');
if (barIndex === -1)
barIndex = path.lastIndexOf ('\\');
if (barIndex === -1)
barIndex = 0;
var dotIndex = path.lastIndexOf ('.');
if (dotIndex === -1)
dotIndex = 0;
return path.substr (barIndex, dotIndex);
}
})();

View File

@ -1,73 +0,0 @@
.photos
{
padding: 1em;
}
.photos .box
{
max-width: 25em;
padding: 2em;
}
/* Dropzone */
.photos .dropzone
{
background-color: white;
border-style: dashed;
border-radius: .4em;
border-color: #2196F3;
padding: 2em 1em;
text-align: center;
color: #666;
cursor: pointer;
}
.photos .dropzone.dragover
{
color: #CCC;
border-style: solid;
}
.photos input[type=file]
{
display: none;
}
/* File list */
.photos .file-list
{
margin-top: 1em;
}
.photos .file-list > div
{
height: 2.5em;
}
.photos .file-list .thumb
{
max-height: 2em;
max-width: 2em;
vertical-align: middle;
margin: 0 1em;
}
.photos .file-list input
{
max-width: 10em;
}
.photos .file-list .status
{
margin-left: .5em;
cursor: pointer;
}
/* Footer */
.photos .footer
{
margin-top: 1.5em;
text-align: center;
}
.photos .footer > button
{
font-size: 1.2em;
margin-left: 1em;
}

View File

@ -0,0 +1,81 @@
/* Dropzone */
.photos .dropzone {
background-color: white;
border-style: dashed;
border-radius: .4em;
border-color: #2196F3;
padding: 2em 1em;
text-align: center;
color: #666;
cursor: pointer;
}
.photos .dropzone.dragover {
color: #CCC;
border-style: solid;
}
.photos input[type=file] {
display: none;
}
/* File list */
.photos .file-list {
margin-top: 1em;
}
.photos .file-list > div {
height: 2.5em;
display: flex;
align-items: center;
}
.photos .file-list > div > * {
overflow: hidden;
}
.photos .file-list .thumb {
width: 2em;
padding-right: .5em;
text-align: center;
}
.photos .file-list .thumb > img {
max-height: 2em;
max-width: 2em;
vertical-align: middle;
}
.photos .file-list input {
flex: 1;
min-width: 0;
}
.photos .file-list .status {
cursor: pointer;
width: 1.2em;
padding-left: .5em;
padding-right: .5em;
}
.photos .file-list .status > .htk-icon {
display: block;
}
.photos .file-list .htk-button {
opacity: .2;
}
.photos .file-list .htk-button:hover {
background-color: transparent;
opacity: 1;
}
.photos .file-list .htk-button > img {
display: block;
}
/* Footer */
.photos .update-matching {
margin-top: 1.5em;
}
.photos .footer {
margin-top: 1.5em;
text-align: center;
}
.photos .footer > button {
font-size: 1.2rem;
margin-left: 1em;
}

View File

@ -3,7 +3,7 @@
<h1><t>Images</t></h1>
</div>
<div id="form" class="photos">
<div class="box">
<div class="box form vn-w-sm vn-pa-lg">
<div class="form-group">
<label><t>Collection</t></label>
<htk-combo id="schema">
@ -31,6 +31,12 @@
name="image"
on-change="onFileChange"/>
<div id="file-list" class="file-list"/>
<div class="update-matching">
<label>
<htk-check id="update-matching" value="true"/>
<t>Update items with matching id</t>
</label>
</div>
<div class="footer">
<button class="thin" on-click="onClearClick">
<t>Clear all</t>

View File

@ -0,0 +1,93 @@
import './style.scss';
export default new Class({
Extends: Hedera.Form,
Template: require('./ui.xml')
,activate() {
this.$.resultIndex.value = 0;
}
,clean() {
if (this._grid) {
this.$.gridHolder.removeChild(this._grid.node);
this._grid.unref();
this._grid = null;
}
}
,onExecuteClick() {
this.clean();
var model = new Db.Model({
conn: this.conn,
query: this.$.sql.value,
resultIndex: this.$.resultIndex.value,
updatable: this.$.updatable.value
});
model.on('status-changed', this.onModelChange, this);
}
,onCleanClick() {
this.clean();
}
,onModelChange(model, status) {
if (status !== Db.Model.Status.LOADING) {
model.disconnect('status-changed', this.onModelChange, this);
model.unref();
}
if (status !== Db.Model.Status.READY)
return;
Htk.Toast.showMessage(_('Query executed!'));
var gridHolder = this.$.gridHolder;
if (gridHolder.firstChild)
gridHolder.removeChilds(gridHolder.firstChild);
var grid = new Htk.Grid();
var columns = model.columns;
for (var i = 0; i < columns.length; i++) {
var c = columns[i];
switch (c.type) {
case Db.Conn.Type.BOOLEAN:
var column = new Htk.ColumnCheck();
break;
case Db.Conn.Type.INTEGER:
var column = new Htk.ColumnSpin();
break;
case Db.Conn.Type.DOUBLE:
var column = new Htk.ColumnSpin({digits: 2});
break;
case Db.Conn.Type.DATE:
var column = new Htk.ColumnDate({format: '%a, %e %b %Y'});
break;
case Db.Conn.Type.DATE_TIME:
var column = new Htk.ColumnDate({format: '%a, %e %b %Y, %T'});
break;
case Db.Conn.Type.STRING:
default:
var column = new Htk.ColumnText();
}
column.setProperties({
title: c.name,
editable: this.$.updatable.value,
columnIndex: i
});
grid.appendColumn(column);
}
grid.model = model;
gridHolder.appendChild(grid.node);
this._grid = grid;
}
});

View File

@ -1,102 +0,0 @@
Hedera.Queries = new Class
({
Extends: Hedera.Form
,activate: function ()
{
this.$('result-index').value = 0;
}
,clean: function ()
{
if (this._grid)
{
this.$('grid-holder').removeChild (this._grid.node);
this._grid.unref ();
this._grid = null;
}
}
,_onExecuteClick: function ()
{
this.clean ();
var model = new Db.Model ({
conn: this.conn,
query: this.$('sql').value,
resultIndex: this.$('result-index').value,
updatable: this.$('updatable').value
});
model.on ('status-changed', this._onModelChange, this);
}
,_onCleanClick: function ()
{
this.clean ();
}
,_onModelChange: function (model, status)
{
if (status !== Db.Model.Status.LOADING)
{
model.disconnect ('status-changed', this._onModelChange, this);
model.unref ();
}
if (status !== Db.Model.Status.READY)
return;
Htk.Toast.showMessage (_('Query executed!'));
var gridHolder = this.$('grid-holder');
if (gridHolder.firstChild)
gridHolder.removeChilds (gridHolder.firstChild);
var grid = new Htk.Grid ();
var columns = model.columns;
for (var i = 0; i < columns.length; i++)
{
var c = columns[i];
switch (c.type)
{
case Db.Conn.Type.BOOLEAN:
var column = new Htk.ColumnCheck ();
break;
case Db.Conn.Type.INTEGER:
var column = new Htk.ColumnSpin ();
break;
case Db.Conn.Type.DOUBLE:
var column = new Htk.ColumnSpin ({digits: 2});
break;
case Db.Conn.Type.DATE:
var column = new Htk.ColumnDate ({format: '%a, %e %b %Y'});
break;
case Db.Conn.Type.DATE_TIME:
var column = new Htk.ColumnDate ({format: '%a, %e %b %Y, %T'});
break;
case Db.Conn.Type.STRING:
default:
var column = new Htk.ColumnText ();
}
column.setProperties ({
title: c.name,
editable: this.$('updatable').value,
columnIndex: i
});
grid.appendColumn (column);
}
grid.model = model;
gridHolder.appendChild (grid.node);
this._grid = grid;
}
});

View File

@ -1,25 +0,0 @@
.queries
{
padding: 1em;
}
.queries .box
{
max-width: 40em;
margin: 0 auto;
}
.queries .form
{
box-sizing: border-box;
padding: 2em;
}
.queries textarea
{
display: block;
width: 100%;
height: 8em;
}
.queries .result
{
margin-top: 1em;
overflow: auto;
}

View File

@ -0,0 +1,10 @@
.queries textarea {
display: block;
width: 100%;
height: 8em;
}
.queries .result {
margin-top: 1em;
overflow: auto;
}

View File

@ -6,14 +6,14 @@
<htk-bar-button
icon="ok"
tip="_Execute"
on-click="_onExecuteClick"/>
on-click="this.onExecuteClick()"/>
<htk-bar-button
icon="delete"
tip="_Clean"
on-click="_onCleanClick"/>
on-click="this.onCleanClick()"/>
</div>
<div id="form" class="queries">
<div class="box form">
<div class="box form vn-w-sm vn-pa-lg">
<div class="form-group">
<label><t>SQL query</t></label>
<textarea

View File

@ -0,0 +1,20 @@
import './style.scss';
export default new Class({
Extends: Hedera.Form,
Template: require('./ui.xml')
,rendererFunc(scope, form) {
var isEnabled = form.$.active
scope.$.disabled.style.display = isEnabled ?
'none' : 'block';
scope.$.impersonate.node.style.display = isEnabled ?
'block' : 'none';
}
,async onChangeUserClick(userName) {
await this.gui.supplantUser(userName);
this.hash.setAll({form: 'ecomerce/orders'});
}
});

View File

@ -1,45 +0,0 @@
.users
{
padding: 1em;
}
.users .box
{
max-width: 30em;
margin: 0 auto;
}
.users-box
{
padding: 1em;
border-bottom: 1px solid #DDD;
}
.users-box > button
{
float: right;
margin: 0;
}
.users-box > p
{
margin: .2em 0;
}
.users-box > p.important
{
font-size: 1.2em;
}
.users-box > .disabled
{
float: right;
color: white;
background-color: #F66;
border-radius: .2em;
padding: .2em;
margin: .3em;
font-size: .8em;
}
/* Topbar */
.action-bar .htk-search-entry
{
margin: .8em .6em;
}

View File

@ -0,0 +1,11 @@
.users-box.item > .actions {
display: flex;
}
.users-box .disabled {
color: white;
background-color: #F66;
border-radius: .2em;
padding: .3em;
font-size: .8em;
}

View File

@ -1,62 +1,48 @@
<vn>
<vn-group>
<vn-param id="user-name"/>
<vn-hash-param key="user" param="user-name"/>
</vn-group>
<div id="title">
<h1><t>User management</t></h1>
</div>
<div id="actions">
<htk-search-entry
param="user-name"/>
<htk-search-entry form="hash" column="user"/>
</div>
<div id="form" class="users">
<div class="box">
<htk-repeater form-id="iter" renderer="rendererFunc">
<db-model property="model">
<custom>
<htk-repeater
form-id="iter"
renderer="rendererFunc"
class="htk-list box vn-w-xs">
<db-model property="model" lot="hash">
SELECT u.id, u.name, u.nickname, u.active
FROM account.user u
WHERE u.name LIKE CONCAT('%', #user, '%')
OR u.nickname LIKE CONCAT('%', #user, '%')
OR u.id = #user
ORDER BY u.name LIMIT 200
</custom>
<sql-batch property="batch">
<custom>
<item name="user" param="user-name"/>
</custom>
</sql-batch>
</db-model>
<custom>
<div class="users-box">
<htk-button
form="iter"
column="id"
tip="_Access log"
icon="gnome"
on-click="onAccessLogClick"/>
<htk-button
id="impersonate"
form="iter"
column="id"
tip="_Impersonate user"
icon="incognito"
on-click="onChangeUserClick"/>
<a class="users-box item"
href="{{`#!form=admin/access-log&amp;user=${iter.id}`}}"
title="_Access log">
<div class="content">
<p class="important">
{{iter.nickname}}
</p>
<p>
#{{iter.id}} - {{iter.name}}
</p>
</div>
<div class="actions"
on-click="$event.preventDefault()">
<span id="disabled" class="disabled">
<t>Disabled</t>
</span>
<p class="important">
<htk-text form="iter" column="nickname"/>
</p>
<p>
@<htk-text form="iter" column="id"/> -
<htk-text form="iter" column="name"/>
</p>
<div class="clear"/>
<htk-button
id="impersonate"
icon="supervisor_account"
tip="_Impersonate user"
on-click="this.onChangeUserClick(iter.name)"/>
</div>
</a>
</custom>
</htk-repeater>
</div>
</div>
</vn>

View File

@ -1,34 +0,0 @@
Hedera.Users = new Class
({
Extends: Hedera.Form
,onAccessLogClick: function (button, form)
{
this.hash.set ({
'form': 'admin/access-log'
,'user': form.get ('id')
});
}
,rendererFunc: function (scope, form)
{
var isEnabled = form.get('active')
scope.$('disabled').style.display = isEnabled ?
'none' : 'block';
scope.$('impersonate').node.style.display = isEnabled ?
'block' : 'none';
}
,onChangeUserClick: function (button, form)
{
this.gui.supplantUser (form.get ('name'),
this.onUserSupplant.bind (this));
}
,onUserSupplant: function ()
{
this.hash.set ({form: 'ecomerce/orders'});
}
});

View File

@ -0,0 +1,15 @@
import './style.scss';
export default new Class({
Extends: Hedera.Form,
Template: require('./ui.xml')
,activate() {
if (!this.hash.$.to)
this.hash.assign({
from: Date.vnNew(),
to: Date.vnNew()
});
}
});

View File

@ -1,46 +0,0 @@
.visits
{
padding: 1em;
}
.visits .box
{
max-width: 25em;
margin: 0 auto;
}
.visits .form
{
padding: 1.5em;
max-width: 20em;
}
.visits .summary
{
margin-top: 1em;
}
.visits .summary p
{
padding: 1.5em;
font-size: 1.4em;
text-align: right;
}
/* List */
.visits .list
{
margin-top: 1em;
}
.visits .item
{
display: block;
padding: 1em;
border-bottom: 1px solid #DDD;
}
.visits .item > p
{
margin: .1em 0;
}
.visits .item > p.important
{
font-size: 1.2em;
}

View File

@ -0,0 +1,12 @@
.visits .box {
margin-bottom: 16px;
}
.visits .box:last-child {
margin-bottom: 0;
}
.visits .summary p {
font-size: 1.4rem;
margin: 0;
text-align: right;
}

View File

@ -1,4 +1,8 @@
<vn>
<vn-lot-query id="params">
<vn-spec name="from" type="Date"/>
<vn-spec name="to" type="Date"/>
</vn-lot-query>
<div id="title">
<h1><t>Visits</t></h1>
</div>
@ -6,30 +10,29 @@
<htk-bar-button
icon="refresh"
tip="_Refresh"
on-click="onRefreshClick"/>
on-click="visits.refresh()"/>
<htk-bar-button
icon="user-info"
icon="visibility"
tip="_Connections"
on-click="onSessionsClick"/>
on-click="this.hash.setAll({form: 'admin/connections'})"/>
</div>
<div id="form" class="visits">
<div class="box">
<div class="form">
<div class="vn-w-xs">
<div class="form vn-pa-lg box">
<div class="form-group">
<label><t>From</t></label>
<htk-date-chooser>
<vn-param property="param" id="from"/>
</htk-date-chooser>
<htk-date-chooser
form="params"
column="from"/>
</div>
<div class="form-group">
<label><t>To</t></label>
<htk-date-chooser>
<vn-param property="param" id="to"/>
</htk-date-chooser>
<htk-date-chooser
form="params"
column="to"/>
</div>
</div>
</div>
<div class="summary box">
<div class="summary vn-pa-lg box">
<p>
<htk-text>
<db-calc-sum
@ -47,47 +50,39 @@
<t>news</t>
</p>
</div>
<div class="list box">
<htk-repeater form-id="iter" empty-message="_Select date interval">
<db-model property="model" id="visits">
<custom>
SELECT browser
,MIN(CAST(version AS DECIMAL(4,1))) minVersion
,MAX(CAST(version AS DECIMAL(4,1))) maxVersion
,MAX(c.stamp) lastVisit
,COUNT(DISTINCT c.id) visits
,SUM(a.firstAccess = c.id AND v.firstAgent = a.id) newVisits
<htk-repeater
class="box htk-list"
form-id="iter"
empty-message="_Select date interval">
<db-model property="model" id="visits" lot="params">
SELECT browser,
MIN(CAST(version AS DECIMAL(4,1))) minVersion,
MAX(CAST(version AS DECIMAL(4,1))) maxVersion,
MAX(c.stamp) lastVisit,
COUNT(DISTINCT c.id) visits,
SUM(a.firstAccessFk = c.id AND v.firstAgentFk = a.id) newVisits
FROM visitUser e
JOIN visitAccess c ON e.access = c.id
JOIN visitAgent a ON c.agent = a.id
JOIN visit v ON a.visit = v.id
JOIN visitAccess c ON c.id = e.accessFk
JOIN visitAgent a ON a.id = c.agentFk
JOIN visit v ON v.id = a.visitFk
WHERE c.stamp BETWEEN TIMESTAMP(#from,'00:00:00') AND TIMESTAMP(#to,'23:59:59')
GROUP BY browser ORDER BY visits DESC
</custom>
<sql-batch property="batch">
<custom>
<item name="from" param="from"/>
<item name="to" param="to"/>
</custom>
</sql-batch>
</db-model>
<custom>
<div class="item">
<div class="content">
<p class="important">
<htk-text form="iter" column="browser"/>
<htk-text form="iter" column="minVersion"/> -
<htk-text form="iter" column="maxVersion"/>
{{iter.browser}} {{iter.minVersion}} - {{iter.maxVersion}}
</p>
<p>
<htk-text form="iter" column="visits"/>
<t>visits</t>,
<htk-text form="iter" column="newVisits"/>
<t>news</t>
{{iter.visits}} <t>visits</t>,
{{iter.newVisits}} <t>news</t>
</p>
<p>
<htk-text form="iter" column="lastVisit" format="_%a, %e %b %Y at %T"/>
{{Vn.Value.format(iter.lastVisit, _('%a, %e %b %Y at %T'))}}
</p>
</div>
</div>
</custom>
</htk-repeater>
</div>

View File

@ -1,22 +0,0 @@
Hedera.Visits = new Class
({
Extends: Hedera.Form
,activate: function ()
{
this.$('from').value = new Date ();
this.$('to').value = new Date ();
}
,onRefreshClick: function ()
{
this.$('visits').refresh ();
}
,onSessionsClick: function ()
{
this.hash.set ({'form': 'admin/connections'});
}
});

View File

@ -0,0 +1,7 @@
import './style.scss';
export default new Class({
Extends: Hedera.Form,
Template: require('./ui.xml'),
});

View File

@ -1,5 +1,4 @@
ListByAgency: Paquets per agència
ShowByProvince: Mostrar desglose per província
Agency: Agència
Exps: Exps.
Bundles: Paquets

View File

@ -1,5 +1,4 @@
ListByAgency: Bundles by agency
ShowByProvince: Show breakdown by province
Agency: Agency
Exps: Exps.
Bundles: Bundles

View File

@ -1,5 +1,4 @@
ListByAgency: Bultos por agencia
ShowByProvince: Mostrar desglose por provincia
Agency: Agencia
Exps: Exps.
Bundles: Bultos

View File

@ -1,5 +1,4 @@
ListByAgency: Liste par agence
ShowByProvince: Montrer par province
Agency: Agence
Exps: Expéditeur
Bundles: Cartons

View File

@ -1,5 +1,4 @@
ListByAgency: Bultos por agencia
ShowByProvince: Mostrar desglosse por Distrito
Agency: Agencia
Exps: Exps.
Bundles: Bultos

View File

@ -1,14 +0,0 @@
Hedera.Packages = new Class
({
Extends: Hedera.Form
,onShowClick: function (column, agencyId)
{
this.hash.set ({
'form': 'agencies/provinces',
'agency': agencyId
});
}
});

View File

@ -1,9 +0,0 @@
.packages
{
padding: 1em;
}
.packages .box
{
max-width: 40em;
margin: 0 auto;
}

Some files were not shown because too many files have changed in this diff Show More