Compare commits

...

1235 Commits

Author SHA1 Message Date
Yuri Kuznetsov 268354f3c6 8.2.2 2024-04-04 10:21:51 +03:00
Yuri Kuznetsov 3ca68f2539 email tempalte importable 2024-04-04 09:55:47 +03:00
Yuri Kuznetsov 08f2c5ea72 disable options reference for salutation 2024-04-04 09:32:53 +03:00
Yuri Kuznetsov 4d1f3d214d label format 2024-04-03 15:52:09 +03:00
Yuri Kuznetsov fab13b3140 fix import action translation 2024-04-03 15:36:25 +03:00
Yuri Kuznetsov 45ac0f7fee fix autocomplete 2024-04-03 10:19:37 +03:00
Yuri Kuznetsov 406487d50c before upgrade extension check 2024-04-03 09:38:52 +03:00
Yuri Kuznetsov d73608e16b 8.2.1 2024-04-02 20:55:39 +03:00
Yuri Kuznetsov 8328e8c644 fix action history order 2024-04-02 19:38:09 +03:00
Yuri Kuznetsov 19a96d2e3d disable customization for user portal 2024-04-02 17:32:30 +03:00
Yuri Kuznetsov a823e06f13 dynamic logic lin one 2024-04-02 15:42:02 +03:00
Yuri Kuznetsov 0336b76a96 before upgrade script 2024-04-02 10:45:35 +03:00
Yuri Kuznetsov 76cac35c54 link name default middle name prefix 2024-04-02 10:10:32 +03:00
Yuri Kuznetsov 088edbf708 avatar colors 2024-03-31 21:14:21 +03:00
Yuri Kuznetsov e2f6c8abe7 ref 2024-03-31 20:56:03 +03:00
Yuri Kuznetsov f2735e5fbc avatar color 2024-03-31 17:31:18 +03:00
Yuri Kuznetsov f8106a81c7 ref meeting buttons 2024-03-31 15:57:59 +03:00
Yuri Kuznetsov 1d7bce5343 ref 2024-03-31 15:37:16 +03:00
Yuri Kuznetsov 224e0e8625 internal note icon position 2024-03-30 16:42:06 +02:00
Yuri Kuznetsov d5b3a7d2ea calendar mode buttons change 2024-03-30 13:14:19 +02:00
Yuri Kuznetsov bd0be4542e calendar mode buttons change 2024-03-30 13:12:09 +02:00
Yuri Kuznetsov e78052ce33 ref 2024-03-30 13:01:26 +02:00
Yuri Kuznetsov 24f79b9206 avatar color change 2024-03-30 12:39:49 +02:00
Yuri Kuznetsov df9633503b email account filters 2024-03-30 10:07:38 +02:00
Yuri Kuznetsov 5e1c12f4b1 reminder fix 2024-03-30 09:55:02 +02:00
Yuri Kuznetsov 5699c3d15e close button style fix 2024-03-30 09:49:00 +02:00
Yuri Kuznetsov cd88e8ac7a cs 2024-03-30 09:31:35 +02:00
Yuri Kuznetsov 3c83e1dcd3 hide complex modified field if not modified 2024-03-30 09:23:56 +02:00
Yuri Kuznetsov d232838676 stream abort last fetch 2024-03-30 09:08:52 +02:00
Yuri Kuznetsov 2ae0f48619 avatar color change 2024-03-29 16:52:11 +02:00
Yuri Kuznetsov 170782d17f add BDT currency 2024-03-29 16:49:22 +02:00
Yuri Kuznetsov 2cbdbbf6fb avatar color changes 2024-03-29 16:44:14 +02:00
Yuri Kuznetsov 0a750f373f avatar font change 2024-03-29 16:39:51 +02:00
Yuri Kuznetsov 92ff5e1859 avatar explicit font file 2024-03-29 15:58:18 +02:00
Yuri Kuznetsov cb3257a890 notification list view refresh ui fix 2024-03-29 13:49:05 +02:00
Yuri Kuznetsov 9377cd150d img preview border radius small 2024-03-29 13:33:34 +02:00
Yuri Kuznetsov e1f2fd8094 avatar color change 2024-03-29 11:54:43 +02:00
Yuri Kuznetsov 70dcf6ed69 avatar colors change 2024-03-29 11:47:26 +02:00
Yuri Kuznetsov 6c62dbc604 portal avatar color 2024-03-29 11:34:52 +02:00
Yuri Kuznetsov b6807091a5 user avater css fix 2024-03-29 11:25:11 +02:00
Yuri Kuznetsov 33f3784b3a lang 2024-03-29 09:49:28 +02:00
Yuri Kuznetsov 0e9b552796 teams importable 2024-03-29 09:35:13 +02:00
Yuri Kuznetsov 111e1a278c ref 2024-03-29 09:33:48 +02:00
Yuri Kuznetsov 34ecdd7533 export ignore utility 2024-03-29 09:28:15 +02:00
Yuri Kuznetsov 7ec9c1c5ae team export 2024-03-29 09:24:00 +02:00
Yuri Kuznetsov 1055fd8a79 lang 2024-03-29 09:23:33 +02:00
Yuri Kuznetsov 03102da373 fix format person name 2024-03-28 15:38:22 +02:00
Yuri Kuznetsov 23ea8b418a ref 2024-03-28 15:16:12 +02:00
Yuri Kuznetsov 9269fa1933 cs 2024-03-28 15:14:33 +02:00
Yuri Kuznetsov 5a1a9f17a0 ref 2024-03-28 10:25:44 +02:00
Yuri Kuznetsov c4ca71a7f6 firefox calendar style fix 2024-03-28 10:23:48 +02:00
Yuri Kuznetsov 991d111ac3 auth token expiration support decimals 2024-03-27 21:59:42 +02:00
Yuri Kuznetsov 7f18fb0cba fix foreign enum error 2024-03-27 21:49:04 +02:00
Yuri Kuznetsov c4d54ffa71 avatar font size 2024-03-27 19:38:10 +02:00
Yuri Kuznetsov 1ee2d5c58b avatar change sizes 2024-03-27 19:31:14 +02:00
Yuri Kuznetsov 94d9d0fc38 cleanup 2024-03-27 16:53:31 +02:00
dependabot[bot] 9252905103 Bump express from 4.18.1 to 4.19.2
Bumps [express](https://github.com/expressjs/express) from 4.18.1 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.18.1...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-27 15:27:22 +02:00
Yuri Kuznetsov e9b49a5317 cleanup vendor 2024-03-27 14:30:37 +02:00
Yuri Kuznetsov 9e50337c99 avatar fallback to userName 2024-03-27 13:02:44 +02:00
Yuri Kuznetsov 07b68d9b7d number power function 2024-03-27 10:11:03 +02:00
Yuri Kuznetsov c7d1fc7c35 ref 2024-03-26 19:02:16 +02:00
Yuri Kuznetsov 18b5b99854 opp by lead source chart changes 2024-03-26 18:01:23 +02:00
Yuri Kuznetsov e60d4ba19b fix sticky bar destroy 2024-03-26 17:39:52 +02:00
Yuri Kuznetsov dcf2b49b19 pie chart select none 2024-03-26 16:36:35 +02:00
Yuri Kuznetsov 4aecb4a255 chart no user select 2024-03-26 16:31:18 +02:00
Yuri Kuznetsov 7cf7f2ffd8 update note style change 2024-03-26 15:36:46 +02:00
Yuri Kuznetsov a78161799c scroll after go to page 2024-03-26 15:09:03 +02:00
Yuri Kuznetsov 6a37eee973 thousand separator validator 2024-03-26 14:19:17 +02:00
Yuri Kuznetsov bb5be010f2 pagination true 2024-03-26 12:29:36 +02:00
Yuri Kuznetsov dcd4e56aa7 sticky bar ref and fix 2024-03-26 12:09:59 +02:00
Yuri Kuznetsov 12f928c192 cs 2024-03-26 11:15:35 +02:00
Yuri Kuznetsov 1b47b94154 ref 2024-03-26 10:08:44 +02:00
Yuri Kuznetsov f64f4ea1b1 total text style fix 2024-03-26 09:58:03 +02:00
Yuri Kuznetsov faa33769f1 list top bar style fixes 2024-03-26 09:54:41 +02:00
Yuri Kuznetsov 1b0487eeea sort + sticky bar fix 2024-03-25 17:46:11 +02:00
Yuri Kuznetsov 7ffc06065f fix last page menu item 2024-03-25 16:11:00 +02:00
Yuri Kuznetsov 515720afda cleanup 2024-03-25 16:00:35 +02:00
Yuri Kuznetsov 3f1e6a6628 pagination go to page 2024-03-25 15:33:58 +02:00
Yuri Kuznetsov a94deb9f33 event confirmation note style fix 2024-03-25 13:37:52 +02:00
Yuri Kuznetsov b2d91b3fe9 pagination shortcuts 2024-03-25 12:17:53 +02:00
Yuri Kuznetsov 1f7e23af28 collection has page methods 2024-03-25 11:57:09 +02:00
Yuri Kuznetsov 0275b7fe4d pagination show more fixes 2024-03-25 11:52:21 +02:00
Yuri Kuznetsov d4b25090aa do not fetch after remove 2024-03-25 11:41:01 +02:00
Yuri Kuznetsov 7b14e7fb79 chart legend style fix 2024-03-25 11:32:48 +02:00
Yuri Kuznetsov 1d156e6af6 caret hover color 2024-03-24 23:12:10 +02:00
Yuri Kuznetsov b91e40b0e7 fix calendar 7d event issue 2024-03-24 18:23:02 +02:00
Yuri Kuznetsov fab908c313 contributing note 2024-03-24 18:09:17 +02:00
Yuri Kuznetsov 24e5cd67dd pagination warning fix 2024-03-24 17:02:17 +02:00
Yuri Kuznetsov 7297e0eb83 pagination display top bar if out of bound 2024-03-24 16:58:26 +02:00
Yuri Kuznetsov 81cce0ddb7 light theme by default 2024-03-24 12:46:14 +02:00
Yuri Kuznetsov 8232ef3dd2 label-state 2024-03-24 12:12:53 +02:00
Yuri Kuznetsov b930180907 stream update note: show fields 2024-03-24 11:19:50 +02:00
Yuri Kuznetsov ef6866773c stream notes style changes 2024-03-24 10:54:00 +02:00
Yuri Kuznetsov 415dc7607e cs 2024-03-24 10:15:24 +02:00
Yuri Kuznetsov 726f2abd96 email body insert field button in the end 2024-03-23 20:33:23 +02:00
Yuri Kuznetsov 894acad7ec less ref 2024-03-23 20:24:14 +02:00
Yuri Kuznetsov d9d7de8804 ref 2024-03-23 13:31:09 +02:00
Yuri Kuznetsov dcd0469977 fix collection set offset 2024-03-23 13:19:32 +02:00
Yuri Kuznetsov 434112eff3 pagination w/ show-more fixes 2024-03-23 12:17:42 +02:00
Yuri Kuznetsov ace9186691 update bullbone 2024-03-23 12:02:01 +02:00
Yuri Kuznetsov 29cc42e2e8 pagination offset fix 2024-03-23 11:43:13 +02:00
Yuri Kuznetsov 3ae6120067 ref 2024-03-23 10:07:14 +02:00
Yuri Kuznetsov 377f51a962 ref 2024-03-23 09:37:36 +02:00
Yuri Kuznetsov dc61e630b4 primary filter menu style 2024-03-23 09:19:07 +02:00
Yuri Kuznetsov d2ec8eda86 color fix 2024-03-23 08:58:19 +02:00
Yuri Kuznetsov 376de3b6d9 style fix 2024-03-22 11:53:08 +02:00
Yuri Kuznetsov 82ad0cb5cd selectize small style fix 2024-03-22 11:46:08 +02:00
Yuri Kuznetsov df9431670a schema 2024-03-22 11:41:43 +02:00
Yuri Kuznetsov e96f4fcedd api key copy to clipboard 2024-03-22 11:37:51 +02:00
Yuri Kuznetsov 1e96b90e28 status styles 2024-03-22 11:12:20 +02:00
Yuri Kuznetsov 46897ec3dd status styles changes 2024-03-22 11:04:30 +02:00
Yuri Kuznetsov ffa8248ac1 small input 29px 2024-03-22 10:35:59 +02:00
Yuri Kuznetsov 7d90a0c59b fix 2024-03-21 21:23:35 +02:00
Yuri Kuznetsov e33e77cb9e style fix 2024-03-21 13:28:32 +02:00
Yuri Kuznetsov f7a7c3bc72 comment 2024-03-21 13:15:07 +02:00
Yuri Kuznetsov c8371bef3f dynamic logic style fix 2024-03-21 13:06:29 +02:00
Yuri Kuznetsov 7c3f285342 opp probability not required 2024-03-21 11:56:24 +02:00
Yuri Kuznetsov ed3a7d64c6 sanitize date and date time, parse ATOM format 2024-03-21 11:35:47 +02:00
Yuri Kuznetsov 00b4569f8e webhook queue change scheduling 2024-03-20 12:02:39 +02:00
Yuri Kuznetsov 41e0b90850 cs 2024-03-20 12:02:10 +02:00
Yuri Kuznetsov 4d35bce189 metadata get by key endpoint 2024-03-20 11:42:11 +02:00
Yuri Kuznetsov e6631ba1d1 ref 2024-03-20 09:44:26 +02:00
Yuri Kuznetsov 6bae952947 Merge branch 'fix' 2024-03-20 09:17:30 +02:00
Yuri Kuznetsov 2e550af196 templte helper data context mixed 2024-03-20 09:16:08 +02:00
Yuri Kuznetsov 95ecc416f1 tpl fix 2024-03-19 15:54:09 +02:00
Yuri Kuznetsov ee3b0cb53d bc fix 2024-03-19 15:48:08 +02:00
Yuri Kuznetsov bfa0ea53a4 avatar field rounded 2024-03-19 12:21:41 +02:00
Yuri Kuznetsov 2f338d6eda lang files 2024-03-19 12:13:08 +02:00
Yuri Kuznetsov 6e59165786 v 2024-03-19 11:06:54 +02:00
Yuri Kuznetsov a5a6c8a0a1 cleanup 2024-03-19 10:19:45 +02:00
Yuri Kuznetsov cd0c397b07 ref 2024-03-19 10:13:27 +02:00
Yuri Kuznetsov 7ba7f8aa14 load assigned user name always 2024-03-19 09:07:42 +02:00
Yuri Kuznetsov 91d0660cba load assigned user name if null 2024-03-19 08:56:54 +02:00
Yuri Kuznetsov e8bbcb2ae4 tabindex 2024-03-18 17:57:58 +02:00
Yuri Kuznetsov 834d1808a1 cleanup preferences params 2024-03-18 17:10:43 +02:00
Yuri Kuznetsov 2d264eccb7 fix pagination error from detail pagination 2024-03-18 16:26:51 +02:00
Yuri Kuznetsov 3ec0fe1e03 fetch after remove if pagination 2024-03-18 15:58:09 +02:00
Yuri Kuznetsov 2f85c5cb3c ref 2024-03-18 15:10:38 +02:00
Yuri Kuznetsov 69cd4386f1 fix pagination 2024-03-18 15:07:24 +02:00
Yuri Kuznetsov effb81837f fix 2024-03-18 14:42:52 +02:00
Yuri Kuznetsov d0139ada06 list expanded force no pagination 2024-03-18 14:34:50 +02:00
Yuri Kuznetsov 2920793e40 style fix 2024-03-18 14:28:31 +02:00
Yuri Kuznetsov 570f886a1f reseting collection offset 2024-03-18 13:54:28 +02:00
Yuri Kuznetsov 21dab40b43 rebuild full on pg 2024-03-18 13:24:40 +02:00
Yuri Kuznetsov 801ccf94c7 pagination impr 2024-03-18 13:17:33 +02:00
Yuri Kuznetsov 7114b99cbc sticky bar fix 2024-03-18 11:07:22 +02:00
Yuri Kuznetsov 94c99f298e pagination stlye fixes 2024-03-18 10:55:10 +02:00
Yuri Kuznetsov ac37a4c232 notficaition bc fix 2024-03-18 10:11:31 +02:00
Yuri Kuznetsov 5ad4f30505 ref 2024-03-18 10:07:46 +02:00
Yuri Kuznetsov b4773ade9b fix 2024-03-17 18:14:22 +02:00
Yuri Kuznetsov 63f422f93a ref, return promise 2024-03-17 13:02:44 +02:00
Yuri Kuznetsov 1134f89a5a suppress 2024-03-17 12:56:30 +02:00
Yuri Kuznetsov fe0b1b62d1 ref 2024-03-17 12:50:52 +02:00
Yuri Kuznetsov d549ccb300 style fix 2024-03-17 12:47:52 +02:00
Yuri Kuznetsov 06d596b5cf pagination changes 2024-03-17 11:46:58 +02:00
Yuri Kuznetsov 1091b21306 clear stored email view 2024-03-16 12:28:16 +02:00
Yuri Kuznetsov 780b66d5b4 docs 2024-03-16 12:13:04 +02:00
Yuri Kuznetsov 10982e1b19 store main view ref 2024-03-15 18:35:15 +02:00
Yuri Kuznetsov 068375022e grid layout manager style impr 2024-03-15 17:41:28 +02:00
Yuri Kuznetsov d6bd701492 remove eot svg fonts 2024-03-15 16:44:42 +02:00
Yuri Kuznetsov 223b4ab8aa extension version print 2024-03-15 15:35:42 +02:00
Yuri Kuznetsov 6aff357473 cleanup 2024-03-15 15:08:20 +02:00
Yuri Kuznetsov 3ef24bb5ad avatars 2024-03-15 14:54:02 +02:00
Yuri Kuznetsov 9e60ea2209 image preview border radius 2024-03-15 13:45:02 +02:00
Yuri Kuznetsov 86904380bb image list preview style fix 2024-03-15 12:59:41 +02:00
Yuri Kuznetsov 9cdef865fe ref 2024-03-14 11:51:52 +02:00
Yuri Kuznetsov 1d611720c6 remove title 2024-03-14 11:43:27 +02:00
Yuri Kuznetsov 7285e058cd fix link field unset on clear 2024-03-14 10:57:32 +02:00
Yuri Kuznetsov e44617e276 fix extend 2024-03-14 10:16:48 +02:00
Yuri Kuznetsov 81972e26ff restore opp service class 2024-03-14 10:07:23 +02:00
Yuri Kuznetsov 5a7a4608c9 fix message 2024-03-14 10:00:04 +02:00
Yuri Kuznetsov 9161e64932 update icons 2024-03-14 09:56:12 +02:00
Yuri Kuznetsov cfd514c5a5 remove test 2024-03-13 22:55:02 +02:00
Yuri Kuznetsov b42f4ee256 no order 2024-03-13 22:10:52 +02:00
Yuri Kuznetsov a5a4fbca2f fix field manager when no params for type 2024-03-13 19:48:29 +02:00
Yuri Kuznetsov a706811338 attachment remove 2024-03-13 16:26:58 +02:00
Yuri Kuznetsov ec120dfd75 ref 2024-03-13 16:01:49 +02:00
Yuri Kuznetsov fe7b19b96d color fix 2024-03-13 15:15:15 +02:00
Yuri Kuznetsov ff5e1dac43 color fixes 2024-03-13 14:39:45 +02:00
Yuri Kuznetsov e73f7e9807 group folder ui impr 2024-03-13 14:13:32 +02:00
Yuri Kuznetsov 15e99e3063 schema 2024-03-13 13:24:20 +02:00
Yuri Kuznetsov 4edc909f2a fix 2024-03-13 12:36:16 +02:00
Yuri Kuznetsov d1fe29adbe throw tag 2024-03-13 12:32:20 +02:00
Yuri Kuznetsov 980226c4a2 cs 2024-03-13 12:30:39 +02:00
Yuri Kuznetsov c4c4306ad3 import encode URL 2024-03-13 12:29:53 +02:00
Yuri Kuznetsov 10732c0a90 fix 2024-03-13 11:00:30 +02:00
Yuri Kuznetsov ca2c4b3ee4 Merge branch 'fix' 2024-03-12 13:42:45 +02:00
Yuri Kuznetsov 03671efe11 category default 2024-03-12 13:38:29 +02:00
Yuri Kuznetsov 748529afac ref 2024-03-11 18:43:55 +02:00
Yuri Kuznetsov 1a003e5905 ref 2024-03-11 18:37:47 +02:00
Eymen Elkum d6c66b8b43 fix entity rename command 2024-03-11 11:00:22 +02:00
Yuri Kuznetsov 813bc05e74 foreign field do not list utility link 2024-03-11 09:47:03 +02:00
Yuri Kuznetsov ef447b400c fix test send button 2024-03-09 21:34:00 +02:00
Yuri Kuznetsov aca823df64 Merge branch 'fix' 2024-03-09 21:26:58 +02:00
Yuri Kuznetsov 0832faa2f2 fix port is string 2024-03-09 21:26:47 +02:00
Yuri Kuznetsov 7573bd1f92 link parent autocomplete fix 2024-03-08 16:27:14 +02:00
Yuri Kuznetsov 35eb013c97 schema 2024-03-08 11:10:07 +02:00
Yuri Kuznetsov 110f769384 ics description fix line break 2024-03-07 17:02:31 +02:00
Yuri Kuznetsov 6ce7c6ccda schema fix 2024-03-07 12:38:16 +02:00
Yuri Kuznetsov 350141727b disable merge 2024-03-06 13:47:16 +02:00
Yuri Kuznetsov c63fed50d5 fix install labels 2024-03-06 13:46:42 +02:00
Yuri Kuznetsov 24a22328c9 prop helper undefined warn 2024-03-05 10:39:32 +02:00
Yuri Kuznetsov 0504410ee9 fix type check 2024-03-05 10:06:38 +02:00
Yuri Kuznetsov 3a1bc73692 update phpseclib 2024-03-05 10:05:41 +02:00
Yuri Kuznetsov f02ee87344 customizationReadOnlyDisabled for account field 2024-03-04 17:00:40 +02:00
Yuri Kuznetsov 7cdcb375b3 wysiwyg audited 2024-03-04 16:09:28 +02:00
Yuri Kuznetsov 52c07987c6 move 2024-03-04 16:06:11 +02:00
Yuri Kuznetsov 11dee6e984 global stream prepare note 2024-03-04 16:05:05 +02:00
Yuri Kuznetsov 036cf4330f fix stream 2024-03-04 15:59:33 +02:00
Yuri Kuznetsov 4fec73307b pg orm tests 2024-03-04 13:42:36 +02:00
Yuri Kuznetsov a58047433b eol 2024-03-04 13:06:10 +02:00
Yuri Kuznetsov e004884352 schema 2024-03-04 13:06:03 +02:00
Yuri Kuznetsov 8aa7236dd6 link select filter 2024-03-04 12:56:07 +02:00
Yuri Kuznetsov 1f297aa42e setOptionList promise 2024-03-04 11:54:36 +02:00
Yuri Kuznetsov b5a0848513 style fix 2024-03-04 11:38:40 +02:00
Yuri Kuznetsov c2ea9781ee cs 2024-03-04 11:04:13 +02:00
Yuri Kuznetsov 93255071ac color fix 2024-03-04 10:27:17 +02:00
Yuri Kuznetsov 313293b57b comments 2024-03-03 13:32:46 +02:00
Yuri Kuznetsov 687ceca26e fix hooksDisabled 2024-03-03 13:25:54 +02:00
Yuri Kuznetsov 55b1c1511a cs 2024-03-03 13:16:35 +02:00
Yuri Kuznetsov 04ccf36966 ref 2024-03-02 19:15:02 +02:00
Yuri Kuznetsov 3eba144998 event repository ref 2024-03-02 19:10:39 +02:00
Yuri Kuznetsov e2bd509aeb hooksDisabled 2024-03-02 18:51:18 +02:00
Yuri Kuznetsov 9be5342220 repositoryClassName, entityClassName in metadata 2024-03-02 18:42:36 +02:00
Yuri Kuznetsov e96c1deffe comment 2024-03-02 18:02:26 +02:00
Yuri Kuznetsov aa53bc89b4 output filters 2024-03-02 13:30:41 +02:00
Yuri Kuznetsov e57bd13f73 lead capture copy to clipboard url 2024-03-01 16:38:46 +02:00
Yuri Kuznetsov 00f30e01d5 style fix 2024-03-01 16:38:32 +02:00
Yuri Kuznetsov fcb73fb3a8 ref 2024-03-01 16:32:00 +02:00
Yuri Kuznetsov fba82f8697 ref, comments 2024-03-01 16:07:57 +02:00
Yuri Kuznetsov 13c8fc15f4 ref 2024-03-01 16:03:27 +02:00
Yuri Kuznetsov 3a3cac54a2 ref 2024-03-01 15:49:30 +02:00
Yuri Kuznetsov 303860d509 forceValidation, ref 2024-03-01 15:39:49 +02:00
Yuri Kuznetsov ba2a740d38 ref 2024-03-01 15:02:37 +02:00
Yuri Kuznetsov 87f4508d1c schema 2024-03-01 14:04:01 +02:00
Yuri Kuznetsov fea79ba8c9 after link record hooks 2024-03-01 13:49:35 +02:00
Yuri Kuznetsov 734ca9b488 cleanup 2024-03-01 13:37:00 +02:00
Yuri Kuznetsov c695e64652 ref, noinsp 2024-03-01 13:20:25 +02:00
Yuri Kuznetsov 77218b788a cleanup 2024-03-01 13:18:02 +02:00
Yuri Kuznetsov e5063c2016 ref 2024-03-01 13:15:01 +02:00
Yuri Kuznetsov a6cfb38433 fix 2024-03-01 12:54:45 +02:00
Yuri Kuznetsov ae657ada61 ref 2024-03-01 12:36:07 +02:00
Yuri Kuznetsov ee8963ace8 ref 2024-03-01 11:12:41 +02:00
Yuri Kuznetsov aca76ae3a6 ref 2024-02-29 20:04:34 +02:00
Yuri Kuznetsov 5e3cdc594d user stream note helper 2024-02-29 17:49:35 +02:00
Yuri Kuznetsov 959fdbab94 ref 2024-02-29 17:38:48 +02:00
Yuri Kuznetsov f19952af12 ref 2024-02-29 17:25:08 +02:00
Yuri Kuznetsov 9b3c59bfa4 ref 2024-02-29 15:47:59 +02:00
Yuri Kuznetsov 55dd4ecf74 formula priority fix 2024-02-29 14:42:25 +02:00
Yuri Kuznetsov bbff632fbc bind user 2024-02-29 12:44:29 +02:00
Yuri Kuznetsov 4127be7f2f record service bind user 2024-02-29 12:05:41 +02:00
Yuri Kuznetsov 3a77ea83a3 record input filters 2024-02-29 11:46:28 +02:00
Yuri Kuznetsov 2bd70eee4b Merge branch 'fix' 2024-02-29 10:15:36 +02:00
Yuri Kuznetsov 0dd34df7d7 isWorkingDay fix 2024-02-29 10:10:33 +02:00
Yuri Kuznetsov 41c0567a4f ref 2024-02-28 15:10:32 +02:00
Yuri Kuznetsov dcaa1e209e rename 2024-02-28 14:59:33 +02:00
Yuri Kuznetsov f1e67d943d rename 2024-02-28 14:54:39 +02:00
Yuri Kuznetsov 70afd19f7f ref 2024-02-28 14:42:22 +02:00
Yuri Kuznetsov 7f6ce95fd6 record create defaults populator 2024-02-28 14:37:45 +02:00
Yuri Kuznetsov 035e1ef9eb Merge branch 'fix' 2024-02-28 10:14:46 +02:00
Yuri Kuznetsov 5988642a89 8.1.5 2024-02-28 10:05:22 +02:00
Yuri Kuznetsov 4964fbb1b2 load link multiple audit was names 2024-02-27 17:55:55 +02:00
Yuri Kuznetsov 2ca3aade8c fix link multiple factory 2024-02-27 12:55:49 +02:00
Yuri Kuznetsov 878f33929b upper case multi word note string items 2024-02-27 12:34:31 +02:00
Yuri Kuznetsov ae340b3279 highlight field on restore 2024-02-27 11:48:08 +02:00
Yuri Kuznetsov 0da0b8974c audit restore 2024-02-27 11:10:52 +02:00
Yuri Kuznetsov d7804bfa79 ref 2024-02-27 10:20:29 +02:00
Yuri Kuznetsov e451126af7 ref 2024-02-26 19:43:47 +02:00
Yuri Kuznetsov 38049d0ef4 upper case status 2024-02-26 18:12:35 +02:00
Yuri Kuznetsov 31e25047cc ref 2024-02-26 18:08:47 +02:00
Yuri Kuznetsov 8d105465a3 ref 2024-02-26 18:06:44 +02:00
Yuri Kuznetsov d8c021def2 fix 2024-02-26 17:57:19 +02:00
Yuri Kuznetsov ba08b8a8af ref 2024-02-26 17:56:17 +02:00
Yuri Kuznetsov 6974c00d02 fix layout manager label conflict 2024-02-26 17:06:57 +02:00
Yuri Kuznetsov 5446914131 ref 2024-02-26 16:54:27 +02:00
Yuri Kuznetsov 68add0bbd7 Update feature_request.md 2024-02-26 16:25:39 +02:00
Yuri Kuznetsov 28d0c4dd6e Update feature_request.md 2024-02-26 16:24:53 +02:00
Yuri Kuznetsov a201f61eeb ref 2024-02-26 15:05:20 +02:00
Yuri Kuznetsov 0ec428b1ed target list mandatoryAttributeList usage 2024-02-26 14:59:03 +02:00
Yuri Kuznetsov a088ca0875 import add field quick search 2024-02-26 14:47:17 +02:00
Yuri Kuznetsov d412766794 fix roles 2024-02-26 13:54:56 +02:00
Yuri Kuznetsov 3cd2a6b74e fix role translations 2024-02-26 13:45:58 +02:00
Yuri Kuznetsov 136ae8ae24 fix link multiple value object factory 2024-02-26 13:28:52 +02:00
Yuri Kuznetsov d80b8ce76b mass link restriction, ref 2024-02-26 13:22:08 +02:00
Yuri Kuznetsov 392616bdd3 ref, deprecate 2024-02-26 12:14:33 +02:00
Yuri Kuznetsov 4d6387e69d duplicateLinkList and ref 2024-02-26 12:04:57 +02:00
Yuri Kuznetsov eebe244247 ref 2024-02-26 11:56:04 +02:00
Yuri Kuznetsov dbfb1c696f role select style 2024-02-26 11:21:53 +02:00
Yuri Kuznetsov 2ed620335f cs 2024-02-26 11:15:09 +02:00
Yuri Kuznetsov 09efbd175d ref 2024-02-26 11:00:45 +02:00
Yuri Kuznetsov e4c67a4a6f fix test 2024-02-25 13:41:07 +02:00
Yuri Kuznetsov e8dd049baf fix test 2024-02-25 12:45:05 +02:00
Yuri Kuznetsov 4c0f3413f3 audit cleanup 2024-02-25 11:21:42 +02:00
Yuri Kuznetsov a052c65b89 fix tests 2024-02-24 14:30:57 +02:00
Yuri Kuznetsov 1bcc81018b fix tests 2024-02-24 12:51:21 +02:00
Yuri Kuznetsov 81ba1b8790 link multiple audited 2024-02-24 10:42:36 +02:00
Yuri Kuznetsov ed946a532e user teams field fix 2024-02-24 10:36:27 +02:00
Yuri Kuznetsov db34e75d1f audited fields 2024-02-24 10:34:49 +02:00
Yuri Kuznetsov bcb588b968 css fix 2024-02-23 17:20:37 +02:00
Yuri Kuznetsov 474e787234 ref 2024-02-23 16:18:21 +02:00
Yuri Kuznetsov 691c62f65d user stream preview size small 2024-02-23 16:17:38 +02:00
Yuri Kuznetsov a3a4d7bf36 fix tests 2024-02-23 16:00:33 +02:00
Yuri Kuznetsov 0bcb9acb02 category entity type metadata params 2024-02-23 11:37:18 +02:00
Yuri Kuznetsov e148b16882 target list ref 2024-02-23 11:05:57 +02:00
Yuri Kuznetsov 3a764fae00 target list opt out ref 2024-02-23 10:43:33 +02:00
Yuri Kuznetsov f46c2d6079 stream followers find refactoring 2024-02-23 10:23:26 +02:00
Yuri Kuznetsov 1847132ded cleanup 2024-02-23 10:14:03 +02:00
Yuri Kuznetsov 5765247f9e followers record service 2024-02-23 10:03:13 +02:00
Yuri Kuznetsov 0ef6c7ed55 cleanup 2024-02-22 22:49:11 +02:00
Yuri Kuznetsov e2e6398026 ref 2024-02-22 22:39:14 +02:00
Yuri Kuznetsov 9cd19228a3 cleanup 2024-02-22 22:37:13 +02:00
Yuri Kuznetsov 4268794990 cleanup 2024-02-22 22:35:17 +02:00
Yuri Kuznetsov de4dcaaecb list rebuild-category-paths 2024-02-22 21:11:40 +02:00
Yuri Kuznetsov b7b1e3056a ref 2024-02-22 20:03:30 +02:00
Yuri Kuznetsov 458a5250f4 recordDefs relationship countDisabled 2024-02-22 20:01:29 +02:00
Yuri Kuznetsov 5cf3856b6a suppress insp 2024-02-22 19:54:47 +02:00
Yuri Kuznetsov 8ddd139111 ref, cleanup 2024-02-22 19:51:26 +02:00
Yuri Kuznetsov 952b94d6fe forceSelectAllAttributes 2024-02-22 19:46:23 +02:00
Yuri Kuznetsov 42e68ecd63 suppress inspection 2024-02-22 18:53:18 +02:00
Yuri Kuznetsov 41fac7ef9d ref 2024-02-22 18:50:13 +02:00
Yuri Kuznetsov 253736870e ref, mandatoryAttributeList 2024-02-22 18:30:16 +02:00
Yuri Kuznetsov 569ff9a81b ref, mandatoryAttributeList 2024-02-22 18:01:37 +02:00
Yuri Kuznetsov 3b17174431 cleanup 2024-02-22 17:43:18 +02:00
Yuri Kuznetsov 52436afda9 ref, docs 2024-02-22 17:34:30 +02:00
Yuri Kuznetsov 531b4cccca cleanup, docs 2024-02-22 16:54:48 +02:00
Yuri Kuznetsov e06544cc0f cleanup 2024-02-22 16:52:03 +02:00
Yuri Kuznetsov c48f4c065c postgres for update fix 2024-02-22 16:29:11 +02:00
Yuri Kuznetsov c4d7a794ea ref 2024-02-22 15:35:53 +02:00
Yuri Kuznetsov e7c777281d ref 2024-02-22 15:30:22 +02:00
Yuri Kuznetsov f687b1543d ref 2024-02-22 15:17:42 +02:00
Yuri Kuznetsov 869bee454d ref 2024-02-22 14:54:13 +02:00
Yuri Kuznetsov 83bcb9176b ref 2024-02-22 14:13:32 +02:00
Yuri Kuznetsov f72c902b6a ref 2024-02-22 14:04:27 +02:00
Yuri Kuznetsov e3f68e1e98 fix tests 2024-02-22 13:55:43 +02:00
Yuri Kuznetsov b002846f7c force append 2024-02-22 13:30:31 +02:00
Yuri Kuznetsov f55cccd7c6 ref 2024-02-22 13:29:15 +02:00
Yuri Kuznetsov 929badd208 ref 2024-02-22 13:02:02 +02:00
Yuri Kuznetsov d347fe66ca suppress inspection implemented 2024-02-22 12:51:32 +02:00
Yuri Kuznetsov 42921ac205 ref 2024-02-22 12:35:18 +02:00
Yuri Kuznetsov 58304ceded ref 2024-02-22 11:40:05 +02:00
Yuri Kuznetsov 0a7d2055be ref 2024-02-22 11:09:17 +02:00
Yuri Kuznetsov 1edc3ead8d ref 2024-02-22 10:50:11 +02:00
dependabot[bot] 231bd7699a Bump phenx/php-svg-lib from 0.5.1 to 0.5.2
Bumps [phenx/php-svg-lib](https://github.com/PhenX/php-svg-lib) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/PhenX/php-svg-lib/releases)
- [Commits](https://github.com/PhenX/php-svg-lib/compare/0.5.1...0.5.2)

---
updated-dependencies:
- dependency-name: phenx/php-svg-lib
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-22 09:38:54 +02:00
Yuri Kuznetsov 4dee2ebb15 relate API option 2024-02-21 18:12:05 +02:00
Yuri Kuznetsov 16f956bdf8 change record create hook order 2024-02-21 16:56:39 +02:00
Yuri Kuznetsov a20ab17236 record update keep entity dirty for after update hook 2024-02-21 16:54:46 +02:00
Yuri Kuznetsov 68c5fe94bf record after hooks 2024-02-21 16:33:47 +02:00
Yuri Kuznetsov 78f536e7f1 ref & deprecations 2024-02-21 16:00:42 +02:00
Yuri Kuznetsov ee408300fd acceptance status direct access disabled 2024-02-21 15:09:10 +02:00
Yuri Kuznetsov 0f146959e5 link field foreign load 2024-02-21 14:08:30 +02:00
Yuri Kuznetsov 449d6a6fcd update test 2024-02-21 13:35:44 +02:00
Yuri Kuznetsov 63afa92fc1 update related fields 2024-02-21 13:25:16 +02:00
Yuri Kuznetsov 2b786af35b email/phone edit mode opt-out invalid cues 2024-02-21 12:33:11 +02:00
Yuri Kuznetsov 231f498eca ref 2024-02-21 12:10:00 +02:00
Yuri Kuznetsov 046aafd97e ref 2024-02-21 12:07:26 +02:00
Yuri Kuznetsov d376847d12 ref 2024-02-21 11:44:41 +02:00
Yuri Kuznetsov befd48d053 dompdf page size in mm 2024-02-21 11:23:52 +02:00
Yuri Kuznetsov ee294f889c ref 2024-02-20 22:33:35 +02:00
Yuri Kuznetsov 5fddac8c6b dashlet autoRefresh method 2024-02-20 16:35:31 +02:00
Yuri Kuznetsov a3d73848a9 ref 2024-02-20 16:31:56 +02:00
Yuri Kuznetsov b829e25f5a email address select isInvalid = false filter 2024-02-20 15:40:26 +02:00
Yuri Kuznetsov 58a6cc1658 clone 2024-02-20 15:29:34 +02:00
Yuri Kuznetsov f7eef2d3c7 ref 2024-02-20 15:25:38 +02:00
Yuri Kuznetsov b5d007c61c ref 2024-02-20 14:03:41 +02:00
Yuri Kuznetsov 8570b6f768 webhook queue items admin ui 2024-02-20 13:22:03 +02:00
Yuri Kuznetsov b02e2f72b6 webhook ui small impr 2024-02-20 12:25:54 +02:00
Yuri Kuznetsov e546509f53 admin panel change 2024-02-20 12:24:26 +02:00
Yuri Kuznetsov 244864c984 menu action items data hyphen key 2024-02-20 11:50:43 +02:00
Yuri Kuznetsov 33af4be469 frontend route specific controller class 2024-02-19 16:28:43 +02:00
Yuri Kuznetsov 29e3470587 stream websocket fix 2024-02-19 14:53:05 +02:00
Yuri Kuznetsov 2b8e764deb Merge branch 'fix' 2024-02-19 14:48:57 +02:00
Yuri Kuznetsov f503144c62 category performance fix 2024-02-19 14:43:04 +02:00
Yuri Kuznetsov 79f7194429 Merge branch 'fix' 2024-02-19 09:55:18 +02:00
Yuri Kuznetsov 6ac13521e8 lang 2024-02-19 09:55:07 +02:00
Yuri Kuznetsov ca0625f15e select where converters inCategory, isUserFromTeams 2024-02-19 09:43:43 +02:00
Yuri Kuznetsov 88c9fbd153 ref 2024-02-18 15:33:07 +02:00
Yuri Kuznetsov 7f51b3a31e cleanup 2024-02-17 22:20:58 +02:00
Yuri Kuznetsov ac0b08fdb7 list sticky bar helper 2024-02-17 22:20:06 +02:00
Yuri Kuznetsov de0e5ea72d copy primary filter hash to clipboard 2024-02-17 19:47:11 +02:00
Yuri Kuznetsov e06d60a3c3 color fix 2024-02-17 19:27:58 +02:00
Yuri Kuznetsov 128bfb09ea fix test 2024-02-17 12:56:59 +02:00
Yuri Kuznetsov 7f0283caf8 list with category support primary filter 2024-02-16 17:55:35 +02:00
Yuri Kuznetsov a00cf5e696 entity manager show primary filters 2024-02-16 16:39:35 +02:00
Yuri Kuznetsov 65a9a0db41 detail view as obj read only 2024-02-16 16:36:40 +02:00
Yuri Kuznetsov 8ac98067de jsdocs 2024-02-16 15:02:22 +02:00
Yuri Kuznetsov f725dc395e ref 2024-02-16 14:50:33 +02:00
Yuri Kuznetsov 6e8368c7c5 fix tests 2024-02-16 13:35:39 +02:00
Yuri Kuznetsov ddd9425463 list view primaryFilter uri param 2024-02-16 13:30:49 +02:00
Yuri Kuznetsov 4739cd1510 docs 2024-02-16 12:03:40 +02:00
Yuri Kuznetsov 5a3c977759 jsdoc 2024-02-16 10:44:21 +02:00
Yuri Kuznetsov 85889ab99d fix deprecation 2024-02-16 10:09:05 +02:00
Yuri Kuznetsov a9dc3a62fb remove preferences link 2024-02-16 09:47:05 +02:00
Yuri Kuznetsov c2ddf89747 fix test 2024-02-15 16:30:19 +02:00
Yuri Kuznetsov 9f743b718a custom prefix 2024-02-15 16:20:51 +02:00
Yuri Kuznetsov 0db4a9c672 address fields max length decrease 2024-02-15 14:03:06 +02:00
Yuri Kuznetsov 2dbdb0da60 ref 2024-02-15 13:37:38 +02:00
Yuri Kuznetsov ba59cb1010 enum max length 100 2024-02-15 13:30:34 +02:00
Yuri Kuznetsov ee36f73ec2 enum 100 max length by default 2024-02-15 13:28:25 +02:00
Yuri Kuznetsov abcbabfbd8 varchar max length 100 by default 2024-02-15 12:57:54 +02:00
Yuri Kuznetsov 5be76d2657 triggerSelectOnValidInput by default 2024-02-15 12:14:06 +02:00
Yuri Kuznetsov ddb92f66e7 search ui autocomplete 2024-02-15 12:11:41 +02:00
Yuri Kuznetsov f52759cd00 autocomplete fixes 2024-02-15 12:09:35 +02:00
Yuri Kuznetsov b0d9d7779f ui autocomplete usage 2024-02-15 10:44:42 +02:00
Yuri Kuznetsov 8cd6912fee fix record prev/next if no total 2024-02-15 09:19:44 +02:00
Yuri Kuznetsov bc58ca647d disabled button fix 2024-02-15 09:09:35 +02:00
Yuri Kuznetsov 1456569cf6 ui autocomplete changes 2024-02-14 21:36:20 +02:00
Yuri Kuznetsov e1e7d3d093 link multiple column ui autocomplete usage 2024-02-14 20:57:18 +02:00
Yuri Kuznetsov 495cd0f259 autocomplete email addresses 2024-02-14 16:40:25 +02:00
Yuri Kuznetsov f4371efa1c ui autocomplete 2024-02-14 16:17:07 +02:00
Yuri Kuznetsov d83b05e030 auth log layout 2024-02-14 13:06:38 +02:00
Yuri Kuznetsov bf8267c2a8 move 2024-02-14 13:04:41 +02:00
Yuri Kuznetsov 3bad29ed6d use force settings 2024-02-14 13:01:01 +02:00
Yuri Kuznetsov cbae4d89e4 force and disable list view settings 2024-02-14 12:56:42 +02:00
Yuri Kuznetsov 18f89aebbb update cron-expression 2024-02-14 12:47:33 +02:00
Yuri Kuznetsov c2b4caf723 menu item disabled 2024-02-14 12:14:42 +02:00
Yuri Kuznetsov c5f3a9e366 Merge branch 'fix' 2024-02-14 11:54:19 +02:00
Yuri Kuznetsov da826eace1 fix menu items disable 2024-02-14 11:48:57 +02:00
Yuri Kuznetsov 54de942e7f modal clear on close 2024-02-14 11:17:14 +02:00
Yuri Kuznetsov 0093bf9b79 fix 2024-02-14 11:08:43 +02:00
Yuri Kuznetsov 8e9dcb5d62 role add field ignore fields 2024-02-14 11:04:52 +02:00
Yuri Kuznetsov 38e909dfca role add field focus 2024-02-14 10:57:27 +02:00
Yuri Kuznetsov 6b0276dc22 role: add multiple fields 2024-02-14 10:52:22 +02:00
Yuri Kuznetsov 0d19dfa7b8 role add field quick search 2024-02-13 19:51:18 +02:00
Yuri Kuznetsov 13052b2969 log failed queries 2024-02-13 16:52:36 +02:00
Yuri Kuznetsov 1f9de30ff0 import step2 route change 2024-02-13 15:15:58 +02:00
Yuri Kuznetsov 5b708c1d8d import underscore match 2024-02-13 15:03:47 +02:00
Yuri Kuznetsov ed92d68317 Merge branch 'fix' 2024-02-13 14:38:41 +02:00
Yuri Kuznetsov 2a3bbf13a5 import preivew fix 2024-02-13 14:38:23 +02:00
Yuri Kuznetsov 330fccad25 email address insert fix 2024-02-13 14:06:39 +02:00
Rabii Brahimi 14243b5ef7 Remove Duplication 2024-02-13 14:06:31 +02:00
Yuri Kuznetsov 9c702814b2 onlyMy filter 2024-02-13 13:05:54 +02:00
Yuri Kuznetsov ba7acc5443 ref 2024-02-13 12:47:18 +02:00
Yuri Kuznetsov 10557ca1ec load accountIsInactive on list view 2024-02-13 12:19:04 +02:00
Rabii Brahimi 2085701516 Update Layout index.tpl 2024-02-13 11:14:14 +02:00
Yuri Kuznetsov 88ba56618e formula today honot default timezone 2024-02-13 11:00:37 +02:00
Yuri Kuznetsov c35545c209 label manager quick search 2024-02-12 15:05:11 +02:00
Yuri Kuznetsov 585a859340 ref 2024-02-12 14:10:41 +02:00
Yuri Kuznetsov cf214de06c Merge branch 'fix' 2024-02-12 12:08:37 +02:00
Yuri Kuznetsov 2c83edf691 email skip index if one 2024-02-12 12:01:47 +02:00
Yuri Kuznetsov 2f14c49215 ref 2024-02-12 11:40:40 +02:00
Yuri Kuznetsov 72e68e1a6f ref 2024-02-12 10:33:39 +02:00
Yuri Kuznetsov 5ff535cab1 ref 2024-02-12 10:16:17 +02:00
Yuri Kuznetsov 90e6acf8b9 lang fix 2024-02-12 10:15:04 +02:00
Yuri Kuznetsov e5e29101fd web socket wait interval 2024-02-11 16:46:19 +02:00
Yuri Kuznetsov 47735aaa0b email attachment show alert 2024-02-11 10:08:42 +02:00
Yuri Kuznetsov 43eb2f8d36 date picker assumeNearbyYear 2024-02-10 22:33:39 +02:00
Yuri Kuznetsov 1d3c0074d4 ref 2024-02-10 19:14:03 +02:00
Yuri Kuznetsov e8f07e0765 supresses 2024-02-10 18:35:55 +02:00
Yuri Kuznetsov 54216709b2 text field audited 2024-02-10 15:30:34 +02:00
Yuri Kuznetsov 9f6f034f97 cs 2024-02-10 14:38:23 +02:00
Yuri Kuznetsov e0c74aa2ad fix docs 2024-02-10 11:37:41 +02:00
Yuri Kuznetsov c083e1b97d clear attribute function 2024-02-10 09:43:36 +02:00
Yuri Kuznetsov c4078ed8f1 fix doc 2024-02-10 09:10:59 +02:00
Yuri Kuznetsov 4001e40613 rename 2024-02-09 16:03:09 +02:00
Yuri Kuznetsov a19deac279 error msg 2024-02-09 14:30:54 +02:00
Yuri Kuznetsov f655e543b1 websocket ping 2024-02-09 14:15:20 +02:00
Yuri Kuznetsov 5031e7f430 fix 2024-02-09 13:28:16 +02:00
Yuri Kuznetsov 7f75ee6ed8 websocket re-subscribe on connection restore 2024-02-09 12:33:54 +02:00
Yuri Kuznetsov bde2e0284a ws keep alive 2024-02-09 10:24:09 +02:00
Yuri Kuznetsov 026826fc84 preferences tab fields translations 2024-02-08 17:40:23 +02:00
Yuri Kuznetsov c5f5d88f75 style enum color 2024-02-08 17:15:08 +02:00
Yuri Kuznetsov 3ae4478a70 schema fix 2024-02-08 16:01:55 +02:00
Yuri Kuznetsov 246ece8e3d audit log 2024-02-08 15:53:01 +02:00
Yuri Kuznetsov 2681acebc6 fix schema 2024-02-08 15:50:27 +02:00
Yuri Kuznetsov a611301c5a css fix 2024-02-08 13:29:22 +02:00
Yuri Kuznetsov 3f2ffb851f ref 2024-02-08 10:24:08 +02:00
Yuri Kuznetsov daa37961e4 tryGetForeignEntityType 2024-02-08 09:59:12 +02:00
Yuri Kuznetsov 66b336279a layout css change 2024-02-07 16:47:32 +02:00
Yuri Kuznetsov c99804621d remove labels from tempalte detail layouts 2024-02-07 16:44:46 +02:00
Yuri Kuznetsov 2ebbc942d3 RDBRelation generic 2024-02-07 15:56:56 +02:00
Yuri Kuznetsov b81d6962ae cs 2024-02-07 15:43:22 +02:00
Yuri Kuznetsov dc89f75678 translatable panel note 2024-02-07 14:12:46 +02:00
Yuri Kuznetsov 1ccd70b3fc panel notes 2024-02-07 13:28:20 +02:00
Yuri Kuznetsov 0b3002979e alert content style 2024-02-07 13:26:01 +02:00
Yuri Kuznetsov 25dfa76807 merge 2024-02-07 11:58:36 +02:00
Yuri Kuznetsov db26c579b0 8.1.4 2024-02-07 11:35:44 +02:00
Yuri Kuznetsov 623b26f60f email phone fields save fix 2024-02-07 09:42:59 +02:00
Yuri Kuznetsov fec6bf8ee0 mass email link checker 2024-02-07 09:01:56 +02:00
Yuri Kuznetsov 46760ccfba calendar suppress loading alert 2024-02-06 15:44:57 +02:00
Yuri Kuznetsov 214a32c472 preferences: hide panel 2024-02-06 13:34:52 +02:00
Yuri Kuznetsov ee6a4607d8 fix 2024-02-06 13:29:23 +02:00
Yuri Kuznetsov 5a3b3ab2e8 url tab 2024-02-06 13:20:50 +02:00
Yuri Kuznetsov 5d5000fbbd url not optional protocol 2024-02-06 13:18:43 +02:00
Yuri Kuznetsov 554668f1bd url reg exp 2024-02-06 13:18:24 +02:00
Yuri Kuznetsov 7ff8b1ecee fix validation msg 2024-02-06 10:41:40 +02:00
Yuri Kuznetsov 0858b845fb ref 2024-02-06 10:33:56 +02:00
Yuri Kuznetsov d480113b90 cs 2024-02-06 10:24:16 +02:00
Yuri Kuznetsov 8f8370b5bc jsdoc fix 2024-02-06 10:24:11 +02:00
Yuri Kuznetsov cfcc1b06f9 calendar scroll hour 2024-02-06 09:57:03 +02:00
Yuri Kuznetsov 7dbb842085 field generics 2024-02-06 09:36:55 +02:00
Yuri Kuznetsov 76bb7d3e49 cs 2024-02-06 09:15:47 +02:00
Yuri Kuznetsov 3d79861ffb options 0 fix 2024-02-06 09:11:43 +02:00
Yuri Kuznetsov 236942c902 preferences layout 2024-02-06 09:00:48 +02:00
Yuri Kuznetsov 3efe0a0fe0 mailto: cut body length 2024-02-06 08:30:21 +02:00
Yuri Kuznetsov 9d933a5d95 mailto error fix 2024-02-06 08:22:42 +02:00
Yuri Kuznetsov 24eb879352 ref mailto 2024-02-05 21:58:56 +02:00
Yuri Kuznetsov f0141cd725 remove phpstan ignore 2024-02-05 19:41:11 +02:00
Yuri Kuznetsov 9a82bc7c5a cs 2024-02-05 19:38:05 +02:00
Yuri Kuznetsov b42bfefef9 signature codeview 2024-02-05 18:20:51 +02:00
Yuri Kuznetsov 47e881af60 ref 2024-02-05 17:44:42 +02:00
Yuri Kuznetsov 442284fee2 enum label in link mode 2024-02-05 17:28:18 +02:00
Yuri Kuznetsov 49a6454999 middle dot usage 2024-02-05 17:05:47 +02:00
Yuri Kuznetsov a95e52a10c checkFilePermissions command 2024-02-05 16:20:09 +02:00
Yuri Kuznetsov b2f1f00875 ref 2024-02-05 16:19:07 +02:00
Yuri Kuznetsov 91b50cdcc4 typo 2024-02-05 16:07:51 +02:00
Yuri Kuznetsov 078bd7c80e ref 2024-02-05 15:58:48 +02:00
Yuri Kuznetsov 7641918224 image entryPoint ref 2024-02-05 15:24:41 +02:00
Yuri Kuznetsov a90198d50e composer email pass accountId 2024-02-05 14:53:54 +02:00
Yuri Kuznetsov dcff1748b7 email full form fix dialog issue 2024-02-05 14:13:23 +02:00
Yuri Kuznetsov 5f903d8ce2 email/phone not null performance 2024-02-05 14:10:49 +02:00
Yuri Kuznetsov 92fdea37d1 fix 2024-02-05 13:40:36 +02:00
Yuri Kuznetsov 7e59fafb3f cs ref 2024-02-05 13:17:52 +02:00
Yuri Kuznetsov ae58224f95 email search null 2024-02-05 13:14:15 +02:00
Yuri Kuznetsov 857c5eee6f ref 2024-02-05 13:14:07 +02:00
Yuri Kuznetsov adb7f876aa email address select 2024-02-05 12:41:24 +02:00
Yuri Kuznetsov 6b282c378a jsdoc fix 2024-02-05 09:51:22 +02:00
Yuri Kuznetsov aaca0fc47b add title 2024-02-05 09:38:48 +02:00
Yuri Kuznetsov 4681493b58 suppress inspection 2024-02-05 09:36:03 +02:00
Yuri Kuznetsov 37b0c15c1a ref 2024-02-04 14:57:28 +02:00
Yuri Kuznetsov f7c29ef4e6 wysiwyg disable dnd 2024-02-03 18:11:39 +02:00
Yuri Kuznetsov 15c08c347d renaming 2024-02-03 16:48:20 +02:00
Yuri Kuznetsov 4bf5f85644 email address do not search in portal users 2024-02-03 16:47:20 +02:00
Yuri Kuznetsov dfe09dac0e ref 2024-02-03 16:44:38 +02:00
Yuri Kuznetsov ce26ecc8c1 calendar: fix loading notify 2024-02-03 15:07:23 +02:00
Yuri Kuznetsov 356971cc66 calendar scroll hour 8 if duration is 15 2024-02-03 15:03:13 +02:00
Yuri Kuznetsov 82413cd3fd calendar slot duration 1h 2024-02-03 15:00:22 +02:00
Yuri Kuznetsov f07f3de1bd settings layout 2024-02-03 14:47:07 +02:00
Yuri Kuznetsov 33072072c4 ref cs 2024-02-03 13:52:37 +02:00
Yuri Kuznetsov 94351646b1 add ext-ctype 2024-02-03 13:42:30 +02:00
Yuri Kuznetsov c766465527 dashlet chart no overflow hidden 2024-02-03 12:40:35 +02:00
Yuri Kuznetsov b982ab9daf ref 2024-02-03 10:26:48 +02:00
Yuri Kuznetsov 114682b49f cs 2024-02-03 09:25:24 +02:00
Yuri Kuznetsov 0e5dcb0d40 email queue item fixes 2024-02-02 18:21:12 +02:00
Yuri Kuznetsov 3f491f1a9a Merge branch 'fix' 2024-02-02 16:37:51 +02:00
Yuri Kuznetsov f5a655b9fc markdlow blockquote fix 2024-02-02 16:30:08 +02:00
Yuri Kuznetsov 62494e9c12 ref 2024-02-02 16:19:15 +02:00
Yuri Kuznetsov c88e34fe8f Merge branch 'fix' 2024-02-02 16:09:58 +02:00
Yuri Kuznetsov 1a5abe6363 calendar fix is today 2024-02-02 16:09:34 +02:00
Yuri Kuznetsov 2f3c775d4f calendar: scroll to now 2024-02-02 16:08:01 +02:00
Yuri Kuznetsov 7078efcc20 calendar: do not add 30 mins 2024-02-02 14:54:40 +02:00
Yuri Kuznetsov e73eb87374 preferences ctrl+s 2024-02-02 14:49:34 +02:00
Yuri Kuznetsov 471a209d86 ref 2024-02-02 14:47:44 +02:00
Yuri Kuznetsov fabb88d611 prefernces: calendar slot duration 2024-02-02 14:40:17 +02:00
Yuri Kuznetsov d7d7752868 enum-int/float support null 2024-02-02 14:03:21 +02:00
Yuri Kuznetsov 0fe9041272 preferences layout change 2024-02-02 13:47:24 +02:00
Yuri Kuznetsov 860680aaa1 fix formula function return type 2024-02-01 18:10:24 +02:00
Yuri Kuznetsov 1640bdf172 Merge branch 'fix' 2024-02-01 16:22:12 +02:00
Yuri Kuznetsov aced5fcab9 8.1.3 2024-02-01 16:14:48 +02:00
Yuri Kuznetsov f786690f1e markdown fix 2024-02-01 15:58:10 +02:00
Yuri Kuznetsov 9a1495199b Merge branch 'fix' 2024-02-01 11:52:00 +02:00
Yuri Kuznetsov 19d227e81d 8.1.2 2024-02-01 11:42:39 +02:00
Yuri Kuznetsov 00504630c6 fix sender property not set 2024-02-01 11:30:24 +02:00
Yuri Kuznetsov 15d264acce merge 2024-02-01 11:01:13 +02:00
Yuri Kuznetsov 4f6e1ed1ec fix scrollbar for chrome 121 2024-02-01 10:59:38 +02:00
Yuri Kuznetsov 959e8d3acc Merge branch 'fix' 2024-01-31 15:24:26 +02:00
Yuri Kuznetsov e6d1048ebd fix markdown 2024-01-31 15:18:42 +02:00
Yuri Kuznetsov b2edf702ce role: store in memory 2024-01-31 12:58:46 +02:00
Yuri Kuznetsov 4837474bb0 role table dropdown hiding fix 2024-01-31 12:30:22 +02:00
Yuri Kuznetsov b052eacba7 role table do not show not-set as no 2024-01-31 12:27:59 +02:00
Yuri Kuznetsov 0129305c5f portal role table fix 2024-01-31 12:17:15 +02:00
Yuri Kuznetsov 5a725b79c9 entity manager list module 2024-01-31 12:10:06 +02:00
Yuri Kuznetsov c4f706e918 role table: group by module 2024-01-31 11:58:22 +02:00
Yuri Kuznetsov 9673f09c9f role table style fix 2024-01-31 11:04:40 +02:00
Yuri Kuznetsov 6a84ccbd4e Merge branch 'fix' 2024-01-30 18:11:32 +02:00
Yuri Kuznetsov 3babdfa339 validate url 2024-01-30 17:40:38 +02:00
Yuri Kuznetsov 14587ee65c wysiwyg: hide attach button in inlide edit 2024-01-30 16:39:12 +02:00
Yuri Kuznetsov ef2d129699 ref 2024-01-30 16:34:35 +02:00
Yuri Kuznetsov 580c0bef0a ref 2024-01-30 14:29:43 +02:00
Yuri Kuznetsov eef7fef69b cs 2024-01-30 14:16:52 +02:00
Yuri Kuznetsov 4d1776f9ff date filter between range 2024-01-30 13:20:27 +02:00
Yuri Kuznetsov f92c21c9c0 ref 2024-01-30 12:40:10 +02:00
Yuri Kuznetsov fac8730ddd cs 2024-01-30 12:36:25 +02:00
Yuri Kuznetsov a3fe58f61b update phpstan 2024-01-30 11:40:31 +02:00
Yuri Kuznetsov 696a25fe82 update symfony libs 2024-01-30 11:01:05 +02:00
Yuri Kuznetsov 04b28dc88f pass date: true 2024-01-29 18:15:27 +02:00
Yuri Kuznetsov abbffb9b15 date filters time zone 2024-01-29 16:45:15 +02:00
Yuri Kuznetsov 1cd914e5a7 ref 2024-01-29 10:59:52 +02:00
Yuri Kuznetsov 6b7bf55acb cs 2024-01-29 10:56:59 +02:00
Yuri Kuznetsov eddcb797e4 catching exception 2024-01-29 10:42:04 +02:00
Yuri Kuznetsov 3014e9253b phpdocs, cs 2024-01-29 10:19:20 +02:00
Yuri Kuznetsov 016489ffba ref, cs 2024-01-29 10:16:25 +02:00
Yuri Kuznetsov 96ea9e225c date-time transformer default time zone 2024-01-29 10:12:14 +02:00
Yuri Kuznetsov c4cfc204e7 date time transformer interface 2024-01-28 17:08:48 +02:00
Yuri Kuznetsov 00f5433518 fix role validation 2024-01-28 12:45:22 +02:00
Yuri Kuznetsov 3077589cff todo 2024-01-27 19:58:15 +02:00
Yuri Kuznetsov 3e3258a4b7 cs ref 2024-01-27 19:55:43 +02:00
Yuri Kuznetsov dee0f9937e role create update test 2024-01-27 19:53:23 +02:00
Yuri Kuznetsov 1138a4deb1 role, validate field exists 2024-01-27 19:53:14 +02:00
Yuri Kuznetsov 720b14b804 roles ui ref 2024-01-27 18:38:53 +02:00
Yuri Kuznetsov 196f328312 role not modified fix 2024-01-27 18:38:53 +02:00
Yuri Kuznetsov 1eb7215162 ref 2024-01-27 18:38:53 +02:00
Yuri Kuznetsov 52762cc738 roles validation 2024-01-27 18:38:53 +02:00
Yuri Kuznetsov c3c38e3510 Update README.md 2024-01-27 14:12:09 +02:00
Yuri Kuznetsov 5dcb112621 Update CONTRIBUTING.md 2024-01-27 14:09:38 +02:00
Yuri Kuznetsov 3a9e5fc0cd Update README.md 2024-01-27 14:08:06 +02:00
Yuri Kuznetsov a789fabe2e Update CONTRIBUTING.md 2024-01-27 14:06:53 +02:00
Yuri Kuznetsov 6c8f5e8a16 Update README.md 2024-01-27 13:54:54 +02:00
Yuri Kuznetsov cf08bbdd00 disalbe field level for template 2024-01-27 12:30:21 +02:00
Yuri Kuznetsov 80a7765fdd role permissions style 2024-01-27 12:30:21 +02:00
Yuri Kuznetsov 119948938e fix role add field 2024-01-27 12:30:21 +02:00
Yuri Kuznetsov b9563cfdc0 acl field level disabled param 2024-01-27 12:30:21 +02:00
Yuri Kuznetsov 97e9786fa6 translation 2024-01-27 12:30:21 +02:00
Yuri Kuznetsov 60a4541e24 role ui impr 2024-01-27 12:30:21 +02:00
Yuri Kuznetsov 52ae19b896 style fix 2024-01-27 12:30:21 +02:00
Yuri Kuznetsov 8973e976ca Update CONTRIBUTING.md 2024-01-26 22:58:50 +02:00
Yuri Kuznetsov 5ebee4bec7 roles quick search 2024-01-26 15:23:32 +02:00
Yuri Kuznetsov c34b2acf9b cs 2024-01-26 15:07:37 +02:00
Yuri Kuznetsov cd400e5090 ref 2024-01-26 14:44:14 +02:00
Yuri Kuznetsov b433538ab2 link-parent: autocomplete on empty input 2024-01-26 14:20:26 +02:00
Yuri Kuznetsov 0a8cc398fe ref cs 2024-01-26 13:42:25 +02:00
Yuri Kuznetsov a8e37d9486 oidc: nonce and state longer 2024-01-26 13:36:56 +02:00
Yuri Kuznetsov 288b017355 sanitizers 2024-01-26 13:02:49 +02:00
Yuri Kuznetsov 91745580d8 module route order 2024-01-26 11:34:33 +02:00
Yuri Kuznetsov d0d652dba9 route overriding 2024-01-26 11:12:17 +02:00
Yuri Kuznetsov 96f9f89b7b cs 2024-01-26 11:11:52 +02:00
Yuri Kuznetsov 2f093011a2 ref and cleanup 2024-01-26 11:06:52 +02:00
Yuri Kuznetsov cfe55c1975 task list view layout change 2024-01-26 10:34:50 +02:00
Yuri Kuznetsov 42dc0d754f schema 2024-01-25 17:28:11 +02:00
Yuri Kuznetsov 1623257b17 auth log method full list 2024-01-25 16:28:02 +02:00
Yuri Kuznetsov 3f27256589 auth log more fields 2024-01-25 16:21:39 +02:00
Yuri Kuznetsov 52c34b6d35 Merge branch 'fix' 2024-01-25 16:13:11 +02:00
Yuri Kuznetsov e95fcc6532 oidc popup login fix 2024-01-25 15:43:10 +02:00
Yuri Kuznetsov d5b6c0aec1 fix layout 2024-01-25 15:37:05 +02:00
Yuri Kuznetsov 485bcfc039 alert style 2024-01-25 11:48:53 +02:00
Yuri Kuznetsov 1cbcf7048c color fix 2024-01-25 11:41:08 +02:00
Yuri Kuznetsov 4d90aec5a6 orm: clear query composer seed cache on metadata update 2024-01-25 11:28:33 +02:00
Yuri Kuznetsov 85b2a72624 msg change 2024-01-24 16:36:28 +02:00
Yuri Kuznetsov acd5d78d30 import: relate by foreign field 2024-01-24 16:23:57 +02:00
Yuri Kuznetsov c81e4a8194 currency not modified fix 2024-01-24 15:23:06 +02:00
Yuri Kuznetsov 81fcd57e3a ref 2024-01-24 14:38:06 +02:00
Yuri Kuznetsov 6dd940cfab import ref 2024-01-24 14:26:15 +02:00
Yuri Kuznetsov a1bdb6c308 send test email error message translation 2024-01-24 12:19:21 +02:00
Yuri Kuznetsov 525397e64d config override 2024-01-24 11:36:32 +02:00
Yuri Kuznetsov e4af67aa68 ref 2024-01-24 10:44:24 +02:00
Yuri Kuznetsov 2d7d8812fd Merge branch 'fix' 2024-01-23 19:59:37 +02:00
Yuri Kuznetsov 069d70176a fix log 2024-01-23 19:41:44 +02:00
Yuri Kuznetsov 726ecefd55 array focus on main element 2024-01-23 14:10:47 +02:00
Yuri Kuznetsov 69fbf9d1ad not read emails bolder font 2024-01-23 13:43:32 +02:00
Yuri Kuznetsov 38e89f4e4d table border changes wysiwyg 2024-01-23 13:20:23 +02:00
Yuri Kuznetsov b3ff273b7c ref 2024-01-23 11:29:49 +02:00
Yuri Kuznetsov fb0be72b56 clearnup 2024-01-23 11:20:02 +02:00
Yuri Kuznetsov 339fbffbb7 wysiwyg param to disable code editor 2024-01-23 11:11:06 +02:00
Yuri Kuznetsov 5c308bb60c wysiwyg: remove beautifier 2024-01-23 11:02:50 +02:00
Yuri Kuznetsov 514fe6e98d wysiwyg: disable prettifyHtml 2024-01-23 10:53:02 +02:00
Yuri Kuznetsov a80d7fddba try catch gotoline 2024-01-23 10:38:07 +02:00
Yuri Kuznetsov ec11a89496 pdf template: add created at filter 2024-01-23 10:23:47 +02:00
Yuri Kuznetsov 61aa5f907d fix 2024-01-22 21:21:40 +02:00
Yuri Kuznetsov ac7ba173cd htmlizer fix iterate and test 2024-01-22 20:12:29 +02:00
Yuri Kuznetsov fe7a764935 ref 2024-01-22 19:51:00 +02:00
Yuri Kuznetsov c1190d348b Merge branch 'master' into f/iterate 2024-01-22 16:40:47 +02:00
Yuri Kuznetsov a81c8518b8 wysiwyg code view improvements 2024-01-22 15:56:26 +02:00
Yuri Kuznetsov d7f533118a naming 2024-01-22 11:18:10 +02:00
Yuri Kuznetsov 252fdc4208 cs 2024-01-22 09:22:40 +02:00
Yuri Kuznetsov c1d28655da template iterate 2024-01-21 18:26:39 +02:00
Yuri Kuznetsov 77c2e8abc4 Merge branch 'fix' 2024-01-20 21:37:25 +02:00
Yuri Kuznetsov 0a4dba4343 markdown backtick fix 2024-01-20 21:37:10 +02:00
Yuri Kuznetsov b6179463b1 style completion 2024-01-20 20:11:05 +02:00
Yuri Kuznetsov 99bd7ae437 pdf template style 2024-01-20 19:37:15 +02:00
Yuri Kuznetsov e968388ba7 wysiwyg codeview min height 2024-01-20 18:56:59 +02:00
Yuri Kuznetsov 60be576f9d Merge branch 'fix' 2024-01-18 15:07:38 +02:00
Yuri Kuznetsov 4c4c6d2402 use markdown extra in helper 2024-01-18 15:05:24 +02:00
Yuri Kuznetsov 47249776a0 ref 2024-01-17 13:05:00 +02:00
Yuri Kuznetsov c8f4fa437d ref 2024-01-17 12:41:55 +02:00
Yuri Kuznetsov 09c1b575a7 ref 2024-01-17 12:32:17 +02:00
Yuri Kuznetsov 2437b0d901 Merge branch 'fix' 2024-01-17 10:28:38 +02:00
Yuri Kuznetsov e16640ba24 8.1.1 2024-01-17 10:00:32 +02:00
Yuri Kuznetsov 0a33ad6542 remove CURLOPT_BINARYTRANSFER usage 2024-01-16 17:57:55 +02:00
Yuri Kuznetsov 7ee626edf8 select field handler pass model 2024-01-16 17:29:29 +02:00
Yuri Kuznetsov 600b58be75 select handler order 2024-01-16 17:27:43 +02:00
Yuri Kuznetsov 5601704ac1 Merge branch 'fix' 2024-01-16 17:01:18 +02:00
Yuri Kuznetsov f4c7ba6686 link order in handler 2024-01-16 16:45:50 +02:00
Yuri Kuznetsov 4eb6386b6e stream super parent performance impr 2024-01-16 10:12:33 +02:00
Yuri Kuznetsov 9c78970712 layoutIgnoreList 2024-01-16 09:50:05 +02:00
Yuri Kuznetsov e465e25adb syle fix 2024-01-15 17:04:02 +02:00
Yuri Kuznetsov 4d735e9e26 user stream activity 2024-01-15 16:19:53 +02:00
Yuri Kuznetsov 28bc720bbc rename 2024-01-15 16:19:21 +02:00
Yuri Kuznetsov 0fc170e1c3 ref 2024-01-15 15:42:47 +02:00
Yuri Kuznetsov 012d98d303 ref 2024-01-15 15:39:39 +02:00
Yuri Kuznetsov 180bc99726 Merge branch 'fix' 2024-01-15 13:29:24 +02:00
Yuri Kuznetsov 541a6b25e7 email-to-task link access 2024-01-15 13:22:17 +02:00
Yuri Kuznetsov e537d64c5b user bottom panels layout 2024-01-15 13:09:28 +02:00
Yuri Kuznetsov 03de09c836 user stream panel in layout manager 2024-01-15 12:03:15 +02:00
Yuri Kuznetsov 9dc309390a cs 2024-01-15 12:02:32 +02:00
Yuri Kuznetsov 8280f31180 global stream optimization 2024-01-15 11:44:37 +02:00
Yuri Kuznetsov 61a1227f87 user stream ref, add index 2024-01-15 11:18:06 +02:00
Yuri Kuznetsov 02c37924aa created complex impr 2024-01-15 10:09:25 +02:00
Yuri Kuznetsov ddc4baf5e2 Merge branch 'fix' 2024-01-15 09:58:34 +02:00
Yuri Kuznetsov 0bb0f80c54 html fix 2024-01-15 09:58:21 +02:00
Yuri Kuznetsov 63f975516a note fix 2024-01-14 18:53:27 +02:00
Yuri Kuznetsov 9160c8319d global stream optimization 2024-01-14 18:47:37 +02:00
Yuri Kuznetsov d268b0335e global stream 2024-01-14 14:08:43 +02:00
Yuri Kuznetsov 6b355c645c Merge branch 'fix' 2024-01-14 11:14:50 +02:00
Yuri Kuznetsov 54f8758aba varchar fix 2024-01-14 11:14:36 +02:00
Yuri Kuznetsov f7b2ad17be fix searchParams null 2024-01-14 11:01:34 +02:00
Yuri Kuznetsov 951e981d8e stream posts optimization 2024-01-13 15:35:26 +02:00
Yuri Kuznetsov c4c301d363 Merge branch 'fix' 2024-01-13 12:35:56 +02:00
Yuri Kuznetsov d6dfc1226b field validation popover fix 2024-01-13 12:29:35 +02:00
Yuri Kuznetsov 50821924f2 field validation popover fix 2024-01-13 12:29:20 +02:00
Yuri Kuznetsov 3c01011c28 cs 2024-01-13 12:00:53 +02:00
Yuri Kuznetsov d674176356 stream refresh btn impr 2024-01-13 11:33:01 +02:00
Yuri Kuznetsov 8c60396197 spin animation 2024-01-13 11:32:23 +02:00
Yuri Kuznetsov 4a5b442f35 stream ui changes 2024-01-13 11:12:35 +02:00
Yuri Kuznetsov 80ea398660 add note index type 2024-01-13 11:00:06 +02:00
Yuri Kuznetsov 69aae1abfa comment 2024-01-12 18:03:50 +02:00
Yuri Kuznetsov c528a98820 stream comment and ref 2024-01-12 17:39:48 +02:00
Yuri Kuznetsov 89fa12c6db ref 2024-01-12 17:25:56 +02:00
Yuri Kuznetsov 34598d73a3 ref 2024-01-12 16:55:52 +02:00
Yuri Kuznetsov c507aeae4a ref 2024-01-12 16:35:38 +02:00
Yuri Kuznetsov 356ce3cc42 stream user service ref 2024-01-12 16:02:11 +02:00
Yuri Kuznetsov 560f145324 add indexes 2024-01-12 15:29:31 +02:00
Yuri Kuznetsov 4308fb3f9b ref stream user record service 2024-01-12 15:29:22 +02:00
Yuri Kuznetsov a17b66c6dc revert regexp fix 2024-01-12 14:38:31 +02:00
Yuri Kuznetsov f52a3ba773 ref cs 2024-01-12 13:53:54 +02:00
Yuri Kuznetsov f865338ad0 comment 2024-01-12 13:36:36 +02:00
Yuri Kuznetsov 7221207fe5 user stream query change 2024-01-12 13:16:47 +02:00
Yuri Kuznetsov cbc61b533f ref 2024-01-12 13:11:17 +02:00
Yuri Kuznetsov bdff8767f7 stream user query impr 2024-01-12 13:10:09 +02:00
Yuri Kuznetsov 26f3a9215d user stream service ref 2024-01-12 11:39:52 +02:00
Yuri Kuznetsov 15e34647fb ref stream service 2024-01-12 11:19:46 +02:00
Yuri Kuznetsov d121aa5a9f ref 2024-01-12 10:51:07 +02:00
Yuri Kuznetsov 7d77f754c5 ref 2024-01-12 10:13:45 +02:00
Yuri Kuznetsov 2012c4d161 select ref 2024-01-12 10:05:44 +02:00
Yuri Kuznetsov fed9ede878 Merge branch 'fix' 2024-01-11 19:26:38 +02:00
Yuri Kuznetsov dcdc94365e findRelationMany function random alias 2024-01-11 19:24:53 +02:00
Yuri Kuznetsov 4b12716961 calendar loading 2024-01-11 17:06:28 +02:00
Yuri Kuznetsov db2f387a77 cs 2024-01-11 17:03:27 +02:00
Yuri Kuznetsov cb972fdf17 entity: assoc array to stdClass 2024-01-11 16:47:37 +02:00
Yuri Kuznetsov 5c34d57012 ref 2024-01-11 16:38:17 +02:00
Yuri Kuznetsov 3906aa245c ref 2024-01-11 16:36:37 +02:00
Yuri Kuznetsov c86daf3a68 cs 2024-01-11 16:23:47 +02:00
Yuri Kuznetsov 9bafd81093 phone/email set data make first primary 2024-01-11 16:11:14 +02:00
Yuri Kuznetsov 5305a27c60 ref 2024-01-11 15:19:41 +02:00
Yuri Kuznetsov 6b30ca05db compose email address for base plus 2024-01-11 13:39:19 +02:00
Yuri Kuznetsov b99c17c7cd cs 2024-01-11 12:35:50 +02:00
Yuri Kuznetsov fabaccd3da case compose email support person 2024-01-11 12:14:28 +02:00
Yuri Kuznetsov 48c0ae93f4 cs 2024-01-11 12:11:19 +02:00
Yuri Kuznetsov 30768071bf cs 2024-01-11 11:50:34 +02:00
Yuri Kuznetsov 68b619e276 ui impr 2024-01-11 11:15:06 +02:00
Yuri Kuznetsov d5a441b0e8 confirm messages 2024-01-11 10:54:55 +02:00
Yuri Kuznetsov a5ed0864be ref 2024-01-11 10:40:56 +02:00
Yuri Kuznetsov 7db9fe46ff confirm msg 2024-01-11 10:24:42 +02:00
Yuri Kuznetsov 99df1bfbaa cs 2024-01-11 10:16:29 +02:00
Yuri Kuznetsov 067a4a95e0 ref 2024-01-11 10:11:08 +02:00
Yuri Kuznetsov 2154a51831 link manager: delete labels 2024-01-11 09:58:42 +02:00
Yuri Kuznetsov f0bc58e289 fix schema 2024-01-10 15:39:53 +02:00
Yuri Kuznetsov 5fd2f15a5d selectOrderBy 2024-01-10 15:33:36 +02:00
Yuri Kuznetsov baeef22f4c Merge branch 'fix' 2024-01-10 15:27:37 +02:00
Yuri Kuznetsov e12e7ec95a link selectOrderBy 2024-01-10 15:26:30 +02:00
Yuri Kuznetsov 2f6fef0817 Merge branch 'fix' 2024-01-10 14:20:43 +02:00
Yuri Kuznetsov 9cee152e23 email reply link checker 2024-01-10 13:56:37 +02:00
Yuri Kuznetsov 855ecf427d link checker for singlular links, checkers for case 2024-01-10 13:29:28 +02:00
Yuri Kuznetsov 2d2d6f7fad fix test 2024-01-10 13:27:55 +02:00
Yuri Kuznetsov ee591c0142 doc 2024-01-10 10:05:44 +02:00
Yuri Kuznetsov fddda800a8 year 2024-01-08 18:07:07 +02:00
Yuri Kuznetsov 9cc97c44d5 fix schema doc 2024-01-08 16:31:22 +02:00
Yuri Kuznetsov 6350e881da cs 2024-01-08 14:14:29 +02:00
Yuri Kuznetsov ec5a799b31 cs 2024-01-08 13:24:07 +02:00
Yuri Kuznetsov 026238b125 reset order on field deletion 2024-01-07 19:42:45 +02:00
Yuri Kuznetsov 46712cd967 ref 2024-01-07 19:36:15 +02:00
Yuri Kuznetsov 273ca15c17 ref 2024-01-07 18:27:37 +02:00
Yuri Kuznetsov 94d8a6039e cs 2024-01-07 18:23:33 +02:00
Yuri Kuznetsov 61fde5ed42 scheduled jobs timezone 2024-01-07 16:19:29 +02:00
Yuri Kuznetsov 27a0127556 cs 2024-01-07 15:41:20 +02:00
Yuri Kuznetsov 585fedd824 extension upload size warning 2024-01-07 12:17:39 +02:00
Yuri Kuznetsov 49ea990519 dialog-confirm class by default 2024-01-07 12:16:46 +02:00
Yuri Kuznetsov 31e06538a2 jsdoc fix 2024-01-07 12:11:04 +02:00
Yuri Kuznetsov 22657f030c ref 2024-01-07 11:52:03 +02:00
Yuri Kuznetsov 3805ecca02 cs 2024-01-07 11:13:54 +02:00
Yuri Kuznetsov 31ddef5ddb cs 2024-01-07 11:10:37 +02:00
Yuri Kuznetsov 6b4d3e5bbd cs 2024-01-06 19:41:04 +02:00
Yuri Kuznetsov acaeb46d5f cs, ref 2024-01-06 13:41:11 +02:00
Yuri Kuznetsov ce70c3b62a fix 2024-01-06 13:40:48 +02:00
Yuri Kuznetsov 55ff63ffeb ref 2024-01-06 13:22:05 +02:00
Yuri Kuznetsov 2d629eb0c6 cs 2024-01-05 11:01:25 +02:00
Yuri Kuznetsov 519784a7c3 jsdoc 2024-01-05 10:58:56 +02:00
Yuri Kuznetsov f81c5b0fdb checkbox style 2024-01-05 10:56:08 +02:00
Yuri Kuznetsov cf8d860a67 cs 2024-01-05 10:55:22 +02:00
Yuri Kuznetsov 3e71c3db31 import: apply default values from another import 2024-01-05 10:45:42 +02:00
Yuri Kuznetsov ef8b284434 cs 2024-01-04 16:25:36 +02:00
Yuri Kuznetsov 5833565e10 cs 2024-01-04 16:23:58 +02:00
Yuri Kuznetsov 87bbb1914a css fix 2024-01-04 14:37:09 +02:00
Yuri Kuznetsov 358f0f6a98 css fix 2024-01-04 14:31:29 +02:00
Yuri Kuznetsov ca924f9abc fix text field 2024-01-04 14:29:44 +02:00
Yuri Kuznetsov 2080ade438 cs, docs 2024-01-04 12:46:21 +02:00
Yuri Kuznetsov a8c1bf0a2d remove echo 2024-01-03 14:49:23 +02:00
Yuri Kuznetsov c88ac20198 v 2024-01-02 13:39:46 +02:00
Yuri Kuznetsov 360765a94a invalidate opcache on dire removal 2024-01-02 13:28:18 +02:00
Yuri Kuznetsov 5ca69b9cbb show Done on extension uninstall 2024-01-02 13:23:51 +02:00
Yuri Kuznetsov 4f7809cc4e cs 2024-01-02 12:36:42 +02:00
Yuri Kuznetsov 580db2041c todo 2023-12-31 12:04:26 +02:00
Yuri Kuznetsov 9256225aab cs 2023-12-31 11:44:13 +02:00
Yuri Kuznetsov 4add630b6c cs 2023-12-31 11:41:56 +02:00
Yuri Kuznetsov 704458409e fix jsdocs 2023-12-31 11:41:38 +02:00
Yuri Kuznetsov 48e0704ce1 jsdoc 2023-12-31 11:35:02 +02:00
Yuri Kuznetsov dfe7ff55e4 cs 2023-12-31 11:31:57 +02:00
Yuri Kuznetsov a9bc74b2bd cs 2023-12-31 11:27:12 +02:00
Yuri Kuznetsov a42bbbe00c add index 2023-12-31 11:00:46 +02:00
Yuri Kuznetsov 25ee3df284 use sth 2023-12-31 10:58:23 +02:00
Yuri Kuznetsov c9219d12b8 fix licese link 2023-12-31 10:49:50 +02:00
Yuri Kuznetsov 995fbba9de update file headers 2023-12-31 10:49:50 +02:00
Yuri Kuznetsov ef92094d0c AGPL license 2023-12-31 10:49:50 +02:00
Yuri Kuznetsov 98764e6802 instanceId 2023-12-30 10:41:23 +02:00
Yuri Kuznetsov e30f84f906 fix docs 2023-12-29 15:53:14 +02:00
Yuri Kuznetsov 102921b826 syncWithModel relationship param 2023-12-29 15:51:05 +02:00
Yuri Kuznetsov 7f34ebc1d7 jsdocs fix 2023-12-29 15:25:15 +02:00
Yuri Kuznetsov dd5ecc5752 cs 2023-12-29 10:17:05 +02:00
Yuri Kuznetsov a19484a09c mass email max per batch 2023-12-29 10:11:25 +02:00
Yuri Kuznetsov 2eb3f734c3 formula recordService throw message body 2023-12-28 22:01:34 +02:00
Yuri Kuznetsov 3130c244de cleanup 2023-12-28 21:48:14 +02:00
Eymen Elkum 82bf0e4e1c clean removed services in container services (#2929) 2023-12-28 15:54:20 +02:00
Yuri Kuznetsov 5b1d1dde90 remove driver param 2023-12-27 11:20:00 +02:00
Yuri Kuznetsov 3ff845dbdf notification panel abort last fetch on remove 2023-12-25 19:25:53 +02:00
Yuri Kuznetsov 12a860dde4 cs 2023-12-25 19:17:34 +02:00
Yuri Kuznetsov ce2d3c9a5f cs 2023-12-25 19:09:15 +02:00
Yuri Kuznetsov f3ee9336a7 Merge branch 'fix' 2023-12-25 19:07:32 +02:00
Yuri Kuznetsov fc719b932c hide layoutSet field 2023-12-25 19:07:16 +02:00
Yuri Kuznetsov 82c0ca7aae css and jsdoc 2023-12-25 14:14:58 +02:00
Yuri Kuznetsov 5681559f9c cs and fixes 2023-12-25 14:09:20 +02:00
Yuri Kuznetsov 46b7c20a81 style fix 2023-12-23 13:10:32 +02:00
Yuri Kuznetsov a5ebc959e5 cs 2023-12-23 12:58:01 +02:00
Yuri Kuznetsov 3edf3936ab note labels 2023-12-23 11:42:16 +02:00
Yuri Kuznetsov 9fbc97f0e6 cs 2023-12-22 11:15:07 +02:00
Yuri Kuznetsov f515c61f25 cs 2023-12-22 10:39:03 +02:00
Yuri Kuznetsov ad87a5bcee cs 2023-12-21 17:18:59 +02:00
Yuri Kuznetsov 0e803b33a8 change about 2023-12-21 17:12:25 +02:00
Yuri Kuznetsov 579bf7c19c panel label translation with $ 2023-12-21 15:48:25 +02:00
Yuri Kuznetsov d2cbfc0286 about text in file 2023-12-21 14:31:19 +02:00
Yuri Kuznetsov 3e26b372d4 cs 2023-12-21 12:24:14 +02:00
Yuri Kuznetsov c4ba425f4f msg fix 2023-12-20 15:11:38 +02:00
Yuri Kuznetsov e204bc73ce deprecation fix 2023-12-20 14:27:42 +02:00
Yuri Kuznetsov 2304ecd870 fix console error 2023-12-18 15:04:03 +02:00
Yuri Kuznetsov af502c4232 duplicate modal reject promise 2023-12-18 11:48:30 +02:00
Yuri Kuznetsov c00de8e4cc markdownText pdf helper 2023-12-16 20:41:53 +02:00
Yuri Kuznetsov fc10df0464 oauth client ref 2023-12-14 16:24:22 +02:00
dependabot[bot] 2045011a5e Bump dompdf/dompdf from 2.0.3 to 2.0.4 (#2924)
Bumps [dompdf/dompdf](https://github.com/dompdf/dompdf) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/dompdf/dompdf/releases)
- [Commits](https://github.com/dompdf/dompdf/compare/v2.0.3...v2.0.4)

---
updated-dependencies:
- dependency-name: dompdf/dompdf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-14 09:41:12 +02:00
dependabot[bot] 2228db3caa Bump phenx/php-svg-lib from 0.5.0 to 0.5.1 (#2922)
Bumps [phenx/php-svg-lib](https://github.com/PhenX/php-svg-lib) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/PhenX/php-svg-lib/releases)
- [Commits](https://github.com/PhenX/php-svg-lib/compare/0.5.0...0.5.1)

---
updated-dependencies:
- dependency-name: phenx/php-svg-lib
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-13 16:01:41 +02:00
Yuri Kuznetsov 675a1575df fix msg 2023-12-12 11:44:42 +02:00
Yuri Kuznetsov 14283975b7 cs 2023-12-11 12:40:53 +02:00
Yuri Kuznetsov 0251002c77 cs 2023-12-11 12:31:42 +02:00
Yuri Kuznetsov 9467027f35 cs 2023-12-11 12:22:53 +02:00
Yuri Kuznetsov bedf5d41cd cs 2023-12-11 12:14:56 +02:00
Yuri Kuznetsov 7dab21142a relationship layout default label 2023-12-11 12:12:01 +02:00
Yuri Kuznetsov e3d812b678 comment 2023-12-10 13:15:54 +02:00
Arkadiy Asuratov 002023e2ef feat(awss3): sendChunkedBody param (#2920) 2023-12-10 13:02:03 +02:00
Yuri Kuznetsov 8776acb4b5 ref 2023-12-09 11:07:47 +02:00
Yuri Kuznetsov 9216964801 s3 storage endpoint param 2023-12-09 11:02:12 +02:00
Arkadiy Asuratov 9e3f834b04 minor fixes to schema (#2918)
* fix(schema): remove comma

* fix(schema): add comma
2023-12-08 17:20:03 +02:00
Yuri Kuznetsov 8436e23516 ref 2023-12-08 13:56:37 +02:00
Yuri Kuznetsov 4fa00e27aa fix portal oidcs redirect url 2023-12-08 13:49:03 +02:00
Yuri Kuznetsov d23443b187 update app timestamp command 2023-12-08 12:51:55 +02:00
Yuri Kuznetsov 7664118046 collection tests 2023-12-08 11:17:13 +02:00
Yuri Kuznetsov bfe62800f2 notifications color 2023-12-07 11:52:56 +02:00
Yuri Kuznetsov a7933f88f1 cs 2023-12-06 17:41:12 +02:00
Yuri Kuznetsov c565eb148d ref 2023-12-06 17:36:29 +02:00
Yuri Kuznetsov 49defa44f4 fix email modal collapse confirmation leave out 2023-12-06 14:04:58 +02:00
Yuri Kuznetsov 0be375f5a6 dark theme modal shadow 2023-12-06 13:07:01 +02:00
Yuri Kuznetsov 6a84c7583e jwt: support float and string timestamps 2023-12-06 11:15:30 +02:00
Yuri Kuznetsov ccee4776a8 Merge branch 'fix' 2023-12-05 14:52:23 +02:00
Yuri Kuznetsov bf7f9a3b25 8.0.6 2023-12-05 14:43:30 +02:00
Yuri Kuznetsov 13b43d1bfa fix autocomplete not hiding issue 2023-12-05 12:52:07 +02:00
Yuri Kuznetsov d59b598234 test php 8.3 2023-12-04 10:50:56 +02:00
Yuri Kuznetsov 00a9938a26 update laminas-ldap 2023-12-04 10:49:27 +02:00
Yuri Kuznetsov 885d99374c map providers 2023-12-02 12:12:05 +02:00
Yuri Kuznetsov 3874afe5cc dynamic logic current user 2023-12-01 14:11:00 +02:00
Yuri Kuznetsov a80fe55e80 cs 2023-12-01 12:02:26 +02:00
Yuri Kuznetsov 5445782f31 cs 2023-12-01 11:59:19 +02:00
Yuri Kuznetsov 8660ceac55 add info panel style 2023-12-01 11:36:28 +02:00
Yuri Kuznetsov 5cd6574308 color fix 2023-12-01 11:36:17 +02:00
Yuri Kuznetsov 149950149e text field auto shrink, no resize 2023-12-01 10:34:20 +02:00
Yuri Kuznetsov c9abe652a1 cs 2023-12-01 09:47:31 +02:00
Yuri Kuznetsov 0bd2f96965 doc 2023-12-01 09:47:27 +02:00
Yuri Kuznetsov c3c53363a7 text field max number of rows large number 2023-11-30 20:08:36 +02:00
Yuri Kuznetsov 8092de1c9a dynamic logic ui impr 2023-11-30 19:07:13 +02:00
Yuri Kuznetsov 838365fc9e cs 2023-11-30 15:43:20 +02:00
Yuri Kuznetsov 4b89283ab3 remove unit test 2023-11-30 15:34:56 +02:00
Yuri Kuznetsov 99d2e6f334 hide create related if link is read-only 2023-11-30 15:06:32 +02:00
Yuri Kuznetsov e72095f04a lang 2023-11-29 12:25:32 +02:00
Yuri Kuznetsov 0357ce80f8 default config in diff 2023-11-29 11:03:37 +02:00
Yuri Kuznetsov 26fbdabd94 layout custom module location 2023-11-29 10:26:12 +02:00
Yuri Kuznetsov 7c6b3d20ce lang 2023-11-28 23:06:24 +02:00
dependabot[bot] a914cdad1e Bump phpseclib/phpseclib from 3.0.19 to 3.0.34 (#2911)
Bumps [phpseclib/phpseclib](https://github.com/phpseclib/phpseclib) from 3.0.19 to 3.0.34.
- [Release notes](https://github.com/phpseclib/phpseclib/releases)
- [Changelog](https://github.com/phpseclib/phpseclib/blob/master/CHANGELOG.md)
- [Commits](https://github.com/phpseclib/phpseclib/compare/3.0.19...3.0.34)

---
updated-dependencies:
- dependency-name: phpseclib/phpseclib
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-28 22:08:16 +02:00
Yuri Kuznetsov f40a0c98b8 fix 2023-11-27 16:35:08 +02:00
Yuri Kuznetsov a8cbf0d735 fix script 2023-11-27 16:21:16 +02:00
Yuri Kuznetsov fc518d754a fix set config params script 2023-11-27 16:05:45 +02:00
Yuri Kuznetsov d1b138a353 before upgrade 2023-11-25 11:21:46 +02:00
Yuri Kuznetsov 49319fcf42 schema fix 2023-11-25 10:39:01 +02:00
Yuri Kuznetsov c612cb1e62 fix lang 2023-11-24 12:46:16 +02:00
Yuri Kuznetsov 934c3ad8a5 dsable readonly inspection 2023-11-23 15:47:40 +02:00
Yuri Kuznetsov fced4b0d86 ref 2023-11-23 15:33:25 +02:00
Yuri Kuznetsov cf1f87949f cleanup 2023-11-23 15:24:23 +02:00
Yuri Kuznetsov 3a2db3db67 update psr log 2023-11-23 15:16:00 +02:00
Yuri Kuznetsov 390d414c47 update monolog 2023-11-23 15:06:47 +02:00
Yuri Kuznetsov 9e35dee8e5 update libs 2023-11-23 13:53:17 +02:00
Yuri Kuznetsov 53756b488b update slim 2023-11-23 13:43:30 +02:00
Yuri Kuznetsov a81e7057f9 update flysystem-async-aws-s3 2023-11-23 13:36:31 +02:00
Yuri Kuznetsov d83c376fb0 temporarely discard php 8.3 from workflows 2023-11-23 13:03:37 +02:00
Yuri Kuznetsov 63c9f87264 update laminas libs 2023-11-23 13:02:50 +02:00
Yuri Kuznetsov c7a77b3a74 update workflows 2023-11-23 12:52:39 +02:00
Yuri Kuznetsov 5acc9c3fad php 8.3 2023-11-23 12:43:59 +02:00
Yuri Kuznetsov 5098603d83 after upgrade message 2023-11-23 10:54:23 +02:00
Yuri Kuznetsov 376d3ad3b0 Merge branch 'fix' 2023-11-21 20:40:56 +02:00
Yuri Kuznetsov 73052c6003 fix bottom tab issue when panels from first tab is hidden locked 2023-11-21 20:39:10 +02:00
Yuri Kuznetsov 9fbdc52b1a schema 2023-11-21 14:20:43 +02:00
Yuri Kuznetsov 1023a3cfe8 import valicate date fix 2023-11-21 10:15:25 +02:00
Yuri Kuznetsov 53e8f1a78a auth fail reason error 2023-11-18 12:15:24 +02:00
Yuri Kuznetsov 67f5649d35 cs 2023-11-18 11:39:57 +02:00
Yuri Kuznetsov cc6c0f29df cs 2023-11-18 11:32:13 +02:00
Yuri Kuznetsov 158f79cc1d cleanup 2023-11-18 11:12:19 +02:00
Yuri Kuznetsov e66cdf9610 2fa error impr 2023-11-18 11:09:18 +02:00
Yuri Kuznetsov 9bb4d8b8f1 two factor getData exception 2023-11-18 10:58:19 +02:00
Yuri Kuznetsov a2ac059380 fix docs 2023-11-18 10:50:41 +02:00
Yuri Kuznetsov 2bbccbd3b5 ref 2023-11-18 10:37:08 +02:00
Yuri Kuznetsov 0da3a590f2 cs 2023-11-18 10:08:29 +02:00
Yuri Kuznetsov 4955c0aace cs 2023-11-17 17:09:15 +02:00
Yuri Kuznetsov 91db0230f7 cs 2023-11-17 14:32:15 +02:00
Yuri Kuznetsov a55ffffe79 barcode frontend validation 2023-11-17 14:29:12 +02:00
Yuri Kuznetsov 6e270d3dd5 autocompleteOnEmpty 2023-11-17 12:22:36 +02:00
Yuri Kuznetsov e3c7fefb9e ref 2023-11-17 10:34:42 +02:00
Yuri Kuznetsov ef13eee386 list detail layout realType usage 2023-11-17 10:33:16 +02:00
Yuri Kuznetsov ad63cfeae4 cs 2023-11-17 10:16:53 +02:00
Yuri Kuznetsov 159ac4c91e ref 2023-11-17 10:03:51 +02:00
Yuri Kuznetsov 1845f2d7cb date value object toString, deprecate getString 2023-11-17 09:45:56 +02:00
Yuri Kuznetsov d6776ffcc8 schema 2023-11-17 09:11:01 +02:00
Yuri Kuznetsov 90dedefeb0 import: transform decimal currency values 2023-11-16 17:59:10 +02:00
Yuri Kuznetsov 70f15a7cbd validation manager change: exit on first 2023-11-16 17:42:09 +02:00
Yuri Kuznetsov ce62ba719e fix currency string value regexpr valid check 2023-11-16 17:37:46 +02:00
Yuri Kuznetsov a31cd38389 logged user load teams 2023-11-16 16:03:38 +02:00
Yuri Kuznetsov ecaf7978cd ref 2023-11-16 16:03:26 +02:00
Yuri Kuznetsov 312be1dfc1 fix default assignment checker teams loading 2023-11-16 16:03:01 +02:00
Yuri Kuznetsov afdc874df9 import: strip separator for int 2023-11-16 15:01:31 +02:00
Yuri Kuznetsov 4d8784470b import: strip thousand separator 2023-11-16 14:54:19 +02:00
Yuri Kuznetsov bc03276a53 navbar divider in group tab 2023-11-16 14:37:10 +02:00
Yuri Kuznetsov c73930c27d schema 2023-11-16 14:19:52 +02:00
Yuri Kuznetsov ae9dd1aa85 relationship panel primaryFilter param 2023-11-15 20:31:12 +02:00
Yuri Kuznetsov 906ad10da4 Merge branch 'fix' 2023-11-15 17:17:15 +02:00
Yuri Kuznetsov 7e5968b973 prevent unchain view 2023-11-15 17:08:19 +02:00
Yuri Kuznetsov 4e66b3bf0c fix 2023-11-15 12:32:01 +02:00
Yuri Kuznetsov 696c4e4b04 Merge branch 'fix' 2023-11-15 12:24:05 +02:00
Yuri Kuznetsov 9f6e2b4ac6 metadata set param 2023-11-15 12:14:21 +02:00
Yuri Kuznetsov e87548c94a metadata set allow empty array 2023-11-15 12:05:51 +02:00
Yuri Kuznetsov 0be5daf605 schema 2023-11-15 11:16:50 +02:00
Yuri Kuznetsov be5eaf3bd5 fix barcode field js error 2023-11-15 10:16:02 +02:00
Yuri Kuznetsov 579c196447 cs 2023-11-15 10:12:41 +02:00
Yuri Kuznetsov 6e4ca6151a one-to-one select apply isEmpty filter 2023-11-15 10:09:39 +02:00
Yuri Kuznetsov 6912de4fdd default reply from address 2023-11-14 20:43:01 +02:00
Yuri Kuznetsov e1d108168b fix msg 2023-11-14 20:24:34 +02:00
Yuri Kuznetsov 7114a9ff81 qr ecc 2023-11-13 14:23:13 +02:00
Yuri Kuznetsov 422f0a4208 fix 2023-11-13 14:15:53 +02:00
Yuri Kuznetsov ab08c40711 cs 2023-11-13 14:12:30 +02:00
Yuri Kuznetsov d44a0c6243 no-tcpdf, added barcode, qrcode libs 2023-11-13 14:09:09 +02:00
Yuri Kuznetsov 4c341344f2 css fix 2023-11-12 11:56:14 +02:00
Yuri Kuznetsov 896f6028b9 css fix 2023-11-12 11:51:35 +02:00
Yuri Kuznetsov f2a1cd91c0 color fixes 2023-11-12 11:40:50 +02:00
Yuri Kuznetsov 261d1ab808 integration test 2023-11-11 20:37:17 +02:00
Yuri Kuznetsov 1ce11325b4 change sanitizer 2023-11-11 20:29:45 +02:00
Yuri Kuznetsov 4d527f212a doc 2023-11-11 19:09:33 +02:00
Yuri Kuznetsov e922fd90d4 css fix 2023-11-11 18:59:58 +02:00
Yuri Kuznetsov 2ff25224f2 mass-update, lead capture: use sanitize 2023-11-11 18:04:10 +02:00
Yuri Kuznetsov 2ed8edf842 sanitizer 2023-11-11 17:39:46 +02:00
Yuri Kuznetsov 109392c1ae ref 2023-11-11 15:26:13 +02:00
Yuri Kuznetsov 8ea196e349 noinsp 2023-11-11 14:18:57 +02:00
Yuri Kuznetsov f09aa009e7 phone: placeholder zero 2023-11-11 14:12:49 +02:00
Yuri Kuznetsov 4a2a5804ca phone: disable national mode 2023-11-11 14:07:37 +02:00
Yuri Kuznetsov 1aa4075cc6 set number on blur 2023-11-11 14:00:36 +02:00
Yuri Kuznetsov 68d754efab fix test 2023-11-11 13:34:23 +02:00
Yuri Kuznetsov 14cae6dc11 fix phone number text search 2023-11-11 11:53:38 +02:00
Yuri Kuznetsov 360af1eaf7 move 2023-11-11 11:39:51 +02:00
Yuri Kuznetsov 3ef4ee8f60 cs 2023-11-11 11:28:02 +02:00
Yuri Kuznetsov 75763bf287 lead capture phone country 2023-11-11 11:24:21 +02:00
Yuri Kuznetsov ed362255df cs 2023-11-10 18:07:28 +02:00
Yuri Kuznetsov e4ec0a8c75 libs without src support 2023-11-10 18:01:13 +02:00
Yuri Kuznetsov 5abdb2339d cs 2023-11-10 17:04:28 +02:00
Yuri Kuznetsov 93a0a53aab adminUpgradeDisabled param 2023-11-10 16:56:43 +02:00
Yuri Kuznetsov 4cbdb18aef phone validate strict 2023-11-10 16:06:36 +02:00
Yuri Kuznetsov 66cbf57f5e internation phone numbers 2023-11-10 15:15:39 +02:00
Yuri Kuznetsov e1c101b786 phone search keep original value 2023-11-09 21:19:07 +02:00
Yuri Kuznetsov f3f797a7cf phone number only numeric search param 2023-11-09 17:25:23 +02:00
Yuri Kuznetsov a74cdd13ec fix deprecation 2023-11-09 16:43:46 +02:00
Yuri Kuznetsov 9a962dee0a cs 2023-11-09 16:39:01 +02:00
Yuri Kuznetsov daedb1698a phone number list: numeric filter 2023-11-09 16:36:52 +02:00
Yuri Kuznetsov 5aa4c8f069 cs 2023-11-09 16:26:49 +02:00
Yuri Kuznetsov bb4a93418e link create button changes 2023-11-09 15:39:04 +02:00
Yuri Kuznetsov 0a7005edaa cs 2023-11-09 15:26:38 +02:00
Yuri Kuznetsov cdfbb1b2e3 link, link-multiple: create button param 2023-11-09 15:24:49 +02:00
Yuri Kuznetsov eb80fbc431 create button access check 2023-11-09 14:52:19 +02:00
Yuri Kuznetsov 2afab7fd3a link-multiple create button 2023-11-09 14:49:10 +02:00
Yuri Kuznetsov 65f309beec cs 2023-11-09 14:42:24 +02:00
Yuri Kuznetsov fb17a09a39 cleanupDeletedRecords true 2023-11-09 13:13:32 +02:00
Yuri Kuznetsov 3f6f806500 Merge branch 'fix' 2023-11-09 13:11:02 +02:00
Yuri Kuznetsov e82beb562f email in trash filter 2023-11-09 12:57:29 +02:00
Yuri Kuznetsov 322db47c04 layout manager width complex 2023-11-09 12:47:57 +02:00
Yuri Kuznetsov 8166f5d359 docs 2023-11-09 12:34:49 +02:00
Yuri Kuznetsov 8204a80d6a ref 2023-11-09 11:57:53 +02:00
Yuri Kuznetsov e0ffe3d367 cs 2023-11-09 11:52:53 +02:00
Yuri Kuznetsov 02cce4dbe7 inspection 2023-11-09 11:52:21 +02:00
Yuri Kuznetsov 2f174d81e8 cs 2023-11-09 11:43:18 +02:00
Yuri Kuznetsov ba60ca62e8 cs 2023-11-09 11:11:01 +02:00
Yuri Kuznetsov 7d498cc6aa fix handle action 2023-11-09 11:08:39 +02:00
Yuri Kuznetsov b7f816feee language proxy 2023-11-09 10:49:32 +02:00
Yuri Kuznetsov ea4cd67299 fix 2023-11-09 10:48:41 +02:00
Yuri Kuznetsov edc024fbb9 fix 2023-11-09 10:18:30 +02:00
Yuri Kuznetsov 255051a9ae list view fixes 2023-11-09 09:54:16 +02:00
Yuri Kuznetsov ef87f02290 listViewSettingsDisabled 2023-11-08 20:13:50 +02:00
Yuri Kuznetsov 066751a698 disable list settings for non-object entity types 2023-11-08 20:05:15 +02:00
Yuri Kuznetsov e485bd3963 layout fix 2023-11-08 19:24:49 +02:00
Yuri Kuznetsov 344110832a fix layout 2023-11-08 19:20:45 +02:00
Yuri Kuznetsov 5f830a016c fix layout 2023-11-08 19:09:50 +02:00
Yuri Kuznetsov f64eb866d5 list columns settings 2023-11-08 18:46:27 +02:00
Yuri Kuznetsov 4571209988 entity modals: entityType 2023-11-08 12:18:21 +02:00
Yuri Kuznetsov 14ea6fb284 ref 2023-11-08 11:27:19 +02:00
Yuri Kuznetsov 918c864f7d cs 2023-11-08 11:23:29 +02:00
Yuri Kuznetsov c95be2f54e orm isRelatedById method 2023-11-08 11:22:38 +02:00
Yuri Kuznetsov 930f706dd3 Merge branch 'fix' 2023-11-08 10:15:42 +02:00
Yuri Kuznetsov 9a013b7ea7 8.0.5 2023-11-08 10:04:43 +02:00
Yuri Kuznetsov 6d1d38c4af email template placeholders 2023-11-07 19:20:07 +02:00
Yuri Kuznetsov 72a218fca0 navbar item defs change 2023-11-07 18:44:34 +02:00
Yuri Kuznetsov 766d6b8bdb ref 2023-11-07 18:28:06 +02:00
Yuri Kuznetsov 392e6bca48 custom navbar items 2023-11-07 17:35:41 +02:00
Yuri Kuznetsov 2f6ab60b04 cs 2023-11-07 16:31:34 +02:00
Yuri Kuznetsov 7db5c9f934 modal action icon class 2023-11-07 15:42:52 +02:00
Yuri Kuznetsov 9cb44622a5 btn change 2023-11-07 15:29:06 +02:00
Yuri Kuznetsov 5eebc138ae modal button icon class 2023-11-07 15:18:14 +02:00
Yuri Kuznetsov 12b7827930 add btn-icon 2023-11-07 15:17:48 +02:00
Yuri Kuznetsov 552681ed83 use non actual options 2023-11-07 14:53:05 +02:00
Yuri Kuznetsov 27b2b2dda7 lang 2023-11-07 14:06:16 +02:00
Yuri Kuznetsov 174fcaa5df actionFunction for modal buttons 2023-11-07 14:00:50 +02:00
Yuri Kuznetsov 8f1565c2d6 cs 2023-11-07 14:00:28 +02:00
Yuri Kuznetsov 058837e215 modal action impr 2023-11-07 13:53:31 +02:00
Yuri Kuznetsov d133295a3d cs 2023-11-07 12:40:55 +02:00
Yuri Kuznetsov 0272f5546f mass action actionFunction 2023-11-07 12:38:34 +02:00
Yuri Kuznetsov 47d814ecfb cs 2023-11-07 12:29:02 +02:00
Yuri Kuznetsov 6cf7848c3a fix 2023-11-07 12:22:19 +02:00
Yuri Kuznetsov 054fb5f18c cs 2023-11-07 12:22:04 +02:00
Yuri Kuznetsov 65113ea1d9 cs 2023-11-07 12:17:19 +02:00
Yuri Kuznetsov 438d532ff5 client actions improvements 2023-11-07 12:14:55 +02:00
Yuri Kuznetsov 44b090ecaf Merge branch 'fix' 2023-11-07 10:20:50 +02:00
Yuri Kuznetsov 124214aee3 curl protocols option 2023-11-07 10:01:43 +02:00
Yuri Kuznetsov 0d7bbcbf46 Merge branch 'fix' 2023-11-06 23:24:56 +02:00
Yuri Kuznetsov 3bd6b3bd46 webhook allow http and https only 2023-11-06 16:03:49 +02:00
Yuri Kuznetsov c536cee637 image upload url check 2023-11-06 16:02:13 +02:00
Yuri Kuznetsov d41e0e27c7 relationship panel: scope => entityType 2023-11-06 13:14:33 +02:00
Yuri Kuznetsov 94ffa77f90 error body message 2023-11-06 12:46:42 +02:00
Yuri Kuznetsov 3fbb1d9b15 cs 2023-11-06 12:40:54 +02:00
Yuri Kuznetsov 224f4a259c array default db value 2023-11-05 16:56:53 +02:00
Yuri Kuznetsov f026156486 default array 2023-11-05 16:32:42 +02:00
Yuri Kuznetsov d4480b8ce9 enum default ui impr 2023-11-05 16:21:40 +02:00
Yuri Kuznetsov 01c3f6e857 entity setMultiple method 2023-11-05 16:02:29 +02:00
Yuri Kuznetsov b744b78fa6 forUpdate apply sth 2023-11-05 15:56:15 +02:00
Yuri Kuznetsov 70ac8150df record BeforeSave hook interface 2023-11-05 15:51:56 +02:00
Yuri Kuznetsov 1db4d9af0a cs 2023-11-05 15:37:18 +02:00
Yuri Kuznetsov f8ca8c5130 exception accept body obj 2023-11-05 14:07:40 +02:00
Yuri Kuznetsov c8115e0b33 fix deprecated attributes 2023-11-05 14:02:16 +02:00
Yuri Kuznetsov 0be13f330b fix deprecated attributes 2023-11-05 13:59:54 +02:00
Yuri Kuznetsov 79268a5d19 cleanup 2023-11-05 13:28:53 +02:00
Yuri Kuznetsov 167b8a948c revert 2023-11-05 13:23:09 +02:00
Yuri Kuznetsov cc0e15a736 fix 2023-11-05 13:09:49 +02:00
Yuri Kuznetsov 01ee0798cb discard 2023-11-05 12:50:08 +02:00
Yuri Kuznetsov eec173e476 row actions kanban 2023-11-05 12:42:03 +02:00
Yuri Kuznetsov 4b9321eda8 css fix 2023-11-05 10:42:14 +02:00
Yuri Kuznetsov 67f0512773 fields defaults null 2023-11-05 10:39:00 +02:00
Yuri Kuznetsov c635b23b56 metadata ref 2023-11-05 10:08:23 +02:00
Yuri Kuznetsov e2630bbf51 cs 2023-11-04 19:47:46 +02:00
Yuri Kuznetsov e5a474e99f row actions framework 2 2023-11-04 19:34:16 +02:00
Yuri Kuznetsov 8ad6d5816b row-actions framework 2023-11-04 17:13:55 +02:00
Yuri Kuznetsov b53cf68dee cs 2023-11-04 15:18:12 +02:00
Yuri Kuznetsov 8dba225aae loading value change 2023-11-04 12:10:04 +02:00
Yuri Kuznetsov bd8260d139 frontend populate defaults all fields 2023-11-04 11:45:59 +02:00
Yuri Kuznetsov c55d2454c3 docs fix 2023-11-04 10:43:54 +02:00
Yuri Kuznetsov 30454e3c06 cs 2023-11-04 10:37:20 +02:00
Yuri Kuznetsov 662a4c8bd4 wysiwyg insert table width 100 2023-11-03 18:10:53 +02:00
Yuri Kuznetsov d15b730b11 ref 2023-11-03 14:12:02 +02:00
Yuri Kuznetsov beab4f11ab pdf template body field: use iframe 2023-11-03 13:33:55 +02:00
Yuri Kuznetsov 4f1478226e cs 2023-11-03 13:01:38 +02:00
Yuri Kuznetsov 9ceff38deb cs 2023-11-03 12:54:19 +02:00
Yuri Kuznetsov f7aeb4dbe6 entity provider 2023-11-03 12:46:47 +02:00
Yuri Kuznetsov 7710582a41 fix 2023-11-03 12:37:03 +02:00
Yuri Kuznetsov f80d38d165 repository: dont set modified if not changed 2023-11-03 12:19:07 +02:00
Yuri Kuznetsov 9c2b1d92ce cs 2023-11-03 11:56:45 +02:00
Yuri Kuznetsov 07c223e521 mail importer interface 2023-11-03 11:50:35 +02:00
Yuri Kuznetsov 6d443a35da Merge branch 'fix' 2023-11-03 11:42:38 +02:00
Yuri Kuznetsov b1d2795347 not copying status field on duplicate 2023-11-03 11:38:46 +02:00
Yuri Kuznetsov 0f9bce70cf mass update use select 2023-11-01 16:56:05 +02:00
Yuri Kuznetsov 6f1f72127f cs 2023-11-01 16:55:55 +02:00
Yuri Kuznetsov 986edeb79e cs 2023-11-01 16:49:13 +02:00
Yuri Kuznetsov b3391df6e8 mass update targetLists 2023-11-01 16:43:05 +02:00
Yuri Kuznetsov d8a114c90a popover improvements 2023-10-30 15:48:18 +02:00
Yuri Kuznetsov 67ecb7b73f fix docs 2023-10-27 13:51:29 +03:00
Yuri Kuznetsov 1f456f6d5d link check for belongs-to & has-one 2023-10-27 13:50:09 +03:00
Yuri Kuznetsov adcaf5dc23 docs 2023-10-27 13:48:47 +03:00
Yuri Kuznetsov 22c5a771d0 fieldType 2023-10-27 11:48:10 +03:00
Yuri Kuznetsov 148ac05654 Merge branch 'fix' 2023-10-27 10:30:35 +03:00
Yuri Kuznetsov 3fa9f4bf91 8.0.4 2023-10-27 10:22:00 +03:00
Yuri Kuznetsov 6c4a139e66 KB portal 2023-10-26 21:29:49 +03:00
Yuri Kuznetsov 6d576de211 forbid link unlink for one relationships 2023-10-26 17:24:33 +03:00
Yuri Kuznetsov ad1804fa3c Merge branch 'fix' 2023-10-26 17:18:23 +03:00
Yuri Kuznetsov d3a1db25c2 comment 2023-10-26 16:57:22 +03:00
Yuri Kuznetsov 0fcd3cd780 msg fix 2023-10-26 16:48:54 +03:00
Yuri Kuznetsov 61cb573eec cs 2023-10-26 14:26:16 +03:00
Yuri Kuznetsov 5dd84bf9a1 SMTP translated message 2023-10-26 14:24:55 +03:00
Yuri Kuznetsov 5dad7c6bba cs 2023-10-26 14:01:06 +03:00
Yuri Kuznetsov 3007d50299 cs 2023-10-26 14:00:05 +03:00
Yuri Kuznetsov 11c0ac6987 noopener 2023-10-26 13:52:33 +03:00
Yuri Kuznetsov 2bb62883a4 cs 2023-10-26 13:33:03 +03:00
Yuri Kuznetsov 5796d2fb85 cs 2023-10-26 13:28:05 +03:00
Yuri Kuznetsov dae318c9bb cs 2023-10-26 13:26:07 +03:00
Yuri Kuznetsov 342764e9ff related records modal fetch when rendered 2023-10-26 13:19:43 +03:00
Yuri Kuznetsov 27b9e28e20 cs 2023-10-26 12:35:16 +03:00
Yuri Kuznetsov f8d5dd7fa6 modal select related sync mass remove 2023-10-26 12:06:49 +03:00
Yuri Kuznetsov 7408f97fbd cs 2023-10-26 11:56:03 +03:00
Yuri Kuznetsov d1a9cf840f inspection let/const 2023-10-26 11:29:35 +03:00
Yuri Kuznetsov d593927b14 cs 2023-10-26 11:29:25 +03:00
Yuri Kuznetsov f62ebb8fe8 ref 2023-10-26 11:22:51 +03:00
Yuri Kuznetsov ede798dbe5 schema additions 2023-10-26 11:15:54 +03:00
Yuri Kuznetsov c3095b6a32 schema dynamic logic options 2023-10-26 11:06:09 +03:00
Yuri Kuznetsov 9eb5bfc9fe css fix 2023-10-26 10:59:11 +03:00
Yuri Kuznetsov bf2c529884 labels 2023-10-26 10:48:49 +03:00
Yuri Kuznetsov 7ce8150541 fix link fields advanced filter 2023-10-25 20:38:20 +03:00
Yuri Kuznetsov 44de149923 link, link-multiple select method 2023-10-25 14:04:14 +03:00
Yuri Kuznetsov 8ecdc7b9d9 first panel filter 2023-10-25 12:41:31 +03:00
Yuri Kuznetsov 95c64359d2 cons 2023-10-25 12:06:46 +03:00
Yuri Kuznetsov 44203e2178 one primary filter 2023-10-25 12:03:22 +03:00
Yuri Kuznetsov d3d940d9c9 fix 2023-10-25 11:03:29 +03:00
Yuri Kuznetsov 9d3efae141 fix list related modal unlink disabled 2023-10-24 20:20:30 +03:00
Yuri Kuznetsov e6eb3e7099 type fix 2023-10-24 10:37:15 +03:00
DrWarpMan 3ab2b37471 fix validatorClassNameMap (#2881) 2023-10-24 10:29:04 +03:00
Yuri Kuznetsov 33e7f4e3ef json retrive support empty path 2023-10-23 20:59:59 +03:00
Yuri Kuznetsov 6463eaa6f6 less placement.less 2023-10-23 14:22:25 +03:00
Yuri Kuznetsov a066c0a187 style fix 2023-10-23 14:09:54 +03:00
Yuri Kuznetsov 176f65713f list-group css fix 2023-10-23 13:57:25 +03:00
Yuri Kuznetsov bcc6edf083 update babel 2023-10-21 10:36:33 +03:00
Yuri Kuznetsov 5f43c710ae Merge branch 'fix' 2023-10-21 10:34:09 +03:00
Yuri Kuznetsov 493afdf3d4 tableClassName 2023-10-19 17:22:30 +03:00
Yuri Kuznetsov c85b6a37a6 cs 2023-10-19 17:17:03 +03:00
Yuri Kuznetsov 81971d0eda doc fix 2023-10-19 17:02:38 +03:00
Yuri Kuznetsov 8a6cc9ea35 before upgrade version check 2023-10-19 16:55:30 +03:00
Yuri Kuznetsov 4fd125ddfc base url support index file 2023-10-19 16:48:50 +03:00
Yuri Kuznetsov 1298a8382d export: use additional applier 2023-10-19 11:17:35 +03:00
Yuri Kuznetsov bb9c352f55 export: do not list not exportable fields 2023-10-19 10:40:23 +03:00
Yuri Kuznetsov 045533d080 export: do not load link-multiple if no field 2023-10-19 10:34:00 +03:00
Yuri Kuznetsov 6a5ab5f738 command listed 2023-10-17 15:22:28 +03:00
Yuri Kuznetsov c1b0e4fd17 throw docs 2023-10-17 13:12:59 +03:00
Yuri Kuznetsov e71928ffa7 css fix 2023-10-17 13:12:25 +03:00
Yuri Kuznetsov de3f5de029 fix translation 2023-10-17 13:08:00 +03:00
Yuri Kuznetsov 57ceee4d4c export: do not sanitize numeric values 2023-10-17 13:04:38 +03:00
Yuri Kuznetsov 9a5cd7609b import ksort row 2023-10-17 12:45:14 +03:00
Yuri Kuznetsov 1382dca3e3 cs 2023-10-17 11:46:14 +03:00
Yuri Kuznetsov bc7a3e8839 cs, browser compatibility fix 2023-10-17 11:38:17 +03:00
Yuri Kuznetsov c5d6f4c63f entity manager disabled fix 2023-10-16 17:11:03 +03:00
Yuri Kuznetsov 6776f813af schema 2023-10-16 16:48:53 +03:00
Yuri Kuznetsov edfecb21c7 Update README.md 2023-10-14 16:05:34 +03:00
Yuri Kuznetsov 6d18f2485d record helper as option 2023-10-13 16:19:50 +03:00
Yuri Kuznetsov 73753b364e unchain main view 2023-10-13 10:21:06 +03:00
Yuri Kuznetsov 35a8a71150 Merge branch 'fix' 2023-10-12 10:05:06 +03:00
Yuri Kuznetsov 68d6a14d04 orm: wrap and/or expr into braces 2023-10-11 10:43:39 +03:00
Yuri Kuznetsov c155d37790 comment 2023-10-10 17:04:25 +03:00
Yuri Kuznetsov 6a6446d0b7 whenReady, field re-render with prepare fix 2023-10-10 16:34:55 +03:00
Yuri Kuznetsov b0b4fe5570 set field read only race condition fix 2023-10-10 15:06:12 +03:00
Yuri Kuznetsov 6de8c3d1ca calendar dashlet size update 2023-10-10 12:01:25 +03:00
Yuri Kuznetsov 319f3f645a calaendar css fix 2023-10-10 11:52:23 +03:00
Yuri Kuznetsov bedfbb0e6b calendar slot duration 2023-10-10 11:15:16 +03:00
Yuri Kuznetsov 6526f02d88 Update feature_request.md 2023-10-09 15:29:14 +03:00
Yuri Kuznetsov 148ffce6b7 re-reject on save error 2023-10-09 13:13:31 +03:00
Yuri Kuznetsov 85cb969780 fix schema docs 2023-10-09 11:51:56 +03:00
Yuri Kuznetsov c1a75ad051 schema 2023-10-09 11:46:07 +03:00
Yuri Kuznetsov 5f4cf2925b Merge branch 'stable' 2023-10-09 10:10:35 +03:00
Yuri Kuznetsov 7de49e9812 8.0.3 2023-10-09 10:00:50 +03:00
Yuri Kuznetsov 7416566269 docs since 2023-10-08 15:43:37 +03:00
Yuri Kuznetsov 8c54ca43f0 ref 2023-10-08 13:22:37 +03:00
Yuri Kuznetsov 69fe549052 orm alias reference 2023-10-07 15:49:52 +03:00
Yuri Kuznetsov 1943c01066 ref 2023-10-07 14:46:44 +03:00
Yuri Kuznetsov 8d9889d453 ref 2023-10-07 14:25:01 +03:00
Yuri Kuznetsov 280d71f1c6 read-only-after-create 2023-10-07 11:54:06 +03:00
Yuri Kuznetsov bfd8aa4777 Merge branch 'fix' 2023-10-07 11:11:27 +03:00
Yuri Kuznetsov 23e7657bf6 revert readme 2023-10-06 11:53:27 +03:00
Yuri Kuznetsov 13c5d65f50 fix formula add attributes 2023-10-06 10:53:58 +03:00
Yuri Kuznetsov a86132a32b readme cleanup 2023-10-06 10:45:24 +03:00
Yuri Kuznetsov e8c4d5326a Merge branch 'fix' 2023-10-06 10:35:58 +03:00
Yuri Kuznetsov 34ce9d68bf sk lang 2023-10-06 10:34:20 +03:00
Yuri Kuznetsov 58dbadb869 fr lang 2023-10-06 10:33:19 +03:00
Yuri Kuznetsov 0a9d901874 css fix 2023-10-04 14:56:20 +03:00
Yuri Kuznetsov 9ebad9aad8 btn icon class 2023-10-04 14:38:06 +03:00
Yuri Kuznetsov e44b921143 kb article acl level own 2023-10-04 11:30:57 +03:00
Yuri Kuznetsov 6cb44e65a6 calendar week range title fix 2023-10-04 10:10:31 +03:00
Yuri Kuznetsov 5398331956 style fix 2023-10-03 14:20:30 +03:00
Yuri Kuznetsov de88ff0b6a merge 2023-10-03 11:33:10 +03:00
Yuri Kuznetsov 1bbc92e460 fix link field 2023-10-03 11:31:03 +03:00
Yuri Kuznetsov e3ef9391ce fix link field 2023-10-03 11:28:58 +03:00
Yuri Kuznetsov b317f99196 em not customizable guard 2023-09-30 15:18:52 +03:00
Yuri Kuznetsov 512c45c9b5 jsdoc fix 2023-09-30 14:53:33 +03:00
Yuri Kuznetsov 5f4ae01c85 layout manager fix 2023-09-30 14:50:19 +03:00
Yuri Kuznetsov 77a0718521 Merge branch 'master' of https://github.com/espocrm/espocrm 2023-09-30 09:24:18 +03:00
Yuri Kuznetsov 6c2bab44f6 hide layout foreign 2023-09-29 21:05:07 +03:00
Yuri Kuznetsov b6f8a8bf9e fix 2023-09-29 21:00:25 +03:00
Yuri Kuznetsov ed3030606f fix 2023-09-29 17:31:39 +03:00
Yuri Kuznetsov 274e46fa35 schema fix 2023-09-29 17:20:18 +03:00
Yuri Kuznetsov e95620c131 link: createButton prop 2023-09-29 17:14:38 +03:00
Yuri Kuznetsov 31cb11f0d1 fix autotomplete url where 2023-09-29 15:28:07 +03:00
Yuri Kuznetsov fae905efb0 email mass update layout 2023-09-29 10:00:03 +03:00
Yuri Kuznetsov fcc1bada71 fix schema 2023-09-29 09:55:35 +03:00
Yuri Kuznetsov 8a140b2303 calendar span to another day in agenda view when duration <24h 2023-09-28 09:58:45 +03:00
Yuri Kuznetsov 9551590f92 fix all-day after drop 2023-09-28 09:54:28 +03:00
Yuri Kuznetsov 0d8278aa0d cs 2023-09-28 09:31:59 +03:00
Yuri Kuznetsov c23a4e2085 calendar fix all-day issue 2023-09-28 09:26:54 +03:00
Yuri Kuznetsov fe77f2c14c calendar fix update event rendering 2023-09-28 09:01:09 +03:00
Yuri Kuznetsov 5e06ad19ee cs 2023-09-28 08:18:53 +03:00
Yuri Kuznetsov 8bce12aca3 fix calendar initial date 2023-09-28 07:54:42 +03:00
Yuri Kuznetsov d928ba7c3b calendar color fix 2023-09-26 15:08:59 +03:00
Yuri Kuznetsov 25b0077adc fix ldap warning 2023-09-26 11:31:53 +03:00
Yuri Kuznetsov ee0bcb7685 fix upgrade script 2023-09-26 09:28:57 +03:00
Yuri Kuznetsov 642141f574 select list layout 2023-09-25 14:35:27 +03:00
Yuri Kuznetsov 90cdfb5e7e layout fix 2023-09-25 14:34:28 +03:00
Yuri Kuznetsov 9967bc26d9 link link multiple autocomplete apply all filters, fix empty autocomplete 2023-09-22 15:47:08 +03:00
Yuri Kuznetsov fef2d74ec2 autocomplete on empty 2023-09-22 14:46:14 +03:00
Yuri Kuznetsov 9bbd262d05 fix param panelDefs.selectPrimaryFilterName usage 2023-09-22 14:27:51 +03:00
Yuri Kuznetsov 555d8a1a24 navbar fix 2023-09-22 12:21:05 +03:00
Yuri Kuznetsov f7f549fb05 cs 2023-09-22 11:51:25 +03:00
Aurelio d69c631a32 German Translation fixes and improvements (#2853)
* German translation of cancellation templates
2023-09-21 16:36:34 +03:00
Yuri Kuznetsov 5e3a4c12d7 style fix 2023-09-21 14:24:17 +03:00
Yuri Kuznetsov f75d0562ba uix fix 2023-09-21 14:19:47 +03:00
Yuri Kuznetsov ab745b3b03 de_DE update 2023-09-21 14:04:44 +03:00
Yuri Kuznetsov f745d870f7 dont override bool filter list 2023-09-21 13:15:42 +03:00
Yuri Kuznetsov 0ebae7734a format 2023-09-21 13:09:48 +03:00
Yuri Kuznetsov b1b61963fc login headers fix 2023-09-21 11:20:10 +03:00
Yuri Kuznetsov 5282f01cda link multiple default in orm metadata 2023-09-21 10:28:37 +03:00
Yuri Kuznetsov 9f38c01668 Update bug_report.md 2023-09-20 22:23:28 +03:00
Yuri Kuznetsov 6fed836bee calendar time on shared view 2023-09-19 14:22:46 +03:00
Yuri Kuznetsov d39c8837fb v 2023-09-18 10:47:23 +03:00
Yuri Kuznetsov 870be0d1f0 upgrade fix 2023-09-18 10:41:12 +03:00
Yuri Kuznetsov a889163d23 before upgrade check 2023-09-18 10:31:04 +03:00
Yuri Kuznetsov 1145d1c902 lang 2023-09-18 10:15:50 +03:00
Yuri Kuznetsov d641e5faaa calendar css fix 2023-09-14 17:31:24 +03:00
Yuri Kuznetsov 57ca5ebf7b fix calendar month view day label 2023-09-14 15:26:18 +03:00
Yuri Kuznetsov c2126e0680 fix email template plain text br 2023-09-14 14:36:18 +03:00
Yuri Kuznetsov 45ba66c0ff ref 2023-09-14 14:25:17 +03:00
Yuri Kuznetsov a6af348a50 cs 2023-09-14 14:23:12 +03:00
4541 changed files with 96450 additions and 73348 deletions
+13 -14
View File
@@ -1,25 +1,24 @@
## Issues
When reporting a possible bug, provide detail steps so that we will be able
to reproduce the issue. Try not to use phrases like "very big bug",
"huge issue", "useless feature", etc. No need to use exclamation marks as well.
Steps to reproduce should be clear and unambiguous.
Note that we don't provide developer help or any kind of support on GitHub.
For this, please use our [forum](https://forum.espocrm.com).
## Pull Requests
We are open for contributions that are bug fixes and small improvements. If you would like to contribute something that is not a small fix, please reach out to maintainers before submitting your PR (by creating a GitHub issue).
Before we can merge your pull request, you need to accept our CLA [here](https://github.com/espocrm/cla).
It's desirable that one PR solves one specific problem. Do not include code style changes to PRs
(unless the main purpose of the PR is a code style fix).
If you would like to contribute something that is not a small fix, it's reasonable to create an issue first
(a bug report or feature request).
Branches:
* *master* the develop branch; new features should be pushed to here;
* *fix* the upcoming maintenance release; small fixes should be pushed to here.
## Issues
We'd appreciate if you prefer posting issues on weekdays rather than weekends.
When reporting a possible bug, please provide detail steps so that we will be able
to reproduce the issue. Please try not to use phrases like "very big bug",
"huge issue", etc. No need to use exclamation marks as well.
Note that we don't provide developer help or any kind of support on GitHub.
For this, please use our [forum](https://forum.espocrm.com).
+1 -1
View File
@@ -10,7 +10,7 @@ assignees: ''
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
**To Reproduce (MANDATORY, DO NOT REMOVE)**
Explicit steps to reproduce the behavior:
1. ...
2. ...
+1 -1
View File
@@ -1,6 +1,6 @@
---
name: Feature request
about: Suggest an idea for EspoCRM.
about: Feature requests are not desired at the moment. Need to polish the system. For high-level features, consider creating feature requests on the forum. For low-level (framework) here on GitHub.
title: ''
labels: ''
assignees: ''
+1 -1
View File
@@ -33,7 +33,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['8.2']
php-versions: ['8.3']
branches: ['master']
steps:
+1 -1
View File
@@ -27,7 +27,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['8.0', '8.1', '8.2']
php-versions: ['8.1', '8.3']
branches: ['master']
steps:
+1 -1
View File
@@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
php-versions: ['8.0', '8.1', '8.2']
php-versions: ['8.1', '8.2', '8.3']
steps:
- uses: actions/checkout@v2
+2
View File
@@ -5,6 +5,8 @@
/data/.backup/*
/data/config.php
/data/config-internal.php
/data/config-override.php
/data/config-internal-override.php
/data/tmp/*
/build
/node_modules
+10 -10
View File
@@ -1,27 +1,27 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-${YEAR} Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
+2 -1
View File
@@ -2,13 +2,14 @@
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="DuplicatedCode" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
<inspection_tool class="ES6ConvertVarToLetConst" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
<inspection_tool class="ES6ConvertLetToConst" enabled="true" level="WEAK WARNING" enabled_by_default="true" editorAttributes="INFO_ATTRIBUTES" />
<inspection_tool class="JSIgnoredPromiseFromCall" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
<inspection_tool class="PhpDocMissingThrowsInspection" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
<inspection_tool class="PhpDocSignatureIsNotCompleteInspection" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
<inspection_tool class="PhpMissingFieldTypeInspection" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
<inspection_tool class="PhpMissingParamTypeInspection" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
<inspection_tool class="PhpMissingReturnTypeInspection" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
<inspection_tool class="PhpPropertyCanBeReadonlyInspection" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
<inspection_tool class="PhpStanGlobal" enabled="false" level="WEAK WARNING" enabled_by_default="false">
<option name="config" value="$PROJECT_DIR$/phpstan.neon" />
</inspection_tool>
+76
View File
@@ -550,6 +550,25 @@
</SchemaInfo>
</value>
</entry>
<entry key="metadata/app/emailTemplate">
<value>
<SchemaInfo>
<option name="generatedName" value="New Schema" />
<option name="name" value="metadata/app/emailTemplate" />
<option name="relativePathToSchema" value="schema/metadata/app/emailTemplate.json" />
<option name="schemaVersion" value="JSON Schema version 7" />
<option name="patterns">
<list>
<Item>
<option name="pattern" value="true" />
<option name="path" value="*/Resources/metadata/app/emailTemplate.json" />
<option name="mappingKind" value="Pattern" />
</Item>
</list>
</option>
</SchemaInfo>
</value>
</entry>
<entry key="metadata/app/entityManagerParams">
<value>
<SchemaInfo>
@@ -778,6 +797,25 @@
</SchemaInfo>
</value>
</entry>
<entry key="metadata/app/layouts">
<value>
<SchemaInfo>
<option name="generatedName" value="New Schema" />
<option name="name" value="metadata/app/layouts" />
<option name="relativePathToSchema" value="schema/metadata/app/layouts.json" />
<option name="schemaVersion" value="JSON Schema version 7" />
<option name="patterns">
<list>
<Item>
<option name="pattern" value="true" />
<option name="path" value="*/Resources/metadata/app/layouts.json" />
<option name="mappingKind" value="Pattern" />
</Item>
</list>
</option>
</SchemaInfo>
</value>
</entry>
<entry key="metadata/app/linkManager">
<value>
<SchemaInfo>
@@ -816,6 +854,25 @@
</SchemaInfo>
</value>
</entry>
<entry key="metadata/app/mapProviders">
<value>
<SchemaInfo>
<option name="generatedName" value="New Schema" />
<option name="name" value="metadata/app/mapProviders" />
<option name="relativePathToSchema" value="schema/metadata/app/mapProviders.json" />
<option name="schemaVersion" value="JSON Schema version 7" />
<option name="patterns">
<list>
<Item>
<option name="pattern" value="true" />
<option name="path" value="*/Resources/metadata/app/mapProviders.json" />
<option name="mappingKind" value="Pattern" />
</Item>
</list>
</option>
</SchemaInfo>
</value>
</entry>
<entry key="metadata/app/massActions">
<value>
<SchemaInfo>
@@ -854,6 +911,25 @@
</SchemaInfo>
</value>
</entry>
<entry key="metadata/app/clientNavbar">
<value>
<SchemaInfo>
<option name="generatedName" value="New Schema" />
<option name="name" value="metadata/app/clientNavbar" />
<option name="relativePathToSchema" value="schema/metadata/app/clientNavbar.json" />
<option name="schemaVersion" value="JSON Schema version 7" />
<option name="patterns">
<list>
<Item>
<option name="pattern" value="true" />
<option name="path" value="*/Resources/metadata/app/clientNavbar.json" />
<option name="mappingKind" value="Pattern" />
</Item>
</list>
</option>
</SchemaInfo>
</value>
</entry>
<entry key="metadata/app/orm">
<value>
<SchemaInfo>
+1
View File
@@ -3,5 +3,6 @@
<component name="PhpEntryPointsManager">
<pattern value="\Espo\Controllers\*" member="*Action*" />
<pattern value="\Espo\Modules\*\Controllers\*" member="*Action*" />
<suppressed_annotations>@implements</suppressed_annotations>
</component>
</project>
+25 -7
View File
@@ -16,7 +16,7 @@
"fileMatch": [
"*/Resources/module.json"
],
"url": "./schema/routes.json"
"url": "./schema/module.json"
},
{
"fileMatch": [
@@ -58,12 +58,6 @@
],
"url": "./schema/metadata/dashlets.json"
},
{
"fileMatch": [
"*/metadata//*.json"
],
"url": "./schema/metadata/.json"
},
{
"fileMatch": [
"*/metadata/entityAcl/*.json"
@@ -256,6 +250,12 @@
],
"url": "./schema/metadata/app/defaultDashboardOptions.json"
},
{
"fileMatch": [
"*/Resources/metadata/app/emailTemplate.json"
],
"url": "./schema/metadata/app/emailTemplate.json"
},
{
"fileMatch": [
"*/Resources/metadata/app/entityManagerParams.json"
@@ -328,6 +328,12 @@
],
"url": "./schema/metadata/app/language.json"
},
{
"fileMatch": [
"*/Resources/metadata/app/layouts.json"
],
"url": "./schema/metadata/app/layouts.json"
},
{
"fileMatch": [
"*/Resources/metadata/app/linkManager.json"
@@ -340,6 +346,12 @@
],
"url": "./schema/metadata/app/entityManager.json"
},
{
"fileMatch": [
"*/Resources/metadata/app/mapProviders.json"
],
"url": "./schema/metadata/app/mapProviders.json"
},
{
"fileMatch": [
"*/Resources/metadata/app/massActions.json"
@@ -352,6 +364,12 @@
],
"url": "./schema/metadata/app/metadata.json"
},
{
"fileMatch": [
"*/Resources/metadata/app/clientNavbar.json"
],
"url": "./schema/metadata/app/clientNavbar.json"
},
{
"fileMatch": [
"*/Resources/metadata/app/orm.json"
+45 -39
View File
@@ -1,22 +1,29 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
/**
@@ -45,23 +52,23 @@ module.exports = grunt => {
const originalLibDir = 'client/lib/original';
let libsBundleFileList = [
const libsBundleFileList = [
'client/src/namespace.js',
'client/src/loader.js',
...buildUtils.getPreparedBundleLibList(libs),
];
let bundleFileMap = {'client/lib/espo.js': libsBundleFileList};
const bundleFileMap = {'client/lib/espo.js': libsBundleFileList};
for (let name in bundleConfig.chunks) {
let namePart = 'espo-' + name;
for (const name in bundleConfig.chunks) {
const namePart = 'espo-' + name;
bundleFileMap[`client/lib/${namePart}.js`] = originalLibDir + `/${namePart}.js`
}
let copyJsFileList = buildUtils.getCopyLibDataList(libs);
const copyJsFileList = buildUtils.getCopyLibDataList(libs);
let minifyLibFileList = copyJsFileList
const minifyLibFileList = copyJsFileList
.filter(item => item.minify)
.map(item => {
return {
@@ -70,21 +77,21 @@ module.exports = grunt => {
};
});
let currentPath = path.dirname(fs.realpathSync(__filename));
const currentPath = path.dirname(fs.realpathSync(__filename));
let themeList = [];
const themeList = [];
fs.readdirSync('application/Espo/Resources/metadata/themes').forEach(file => {
themeList.push(file.substring(0, file.length - 5));
});
let cssminFilesData = {};
let lessData = {};
const cssminFilesData = {};
const lessData = {};
themeList.forEach(theme => {
let name = buildUtils.camelCaseToHyphen(theme);
const name = buildUtils.camelCaseToHyphen(theme);
let files = {};
const files = {};
files['client/css/espo/'+name+'.css'] = 'frontend/less/'+name+'/main.less';
files['client/css/espo/'+name+'-iframe.css'] = 'frontend/less/'+name+'/iframe/main.less';
@@ -273,20 +280,20 @@ module.exports = grunt => {
fs.mkdirSync(originalLibDir);
}
let file = originalLibDir + `/${name}.js`;
const file = originalLibDir + `/${name}.js`;
fs.writeFileSync(file, contents, 'utf8');
};
grunt.registerTask('bundle', () => {
let bundler = new Bundler(bundleConfig, libs);
const bundler = new Bundler(bundleConfig, libs);
let result = bundler.bundle();
const result = bundler.bundle();
for (let name in result) {
for (const name in result) {
let contents = result[name];
let key = 'espo-' + name;
const key = 'espo-' + name;
if (name === 'main') {
contents += '\n' + (new LayoutTypeBundler()).bundle();
@@ -297,7 +304,7 @@ module.exports = grunt => {
});
grunt.registerTask('bundle-templates', () => {
let templateBundler = new TemplateBundler({
const templateBundler = new TemplateBundler({
dirs: [
'client/res/templates',
'client/modules/crm/res/templates',
@@ -328,9 +335,9 @@ module.exports = grunt => {
});
grunt.registerTask('chmod-multiple', () => {
let dirPath = 'build/EspoCRM-' + pkg.version;
const dirPath = 'build/EspoCRM-' + pkg.version;
let fileList = [
const fileList = [
{
name: '*.php',
},
@@ -363,7 +370,7 @@ module.exports = grunt => {
},
];
let dirReadableList = [
const dirReadableList = [
'public/install',
'public/portal',
'public/api',
@@ -372,7 +379,7 @@ module.exports = grunt => {
'.',
];
let dirWritableList = [
const dirWritableList = [
'data',
'custom',
'custom/Espo',
@@ -383,8 +390,8 @@ module.exports = grunt => {
];
fileList.forEach(item => {
let path = item.folder || '.';
let name = item.name;
const path = item.folder || '.';
const name = item.name;
cp.execSync(
`find ${path} -type f -iname "${name}" -exec chmod 644 {} +`,
@@ -447,23 +454,22 @@ module.exports = grunt => {
grunt.registerTask('zip', function () { // Don't change to arrow-function.
const archiver = require('archiver');
let resolve = this.async();
const resolve = this.async();
let folder = 'EspoCRM-' + pkg.version;
let zipPath = 'build/' + folder +'.zip';
const folder = 'EspoCRM-' + pkg.version;
const zipPath = 'build/' + folder + '.zip';
if (fs.existsSync(zipPath)) {
fs.unlinkSync(zipPath);
}
let archive = archiver('zip');
const archive = archiver('zip');
archive.on('error', err => {
grunt.fail.warn(err);
});
let zipOutput = fs.createWriteStream(zipPath);
const zipOutput = fs.createWriteStream(zipPath);
zipOutput.on('close', () => {
console.log("EspoCRM package has been built.");
+67 -80
View File
@@ -1,23 +1,21 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
software for all its users.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
@@ -26,44 +24,34 @@ them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.
The precise terms and conditions for copying, distribution and
modification follow.
@@ -72,7 +60,7 @@ modification follow.
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
@@ -549,35 +537,45 @@ to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
the GNU Affero General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
@@ -635,40 +633,29 @@ the "copyright" line and a pointer to where the full notice is found.
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
GNU Affero General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
For more information on this, and how to apply and follow the GNU AGPL, see
<https://www.gnu.org/licenses/>.
+14 -14
View File
@@ -6,7 +6,7 @@
software that allows you to see, enter and evaluate all your company relationships regardless
of the type. People, companies or opportunities all in an easy and intuitive interface.
It's a web application with a frontend designed as a single page application and REST API
It's a web application with a frontend designed as a single page application and a REST API
backend written in PHP.
[Download](https://www.espocrm.com/download/) the latest release from our website. Release notes
@@ -20,9 +20,9 @@ You can try the CRM on the online [demo](https://www.espocrm.com/demo/).
### Requirements
* PHP 8.0 and later;
* MySQL 5.7 (and later), or MariaDB 10.2 (and later).
* PostgreSQL 15 (and later) (yet experimental, officially supported soon)
* PHP 8.1 - 8.3;
* MySQL 5.7 (and later), or MariaDB 10.2 (and later);
* PostgreSQL 15 (and later) (yet experimental, officially supported soon).
For more information about server configuration see [this article](https://docs.espocrm.com/administration/server-configuration/).
@@ -38,7 +38,7 @@ Create a [GitHub issue](https://github.com/espocrm/espocrm/issues/new/choose) or
See installation instructions:
* [Manual installation](https://docs.espocrm.com/administration/installation/)
* [Manual installation](https://docs.espocrm.com/administration/installation/)
* [Installation by script](https://docs.espocrm.com/administration/installation-by-script/)
* [Installation with Docker](https://docs.espocrm.com/administration/docker/installation/)
* [Installation with Traefik](https://docs.espocrm.com/administration/docker/traefik/)
@@ -49,9 +49,17 @@ See the [developer documentation](https://docs.espocrm.com/development/).
We highly recommend using IDE for development. The backend codebase follows SOLID principles, utilizes interfaces, static typing and generics. We recommend to start learning EspoCRM from the Dependency Injection article in the documentation.
### Community & Support
If you have a question regarding some features, need help or customizations, want to get in touch with other EspoCRM users, or add a feature request, please use our [community forum](https://forum.espocrm.com/). We believe that using the forum to ask for help and share experience allows everyone in the community to contribute and use this knowledge later.
### License
EspoCRM is published under the GNU AGPLv3 [license](https://raw.githubusercontent.com/espocrm/espocrm/master/LICENSE.txt).
### Contributing
Before we can merge your pull request, you need to accept our CLA [here](https://github.com/espocrm/cla). It's very simple to do.
Before we can merge your pull request, you need to accept our CLA [here](https://github.com/espocrm/cla). See [contributing guidelines](https://github.com/espocrm/espocrm/blob/master/.github/CONTRIBUTING.md).
Branches:
@@ -64,11 +72,3 @@ Branches:
If you want to improve existing translation or add a language that is not available yet, you can contribute on our [POEditor](https://poeditor.com/join/project/gLDKZtUF4i) project. See instructions [here](https://www.espocrm.com/blog/how-to-use-poeditor-to-translate-espocrm/). It may be reasonable to let us know about your intention to join the POEditor project by posting on our forum or via the contact form on our website.
Changes on POEditor are usually merged to the GitHub repository before minor releases.
### Community & Support
If you have a question regarding some features, need help or customizations, want to get in touch with other EspoCRM users, or add a feature request, please use our [community forum](https://forum.espocrm.com/). We believe that using the forum to ask for help and share experience allows everyone in the community to contribute and use this knowledge later.
### License
EspoCRM is published under the GNU GPLv3 [license](https://raw.githubusercontent.com/espocrm/espocrm/master/LICENSE.txt).
+16 -21
View File
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -63,11 +63,6 @@ class Binding implements BindingProcessor
'container'
);
$binder->bindService(
'Espo\\Core\\Container',
'container'
);
$binder->bindService(
'Psr\\Container\\ContainerInterface',
'container'
@@ -148,11 +143,6 @@ class Binding implements BindingProcessor
'recordServiceContainer'
);
$binder->bindService(
'Espo\\Core\\Record\\HookManager',
'recordHookManager'
);
$binder->bindService(
'Espo\\Core\\HookManager',
'hookManager'
@@ -297,6 +287,11 @@ class Binding implements BindingProcessor
'Espo\\Core\\Record\\ActionHistory\\ActionLogger',
'Espo\\Core\\Record\\ActionHistory\\DefaultActionLogger'
);
$binder->bindImplementation(
'Espo\\Core\\Mail\\Importer',
'Espo\\Core\\Mail\\Importer\\DefaultImporter'
);
}
private function bindAcl(Binder $binder): void
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -99,10 +99,7 @@ class AccessChecker implements AccessEntityCREDChecker
else if ($this->aclManager->checkEntity($user, $parent)) {
if (
$entity->getTargetField() &&
in_array(
$entity->getTargetField(),
$this->aclManager->getScopeForbiddenFieldList($user, $parent->getEntityType())
)
!$this->aclManager->checkField($user, $parent->getEntityType(), $entity->getTargetField())
) {
return false;
}
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -0,0 +1,80 @@
<?php
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
namespace Espo\Classes\Acl\Email\LinkCheckers;
use Espo\Core\Acl\LinkChecker;
use Espo\Core\AclManager;
use Espo\Entities\Email;
use Espo\Entities\User;
use Espo\ORM\Entity;
use Espo\ORM\EntityManager;
/**
* @implements LinkChecker<Email, Entity>
* @noinspection PhpUnused
*/
class ParentLinkChecker implements LinkChecker
{
public function __construct(
private EntityManager $entityManager,
private AclManager $aclManager
) {}
public function check(User $user, Entity $entity, Entity $foreignEntity): bool
{
if ($this->aclManager->checkEntityRead($user, $foreignEntity)) {
return true;
}
if (!$entity->getReplied()) {
return false;
}
$replied = $this->entityManager
->getRepositoryByClass(Email::class)
->getById($entity->getReplied()->getId());
if (!$replied) {
return false;
}
$parentLink = $replied->getParent();
if (
!$parentLink ||
$parentLink->getId() !== $foreignEntity->getId() ||
$parentLink->getEntityType() !== $foreignEntity->getEntityType()
) {
return false;
}
return $this->aclManager->checkEntityRead($user, $replied);
}
}
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,33 +2,34 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
namespace Espo\Classes\Acl\Note;
use Espo\Core\Acl\Table;
use Espo\Entities\Note;
use Espo\Entities\User;
use Espo\ORM\Entity;
@@ -141,6 +142,10 @@ class AccessChecker implements AccessEntityCREDChecker
return in_array($user->getId(), $entity->getLinkMultipleIdList('users'));
}
if ($entity->getTargetType() === Note::TARGET_PORTALS) {
return $this->aclManager->getPermissionLevel($user, 'portal') === Table::LEVEL_YES;
}
return false;
}
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -105,10 +105,7 @@ class AccessChecker implements AccessEntityCREDChecker
else if ($this->aclManager->checkEntity($user, $parent)) {
if (
$entity->getTargetField() &&
in_array(
$entity->getTargetField(),
$this->aclManager->getScopeForbiddenFieldList($user, $parent->getEntityType())
)
!$this->aclManager->checkField($user, $parent->getEntityType(), $entity->getTargetField())
) {
return false;
}
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
+11 -11
View File
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
+11 -11
View File
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
+11 -11
View File
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -1,31 +1,31 @@
<?php
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
* This file is part of EspoCRM.
*
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
namespace Espo\Classes\AppParams;
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
+104
View File
@@ -0,0 +1,104 @@
<?php
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
namespace Espo\Classes\Cleanup;
use Espo\Core\Cleanup\Cleanup;
use Espo\Core\Field\DateTime;
use Espo\Core\Utils\Config;
use Espo\Core\Utils\Metadata;
use Espo\Entities\Note;
use Espo\ORM\EntityManager;
/**
* @noinspection PhpUnused
*/
class Audit implements Cleanup
{
private const PERIOD = '3 months';
public function __construct(
private Metadata $metadata,
private EntityManager $entityManager,
private Config $config
) {}
public function process(): void
{
if (!$this->config->get('cleanupAudit')) {
return;
}
$entityTypeList = $this->getEntityTypeList();
foreach ($entityTypeList as $scope) {
$this->processEntityType($scope);
}
}
private function processEntityType(string $entityType): void
{
$query = $this->entityManager
->getQueryBuilder()
->delete()
->from(Note::ENTITY_TYPE)
->where([
'parentType' => $entityType,
'createdAt<' => $this->getBefore()->toString(),
'type' => [Note::TYPE_UPDATE, Note::TYPE_STATUS],
])
->build();
$this->entityManager->getQueryExecutor()->execute($query);
}
/**
* @return string[]
*/
private function getEntityTypeList(): array
{
/** @var string[] $scopeList */
$scopeList = array_keys($this->metadata->get(['scopes']) ?? []);
$scopeList = array_filter($scopeList, function ($item) {
return $this->metadata->get(['scopes', $item, 'entity']) &&
!$this->metadata->get(['scopes', $item, 'stream']);
});
return array_values($scopeList);
}
private function getBefore(): DateTime
{
/** @var string $period */
$period = $this->config->get('cleanupAuditPeriod') ?? self::PERIOD;
return DateTime::createNow()->modify('-' . $period);
}
}
+12 -12
View File
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -57,7 +57,7 @@ class Exports implements Cleanup
$before = DateTime::createNow()
->modify($period)
->getString();
->toString();
$delete = $this->entityManager
->getQueryBuilder()
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -55,7 +55,7 @@ class MassActions implements Cleanup
$before = DateTime::createNow()
->modify($period)
->getString();
->toString();
$delete = $this->entityManager
->getQueryBuilder()
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -56,7 +56,7 @@ class PasswordChangeRequests implements Cleanup
$before = DateTime::createNow()
->modify($period)
->getString();
->toString();
$delete = $this->entityManager
->getQueryBuilder()
+11 -11
View File
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -122,7 +122,7 @@ class Subscribers implements Cleanup
),
Cond::less(
Cond::column('entity.' . $dateField),
$before->getString()
$before->toString()
),
Cond::in(
Cond::column('entity.' . $statusField),
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -0,0 +1,66 @@
<?php
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
namespace Espo\Classes\ConsoleCommands;
use Espo\Core\Console\Command;
use Espo\Core\Console\Command\Params;
use Espo\Core\Console\IO;
use Espo\Core\Utils\File\Manager as FileManager;
use Espo\Core\Utils\System;
use Espo\Core\Utils\Util;
/**
* @noinspection PhpUnused
*/
class CheckFilePermissions implements Command
{
public function __construct(
private FileManager $fileManager,
private System $system
) {}
public function run(Params $params, IO $io): void
{
$io->writeLine("\nNote: Run this command under the web server user.\n");
$io->writeLine('Writable:');
$io->writeLine('');
foreach ($this->fileManager->getPermissionUtils()->getWritableList() as $path) {
$fullPath = Util::concatPath($this->system->getRootDir(), $path);
$isWritable = $this->fileManager->isWritable($fullPath);
$msg = " " . ($isWritable ? "OK" : "FAIL") . " : $path";
$io->writeLine($msg);
}
}
}
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -33,6 +33,7 @@ use Espo\Core\Duplicate\WhereBuilder;
use Espo\Core\Field\EmailAddressGroup;
use Espo\Core\Field\PhoneNumberGroup;
use Espo\Core\ORM\Entity as CoreEntity;
use Espo\Core\Utils\Config;
use Espo\Core\Utils\Metadata;
use Espo\ORM\Defs;
use Espo\ORM\Entity;
@@ -49,7 +50,8 @@ class General implements WhereBuilder
{
public function __construct(
private Metadata $metadata,
private Defs $ormDefs
private Defs $ormDefs,
private Config $config
) {}
/**
@@ -177,6 +179,12 @@ class General implements WhereBuilder
$toCheck = false;
$isNumeric = $this->config->get('phoneNumberNumericSearch');
$column = $isNumeric ?
$field . 'Numeric' :
$field;
if (
($entity->get($field) || $entity->get($field . 'Data')) &&
(
@@ -185,11 +193,15 @@ class General implements WhereBuilder
$entity->isAttributeChanged($field . 'Data')
)
) {
foreach ($this->getPhoneNumberList($entity) as $phoneNumber) {
foreach ($this->getPhoneNumberList($entity) as $number) {
if ($isNumeric) {
$number = preg_replace('/[^0-9]/', '', $number);
}
$orBuilder->add(
Cond::equal(
Cond::column($field),
$phoneNumber
Cond::column($column),
$number
)
);
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,71 +2,83 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
namespace Espo\Services;
namespace Espo\Classes\FieldProcessing\LeadCapture;
use Espo\Entities\LeadCapture as LeadCaptureEntity;
use Espo\Core\FieldProcessing\Loader;
use Espo\Core\FieldProcessing\Loader\Params;
use Espo\Core\Utils\Config;
use Espo\Core\Utils\FieldUtil;
use Espo\Core\Utils\Util;
use Espo\Entities\LeadCapture;
use Espo\Modules\Crm\Entities\Lead;
use Espo\ORM\Entity;
use Espo\Tools\LeadCapture\Service as LeadCaptureService;
use Espo\Core\Utils\Util;
use Espo\ORM\EntityManager;
/**
* @extends Record<LeadCaptureEntity>
* @implements Loader<LeadCapture>
*/
class LeadCapture extends Record
class ExampleLoader implements Loader
{
/** @var string[] */
protected $readOnlyAttributeList = ['apiKey'];
public function __construct(
private FieldUtil $fieldUtil,
private Config $config,
private EntityManager $entityManager
) {}
/**
* @param LeadCaptureEntity $entity
*/
public function prepareEntityForOutput(Entity $entity)
public function process(Entity $entity, Params $params): void
{
parent::prepareEntityForOutput($entity);
$entity->set('exampleRequestMethod', 'POST');
$entity->set('exampleRequestHeaders', [
'Content-Type: application/json',
]);
$this->processRequestUrl($entity);
$this->processRequestPayload($entity);
}
private function processRequestUrl(LeadCapture $entity): void
{
$apiKey = $entity->getApiKey();
$siteUrl = $this->config->get('siteUrl');
if ($apiKey) {
$requestUrl = $this->config->getSiteUrl() . '/api/v1/LeadCapture/' . $apiKey;
$entity->set('exampleRequestUrl', $requestUrl);
if (!$apiKey) {
return;
}
$fieldUtil = $this->fieldUtil;
$requestUrl = "$siteUrl/api/v1/LeadCapture/$apiKey";
$requestPayload = "```{\n";
$entity->set('exampleRequestUrl', $requestUrl);
}
private function processRequestPayload(LeadCapture $entity): void
{
$requestPayload = "```\n{\n";
$attributeList = [];
@@ -80,7 +92,7 @@ class LeadCapture extends Record
];
foreach ($entity->getFieldList() as $field) {
foreach ($fieldUtil->getActualAttributeList(Lead::ENTITY_TYPE, $field) as $attribute) {
foreach ($this->fieldUtil->getActualAttributeList(Lead::ENTITY_TYPE, $field) as $attribute) {
if (!in_array($attribute, $attributeIgnoreList)) {
$attributeList[] = $attribute;
}
@@ -105,20 +117,8 @@ class LeadCapture extends Record
$requestPayload .= "\n";
}
$requestPayload .= '}```';
$requestPayload .= "}\n```";
$entity->set('exampleRequestPayload', $requestPayload);
}
protected function beforeCreateEntity(Entity $entity, $data)
{
$apiKey = $this->createLeadCaptureService()->generateApiKey();
$entity->set('apiKey', $apiKey);
}
protected function createLeadCaptureService(): LeadCaptureService
{
return $this->injectableFactory->create(LeadCaptureService::class);
}
}
@@ -2,46 +2,45 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
namespace Espo\Classes\FieldProcessing\Note;
use Espo\ORM\Entity;
use Espo\Core\FieldProcessing\Loader;
use Espo\Core\FieldProcessing\Loader\Params;
use Espo\Entities\Note;
use Espo\ORM\Entity;
/**
* @implements Loader<Note>
*/
class AttachmentsLoader implements Loader
class AdditionalFieldsLoader implements Loader
{
public function process(Entity $entity, Params $params): void
{
/** @var Note $entity */
$entity->loadAttachments();
$entity->loadAdditionalFields();
}
}
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -34,7 +34,6 @@ use Espo\Entities\AuthToken;
use Espo\Entities\User;
use Espo\ORM\Entity;
use Espo\Core\Acl;
use Espo\Core\Acl\Table;
use Espo\Core\FieldProcessing\Loader;
use Espo\Core\FieldProcessing\Loader\Params;
use Espo\Core\ORM\EntityManager;
@@ -44,6 +43,7 @@ use Exception;
/**
* @implements Loader<User>
* @noinspection PhpUnused
*/
class LastAccessLoader implements Loader
{
@@ -58,10 +58,7 @@ class LastAccessLoader implements Loader
public function process(Entity $entity, Params $params): void
{
$forbiddenFieldList = $this->acl
->getScopeForbiddenFieldList($entity->getEntityType(), Table::ACTION_READ);
if (in_array('lastAccess', $forbiddenFieldList)) {
if (!$this->acl->checkField($entity->getEntityType(), 'lastAccess')) {
return;
}
@@ -0,0 +1,54 @@
<?php
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
namespace Espo\Classes\FieldSanitizers;
use Espo\Core\FieldSanitize\Sanitizer;
use Espo\Core\FieldSanitize\Sanitizer\Data;
/**
* @noinspection PhpUnused
*/
class ArrayFromNull implements Sanitizer
{
public function sanitize(Data $data, string $field): void
{
if (!$data->has($field)) {
return;
}
$value = $data->get($field);
if ($value !== null) {
return;
}
$data->set($field, []);
}
}
@@ -0,0 +1,62 @@
<?php
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
namespace Espo\Classes\FieldSanitizers;
use Espo\Core\FieldSanitize\Sanitizer;
use Espo\Core\FieldSanitize\Sanitizer\Data;
/**
* @noinspection PhpUnused
*/
class ArrayStringTrim implements Sanitizer
{
public function sanitize(Data $data, string $field): void
{
if (!$data->has($field)) {
return;
}
$value = $data->get($field);
if (!is_array($value)) {
return;
}
foreach ($value as $i => $item) {
if (!is_string($item)) {
continue;
}
$value[$i] = trim($item);
}
$data->set($field, $value);
}
}
@@ -0,0 +1,70 @@
<?php
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
namespace Espo\Classes\FieldSanitizers;
use DateTimeImmutable;
use DateTimeInterface;
use Espo\Core\Field\Date as DateValue;
use Espo\Core\FieldSanitize\Sanitizer;
use Espo\Core\FieldSanitize\Sanitizer\Data;
use Espo\Core\Utils\DateTime as DateTimeUtil;
use Exception;
/**
* @noinspection PhpUnused
*/
class Date implements Sanitizer
{
public function sanitize(Data $data, string $field): void
{
$value = $data->get($field);
if ($value === null) {
return;
}
try {
DateValue::fromString($value);
return;
}
catch (Exception) {}
$dateTime = DateTimeImmutable::createFromFormat(DateTimeInterface::ATOM, $value);
if ($dateTime === false) {
return;
}
$value = $dateTime->format(DateTimeUtil::SYSTEM_DATE_FORMAT);
$data->set($field, $value);
}
}
@@ -0,0 +1,73 @@
<?php
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
namespace Espo\Classes\FieldSanitizers;
use DateTimeImmutable;
use DateTimeInterface;
use DateTimeZone;
use Espo\Core\Field\DateTime as DateTimeValue;
use Espo\Core\FieldSanitize\Sanitizer;
use Espo\Core\FieldSanitize\Sanitizer\Data;
use Espo\Core\Utils\DateTime as DateTimeUtil;
use Exception;
/**
* @noinspection PhpUnused
*/
class Datetime implements Sanitizer
{
public function sanitize(Data $data, string $field): void
{
$value = $data->get($field);
if ($value === null) {
return;
}
try {
DateTimeValue::fromString($value);
return;
}
catch (Exception) {}
$dateTime = DateTimeImmutable::createFromFormat(DateTimeInterface::ATOM, $value);
if ($dateTime === false) {
return;
}
$value = $dateTime
->setTimezone(new DateTimeZone('UTC'))
->format(DateTimeUtil::SYSTEM_DATE_TIME_FORMAT);
$data->set($field, $value);
}
}
@@ -0,0 +1,72 @@
<?php
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
namespace Espo\Classes\FieldSanitizers;
use DateTimeImmutable;
use DateTimeInterface;
use Espo\Core\Field\Date;
use Espo\Core\FieldSanitize\Sanitizer;
use Espo\Core\FieldSanitize\Sanitizer\Data;
use Espo\Core\Utils\DateTime as DateTimeUtil;
use Exception;
/**
* @noinspection PhpUnused
*/
class DatetimeOptionalDate implements Sanitizer
{
public function sanitize(Data $data, string $field): void
{
$attribute = $field . 'Date';
$value = $data->get($attribute);
if ($value === null) {
return;
}
try {
Date::fromString($value);
return;
}
catch (Exception) {}
$dateTime = DateTimeImmutable::createFromFormat(DateTimeInterface::ATOM, $value);
if ($dateTime === false) {
return;
}
$value = $dateTime->format(DateTimeUtil::SYSTEM_DATE_FORMAT);
$data->set($attribute, $value);
}
}
@@ -0,0 +1,58 @@
<?php
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
namespace Espo\Classes\FieldSanitizers;
use Espo\Core\FieldSanitize\Sanitizer;
use Espo\Core\FieldSanitize\Sanitizer\Data;
/**
* @noinspection PhpUnused
*/
class EmptyStringToNull implements Sanitizer
{
public function sanitize(Data $data, string $field): void
{
if (!$data->has($field)) {
return;
}
$value = $data->get($field);
if (!is_string($value)) {
return;
}
if ($value === '') {
$value = null;
}
$data->set($field, $value);
}
}
@@ -0,0 +1,77 @@
<?php
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
namespace Espo\Classes\FieldSanitizers;
use Espo\Core\FieldSanitize\Sanitizer;
use Espo\Core\FieldSanitize\Sanitizer\Data;
use Espo\Core\PhoneNumber\Sanitizer as PhoneNumberSanitizer;
use stdClass;
class Phone implements Sanitizer
{
public function __construct(
private PhoneNumberSanitizer $phoneNumberSanitizer
) {}
public function sanitize(Data $data, string $field): void
{
$number = $data->get($field);
if ($number !== null) {
$number = $this->phoneNumberSanitizer->sanitize($number);
$data->set($field, $number);
}
$items = $data->get($field . 'Data');
if (!is_array($items)) {
return;
}
foreach ($items as $item) {
if (!$item instanceof stdClass) {
continue;
}
$number = $item->phoneNumber ?? null;
if (!is_scalar($number)) {
continue;
}
$number = (string) $number;
$item->phoneNumber = $this->phoneNumberSanitizer->sanitize($number);
}
$data->set($field . 'Data', $items);
}
}
@@ -0,0 +1,60 @@
<?php
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
namespace Espo\Classes\FieldSanitizers;
use Espo\Core\FieldSanitize\Sanitizer;
use Espo\Core\FieldSanitize\Sanitizer\Data;
/**
* @noinspection PhpUnused
*/
class StringTrim implements Sanitizer
{
public function sanitize(Data $data, string $field): void
{
if (!$data->has($field)) {
return;
}
$value = $data->get($field);
if (!is_string($value)) {
return;
}
$value = trim($value);
if ($value === '') {
$value = null;
}
$data->set($field, $value);
}
}
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
@@ -2,28 +2,28 @@
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* EspoCRM Open Source CRM application.
* Copyright (C) 2014-2024 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
* Section 5 of the GNU Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/

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