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

Add a service to add an identifier #208

Draft
wants to merge 870 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
870 commits
Select commit Hold shift + click to select a range
28333a6
Merge pull request #123 from antleaf/features/i183-helpers-unit-tests
Steven-Eardley Oct 6, 2019
a10e354
Merge pull request #131 from antleaf/features/i183-model-unit-tests
Steven-Eardley Oct 6, 2019
12ecd3c
channels, mailers, jobs, actors specs
martyn-w Oct 9, 2019
cfb27ab
Merge branch 'develop' into feature/oai
Steven-Eardley Oct 10, 2019
5047d9c
add file pid if it is missing in XML files
nabeta Oct 10, 2019
1c98f62
add feature spec file for the contact form
nabeta Oct 12, 2019
f6a0c62
form specs
martyn-w Oct 14, 2019
9ad87ed
wip - input specs
martyn-w Oct 15, 2019
43db9c9
more input specs
martyn-w Oct 15, 2019
0bd67cc
override persistent_url method
nabeta Oct 16, 2019
7b5d275
add test for persistent_url method
nabeta Oct 16, 2019
b011e3e
include MdrExport module in SolrDocument class
nabeta Oct 16, 2019
517a2bf
add more tests
nabeta Oct 16, 2019
d93fe79
add MDR_HOST variable to .env.template in order to set the default ho…
nabeta Oct 16, 2019
f15c270
wip - more input specs
martyn-w Oct 16, 2019
b769ccf
final input specs
martyn-w Oct 16, 2019
d66ed1a
add plain text to office mime types
Oct 16, 2019
7a58015
Removed JPCOAR OAI format so we can get OAI:DC out of the door
Steven-Eardley Oct 17, 2019
da1e5fb
Field semantics for contributor
Steven-Eardley Oct 17, 2019
044f372
add shared volume for derivatives/uploads/cache
Oct 17, 2019
e0b726e
office_document_mime_types is a class method
Oct 17, 2019
2d88622
add the languages vocab task to setup_hyrax
Oct 17, 2019
03c02ae
add first renderer spec
martyn-w Oct 21, 2019
847fe47
renderer specs
martyn-w Oct 21, 2019
aa4112a
more renderer specs
martyn-w Oct 22, 2019
2d21d20
add lib specs
martyn-w Oct 23, 2019
f1920b2
service specs
martyn-w Oct 23, 2019
dc5b5a2
Moved OAI configuration, added to .env.template
Steven-Eardley Oct 23, 2019
50efad9
Merge pull request #135 from antleaf/i182-persistent-url
Steven-Eardley Oct 23, 2019
82831ba
Merge pull request #133 from antleaf/i210-restore-announcement
Steven-Eardley Oct 23, 2019
a296f3e
Merge pull request #134 from antleaf/i150-fix-missing-file-pid
Steven-Eardley Oct 23, 2019
1407cb3
Merge pull request #136 from antleaf/features/i183-more-unit-tests
martyn-w Oct 23, 2019
02b96b7
Adds code coverage report via Coveralls
martyn-w Oct 23, 2019
773df69
Allow the data dir to be set by an env var
martyn-w Oct 24, 2019
d25fdc1
Update README.md
martyn-w Oct 29, 2019
52d5d9b
Update Hyrax to 2.6
Oct 30, 2019
13b1d29
Handle the fact that dataset doesn't have a place field; also handle …
Oct 17, 2019
8715be2
Merge pull request #142 from antleaf/upgrade-hyrax-2-6
Steven-Eardley Oct 30, 2019
275c412
Bump rubyzip from 1.2.3 to 2.0.0 in /hyrax
dependabot[bot] Oct 30, 2019
ec0ddb7
Bump devise from 4.6.2 to 4.7.1 in /hyrax
dependabot[bot] Oct 30, 2019
7c792d3
Merge pull request #144 from antleaf/dependabot/bundler/hyrax/rubyzip…
Steven-Eardley Oct 30, 2019
b5b572f
Update README.md
martyn-w Oct 30, 2019
44acf7b
Merge branch 'develop' into features/i192-integrate-coveralls
martyn-w Oct 30, 2019
237fe9f
Merge pull request #137 from antleaf/i180-text-extraction
Steven-Eardley Oct 30, 2019
5bf1833
Merge pull request #145 from antleaf/dependabot/bundler/hyrax/devise-…
Steven-Eardley Oct 30, 2019
8a2296b
Merge pull request #138 from antleaf/i208-add-language
Steven-Eardley Oct 30, 2019
0b0f848
Merge pull request #141 from antleaf/features/data-dir-in-env-var
Steven-Eardley Oct 30, 2019
44b2986
Merge branch 'develop' into features/i192-integrate-coveralls
martyn-w Oct 30, 2019
e08ff38
Merge pull request #140 from antleaf/features/i192-integrate-coveralls
Steven-Eardley Oct 30, 2019
74a3e7a
Merge pull request #143 from antleaf/i129-fixes
Steven-Eardley Oct 30, 2019
9057263
wip - now running locally
martyn-w Oct 30, 2019
a5ecf04
delete old solr conf (redundant)
martyn-w Oct 30, 2019
5107139
better rake task for starting/stopping test servers
martyn-w Oct 30, 2019
d79d28a
tidying up
martyn-w Oct 30, 2019
e3a6f3d
Merge branch 'develop' into features/i183-feature-tests
martyn-w Oct 30, 2019
2092753
Update create_dataset_spec.rb
martyn-w Oct 30, 2019
e60076a
Merge branch 'develop' into feature/oai_dc
nabeta Oct 31, 2019
61a54ed
Initial generation of blacklight OAI
Steven-Eardley Mar 22, 2019
97804f0
Added blacklight oai configuration
Steven-Eardley Apr 24, 2019
ae27b5a
tests for oai
Steven-Eardley May 1, 2019
158a091
Change configuration for OAI
Steven-Eardley May 1, 2019
4cfe149
Replaced Blacklight OAI plugin for CL modified version
Steven-Eardley May 13, 2019
dc594f3
Updates pertaining to the older version of blacklight oai
Steven-Eardley May 13, 2019
d623bb3
Efforts to introduce jpcoar metadata format.
Steven-Eardley Jun 6, 2019
7e766df
Trying out new solr fields for oai
Steven-Eardley Jun 7, 2019
c2ce633
wip - working dc (needs more fields mapping), some way to jpcoar
Aug 9, 2019
0111a13
Removed JPCOAR OAI format so we can get OAI:DC out of the door
Steven-Eardley Oct 17, 2019
60beb13
Field semantics for contributor
Steven-Eardley Oct 17, 2019
ca0f998
Moved OAI configuration, added to .env.template
Steven-Eardley Oct 23, 2019
d542b8c
Merge branch 'feature/oai_dc' of https://github.com/antleaf/nims-hyra…
nabeta Oct 31, 2019
2865f94
user -> depositor
nabeta Oct 31, 2019
b5cb971
fix route to oai_provider, use email as depositor
nabeta Oct 31, 2019
adb2584
update webdrivers
martyn-w Oct 31, 2019
9fa2f98
Add cucumber, re-write create_dataset rspec as cucumber feature
martyn-w Oct 31, 2019
e6765a8
wip - dataset index as anonymous
martyn-w Nov 4, 2019
fd0af49
more wip
martyn-w Nov 4, 2019
5542a96
add In Copyright, Apache, GPL, MIT to licenses
asahiko Sep 25, 2019
29022e5
Change license URL
asahiko Nov 5, 2019
bce17aa
even more wip
martyn-w Nov 5, 2019
1a51454
switch to file-based minter for tests; more cuke fixes
martyn-w Nov 5, 2019
11d28f9
Merge pull request #148 from antleaf/i194-licenses
Steven-Eardley Nov 6, 2019
8333933
Merge pull request #147 from antleaf/features/i183-feature-tests
Steven-Eardley Nov 6, 2019
17eed4a
Merge branch 'develop' into feature/oai_dc
Steven-Eardley Nov 6, 2019
0c382cd
Removed duplicate blacklight OAI
Steven-Eardley Nov 6, 2019
b500b33
Add favicons
asahiko Nov 7, 2019
41f659c
Merge branch '2019-11-08_hyrax_2.6'
Steven-Eardley Nov 8, 2019
2ccdd03
Merge tag '2019-11-08_hyrax_2.6' into develop
Steven-Eardley Nov 8, 2019
faf19a6
extend text extraction support to text/csv and text/tab-separated-values
Nov 8, 2019
70cbe6a
wip - now authenticating with local cas server
martyn-w Nov 11, 2019
577a7bc
wip
martyn-w Nov 13, 2019
3b5296c
Merge pull request #150 from antleaf/i180-text-extraction-csv-tsv
Steven-Eardley Nov 13, 2019
36f8912
Merge pull request #139 from antleaf/feature/oai_dc
Steven-Eardley Nov 13, 2019
2798ced
Merge pull request #149 from antleaf/feature/favicon
Steven-Eardley Nov 13, 2019
0a040d7
custom cas server, fix password issue
martyn-w Nov 13, 2019
a8a2fb2
more efficient cas building
martyn-w Nov 14, 2019
b0eec49
i212 - search links not working
Nov 8, 2019
0be0817
wip
martyn-w Nov 18, 2019
e11e71f
complete view test
martyn-w Nov 19, 2019
e8109a4
Merge branch 'develop' into feature/i184-single-sign-on-cas
martyn-w Nov 19, 2019
eff7b68
disable HSTS for localhost cas
martyn-w Nov 19, 2019
c62a9b9
single sign out with local cas
martyn-w Nov 19, 2019
3b05964
Merge pull request #152 from antleaf/feature/i185-single-sign-out
martyn-w Nov 19, 2019
5c850d6
wip
martyn-w Nov 20, 2019
2168c47
presenter.complex_identifier is an array
Nov 22, 2019
349b886
wip - added employee_type_code
martyn-w Nov 26, 2019
96c6120
Update user_spec.rb
martyn-w Nov 26, 2019
17de3dd
new view permissions applied to templates
martyn-w Nov 26, 2019
e3c2ec9
fix indexing invalid date such as "2019-01"
nabeta Nov 27, 2019
eb8745f
wip - service to update user authorisation details
martyn-w Nov 28, 2019
22c9da5
changes to airbrake config, default in .env.template to db auth
Nov 29, 2019
07429e1
foo
Nov 29, 2019
602c537
Create a Hyrax::UploadedFile for new versions.
Nov 29, 2019
62e4a66
revert to skipping airbrake in anything other than production
Nov 29, 2019
aaba352
index identifier by scheme
Nov 29, 2019
77e2dfd
fix oai-pmh rspec
martyn-w Dec 2, 2019
1ac3db9
Create user_authorisation_service_spec.rb
martyn-w Dec 2, 2019
7bbe1ac
more tests
martyn-w Dec 2, 2019
8f37a14
warning not error
martyn-w Dec 2, 2019
1b7c84b
new view spec for dataset metadata attributes
martyn-w Dec 3, 2019
3e2b8e5
wip
martyn-w Dec 3, 2019
71a2aea
image view tests
martyn-w Dec 4, 2019
1c57c88
Update ability_spec.rb
martyn-w Dec 4, 2019
9ac1726
additional ability specs
martyn-w Dec 4, 2019
2c6b5e1
Update .env.template
martyn-w Dec 4, 2019
fef9596
Update Gemfile
martyn-w Dec 4, 2019
f296868
ensure only nims researchers can create content
martyn-w Dec 4, 2019
32666d5
disable turbolinks, remove unused extra attributes
martyn-w Dec 5, 2019
26eccb5
Update devise.rb
martyn-w Dec 5, 2019
0945adf
final tweaks
martyn-w Dec 5, 2019
8bebd1a
Bump puma from 3.12.1 to 3.12.2 in /hyrax
dependabot[bot] Dec 6, 2019
c12aadd
conditional search fields
martyn-w Dec 9, 2019
ed8aa49
new cucumber tests to verify metadata visibility
martyn-w Dec 9, 2019
0d5d5b7
new view test for abstract
martyn-w Dec 10, 2019
8b02a0d
override and extra test to confirm zotero open url formatter
martyn-w Dec 10, 2019
811438f
ensure twitter card does not include abstract if unauthenticated
martyn-w Dec 10, 2019
e58fcb7
users cucumber
martyn-w Dec 10, 2019
223e8d8
hide user list from general users
nabeta Dec 11, 2019
12f70c8
Merge pull request #153 from antleaf/i129-citation-with-doi
Steven-Eardley Dec 11, 2019
c47850f
Merge pull request #154 from antleaf/i181-fix-indexing-date
Steven-Eardley Dec 11, 2019
e85b309
Merge pull request #155 from antleaf/local-docker
Steven-Eardley Dec 11, 2019
c38e724
Merge pull request #156 from antleaf/i120-versions
Steven-Eardley Dec 11, 2019
22799fb
Merge pull request #157 from antleaf/i233-index-local-id
Steven-Eardley Dec 11, 2019
3755ec5
Merge pull request #160 from antleaf/dependabot/bundler/hyrax/puma-3.…
Steven-Eardley Dec 11, 2019
2b26fb0
add "readonly" option to disable name and email
nabeta Oct 1, 2019
786f57e
add feature spec file for the contact form
nabeta Oct 12, 2019
1ff2b20
add feature files
nabeta Dec 12, 2019
9f5d2b2
Merge branch 'i148-contact-form' of https://github.com/antleaf/nims-h…
nabeta Dec 12, 2019
b3abe02
fixes operator organization link
Dec 12, 2019
5dff389
override file_set_actor to retain japanese characters
Dec 12, 2019
2c605ee
work in progress
martyn-w Dec 12, 2019
8aa4dda
Update doi_spec.rb
martyn-w Dec 16, 2019
41d46c1
handle handler
martyn-w Dec 16, 2019
b284aee
detect csv file types
martyn-w Dec 16, 2019
ae4a298
Create file_set_presenter_spec.rb
martyn-w Dec 16, 2019
07368c3
add rake task to fetch a synonym file from Wikibase
nabeta Dec 18, 2019
0643c8e
add ENV entries for Wikibase
nabeta Dec 18, 2019
3c529cf
Merge branch 'develop' into feature/i184-single-sign-on-cas
nabeta Dec 24, 2019
434feca
hide collections from users
Dec 11, 2019
78686b1
and batch upload form
Dec 11, 2019
6ed7c47
remove add to collection button
Dec 11, 2019
b85bd69
added tests
Jan 2, 2020
c579966
search results display changes
Jan 2, 2020
ef011a7
wip - now displaying csv previews
martyn-w Jan 5, 2020
b1159e5
new helper spec
martyn-w Jan 6, 2020
8de729f
exports controller spec
martyn-w Jan 6, 2020
2a8b565
use user_identifier instead of username in a profile URL
nabeta Jan 8, 2020
94d6fc0
Final tweaks
martyn-w Jan 8, 2020
1a23e15
Merge pull request #162 from antleaf/i211-hide-user-list
Steven-Eardley Jan 8, 2020
0fc10eb
Merge pull request #129 from antleaf/i148-contact-form
Steven-Eardley Jan 8, 2020
22d6524
Merge pull request #167 from antleaf/i105-solr-synonym-file
Steven-Eardley Jan 9, 2020
2019d6a
Merge pull request #165 from antleaf/feature/i24-japanese-filenames
Steven-Eardley Jan 9, 2020
b351277
Merge pull request #166 from antleaf/feature/i225-hyperlink-doi
Steven-Eardley Jan 9, 2020
edcd6c6
Merge branch 'develop' into feature/i215-end-to-end-tests
martyn-w Jan 9, 2020
c46f6c4
test fixes
martyn-w Jan 9, 2020
914f83d
Merge pull request #164 from antleaf/feature/i215-end-to-end-tests
martyn-w Jan 9, 2020
38547bf
Merge branch 'develop' into feature/i230-authorisation
martyn-w Jan 9, 2020
0264f94
Update contact_form_spec.rb
martyn-w Jan 9, 2020
8614ed6
Merge pull request #158 from antleaf/feature/i230-authorisation
Steven-Eardley Jan 9, 2020
46043c5
Merge remote-tracking branch 'origin/i212-search-links' into develop
Steven-Eardley Jan 9, 2020
9a6399f
add Handle identifier to the authority file
nabeta Jan 10, 2020
0e92bdf
single sign-out patches
martyn-w Jan 15, 2020
c3c6251
Create log4j2.xml
martyn-w Jan 15, 2020
59cb4c9
monkey patch fix
martyn-w Jan 15, 2020
683301a
Merge branch 'develop' into feature/i184-single-sign-on-cas
martyn-w Jan 15, 2020
6ef3b31
temporarily disable apis
martyn-w Jan 17, 2020
ccfb4a2
Use loofah to sanitize incoming form data
Jan 17, 2020
12dcd0c
require faraday_middleware
nabeta Jan 17, 2020
3a5153b
Merge branch 'develop' into i105-solr-synonym-file
nabeta Jan 17, 2020
1a46de6
make characterization-methods, computational_methods and synthesis_an…
nabeta Jan 22, 2020
57ea387
use loofah :escape option to sanitize incoming data
nabeta Jan 22, 2020
9d9035e
Merge branch 'develop' into feature/i229-landing-page
martyn-w Jan 22, 2020
70663c1
cucumber fixes
martyn-w Jan 22, 2020
f0c93a4
Merge pull request #159 from antleaf/feature/i184-single-sign-on-cas
Steven-Eardley Jan 23, 2020
f95e11c
Merge pull request #175 from antleaf/feature/i237-escaping
nabeta Jan 27, 2020
ff5d32f
Merge pull request #169 from antleaf/i131-search-interface-tweaks
nabeta Jan 27, 2020
b8d94b8
Merge branch 'develop' into feature/i229-landing-page
nabeta Jan 27, 2020
17b7d0e
Merge pull request #163 from antleaf/i209-collections
nabeta Jan 27, 2020
a5af4b7
Merge pull request #161 from antleaf/feature/i229-landing-page
nabeta Jan 27, 2020
fc9e6d5
Merge branch 'develop' into i105-solr-synonym-file
nabeta Jan 27, 2020
c21a641
Merge pull request #173 from antleaf/i236-add-handle-identifier
nabeta Jan 27, 2020
84f7400
fix for empty instruments and specimens
martyn-w Jan 31, 2020
1433386
add CAS_DESTINATION_URL
nabeta Feb 4, 2020
6e2e408
Merge pull request #174 from antleaf/feature/i241-disable-puublic-apis
nabeta Feb 4, 2020
4393468
Fix issue with search for works user profile
Feb 5, 2020
3bf101d
use the default thumbnail for text file_sets; do not generate a thumb…
Feb 5, 2020
ddc2ac1
Expanded 'temporary' validation on complex fields to fix duplication …
Steven-Eardley Feb 5, 2020
29d58ce
Merge pull request #178 from antleaf/i185-add-cas-destination-url
martyn-w Feb 6, 2020
bef5c34
small fix for i239 app reload bug
martyn-w Feb 11, 2020
543b6a3
Merge pull request #182 from antleaf/feature/i239-fix-app-reload-bug
Steven-Eardley Feb 13, 2020
1381ea5
Merge pull request #177 from antleaf/i234-multi-value-method
Steven-Eardley Feb 13, 2020
26f6b1e
add unique index to user_identifier, add PIDs to default users
nabeta Feb 17, 2020
f06d9b0
update schema.rb
nabeta Feb 17, 2020
595ab0f
Merge branch 'develop' into i240-user-identifier
nabeta Feb 17, 2020
aee7419
Merge pull request #172 from antleaf/feature/i224-tabular-data-viewer
Steven-Eardley Feb 19, 2020
e42be0b
Merge pull request #181 from antleaf/feature/i218-empty-instruments-a…
Steven-Eardley Feb 19, 2020
67ad863
Merge pull request #180 from antleaf/i243-thumbs
Steven-Eardley Feb 19, 2020
09f20f4
Merge pull request #176 from antleaf/i105-solr-synonym-file
Steven-Eardley Feb 19, 2020
5c833cb
Merge pull request #179 from antleaf/i238-search-link
Steven-Eardley Feb 19, 2020
e1ce9a2
add .mvn directory to store local jvm.config
nabeta Feb 20, 2020
ea59498
add jvm.config to .gitignore
nabeta Feb 20, 2020
dd5efcf
now handles null title and formats table in scrollable area
martyn-w Feb 20, 2020
d329dfe
Merge pull request #185 from antleaf/feature/csv-preview-bugfix
Steven-Eardley Feb 20, 2020
80d24fd
Merge pull request #184 from antleaf/i245-add-mvn-config-dir
nabeta Feb 21, 2020
c04fcca
add facetable _year_ fields for all dates, and a year field for searc…
Feb 21, 2020
3b2b179
add spec
Feb 24, 2020
79c65cf
disable default sort in CSV viewer
nabeta Mar 9, 2020
2c7b9d7
Merge pull request #192 from antleaf/feature/i256-csv-viewer-disable-…
martyn-w Mar 9, 2020
a9f7033
remove NIMS Person ID from the identifier authority file
nabeta Mar 13, 2020
b18db06
Merge pull request #171 from antleaf/i240-user-identifier
Steven-Eardley Mar 13, 2020
f08357e
move custom_property section to description
nabeta Mar 19, 2020
b024bad
send "Referrer-Policy: strict-origin-when-cross-origin" in http header
nabeta Mar 19, 2020
b055bc9
remove social media icons from Item page
nabeta Mar 19, 2020
94d1031
move relationship section to the top of Work page
nabeta Mar 19, 2020
e2d14f9
Merge pull request #186 from antleaf/i207-date-facet
Steven-Eardley Mar 19, 2020
18ac6af
set display_name and employee_type_code
nabeta Mar 23, 2020
31d2478
fix the version of universalviewer
nabeta Mar 31, 2020
19f5bf7
Merge pull request #196 from antleaf/feature/i262-remove-sns-icon-fro…
Steven-Eardley Apr 15, 2020
3ede6a3
Merge pull request #194 from antleaf/feature/i258-move-additional-met…
Steven-Eardley Apr 15, 2020
e212123
Merge pull request #198 from antleaf/feature/i242-move-relationship-s…
Steven-Eardley Apr 15, 2020
b0cc86e
Merge pull request #197 from antleaf/feature/i260-remove-nims-person-id
Steven-Eardley Apr 15, 2020
46b295b
Merge pull request #195 from antleaf/feature/i261-set-referrer-policy…
Steven-Eardley Apr 15, 2020
2271489
Merge pull request #200 from antleaf/i267-fix-uv-version
Steven-Eardley Apr 15, 2020
5f9bc96
Merge pull request #199 from antleaf/i264-set-ldap-attributes
nabeta Apr 17, 2020
1f3efff
mount /data/public/branding
nabeta Apr 17, 2020
d2c50b6
Make the text color of links darker
asahiko Apr 22, 2020
d8c4b6b
Tweak mdr-green-dark closer to the theme's hue
asahiko Apr 23, 2020
1b1204a
Merge pull request #206 from antleaf/feature/link-color
asahiko Apr 23, 2020
1f3a6ca
Env-ified the brand path volume
Steven-Eardley Apr 24, 2020
4f138ea
Merge pull request #204 from antleaf/i265-mount-branding-volume
nabeta Apr 25, 2020
c429cf7
add a service to add an identifier
Apr 27, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
132 changes: 132 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
# Solr setting
SOLR_URL_SCHEME=http
SOLR_HOST=solr
SOLR_PORT=8983
SOLR_CORE=hyrax_production
SOLR_TEST_PORT=8985

# Database setting
POSTGRES_HOST_APP=appdb
POSTGRES_HOST_FCREPO=fcrepodb
POSTGRES_PORT=5432
POSTGRES_USER=postgres
POSTGRES_PASSWORD=password
POSTGRES_DB_APP=hyrax_production
POSTGRES_DB_FCREPO=fcrepo

# Redis setting
REDIS_HOST=redis
REDIS_PORT=6379

# Fedora setting
FEDORA_URL_SCHEME=http
FEDORA_HOST=fcrepo
FEDORA_PORT=8080
# FCREPO_ENDPOINT=hyrax_production # Optional - default is production
# FCREPO_PATH='/rest' # Optional - default is /fcrepo/rest
FCREPO_VERSION=4.7.5
FEDORA_TEST_PORT=8986

# RAILS setting
LANG=C.UTF-8
PORT=3000
RAILS_ENV=production
RAILS_LOG_TO_STDOUT=true
RAILS_SERVE_STATIC_FILES=true
RAILS_MAX_THREADS=5
# The secrect key should be a very long random key.
# You can use "$ bundle exec rails secret" to generate one.
SECRET_KEY_BASE=
DEVISE_SECRET_KEY=

# Google analytics setting for the application
GOOGLE_ANALYTICS_ID=
GA_APP_NAME=
GA_APP_VERSION=
GA_PRIVATE_KEY_PATH=
GA_PRIVATE_KEY_SECRET=
GA_CLIENT_EMAIL=

# Hyrax application setting
# NB: in macOS Catalina (10.15) the /srv/ path is not available to Docker
HOST_APP_DATA_PATH=/srv/ngdr/data/
DERIVATIVES_PATH=/shared/derivatives/
FITS_PATH=/fits/fits-1.3.0/fits.sh
# fits_version should appear exactly like this, including fits-
FITS_VERSION=fits-1.3.0
UPLOADS_PATH=/shared/uploads/
CACHE_PATH=/shared/cache/
BRAND_PATH=/data/public/branding
DEFAULT_DATE_FORMAT=%d/%m/%Y
NOTIFICATIONS_EMAIL_DEFAULT_FROM_ADDRESS="[email protected]"
[email protected]
CONTACT_FORM_SUBJECT_PREFIX=Hyrax Contact form:
CONTACT_EMAIL=
FROM_EMAIL=
SMTP_PASS=
GEONAMES=
IIIF_SEARCH_ENDPOINT=
CONFIG_IIIF_IMAGE_ENDPOINT=
# If the rails server is configured to serve requests in https, set this to true
IIIF_TO_SERVE_SSL_URLS=false

# errbit setup
# Host where errbit server is installed. Start with http or https
AIRBRAKE_HOST=
# Any positive integer should work
AIRBRAKE_PROJECT_ID=
# The project key to authorize loggint with errbit server
AIRBRAKE_PROJECT_KEY=

# Browse Everything credentials
GOOGLE_DRIVE_CLIENT_ID=
GOOGLE_DRIVE_CLIENT_SECRET=
BOX_CLIENT_ID=
BOX_CLIENT_SECRET=

# Choose one of the following authentication methods.
# (database_authenticatable is pre-configured and useful for a development environment)
MDR_DEVISE_AUTH_MODULE=database_authenticatable
# MDR_DEVISE_AUTH_MODULE=ldap_authenticatable
# MDR_DEVISE_AUTH_MODULE=cas_authenticatable

LDAP_HOST=***REMOVED***
LDAP_PORT=443
LDAP_ATTRIBUTE=uid
LDAP_BASE=***REMOVED***
LDAP_ADMIN_USER=***REMOVED***
LDAP_ADMIN_PASSWORD=***REMOVED***
LDAP_SSL=false

SMTP_HOST=
SMTP_PORT=

MDR_HOST=

CAS_BASE_URL=https://cas.nims.go.jp/

# For local docker-based setup for development, use:
# CAS_BASE_URL=https://cas.mdr.nims.test:8443/cas/
# and add the following two localhost pointers to your system's /etc/hosts file:
# 127.0.0.1 mdr.nims.test # <-- MDR website
# 127.0.0.1 cas.mdr.nims.test # <-- CAS server
# and also trust the SSL certificate for cas.mdr.nims.test

# CAS_VALIDATE_URL may need to be set depending on how MDR is configured
# CAS_VALIDATE_URL=https://cas:8443/cas/serviceValidate
# CAS_DESTINATION_URL=https://portal.nims.test/

# OAI config used in config/initializers/oai_config.rb
OAI_REPOSTIORY_NAME='NIMS MDR'
OAI_REPOSITORY_URL=http://localhost:3000/catalog/oai
OAI_RECORD_PREFIX=nims_mdr
OAI_ADMIN_EMAIL=***REMOVED***

# User Authorisation LDAP (runs after database / LDAP / CAS authentication)
USER_AUTHORISATION_LDAP_HOST=
USER_AUTHORISATION_LDAP_PORT=389
USER_AUTHORISATION_LDAP_ATTRIBUTE=uid
USER_AUTHORISATION_LDAP_BASE=

WIKIBASE_BASE_URL=https://wikibase.example.jp
WIKIBASE_SPARQL_QUERY_SYNONYM=/query/example?query=some_sparql_query
Loading