Commit graph

161 commits

Author SHA1 Message Date
Alex Kriuchykhin
d7f20fc56b
Add step text name field, add update action for task protocols to API [SCI-10764] (#8407) 2025-05-26 11:40:54 +02:00
Oleksii Kriuchykhin
d52176a8d1 Implement metadata filtering in the API [SCI-11775] 2025-04-17 17:22:03 +02:00
andrej-scinote
3caec16c1c
Merge pull request #8424 from andrej-scinote/aj_SCI_11770
Add archived filter to inventory items [SCI-11770]
2025-04-15 13:11:21 +02:00
Andrej
c912f5a6f8 Add tests for archived inventory items [SCI-11770] 2025-04-15 12:05:50 +02:00
Andrej
5ef4df5ad6 Add metadata to MyModules and expose it in API [11773] 2025-04-14 15:32:04 +02:00
Andrej
cd1439ccc6 Add metadata to experiments and expose it in API [SCI-11772] 2025-04-14 14:27:15 +02:00
Martin Artnik
8e949bd68f
Merge pull request #8402 from artoscinote/ma_SCI_11771
Add metadata column to projects and expose it in API [SCI-11771]
2025-04-14 12:45:29 +02:00
Martin Artnik
0c4586f268 Change metadata parameter to conform with jsonapi spec [SCI-11771] 2025-04-09 13:29:52 +02:00
Martin Artnik
7cb1fb487d
Merge branch 'features/api-improvements' into ma_SCI_11768 2025-04-08 10:13:14 +02:00
Alex Kriuchykhin
df2b1e53a9
Add includes for connected parent/child inventory items to inventory item V1 serializer [SCI-11769] (#8401) 2025-04-08 09:26:01 +02:00
Martin Artnik
a274ffce7e Add metadata column to projects and expose it in API [SCI-11771] 2025-04-07 15:33:40 +02:00
Martin Artnik
1e6c19a4fb Add cell value filtering to inventory items API [SCI-11768] 2025-04-07 11:59:53 +02:00
Andrej
bb423bf72b Add create and delete for task inventory items endpoints [SCI-11306] 2025-01-20 09:43:20 +01:00
Andrej
4156eb33b9 Fix tests after consumption fixes [SCI-10492] 2024-03-20 17:12:55 +01:00
Soufiane
a9537f06dd
Fix tests after table revamp [SCI-10271] (#7220) 2024-03-11 13:08:42 +01:00
Alex Kriuchykhin
9e9f8ab402
Add external_id field to repository list and checklist items [SCI-9454] (#6702) 2023-11-24 14:21:11 +01:00
Oleksii Kriuchykhin
3bc7edc7f7 Merge branch 'develop' into features/inventory-item-card-edit 2023-11-15 10:58:42 +01:00
ajugo
5878ed0c7c
Fix unit test [SCI-9570] (#6552) 2023-11-13 09:34:38 +01:00
ajugo
55308f6a81
Add missing serializers for repository cell value on api and fix some tests [SCI-9613] (#6571) 2023-11-03 14:38:01 +01:00
ajugo
c1e3472d46
Fix failing api test because of randomness [SCI-9569] (#6549) 2023-10-30 09:42:49 +01:00
ajugo
f278f490d9
Fix api tests [SCI-9569] (#6519)
* Fix api tests [SCI-9569]

* Fix inventory status api index [SCI-9569]
2023-10-24 13:36:03 +02:00
Soufiane
4858f41b3e
Remove user_team related tests [SCI-8815] (#5860) 2023-07-25 14:35: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
b29aeab67a Add API endpoint for retrieving a list of users [SCI-7455] 2023-01-06 16:33:00 +01:00
Anton
75a15310ac Merge branch 'features/team-permissions' into features/label-templates 2022-09-13 14:26:15 +02:00
Oleksii Kriuchykhin
eb04bc974d Update tests with new team user assignments [SCI-6843] 2022-08-31 16:37:00 +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
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
artoscinote
2e84418304
Add create/destroy endpoints to connections API, add tests [SCI-6087] (#3563) 2021-11-17 12:11:22 +01:00
artoscinote
6f2d883706
Added permissions specs for API, minor changes to permissions [SCI-6152] (#3609) 2021-10-28 14:48:28 +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
3036a38bfd
Fix rspec tests [SCI-6044] (#3537) 2021-09-09 15:41:42 +02:00
Martin Artnik
7e6ca3be8a Merge branch 'develop' into features/new_permissions 2021-09-06 10:33:32 +02:00
Oleksii Kriuchykhin
33d37d048e Add timestamps to API serializers, allow inclusion of comments [SCI-5983] 2021-08-18 10:00:01 +02:00
Oleksii Kriuchykhin
d1208bad0b Merge branch 'develop' into features/new_permissions 2021-07-07 13:44:36 +02:00
Oleksii Kriuchykhin
7537542c0a Fix API date time serializers [SCI-5816] 2021-06-15 17:12:55 +02:00
Oleksii Kriuchykhin
86fcda3c09 Fix date formatting for the API [SCI-5785] 2021-06-07 10:34:58 +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