Giter VIP home page Giter VIP logo

photo / frontend Goto Github PK

View Code? Open in Web Editor NEW
1.4K 63.0 245.0 24.95 MB

The official @github repository of the Trovebox frontend software. A photo sharing and photo management web interface for data stored "in the cloud" (i.e. Amazon S3, Rackspace CloudFiles, Google Storage).

Home Page: https://trovebox.com

License: Apache License 2.0

PHP 38.88% JavaScript 47.89% CSS 13.17% HTML 0.01% Shell 0.05%

frontend's Introduction

Build Status

What is Trovebox?

Trovebox is software that helps you manage, organize and share photos. It includes web and mobile apps for Android and iOS. The goal of Trovebox is to be software which people love to use and helps them preserve their digial media files.

The development of Trovebox was in large part funded by the Shuttleworth Foundation through a fellowship grant.

Install Trovebox in under 3 minutes

# Installing Trovebox on Ubuntu and Apache
# Run this from the command line as root.
# As always, view any script before running it ;).

curl https://raw.githubusercontent.com/photo/frontend/master/documentation/guides/InstallationUbuntuApache.sh | /bin/bash

Trovebox UI

Photos by Duncan Rawlinson


How does Trovebox work?

Trovebox works similarly to Flickr or Smugmug. We've focused on making sure that the design, UI and UX is as good as our commercial alternatives. You can upload, view and share photos through the web or by using our mobile apps.

Unlike most services you can install Trovebox on your own server and connect it to cloud storage services like Dropbox or Amazon S3. We wanted to make FOSS software that's as good as what the commercial sites offer without having to give up privacy.


Why should I use Trovebox?

While Trovebox functions like many existing services it's drastically different for several reasons.

  1. Ownership Users can specify where their photos are stored. By default they are seamlessly stored in your [Amazon S3][s3] bucket.
  2. Built in backups Since you upload photos to your own [Amazon S3][s3] bucket it's like uploading and archiving your photos in one step.
  3. Portability Easily start off by signing up for a hosted Trovebox account and later switch to hosting the software yourself. There's no need to transfer your photos somewhere else since it's federated. It's like plug and play.
  4. Durability Your photos are not tied to any particular photo service. Because everything is open you can write your own web interface for your photos, choose between Trovebox hosting providers or install the Trovebox software on your own server.
  5. Community New features will be entirely community driven. Features with the most votes will get top priority in getting implemented. If you want a feature that doesn't have many votes you can implement it yourself and issue a pull request.

frontend's People

Contributors

alpha1 avatar awafaa-zz avatar bmillemathias avatar cedricbonhomme avatar cpfeiffer avatar cryptomilk avatar danieljames avatar erudianart avatar fabrizim avatar garethgreenaway avatar gibbonweb avatar hfiguiere avatar ioggstream avatar jayniz avatar jmathai avatar jordanbrock avatar khornschemeier avatar nicokaiser avatar omwah avatar oscherler avatar pad92 avatar pas256 avatar patricksan avatar pixelistik avatar samrocketman avatar sneakypete81 avatar stevenbullen avatar sushimustwrite avatar till avatar walkah 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

frontend's Issues

A plugin framework to extend functionality

There needs to be a framework to (in a sane manner) extend functionality via plugins.


From a Kickstarter comment:

Hey,
Just forked the latest source and got it working, everything seems very nice and smooth.
I try not to comment on anything functionality related as it's a very alpha stage - but I'd like to ask something that came to me from a comment made around albums.

I understand that people like to categorize photos differently.

  • You Jaisen and others by tags.
  • Other users by albums that they manage manually.
  • I like my pics automatically added to albums by their "date taken" and these albums named according to the date and "gps location".
  • Random dude might want to have instant albums based on tags, date and person on photo.

By no means I expect that everyone's crazy idea should be even considered - but - what if we could allow users to help each other?

  • Plugins...
    Photo viewer plugins for example.
  • Tags
  • Albums
  • Datetime
  • Some random EXIF or meta tag.
  • All of the above

Photo uploader plugins.

  • Automatically organize uploaded pic according to something?
  • Reverse GPS location and add street name to description?
  • Face recognition?
  • Automatically crop/resize/add-yellow-dots-to-image...

Anything goes.

The reason why I'm suggesting such an approach is that people WILL hack the source (I have already started) to add functionality they want for themselves.
Why not allow them to do it in a orderly fashion and help other non-developers to benefit from it?

Thanks for a great app and sorry for ranting. xD
George aka geoah.

photo without exif produce a Warning in a /photo/$id page

Ifyou upload a photo without date (a screenshot for instance) the following message is displayed instead of the date
Warning: date() expects parameter 2 to be long, string given in /srv/www/photosstore/src/libraries/models/Utility.php on line 6

.json requests return Content-Type: text/html instead of Content-Type: application/json

I think it should return

Content-Type: application/json;charset=utf-8

when asking for .json.

Here is how it looks now:

curl -v http://current.openphoto.me/photos.json
* About to connect() to current.openphoto.me port 80 (#0)
*   Trying 173.255.221.13... connected
* Connected to current.openphoto.me (173.255.221.13) port 80 (#0)
> GET /photos.json HTTP/1.1
> User-Agent: curl/7.21.2 (x86_64-apple-darwin10.5.0) libcurl/7.21.2 OpenSSL/1.0.0d zlib/1.2.5 libidn/1.19
> Host: current.openphoto.me
> Accept: */*
> 
< HTTP/1.1 200 OK
< Date: Mon, 08 Aug 2011 04:28:12 GMT
< Server: Apache/2.2.17 (Ubuntu)
< Set-Cookie: sessid=r2p8ogm8tmu5d18vnaanv2ot35; path=/
< Expires: Thu, 19 Nov 1981 08:52:00 GMT
< Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
< Pragma: no-cache
< Vary: Accept-Encoding
< Transfer-Encoding: chunked
< Content-Type: text/html
< 
{"message":"Successfully retrieved user's photos","code":200,"result":[{"tags":[],
...

Having some trouble running for the first time... (without opting in for simpleDb)

I'm getting the following warning:

PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in /var/www/openphoto/src/libraries/external/epi/EpiRoute.php on line 107, referer: http://[site_name]/?m=welcome

This leads to a broken "image" on the photos screen that when clicked throws the following:

An error occurred and you have exceptions disabled so we're displaying the information. To turn exceptions on you should call: Epi::setSetting('exceptions', true);.
File: /var/www/openphoto/src/libraries/external/epi/EpiRoute.php
Line: 159
Message: Could not find route /photo/ from /photo/
Stack trace: #0 /var/www/openphoto/src/libraries/external/epi/EpiRoute.php(105): EpiRoute->getRoute('/photo/', 'GET')
#1 /var/www/openphoto/src/html/index.php(28): EpiRoute->run()
#2 {main}

Any help would be appreciated...getting excited about this!

Setup folder/perms/imagick check behavior and errors.

SetupController doesn't show correct errors.
SetupController confuses Imagick missing with folder permission error and doesn't warn that Imagick doesn't exist.

Will submit a pull request for this fix if I may. :)

Option to disallow duplicate photos.

Option (or plugin) to check the md5/sha1 sum of the photo being uploaded with the photos db table to verify that the photo has not been uploaded again.

spaces in tags get removed

Tag::sanitize() remove the spaces from the tags, turning multi-word tags to one word.

I don't know if it is a mistake or by design, but this is wrong IMHO.

Also I'm sure this might break in non latin scripts (or worse, non-ASCII)

Warning "Division by zero" displayed on tag page

I have the following message displayed on top of the page /tags
Warning: Division by zero in /srv/www/photosstore/src/libraries/models/Tag.php on line 63 Warning: Division by zero in /srv/www/photosstore/src/libraries/models/Tag.php on line 63 Warning: Division by zero in /srv/www/photosstore/src/libraries/models/Tag.php on line 63 Warning: Division by zero in /srv/www/photosstore/src/libraries/models/Tag.php on line 63 Warning: Division by zero in /srv/www/photosstore/src/libraries/models/Tag.php on line 63
It seems the number of warning is dependant of the number of tags (I have 5 tags).
Revision: git snapshot of today
webserver: cherokee 1.2.98
php: mode fpm, version 5.3.5

Search broken

  1. Viewed the current state at http://current.openphoto.me/

  2. Tried "Search" for "cat" (since I could see that one of the photos on the home page was a cat

  3. result was at http://current.openphoto.me/photos/tags-cat with the text:

An error occurred and you have exceptions disabled so we're displaying the information. To turn exceptions on you should call: Epi::setSetting('exceptions', true);.
File: /www/openphoto.me/current/src/libraries/external/epi/EpiRoute.php
Line: 159
Message: Could not find route /photo/ from /photo/
Stack trace: #0 /www/openphoto.me/current/src/libraries/external/epi/EpiRoute.php(105): EpiRoute->getRoute('/photo/', 'GET')
#1 /www/openphoto.me/current/src/html/index.php(28): EpiRoute->run()
#2 {main}

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.