Martin Artnik
1b26a4f65a
Added access token to protocols.io requests [SCI-5968]
2021-08-26 15:26:35 +02:00
miha
56ebc3dc07
[SCI-5635] add a migration to fix broken steps, fix the api so it sets last_modified_by_id, minor step model refactor
...
migration fix
remove the conditoin for set_last_modified_by callback
set the last_modified_by_id in before_save callback (in case it is not set yet)
remove trailing spaces
Set last modified in protocl import service
2021-04-12 09:59:00 +02:00
Oleksii Kriuchykhin
260fcd6e89
Remove Paperclip from codebase [SCI-3908]
2019-10-02 19:45:14 +02:00
Oleksii Kriuchykhin
c068901b00
Upgrade Rails to 6.0 [SCI-3745]
2019-09-12 17:24:08 +02:00
Jure Grabnar
a372d4056d
Add last_published protocols.io endpoint
2019-07-14 19:24:53 +02:00
Urban Rotnik
cc3cd43270
Log to console when error occur on ProtocolsImport actions
2019-07-09 15:32:43 +02:00
Jure Grabnar
dc7fee51fa
Add Show more protocols functionality to external protocols
...
Closes SCI-3646
2019-07-04 15:35:18 +02:00
Jure Grabnar
4715e8ec4b
Fix building of zero steps protocls
...
Close SCI-3648
2019-07-03 09:34:15 +02:00
Jure Grabnar
bc4b07cc0f
Refactor hardcoded protocol_source in SearchService
2019-06-28 02:26:31 +02:00
Jure Grabnar
0a77cedaf8
Fix sorting of external protocols and start showing results
2019-06-27 22:48:56 +02:00
Urban Rotnik
9cb4454537
New implementation for attachments creation
2019-06-27 17:02:06 +02:00
Urban Rotnik
2761079479
Add modal for import
2019-06-27 16:46:02 +02:00
Jure Grabnar
06b8d1fda7
Update ApiClient tests
...
Closes SCI-3434
2019-06-27 14:54:19 +02:00
Jure Grabnar
d31f978e55
DRY up protocols importer services errors
2019-06-27 10:11:36 +02:00
Mojca Lorber
9fd83d54a0
Put network error handeling into api and refactor errors
2019-06-26 14:04:03 +02:00
Mojca Lorber
ebcaa4b014
Implement protocols.io error handling for api client and normalizer
2019-06-18 14:01:57 +02:00
Urban Rotnik
c691ad80b5
Add fields to query params for ApiClient
2019-06-17 12:24:16 +02:00
Urban Rotnik
88d96c0938
Use service in controller
2019-06-17 12:24:15 +02:00
Urban Rotnik
7fad5fc594
Add search service and normalizer for list
2019-06-17 12:24:15 +02:00
Jure Grabnar
eb0d677a36
Refactor pio_protocol -> built_protocol
2019-06-17 12:24:13 +02:00
Urban Rotnik
0d43ecdfab
Import protocol service after object is built
2019-06-17 12:24:11 +02:00
Jure Grabnar
eb275c4d12
Add tests for BuildProtocolService and fix bugs
2019-06-17 12:24:11 +02:00
Jure Grabnar
362b0cd45d
Hound fixes
2019-06-17 12:24:11 +02:00
Jure Grabnar
640f6c1211
Fix tests after BuildProtocolFromClientService refactor
...
Closes SCI-3544
2019-06-17 12:24:11 +02:00
Jure Grabnar
1e8627c450
Refactor ImportProtocol service to BuildProtocolService
...
Closes SCI-3544
2019-06-17 12:24:10 +02:00