Skip to content

Commit

Permalink
Merge branch 'master' into 2584_i18n_new_records
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Hoffman committed Feb 1, 2022
2 parents d17b94a + 5abb1b5 commit 1ec70cd
Show file tree
Hide file tree
Showing 129 changed files with 2,255 additions and 757 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ RUN cd /source && \
ARCHIVESSPACE_VERSION=${SOURCE_BRANCH:-`git symbolic-ref -q --short HEAD || git describe --tags --match v*`} && \
ARCHIVESSPACE_VERSION=${ARCHIVESSPACE_VERSION#"heads/"} && \
echo "Using version: $ARCHIVESSPACE_VERSION" && \
./build/run bootstrap && \
./scripts/build_release $ARCHIVESSPACE_VERSION && \
mv ./*.zip / && \
cd / && \
Expand Down
6 changes: 3 additions & 3 deletions _yard/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
GEM
remote: https://rubygems.org/
specs:
kramdown (2.3.0)
kramdown (2.3.1)
rexml
rexml (3.2.4)
yard (0.9.25)
rexml (3.2.5)
yard (0.9.26)

PLATFORMS
java
Expand Down
2 changes: 1 addition & 1 deletion backend/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ gem 'childprocess', '~> 3.0', '< 4.0'
gem 'i18n', '0.9.1'
gem 'jdbc-derby', '10.12.1.1'
gem 'jdbc-mysql', '>=8.0', group: :development
gem 'jruby-jars', '= 9.2.12.0'
gem 'jruby-jars', '= 9.2.20.1'
gem 'json', '2.3.0'
gem 'json-schema', '1.0.10'
gem 'net-ldap', '~> 0.16.0'
Expand Down
34 changes: 22 additions & 12 deletions backend/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,38 @@ GEM
childprocess (3.0.0)
choice (0.2.0)
coderay (1.1.3)
concurrent-ruby (1.1.8)
concurrent-ruby (1.1.9)
diff-lcs (1.4.4)
factory_bot (4.11.1)
activesupport (>= 3.0.0)
faraday (1.4.1)
faraday (1.7.2)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
faraday-httpclient (~> 1.0.1)
faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.1)
faraday-patron (~> 1.0)
faraday-rack (~> 1.0)
multipart-post (>= 1.2, < 3)
ruby2_keywords (>= 0.0.4)
faraday-em_http (1.0.0)
faraday-em_synchrony (1.0.0)
faraday-excon (1.1.0)
faraday-httpclient (1.0.1)
faraday-net_http (1.0.1)
faraday-net_http_persistent (1.1.0)
faraday_middleware (1.0.0)
faraday-net_http_persistent (1.2.0)
faraday-patron (1.0.0)
faraday-rack (1.0.0)
faraday_middleware (1.1.0)
faraday (~> 1.0)
fastimage (2.2.3)
ffi (1.15.0-java)
fastimage (2.2.5)
ffi (1.15.4-java)
i18n (0.9.1)
concurrent-ruby (~> 1.0)
jdbc-derby (10.12.1.1)
jdbc-mysql (8.0.17)
jruby-jars (9.2.12.0)
jruby-jars (9.2.20.1)
jruby-rack (1.1.21)
json (2.3.0-java)
json-schema (1.0.10)
Expand All @@ -52,7 +62,7 @@ GEM
ruby2_keywords (~> 0.0.1)
net-http-persistent (2.8)
net-ldap (0.16.3)
nokogiri (1.11.3-java)
nokogiri (1.12.5-java)
racc (~> 1.4)
oai (0.4.0)
builder (>= 3.1.0)
Expand All @@ -76,7 +86,7 @@ GEM
sequel
rack-test (1.1.0)
rack (>= 1.0, < 3)
rake (13.0.3)
rake (13.0.6)
rjack-jackson (1.8.11.0-java)
rrtf (1.3.1)
fastimage
Expand All @@ -96,8 +106,8 @@ GEM
rspec-support (~> 3.6.0)
rspec-support (3.6.0)
ruby-debug-base (0.11.0-java)
ruby2_keywords (0.0.4)
rubyXL (3.4.17)
ruby2_keywords (0.0.5)
rubyXL (3.4.18)
nokogiri (>= 1.10.8)
rubyzip (>= 1.3.0)
rubyzip (1.3.0)
Expand Down Expand Up @@ -153,7 +163,7 @@ DEPENDENCIES
i18n (= 0.9.1)
jdbc-derby (= 10.12.1.1)
jdbc-mysql (>= 8.0)
jruby-jars (= 9.2.12.0)
jruby-jars (= 9.2.20.1)
json (= 2.3.0)
json-schema (= 1.0.10)
ladle (= 0.2.0)
Expand Down
6 changes: 6 additions & 0 deletions backend/app/controllers/agent_corporate_entity.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ class ArchivesSpaceService < Sinatra::Base

Endpoint.post('/agents/corporate_entities/:id/publish')
.description("Publish a corporate entity agent and all its sub-records")
.example("shell") do
<<~SHELL
curl -H "X-ArchivesSpace-Session: $SESSION" \
"http://localhost:8089/agents/corporate_entities/1/publish"
SHELL
end
.params(["id", :id])
.permissions([:update_agent_record])
.no_data(true)
Expand Down
6 changes: 6 additions & 0 deletions backend/app/controllers/agent_family.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ class ArchivesSpaceService < Sinatra::Base

Endpoint.post('/agents/families/:id/publish')
.description("Publish a family agent and all its sub-records")
.example("shell") do
<<~SHELL
curl -H "X-ArchivesSpace-Session: $SESSION" \
"http://localhost:8089/agents/families/1/publish"
SHELL
end
.params(["id", :id])
.permissions([:update_agent_record])
.no_data(true)
Expand Down
6 changes: 6 additions & 0 deletions backend/app/controllers/agent_person.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ class ArchivesSpaceService < Sinatra::Base

Endpoint.post('/agents/people/:id/publish')
.description("Publish an agent person and all its sub-records")
.example("shell") do
<<~SHELL
curl -H "X-ArchivesSpace-Session: $SESSION" \
"http://localhost:8089/agents/people/1/publish"
SHELL
end
.params(["id", :id])
.permissions([:update_agent_record])
.no_data(true)
Expand Down
6 changes: 6 additions & 0 deletions backend/app/controllers/agent_software.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ class ArchivesSpaceService < Sinatra::Base

Endpoint.post('/agents/software/:id/publish')
.description("Publish a software agent and all its sub-records")
.example("shell") do
<<~SHELL
curl -H "X-ArchivesSpace-Session: $SESSION" \
"http://localhost:8089/agents/software/1/publish"
SHELL
end
.params(["id", :id])
.permissions([:update_agent_record])
.no_data(true)
Expand Down

0 comments on commit 1ec70cd

Please sign in to comment.