Giter VIP home page Giter VIP logo

writecrow / crow_backend Goto Github PK

View Code? Open in Web Editor NEW
1.0 5.0 0.0 2.79 MB

The canonical resources to build the backend for a corpus/repository management framework for Crow, the Corpus and Repository of Writing

License: GNU General Public License v2.0

PHP 99.83% CSS 0.06% Twig 0.08% JavaScript 0.03%
corpus-linguistics corpus corpus-builder corpus-generator api backend natural-language-processing

crow_backend's People

Contributors

jmf3658 avatar markfullmer avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

crow_backend's Issues

You have requested a non-existent parameter "monolog.level.debug" and a non-existent service "theme.manager" when installing

After I cloned and ran composer install then tried to install your great work. However, it shows error as below on the page /core/install.php:

Additional uncaught exception thrown while handling exception.
Original
Symfony\Component\DependencyInjection\Exception\RuntimeException: You have requested a non-existent parameter "monolog.level.debug". in Symfony\Component\DependencyInjection\Compiler\DefinitionErrorExceptionPass->processValue() (line 54 of /var/www/crow/vendor/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php).

Symfony\Component\DependencyInjection\Compiler\DefinitionErrorExceptionPass->processValue() (Line: 83)
Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass->processValue() (Line: 32)
Symfony\Component\DependencyInjection\Compiler\DefinitionErrorExceptionPass->processValue() (Line: 47)
Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass->process() (Line: 94)
Symfony\Component\DependencyInjection\Compiler\Compiler->compile() (Line: 762)
Symfony\Component\DependencyInjection\ContainerBuilder->compile() (Line: 1344)
Drupal\Core\DrupalKernel->compileContainer() (Line: 948)
Drupal\Core\DrupalKernel->initializeContainer() (Line: 20)
Drupal\Core\Installer\InstallerKernel->initializeContainer() (Line: 487)
Drupal\Core\DrupalKernel->boot() (Line: 426)
install_begin_request() (Line: 116)
install_drupal() (Line: 48)
Additional
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "theme.manager". in Symfony\Component\DependencyInjection\ContainerBuilder->getDefinition() (line 1030 of /var/www/crow/vendor/symfony/dependency-injection/ContainerBuilder.php).

Symfony\Component\DependencyInjection\ContainerBuilder->getDefinition() (Line: 600)
Symfony\Component\DependencyInjection\ContainerBuilder->doGet() (Line: 558)
Symfony\Component\DependencyInjection\ContainerBuilder->get() (Line: 649)
Drupal::theme() (Line: 22)
_drupal_maintenance_theme() (Line: 506)
drupal_maintenance_theme() (Line: 1025)
install_display_output() (Line: 271)
_drupal_log_error() (Line: 365)
_drupal_exception_handler()

Is it efficient enought for a large corpora built with Drupal?

I'm very excited to find your great crow_backend and macaws_backend which both use Drupal. I'm also thinking recently using Drupal as the start point for building a multi-modal corpora with videos, images and texts. However, Is it efficient enought for a large corpora built with Drupal?

Add form for bug reporting

Problem/motivation

https://3.basecamp.com/3129499/buckets/3403924/todos/2162321568#__recording_3067867744

Proposed change

  • Form access is limited to authenticated users
  • The form includes a pre-populated "Page on which the issue occurs" field with the URL of the originating page.
  • The form includes a generic "describe the problem" text field that is required
  • The form includes an optional file uploader, limited to image file types
  • The form includes a checkbox for "Contact me with updates about this issue"
  • Upon submission, the form will initially email the report, along with context-specific data, to an email address specified in configuration.
  • The implemenation should be done in such a way to easily support subsequent integration with Basecamp

Option to display concordance numbers

Context

This web interface enhancement was conceived by the team during the Spring 2021 summit. Full notes of the meeting can be found at https://docs.google.com/document/d/18F538rmasr101araP_biwB0z2qLKLf39lSmD_hA_Du8/edit#heading=h.vr5p7wmsjb2v

User story

As a teacher, I want the ability to prepend concordance numbering to search results and be able to generate an embed code that will display those results with concordance numbering, so that students can more easily be directed to the specific result we are discussing or is referenced in pedagogical materials.

Acceptance criteria

  • The corpus search interface will display a new checkbox toggle titled "Number results" which, when checked, will display incrementing numbers, starting at 1, in the search results.
  • When this toggle is checked, if a user subsequently presses "Embed search results," the embed code they are presented will include metadata that will similarly display numbering in the embedded version of the search results.
  • By default, concordance numbers will be "off"

Update contributed code to Drupal 9 compatible versions

Description of task

Presumed updates:

  - Upgrading drupal/better_exposed_filters (4.0.0-alpha1 => 4.0.0-beta2): Extracting archive
  - Upgrading drupal/facets (1.5.0 => 1.6.0): Extracting archive
  - Upgrading drupal/features (3.8.0 => 3.11.0): Extracting archive
  - Upgrading drupal/captcha (1.0.0-beta4 => 1.1.0): Extracting archive
  - Upgrading drupal/search_api (1.17.0 => 1.18.0): Extracting archive
  - Upgrading drupal/rabbit_hole (1.0.0-beta8 => 1.0.0-beta10): Extracting archive
  - Upgrading drupal/redirect_after_login (2.6.0 => 2.7.0): Extracting archive
  - Upgrading drupal/reroute_email (1.2.0 => 1.3.0): Extracting archive
  - Upgrading drupal/token (1.7.0 => 1.9.0): Extracting archive

Update language on registration form

Add to the directions for the project description on the registration form:

"If you are a student, please write that in your description. If you want to use Crow in a course (as either a student or instructor), please describe the course, including the number of students."

Add automated tests

Summary

As a minimal starting place, we should add a test that loads the existing site's database and verifies that the API returns the expected JSON output.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.