Re: [Archivesspace_Users_Group] DB error when trying to upgrade from 1.4.2 to 1.5.1

2016-08-04 Thread Joshua D. Shaw
Hi Brent- Were you running the container manager plugin in 1.4? If so, here's how I managed to get the migrations, etc to happen in my local test instance. Dartmouth is still in 1.3 in production and I haven't tested this in our dev and pre-prod server environments. 1) With the container plu

[Archivesspace_Users_Group] ArchivesSpace & Docker - experiences?

2016-08-05 Thread Joshua D. Shaw
Hey all- I know there are a few instances of using Docker to containerize ArchivesSpace, but I’m wondering if anyone can shed some light on their experience with that setup? The proposed setup here at Dartmouth would only include the app, not the mysql db at this point. We’d also be planning on

Re: [Archivesspace_Users_Group] ArchivesSpace & Docker - experiences?

2016-08-05 Thread Joshua D. Shaw
n using Docker =) ... and invisible to anyone who isn't. Best, Mark Mark Cooper Technical Lead, Hosting and Support LYRASIS email: mark.coo...@lyrasis.org skype: mark_c_cooper From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua

[Archivesspace_Users_Group] Label Printing in the Browser - What would be useful?

2016-08-17 Thread Joshua D. Shaw
Hi all- For those of you who were at the member forum in Atlanta, I briefly mentioned that we had had a plugin developed for us by HM (and have subsequently tweaked and modified) that allows us to print labels directly from the browser. There were a few people who expressed some interest in thi

Re: [Archivesspace_Users_Group] Label Printing in the Browser - Whatwould be useful?

2016-08-17 Thread Joshua D. Shaw
lNV8wFerUliptk&e=> [id:image001.jpg@01D029A2.37194C70] From: archivesspace_users_group-boun...@lyralists.lyrasis.org<mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org> [mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org] On Behalf Of Joshua D. Shaw Sent

Re: [Archivesspace_Users_Group] Label Printing in the Browser - Whatwould be useful?

2016-08-26 Thread Joshua D. Shaw
out for this generalized plugin? Thanks! Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: Wednesday, August 17, 2016 11:18:15 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Label Printing i

[Archivesspace_Users_Group] Label Printing Plugin - beta release

2016-09-07 Thread Joshua D. Shaw
Hi All- I've released a beta version of the label printing plugin I've been talking about here: https://github.com/dartmouth-dltg/container_management_labels/releases/tag/v1.0-beta-1 You'll want to rename the download to remove the "-1.0-beta-1" suffix before adding it to your plugins direct

Re: [Archivesspace_Users_Group] Label Printing Plugin - beta release

2016-09-07 Thread Joshua D. Shaw
6386 From: archivesspace_users_group-boun...@lyralists.lyrasis.org [mailto:archivesspace_users_group-boun...@lyralists.lyrasis.org] On Behalf Of Joshua D. Shaw Sent: Wednesday, September 07, 2016 10:45 AM To: Archivesspace Users Group Subject: [Archivesspace_Users_Group] Label Printing Plugin - beta releas

Re: [Archivesspace_Users_Group] Label Printing Plugin - beta release

2016-09-07 Thread Joshua D. Shaw
t; <https://github.com/dartmouth-dltg/container_management_labels/releases/tag/v1.0-beta-2> Joshua <https://github.com/dartmouth-dltg/container_management_labels/releases/tag/v1.0-beta-2> From: archivesspace_users_group-boun...@lyralists.lyrasis.org on be

Re: [Archivesspace_Users_Group] No record found after test migration from v1.4.2 to 1.5.0

2016-09-09 Thread Joshua D. Shaw
I believe the suggestion for migration to 1.5+ was to delete the existing index and indexer states which will trigger a complete reindex. Best, Joshua On Sep 9, 2016, at 8:20 AM, "Mang Sun" wrote: > i > > After we migrate our v.1.4.2 test instance to v1.5.0, we can't find any > records bu

Re: [Archivesspace_Users_Group] Adding display fields for search results - How to?

2016-09-13 Thread Joshua D. Shaw
Hi Kari- An AO doesn’t have the resource id attached by default, so you have to add it to the SOLR document for the AO. I’m actually working on a similar plugin that does that and a couple of other things. In the meantime, if you take a look at https://github.com/hudmol/component_levels you can

Re: [Archivesspace_Users_Group] Top Containers question

2016-09-21 Thread Joshua D. Shaw
Hi Lydia- You can manage the permissions associated with the top containers by going to the “Manage Groups” menu option under the repository gear icon (I hope that makes sense!) I think you may have to be an administrator to grant these permissions. Once there, you can either edit an already e

Re: [Archivesspace_Users_Group] Top Containers question

2016-09-21 Thread Joshua D. Shaw
PS. On a related note, I would *love* to see permissions for CRUD operations on locations broken out as well. So that I can delegate to trusted users;-) Joshua On 9/21/16, 3:44 PM, "archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw" wrote:

Re: [Archivesspace_Users_Group] User Defined in Basic Plugin

2016-09-30 Thread Joshua D. Shaw
Hi Alexis- I haven't tested Duke's version, but the one we had developed for us works against v1.5.1: https://github.com/hudmol/user_defined_in_basic Best, Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Alexis A. Antraco

Re: [Archivesspace_Users_Group] Unable to browse location records

2016-10-11 Thread Joshua D. Shaw
Hi Noah- I've gotten a similar error for records that were imported directly but were missing some required fields. Perhaps something similar in your case? Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Noah Huffman Sent:

Re: [Archivesspace_Users_Group] Problems working with archival object with large number of direct children

2016-11-15 Thread Joshua D. Shaw
Hi all – We at Dartmouth have experienced similar issues. We have some large resources as well (one has 60K+ objects in the tree) and anything that involves a save or rearrangement (moving a file around, etc) can take a *lot* of time (many minutes) and may cause an error – typically of the “ano

Re: [Archivesspace_Users_Group] Problems working with archival object with large number of direct children

2016-11-16 Thread Joshua D. Shaw
but please know that we are aware of this issue and will address it as soon as we are able. Cheers, James — James Bullen Hudson Molonglo On Nov 16, 2016, at 7:46 AM, Joshua D. Shaw mailto:joshua.d.s...@dartmouth.edu>> wrote: Hi all – We at Dartmouth have experienced similar issues. We

Re: [Archivesspace_Users_Group] 2.1.2 re-indexing loop

2017-09-21 Thread Joshua D. Shaw
I'd love to know the solution as well, since I'm seeing a similar/related(?) error as I'm starting to test 2.1.2 locally. I've migrated from a 1.5.3 instance and see the following error when attempting to view an archival object. The archival object information renders in the record pane, but th

Re: [Archivesspace_Users_Group] 2.1.2 re-indexing loop

2017-09-22 Thread Joshua D. Shaw
et that column... Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: Thursday, September 21, 2017 4:54:04 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] 2.1.2 re-indexing loop This sender

[Archivesspace_Users_Group] Archival Objects not showing in the tree - was 2.1.2 re-indexing issue

2017-09-26 Thread Joshua D. Shaw
Hey all- Just wanted to let everyone know what the issue was for me and the solution. It turns out that the publish column in the archival objects table allows NULL values. Most of our AOs were NULL in that column. The bit of code that is partially responsible for building the tree (backend<

Re: [Archivesspace_Users_Group] ASpace for paging boxes?

2017-10-11 Thread Joshua D. Shaw
Hi Laura- We (Dartmouth) are in the very early stages of a project which will (hopefully!) provide the ability to circulate items and to allow patrons to kick off the request process from the PUI frontend. We're planning a plugin type architecture for now that will eventually give us: 1) cir

Re: [Archivesspace_Users_Group] Accessions of rare books in AS?

2017-10-26 Thread Joshua D. Shaw
Hi Christie- This plugin developed by HM for Yale: https://github.com/hudmol/payments_module seems like it might do a bunch of what your looking for as far as the funds tracking goes. We use it at Dartmouth to track manuscript purchases, but I don't think it'd be too much of a stretch to use i

Re: [Archivesspace_Users_Group] Accessions of rare books in AS?

2017-10-26 Thread Joshua D. Shaw
This page (down at the bottom) gives a visual of the plugin interface: https://guides.library.yale.edu/archivesspace/ArchivesSpaceAccessioning Yale might have some documentation on the development process/spec that would give the data model details... which would be nicer than pouring over the

[Archivesspace_Users_Group] Error with Collection Organization tree in Public UI in 2.3.0

2018-02-06 Thread Joshua D. Shaw
Hi All- I've been testing the 2.3.0 release (and the RC) and noticed that in my local instance I'm getting a 500 when the app tries to draw the Collection Organization tree in the public UI for an archival object. The Collection Organization tab is also "disabled" - presumably because of the s

Re: [Archivesspace_Users_Group] Error with Collection Organization tree in Public UI in 2.3.0

2018-02-07 Thread Joshua D. Shaw
This appears to be an issue with updating/migrating from an older version - perhaps a data issue - as I don't see this problem after spinning up a new empty instance. From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D.

Re: [Archivesspace_Users_Group] Error with Collection Organization tree in Public UI in 2.3.0

2018-02-07 Thread Joshua D. Shaw
2%7C01%7Cjoshua.d.shaw%40dartmouth.edu%7C877e0da9e68d41b4624808d56e4debfe%7C6359f5dafcc84832ac9d0cb7b2d9e6d1%7C0%7C0%7C636536203319295395&sdata=LdVdoznbFAhyNYOK0KP23wt4E1UKGh3tacXP8jcuCvQ%3D&reserved=0> From: archivesspace_users_group-boun...@lyralists.lyrasis.org [mailto:archivesspace_users_group-boun...@ly

Re: [Archivesspace_Users_Group] Error with Collection Organization tree in Public UI in 2.3.0

2018-02-07 Thread Joshua D. Shaw
— it’s complaining about data missing from Solr, but reindexing has always resolved it (so far). Try blowing away the contents of your data directory / Solr index and restart. Mark LYRASIS On Feb 7, 2018, at 9:18 AM, Joshua D. Shaw mailto:joshua.d.s...@dartmouth.edu>> wrote: Hi Christin

Re: [Archivesspace_Users_Group] Error with Collection Organization tree in Public UI in 2.3.0

2018-02-07 Thread Joshua D. Shaw
itself. Looks like that particular bit of code is firing for resources as well as AOs and is (perhaps?) flailing since resources aren't nodes. Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: Wedn

[Archivesspace_Users_Group] SOLR Snapshot concurrency issue - anyone?

2018-06-20 Thread Joshua D. Shaw
Throwing this out to the group. We're testing the 2.3.2 release and are seeing some solr snapshot failure errors in the logs on our dev server (running in a docker container). I did not see anything like this running locally (not in a docker container) and am wondering what might be a pote

[Archivesspace_Users_Group] Indexing repository details in all records skews results set

2018-06-26 Thread Joshua D. Shaw
Hi All- I think this has been the behavior of AS from the beginning, but during some recent testing, I finally realized that AS is indexing the repository details with every record in the repository. Since part of our address is "6065 Webster Hall" and we have a *lot* of Daniel Webster related

Re: [Archivesspace_Users_Group] Indexing repository details in all records skews results set

2018-06-27 Thread Joshua D. Shaw
w).which doubled the fullrecord issue and added its own headaches for searching relevancy. Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: Tuesday, June 26, 2018 5:25 PM To: Archivesspace Users Group

Re: [Archivesspace_Users_Group] Indexing repository details in all records skews results set

2018-06-27 Thread Joshua D. Shaw
.@lyrasis.org<mailto:christine.dibe...@lyrasis.org> 800.999.8558 x2905 678-235-2905 cdibella13 (Skype) From: archivesspace_users_group-boun...@lyralists.lyrasis.org On Behalf Of Joshua D. Shaw Sent: Wednesday, June 27, 2018 10:31 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_

Re: [Archivesspace_Users_Group] Any doing CAS (Central Authentication Service) for ArchivesSpace 2.* ?

2018-07-26 Thread Joshua D. Shaw
Hi Bobbi- Oops. Looks like we haven't updated the git repo for the 2.0 series (still running 1.5.3 in production here) I'll update the gemfile, but in the meantime, I think this should work: ASpaceGems.setup if defined? ASpaceGems source 'http://rubygems.org' gem 'omniauth', '>= 1.6', :req

Re: [Archivesspace_Users_Group] Any doing CAS (Central Authentication Service) for ArchivesSpace 2.* ?

2018-07-26 Thread Joshua D. Shaw
PS. There are also changes to the frontend plugin init and the view. I've created a new branch in github and updated, so please give that a shot. Best, Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw

Re: [Archivesspace_Users_Group] External ID

2018-09-21 Thread Joshua D. Shaw
There's actually a plugin that we had HM develop that does allow users to create and edit external ids: https://github.com/hudmol/editable_external_ids I've tested against the 2.3 release, but not anything newer. Joshua From: archivesspace_users_group-boun...

Re: [Archivesspace_Users_Group] Alma Integration

2018-10-31 Thread Joshua D. Shaw
And at Dartmouth - though we are in the early stages of switching to Alma, with an initial rollout June 2019. Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Amanda Focke Sent: Wednesday, October 31, 2018 10:26 AM To: archive

Re: [Archivesspace_Users_Group] overriding default citation text in the PUI

2018-11-14 Thread Joshua D. Shaw
Digging up an old thread. Has anyone successfully overridden/extended any of the methods in the public models via a plugin? I'm trying to change a few things in /public/app/models/resource.rb, but have had zero luck. I don't really want to do a custom build at this point, though I suppose I coul

Re: [Archivesspace_Users_Group] overriding default citation text in the PUI

2018-11-14 Thread Joshua D. Shaw
work ! >smile< hth, Bobbi From: archivesspace_users_group-boun...@lyralists.lyrasis.org On Behalf Of Joshua D. Shaw Sent: Wednesday, November 14, 2018 12:12 PM To: Archivesspace Group Subject: Re: [Archivesspace_Users_Group] overriding default citation text in the PUI Diggin

Re: [Archivesspace_Users_Group] overriding default citation text in the PUI

2018-11-14 Thread Joshua D. Shaw
Bobbi bobbi_...@harvard.edu From: archivesspace_users_group-boun...@lyralists.lyrasis.org On Behalf Of Joshua D. Shaw Sent: Wednesday, November 14, 2018 12:23 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] overriding default citation text in the PUI I'll give

Re: [Archivesspace_Users_Group] read-only subrecords

2018-11-21 Thread Joshua D. Shaw
Try wrapping the form fields in a user_can? statement. Something like <% if user_can?('administer_system') %> <%= form.label_and_textfield "{FIELD_NAME}" %> <% else %> <%= form.label_and_readonly "{FIELD_NAME}" %> <%= form.hidden_input("{FIELD_NAME}") %> <% end %> Hope that helps! J

Re: [Archivesspace_Users_Group] Working with multiple ASpace strings

2019-05-30 Thread Joshua D. Shaw
We've got three (well four if you count my local dev) environments and follow a pretty strict process of data always goes from prod -> other environments via a db clone and code always pushes up via local->dev->pre-prod->prod with varying degrees of QA along the way. We also QA integrations the

Re: [Archivesspace_Users_Group] public interface not displaying key finding aid data

2019-08-15 Thread Joshua D. Shaw
The organization tab not showing tends to be an indexer issue. Either the indexer hasn't finished up (is this a *very* large collection?) or its generating errors for some reason. Do other collections have an organization tab available? Joshua From: archivesspa

Re: [Archivesspace_Users_Group] Error? - Stanford upgrade from 1.5.4 to 2.6.0

2019-10-17 Thread Joshua D. Shaw
Are there any children for this tree - ie any archival objects underneath? If not, this may be related to this issue: https://archivesspace.atlassian.net/browse/ANW-782 Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Blake Ca

[Archivesspace_Users_Group] ArchivesSpace Integrations - What's out there?

2020-01-21 Thread Joshua D. Shaw
Hi all- The TAC integrations external documentation subteam is interested in finding out about integrations that may not be widely known or documented. We're interested in any and all integrations between ArchivesSpace and other systems that are not listed on the current integrations page (h

[Archivesspace_Users_Group] Method to Pause Indexer during Job Run?

2020-02-18 Thread Joshua D. Shaw
Hey all- I writing a job that may take a *long* time (hours) to complete which will be updating a *lot* of AO records. I'm wondering if there's a way to pause the Indexer during a job so that I can let the Indexer do its thing *after* the job completes. I know I can toggle the AppConfig value f

Re: [Archivesspace_Users_Group] Method to Pause Indexer during Job Run?

2020-02-19 Thread Joshua D. Shaw
duration = params[:duration].nil? ? 900 : params[:duration].to_i IndexerCommon.pause duration "#{IndexerCommon.class_variable_get(:@@paused_until)}" end Seems to do what you want. Cheers, James On Feb 19, 2020, at 6:29 AM, Joshua D. Shaw mailto:joshua.d.s...@dartmouth.e

Re: [Archivesspace_Users_Group] Method to Pause Indexer during Job Run?

2020-02-19 Thread Joshua D. Shaw
ce times out before it finishes, causing it to start the whole re-index again from scratch. We've set it to 1800 to avoid this, but YMMV. Andrew. ________ From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: 19 February

Re: [Archivesspace_Users_Group] Method to Pause Indexer during Job Run?

2020-02-19 Thread Joshua D. Shaw
the created objects and sets the mtime to the import job completion time? Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: Wednesday, February 19, 2020 9:40 AM To: Archivesspace Users Group Subject: Re

Re: [Archivesspace_Users_Group] Method to Pause Indexer during Job Run?

2020-02-20 Thread Joshua D. Shaw
ehalf of Joshua D. Shaw Sent: Wednesday, February 19, 2020 9:56 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Method to Pause Indexer during Job Run? One additional little bit of info that may complicate things. It seems like the pause will not shut down an indexe

[Archivesspace_Users_Group] PUI Sitemap Plugin - beta release

2020-02-26 Thread Joshua D. Shaw
Hi All- I've been working on a plugin to allow staff users to generate a sitemap for the PUI (see https://archivesspace.atlassian.net/browse/ANW-834). I think its ready for testing by the wider community, so here's the release: https://github.com/dartmouth-dltg/aspace_sitemap/releases/tag/v1.0.

Re: [Archivesspace_Users_Group] put Google Analytics code snippet in ASpace

2020-03-20 Thread Joshua D. Shaw
Hi Henry- Its probably easiest to just insert the js in the erb file, since the erbs accept raw code (no need to escape) and the google snippet is unchanging. I'd just pop the snippet that Google provides right in there and you should be good to go! Joshua Fr

Re: [Archivesspace_Users_Group] put Google Analytics code snippet in ASpace

2020-03-20 Thread Joshua D. Shaw
_ From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: Friday, March 20, 2020 9:35 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] put Google Analytics code snippet in ASpace Hi Henry- Its probably easiest to just insert the js in the erb fil

Re: [Archivesspace_Users_Group] PUI search default

2020-04-09 Thread Joshua D. Shaw
The PUI is tricky. I found that I needed to override the search method in the PUI SearchController to get an "and" by default. There may be a JIRA ticket in for this, but I'm not finding it in a quick search. Joshua From: archivesspace_users_group-boun...@lyrali

[Archivesspace_Users_Group] Aggregating plugin assets

2020-04-16 Thread Joshua D. Shaw
Hey all- I was getting a little frustrated with aggressive browser caching during deployment when I'd update a plugin's css or js. Often the old css or js would still be cached in the user's browser and then things would be bad. So... I've whipped up a proof of concept/template plugin that aggr

Re: [Archivesspace_Users_Group] Request for Assistance with Troubleshooting EAC-CPF Exports for Agent Persons

2020-04-23 Thread Joshua D. Shaw
Hey James- Are the bioghist note(s) published - including any subnotes? Only bioghist notes and their subnotes will get added to the EAC if published. Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of James R Griffin III Sent:

[Archivesspace_Users_Group] Best Way to Reindex with PUI Live?

2020-04-27 Thread Joshua D. Shaw
Hi all- Just wondering what people have been doing when they need to do a total reindex and they have a live PUI? Our reindex takes about 4-6 hours typically and I'm looking to avoid 4-6 hours of PUI downtime if at all possible. I'm planning to just wipe the indexer_state files and leave the in

Re: [Archivesspace_Users_Group] Best Way to Reindex with PUI Live?

2020-04-27 Thread Joshua D. Shaw
do the full reindexes on a Friday night, most sites will have finished up by Monday. From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: Monday, April 27, 2020 1:01 PM To: Archivesspace Users Group Subject: [Archives

Re: [Archivesspace_Users_Group] Best Way to Reindex with PUI Live?

2020-04-28 Thread Joshua D. Shaw
mmit all changes in memory to disk. Depending on the speed of whatever storage layer your system uses that can take longer than 5 minutes, in which case the indexer will start again from scratch. We've set AppConfig[:indexer_solr_timeout_seconds] to 1800 to give it half an hour, to avoid th

Re: [Archivesspace_Users_Group] (no subject)

2020-09-08 Thread Joshua D. Shaw
I've seen this as well. I *thought* it was a bot crawling the site for indexing, since that URL is the constructed URL for a request, but if others have other ideas, I'd be happy to hear it! Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org

Re: [Archivesspace_Users_Group] RHEL 7 instance install question.

2020-09-28 Thread Joshua D. Shaw
Hi Rick- Its always a good idea to run the migration step for any update of the application, since schema changes happen pretty frequently. I'd do the db dump and import as you were planning, but just add that additional step of running scripts/setup-database.sh before starting up on the new s

Re: [Archivesspace_Users_Group] Containerised ArchivesSpace in production

2020-09-28 Thread Joshua D. Shaw
Hi Peter We are running AS in docker containers for everything from local development to production. Happy to share our dockerfile and put you in touch with our sysadmin if you'd like. Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on be

Re: [Archivesspace_Users_Group] Containerised ArchivesSpace in production

2020-09-29 Thread Joshua D. Shaw
t, if they are something that can be safely distributed. I, for one, would be especially interested in the production Dockerfile. Thanks David On Mon, Sep 28, 2020 at 1:53 PM Joshua D. Shaw mailto:joshua.d.s...@dartmouth.edu>> wrote: Hi Peter We are running AS in docker containers for

Re: [Archivesspace_Users_Group] ArchivesSpace RESTful API authentication and access

2020-09-29 Thread Joshua D. Shaw
That's a *very* interesting find! I had naively believed the docs that indicated that most of the endpoints required authentication without actually trying to bounce off a random endpoint without a token. The controllers indicate that there should be permissions involved and that they should be

Re: [Archivesspace_Users_Group] ArchivesSpace RESTful API authentication and access

2020-09-29 Thread Joshua D. Shaw
x27;t think that should be necessary at all. From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: Tuesday, September 29, 2020 11:54 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Archi

Re: [Archivesspace_Users_Group] ArchivesSpace RESTful API authentication and access

2020-09-29 Thread Joshua D. Shaw
5b5f4b7eb15e08d86494c298%7C995b093648d640e5a31ebf689ec9446f%7C0%7C0%7C637369937387429327&sdata=u2y8VNCm0cCJAO5VGL6g0MH6NxFID5yF01G6vVRX0Hk%3D&reserved=0> So it has been this way for quite a while. David On Tue, Sep 29, 2020 at 12:19 PM Joshua D. Shaw mailto:joshua.d.s...@dartmouth

Re: [Archivesspace_Users_Group] Database connection error in ArchivesSpace 2.8 PUI

2020-09-30 Thread Joshua D. Shaw
Just a guess, but are there more than 1024 top containers that you are trying to retrieve? The maxBooleanClauses setting in https://github.com/archivesspace/archivesspace/blob/master/solr/solrconfig.xml#L69 limits the max number of booleans to 1024. From: archiv

Re: [Archivesspace_Users_Group] Containerised ArchivesSpace in production

2020-09-30 Thread Joshua D. Shaw
From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Peter Heiner Sent: Wednesday, September 30, 2020 5:09 PM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Containerised ArchivesSpace in production Joshua D. Shaw wrote on 2020-09-29 13:25:4

Re: [Archivesspace_Users_Group] ArchivesSpace RESTful API authentication and access

2020-10-05 Thread Joshua D. Shaw
Just as a follow-up, I've created a JIRA ticket about this: https://archivesspace.atlassian.net/browse/ANW-1123 jds From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: Tuesday, September 29, 2020 12:39

Re: [Archivesspace_Users_Group] ArchivesSpace RESTful API authentication and access

2020-10-05 Thread Joshua D. Shaw
And as a follow-follow-up Christine has moved this to a private JIRA since it impacts security, jds From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: Monday, October 5, 2020 1:58 PM To: Archivesspace Users Group

[Archivesspace_Users_Group] Indexer Thread Counts

2021-01-05 Thread Joshua D. Shaw
Hey all- Couple of questions about indexer thread counts 1) Before I dive too deeply into the code to figure this out, I'm wondering if anyone knows if the setting for AppConfig[:pui_indexer_thread_count] is counted as part of AppConfig[:indexer_thread_count] or if its additive? IE if the stock

Re: [Archivesspace_Users_Group] Indexer Thread Counts

2021-01-05 Thread Joshua D. Shaw
) Yes, additive 2) The public index was considered less time critical There’s no problem with increasing the PUI indexer thread count if you have the resources. Cheers, James On Jan 6, 2021, at 1:41 AM, Joshua D. Shaw mailto:joshua.d.s...@dartmouth.edu>> wrote: Hey all- Couple of que

Re: [Archivesspace_Users_Group] lcnaf plugin

2021-05-20 Thread Joshua D. Shaw
Hi Tom To enable any plugin in the /plugins directory, you need to update the config file. Specifically, the entry AppConfig[:plugins] = [] The array contents are just the directory names of the plugins that you want to enable So, to enable just the lcnaf plugin, you would want AppConfig[:pl

[Archivesspace_Users_Group] Add Subrecord for only one Agent type via Plugin?

2021-06-22 Thread Joshua D. Shaw
Just wondering if anyone knows if it's possible to add a subrecord via a plugin to *only one* agent type? From what I can tell, the current releases do not support this and the sidebar link mechanism appears to be broken as well. It looks like you need to add an entry for both agent and agent_{t

Re: [Archivesspace_Users_Group] Print to PDF: Works via staff interface; does not work via public interface

2021-07-13 Thread Joshua D. Shaw
The PUI and the staff side use different methods for generating the pdfs. The staff side goes EAD->PDF if I recall correctly, while the PUI is HTML->PDF. I'd look for errors in the logs that should point you to the issue. If I had to guess I'd say it might be an ampersand issue. Sometimes an

Re: [Archivesspace_Users_Group] Unable to edit / delete accessions or resources after upgrade to MySQL database

2021-07-14 Thread Joshua D. Shaw
I'm guessing your config file did not get updated to point to the new database. This line in the config needs to be uncommented and updated for your specific database setup: ## AppConfig[:db_url] = "jdbc:mysql://localhost:3306/archivesspace?user=as&password=as123&useUnicode=true&characterEncodi

Re: [Archivesspace_Users_Group] New School bulk update plugin error

2021-08-04 Thread Joshua D. Shaw
Looks like the migration that added that column came in 2.8.0. Though the bulk updater *might* work with 2.8.0 (I have not tested it), it definitely will *not* work with 2.7.1 Cheers, Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on beha

Re: [Archivesspace_Users_Group] digital object import issue

2021-08-04 Thread Joshua D. Shaw
Hey all- In digital land and in ArchivesSpace publish columns: 0 = false and 1 = true jds From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Hand, Sarit Sent: Wednesday, August 4, 2021 5:32 PM To: Archivesspace Users Group Subject: Re

Re: [Archivesspace_Users_Group] Hudson Molonglo: Extended Advanced Search Plugin NoMethodError

2021-08-05 Thread Joshua D. Shaw
The release package looks like it was created before the class name change from CommonIndexer to IndexerCommon. That name change was for AS v2.2.2+, so the release won't work with 2.7.0. You could try cloning the master branch of the repo, though that may also flail with 2.7.0. And I'd definitel

Re: [Archivesspace_Users_Group] Add a static web page to ArchivesSpace PUI?

2021-09-21 Thread Joshua D. Shaw
I had used the same framework in the sitemaps plugin before I changed things to work in a different way. You can see the commit that still had a static page here: https://github.com/dartmouth-dltg/aspace_sitemap/tree/07720814e985193040b202db3d98c8c0c9f6f735/public You want this piece from route

Re: [Archivesspace_Users_Group] Reorder mode in 3.1.0

2021-10-28 Thread Joshua D. Shaw
I think I've found the culprit(s), which I've documented on the ticket. I need to test and investigate some more though. Joshua From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Michelle Paquette Sent: Wednesday, October 27, 2021 9:32

[Archivesspace_Users_Group] Override staff ead to pdf export XSL in Plugin?

2021-11-04 Thread Joshua D. Shaw
Before I do a deep code dive, has anyone tried or does anyone know if its possible to override the core ead->pdf export stylesheet (https://github.com/archivesspace/archivesspace/blob/v3.1.0/stylesheets/as-ead-pdf.xsl) without patching the core code directly? For the plugin I'm writing, I need

Re: [Archivesspace_Users_Group] Override staff ead to pdf export XSL in Plugin?

2021-11-04 Thread Joshua D. Shaw
acted into temp directories when run. ( the same as reports directory, which can be modified in place instead of using a plugin. ) ( Not sure if that’s what you’re asking, or if that’s what you’re trying to avoid. ) — Steve M. On Nov 4, 2021, at 1:13 PM, Joshua D. Shaw mailto:joshua.d.s..

[Archivesspace_Users_Group] Bug in Solr 8.11.0

2021-11-23 Thread Joshua D. Shaw
Thought I'd post this to save others some headache. I'm testing some external Solr bits and just ran into this bug: https://www.mail-archive.com/users@solr.apache.org/msg02012.html Which prevents AS from starting since the files (schema, etc) can't be read for checksumming on startup. You'll wa

Re: [Archivesspace_Users_Group] Warnings for collection content in ArchivesSpace

2021-11-24 Thread Joshua D. Shaw
We're experimenting with a plugin that does this. I have a proof of concept that deals with the data entry and PUI display, including the PDF export from the PUI (but not from the staff side). On the staff side, the plugin adds an additional repeatable subrecord to archival objects, accession,

Re: [Archivesspace_Users_Group] Warnings for collection content in ArchivesSpace

2021-12-01 Thread Joshua D. Shaw
Hi Everyone I've gotten the content warnings plugin I mentioned up for others to take a look at. GitHub - dartmouth-dltg/aspace_content_warnings Note that this is still in a 'beta' phase, so I would not recommend using this in a produc

Re: [Archivesspace_Users_Group] ASpace API - Query by Location Barcode?

2021-12-13 Thread Joshua D. Shaw
I don't see a specific endpoint for location by barcode, but I think you could hit the generic search endpoint with the following. It's going to show all locations that match that particular string, so not guaranteed that you'll only get one result. /search/repositories?filter_term[]={"primary_

Re: [Archivesspace_Users_Group] Query re search functionality - ArchivesSpace 3.1

2021-12-14 Thread Joshua D. Shaw
Hi Isobel In versions 2.8.0 (maybe 2.8.1) forward, there are additional options to set browse/search sort order that also affect the typeaheads. Go to the dropdown by your username in the top right and set the default sort column and direction in either the global or repo settings (depends on y

Re: [Archivesspace_Users_Group] Query re search functionality - ArchivesSpace 3.1

2021-12-14 Thread Joshua D. Shaw
ts you'll get. You can add + or - to terms to specify whether they must, or must not, be present for a record to match. For example +title:tennis -title:golf will list only records with titles containing the word tennis, excluding any whose titles contain the word golf. Andrew. On 14

Re: [Archivesspace_Users_Group] Digital Object Edit Batch

2021-12-16 Thread Joshua D. Shaw
So you don't have API access? Can you install a plugin? Or is AS so locked down that those are also no gos? Both of those would allow you to do direct updates. API would be easier, but you can also write data migrations in a plugin. Joshua From: archivesspace_u

[Archivesspace_Users_Group] Adding Route to PUI - tip

2022-01-12 Thread Joshua D. Shaw
Since this just tripped me up, I figured I'd share with the group. If you are looking to add a route to the PUI in a plugin, you cannot use a two part path for your new route since this existing route will catch any of those: get ":obj_type/:slug_or_id" => 'objects#show' https://github.com/arch

[Archivesspace_Users_Group] Translations/Localizations for Content & PUI Locales?

2022-02-15 Thread Joshua D. Shaw
Hey Everyone We're wondering how others handle translations for descriptive content. Example would be for a community with dual primary languages - eg English and French. How would you handle descriptive metadata (title, scope content, etc) in both languages? Followup Q. In the SUI, a specific

Re: [Archivesspace_Users_Group] Folder label creation from resource record

2022-03-01 Thread Joshua D. Shaw
There's also a plugin that I've developed that allows you to print labels from the application itself. It does require some additional CSS depending on the label layout you are using, but there are some examples in the plugin. You'll want to grab the latest release for your version of ArchivesSp

Re: [Archivesspace_Users_Group] Folder label creation from resource record

2022-03-01 Thread Joshua D. Shaw
: archivesspace_users_group-boun...@lyralists.lyrasis.org On Behalf Of Joshua D. Shaw Sent: Tuesday, March 1, 2022 11:44 AM To: Archivesspace Users Group Subject: Re: [Archivesspace_Users_Group] Folder label creation from resource record There's also a plugin that I've developed that allows yo

Re: [Archivesspace_Users_Group] Folder label creation from resource record

2022-03-01 Thread Joshua D. Shaw
umbus Supreme Council Archives 1 State Street New Haven, CT 06511-6702 Phone 203 752-4578 Fax 203 865-0351 From: archivesspace_users_group-boun...@lyralists.lyrasis.org On Behalf Of Joshua D. Shaw Sent: Tuesday, March 1, 2022 11:58 AM To: Archivesspace Users Group Subjec

Re: [Archivesspace_Users_Group] User Defined Fields use cases

2022-03-01 Thread Joshua D. Shaw
We use user defined fields primarily to map to some specific MARC fields not included in the general export or modify the MARC export. Examples include using a boolean to indicate if the 007 field should indicate if the resource is an audio recording (e.g. for oral histories). Things like that

Re: [Archivesspace_Users_Group] Rights statements not showing up in the public interface

2022-03-24 Thread Joshua D. Shaw
Hi Dean Sounds like you want to create a simple plugin that modifies the welcome view: https://github.com/archivesspace/archivesspace/blob/master/public/app/views/welcome/show.html.erb That's the easiest (only?) way add a blob of text to the homepage of the PUI. The basic steps would be 1.

Re: [Archivesspace_Users_Group] Rights statements not showing up in the public interface

2022-03-24 Thread Joshua D. Shaw
ss you are deliberately changing the core file contents for other reasons. jds From: archivesspace_users_group-boun...@lyralists.lyrasis.org on behalf of Joshua D. Shaw Sent: Thursday, March 24, 2022 5:12 PM To: Archivesspace Users Group S

Re: [Archivesspace_Users_Group] Imported Records Not Showing Up -- Thoughts?

2022-06-02 Thread Joshua D. Shaw
Off the top of my head. Could this just be the usual indexer lag that's exacerbated by the fact that 3.2 requires an external Solr and therefore can lead to a slight longer indexer lag? That'd be my guess - especially if the records do show up eventually. If that's the case, then I think po

Re: [Archivesspace_Users_Group] Frontend specific hooks

2022-06-09 Thread Joshua D. Shaw
Ooooh! Not examples off the top of my head, but I'm definitely gonna make a lot of use of these! You might take a look at the HM repos (https://github.com/hudmol) or here: https://gitlab.gaiaresources.com.au/qsa (also a lot of HM work) since I'm pretty sure they added those plugin hooks. jds _

Re: [Archivesspace_Users_Group] FW: Help - Upgrading from ASpace 2.7.1 to 3.2.0 - MySQL

2022-06-28 Thread Joshua D. Shaw
Hey Jerry Running the setup-database script will take you from whatever your current version is to the version you are migrating to without the need for incremental updates. If you are running plugins, you'll want to ensure that any db changes don't break the plugins - though typically that's

  1   2   >