Skip to content

Commit

Permalink
#3594 Add entity schema and Vue.js forms for context and site
Browse files Browse the repository at this point in the history
- Add json-schema for context and sitee
- Add CLI tool to build swagger API docs using schemas
  - Convert swagger definitions to schemas
- Add json linting to tests
- Add service class to read, sanitize and merge schemas
- Add Laravel's Validation library and refactor Validator classes
- Add SchemaDAO to read, write and sanitize by schema
- Update ContextDAO to extend SchemaDAO
- Add GET, POST, PUT, DELETE endpoints for contexts
- Add GET, PUT endpoints for site
- Add temporaryFiles endpoint for file uploads
- Add GET, PUT endpoints for context theme options
- Use schema to produce summary/full props for contexts and site
- Add CSRFToken middleware to the API and use in form components
- Deprecate Context::getSettings() in favor of getData()
- Add FormComponent and form Field types
- Add locale strings for form validation errors
- Replace context and site settings forms
- Allow plugins to extend context schema and forms
- Change sequence to seq in API to match underlying data structure
- #3855 Permit @localhost email addresses
- Install journal and site defaults from schema
- #3709 Add additional badges for CC3 licenses
- Remove copyrightNoticeAgree. Instead, check if copyrightNotice exists
- Set a max-width for main page content
- Migrate activate block plugins from plugin_settings to context settings table
- Remove setting_type from database XML
- Move article/monograph permission reset to tools page
- Fix auth checks in API endpoints
- Improve failed authorization or endpoint not found error messages in API
- Move announcement creation to top-level nav item
- Use consistent hooks for adding tabs to settings pages
- Replace metadata settings grid with form fields
- Allow ModalHandler.js to clean up child Vue instances when closed
- Rebuild journal settings wizard
- Rename ListHandlers to ListPanels and move to /components directory
- Update help panel handler to work without .md extensions, to fix an issue
  with some servers which try to serve the .md files directly
  • Loading branch information
NateWr committed Nov 5, 2018
1 parent 05db902 commit 5093ea5
Show file tree
Hide file tree
Showing 479 changed files with 10,348 additions and 14,426 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[submodule "lib/swordappv2"]
path = lib/swordappv2
url = https://github.com/swordapp/swordappv2-php-library.git
[submodule "js/lib/jquery/plugins/spectrum"]
path = js/lib/jquery/plugins/spectrum
url = https://github.com/bgrins/spectrum.git
[submodule "js/lib/pnotify"]
path = js/lib/pnotify
url = https://github.com/sciactive/pnotify.git
2 changes: 1 addition & 1 deletion api/v1/_submissions/PKPBackendSubmissionsHandler.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public function deleteSubmission($slimRequest, $response, $args) {
$submission = $submissionDao->getById($submissionId);

if (!$submission) {
return $response->withStatus(404)->withJsonError('api.submissions.404.resourceNotFound');
return $response->withStatus(404)->withJsonError('api.404.resourceNotFound');
}

if ($context->getId() != $submission->getContextId()) {
Expand Down
Loading

0 comments on commit 5093ea5

Please sign in to comment.