fix: wrong copyright years
Massimo Melina committed
Mar 12, 2022 at 11:28 UTC
872e59602896e6185d906affa358728bed2d5023
68 files changed
+70
-70
admin/src/AccountsPage.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { isValidElement, createElement as h, useState, useEffect, Fragment } from "react"
4
import { apiCall, useApi, useApiComp } from './api'
admin/src/App.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { createElement as h } from 'react'
4
import { BrowserRouter, Routes, Route, useLocation } from 'react-router-dom'
admin/src/ConfigPage.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { Box, Button, FormHelperText } from '@mui/material';
4
import { createElement as h, isValidElement, useEffect, useRef } from 'react';
admin/src/FileCard.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { state, useSnapState } from './state'
4
import { createElement as h, useEffect, useMemo, useState } from 'react'
admin/src/FilePicker.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { createElement as h, useEffect, useMemo, useState } from 'react'
4
import { useApi, useApiList } from './api'
admin/src/Form.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { createElement as h, FC, Fragment, isValidElement, ReactElement, useEffect, useState } from 'react'
4
import {
admin/src/HomePage.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { createElement as h, Fragment } from 'react'
4
import { Alert, Box, Link } from '@mui/material'
admin/src/MainMenu.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { createElement as h, FunctionComponent } from 'react';
4
import { List, ListItemButton, ListItemIcon, ListItemText, Typography } from '@mui/material'
admin/src/MenuButton.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import React, { createElement as h, useCallback } from 'react'
4
import { Button, Menu, MenuItem } from '@mui/material'
admin/src/MonitorPage.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import _ from "lodash"
4
import { isValidElement, createElement as h, useMemo, Fragment } from "react"
admin/src/PermField.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { Dict, useStateMounted } from './misc'
4
import { createElement as h, Fragment, isValidElement } from 'react'
admin/src/StringStringField.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { makeStyles } from '@mui/styles'
4
import { Dict } from './misc'
admin/src/VfsMenuBar.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { state, useSnapState } from './state'
4
import { createElement as h } from 'react'
admin/src/VfsPage.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { createElement as h, isValidElement, useEffect, useMemo, useState } from 'react'
4
import { useApiComp } from './api'
admin/src/VfsTree.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { makeStyles } from '@mui/styles'
4
import { state, useSnapState } from './state'
admin/src/addFiles.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { alertDialog, newDialog } from './dialog'
4
import { createElement as h } from 'react'
admin/src/api.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { createElement as h, ReactElement, useCallback, useEffect, useMemo, useRef } from 'react'
4
import { Dict, Falsy, getCookie, spinner, useStateMounted } from './misc'
admin/src/dialog.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { Box, Button, Dialog as MuiDialog, DialogContent, DialogTitle } from '@mui/material'
4
import {
admin/src/index.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { createElement as h, StrictMode } from 'react'
4
import ReactDOM from 'react-dom';
admin/src/md.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { createElement as h, Fragment } from 'react'
4
admin/src/misc.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { createElement as h } from 'react'
4
import { Box, CircularProgress, IconButton, Link, Tooltip } from '@mui/material'
admin/src/state.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { proxy, useSnapshot } from 'valtio'
4
import { Dict } from './misc'
admin/src/theme.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { createTheme, useMediaQuery } from '@mui/material'
4
import { useMemo } from 'react'
frontend/src/App.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { BrowserRouter, Route, Routes } from "react-router-dom"
4
import { createElement as h, Fragment } from 'react'
frontend/src/Breadcrumbs.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { Link, useLocation } from 'react-router-dom'
4
import { createElement as h, Fragment, ReactElement } from 'react'
frontend/src/BrowseFiles.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { Link, useLocation } from 'react-router-dom'
4
import { createElement as h, Fragment, memo, useEffect, useMemo, useState } from 'react'
frontend/src/Head.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { createElement as h, useMemo} from 'react'
4
import { formatBytes, hIcon, prefix } from './misc'
frontend/src/UserPanel.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { useSnapState } from './state'
4
import { createElement as h } from 'react'
frontend/src/api.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { useEffect, useState } from 'react';
4
import { Dict, Falsy, getCookie, working } from './misc'
frontend/src/components.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { hIcon } from './misc'
4
import { createElement as h, HTMLAttributes, ReactNode, useMemo } from 'react'
frontend/src/dialog.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { createElement as h, ReactElement, useEffect, useRef } from 'react'
4
import './dialog.css'
frontend/src/icons.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { state, useSnapState } from './state'
4
import { createElement as h, memo } from 'react'
frontend/src/index.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { createElement as h, StrictMode } from 'react';
4
import ReactDOM from 'react-dom';
frontend/src/login.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { apiCall, ApiError } from './api'
4
import { state } from './state'
frontend/src/menu.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { state, useSnapState } from './state'
4
import { createElement as h, useEffect, useState } from 'react'
frontend/src/misc.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { createElement as h } from 'react'
4
import { Spinner } from './components'
frontend/src/options.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { newDialog } from './dialog'
4
import { state, useSnapState } from './state'
frontend/src/state.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import _ from 'lodash'
4
import { proxy, useSnapshot } from 'valtio'
frontend/src/useFetchList.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { state, useSnapState } from './state'
4
import { useEffect, useRef } from 'react'
frontend/src/useTheme.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { state, useSnapState } from './state'
4
import { useEffect } from 'react'
server/src/QuickZipStream.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { Readable } from 'stream'
4
// @ts-ignore
server/src/ThrottledStream.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { Transform, TransformCallback } from 'stream'
4
import { TokenBucket } from 'limiter'
server/src/adminApis.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { ApiError, ApiHandlers } from './apiMiddleware'
4
import { getConfig, getWholeConfig, setConfig } from './config'
server/src/api.accounts.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { changePasswordHelper, changeSrpHelper } from './api.helpers'
4
import { ApiError, ApiHandlers } from './apiMiddleware'
server/src/api.auth.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { getAccount, getCurrentUsername, getFromAccount } from './perm'
4
import { verifyPassword } from './crypt'
server/src/api.file_list.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { cantReadStatusCode, getNodeName, hasPermission, urlToNode, VfsNode, walkNode } from './vfs'
4
import { ApiError, ApiHandler } from './apiMiddleware'
server/src/api.helpers.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { Account, saveSrpInfo, updateAccount } from './perm'
4
import { ApiError } from './apiMiddleware'
server/src/api.vfs.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { getNodeName, nodeIsDirectory, saveVfs, urlToNode, vfs, VfsNode } from './vfs'
4
import _ from 'lodash'
server/src/apiMiddleware.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { IncomingMessage } from 'http'
4
import Koa from 'koa'
server/src/config.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import EventEmitter from 'events'
4
import { argv } from './const'
server/src/connections.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { Socket } from 'net'
4
import events from './events'
server/src/const.ts
+2
-2
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import minimist from 'minimist'
4
import * as fs from 'fs'
@@ -26,7 +26,7 @@ export const IS_WINDOWS = process.platform === 'win32'
26
27
// we want this to be the first stuff to be printed, then we print it in this module, that is executed at the beginning
28
if (DEV) console.clear()
29
-console.log(`HFS ~ HTTP File Server - Copyright 2020-2021, Massimo Melina <a@rejetto.com>`)
29
+console.log(`HFS ~ HTTP File Server - Copyright 2021-2022, Massimo Melina <a@rejetto.com>`)
30
console.log(`License https://www.gnu.org/licenses/gpl-3.0.txt`)
31
console.log('started', HFS_STARTED.toLocaleString(), DEV)
32
console.log('version', VERSION||'-')
server/src/crypt.ts
+2
-2
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
// simple wrapper
4
// @ts-ignore
@@ -13,4 +13,4 @@ export async function verifyPassword(hashed: string, given: string) {
13
const i = hashed.indexOf(':')
14
assert(i>0, 'bad hashed')
15
return await pbkdf2Verify(hashed.slice(i+1), given) // for the time being we totally ignore the "method" part
16
-}
\ No newline at end of file
16
+}
server/src/events.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import EventEmitter from 'events'
4
server/src/frontEndApis.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { ApiHandlers } from './apiMiddleware'
4
import { file_list } from './api.file_list'
server/src/index.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import Koa from 'koa'
4
import mount from 'koa-mount'
server/src/listen.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import * as http from 'http'
4
import { defineConfig, getConfig, subscribeConfig } from './config'
server/src/log.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import Koa from 'koa'
4
import { Writable } from 'stream'
server/src/middlewares.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import compress from 'koa-compress'
4
import Koa from 'koa'
server/src/misc.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { EventEmitter } from 'events'
4
import fs from 'fs/promises'
server/src/perm.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import _ from 'lodash'
4
import yaml from 'yaml'
server/src/plugins.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import glob from 'fast-glob'
4
import { watchLoad } from './watchLoad'
server/src/serveFile.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import Koa from 'koa'
4
import { createReadStream, stat } from 'fs'
server/src/sse.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import Koa from 'koa'
4
import { PassThrough } from 'stream'
server/src/throttler.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { Readable } from 'stream'
4
import Koa from 'koa'
server/src/vfs.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import fs from 'fs/promises'
4
import { basename } from 'path'
server/src/watchLoad.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { FSWatcher, watch } from 'fs'
4
import fs from 'fs/promises'
server/src/zip.ts
+1
-1
@@ -1,4 +1,4 @@
1
-// This file is part of HFS - Copyright 2020-2021, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
1
+// This file is part of HFS - Copyright 2021-2022, Massimo Melina <a@rejetto.com> - License https://www.gnu.org/licenses/gpl-3.0.txt
2
3
import { getNodeName, hasPermission, nodeIsDirectory, urlToNode, VfsNode, walkNode } from './vfs'
4
import Koa from 'koa'