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

feat: add initial api lookup endpoint for entities with test #288

Closed
wants to merge 83 commits into from

Commits on Jun 3, 2019

  1. feat: add initial api endpoint for work with test

    Akhilesh Kumar committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    0e5b432 View commit details
    Browse the repository at this point in the history
  2. fix: push lock file to update dependencies in CI.

    Akhilesh Kumar committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    45a2532 View commit details
    Browse the repository at this point in the history
  3. refactor: fetch work data from database

    Akhilesh Kumar committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    d1b5a4c View commit details
    Browse the repository at this point in the history
  4. fix: test passed for work endpoint

    Akhilesh Kumar committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    f8d4441 View commit details
    Browse the repository at this point in the history
  5. refactor: restrucure api section

    Akhilesh Kumar committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    6a5f38b View commit details
    Browse the repository at this point in the history
  6. fix: separate build for api and website and remove api routes from we…

    …bsite app.js
    Akhilesh Kumar committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    5e374b5 View commit details
    Browse the repository at this point in the history
  7. fix: update app for api in test file

    Akhilesh Kumar committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    ad91e9f View commit details
    Browse the repository at this point in the history
  8. fix: work test

    Akhilesh Kumar committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    3f9f83d View commit details
    Browse the repository at this point in the history
  9. refactor: check keys on object via .all in work test

    Akhilesh Kumar committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    1e1225b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ee970c6 View commit details
    Browse the repository at this point in the history
  11. feat: add more lookup endpoint for work like aliases and identifiers …

    …with tests
    Akhilesh Kumar committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    80e4bb2 View commit details
    Browse the repository at this point in the history
  12. fix: insert identifier in testing

    Akhilesh Kumar committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    eb666e7 View commit details
    Browse the repository at this point in the history
  13. refactor: move config to common section

    Akhilesh Kumar committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    2fd5c44 View commit details
    Browse the repository at this point in the history
  14. refactor: create entity using test-helper

    Akhilesh Kumar committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    39a8946 View commit details
    Browse the repository at this point in the history
  15. fix: remove linting errors and handle errors for tests

    Akhilesh Kumar committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    080e4f6 View commit details
    Browse the repository at this point in the history
  16. refaxtor: clean api app.js

    Akhilesh Kumar committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    7a2252b View commit details
    Browse the repository at this point in the history
  17. refactor: add work type, replace langauge in place of languageId and …

    …linting errors
    Akhilesh Kumar committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    df9618a View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2019

  1. test: Refactor API work tests to use async/await

    Solving an issue with uncaught exceptions that would break the test harness
    MonkeyDo committed Jun 5, 2019
    Configuration menu
    Copy the full SHA
    27a0bc4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d0069f View commit details
    Browse the repository at this point in the history
  3. refactor: Move some helpers to common code

    To make sure no code in src/api or src/common depends on any code in src/server or src/client
    MonkeyDo committed Jun 5, 2019
    Configuration menu
    Copy the full SHA
    4c04fb0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f85e706 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2da9746 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2019

  1. refactor: load entity data with middleware

    Add more tests
    Akhilesh Kumar committed Jun 6, 2019
    Configuration menu
    Copy the full SHA
    6775679 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    89c9a85 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2019

  1. Configuration menu
    Copy the full SHA
    67c3931 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cd370bf View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2019

  1. refactor: modify work tests to pass in CI

    Akhilesh Kumar committed Jun 8, 2019
    Configuration menu
    Copy the full SHA
    cc0288d View commit details
    Browse the repository at this point in the history
  2. feat: add new endpoints for lookup of editions

    Akhilesh Kumar committed Jun 8, 2019
    Configuration menu
    Copy the full SHA
    0838098 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2019

  1. Configuration menu
    Copy the full SHA
    2da5a76 View commit details
    Browse the repository at this point in the history
  2. Merge pull request metabrainz#290 from bookbrainz/fix-BB-347

    fix: Fix BB-347 remedy null date for Editions without a releaseDate
    MonkeyDo committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    399ad10 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    73d313a View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2019

  1. Configuration menu
    Copy the full SHA
    be73044 View commit details
    Browse the repository at this point in the history
  2. css: Changed disabled navbar button style

    It was previously the same colour for the text and background…
    MonkeyDo authored and bimalkant-lauhny committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    d89053d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    139255b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    09ed149 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    66099eb View commit details
    Browse the repository at this point in the history
  6. feat: add publisher endpoints for lookup

    Akhilesh Kumar committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    d148968 View commit details
    Browse the repository at this point in the history
  7. Merge pull request metabrainz#289 from code-master5/disable-signup-re…

    …dis-down
    
    fix: fix BB-341 disable login and register links when redis is down
    MonkeyDo committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    cb6ff57 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a784222 View commit details
    Browse the repository at this point in the history
  9. refactor: remove unnecessary file

    Akhilesh Kumar committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    07903ec View commit details
    Browse the repository at this point in the history
  10. refactor: move common relation to helpers/utils and update error on i…

    …nvalid url
    Akhilesh Kumar committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    b61b831 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2019

  1. Configuration menu
    Copy the full SHA
    76b6da0 View commit details
    Browse the repository at this point in the history
  2. Merge pull request metabrainz#291 from bookbrainz/fix-sec-alerts

    chore: Fix security alerts - SEC-16 and others
    MonkeyDo committed Jun 14, 2019
    Configuration menu
    Copy the full SHA
    c32630c View commit details
    Browse the repository at this point in the history
  3. chore: Fix SEC-16

    Update Mocha for a sub-dependency security risk (diff package)
    MonkeyDo committed Jun 14, 2019
    Configuration menu
    Copy the full SHA
    e82d013 View commit details
    Browse the repository at this point in the history
  4. Merge pull request metabrainz#292 from bookbrainz/fix-sec-alerts

    chore: Fix SEC-16
    MonkeyDo committed Jun 14, 2019
    Configuration menu
    Copy the full SHA
    163773d View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2019

  1. Configuration menu
    Copy the full SHA
    6a9794b View commit details
    Browse the repository at this point in the history
  2. feat: add initial api endpoint for work with test

    Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    6c5aac9 View commit details
    Browse the repository at this point in the history
  3. fix: push lock file to update dependencies in CI.

    Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    fcc757a View commit details
    Browse the repository at this point in the history
  4. refactor: fetch work data from database

    Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    7d0617c View commit details
    Browse the repository at this point in the history
  5. fix: test passed for work endpoint

    Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    f245246 View commit details
    Browse the repository at this point in the history
  6. refactor: restrucure api section

    Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    b79ebda View commit details
    Browse the repository at this point in the history
  7. fix: separate build for api and website and remove api routes from we…

    …bsite app.js
    Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    3571584 View commit details
    Browse the repository at this point in the history
  8. fix: update app for api in test file

    Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    b9facf3 View commit details
    Browse the repository at this point in the history
  9. fix: work test

    Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    a8bccb6 View commit details
    Browse the repository at this point in the history
  10. refactor: check keys on object via .all in work test

    Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    a0fee51 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    dcaa746 View commit details
    Browse the repository at this point in the history
  12. feat: add more lookup endpoint for work like aliases and identifiers …

    …with tests
    Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    a2c26bf View commit details
    Browse the repository at this point in the history
  13. fix: insert identifier in testing

    Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    a23c2c6 View commit details
    Browse the repository at this point in the history
  14. refactor: move config to common section

    Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    7624e8c View commit details
    Browse the repository at this point in the history
  15. refactor: create entity using test-helper

    Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    493f8b1 View commit details
    Browse the repository at this point in the history
  16. fix: remove linting errors and handle errors for tests

    Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    471e943 View commit details
    Browse the repository at this point in the history
  17. refaxtor: clean api app.js

    Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    6cd3bba View commit details
    Browse the repository at this point in the history
  18. refactor: add work type, replace langauge in place of languageId and …

    …linting errors
    Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    864b648 View commit details
    Browse the repository at this point in the history
  19. test: Refactor API work tests to use async/await

    Solving an issue with uncaught exceptions that would break the test harness
    MonkeyDo authored and Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    4d3e967 View commit details
    Browse the repository at this point in the history
  20. test: Added WorkType and LanguageSet to entity creation test utility

    MonkeyDo authored and Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    b79e2d6 View commit details
    Browse the repository at this point in the history
  21. refactor: Move some helpers to common code

    To make sure no code in src/api or src/common depends on any code in src/server or src/client
    MonkeyDo authored and Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    a2d736a View commit details
    Browse the repository at this point in the history
  22. refactor: Don't render HTML page for API error

    MonkeyDo authored and Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    8158100 View commit details
    Browse the repository at this point in the history
  23. fix: Ignore client and server when building API

    MonkeyDo authored and Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    ebcbe2f View commit details
    Browse the repository at this point in the history
  24. refactor: load entity data with middleware

    Add more tests
    Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    b352d13 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    657aebc View commit details
    Browse the repository at this point in the history
  26. test: Testing CI setup for testing expected API errors

    MonkeyDo authored and Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    0df8910 View commit details
    Browse the repository at this point in the history
  27. test: Trying another method to test expected API errors

    MonkeyDo authored and Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    af86ffb View commit details
    Browse the repository at this point in the history
  28. refactor: modify work tests to pass in CI

    Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    0608ad4 View commit details
    Browse the repository at this point in the history
  29. feat: add new endpoints for lookup of editions

    Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    b0e2252 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    d4b5a6c View commit details
    Browse the repository at this point in the history
  31. tests: Added Area when creating Author test entity

    MonkeyDo authored and Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    7801e3a View commit details
    Browse the repository at this point in the history
  32. feat: add publisher endpoints for lookup

    Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    7e020bc View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    5496a03 View commit details
    Browse the repository at this point in the history
  34. refactor: remove unnecessary file

    Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    43bb119 View commit details
    Browse the repository at this point in the history
  35. refactor: move common relation to helpers/utils and update error on i…

    …nvalid url
    Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    9ef3a48 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    864b3f6 View commit details
    Browse the repository at this point in the history
  37. fix: resolve conflicts with master

    Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    590c4bf View commit details
    Browse the repository at this point in the history
  38. Merge branch 'api' of https://github.com/akhilesh26/bookbrainz-site i…

    …nto api
    Akhilesh Kumar committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    704e2a3 View commit details
    Browse the repository at this point in the history