Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e9c6035a1a5c6a0bfb8d8edb597b43191b638a0a
5 changes: 5 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2020 CERN.
* SPDX-License-Identifier: MIT
*/

<!DOCTYPE html>
<html lang="en">
<head>
Expand Down
11 changes: 5 additions & 6 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// This file is part of React-Invenio-Forms
// Copyright (C) 2020 CERN.
// Copyright (C) 2020 Northwestern University.
//
// React-Invenio-Forms is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.
/*
* SPDX-FileCopyrightText: 2020 CERN.
* SPDX-FileCopyrightText: 2020 Northwestern University.
* SPDX-License-Identifier: MIT
*/

import babel from "@rollup/plugin-babel";
import commonjs from "@rollup/plugin-commonjs";
Expand Down
11 changes: 5 additions & 6 deletions src/demos/App.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// This file is part of React-Invenio-Forms
// Copyright (C) 2020 CERN.
// Copyright (C) 2020 Northwestern University.
//
// React-Invenio-Forms is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.
/*
* SPDX-FileCopyrightText: 2020 CERN.
* SPDX-FileCopyrightText: 2020 Northwestern University.
* SPDX-License-Identifier: MIT
*/

import React, { Component } from "react";

Expand Down
7 changes: 2 additions & 5 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* This file is part of React-Invenio-Forms.
* Copyright (C) 2019 CERN.
*
* React-Invenio-Forms is free software; you can redistribute it and/or modify it
* under the terms of the MIT License; see LICENSE file for more details.
* SPDX-FileCopyrightText: 2019 CERN.
* SPDX-License-Identifier: MIT
*/

import React from "react";
Expand Down
15 changes: 4 additions & 11 deletions src/lib/api/connector.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
// This file is part of React-Invenio-Forms
// Copyright (C) 2022 CERN.
//
// React-Invenio-Forms is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.

// This file is part of InvenioRDM
// Copyright (C) 2022 CERN.
//
// Invenio RDM is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.
/*
* SPDX-FileCopyrightText: 2022 CERN.
* SPDX-License-Identifier: MIT
*/

import axios from "axios";

Expand Down
9 changes: 4 additions & 5 deletions src/lib/api/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// This file is part of React-Invenio-Forms
// Copyright (C) 2022 CERN.
//
// React-Invenio-Forms is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.
/*
* SPDX-FileCopyrightText: 2022 CERN.
* SPDX-License-Identifier: MIT
*/

export { http } from "./connector";
export { withCancel } from "./withCancel";
9 changes: 4 additions & 5 deletions src/lib/api/withCancel.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// This file is part of React-Invenio-Forms
// Copyright (C) 2022 CERN.
//
// React-Invenio-Forms is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.
/*
* SPDX-FileCopyrightText: 2022 CERN.
* SPDX-License-Identifier: MIT
*/

/**
* Wrap a promise to be cancellable and avoid potential memory leaks
Expand Down
9 changes: 4 additions & 5 deletions src/lib/elements/ErrorMessage.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// This file is part of React-Invenio-Forms
// Copyright (C) 2023 CERN.
//
// React-Invenio-Forms is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.
/*
* SPDX-FileCopyrightText: 2023 CERN.
* SPDX-License-Identifier: MIT
*/

import { Message, Icon } from "semantic-ui-react";
import PropTypes from "prop-types";
Expand Down
5 changes: 5 additions & 0 deletions src/lib/elements/GridResponsiveSidebarColumn.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2022-2023 CERN.
* SPDX-License-Identifier: MIT
*/

import React from "react";
import PropTypes from "prop-types";
import { Grid, Sidebar, Button, Segment } from "semantic-ui-react";
Expand Down
9 changes: 4 additions & 5 deletions src/lib/elements/Image.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// This file is part of InvenioRDM
// Copyright (C) 2022 CERN.
//
// Invenio RDM Records is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.
/*
* SPDX-FileCopyrightText: 2022 CERN.
* SPDX-License-Identifier: MIT
*/

import PropTypes from "prop-types";
import React, { Component } from "react";
Expand Down
9 changes: 4 additions & 5 deletions src/lib/elements/accessibility/InvenioPopup.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// This file is part of React-Invenio-Forms
// Copyright (C) 2023 CERN.
//
// React-Invenio-Forms is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.
/*
* SPDX-FileCopyrightText: 2023 CERN.
* SPDX-License-Identifier: MIT
*/

import React, { Component } from "react";
import PropTypes from "prop-types";
Expand Down
9 changes: 4 additions & 5 deletions src/lib/elements/accessibility/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// This file is part of React-Invenio-Forms
// Copyright (C) 2022 CERN.
//
// React-Invenio-Forms is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.
/*
* SPDX-FileCopyrightText: 2022 CERN.
* SPDX-License-Identifier: MIT
*/

/**
* This folder contains accessibility friendly components.
Expand Down
7 changes: 2 additions & 5 deletions src/lib/elements/bulk_actions/SearchResultsBulkActions.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* This file is part of Invenio.
* Copyright (C) 2022 CERN.
*
* Invenio is free software; you can redistribute it and/or modify it
* under the terms of the MIT License; see LICENSE file for more details.
* SPDX-FileCopyrightText: 2022 CERN.
* SPDX-License-Identifier: MIT
*/

import React, { Component } from "react";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2023 CERN.
* SPDX-License-Identifier: MIT
*/

import { BulkActionsContext } from "./context";
import React, { Component } from "react";
import _hasIn from "lodash/hasIn";
Expand Down
5 changes: 5 additions & 0 deletions src/lib/elements/bulk_actions/SearchResultsRowCheckbox.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2023 CERN.
* SPDX-License-Identifier: MIT
*/

import { BulkActionsContext } from "./context";
import React, { Component } from "react";
import PropTypes from "prop-types";
Expand Down
5 changes: 5 additions & 0 deletions src/lib/elements/bulk_actions/context.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2023 CERN.
* SPDX-License-Identifier: MIT
*/

import React from "react";

export const BulkActionsContext = React.createContext({
Expand Down
5 changes: 5 additions & 0 deletions src/lib/elements/bulk_actions/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2023 CERN.
* SPDX-License-Identifier: MIT
*/

export { BulkActionsContext } from "./context";
export { default as SearchResultsBulkActions } from "./SearchResultsBulkActions";
export { default as SearchResultsBulkActionsManager } from "./SearchResultsBulkActionsManager";
Expand Down
7 changes: 2 additions & 5 deletions src/lib/elements/contrib/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* // This file is part of invenio-app-rdm
* // Copyright (C) 2023 CERN.
* //
* // invenio-app-rdm is free software; you can redistribute it and/or modify it
* // under the terms of the MIT License; see LICENSE file for more details.
* SPDX-FileCopyrightText: 2023 CERN.
* SPDX-License-Identifier: MIT
*/

export * from "./invenioRDM";
7 changes: 2 additions & 5 deletions src/lib/elements/contrib/invenioRDM/groups/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
/*
* // This file is part of React-Invenio-Forms
* // Copyright (C) 2023 CERN.
* //
* // React-Invenio-Forms is free software; you can redistribute it and/or modify it
* // under the terms of the MIT License; see LICENSE file for more details.
* SPDX-FileCopyrightText: 2023 CERN.
* SPDX-License-Identifier: MIT
*/
7 changes: 2 additions & 5 deletions src/lib/elements/contrib/invenioRDM/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* // This file is part of React-Invenio-Forms
* // Copyright (C) 2023 CERN.
* //
* // React-Invenio-Forms is free software; you can redistribute it and/or modify it
* // under the terms of the MIT License; see LICENSE file for more details.
* SPDX-FileCopyrightText: 2023 CERN.
* SPDX-License-Identifier: MIT
*/

export * from "./groups";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* // This file is part of React-Invenio-Forms
* // Copyright (C) 2024 CERN.
* //
* // React-Invenio-Forms is free software; you can redistribute it and/or modify it
* // under the terms of the MIT License; see LICENSE file for more details.
* SPDX-FileCopyrightText: 2024 CERN.
* SPDX-License-Identifier: MIT
*/

import React from "react";
Expand Down
7 changes: 2 additions & 5 deletions src/lib/elements/contrib/invenioRDM/records/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* // This file is part of React-Invenio-Forms
* // Copyright (C) 2024 CERN.
* //
* // React-Invenio-Forms is free software; you can redistribute it and/or modify it
* // under the terms of the MIT License; see LICENSE file for more details.
* SPDX-FileCopyrightText: 2024 CERN.
* SPDX-License-Identifier: MIT
*/

export {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: 2023-2025 CERN.
* SPDX-License-Identifier: MIT
*/

import React, { Component } from "react";
import PropTypes from "prop-types";
import { Image } from "../../../Image";
Expand Down
7 changes: 2 additions & 5 deletions src/lib/elements/contrib/invenioRDM/users/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/*
* // This file is part of React-Invenio-Forms
* // Copyright (C) 2023 CERN.
* //
* // React-Invenio-Forms is free software; you can redistribute it and/or modify it
* // under the terms of the MIT License; see LICENSE file for more details.
* SPDX-FileCopyrightText: 2023 CERN.
* SPDX-License-Identifier: MIT
*/

export { UserListItemCompact } from "./UserListItemCompact";
9 changes: 4 additions & 5 deletions src/lib/elements/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// This file is part of React-Invenio-Forms
// Copyright (C) 2022 CERN.
//
// React-Invenio-Forms is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.
/*
* SPDX-FileCopyrightText: 2022 CERN.
* SPDX-License-Identifier: MIT
*/

/**
* This folder contains general purpose reusable components.
Expand Down
10 changes: 5 additions & 5 deletions src/lib/forms/AccordionField.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// This file is part of React-Invenio-Forms
// Copyright (C) 2020-2026 CERN.
// Copyright (C) 2020 Northwestern University.
// React-Invenio-Forms is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.
/*
* SPDX-FileCopyrightText: 2020-2026 CERN.
* SPDX-FileCopyrightText: 2020 Northwestern University.
* SPDX-License-Identifier: MIT
*/

import _get from "lodash/get";
import isEmpty from "lodash/isEmpty";
Expand Down
11 changes: 5 additions & 6 deletions src/lib/forms/ArrayField.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// This file is part of React-Invenio-Forms
// Copyright (C) 2020-2021 CERN.
// Copyright (C) 2020-2022 Northwestern University.
//
// React-Invenio-Forms is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.
/*
* SPDX-FileCopyrightText: 2020-2021 CERN.
* SPDX-FileCopyrightText: 2020-2022 Northwestern University.
* SPDX-License-Identifier: MIT
*/

import React, { Component } from "react";
import PropTypes from "prop-types";
Expand Down
11 changes: 5 additions & 6 deletions src/lib/forms/BaseForm/BaseForm.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// This file is part of React-Invenio-Forms
// Copyright (C) 2020 CERN.
// Copyright (C) 2020 Northwestern University.
//
// React-Invenio-Forms is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.
/*
* SPDX-FileCopyrightText: 2020 CERN.
* SPDX-FileCopyrightText: 2020 Northwestern University.
* SPDX-License-Identifier: MIT
*/

import React, { Component } from "react";
import PropTypes from "prop-types";
Expand Down
11 changes: 5 additions & 6 deletions src/lib/forms/BaseForm/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// This file is part of React-Invenio-Forms
// Copyright (C) 2020 CERN.
// Copyright (C) 2020 Northwestern University.
//
// React-Invenio-Forms is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.
/*
* SPDX-FileCopyrightText: 2020 CERN.
* SPDX-FileCopyrightText: 2020 Northwestern University.
* SPDX-License-Identifier: MIT
*/

export { BaseForm } from "./BaseForm";
11 changes: 5 additions & 6 deletions src/lib/forms/BooleanField.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// This file is part of React-Invenio-Forms
// Copyright (C) 2020 CERN.
// Copyright (C) 2020 Northwestern University.
//
// React-Invenio-Forms is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.
/*
* SPDX-FileCopyrightText: 2020 CERN.
* SPDX-FileCopyrightText: 2020 Northwestern University.
* SPDX-License-Identifier: MIT
*/

import React, { Component } from "react";
import PropTypes from "prop-types";
Expand Down
11 changes: 5 additions & 6 deletions src/lib/forms/ErrorLabel.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// This file is part of React-Invenio-Forms
// Copyright (C) 2020 CERN.
// Copyright (C) 2020 Northwestern University.
//
// React-Invenio-Forms is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.
/*
* SPDX-FileCopyrightText: 2020 CERN.
* SPDX-FileCopyrightText: 2020 Northwestern University.
* SPDX-License-Identifier: MIT
*/

import { Field } from "formik";
import _get from "lodash/get";
Expand Down
8 changes: 4 additions & 4 deletions src/lib/forms/FeedbackLabel.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This file is part of React-Invenio-Forms
// Copyright (C) 2025 CERN.
// React-Invenio-Forms is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.
/*
* SPDX-FileCopyrightText: 2025 CERN.
* SPDX-License-Identifier: MIT
*/

import _get from "lodash/get";
import isEmpty from "lodash/isEmpty";
Expand Down
Loading
Loading