Git Product home page Git Product logo

crocofile's Introduction

Hi there 👋

I'm Andreas Gohr, welcome to my github profile. I'm a web developer and maker living in Berlin, Germany. You probably know me from my work on DokuWiki, but you'll find all kinds of other projects here. Check the links below to get started.

🔨 Check out what I'm currently working on

These are the projects I most recently worked on.

📜 My recent blog posts

I blog at splitbrain.org for nearly two decades now. Here is what I have published recently.

♥️️ These awesome people sponsor me (thank you!)

If you like what I'm doing, you can sponsor me on github. These fine people already do.

:octocat: All the statistics

github stats top languages

🐙 Octo-Ring

I'm a member of Octo-Ring - a webring (remember those?) for github user profiles. Because why wouldn't I?

crocofile's People

Contributors

chezinut avatar kossmac avatar mperry2 avatar splitbrain 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

crocofile's Issues

File uploaded but not in download...

Hello all,
I try to use this program in admin and the upload file work fine, but i don't see the the file for download...

This is knowed issue?

Thanks for your reponse.
And of course thanks for develop this tools ^^

Created ZIP files won't open with Mac OS X Archive Utility

This is a bit of an upstream issue, but since you are making changes to zipstream.php, I wanted to report it anyhow.

I have exactly the same issue with ZIP files created by Crocofile as reported here:
http://stackoverflow.com/questions/5573211/dynamically-created-zip-files-by-zipstream-in-php-wont-open-in-osx

That makes sense, of course, since he is also using zipstream.php

Interestingly, the Stackoverflow question reports a working solution (but no patch). If you're willing to consider the fix, and you need someone to test it out, let me know.

Delete file of another user not working

If I choose "work as" and select another user than me then i'm not able to delete files. I getting redirected to my user-page.

Apache says:
PHP Warning: unlink(/uploads//myuser/filename.odt&workas=another-user): No such file or directory in /var/www/crocofile/index.php on line 52, referer: http://upload.example.com/delete?workas=another-user

ZIP file generation timeout

Hi,

When my Crocofile directories get too big, the ZIP file download produces a corrupt (truncated) file. For example, I end up with a 103MB ZIP file while manually producing a zip file with ZipStream results in a 188MB file.

In the error log, I find:

PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /var/www/crocofile/inc/zipstream.php on line 372

After looking at the issue, I think it is probably best to disable timeout for ZIP files. This is only possible when not using safe mode.

===================================================================
--- index.php   (revision 24)
+++ index.php   (working copy)
@@ -38,6 +38,7 @@
         exit();
     case 'zip':
         require 'inc/zipstream.php';
+        ini_get('safe_mode') or set_time_limit(0);
         $zip = new ZipStream("$USER.zip",array('large_file_size'=>1024*1024));
         $files = glob($CONF->get('uploaddir').'/'.$USER.'/*');
         foreach($files as $file){

This resolves the problem for me.

Can't log in

Moved crocofile to a new server and can't login.

Am getting the login box but it does not accept my username/password.

Installed a fresh copy of crocofile on the server and attempted to login with admin/admin but am seeing the same behaviour.

Apache error log shows:

[Wed Jan 15 15:53:00 2014] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP       Notice:  Undefined index: Authorization in    /var/www/clients/client18/web24/web/fileshare/inc/HTTPDigest.php on line 88
[Wed Jan 15 15:53:00 2014] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Stack trace:
[Wed Jan 15 15:53:00 2014] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP   1. {main}() /var/www/clients/client18/web24/web/fileshare/index.php:0
[Wed Jan 15 15:53:00 2014] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP   2. HTTPDigest->authenticate() /var/www/clients/client18/web24/web/fileshare/index.php:8
[Wed Jan 15 15:53:00 2014] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP   3. HTTPDigest->getAuthHeader() /var/www/clients/client18/web24/web/fileshare/inc/HTTPDigest.php:126

filnames with plusses can't be donwloaded

Downloading a file with a plus character (+) in it fails with a file not found message.

Downloading as Zip doesn't work either, the resulting ZIP can't be extracted.

wish -- auto purging files

would be nice to have a purge timeout

button to set after 1 more download -- to keep file for ex. 1 more day
overall file lifespan ex 2 months

First login with "admin" "admin" fails

I have freshly uploaded the whole package, have configured the settings.conf.php according to the description and after calling the URL it gives me the HTTP login prompt and "admin" "admin" failes - the credential popup keeps on coming...
Any idea?

wish -- download token

Would be nice to have additionally to the users a second way to access a file
(token which possibly which can be renewed / changed)

like a url with token which can be emailed for download
instead of giving away the user and password

Upload fails

Installed Crocofile on a Cherokee Webserver over php/fpm. It works good except files won't be uploaded. The only Info from Crocofile I get is that the upload is failed.

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.