{"id":27646062,"url":"https://github.com/in2code-de/in2fileupload","last_synced_at":"2025-07-01T03:38:50.292Z","repository":{"id":222098167,"uuid":"753030601","full_name":"in2code-de/in2fileupload","owner":"in2code-de","description":"Is a TYPO3 file upload extension that allows the user to force certain metadata such as copyright to be set during the upload","archived":false,"fork":false,"pushed_at":"2024-04-30T13:21:58.000Z","size":210,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-04-24T01:16:06.503Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/in2code-de.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-05T10:32:27.000Z","updated_at":"2024-02-12T08:54:24.000Z","dependencies_parsed_at":"2024-02-15T07:26:27.201Z","dependency_job_id":"993838d1-3447-47a4-ba93-bf7f622a346a","html_url":"https://github.com/in2code-de/in2fileupload","commit_stats":null,"previous_names":["in2code-de/in2fileupload"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/in2code-de%2Fin2fileupload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/in2code-de%2Fin2fileupload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/in2code-de%2Fin2fileupload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/in2code-de%2Fin2fileupload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/in2code-de","download_url":"https://codeload.github.com/in2code-de/in2fileupload/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250540935,"owners_count":21447428,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-24T01:16:24.685Z","updated_at":"2025-04-24T01:16:25.170Z","avatar_url":"https://github.com/in2code-de.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# In2fileupload\n\nIs a TYPO3 extension that makes it possible to force the user to set metadata such as copyright when uploading.\n\n## Requirements\n\n* TYPO3 11.x\n* PHP 8.0\n\n## TypoScript configuration\n\n### Allowed file types (`settings.allowedFileTypes`)\n\nallows you to restrict the files that are uploaded to certain file formats (comma-separated list).\nPossible are wildcards `image/*`, or exact mime types `image/jpeg`, or file extensions `.jpg`\n\nsee: https://uppy.io/docs/uppy/#restrictions\n\n```typo3_typoscript\nmodule.tx_in2fileupload.settings.allowedFileTypes = image/*, .pdf\n```\n\n____\n\n### Meta field configuration (`settings.fieldConfiguration`)\n\nThe metadata fields that are displayed during the upload are configured here.\nIn addition, fields can also be defined here as mandatory fields which must then be filled in before the upload.\nIt is also possible to use your own defined fields in \"sys_file_metadata\" here. As long as these are defined in the TCA.\n\n```typo3_typoscript\nfieldConfiguration {\n    sys_file_metadata {\n        title {\n            required = 0\n            title = LLL:EXT:in2fileupload/Resources/Private/Language/Backend/locallang.xlf:title\n        }\n\n        description {\n            required = 0\n            title = LLL:EXT:in2fileupload/Resources/Private/Language/Backend/locallang.xlf:description\n            placeholder = LLL:EXT:in2fileupload/Resources/Private/Language/Backend/locallang.xlf:description.placeholder\n        }\n\n        copyright {\n            required = 1\n            title = LLL:EXT:in2fileupload/Resources/Private/Language/Backend/locallang.xlf:copyright\n        }\n    }\n}\n```\n**Options:**\n\n* required (0 or 1): defines if the configured meta field is required to be filled before upload\n* title (string or language key): the displayed title of the input field \n* placeholder (string or language key): the displayed placeholder of the input field\n\n\n### Duplication behaviour (`settings.duplicationBehaviour`)\n\nTYPO3 provides three options for the duplication behaviour.\nThis extension supports all three options.\n\n#### Options:\n\n##### rename [default]:\n\nappends a number to the end of the file name. Thus, for example, \"myFile.jpg\" becomes \"myFile_01.jpg\"\nThis is the current default bahaviour.\n\n##### replace:\n\nreplaces the already existing file and overrides the potentially already set metadata\n\n##### cancel:\n\nthe upload for this file is canceled\n\nThe duplication behaviour can be set via:\n\n```typo3_typoscript\nmodule.tx_in2fileupload.settings.duplicationBehaviour = rename\n```\n\n____\n\n## Events\n\nModifyModuleConfigurationEvent\nModifyFileMetaInformationEvent\nAfterUploadValidationEvent\n\n## External libraries\n\n### Uppy\n\nUppy is a sleek, modular open source JavaScript file uploader.\n\n- Website: https://uppy.io/\n- Documentation: https://uppy.io/docs/quick-start/\n\n## Known issues\n\n- there is currently no simple possible way to theme / style the uppy dashboard.\n\n### possible features for the future:\n\n- categorisation\n- fill fields of other tables\n- more events\n- localization of different backend language as \"de\" and \"en\"\n- code cleanup\n- option to set meta information for all uploaded files\n- prefill of meta fields\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fin2code-de%2Fin2fileupload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fin2code-de%2Fin2fileupload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fin2code-de%2Fin2fileupload/lists"}