Giter Club home page Giter Club logo

digidocu's People

Contributors

dependabot[bot] avatar devraghvendra avatar esidate avatar harish81 avatar ranjeetmali avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

digidocu's Issues

PackageManifest.php

In PackageManifest.php line 122:

Undefined index: name

I could not install php artisan migrate

Undefined offset

Hello, hope you are well, so when i try to see a file that i've uploaded in a folder, this error message appears
Please can you help ?
I use : Laravel Framework 6.20.32
PHP 7.2.33
error

files not uploading

"message": "Method Illuminate\Validation\Validator::validateFiles does not exist.",
"exception": "BadMethodCallException",
"file": "D:\wamp64\www\digidocument\vendor\laravel\framework\src\Illuminate\Validation\Validator.php",
"line": 1197,

composer install error

Details

composer install
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

Problem 1
- ezyang/htmlpurifier is locked to version v4.16.0 and an update of this package was not requested.
- ezyang/htmlpurifier v4.16.0 requires php ~5.6.0 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 -> your php version (8.3.3) does not satisfy that requirement.
Problem 2
- nette/schema is locked to version v1.2.3 and an update of this package was not requested.
- nette/schema v1.2.3 requires php >=7.1 <8.3 -> your php version (8.3.3) does not satisfy that requirement.
Problem 3
- nette/utils is locked to version v4.0.0 and an update of this package was not requested.
- nette/utils v4.0.0 requires php >=8.0 <8.3 -> your php version (8.3.3) does not satisfy that requirement.
Problem 4
- nette/schema v1.2.3 requires php >=7.1 <8.3 -> your php version (8.3.3) does not satisfy that requirement.
- league/config v1.2.0 requires nette/schema ^1.2 -> satisfiable by nette/schema[v1.2.3].
- league/config is locked to version v1.2.0 and an update of this package was not requested.

Can you bump de composer.json reqs?

System installation failures in laravel 8 even after the downgrade.

Below is the code snippet.
PHP Warning: require(/opt/lampp/htdocs/Projects/digidocu/vendor/composer/../../tests/Database/stubs/MigrationCreatorFakeMigration.php): Failed to open stream: No such file or directory in /opt/lampp/htdocs/Projects/digidocu/vendor/composer/autoload_real.php on line 53
PHP Fatal error: Uncaught Error: Failed opening required '/opt/lampp/htdocs/Projects/digidocu/vendor/composer/../../tests/Database/stubs/MigrationCreatorFakeMigration.php' (include_path='.:/usr/share/php') in /opt/lampp/htdocs/Projects/digidocu/vendor/composer/autoload_real.php:53
Stack trace:
#0 /opt/lampp/htdocs/Projects/digidocu/vendor/composer/autoload_real.php(36): composerRequire636fc3f4144d3af8a3fe0337b136f7ab()
#1 /opt/lampp/htdocs/Projects/digidocu/vendor/autoload.php(12): ComposerAutoloaderInit636fc3f4144d3af8a3fe0337b136f7ab::getLoader()
#2 /opt/lampp/htdocs/Projects/digidocu/artisan(18): require('...')
#3 {main}
thrown in /opt/lampp/htdocs/Projects/digidocu/vendor/composer/autoload_real.php on line 53
I tried to change to the auto the auto load file as well to accomodate the files as listed here
"autoload": {
"files": [

        "app/Helpers/helpers.php"
    ],

Here is my JSON file
{
"name": "laravel/framework",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"homepage": "https://laravel.com",
"support": {
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
"authors": [
{
"name": "Taylor Otwell",
"email": "[email protected]"
}
],
"require": {
"php": "^8.0.2",
"ext-mbstring": "",
"ext-openssl": "
",
"doctrine/inflector": "^2.0",
"dragonmantank/cron-expression": "^3.1",
"egulias/email-validator": "^3.1",
"fruitcake/php-cors": "^1.2",
"laravel/serializable-closure": "^1.0",
"league/commonmark": "^2.2",
"league/flysystem": "^3.0.16",
"monolog/monolog": "^2.0",
"nesbot/carbon": "^2.53.1",
"nunomaduro/termwind": "^1.13",
"psr/container": "^1.1.1|^2.0.1",
"psr/log": "^1.0|^2.0|^3.0",
"psr/simple-cache": "^1.0|^2.0|^3.0",
"ramsey/uuid": "^4.2.2",
"symfony/console": "^6.0.3",
"symfony/error-handler": "^6.0",
"symfony/finder": "^6.0",
"symfony/http-foundation": "^6.0",
"symfony/http-kernel": "^6.0",
"symfony/mailer": "^6.0",
"symfony/mime": "^6.0",
"symfony/process": "^6.0",
"symfony/routing": "^6.0",
"symfony/var-dumper": "^6.0",
"tijsverkoyen/css-to-inline-styles": "^2.2.2",
"vlucas/phpdotenv": "^5.4.1",
"voku/portable-ascii": "^2.0"
},
"replace": {
"illuminate/auth": "self.version",
"illuminate/broadcasting": "self.version",
"illuminate/bus": "self.version",
"illuminate/cache": "self.version",
"illuminate/collections": "self.version",
"illuminate/conditionable": "self.version",
"illuminate/config": "self.version",
"illuminate/console": "self.version",
"illuminate/container": "self.version",
"illuminate/contracts": "self.version",
"illuminate/cookie": "self.version",
"illuminate/database": "self.version",
"illuminate/encryption": "self.version",
"illuminate/events": "self.version",
"illuminate/filesystem": "self.version",
"illuminate/hashing": "self.version",
"illuminate/http": "self.version",
"illuminate/log": "self.version",
"illuminate/macroable": "self.version",
"illuminate/mail": "self.version",
"illuminate/notifications": "self.version",
"illuminate/pagination": "self.version",
"illuminate/pipeline": "self.version",
"illuminate/queue": "self.version",
"illuminate/redis": "self.version",
"illuminate/routing": "self.version",
"illuminate/session": "self.version",
"illuminate/support": "self.version",
"illuminate/testing": "self.version",
"illuminate/translation": "self.version",
"illuminate/validation": "self.version",
"illuminate/view": "self.version"
},
"require-dev": {
"aws/aws-sdk-php": "^3.198.1",
"doctrine/dbal": "^2.13.3|^3.1.4",
"fakerphp/faker": "^1.9.2",
"guzzlehttp/guzzle": "^7.2",
"league/flysystem-aws-s3-v3": "^3.0",
"league/flysystem-ftp": "^3.0",
"league/flysystem-sftp-v3": "^3.0",
"mockery/mockery": "^1.4.4",
"orchestra/testbench-core": "^7.1",
"pda/pheanstalk": "^4.0",
"phpstan/phpstan": "^1.4.7",
"phpunit/phpunit": "^9.5.8",
"predis/predis": "^1.1.9|^2.0",
"symfony/cache": "^6.0"
},
"provide": {
"psr/container-implementation": "1.1|2.0",
"psr/simple-cache-implementation": "1.0|2.0|3.0"
},
"conflict": {
"tightenco/collect": "<5.5.33"
},
"autoload": {
"files": [

        "app/Helpers/helpers.php"
    ],
    "psr-4": {
        "Illuminate\\": "src/Illuminate/",
        "Illuminate\\Support\\": [
            "src/Illuminate/Macroable/",
            "src/Illuminate/Collections/",
            "src/Illuminate/Conditionable/"
        ]
    }
},
"autoload-dev": {
    "files": [
        "tests/Database/stubs/MigrationCreatorFakeMigration.php"
    ],
    "psr-4": {
        "Illuminate\\Tests\\": "tests/"
    }
},
"extra": {
    "branch-alias": {
        "dev-master": "9.x-dev"
    }
},
"suggest": {
    "ext-bcmath": "Required to use the multiple_of validation rule.",
    "ext-ftp": "Required to use the Flysystem FTP driver.",
    "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().",
    "ext-memcached": "Required to use the memcache cache driver.",
    "ext-pcntl": "Required to use all features of the queue worker.",
    "ext-posix": "Required to use all features of the queue worker.",
    "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0).",
    "ably/ably-php": "Required to use the Ably broadcast driver (^1.0).",
    "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage, and SES mail driver (^3.198.1).",
    "brianium/paratest": "Required to run tests in parallel (^6.0).",
    "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.13.3|^3.1.4).",
    "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).",
    "filp/whoops": "Required for friendly error pages in development (^2.14.3).",
    "guzzlehttp/guzzle": "Required to use the HTTP Client and the ping methods on schedules (^7.2).",
    "laravel/tinker": "Required to use the tinker console command (^2.0).",
    "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^3.0).",
    "league/flysystem-ftp": "Required to use the Flysystem FTP driver (^3.0).",
    "league/flysystem-sftp-v3": "Required to use the Flysystem SFTP driver (^3.0).",
    "mockery/mockery": "Required to use mocking (^1.4.4).",
    "nyholm/psr7": "Required to use PSR-7 bridging features (^1.2).",
    "pda/pheanstalk": "Required to use the beanstalk queue driver (^4.0).",
    "phpunit/phpunit": "Required to use assertions and run tests (^9.5.8).",
    "predis/predis": "Required to use the predis connector (^1.1.9|^2.0).",
    "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).",
    "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^6.0|^7.0).",
    "symfony/cache": "Required to PSR-6 cache bridge (^6.0).",
    "symfony/filesystem": "Required to enable support for relative symbolic links (^6.0).",
    "symfony/http-client": "Required to enable support for the Symfony API mail transports (^6.0).",
    "symfony/mailgun-mailer": "Required to enable support for the Mailgun mail transport (^6.0).",
    "symfony/postmark-mailer": "Required to enable support for the Postmark mail transport (^6.0).",
    "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^2.0)."
},
"config": {
    "sort-packages": true,
    "allow-plugins": {
        "composer/package-versions-deprecated": true
    }
},
"minimum-stability": "dev",
"prefer-stable": true

}
Its pretty long but i really a debug for this
PS: My terminal is using php version 8.1.9
Laravel version 9

Document viewing produces PHP error if "Permissions management User" is not enabled for the User

Version: 1.0.1

When attempting to view a Document as a regular user with valid read permissions, a PHP error occurs with a callback to /app/Http/Controllers/DocumentController.php, in a function called view().

if (auth()->user()->can('user manage permission')) {
$users = User::where('id', '!=', 1)->get();
$thisDocPermissionUsers = $this->permissionRepository->getUsersWiseDocumentLevelPermissionsForDoc($document);
//Tag Level permission
$tagWisePermList = $this->permissionRepository->getTagWiseUsersPermissionsForDoc($document);
//Global Permission
$globalPermissionUsers = $this->permissionRepository->getGlobalPermissionsForDoc($document);
}
return view('documents.show', compact('document', 'missigDocMsgs', 'users', 'thisDocPermissionUsers', 'tagWisePermList', 'globalPermissionUsers'));

Since the code snippet included the permissions management for Documents, I enabled it for the User. The Document could then be viewed by their account without problems. However, since the permissions management is toggleable, it should either be on by default to prevent the error from appearing, or the view should not render the permissions tab at all if permission management is not allowed for the User.

Language

its not in English the system please help with the English Version

login

I followed instructions step by step, landing page works fine, when I press login button it brings "The requested URL was not found on this server."

Button Upload doesn't work

Hello, I'm having an issue with the button Upload, when i click it , the page '404 page not found' appears
Uploading 404.PNG…

create document route issue

I have checked that the router for create document , do not existed
to upload the document, i tried to figure out and understand the code to fix it out.

<script> function gotoUpload() { var docId = $("#document_id").val(); var urlToUp = "{{route('documents.files.create', '')}}"+"/"+docId; console.log(urlToUp); window.location.href = urlToUp; return false; } ========================https://github.com/harish81/digidocu/blob/master/app/Http/Controllers/DocumentController.php ====================== public function create() { $this->authorize('create', Document::class); $tags = $this->tagRepository->all(); $customFields = $this->customFieldRepository->getForModel('documents'); return view('documents.create', compact('tags', 'customFields')); } ======================================================== https://github.com/harish81/digidocu/blob/master/routes/web.php ==========================================================

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.