Skip to content

Commit 4b3f27d

Browse files
author
Tomasz Gubala
committed
Reverting local changes loaded to the central repo
2 parents 6095a1d + b35ebea commit 4b3f27d

File tree

175 files changed

+2745
-932
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

175 files changed

+2745
-932
lines changed

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,14 @@
1313
!/log/.keep
1414
!/tmp/.keep
1515

16+
# Ignore uploaded files in development
17+
/storage/*
18+
!/storage/.keep
19+
1620
/node_modules
1721
/yarn-error.log
1822

23+
/public/assets
1924
.byebug_history
2025

2126
# Ignore gemsects
@@ -34,3 +39,6 @@
3439
# Dont add production JWT key into git
3540
/config/jwt/prod.pem
3641
/config/jwt/prod-dev.pem
42+
43+
# Ignore master key for decrypting credentials and more.
44+
/config/master.key

.gitlab-ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
image: cyfronet/ruby-2.4.1-node-chrome
1+
image: cyfronet/ruby-2.5.3-node-chrome
22

33
services:
44
- postgres
@@ -22,7 +22,7 @@ test:
2222
- google-chrome --version
2323
- ruby -v
2424
- which ruby
25-
- gem install bundler --no-ri --no-rdoc
25+
- gem install bundler
2626
- bundle install --path vendor --jobs $(nproc) "${FLAGS[@]}"
2727
- cp config/database.yml.gitlab-ci config/database.yml
2828
- bundle exec rake db:create RAILS_ENV=test
@@ -35,7 +35,7 @@ integration:
3535
- google-chrome --version
3636
- ruby -v
3737
- which ruby
38-
- gem install bundler --no-ri --no-rdoc
38+
- gem install bundler
3939
- bundle install --path vendor --jobs $(nproc) "${FLAGS[@]}"
4040
- cp config/database.yml.gitlab-ci config/database.yml
4141
- bundle exec rake db:create RAILS_ENV=test
@@ -47,15 +47,15 @@ rubocop:
4747
stage: test
4848
script:
4949
- ruby -v
50-
- gem install bundler --no-ri --no-rdoc
50+
- gem install bundler
5151
- bundle install --path vendor --jobs $(nproc) "${FLAGS[@]}"
5252
- bundle exec rubocop
5353

5454
brakeman:
5555
stage: test
5656
script:
5757
- ruby -v
58-
- gem install brakeman --no-ri --no-rdoc
58+
- gem install brakeman
5959
- brakeman --exit-on-warn --quiet -f plain
6060

6161
deploy_development:
@@ -82,6 +82,8 @@ deploy_production:
8282
- git push $PROD_GIT_REPO $CI_COMMIT_TAG
8383
only:
8484
- tags
85+
except:
86+
- /^process-.*$/
8587
environment:
8688
name: production
8789
url: https://valve.cyfronet.pl

.rubocop.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ Metrics/BlockLength:
2828
- "**/factories/**"
2929
- "**/tasks/**"
3030

31+
Lint/AmbiguousBlockAssociation:
32+
Exclude:
33+
- "spec/**/*"
34+
3135
Layout/DotPosition:
3236
Description: Checks the position of the dot in multi-line method calls.
3337
StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.1
1+
2.5.3

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruby 2.4.1
1+
ruby 2.5.3

CHANGELOG.md

Lines changed: 66 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,84 @@ Please view this file on the master branch, on stable branches it's out of date.
88

99
## Unreleased
1010

11+
### Added
12+
- All active user computation are aborted when user is deleted (@mkasztelnik)
13+
- Pipelines API (@Nuanda)
14+
- New provenance data file type (@mkasztelnik)
15+
- Data file synchronization API (@mkasztelnik)
16+
- Description how to start https development server using puma (@mkasztelnik)
17+
- Data file type stored in DB (@mkasztelnik)
18+
- Start runnable computation after new file appears (@mkasztelnik)
19+
- First version of automatic patient synchronization machinery (@Nuanda)
20+
21+
### Changed
22+
- Move application controller configurations to separate concerns (@mkasztelnik)
23+
24+
### Deprecated
25+
26+
### Removed
27+
- Remove `thin` from `Gemfile` since puma can be used to start https development server (@mkasztelnik)
28+
- Remove `Patient#procedure_status` not used anymore (@mkasztelnik)
29+
- Remove `guard` since no one from the team is using it right now (@mkasztelnik)
30+
31+
### Fixed
32+
- Issue #361 regression when running a rimrock step without tag or branch (@Nuanda)
33+
34+
### Security
35+
36+
## 0.12.1
37+
38+
### Fixed
39+
- Fix pipeline list: CRC model CFD/ROM pipelines (@mkasztelnik)
40+
41+
## 0.12.0
42+
43+
### Added
44+
- Pipelines API (@Nuanda)
45+
- New provenance data file type (@mkasztelnik)
46+
- Add FileStore IP to rake attack safelist (@mkasztelnik)
47+
48+
### Changed
49+
- `pressure_drops` file pattern extension changed to `dat` (@mkasztelnik)
50+
- JWT expiration time is now the same as for other envs (@mkasztelnik)
51+
- JWT expiration time can be configured using ENV variable (@mkasztelnik)
52+
- `stage_in` adds commented line when file cannot be found (@mkasztelnik)
53+
- Update to ruby 2.5.3 (@mkasztelnik)
54+
- Update to rails 5.2.1 (@mkasztelnik)
55+
- Replaced ERB-based templating with a Liquid-based system (@Nuanda, @mkasztelnik)
56+
57+
### Deprecated
58+
59+
### Removed
60+
61+
### Fixed
62+
- Seg output shortening rule fix to deal with both success and failure outputs (@Nuanda)
63+
- ExclusivelyOwnedGroups incorrect positive removed (@Nuanda)
64+
- Updated truncated_off_mesh regular expression to recognize new segmentation output (@Nuanda)
65+
- STDOUT and STDERR files reset to nil for a re-run computation (@Nuanda)
66+
- Uploading input files via WebDAV triggers computation run (@Nuanda)
67+
- `Pipelines::StartRunnable` starts only configured computations (@mkasztelnik)
68+
69+
### Security
70+
71+
## 0.11.0
72+
1173
### Added
1274
- Patients API (@mkasztelnik)
1375
- Accepting `file.zip` as a correct input for segmentation (@Nuanda)
14-
- First version of automatic patient synchronization machinery (@Nuanda)
76+
- Extended clinical details section with a multi-entry widget (@Nuanda)
1577

1678
### Changed
79+
- Exclude process-\* tags from the EurValve CI (@jmeizner)
80+
- Segmentation output files have shorter names (@Nuanda)
1781

1882
### Deprecated
1983

2084
### Removed
2185

2286
### Fixed
2387
- Fixed GitLab integration spec (@Nuanda)
88+
- Missing clinical data for some patients (@Nuanda)
2489

2590
### Security
2691

Gemfile

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
# frozen_string_literal: true
22

33
source 'https://rubygems.org'
4+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
45

5-
gem 'rails', '~> 5.1.0'
6+
gem 'rails', '~> 5.2.0'
67

7-
gem 'pg', '~> 0.15'
8+
gem 'pg', '>= 0.18', '< 2.0'
89
gem 'sass-rails', '~> 5.0'
910
gem 'uglifier', '>= 1.3.0'
1011

12+
# Reduces boot times through caching; required in config/boot.rb
13+
gem 'bootsnap', '>= 1.1.0', require: false
14+
1115
# javascript
1216
gem 'animate-rails', '1.0.10'
1317
gem 'clipboard-rails' # copy text to clipboard
@@ -36,7 +40,9 @@ gem 'json-schema'
3640
gem 'github-markup'
3741
gem 'redcarpet'
3842

39-
gem 'devise', '~> 4.3.0'
43+
gem 'liquid'
44+
45+
gem 'devise', '~> 4.5.0'
4046
gem 'jwt'
4147
gem 'omniauth-openid'
4248
gem 'pundit'
@@ -60,15 +66,14 @@ gem 'addressable', '~> 2.5'
6066
# Gitlab integration
6167
gem 'gitlab'
6268

63-
gem 'puma', '~> 3.7'
64-
gem 'redis', '~> 3.0'
69+
gem 'puma', '~> 3.11'
70+
gem 'redis', '~> 4.0'
6571

6672
group :development, :test do
6773
gem 'bullet'
6874
gem 'byebug', platform: [:mri, :mingw, :x64_mingw]
6975
gem 'dotenv-rails'
7076
gem 'factory_bot_rails'
71-
gem 'guard-rspec', require: false
7277
gem 'rspec-rails', '~> 3.0'
7378
end
7479

@@ -78,11 +83,7 @@ group :development do
7883
gem 'spring-watcher-listen', '~> 2.0.0'
7984
gem 'web-console', '>= 3.3.0'
8085

81-
# PLG OpenId requires ssh even for development
82-
# start app using `thin start --ssl
83-
gem 'thin'
84-
85-
gem 'rubocop', '0.51.0', require: false
86+
gem 'rubocop', '~> 0.59', require: false
8687
end
8788

8889
group :test do

0 commit comments

Comments
 (0)