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

pkp/pkp-lib#3594 Add entity schema, Context API, and Vue.js forms #2067

Merged
merged 6 commits into from
Jan 9, 2019

Commits on Jan 9, 2019

  1. pkp/pkp-lib#3594 Add entity schema, Context API, and Vue.js forms

    - Add journal and site schema
    - Load journal and site defaults from schema
    - Add source file for generating API docs using cli tool
    - Document /context, /site, /temporaryFiles, /context/{id}/themeOptions,
      /_payments API endpoints
    - Update journal_settings and site_settings db schema to remove setting_type
    - Convert journal and site settings forms to Vue.js
    - Deprecate Context::getSettings() in favor of Context::getData()
    - Remove unused context settings: copyeditInstructions, refLinkInstructions,
      metaCitations, authorSelfArchivePolicy
    - Change sequence to seq in API to match underlying data structure
    - Add json linting to tests
    - Add private endpoint for handling payment settings forms
    - Migrate handling of journal stylesheet to pkp-lib
    - Migrate active block plugins from plugin_settings to journal_settings
    - Move article permission reset to tools
    - Improve authorization failure responses in API
    - Replace metadata grid with form fields
    - Remove unused Reading Tools locale strings
    - Replace journal settings wizard
    - Rename ListHandlers to ListPanels and move to /components directory
    - Add licenseTerms in place of copyrightNotice on article landing
    - Update help panel to avoid using .md extensions, to fix issues with
      serves which try to serve the actual file instead of routing to our
    handlers.
    NateWr committed Jan 9, 2019
    Configuration menu
    Copy the full SHA
    43b3907 View commit details
    Browse the repository at this point in the history
  2. pkp/pkp-lib#3594 Fix tests and respond to code review

    Namespacing and conventions:
    - Use namespaces for form components
    - Update autoload to use APP namespace instead of OJS so it can be used
      across apps
    - Use a shorter syntax for getting service classes
    - Use interfaces and traits to enforce common patterns in service classes
    - Replace APIRouter::getApiUrl with APIRouter::url
    
    Fixes:
    - Fix whitespace and quote issues in dbscripts
    - Fix /submissions/{id}/participants endpoint
    - Fix error displaying publishingMode value in form
    - Fix typo in bounce address description
    - Use description in HTML fields so value is not submitted
    - Convert enableOai option to new forms
    - Add error message for API requests that require a context
    
    Tests:
    - Fix invalid closing tags in locale file
    - Add missing npm dependencies
    - Fix add and setup journal tests
    - Update help file validation to expect filenames without .md
    - Bump vue-tabs-component version to fix id/hash bug
    NateWr committed Jan 9, 2019
    Configuration menu
    Copy the full SHA
    4eb733b View commit details
    Browse the repository at this point in the history
  3. pkp/pkp-lib#3594 Move common forms and schema code to pkp-lib

    - Move /_payments API handler to pkp-lib
    - Replace journal with context in several locale keys
    - Remove unused locale strings
    - Move PaymentSettingsForm to pkp-lib
    - Fix docblock path in form components
    - Move several migration scripts to pkp-lib
    - Fix wrong docblock path in IssueQueryBuilder
    - Add @copydoc to ContextQueryBuilder
    - Fix typos in API documentation
    - Remove JournalGridHandler and move functions to ContextGridHandler
    - Move AccessForm to OJS and PaymentSettingsForm to pkp-lib
    - Move several context properties from pkp-lib to OJS and vice-versa
    - Restore accountName to paypal settings form
    - Move assignedToSection user query arg to OJS
    - Add placeholder AppearanceAdvancedForm
    NateWr committed Jan 9, 2019
    Configuration menu
    Copy the full SHA
    848801f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8c181f1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    86e6142 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2547377 View commit details
    Browse the repository at this point in the history