Code Monkey home page Code Monkey logo

rodber / chevereto-free Goto Github PK

View Code? Open in Web Editor NEW
2.7K 94.0 497.0 50.65 MB

Self-hosted image sharing software, your own Flickr/Imgur with your very own rules. 👍 Go to chevereto/chevereto for newer Chevereto releases.

Home Page: https://chevereto.com

License: GNU Affero General Public License v3.0

PHP 58.90% CSS 10.59% JavaScript 29.96% Hack 0.39% HCL 0.01% Dockerfile 0.12% Shell 0.04%
gallery image-host image-hosting image-sharing image-sharing-website media-hosting media-sharing photo-gallery photo-gallery-application photo-management

chevereto-free's Introduction

Rodolfo Berrios

I'm the creator of Chevereto, xrDebug and the Chevere organization. I design and build custom systems from scratch, my speciality is in server-side software and database design. I build systems for the long term, with a strong focus in efficiency and high performance. I use my own low level tools and adapt to any technology.

I may be available for contract work, feel free to ask.

chevereto-ultimate-remix

chevereto-free's People

Contributors

bykidi avatar codfish246 avatar harshvardhanmalpani avatar rodber avatar schlaefer 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  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

chevereto-free's Issues

http 404 - install folder missing

If i try to install via the tar.gz package on my webserver, the index.php redirects me to mydomain.com/install . But the Install folder and its content is not included in the .tar.gz or .zip you released.

image

image

PHP7.2.3 integrity-check.php minor warning

I installed the latest version using the installer and I'm getting this warning in the error log.

PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/Chevereto-Free/app/lib/integrity-check.php on line 168"

It tell me have a update,but it's not.

Chevereto Free 1.0.0 to Chevereto 3.8.3 but can't update,because haven’t license key.
You don't revise the Free version on the check-update file or the update server.

is_writable() failing on NFS

I think I've encountered an issue very similar to this one:
nextcloud/server#13237
I am attempting to mount the images directory (using Docker) on an NFS share and I am certain that WWW-DATA can write to it but I'm failing the the check here. Do you think we could possibly explore a secondary check to get around this failing on NFS? I think this is a known issue with is_writable() on NFS shares. Thanks!

Image Formats (eg. Apple HEIC) and Movie/Videos ?

iOS has for years provided capability to shoot photos in HEIC format, is there a way I can enable uploads of this format?

Also, what about movie/video uploads, would this be a possibility? Many people shoot short movies these days on their phone and would like to share.

Unable to scroll on touch screens

Noticed there is a new drag to select feature in picture gallery, but seems this lead to scroll on mobile phone touch screen invalid.

I mean this~~~
image

Redirect to /install

I get auto redirect to folder /install, which doesn't exists. /app/install/installer.php gives error message:

This file cannot be directly accessed.

/install not found

Tried to install with a few configurations but keep having this message in the browser.

Could it be some configuration not specified or that I missed?

Blank pages after PHP 7.1 upgrade

Hi! Today i upgraded my PHP from 7.0 to 7.1 and now every chevereto page is blank, but pages title are still present.
Is chevereto 1.0.5 compatible with latest PHP at all?
Thanks.

deleted files using site are not being deleted

When deleting using /explore/recent with the bulk deleter, all of the files selected to be deleted no longer show up on the web interface, but are still in the image folders on the server
Would you also be so kind as to add a button or script to scan the image directory and remove lose files so that this is easier to clean up?
thank you

Question about the API (Duplicated upload)

When upload duplicated images, the V1 API will return:

{"status_code":400,"error":{"message":"Duplicated upload","code":101,"context":"Exception"},"status_txt":"Bad Request"}

In current stage, how can I get the image url through API even when they are duplicated?

embed / pup not redirecting or inserting into textarea.

chevereto version: docker image: nmtan/chevereto:1.1.3

Chevereto is running fine locally, it uploads images correctly, and the pup button displays and opens up a new browser window correctly. However after I upload, instead of filling my textarea, it just sends me to an "upload complete" page, giving me the wrong links. In another example here, it should correctly close the window and insert the chosen insert format into an open textarea.

I'm not sure if this has to do with the docker image, or a bad setting, but it doesn't fill the texarea.

html:

<textarea name={this.id} id={this.id} />
<script async src="http://localhost:8098/sdk/pup.js" data-url="http://localhost:8098/upload" data-auto-insert="markdown-embed-full" data-palette="green" data-target={`#${this.id}`}></script>

edit: I also checked and it does look like correct GUIDs are getting set on the textarea.

Scrolling broken on mobile

Upgraded from Chevereto free 1.0.9 to 1.0.10 and scrolling no longer works on mobile. Seems similar to this issue, except I'm using an iPhone. Scrolling does work when using 2 fingers. Have the same issue on multiple phones.

Disable and prevent drag drop

Hi, Currently Chevereto is equipped with a feature that prohibits the right click in order to prevent downloading an image protected by rights of actor. But we can very well download it by dragging it in the browser. So it would be interesting to add this function to make the system more complete.

Thanks You Very Much

Tag images

I'm trying to figure out how to tag an image. Right now, the title's are being indexed for searches, but it only indexes if the word is 4 characters or longer.

Is there a way to properly tag an image?

SVG logo displays wrong in edge

Before I talk about the issues I must say this is blooming awesome. one of my favourite self host apps to date.

But SVG logos display very oddly in edge

Edge: http://prntscr.com/godyo2
Chrome: http://prntscr.com/godyv3

SVG is a must as no matter how I do the raster logo I see jagged edges around the text where the browser is scaling it down to fit.

It appears to be a edge bug as it cant display SVG's without explicit width/height values on the img element. but that's kinda a pain.

Would it be possible to have edge failback to PNG instead of SVG as it works fine in other browsers. and it don't seem to be possible to set static width/height as it breaks the SVG display in ff/chrome

ping request taking very long

I just moved my Chevereto instance to a new server (debian, nginx/php-fpm/mariadb, I used the same tools on the previous one) and I see some strange behavior. On each page load, the browser (firefox) stalls for about 60 seconds on requests like this:
http://domain/?ping&r=f87c3448e04be01be535a53d7d7e2ea3

What are these requests and how can I optimize this? I don't recall noticing this on my old server, the new one is more powerful though, the load average rarely goes over 0.02

reproducible: always, my instance is publicly readable - http://puzzle.ck40.ovh

Uploading Images Issue

Hi,I have two issues. I'm having problems uploading images at my site. Whenever I upload GIFS from my Computer, it prompts me "Some files couldn't be added.".
Then the second issue is, after I upload the GIFs and get the error (I didnt clicked Exit afterwards), then immediately pasted an Image Url from Giphy and it works fine with my Direct Upload. So basically it duplicates my GIFS from my Upload and the Image Url. (I think it's a bug)

Details
My website is https://moecafe.us
I'm using Free Chevereto.
chmod 777 /content /images
chown -R root:root chevereto/
I'm using XAMPP.

about the location of calling js

sorry to disturb you,but here are some questions:(excuse for my poor English please)

i'm trying to find out where you call js(maybe 'call'.translated on bing),i need to put it on my github to use jsdelivr CDN,because it was so slow if i load it from my website

sample

i hope you can tell me where it call js so that i can change the url to what i want

thanks a lot

hope for your reply!

Install 404s

After extracting and setting up the permissions correctly, the install simply fails with:

Not Found

The requested URL /cheverato/install was not found on this server.

OS: Fedora 27, using Apache. SELinux enabled and httpd_sys_rw_content_t applied to all the dirs listed in the docs that need write.

[help]subdomain

Hi,
i want to make upload from example.ex/image/id to i.example.ex/id
is it possible?

Embed / PUP not inserting into textarea where cursor is Located.

Hi !!! rodolfoberrios ,
First off , Thanks for Chevereto-Free . 😍

Here's my Issue :
Say , I have a textarea with following text :

Text1

Text2
Text3

Now , I want to insert image after Text1 & before Text2 ,
so i move my cursor after Text1 like this :

Text1
|
Text2
Text3

assume the symbol | is location of my cursor.
Now , i click the Upload images button , then upload the image , it gets successfully uploaded...
Then, This is what I expect :

Text1
[img]https://demo.chevereto.com/images/2019/10/03/Lenna_test_image.png[/img]
Text2
Text3

But , This is what happens :

Text1

Text2
Text3
[img]https://demo.chevereto.com/images/2019/10/03/Lenna_test_image.png[/img]

So , what should I do , that the pup.js will insert at location of my cursor ???

Thanking you , Best regards 👍

Upload plugin not works with nodeBB 1.7.x

Not works even if i set data- value

<script async src="//demo.chevereto.com/sdk/pup.js" data-url="https://demo.chevereto.com/upload" data-vendor="nodebb" data-auto-insert="markdown-embed"></script>

删除exif的选项可能导致图片异常增大-include english

我使用tinypng压缩一遍图片后,上传到图床,发现照片大小从255KB上涨到了400KB,仔细排查发现在设置选项-图片上传-图像的Exif数据-选择删除必会出现该现象-而选择保留就会保证照片大小不变。使用的照片例子是:
照片 22.jpg
My English is not good, here is Google Translate:
Removing the exif option may cause the image to increase abnormally
I used tinypng to compress the image and upload it to the map bed. I found that the photo size has increased from 255KB to 400KB. Carefully check that the setting option - image upload - image Exif data - select delete will appear this phenomenon - and choose to keep it Keep the photo size the same. An example of a photo used is:

Image upload size limit ignores php.ini settings

Hello,

I'm running Chevereto-Free from the docker image, and added a custom php.ini to increase the file upload size limits. I set:

upload_max_filesize = 100M;
post_max_size = 100M;
max_execution_time = 120;
memory_limit = 512M;

When I login as the admin user, and go to the Dashboard, these settings are reflected in the information displayed there. However, when I attempt to upload a photo over 2MB in size, there is a white banner at the top of the page, with JPG PNG BMP GIF 2 MB in the top-left corner, and the upload fails with the message, "DSC09008.JPG - File too big.".

Where else should the file size limits be set?

Many thanks

Security issue in sharing function!

Hello! (and sorry for my english - not my native...)

I have an album with access by link.
And i have sevaral images in it. So, i think if i want to share whole album i sent link on it and if i want to share only 1 image i sent link only on this image.

But!

When i share image link and try to open it (not loged in) i can see all contents on album where this image locates but i share only image not a whole album! why so?

I think that should not be like this.

Congratulation

Wahoo your script is gorgeous, your job is very rare to find like that elsewhere. Bravo bravo is meci for this magnificent work.
Thank you very much.

Wrong usage of Day, Days (few), Days (multiple) in Russian localization

1
После 5 минут - Correct
После 30 минут - Correct
После 1 час - Correct
После 2 часа - Correct
После 6 часов - Correct
После 12 часов - Correct
После 1 день - Correct
После 2 дня - Wrong

Should be like this:
Через 5 минут - Correct
Через 30 минут - Correct
Через 1 час - Correct
Через 2 часа - Correct
Через 6 часов - Correct
Через 12 часов - Correct
Через 1 день - Correct
Через 2 дня - Correct

The maximum file upload size problem

I modified PHP setting of upload_max_filesize and post_max_size at PHP.ini. And in the dashboard/settings/image-upload page, the system says:

"Maximum size allowed by server is 60 MB. This limit is capped by upload_max_filesize = 60000000 and post_max_size = 60000000 (php.ini values)."

When I change the Maximum upload file size to 60MB, it works. And the "upload_max_filesize_mb" value in "chv_settings" table also changed into "60". But a moment later, the value changes back to "2", and I cannot upload a file that large then 2MB.

How can I configure maximum file upload size?

Update Problem (1.0.11)

Following error i get after the update:

Fatal error: app/install is outdated. You need to re-upload app/install folder with the one from Chevereto 1.0.11

I also re-uploaded the app/install folder.
The dashboard says: Chevereto Free:1.0.11 (1.0.10 DB)

Upload using Curl / wget

Hey I am interested in the paid version. But I want to know if it's possible to upload via curl or wget and get the URL back as response?

SMTP settings

How do we configure the SMTP settings? The official docs say that it's in the web interface, but I do not see E-mail server settings there when logged in as the admin user.

404 install not found

Hello,
Can't install Chevereto..
Tried with web installer and unziping lastest release but "install" dir or file is missing...

Am I missing something ?

Image upload size limit ignores php.ini settings

I installed Chevereto using:

Ubuntu 18.04 LTS
Apache/2.4.29 (Ubuntu)
mysql Ver 14.14 Distrib 5.7.29, for Linux (x86_64) using EditLine wrapper
PHP v7.3.17-1

The limit of uploading images is 2M and I would like to have larger images.

However I changed /etc/php/7.3/fpm/php.ini but nothing happened. The limit showed on the dashboard is still 2M.

What I've changed:

upload_max_filesize = 100M;
post_max_size = 100M;
max_execution_time = 300;
memory_limit = 256M;

I have seen this issue #53 , but I am not familiar with mysql so I don't know what should be done to change the image size limit.

Could anybody help me deal with it?

Thank you!

HTTP 500 by first site visit

I have a problem with the upgrade from chevereto free 1.0.9 to latest 1.0.10
Everything is working fine, but if i upgrade to 1.0.10 every time i restart the browser and go to my-domain.de/chevereto i get a blank page with HTTP 500. When i press F5 chevereto loads normal. Tried Firefox/Chrome/IE. Its always the same problem. Went back to 1.0.9 and all is ok.

Did the update again, and the problem is there again. Only HTTP 500 when i first visit the webpage. I have a nginx reverse proxy, but even when i directly go to the server with ip/chevereto the problem is there.. its a standard debian 9/apache/php/mariadb with latest package versions.

On version 1.0.9 there is not such a problem?

Blank pages after install Chevereto-Free 1.0.7

after i install (Chevereto Free) 1.0.7 on my site i have aproblem with greate account .. after i add eamil address ,username ,password to signup i got aBlank pages ,,,if i reflash the page i got (this eamil is used) ..so i try to resend eamil activat but after i add eamil i used to singup i got aBlank pages again !!!!!

i try to install (Chevereto Free) 1.0.7 many time but evry time i have same problem

can any one help me about that ??

PHP 7.2.2 Compatibility ?

Hello is your script compatible with the latest version of PHP (Current Stable PHP 7.2.2)

Thanks for your answer

Set Quota per User

Hello,
I would like to know, whether it were possible to set a maximum quota per user?

Thanks

Support Ambiguous Characters for Admin Password

Chevereto-Free currently doesn't support ambiguous characters (any length?) in the user password. I tried length 35 and up, none worked. So perhaps there is a limitation in the length and actually not an issue with support for ambiguous characters? I have not looked at the code, yet.

Either way, if there is no support for ambiguous characters then consider adding support for it, or if there is a limitation in the length of the password (e.g 25 characters, or whatever), then consider increasing this limit to a higher number. I try not to use a password which is less than 25 characters unless I am forced to do so for whatever reason.

Best wishes,
-k0nsl

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.