Commit 06509a9
Study to template (#906)
Provides the tester user a way to convert studies into templates.
closes #905
Frontend:
- Create template: Provide an option in the study browser to convert a study into a template.
- Update template metadata: Enable the textfields of a template if it belongs to that user.
- Delete template: Provide an option in the study browser to delete a template if it belongs to that user.
Backend:
- Update the openapi specs to enable such a feature. (as_template)
- Implement the Study -> Template converter
- Only super-users allowed to create templates
- cleanup all dta/project json resources1 parent 12bdf2b commit 06509a9
File tree
17 files changed
+243
-1014
lines changed- api/specs/webserver/v0
- services/web
- client/source/class/qxapp
- data
- desktop
- io/rest
- server
- src/simcore_service_webserver
- data
- projects
- tests/unit
- with_postgres
17 files changed
+243
-1014
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
| |||
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
98 | 103 | | |
99 | 104 | | |
100 | 105 | | |
| |||
151 | 156 | | |
152 | 157 | | |
153 | 158 | | |
154 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
155 | 163 | | |
156 | 164 | | |
157 | 165 | | |
| |||
215 | 223 | | |
216 | 224 | | |
217 | 225 | | |
| 226 | + | |
218 | 227 | | |
219 | 228 | | |
220 | 229 | | |
| |||
Lines changed: 51 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
516 | | - | |
| 516 | + | |
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
521 | 526 | | |
522 | | - | |
| 527 | + | |
| 528 | + | |
523 | 529 | | |
524 | 530 | | |
525 | 531 | | |
| |||
571 | 577 | | |
572 | 578 | | |
573 | 579 | | |
574 | | - | |
| 580 | + | |
575 | 581 | | |
576 | 582 | | |
577 | 583 | | |
| |||
582 | 588 | | |
583 | 589 | | |
584 | 590 | | |
585 | | - | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
586 | 596 | | |
587 | 597 | | |
588 | 598 | | |
| |||
593 | 603 | | |
594 | 604 | | |
595 | 605 | | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
596 | 635 | | |
597 | 636 | | |
598 | 637 | | |
| |||
602 | 641 | | |
603 | 642 | | |
604 | 643 | | |
605 | | - | |
| 644 | + | |
606 | 645 | | |
607 | 646 | | |
608 | 647 | | |
609 | 648 | | |
610 | 649 | | |
611 | 650 | | |
612 | | - | |
| 651 | + | |
613 | 652 | | |
614 | 653 | | |
615 | 654 | | |
| |||
618 | 657 | | |
619 | 658 | | |
620 | 659 | | |
621 | | - | |
| 660 | + | |
622 | 661 | | |
623 | 662 | | |
624 | 663 | | |
625 | 664 | | |
626 | 665 | | |
627 | | - | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
628 | 671 | | |
629 | 672 | | |
630 | 673 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
129 | 134 | | |
130 | 135 | | |
131 | 136 | | |
| |||
0 commit comments