Ivan Kljun
18fb319351
Drop system notifications tables and remove logic
2023-07-25 14:48:03 +02:00
Soufiane
4858f41b3e
Remove user_team related tests [SCI-8815] ( #5860 )
2023-07-25 14:35:17 +02:00
ajugo
632716e2cd
Remove task manage permission [SCI-8528] ( #5672 )
2023-07-11 09:29:17 +02:00
Alex Kriuchykhin
1a430a77fd
Add filtering option for active/archived PET listing API endpoints, add linked tasks to protocol serializer [SCI-7091] ( #4381 )
2023-05-19 11:34:31 +02:00
ajugo
a288708368
Add API endpoint for protocol templates [SCI-7456] ( #5321 )
...
* Add API endpoint for protocol templates [SCI-7456]
* Create protocol template api serializer [SCI-7456]
2023-05-03 15:55:36 +02:00
Oleksii Kriuchykhin
60579465ab
Refactor user_notifications controller, remove unused code [SCI-8207]
2023-04-06 14:57:00 +02:00
artoscinote
00191e41de
Merge pull request #5192 from scinote-eln/features/token-revocation
...
Features/token revocation
2023-03-24 11:13:38 +01:00
artoscinote
397e4aeebe
Merge pull request #4935 from G-Chubinidze/gc_SCI_7848
...
user_my_modules_controller#index_old action updates [SCI-7848]
2023-03-21 11:41:38 +01:00
Giga Chubinidze
8e942379ff
changed assignee to designated_users
2023-03-21 14:29:23 +04:00
Oleksii Kriuchykhin
b67691acb5
Merge branch 'develop' into features/protocol_versioning
2023-03-17 13:53:30 +01:00
Alex Kriuchykhin
f8a4e7ee65
Update logic for linked protocol templates with task [SCI-7973] ( #5058 )
2023-03-07 13:03:01 +01:00
Giga Chubinidze
a087fd0958
Fix automated tests [SCI-7913]
2023-03-06 23:17:45 +04:00
Alex Kriuchykhin
5de5d64be5
Update external protocol importer backend in order to work with new protocol versioning [SCI-7829] ( #5017 )
2023-02-27 10:37:51 +01:00
Giga Chubinidze
b06b5c4d1f
Check what's up with user_my_modules_controller#index_old action, and remove/rename it [SCI-7848]
2023-02-05 23:27:22 +04:00
Martin Artnik
8345f4ac5d
Throw error when authenticating with revoked tokens [SCI-7631]
2023-01-24 15:57:59 +01:00
Oleksii Kriuchykhin
b29aeab67a
Add API endpoint for retrieving a list of users [SCI-7455]
2023-01-06 16:33:00 +01:00
Andrej
745be5a0f7
Remove old step code [SCI-7181]
2022-10-24 13:07:10 +02:00
Oleksii Kriuchykhin
f0ea7ea2a4
Add option to disable local password log in [SCI-7298]
2022-10-12 10:30:09 +02:00
Anton
75a15310ac
Merge branch 'features/team-permissions' into features/label-templates
2022-09-13 14:26:15 +02:00
Alex Kriuchykhin
8a0656ce21
Merge pull request #4147 from okriuchykhin/ok_SCI_6834
...
Update tests with new team user assignments [SCI-6843]
2022-09-05 14:34:16 +02:00
Oleksii Kriuchykhin
f586c73dc8
Convert team_repository to polymorphic relation [SCI-6917]
2022-08-31 16:42:08 +02:00
Oleksii Kriuchykhin
eb04bc974d
Update tests with new team user assignments [SCI-6843]
2022-08-31 16:37:00 +02:00
artoscinote
dd27fadd98
Add step reordering and step element reordering service endpoints to API [SCI-6891][SCI-6892] ( #4179 )
...
* Add step reordering service endpoint to API [SCI-6891]
* Generalize reorder validation [SCI-6891]
* Add endpoint for reordering step elements, fix issues [SCI-6892]
* Add appropriate serializers [SCI-6891][SCI-6892]
* Add step elements to step serializer [SCI-6891]
* Simplify routes, add locking [SCI-6891]
2022-07-12 10:13:47 +02:00
ajugo
8e7307c5c1
Project json exporter adaptions for step improvements [SCI-6898] ( #4177 )
...
* Adapt project export to step improvements [SCI-6898]
* Add tests [SCI-6898]
2022-07-06 11:45:50 +02:00
Martin Artnik
910c36af08
Merge branch 'features/step-editing-improvements' into develop
2022-07-05 10:12:10 +02:00
artoscinote
b880f6fc39
Add API endpoints for step texts [SCI-6889] ( #4173 )
2022-06-27 12:30:45 +02:00
ajugo
9d4c97f191
Add task assignment API [SCI-6846] ( #4123 )
...
* Add user assignment to task API [SCI-6846]
* Add test for task assignments [SCI-6846]
2022-06-03 10:09:42 +02:00
ajugo
54474b2bba
API GET repository stock column output fix [SCI-6550] ( #4030 )
...
* Add include stock unit items to Stock column get [SCI-6550]
* Fix stock column test [SCI-6550]
* Fix hound [SCI-6550]
2022-04-19 16:05:17 +02:00
ajugo
1c21e11510
Stock management test [SCI-6420] ( #3946 )
...
* Initial test for stock management
* Repository stock values adding [does not work] SCI-6420
* Fix typos SCI-6420
* Fix test [SCI-6420]
* Test changes [SCI-6402]
* Remove locking test [SCI-6420]
* Remove lock [SCI-6420]
* Remove serializer [SCI-6420]
* Fix stock test and add ledger creation on consume [SCI-6420]
2022-04-15 12:23:47 +02:00
ajugo
0a5e93a018
API: add endpoint for creating stock column [SCI-6550] ( #3956 )
...
* Add test for repositoty stock column api [SCI-6550]
* Create and update stock column [SCI-6550]
* Change stock unit [SCI-6550]
* Fix hound [SCI-6550]
* Fix on delete [SCI-6550]
* Fix houd [SCI-6550]
2022-04-08 14:09:00 +02:00
ajugo
0ca9ae2ab9
API: add endpoint for updating of stock [SCI-6549] ( #3955 )
...
* Add test for Stock repository cell [SCI-6549]
* Create and update stock inventory cell [SCI-6549]
* Fix hound errors [SCI-6549]
* Fix ledger recording [SCI-6549]
* Fix api endpoint [SCI-6549]
* Fix hound [SCI-6549]
2022-04-08 11:30:44 +02:00
artoscinote
229a27750f
Implement stock consumption via the API [SCI-6642] ( #3964 )
...
* Implement stock consumption via the API [SCI-6642]
* Remove unnecessary attribute from InventoryItemSerializer [SCI-6642]
* Amend permission check, add nested transaction support to consume_stock method [SCI-6642]
2022-03-30 14:33:26 +02:00
aignatov-bio
7f7bf0533a
Fix tests [SCI-6486] ( #3913 )
...
* Fix tests [SCI-6486]
* Fix rspec tests [SCI-6486]
Co-authored-by: Anton <anton@scinote.net>
2022-03-09 14:12:16 +01:00
Alex Kriuchykhin
6b51b8a35c
Fix handling of date values in repositories [SCI-6551] ( #3877 )
2022-02-21 12:08:35 +01:00
Martin Artnik
66081950f0
Fix added_on filter, add specs [SCI-6388]
2022-01-04 19:20:02 +01:00
Anton
a44dd8c915
Merge branch 'features/bmt-search' into features/repository-filters
2021-11-22 14:24:28 +01:00
Alex Kriuchykhin
ebfd2f7924
Merge pull request #3682 from okriuchykhin/ok_SCI_6088
...
Add API endpoint for Cloning Experiments [SCI-6088]
2021-11-18 15:26:19 +01:00
artoscinote
2e84418304
Add create/destroy endpoints to connections API, add tests [SCI-6087] ( #3563 )
2021-11-17 12:11:22 +01:00
Oleksii Kriuchykhin
a99599efea
Merge branch 'features/new_permissions' into develop
2021-10-29 15:16:30 +02:00
artoscinote
2abefd78e6
Implement experiment and task access removal [SCI-6156] ( #3614 )
2021-10-28 16:32:05 +02:00
artoscinote
6f2d883706
Added permissions specs for API, minor changes to permissions [SCI-6152] ( #3609 )
2021-10-28 14:48:28 +02:00
Alex Kriuchykhin
1bde37db78
Merge branch 'develop' into ok_SCI_5579
2021-10-28 13:26:27 +02:00
Oleksii Kriuchykhin
2fb71aa312
Add API endpoint for Cloning Experiments [SCI-6088]
2021-10-28 12:28:46 +02:00
aignatov-bio
d594778fa8
Add project comment manage own permission [SCI-6115] ( #3574 )
2021-10-04 15:43:50 +02:00
artoscinote
f68d724202
Rework experiment permissions [SCI-6054] ( #3538 )
...
* Rework experiment permissions [SCI-6054]
2021-09-30 11:32:11 +02:00
aignatov-bio
c248e87adb
Add permissions checks for results controllers [SCI-6071] ( #3555 )
...
* Add permission tests for results controller [SCI-6071]
* Update results controllers with new permissions [SCI-6071]
* Small fixes to results controllers [SCI-6071]
* Update result permission helpers [SCI-6071]
2021-09-24 13:11:41 +02:00
Oleksii Kriuchykhin
f806a56cac
Update existing roles with new permissions/abilities [SCI-6076]
2021-09-24 10:29:24 +02:00
Oleksii Kriuchykhin
607b7f76cf
Update/implement permission checks in the my_modules_controller and my_modules_status_flow_controller [SCI-6061][SCI-6063]
2021-09-24 10:23:28 +02:00
Alex Kriuchykhin
51e7f7668a
Merge pull request #3556 from okriuchykhin/ok_SCI_6062
...
Update/implement permission checks in the _my_modules_tags_controller [SCI-6062]
2021-09-23 17:23:22 +02:00
artoscinote
e57f5f8e26
Merge pull request #3551 from aignatov-bio/ai-sci-6065-update-my-module-comments-controller-permission
...
Update permissions for my_module_comments controller [SCI-6065]
2021-09-23 11:47:13 +02:00
aignatov-bio
6206f8a6e9
Update permissions for my_module_comments controller [SCI-6065]
2021-09-22 12:11:36 +02:00
Oleksii Kriuchykhin
5fb163c09a
Update/implement permission checks in the _my_modules_tags_ controller [SCI-6062]
2021-09-21 16:21:55 +02:00
aignatov-bio
250a018a4c
Add permissions tests for my_module_repositories and my_module_repository_snapshots [SCI-6064]
2021-09-20 12:19:28 +02:00
artoscinote
895509a26c
Merge pull request #3543 from artoscinote/ma_SCI_6056
...
Reworked MyModule permissions [SCI-6056]
2021-09-17 15:19:01 +02:00
Martin Artnik
04413c6cc6
Make permission names consistent with spreadsheet [SCI-6056]
2021-09-17 10:41:28 +02:00
Alex Kriuchykhin
19a8faaf72
Merge pull request #3550 from okriuchykhin/ok_SCI_6058
...
Update/implement permission checks in the canvas controller [SCI-6058]
2021-09-16 13:32:56 +02:00
Alex Kriuchykhin
56af55931c
Merge pull request #3549 from okriuchykhin/ok_SCI_6057
...
Update/implement permission checks in the experiments controller [SCI-6057]
2021-09-16 13:26:33 +02:00
aignatov-bio
2240dc5984
Add new context helper to controllers tests [SCI-6072] ( #3546 )
2021-09-16 11:52:18 +02:00
Oleksii Kriuchykhin
61d4a96a3f
Update/implement permission checks in the experiments controller [SCI-6057]
2021-09-16 09:55:59 +02:00
Oleksii Kriuchykhin
86faf96365
Update/implement permission checks in the canvas controller [SCI-6058]
2021-09-16 09:54:27 +02:00
Oleksii Kriuchykhin
0762323337
Update/implement permission checks in the project related controllers [SCI-6042]
2021-09-15 14:39:47 +02:00
aignatov-bio
97be267260
Add skip my_module flag [SCI-6072]
2021-09-14 13:30:52 +02:00
aignatov-bio
a0fef97fbc
Update context helper [SCI-6072]
2021-09-14 12:45:44 +02:00
Martin Artnik
e8f57e9e99
Reworked MyModule permissions [SCI-6056]
2021-09-14 11:08:35 +02:00
aignatov-bio
b4d0a8ff83
Add context helper for project creation [SCI-6072]
2021-09-14 10:10:14 +02:00
aignatov-bio
3036a38bfd
Fix rspec tests [SCI-6044] ( #3537 )
2021-09-09 15:41:42 +02:00
Martin Artnik
975a8910a8
Updated project permission helpers [SCI-6041]
2021-09-07 11:27:52 +02:00
Martin Artnik
ade1385392
Merge branch 'develop' into features/bmt-search
2021-09-06 10:51:04 +02:00
Martin Artnik
7e6ca3be8a
Merge branch 'develop' into features/new_permissions
2021-09-06 10:33:32 +02:00
Miha Mencin
50d33896e3
Merge pull request #3480 from artoscinote/ma_SCI_5963
...
Downcase all user emails, downcase when finding user [SCI-5963]
2021-08-30 13:00:12 +02:00
Oleksii Kriuchykhin
0b74f34de7
Add external IDs to repositories [SCI-5990]
2021-08-30 10:49:14 +02:00
Martin Artnik
1b26a4f65a
Added access token to protocols.io requests [SCI-5968]
2021-08-26 15:26:35 +02:00
Oleksii Kriuchykhin
33d37d048e
Add timestamps to API serializers, allow inclusion of comments [SCI-5983]
2021-08-18 10:00:01 +02:00
Martin Artnik
5d5f406e9a
Downcase all user emails, downcase when finding user [SCI-5963]
2021-08-11 13:18:58 +02:00
Martin Artnik
024f9117e6
fix failing specs
2021-08-03 14:16:22 +02:00
Martin Artnik
a82af505eb
Merge branch 'develop' into features/webhooks
2021-08-02 16:22:52 +02:00
Martin Artnik
67f4e81a3a
Merge branch 'develop' into features/new_permissions
2021-07-28 15:16:47 +02:00
Oleksii Kriuchykhin
c26dcf4b23
Replace empty? with blank? [SCI-5579]
2021-07-23 11:56:28 +02:00
Martin Artnik
662370d2bd
Removed auto-disable, fixed ActiveJob + DelayedJob retry handling [SCI-5800]
2021-07-22 13:43:36 +02:00
Oleksii Kriuchykhin
d1208bad0b
Merge branch 'develop' into features/new_permissions
2021-07-07 13:44:36 +02:00
Martin Artnik
5f61c6568d
Fix report specs [SCI-5859]
2021-07-05 12:34:39 +02:00
Martin Artnik
618f5cfb53
Code style fixes [SCI-5800]
2021-06-30 13:08:16 +02:00
Martin Artnik
c6648111f3
Code style fixes [SCI-5800]
2021-06-17 22:00:13 +02:00
Martin Artnik
47071e23a1
Added specs for webhooks
2021-06-17 14:54:30 +02:00
Martin Artnik
4ee50f87d5
Implement webhook service and scheduling jobs [SCI-5801, SCI-5802]
2021-06-17 09:19:04 +02:00
Oleksii Kriuchykhin
7537542c0a
Fix API date time serializers [SCI-5816]
2021-06-15 17:12:55 +02:00
zmagoD
7e4f47f667
update experiment and my_module search
2021-06-12 10:27:53 +02:00
zmagoD
8997ba10d1
mark user assigmetns when they are created manually or automatically
2021-06-12 09:36:41 +02:00
Oleksii Kriuchykhin
86fcda3c09
Fix date formatting for the API [SCI-5785]
2021-06-07 10:34:58 +02:00
zmagoD
fc7214c2f7
add test scenarios for user assignments propagation jobs
2021-06-06 11:46:16 +02:00
zmagoD
784e43e328
create user_assignments for all child objects when the user is attached to the project
2021-06-06 09:54:47 +02:00
zmagoD
3d79dd32ad
update endpoint type
2021-05-31 21:48:18 +02:00
zmagoD
debff7bc85
fix code style
2021-05-29 19:25:46 +02:00
zmagoD
ffaf141abf
fix failing scenarios
2021-05-29 18:40:26 +02:00
zmagoD
f1c3bf7cf6
fix failng scenarios and remove uneeded code
2021-05-29 17:25:20 +02:00
zmagoD
28cb7ee81d
add user roles enpoint and update scenarios
2021-05-29 15:28:10 +02:00
zmagoD
7e6789200a
fix new API endpoints and add test cases
2021-05-23 17:31:02 +02:00
zmagoD
300c1521fd
add new API endpoints and fix/update ExperimentMember and MyModuleMember modules
2021-05-22 18:36:30 +02:00
zmagoD
be94cb09c2
fix code style
2021-05-22 14:41:56 +02:00
zmagoD
67cf09e030
log activities on experiment and my_module assignment change
2021-05-22 13:59:27 +02:00