Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Matías Butelman
    @mbutel_twitter
    This basically renders all the separate System administration permissions for items inside the Administration menu item usesless because they don't work without the "is administrator" permission
    I just found you can customize these access in the conf files, maybe this solves the problem
    Matías Butelman
    @mbutel_twitter
    Mmm but I don't know how to tell the system to allow a user with the "configure relationship types" permission to be able to save the type
    CollectiveAccess
    @collectiveaccess
    @mbutel_twitter Configure relationship types does require is_admin for saving, as it's schema-related and considered an administrative function
    Matías Butelman
    @mbutel_twitter
    Is there any way to allow it? If it doesn't work without "is admin" why is there an option to set it on and off in the ui?
    We are building a catalog for a museum of design. The types of relationships individuals have with objects change a lot, so it's very practical to load them as the cataloguers load each object
    (design objects share this cataloguing challenge with contemporary art, instalation and performance i think)
    CollectiveAccess
    @collectiveaccess
    @mbutel_twitter Create a ticket for it and we'll see what can be done. https://clangers.collectiveaccess.org
    Julian
    @julian_boolean_twitter
    Hi all this feels like a silly question but do the pawtucket config files in themes work like the providence config files in that you only edit the parts you need to edit?
    Matías Butelman
    @mbutel_twitter
    Hi, another question (we are deploying lots of CA in Argentina, we should open a spanish user group!): does Pawtucket2 have anything like "ca_objects_detail_display_attributes"? If it does, where? And if it doesn't, how can i change what metadata elements show in the detail views of objects, entities, etc?
    Kehan Harman
    @kehh
    @julian_boolean_twitter yes - all your custom configuration goes in your theme.
    But only override the specific parts you want to override.
    But remember that you can only override root level config keys.
    Karl Krägelin
    @karkraeg

    Hi! In my Pawtuckt2 Application, in the ca_objects_default_html.php, I’d like to use a metadata element linked with a related occurrence in some custom PHP Code. I know that I can use $t_object = $this->getVar('item'); declared in the PHP Part right on top (see https://github.com/collectiveaccess/pawtucket2/blob/8d3e7889181308142dd2f42700b9fc595262c07c/themes/default/views/Details/ca_objects_default_html.php#L29) in my PHP Code like

    $str = $t_object->get('ca_objects.metadata-element-code');

    How can I access the value of ca_occurrences.related.wikidata in my custom PHP code? Thanks!

    naeemmuhammad
    @naeemmuhammad

    Hi,
    We are facing performance issues with Collective Access systems. We are using about 10 Collective Access systems; all of them are quite slow.
    The slowness has increased to a point that we are now looking for a tangible solution to this problem. In this regard, we would like to get feedback from other users of Collective Access, whether their Collective Access systems are slow as well or we are the only one facing this problem.

    All of our Collective Access systems show slowness in all kinds of operations. From login to search, from viewing a record in editor to saving a record.
    Login to Collective Access sometimes takes several minutes, loading an object in object editor takes several seconds, etc. Larger exports of search results (let say pdf of 1500 objects) almost never succeed.

    We use Collective Access on Centos 7 machine with MySQL database (installed on the same machine to reduce network overhead for database queries).
    Number of records in our systems varies from system to system, for example, number of object type records range from 7000 to 50000.

    Collective Access version that we use are: 1.4, 1.7.5 and 1.7.6. We are using Collective Access for a long time, in all versions that we have used until now slowness is a common factor.

    If you are a Collective Access user please respond, as your response will help us understand whether this is a common problem among all users or not.

    Thanks in advance for your response.

    Julia
    @juliaweist
    @julian_boolean_twitter yes for Pawtucket config files in a local folder within your theme only copy over what you've changed.
    haseebrahman7
    @haseebrahman7
    Hi I am learning about collective access, and had several questions...
    Are the hardware and software platform requirements already supported in our environment?
    Does the system have the ability for development,testing, and production environments?
    Does the system have the capability for disaster recovery? (cloud?)
    Does the system have the ability to function with an off-site backup facility? (cloud?)
    Does the system support REST?
    Does the system support SPARQL?
    Does the system allow for integration by other institutions/interfaces by following OAI-PMH guidelines?
    Are search indexes automatically generated? i.e. SOLR, Lucene, etc..
    Define the tech stack (mark Y and discuss in notes: web service, OS, coding language, db structure)
    Is DRM functionality built in?
    Julia
    @juliaweist
    @haseebrahman7
    1) Depends on the set up of your local environment https://docs.collectiveaccess.org/wiki/Installing_Providence
    2) Yes, it can be architected this way
    3) Yes if configured correctly
    4) Yes if configured correctly
    5) Yes https://docs.collectiveaccess.org/wiki/Web_Service_API
    6) We support SPARQL for integration with some linked open data services
    7) Yes https://docs.collectiveaccess.org/wiki/OAI-PMH_Provider
    9) see the Installation page above for tech stack
    10) Yes, DRM workflows can be configured
    Julian
    @julian_boolean_twitter
    @juliaweist @kehh Thank you for clarifying!
    Kehan Harman
    @kehh
    @karbecker try
    <?php
    $str = $t_object->getWithTemplate('^ca_occurrences.related.wikidata');
    Karl Krägelin
    @karkraeg

    Thanks @kehh ! $t_object->getWithTemplate works for metadata elements from directly related occurrences. I need, however, to get the value of a metadata element connected to an occurrence which is related to an occurrence which is related to my object. For normal use I can do that like this:

    {{{<unit relativeTo="ca_occurrences">^ca_occurrences.related.wikidata</unit>}}}

    Using $str = $t_object->getWithTemplate('^ca_occurrences.related.wikidata.url'); in PHP doesn’t return the expected value.

    Hi @naeemmuhammad, we are using 1.7.6 productive since January 2018 with a little bit more than 19000 objects, 6000 entities, 2000 places, 3000 occurrences and 38000 object representations. CA is running on a Virtual Server with CentOS and 8GB RAM, and while it has never run really fast it runs accepptable – you don’t think "wow thats slow". If it has, we restarted the server or cleared the temp and cache with caUtils.
    TBthegr81
    @TBthegr81
    I am importing photo information from an excel sheet and using the EntitySplitter to create a photographer entity.
    The photos are bound to a collection via collectionSplitter, but I wonder if its possible to also bind the entity?
    Looking at the EntitySplitter parameters I didn't find anything
    haseebrahman7
    @haseebrahman7
    @juliaweist Thank you so much
    I am trying to get to know the software more and had more questions if you guys dont mind.
    Does the system allow administrators to assign passwords?
    Does the system have forgotten password retrieval functionality?
    Does the system integrate with a directory service for user access?
    Does the system allow for definitions of user groups?
    Does the system allow for customization of user profiles?
    Does the system limit access by roles? Does the system allow for ingest of the following file types: PDF, AIFF, MPEG audio/video, WAV, MP3, MP4, GIF, JPEG, JPEG2000, PNG, TIFF (if more, define, if less, state what is not available.
    Does the system allow for the followiing types of content: images, audio, video, text files
    Does the system have the capability to convert the format of a file being ingested to a desired format?
    Does the system assign a unique identifier to each of the component files of a digital object?
    Does the system have a parent-child relationship within an object that has multiple components?
    Does the system allow for multiple, related manifestations of objects?
    Does the system send notificatons about upload to administrators or managers?
    Does the system have a review process for quality assurance (may simply be a "draft" mode for records, may include staged upload and/or notifications)?
    Does the system allow administrators to customize metadata (via template)?
    Does the system allow a batch import of objects?
    Does the system create an audit trail of all actions?
    Does the system allow real-time updating and indexing of content by users with appropriate permissions?
    Can the system link between all related objects so complex objects can be easily navigated? (i.e. agents to digital objects to agents)
    Does the system allow content creators to duplicate records?
    Does the system allow content creators to preview images being described?
    Can content creators search metadata across any field on the backend of the system?
    Does the system provide "tip text" for content creators?
    Can the system link to external vocabularies for reference?
    Can the sytem import external vocabularies for use?
    Can information about the content creator be attached to records and tracked?
    Julia
    @juliaweist
    @haseebrahman7 - most if not all of these questions are answered in our wiki documentation. If you could kindly search there first and then post any remaining unanswered questions here that would be appreciated. http://docs.collectiveaccess.org
    haseebrahman7
    @haseebrahman7
    I was looking at that link, and posted the questions that i couldnt understand.
    Sophie
    @pinkfishies
    @haseebrahman7 The system supports all the points you have listed, though we might need some idea of what you are trying to do with some of these points
    bowbot
    @bowbot_twitter
    I have a set based on a saved search. As new items are added to the system that match the search will they be added to the set automatically? Should I be using a collection instead? The end goal is to share objects as they are approved to the public in sets or collections via Pawtucket. Is there documentation available?
    Julia
    @juliaweist
    @bowbot_twitter saved search does not automatically add new records that meet criteria to existing sets.
    bowbot
    @bowbot_twitter
    @juliaweist Thanks for the quick reply. I could build navigation URLS using search parameters ie pawtucket.url/Search/Objects?search=chair+red
    Are there plans to add a kind of smart collection/set in 2.0?
    Sophie
    @pinkfishies
    @bowbot_twitter As you said, this functionality is typically accommodated through the created of collections. You could also use the subject authority to relate a term to your records and link your users to a browse on that term.
    Matías Butelman
    @mbutel_twitter

    I'm having this problem: I have a dimensions element for art, with each dimmension inside a container. Height, length, etc. The values are stored in CM but Pawtucket is changing the values to inches.

    The code for one of the elements is this:

    {{{<ifdef code="ca_objects.dimensions.dimensions_height"><b>Alto:</b> ^ca_objects.dimensions.dimensions_height<br/></ifdef>}}}

    The save value is: "0.36 m". The displayed value in pawtucket is "14 3/16 in"

    I've tried using the UNITS modifier but it didn't work

    Karl Krägelin
    @karkraeg

    @mbutel_twitter I had the same problem, solved it with this PHP Code:

        <?php
            $width = $t_object->get('ca_objects.measure.breite1', array('returnAsDecimalMetric' => true));
            if ($width) {
                echo 'Breite: '.($width * 100).' cm <br>';
            }
        ?>

    You’d need to adapt .measure.breite1 to .dimensions.dimensions_height and try it from there…

    Matías Butelman
    @mbutel_twitter
    @karbecker thanks!
    CollectiveAccess
    @collectiveaccess
    @mbutel_twitter What version are you running? The current code shows dimensions as entered unless you take special care to do otherwise.
    bowbot
    @bowbot_twitter
    Is it possble to use a redis cache via socket connection to the server instead of using hostname and port?
    @pinkfishies that is a good idea—thanks!
    CollectiveAccess
    @collectiveaccess
    @bowbot_twitter Yes, it is possible to use a socket. You'll have to configure your redis instance to listen on a socket, then modify app/lib/Cache/ExternalCache.php to pass the socket rather than the server/port combo. We don't directly support socket specifications although the underlying redis client does.
    bowbot
    @bowbot_twitter
    @collectiveaccess This is a little beyond me. I found the code:
    private static function getRedisObject(){
    if(!defined('CA_REDIS_HOST')) {
    define('CA_REDIS_HOST', 'localhost');
    }
        if(!defined('__CA_REDIS_PORT__')) {
            define('__CA_REDIS_PORT__', 6379);
        }
    
        $o_redis = new Redis();
        $o_redis->connect(__CA_REDIS_HOST__, __CA_REDIS_PORT__);
        if(defined('__CA_REDIS_DB__') && is_int(__CA_REDIS_DB__)) {
            $o_redis->select(__CA_REDIS_DB__);
        }
    
        $o_cache = new \Doctrine\Common\Cache\RedisCache();
        $o_cache->setRedis($o_redis);
        return $o_cache;
    }
    CollectiveAccess
    @collectiveaccess
    Read the docs for Stash, the caching system we're using: http://www.stashphp.com
    If you can't/won't make the modification you need file a JIRA for it and we'll add it at some point
    bowbot
    @bowbot_twitter
    Thanks! will get back to you.