Commit graph

4949 commits

Author SHA1 Message Date
Matej Zrimšek
4bb05040d6 Fix tests for project controller to work with changed code [SCI-2732] 2018-10-23 22:24:57 +02:00
Matej Zrimšek
17712f5142 Minor tests refactoring [SCI-2732] 2018-10-23 22:24:57 +02:00
Matej Zrimšek
98009939d1 Fix tests for project services to work with changed code [SCI-2732] 2018-10-23 22:24:57 +02:00
Matej Zrimšek
068b34c25e Ignore compiled assets in Git 2018-10-23 19:51:50 +02:00
Matej Zrimšek
1c43077a5e Add visibility check to tests (redundant in most cases, but safer) [SCI-2732] 2018-10-23 19:51:50 +02:00
Matej Zrimšek
173ebdcf87 Fix some tests wich falsely passed locally; Some description refactoring [SCI-2732] 2018-10-23 19:51:50 +02:00
Matej Zrimšek
1be952fdbb Fix context block for ProjectsOverviewService#projects_datatable test with { filter: 'archived' } parameter 2018-10-23 19:51:50 +02:00
Matej Zrimšek
4bf1d904b7 Add project controller unit tests [SCI-2732] 2018-10-23 19:51:50 +02:00
Matej Zrimšek
e5129160fe Use the previous way of handling request params in rspec [SCI-2732] 2018-10-23 19:51:50 +02:00
Matej Zrimšek
d9281b66d5 Add test for sorting by column and order for ProjectsOverviewService#projects_datatable 2018-10-23 19:51:50 +02:00
Matej Zrimšek
5ea4a2ced3 Refactor ProjectsOverviewService tests to be request parameter friendly and hence more readable 2018-10-23 19:51:50 +02:00
Matej Zrimšek
b982ffe7c8 Improve & refactor #project_cards, add #projects_datatable tests for ProjectsOverviewService 2018-10-23 19:51:50 +02:00
Matej Zrimšek
c8d170f9ec Add default page size when it's not in request params when fetching projects 2018-10-23 19:51:50 +02:00
Matej Zrimšek
2794f75215 Add ProjectsOverviewService#project_cards unit tests 2018-10-23 19:50:06 +02:00
Oleksii Kriuchykhin
b53f2c8347 Improve error messages in API [SCI-2773] 2018-10-23 17:52:48 +02:00
Luka Murn
c8d381a0a2
Update Dockerfile.production
Update Dockerfile.production's FROM to ruby:2.4.4

This should have been done in commit
77e2371091.
2018-10-22 15:27:18 +02:00
Oleksii Kriuchykhin
81d751974d Fix helpers to use with export all [SCI-2793] 2018-10-22 14:32:10 +02:00
mlorb
00bdc3dab6
Merge pull request #1336 from mlorb/ml-sci-2780
Change the rich text max limit on frontend to 50000 [SCI-2780]
2018-10-22 11:33:17 +02:00
Oleksii Kriuchykhin
83566cc9d5 Fix relative links to files in export all PDF [SCI-2804] 2018-10-19 16:25:43 +02:00
Alex Kriuchykhin
9fd99d9fc5
Merge pull request #1329 from okriuchykhin/ok_SCI_2733
Implement user state saving for projects overview [SCI-2733]
2018-10-19 11:11:32 +02:00
Oleksii Kriuchykhin
95cb6db4df Fix test [SCI-2733] 2018-10-19 10:47:55 +02:00
Alex Kriuchykhin
e9b64b65a3
Merge pull request #1330 from okriuchykhin/ok_SCI_2770
Add request rate throttling for API [SCI-2770]
2018-10-19 09:38:31 +02:00
Jure Grabnar
bd5a2a43fd Add can_export_project? permission
Closes [SCI-2805].
2018-10-19 08:41:39 +02:00
mlorb
e5fca1b1cd change the rich text max limit on frontend to 50000 2018-10-18 14:22:15 +02:00
Luka Murn
08c218e530 Merge remote-tracking branch 'upstream/core-api' into core-api 2018-10-17 14:35:57 +02:00
Oleksii Kriuchykhin
c2e36580ce Add tests for CREATE Result endpoint [SCI-2749] 2018-10-17 14:17:16 +02:00
Alex Kriuchykhin
18b1cad8a4
Merge pull request #1334 from okriuchykhin/ok_SCI_2772
Implement inventory column data type name mappings [SCI-2772]
2018-10-17 10:37:23 +02:00
Alex Kriuchykhin
5487999cec
Merge pull request #1328 from okriuchykhin/ok_SCI_2765
Add CRUD endpoints for inventory cells [SCI-2765]
2018-10-16 19:34:45 +02:00
Oleksii Kriuchykhin
b833ff6616 Rename MyModule serializer in tests [SCI-2742] 2018-10-16 17:45:29 +02:00
Oleksii Kriuchykhin
e4e66d3e5d Merge branch 'core-api' into ok_SCI_2742 2018-10-16 17:38:30 +02:00
Oleksii Kriuchykhin
02f536cd08 Merge latest features/export-all [SCI-2733] 2018-10-16 17:20:19 +02:00
Oleksii Kriuchykhin
df217de341 Update Gemfile.lock file [SCI-2742] 2018-10-16 17:15:42 +02:00
Oleksii Kriuchykhin
b9320b3b1d Update sdoc gem [SCI-2765] 2018-10-16 16:50:42 +02:00
Oleksii Kriuchykhin
cf37566e8f Update Gemfile.lock [SCI-2765] 2018-10-16 16:06:03 +02:00
Oleksii Kriuchykhin
ed46115b3f Implement inventory column data type name mappings [SCI-2772] 2018-10-16 15:35:02 +02:00
Jure Grabnar
00139beb89
Merge pull request #1332 from jbargu/jg_export_all_modal
Export projects modal [SCI-2645]
2018-10-16 13:48:52 +02:00
Luka Murn
3126f7c238 Merge branch 'ok_SCI_2765' of https://github.com/okriuchykhin/scinote-web into core-api
Conflicts:
	app/serializers/api/v1/repository_asset_value_serializer.rb
2018-10-16 13:17:14 +02:00
Oleksii Kriuchykhin
947ccdf169 Update ruby to 2.4.4 [SCI-2742] 2018-10-16 13:08:13 +02:00
Oleksii Kriuchykhin
f6b039d54e Merge latest core-api branch [SCI-2765] 2018-10-16 12:07:47 +02:00
Jure Grabnar
db55e300b0 Merge branch 'jg_export_all_modal' of github.com:jbargu/scinote-web into jg_export_all_modal 2018-10-16 11:34:21 +02:00
Jure Grabnar
c13e7531ea Change generate_team method name 2018-10-16 11:13:01 +02:00
Jure Grabnar
447cad083d Fix formatting according to HoundBot 2018-10-16 11:01:58 +02:00
Jure Grabnar
d50f56e319 Disable/enable export proejct button
Fix filesystem saving
2018-10-16 11:01:58 +02:00
Jure Grabnar
ed16e8d479 Fix reviewers errors 2018-10-16 11:00:38 +02:00
Jure Grabnar
6b47165ac1 Fix formatting according to Houndbot 2018-10-16 11:00:38 +02:00
Jure Grabnar
2558b7a313 Fix formatting according to HoundBot 2018-10-16 11:00:38 +02:00
Jure Grabnar
1761d57b9d Add reset_export_projects_counter rake task 2018-10-16 11:00:38 +02:00
Jure Grabnar
26df1e5a98 Add export project modal
Closes [SCI-2645]
2018-10-16 11:00:38 +02:00
Jure Grabnar
1c7cc9369c Fix formatting according to HoundBot 2018-10-15 21:44:24 +02:00
Jure Grabnar
afbe70a2e2 Disable/enable export proejct button
Fix filesystem saving
2018-10-15 21:40:59 +02:00