tryton-sao 7.6.12 → 7.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/CHANGELOG +9 -53
  2. package/Gruntfile.js +1 -0
  3. package/dist/tryton-sao.css +91 -1
  4. package/dist/tryton-sao.js +626 -307
  5. package/images/tryton-notification-off.svg +1 -0
  6. package/images/tryton-notification-on.svg +1 -0
  7. package/images/tryton-notification.svg +1 -0
  8. package/index.html +5 -4
  9. package/locale/bg.json +1 -1
  10. package/locale/bg.po +12 -0
  11. package/locale/ca.json +1 -1
  12. package/locale/ca.po +19 -8
  13. package/locale/cs.json +1 -1
  14. package/locale/cs.po +12 -0
  15. package/locale/de.json +1 -1
  16. package/locale/de.po +12 -0
  17. package/locale/es.json +1 -1
  18. package/locale/es.po +12 -0
  19. package/locale/es_419.json +1 -1
  20. package/locale/es_419.po +12 -0
  21. package/locale/et.json +1 -1
  22. package/locale/et.po +12 -0
  23. package/locale/fa.json +1 -1
  24. package/locale/fa.po +12 -0
  25. package/locale/fi.json +1 -1
  26. package/locale/fi.po +12 -0
  27. package/locale/fr.json +1 -1
  28. package/locale/fr.po +12 -0
  29. package/locale/hu.json +1 -1
  30. package/locale/hu.po +12 -0
  31. package/locale/id.json +1 -1
  32. package/locale/id.po +12 -0
  33. package/locale/it.json +1 -1
  34. package/locale/it.po +12 -0
  35. package/locale/lo.json +1 -1
  36. package/locale/lo.po +12 -0
  37. package/locale/lt.json +1 -1
  38. package/locale/lt.po +12 -0
  39. package/locale/messages.pot +12 -0
  40. package/locale/nl.json +1 -1
  41. package/locale/nl.po +12 -0
  42. package/locale/pl.json +1 -1
  43. package/locale/pl.po +14 -2
  44. package/locale/pt.json +1 -1
  45. package/locale/pt.po +12 -0
  46. package/locale/ro.json +1 -1
  47. package/locale/ro.po +13 -1
  48. package/locale/ru.json +1 -1
  49. package/locale/ru.po +12 -0
  50. package/locale/sl.json +1 -1
  51. package/locale/sl.po +12 -0
  52. package/locale/tr.json +1 -1
  53. package/locale/tr.po +12 -0
  54. package/locale/uk.json +1 -1
  55. package/locale/uk.po +12 -0
  56. package/locale/zh_CN.json +1 -1
  57. package/locale/zh_CN.po +12 -0
  58. package/package.json +1 -1
  59. package/src/bus.js +3 -2
  60. package/src/chat.js +55 -1
  61. package/src/common.js +37 -26
  62. package/src/model.js +2 -1
  63. package/src/notification.js +200 -0
  64. package/src/sao.js +60 -111
  65. package/src/sao.less +129 -14
  66. package/src/screen.js +5 -1
  67. package/src/session.js +5 -0
  68. package/src/tab.js +13 -4
  69. package/src/view/form.js +13 -8
  70. package/src/view/tree.js +202 -137
  71. package/src/window.js +30 -16
  72. package/tests/sao.js +9 -0
package/CHANGELOG CHANGED
@@ -1,63 +1,19 @@
1
1
 
2
- Version 7.6.12 - 2025-12-17
3
- ---------------------------
4
- * Bug fixes (see mercurial logs for details)
5
-
6
-
7
- Version 7.6.11 - 2025-11-21
8
- ---------------------------
9
- * Bug fixes (see mercurial logs for details)
10
- * Escape completion content with custom format (issue14363)
11
-
12
- Version 7.6.10 - 2025-11-02
13
- ---------------------------
14
- * Bug fixes (see mercurial logs for details)
15
-
16
-
17
- Version 7.6.9 - 2025-10-20
18
- --------------------------
19
- * Bug fixes (see mercurial logs for details)
20
- * Use sandboxed iframe to display document (issue14290)
21
-
22
- Version 7.6.8 - 2025-10-02
23
- --------------------------
24
- * Bug fixes (see mercurial logs for details)
25
-
26
-
27
- Version 7.6.7 - 2025-09-15
28
- --------------------------
29
- * Bug fixes (see mercurial logs for details)
30
-
31
-
32
- Version 7.6.6 - 2025-09-03
33
- --------------------------
34
- * Bug fixes (see mercurial logs for details)
35
-
36
-
37
- Version 7.6.5 - 2025-08-01
38
- --------------------------
39
- * Bug fixes (see mercurial logs for details)
40
-
41
-
42
- Version 7.6.4 - 2025-07-15
43
- --------------------------
44
- * Bug fixes (see mercurial logs for details)
45
-
46
-
47
- Version 7.6.3 - 2025-07-01
48
- --------------------------
49
- * Bug fixes (see mercurial logs for details)
50
-
51
-
52
- Version 7.6.2 - 2025-06-04
2
+ Version 7.8.1 - 2025-12-20
53
3
  --------------------------
54
4
  * Bug fixes (see mercurial logs for details)
55
5
 
56
6
 
57
- Version 7.6.1 - 2025-05-15
7
+ Version 7.8.0 - 2025-12-15
58
8
  --------------------------
59
9
  * Bug fixes (see mercurial logs for details)
60
-
10
+ * Allow users to subscribe to chats
11
+ * Manage user notification
12
+ * Add search on empty relation field to domain parser
13
+ * Escape completion content with custom format (issue14363)
14
+ * Use sandboxed iframe to display document (issue14290)
15
+ * Add support for multiple button in the tree view
16
+ * Support shortcuts on modal
61
17
 
62
18
  Version 7.6.0 - 2025-04-28
63
19
  --------------------------
package/Gruntfile.js CHANGED
@@ -24,6 +24,7 @@ module.exports = function(grunt) {
24
24
  'src/board.js',
25
25
  'src/bus.js',
26
26
  'src/chat.js',
27
+ 'src/notification.js',
27
28
  'src/plugins.js',
28
29
  'src/html_sanitizer.js'
29
30
  ];
@@ -9260,6 +9260,20 @@ html[theme="default"] .carousel-caption h6 {
9260
9260
  -ms-user-select: text;
9261
9261
  user-select: text;
9262
9262
  }
9263
+ .dropdown-completion {
9264
+ max-height: 50vh;
9265
+ overflow-y: auto;
9266
+ }
9267
+ .dropdown-completion .dropdown-action {
9268
+ background-color: #fff;
9269
+ border-top: #e5e5e5 solid 1px;
9270
+ bottom: -5px;
9271
+ position: sticky;
9272
+ }
9273
+ .dropdown-completion .dropdown-action .action a {
9274
+ clear: both;
9275
+ display: block;
9276
+ }
9263
9277
  #tablist {
9264
9278
  display: flex;
9265
9279
  overflow-x: auto;
@@ -9483,6 +9497,25 @@ html[theme="default"] .carousel-caption h6 {
9483
9497
  width: 20em;
9484
9498
  }
9485
9499
  }
9500
+ .notification-badge {
9501
+ z-index: 100;
9502
+ position: absolute;
9503
+ inset-block-start: 5px;
9504
+ inset-inline-start: 5px;
9505
+ color: #333;
9506
+ background-color: #71bdc1;
9507
+ min-width: 20px;
9508
+ min-height: 20px;
9509
+ padding: 0.2em;
9510
+ border-radius: 10px;
9511
+ white-space: nowrap;
9512
+ text-align: center;
9513
+ font-size: smaller;
9514
+ }
9515
+ .navbar-toggle > .notification-badge {
9516
+ inset-block-start: -5px;
9517
+ inset-inline-start: -15px;
9518
+ }
9486
9519
  #user-preferences > a {
9487
9520
  max-width: 30em;
9488
9521
  overflow: hidden;
@@ -9501,6 +9534,44 @@ html[theme="default"] .carousel-caption h6 {
9501
9534
  margin-bottom: -25px;
9502
9535
  width: 15px;
9503
9536
  }
9537
+ @media (min-width: 768px) {
9538
+ #user-preferences ul.notification-menu {
9539
+ width: 320px;
9540
+ }
9541
+ }
9542
+ #user-preferences ul.notification-menu > li.notification-item {
9543
+ padding: 2px 0;
9544
+ }
9545
+ #user-preferences ul.notification-menu > li.notification-item.notification-unread {
9546
+ background-color: #bceaeb;
9547
+ }
9548
+ #user-preferences ul.notification-menu > li.notification-item > a {
9549
+ display: flex;
9550
+ padding: 3px 10px;
9551
+ }
9552
+ #user-preferences ul.notification-menu > li.notification-item > a img.icon {
9553
+ padding-inline-end: 3px;
9554
+ }
9555
+ #user-preferences ul.notification-menu > li.notification-item > a > div {
9556
+ display: flex;
9557
+ flex-direction: column;
9558
+ overflow: hidden;
9559
+ }
9560
+ #user-preferences ul.notification-menu > li.notification-item > a > div span {
9561
+ overflow: hidden;
9562
+ text-overflow: ellipsis;
9563
+ }
9564
+ #user-preferences ul.notification-menu > li.notification-item > a > div span.notification-label {
9565
+ font-weight: bold;
9566
+ }
9567
+ #user-preferences ul.notification-menu > li.notification-item.notification-action {
9568
+ margin: 0.3em 0;
9569
+ }
9570
+ #user-preferences ul.notification-menu > li.notification-item.notification-action > a {
9571
+ display: block;
9572
+ text-align: center;
9573
+ background-color: #f5f5f5;
9574
+ }
9504
9575
  .attachment-preview {
9505
9576
  border-bottom: 1px solid #eeeeee;
9506
9577
  display: flex;
@@ -9870,6 +9941,24 @@ img.icon {
9870
9941
  top: 0;
9871
9942
  width: 0;
9872
9943
  }
9944
+ .tree-container .tree-footer {
9945
+ display: flex;
9946
+ flex-flow: row wrap;
9947
+ gap: 5px;
9948
+ justify-content: space-around;
9949
+ padding: 5px;
9950
+ }
9951
+ .tree-container .tree-footer button {
9952
+ flex-grow: 1;
9953
+ }
9954
+ .tree-container .tree-footer:empty {
9955
+ padding: 0;
9956
+ }
9957
+ @media screen and (max-width: 767px) {
9958
+ .tree-container .tree-footer {
9959
+ flex-direction: column;
9960
+ }
9961
+ }
9873
9962
  .wizard-form {
9874
9963
  width: 100%;
9875
9964
  }
@@ -10941,9 +11030,10 @@ input.column-boolean {
10941
11030
  }
10942
11031
  }
10943
11032
  #processing {
11033
+ left: 50%;
10944
11034
  position: fixed;
10945
11035
  top: 0px;
10946
- width: 100%;
11036
+ transform: translate(-50%, 0);
10947
11037
  z-index: 2000;
10948
11038
  }
10949
11039
  #processing .dot {