Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test pr #18

Open
wants to merge 182 commits into
base: fixr
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
182 commits
Select commit Hold shift + click to select a range
5a49924
[RM] Travis support (#1271)
natacha-beck Oct 3, 2022
dd23aaa
[RM] Canarie monitoring system (#1273)
natacha-beck Oct 4, 2022
05f2cff
Fix counter in userfile index page (#1261)
natacha-beck Oct 14, 2022
ea973f1
[RM] unused attributes from Remote Resource (#1264)
natacha-beck Oct 14, 2022
1c156d5
Misc small changes.
prioux Nov 16, 2022
529311e
Adjusted posting date for dashboard messages
prioux Nov 17, 2022
b8a9381
Fixed DataUsage report maker for deleted users
prioux Nov 22, 2022
99bed79
Added documentation about ResourceUsage cleanup
prioux Dec 31, 2022
7773447
Documentation in data dump framework.
prioux Jan 12, 2023
f176c35
ToolConfigs to auto-propagate their environment variables to singular…
MontrealSergiy Jan 12, 2023
a1bd2e5
Tiny changes
prioux Jan 17, 2023
ab3682e
Merge pull request #1295 from aces/dev
prioux Jan 17, 2023
69c1caa
Updated gem caching directive in GitHub workflow
prioux Jan 17, 2023
65de15a
ExtendedCbrainFileList and Boutiques portal use extra fields in Exten…
natacha-beck Jan 17, 2023
fe33379
Merge branch 'dev'
prioux Jan 17, 2023
28668db
[RM] brainbrowser-loader.gif in CBRAIN
natacha-beck Jan 18, 2023
b892b0b
Merge pull request #1297 from natacha-beck/bb_loader
prioux Jan 18, 2023
fa7f840
Added coloring of IBC 'ping' command outputs
prioux Jan 19, 2023
0e38917
Adjusted some exception statements
prioux Jan 20, 2023
3ea9d1a
Adjusted layout of 'available' tools and datasets
prioux Jan 20, 2023
17fb276
Added disk quota report table for admins
prioux Jan 21, 2023
f6bd968
Merge branch 'master' into dev
prioux Jan 21, 2023
af804ae
Relaxed read-only restriction on files in search box.
prioux Jan 23, 2023
af638f3
Added special workaround for missing BTQ descriptors
prioux Jan 24, 2023
650c2e6
Disable launching task when missing BTQ descriptor
prioux Jan 24, 2023
966ca2b
Admin can set quotas to -1: no files allowed.
prioux Jan 26, 2023
3eceef3
Added Release Notes for 6.3.0
prioux Jan 26, 2023
1bd1bd5
Added ext3 capture mountpoints in tasks
prioux Jan 31, 2023
1033017
Added BoutiquesExt3Capturer module
prioux Jan 31, 2023
6e9e07f
Added missing symlink
prioux Jan 31, 2023
118cc6a
Logging ext3 filesystem creation.
prioux Jan 31, 2023
1c20cd5
Smalle fixes and improvements
prioux Feb 1, 2023
3d83027
Prefetch tasks git file revision info resolves #1248 (#1258)
MontrealSergiy Feb 2, 2023
5e8b8fd
Load description when use preset of a task (#1277)
natacha-beck Feb 2, 2023
001bb92
Fixed userfile 'show' page checks
prioux Feb 3, 2023
c15a19f
Typos in comments and documentation
prioux Feb 7, 2023
de2b42c
Merge pull request #1300 from prioux/ext3capt
prioux Feb 7, 2023
1e24d5b
Merge branch 'dev' of github.com:aces/cbrain into dev
prioux Feb 7, 2023
53309b4
Adjustments to quota reporting.
prioux Feb 9, 2023
ffc8e73
Hot patch for Ruby incompatibilies
prioux Feb 9, 2023
8633d87
View helper for large numbers
prioux Feb 9, 2023
61805c6
Checks for quotas when moving/copying to other DPs
prioux Feb 9, 2023
31376ef
Adjusted quick project switcher
prioux Feb 9, 2023
251c1c1
Adjusted disk quota info message
prioux Feb 13, 2023
a5d023e
Updating the list of users in a workgroup
natacha-beck Feb 14, 2023
0705e0c
Merge branch 'dev'
prioux Feb 14, 2023
3d7e895
Layout adjustements.
prioux Feb 16, 2023
53a4238
Re-added sorting operator for BTQ objects
prioux Feb 19, 2023
7b72d8f
Boutiques modules integrator information (#1276)
natacha-beck Feb 20, 2023
98e2f92
Add BoutiquesSaveStdOutStdErr module to save stderr and/or sdtout (#1…
natacha-beck Feb 21, 2023
6c26e4f
Adjustements to tracking task status
prioux Feb 21, 2023
b61b039
Merge branch 'dev'
prioux Feb 21, 2023
96d9a70
Added DP ownership validations
prioux Feb 27, 2023
cdbeeb6
Adjusted unit tests for new DP owner restrictions
prioux Feb 28, 2023
8b3b05b
Fixed BTQ cbcsv handling
natacha-beck Mar 2, 2023
f33e87e
private user key dp
MontrealSergiy Mar 6, 2023
09b5262
private user key dataprovider - minor improvements for key rendering,…
MontrealSergiy Mar 7, 2023
693ee18
private user key dataprovider - minor improvements
MontrealSergiy Mar 7, 2023
2ae9c03
Add task workdir shortening in Singularity containers (#1308)
prioux Mar 7, 2023
43eae02
private user key dataprovider - refactor dp check to model, misc mino…
MontrealSergiy Mar 9, 2023
06356b1
private user key dataprovider - minor refactorings unless to if in co…
MontrealSergiy Mar 9, 2023
9c82137
CbrainTask checks singularity ext3 mounts
prioux Mar 13, 2023
f6f038b
BoutiquesCollectionBasenamesListMaker module
natacha-beck Mar 13, 2023
5fd2e0b
CbrainFileList viewer has links to the each file
prioux Mar 22, 2023
6545054
Adjustment to CbrainFileList viewer
prioux Mar 22, 2023
b5ef30a
Added SquashifierEnCbrainSshDataProvider
prioux Mar 22, 2023
2f88665
Adjusted filters for sdterr messages of SSH
prioux Mar 23, 2023
a06b092
Adjusted mem for mksquashfs
prioux Mar 23, 2023
791b219
Adjusted extensions of squashfs files.
prioux Mar 23, 2023
cafb79b
Better handling of errors in squashfs handlers
prioux Mar 23, 2023
3860497
Squashifier DP verifies mksquashfs mem option
prioux Mar 23, 2023
53b55a9
Disabled compression in Squashifier DP
prioux Mar 24, 2023
431055c
Select safer output types in BTQ post processing
prioux Mar 28, 2023
2503d3d
Select_all bug fix (#1321)
natacha-beck Apr 11, 2023
27ba444
[FIX] JS condition (#1322)
natacha-beck Apr 13, 2023
afce17e
Added DB unique restriction for SyncStatus objects
prioux Apr 18, 2023
5395689
fix intersecting div borders (#1324)
MontrealSergiy Apr 20, 2023
92c3a71
Fixes bug when hitting return in table filters caused spurious post r…
MontrealSergiy Apr 20, 2023
2573b6a
Use data_link helper for qc_panel
natacha-beck Apr 20, 2023
f34b7a8
Fixes race conditions when tracking file syncing
prioux Apr 26, 2023
1c3deec
Fixed console boot initialization on Bourreaux
prioux Apr 27, 2023
7330a4e
Added pretty Boutiques JSON utilities
prioux Apr 28, 2023
4681006
Handle better empty groups in BTQ descriptors
prioux Apr 28, 2023
7dfb28a
Merge pull request #1326 from prioux/sync_racing
prioux May 1, 2023
63f5b97
S3FlatDirDataProvider fixed
prioux May 1, 2023
8b13ac5
Merge branch 'master' into dev
prioux May 1, 2023
5db1bc3
[FIX] revision info format in boutiques_portal_task (#1329)
natacha-beck May 3, 2023
8ee7dd4
Fixed links to Zenodo DOI
prioux May 4, 2023
eae3d93
Added workaround for slow Apptainer startups
prioux May 9, 2023
07c3c2c
Added miscellaneous small features and fixes
prioux May 9, 2023
2bf93ed
[ADD] custom author information in BTQ integrator
natacha-beck May 19, 2023
c86bfb9
Added userfile ID in some internal error messages
prioux Jun 14, 2023
2605624
SingSquashfsDataProvider: unlock SSH before rsync
prioux Jun 16, 2023
531e088
Adjusted comments
prioux Jun 17, 2023
d53e38a
Merge pull request #1335 from natacha-beck/1202_b
prioux Jun 18, 2023
4205acb
CBRAIN public checkbox 1244 (#1283)
MontrealSergiy Jun 18, 2023
dcbec4f
Add public to project 'categories'
MontrealSergiy Jun 18, 2023
171f45c
Adjusted tasks handling priorities
prioux Jun 19, 2023
3f14f65
Merge branch 'master' of github.com:aces/cbrain
prioux Jun 19, 2023
5f46975
Adjusted task scheduling algorithm
prioux Jun 19, 2023
f9de440
Added 'mark_as_newer' as an API accessible call.
prioux Jun 26, 2023
ef99c2f
Adjusted JSON response to sync_multiple(all_newer)
prioux Jun 26, 2023
8e30b8e
Made BTQ descriptor maker more tolerant
prioux Jun 28, 2023
97d9231
Patched BTQ maker helper so it shows the form.
prioux Jun 28, 2023
e95ed77
Small bug fixes
prioux Jul 10, 2023
d157ae4
misc correction, removal of finetuned userkey data provider page
MontrealSergiy Jul 18, 2023
fc268a6
add time zone to the new user key dp
MontrealSergiy Jul 18, 2023
efc6818
prevent user from changing any important user key provider params
MontrealSergiy Jul 18, 2023
3e943e6
minor comment and format changes user key provider params
MontrealSergiy Jul 18, 2023
707d2e5
minor imporovements user key provider (check for all checkable dp, ve…
MontrealSergiy Jul 18, 2023
fc2be78
extend check from user key provider params to other ssh providers fix
MontrealSergiy Jul 18, 2023
1e14df8
extend check from user key provider params to other ssh providers, co…
MontrealSergiy Jul 19, 2023
2d49c36
better form for from user key provider - more explanations
MontrealSergiy Jul 19, 2023
fe02c7d
user key provider minor refactoring
MontrealSergiy Jul 19, 2023
86274eb
user key provider controller test connection button
MontrealSergiy Jul 19, 2023
df2d37b
Added reset_connection method to S3 DP
prioux Jul 20, 2023
f2f5486
user key provider success verbiage
MontrealSergiy Jul 20, 2023
e1786df
routes copyright year update
MontrealSergiy Jul 20, 2023
9629a7a
user key template correction
MontrealSergiy Jul 20, 2023
81c5e57
Added gem for curve25519 key exchange
prioux Jul 27, 2023
89d9efa
Turn off cbrain:no-run-id-for-outputs on flat DPs
prioux Aug 1, 2023
70c960f
add spaces to show action data_providers_controller.rb
MontrealSergiy Aug 1, 2023
49c75d6
add space to api list Update data_providers_controller.rb
MontrealSergiy Aug 1, 2023
9510d2c
more spaces to new actions data_providers_controller.rb
MontrealSergiy Aug 1, 2023
1b4e2e5
delete few spaces new and create actions data_providers_controller.rb
MontrealSergiy Aug 1, 2023
f35212d
further spacing changes to data_providers_controller.rb
MontrealSergiy Aug 1, 2023
1b4defd
restore a few spaces in create action of data_providers_controller.rb
MontrealSergiy Aug 1, 2023
b2fd996
remove few update action comments and spaces data_providers_controll…
MontrealSergiy Aug 1, 2023
989729b
remove a redundant attribute from new action data_providers_controlle…
MontrealSergiy Aug 1, 2023
776eb2d
space and minor corrections for check action in data_providers_contro…
MontrealSergiy Aug 1, 2023
5221cb8
improve dp check api
MontrealSergiy Aug 1, 2023
761e07d
refactor ssh dp check
MontrealSergiy Aug 1, 2023
334e667
Added S3 connection pool cleaning
prioux Aug 22, 2023
144632e
Misc small changes.
prioux Aug 23, 2023
f969388
Changed the main SSH key from RSA to ed25519
prioux Sep 15, 2023
202e183
Adjustments to PR 1296
prioux Sep 20, 2023
53a9251
Adjustements to attributes updating.
prioux Sep 20, 2023
1d78a7a
Added missing return.
prioux Sep 21, 2023
b41a987
Merge pull request #17 from prioux/patch_pr_1296
MontrealSergiy Sep 21, 2023
95006e8
Merge pull request #1296 from MontrealSergiy/userkeydownload
prioux Sep 22, 2023
2ced0a7
Merge branch 'dev'
prioux Sep 22, 2023
ba6c7ab
Preliminary new tabbed Projects select page
prioux Sep 25, 2023
0df9f16
Signup notification only when confirmed.
prioux Oct 3, 2023
3c52763
Adjusted mariadb docker image for CI script
prioux Oct 3, 2023
a94b1ad
Merge pull request #1350 from prioux/ssh_ed25519_key
prioux Oct 3, 2023
d057b4f
Added extension .sqfs in SquashFS support code
prioux Oct 6, 2023
45a5065
Added support for configurable CORS
prioux Oct 10, 2023
2fff041
Adjusted validation check for SSH key file
prioux Oct 11, 2023
a421ffe
Added BTQ author info in task params help page
prioux Oct 12, 2023
127b06a
Reverted changes in 0df9f16
prioux Oct 13, 2023
83b0639
Changed project select page label.
prioux Oct 19, 2023
4a3547e
Merge branch 'dev'
prioux Oct 19, 2023
023a1b6
Added sanity check that erases expired Messages.
prioux Oct 24, 2023
2a38393
Adjusted NOC to count active tasks that were not updated today.
prioux Nov 3, 2023
db8bcb1
Added [XYZ] substitutions in BTQ forced browse paths
prioux Nov 3, 2023
8252ea7
Added support for empty strings in BTQ values
prioux Nov 3, 2023
5fe807b
Fixed nagios checker for Data Providers
prioux Nov 14, 2023
401f337
Added models for Apptainer images and SquashFS files
prioux Nov 16, 2023
98a99f3
Adjusted 'available' info page.
prioux Nov 21, 2023
0dd9696
Added nice options in update_cb_all.sh.
prioux Dec 6, 2023
45dbe7a
Added BoutiquesTaskLogsCopier
prioux Dec 12, 2023
aef8dec
BoutiquesTaskLogsCopier can copy 4 more files
prioux Dec 19, 2023
2b568c7
Adjusted comments in BoutiquesTaskLogsCopier
prioux Dec 19, 2023
c4d5c0b
S3 DataProviders support files starting with '.'
prioux Dec 20, 2023
9dae8ab
Small fixes to support 2.7
prioux Jan 23, 2024
4338a54
Adjustments for test suite.
prioux Jan 24, 2024
a5649d2
input fixer in the progress
MontrealSergiy Jul 12, 2022
3740ce0
input fixer
MontrealSergiy Jul 18, 2022
0f651da
input fixer - comments correction
MontrealSergiy Jul 18, 2022
183a751
input fixer improvements
MontrealSergiy Jul 26, 2022
7ea549b
add a link
MontrealSergiy Jul 26, 2022
d2c97fb
input fixer
MontrealSergiy Jul 26, 2022
57fc84c
remove fixed from require - disables dependencies
MontrealSergiy Aug 1, 2022
3740b02
no blocking for deleted variables
MontrealSergiy Aug 3, 2022
628df1e
fixed bug (confusion value requies and disables) in input fixer
MontrealSergiy Aug 4, 2022
430dffc
verbiage mostly
MontrealSergiy Oct 24, 2022
13340ce
fix more typos
MontrealSergiy Oct 24, 2022
250621c
few fixes to fixer
MontrealSergiy Aug 1, 2023
ac614f3
misc improvements to input fixer #1188
MontrealSergiy Jan 19, 2024
68bec3b
wording in fixer
MontrealSergiy Jan 19, 2024
b90ad00
Update comments in boutiques_input_value_fixer.rb
MontrealSergiy Jan 21, 2024
ceb7122
comments redacted in fixer
MontrealSergiy Jan 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/cbrain_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
###########################################################
services:
mariadb:
image: mariadb/server
image: mariadb
env: # the docker container's autosetup use MYSQL_ variables
MYSQL_ROOT_PASSWORD: that_is_nothing
MYSQL_DATABASE: cbrain_test
Expand All @@ -38,13 +38,13 @@ jobs:

###########################################################
- name: Checkout CBRAIN Codebase
uses: actions/checkout@v2
uses: actions/checkout@v4

###########################################################
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.6
ruby-version: 2.7.2

###########################################################
- name: Setup BrainPortal And Bourreau Names
Expand All @@ -67,7 +67,7 @@ jobs:

###########################################################
- name: Reload Cached Gems
uses: actions/cache@v1 # speeds up 'Prepare Ruby Gems' below
uses: actions/cache@v3 # speeds up 'Prepare Ruby Gems' below
with:
path: gem-cache
key: ${{ runner.os }}-gems-${{ hashFiles('*/Gemfile') }}
Expand Down
14 changes: 0 additions & 14 deletions .travis.yml.old

This file was deleted.

4 changes: 3 additions & 1 deletion Bourreau/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ gem 'rails', '~> 5.0.6'
# Network components mostly
gem "net-ssh", :require => 'net/ssh'
gem "net-sftp", :require => 'net/sftp'
gem "x25519"
gem "rbnacl"
gem "ed25519"
gem "rbnacl-libsodium"
Expand Down Expand Up @@ -70,7 +71,8 @@ end
group :test do
gem "rspec"
gem "rspec-rails"
gem "factory_bot_rails", :require => false
gem "factory_bot", '6.4.2', :require => false
gem "factory_bot_rails", '6.4.2', :require => false
gem "rails-controller-testing"
gem "rspec-mocks"
gem "rspec-activemodel-mocks"
Expand Down
4 changes: 3 additions & 1 deletion Bourreau/app/models/bourreau_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,9 @@ def process_task_list(tasks_todo_rel) #:nodoc:
user_max_tasks = @rr.meta["task_limit_user_#{user_id}".to_sym]
user_max_tasks = @rr.meta[:task_limit_user_default] if user_max_tasks.blank?
user_max_tasks = user_max_tasks.to_i # nil, "" and "0" means unlimited
user_tasks = by_user[user_id].shuffle # go through tasks in random order
# Go through tasks in random order, but with non-New states having higher priority
user_tasks = (by_user[user_id].select { |t| t.status == 'New' }).shuffle +
(by_user[user_id].select { |t| t.status != 'New' }).shuffle # tasks are pop()ed

# Loop for each task
while user_tasks.size > 0
Expand Down
5 changes: 4 additions & 1 deletion Bourreau/config/initializers/validation_bourreau.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@
puts "C> \t environment variable 'CBRAIN_SKIP_VALIDATIONS' to '1'.\n"
CbrainSystemChecks.check(:all)
BourreauSystemChecks.check([
:a050_ensure_proper_cluster_management_layer_is_loaded, :z000_ensure_we_have_a_forwarded_ssh_agent,
:a000_ensure_models_are_preloaded,
:a005_ensure_boutiques_descriptors_are_loaded,
:a050_ensure_proper_cluster_management_layer_is_loaded,
:z000_ensure_we_have_a_forwarded_ssh_agent,
])
end
Process.setproctitle "CBRAIN Console #{RemoteResource.current_resource.class} #{RemoteResource.current_resource.name} #{CBRAIN::Instance_Name}"
Expand Down
18 changes: 17 additions & 1 deletion Bourreau/lib/bourreau_system_checks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,23 @@ def self.a100_ensure_dp_cache_symlink_exists #:nodoc:



def self.a110_ensure_task_class_git_commits_cached

#----------------------------------------------------------------------------
puts "C> Ensuring git commits for tasks classes are pre-cached..."
#----------------------------------------------------------------------------

myself = RemoteResource.current_resource

ToolConfig.where(:bourreau_id => myself.id)
.map {|tc| tc.cbrain_task_class rescue nil}
.uniq
.compact # to remove the nil
.each { |klass| klass.revision_info.self_update }
end



def self.z000_ensure_we_have_a_forwarded_ssh_agent #:nodoc:

#----------------------------------------------------------------------------
Expand All @@ -501,4 +518,3 @@ def self.z000_ensure_we_have_a_forwarded_ssh_agent #:nodoc:
end

end

1 change: 1 addition & 0 deletions Bourreau/lib/boutiques_collection_basenames_list_maker.rb
1 change: 1 addition & 0 deletions Bourreau/lib/boutiques_ext3_capturer.rb
1 change: 1 addition & 0 deletions Bourreau/lib/boutiques_input_value_fixer.rb
1 change: 1 addition & 0 deletions Bourreau/lib/boutiques_save_std_out_std_err.rb
1 change: 1 addition & 0 deletions Bourreau/lib/boutiques_task_logs_copier.rb
1 change: 1 addition & 0 deletions Bourreau/lib/data_provider_test_connection_error.rb
13 changes: 9 additions & 4 deletions BrainPortal/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,13 @@ gem 'rails', '~> 5.0.6'
# Network components mostly
gem "net-ssh", :require => 'net/ssh'
gem "net-sftp", :require => 'net/sftp'
gem "rbnacl"
gem "x25519"
gem "ed25519"
gem "rbnacl-libsodium"
gem "bcrypt_pbkdf"
# You can comment-out the following two gems if you don't mind not having 'userkey' data providers.
# They are usually the most tricky to compile and integrate into the app.
gem "rbnacl"
gem "rbnacl-libsodium"

# Other utilities
gem "sys-proctable", '~> 1.2.0'
Expand All @@ -46,6 +49,7 @@ gem "json-schema"
gem "aws-sdk-s3", '~> 1'
gem 'zenodo_client', '>= 1.0.0', :git => 'https://github.com/aces/zenodo-client-gem'
gem 'jwt'
gem "rack-cors"

# User interface gems
gem "will_paginate"
Expand All @@ -65,7 +69,7 @@ gem "activemodel-serializers-xml"

gem 'sassc-rails' # "rake assets:precompile" fails if this gems is put into the :assets group
group :assets do
gem 'therubyracer'
#gem 'therubyracer' # very old; consider installing ANY other JS engine, like 'node'. If not, try 'mini_racer'.
gem 'coffee-rails'
gem 'uglifier'
end
Expand All @@ -90,7 +94,8 @@ end
group :test do
gem "rspec"
gem "rspec-rails"
gem "factory_bot_rails", :require => false
gem "factory_bot", '6.4.2', :require => false
gem "factory_bot_rails", '6.4.2', :require => false
gem "rails-controller-testing"
gem "rspec-mocks"
gem "rspec-activemodel-mocks"
Expand Down
102 changes: 59 additions & 43 deletions BrainPortal/app/assets/stylesheets/cbrain.css.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# CBRAIN Project
#
# Copyright (C) 2008-2012
# Copyright (C) 2008-2023
# The Royal Institution for the Advancement of Learning
# McGill University
#
Expand Down Expand Up @@ -441,9 +441,9 @@ table.bordered {

table.public_tools_list {
border: 0px;
margin-left: auto;
margin-right: auto;
margin-bottom: 2em;
display: table-cell;
padding-bottom: 1em;
padding-right: 1em;
}

table.public_tools_list tr {
Expand All @@ -458,7 +458,7 @@ table.public_tools_list th {
table.public_tools_list td {
border: 0px;
border-bottom: 0.2em solid #999;
max-width: 60em;
max-width: 30em;
}


Expand Down Expand Up @@ -804,6 +804,10 @@ pre {
line-height: 1.3em;
border: 0.2em solid black;
padding: 0.4em;
word-break: break-all;
overflow-wrap: break-word;
text-align: left;
table-layout: fixed;
}

.script_preview {
Expand Down Expand Up @@ -880,7 +884,7 @@ pre {
}

.errorExplanation {
width: 400px;
width: 600px;
border: 2px solid red;
padding: 7px;
padding-bottom: 12px;
Expand Down Expand Up @@ -1138,18 +1142,16 @@ pre {
float: left;
text-align: center;
text-decoration: none;
color: white;
padding: 0.4em;
margin: 2em ;
width: 18em;
height: 9em;
border: 0.4em gray solid;
border: 0.5em black solid;
border-radius: 1em;
cursor: pointer;
}

.project_button h4{
color: white;
.project_button h4 {
font-weight: bold;
border-bottom: none;
margin-bottom: 0;
Expand All @@ -1163,13 +1165,24 @@ pre {

.project_button_bottom_link {
font-size: 10px;
color: white;
font-weight: bold;
text-decoration: none;
position: absolute;
bottom: 1px;
}

.project_user_count {
color: #660000;
}

.project_files_count {
color: #006600;
}

.project_tasks_count {
color: #000066;
}

.project_button_description {
font-style: italic;
line-height: 1.2em;
Expand All @@ -1180,48 +1193,30 @@ pre {
}

.project_edit_button {
left: 5px;
left: 1em;
}

.project_delete_button {
right: 5px;
right: 1em;
}

.system_project_point { color: #d41c1c; }
.system_project { background: #d41c1c; }
.system_project:active { background: #d41c1c; }

.everyone_project_point { color: #af0b0b; }
.everyone_project { background: #af0b0b; }
.everyone_project:active { background: #af0b0b; }

.site_project_point { color: #8c0953; }
.site_project { background: #8c0953; }
.site_project:active { background: #8c0953; }
.everyone_project { background: #bbbbbb; }
.everyone_project:active { background: #bbbbbb; }

.user_project_point { color: #500d75; }
.user_project { background: #500d75; }
.user_project:active { background: #500d75; }
.site_project { background: #dbf7cc; }
.site_project:active { background: #dbf7cc; }

.shared_project_point { color: #00bf09; }
.shared_project { background: #00bf09; }
.shared_project:active { background: #00bf09; }
.user_project { background: #bbbbbb; }
.user_project:active { background: #bbbbbb; }

.public_project_point { color: #9e5400; }
.public_project { background: #9e5400; }
.public_project:active { background: #9e5400; }
.shared_project { background: #A5D1DF; }
.shared_project:active { background: #A5D1DF; }

.personal_project_point { color: #008686; }
.personal_project { background: #008686; }
.personal_project:active { background: #008686; }
.public_project { background: #fdcece; }
.public_project:active { background: #fdcece; }

.invisible_project_point { color: #2b97c1; }
.invisible_project { background: #2b97c1; }
.invisible_project:active { background: #2b97c1; }

.empty_project_point { color: #d7ca0a; }
.empty_project { background: #d7ca0a; }
.empty_project:active { background: #d7ca0a; }
.private_project { background: #eeeeee; }
.private_project:active { background: #eeeeee; }

.giant {
margin-top: 0.3em;
Expand Down Expand Up @@ -2460,6 +2455,7 @@ img {
color: black;
padding: 5px;
border: 1px solid black;
max-width: 42em;
}

.white_bg {
Expand Down Expand Up @@ -2623,6 +2619,26 @@ img {
display: table-cell;
}

/* % ######################################################### */
/* % Disk Quota Styles */
/* % ######################################################### */

.disk_quota_user_quota_highlight {
background-color: #ffd; /* light yellow */
}

.disk_quota_dp_quota_highlight {
background-color: #ffd; /* light yellow */
}

.disk_quota_exceed_bytes {
background-color: #fdd; /* light pink */
}

.disk_quota_exceed_files {
background-color: #fdd; /* light pink */
}

/* % ######################################################### */
/* % Report Generator Styles */
/* % ######################################################### */
Expand Down
1 change: 1 addition & 0 deletions BrainPortal/app/assets/stylesheets/neurohub.scss.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3220,6 +3220,7 @@ $DASHBOARD_CARD_MIN_WIDTH: 25;
border: 1px solid $DEFAULT_ALT;
border-radius: 2px;
overflow: scroll;
box-sizing: border-box;
}
.license-list {
background: $PRIMARY_WASH;
Expand Down
Loading
Loading