No description
Find a file
Marco Gallardo 4aab8762fa Locator feature
added marker image for publisher, showing div for address, and added
functionality to close it when clicking 'X' image

showing marker image in publisher

renamed map-marker to locator

fixed style for map marker image in publisher

added locator.js to get user's location

loading google maps api

removed unecessary append and showing location next to publisher

moved location address inside div and  added image to close location

styled div location address an image to close location

removing location when clicking close image

cleaned code

cleaned code

showing loader while location is being obtained, translated normal js to
backbone structure, created locations db stuff, and removing location
div when clicking 'share'

refactored code; started to move code to backbone

refactored js code; moving functionality to backbone structure

created address function to make accessible address variable value

refactored locator.js

showing and removing location div from dom

created location; it belongs_to status_message

added location model and created association with status_message

added hidden field for location address and added respective code on js files to retrieve it on ajax call

saving location for status_message (post)

removing location when sharing

renamed locator backbone view to location, added template, showing
location, and saving lat and lng

prepared and added template to show location

added location to post model in order to have it accessible in backbone

retrieving location to show it in template

removed console.log XD

fixes when removing location

cleanind location_address hidden field when location is removed

more fixes; showing location when sharing

saving location just when it exists

created method to retrieve location address just when location was created

fixed issue about showing 'Near from' message when there was not any location

added style for location

cleaned code

renamed locator view

retrieving lat and lng from locator.js

saving lat and lng in location_coords

saving lat and lng

added style for input location_address

removed location_address  hidden field; the value will be taken directly from input with the location

replaced div with location for input; the user will be able to edit the place

avoiding submitting the form when pressing Enter key on new input for location

added missed spec file for location model

refactored location_view code

refactored location_view code

cleaned code

added sinon library for testing

added describes for new publisher's view functions

created test for destroyLocation function

added test for showLocation publisher view function

created test for avoidEnter publisher view function

removed unnecessary div

Created first test for locations view, added more specs, added Sinon.js,
and fixed issue with assets

loading locator.js for tests

moved location stuff to app/assets

moved locator.js and sinon.js to app/assets

fixed route for images

included locator.js to assets

fixed issue when post object is different than StatusMessage; also fixed issue with lat and lng

loading Sinon for specs

refactoring locator errorGettingposition and start replacing google maps stuff with OSM

added OpenLayers JS, osmlocator, and added them into the main js

changing the locator from Google to OSM instance

changing lat and lng value in the backbone view

removing google javascript tag in application layout

adding jasmine to locator test and removed locator.js

adding jasmine to locator test using OSM

adding Jasmine test to OSM locator

removed locator.js

removed require locator and updated schema

fixed js response; added location

since we are using OSM Locator we don't need locator-spec test

fixed spec for location view; we are not using google maps anymore

changed description of osmlocator-spec

fixed issue with status-message-location template

fixed style for location_address textbox

fixed tests for locator

moved split function to model

created test for location model

removed puts

added effect for location marker

added translations for locator

removed conflicting-unnecessary lines that were loading files for specs

removed sinon library; using sinon-rails gem

removed useless code

removed puts; added Rails.logger.error

added sinon.js file

added specific version of sinon-rails gem

improving validations sintax

using openlayers-rails gem

removed 'google API' text

using sinon gem

isolating LocationStream view

refactored validation

getting location when post is a Reshare

refactored code

fixed aligment for elements under location message

improved styling for location message

refactored begin-rescue block

getting absolute root instead of just the root

added address method to retrive address of location

removed code from Post model; also added descriptinon why it was removed

removed validation when retrieving address; with latest refactorizations we dont need them any more

interpolated location; using file in locales

fixed width for div of location

moved Sinon gem into development and test group

fixed method's description

added missed indexes

updated schema with locations table

removed openlayers-rails gem

preventing location to be saved if there are not coordinates

fixed spec; wrong closing tag
2013-05-02 17:31:53 -05:00
app Locator feature 2013-05-02 17:31:53 -05:00
config Locator feature 2013-05-02 17:31:53 -05:00
db Locator feature 2013-05-02 17:31:53 -05:00
features Fix reactions link on mobile broken 2013-04-25 13:55:57 +02:00
graphics DG RY; moved actions to the bottom of the show pages; fixed arrows 2012-02-21 15:23:28 -08:00
lib Bye Resque. Ohai Sidekiq. 2013-03-21 23:39:07 +01:00
public Update and refactor default public view, close #3811 2013-01-07 18:04:51 +01:00
script refactor install script 2013-05-01 14:01:11 +02:00
spec Locator feature 2013-05-02 17:31:53 -05:00
vendor/assets/javascripts Add the ability to upload photos from the mobile site 2013-02-26 23:25:58 +01:00
.foreman Bye Resque. Ohai Sidekiq. 2013-03-21 23:39:07 +01:00
.gitignore added sprites to .gitignore 2013-03-15 16:10:34 +01:00
.pairs for now, check in index as a flat file 2011-11-14 17:16:13 -08:00
.powenv MS DC; admins are now always redirected to new profile 2012-04-24 18:39:09 -07:00
.powrc add poduptime asset 2012-08-19 17:34:33 -07:00
.rspec just stop settingslogic from breaking rspec output for now 2012-09-26 18:54:14 +02:00
.rvmrc ignore warning about .ruby-version 2013-04-07 11:13:58 +02:00
.slugignore added a few more files to ignore for the slugignore [ci skip] 2012-01-15 20:04:46 -08:00
.travis.yml remove allowed failures from .travis.yml 2012-12-08 01:15:51 +01:00
AUTHORS Adding in COPYRIGHT, AUTHORS, and blueprint attribution 2010-09-15 10:09:42 -07:00
Changelog.md Remove unnecessary ruby187 hacks 2013-05-02 10:07:30 -03:00
config.ru add x-frame headers 2012-11-18 09:55:10 +00:00
COPYRIGHT Big clean up: delete trailing whitespace 2010-09-26 12:48:40 -04:00
FederationProcfile basic federation profile testing stuff 2012-02-14 10:58:57 -08:00
Gemfile Locator feature 2013-05-02 17:31:53 -05:00
Gemfile.lock Locator feature 2013-05-02 17:31:53 -05:00
GNU-AGPL-3.0 added license to every single goddamn file. also, put one in the root dir. 2010-09-13 14:23:50 -07:00
Guardfile guard: minimize running all specs [ci skip] 2012-11-26 14:30:30 +01:00
Procfile Bye Resque. Ohai Sidekiq. 2013-03-21 23:39:07 +01:00
Rakefile Bye Resque. Ohai Sidekiq. 2013-03-21 23:39:07 +01:00
README.md ...and make sure that it is a new list item... [ci skip] 2013-02-15 01:10:46 +01:00
redis-integration1.conf seperate and move redis dump files so they don't mess with installed redis 2012-05-08 12:41:57 +02:00
redis-integration2.conf seperate and move redis dump files so they don't mess with installed redis 2012-05-08 12:41:57 +02:00

Diaspora*

Diaspora is a privacy-aware, personally-controlled, do-it-all open source social network. Check out our project site.

  • master: Build Status master
  • develop: Build Status develop
  • Dependency Status
  • Code Climate

With Diaspora you can:

  • Make cool stuff
  • Share it across the web
  • Own your own data

Quick Start:

Here's how you can get a development environment up and running. This is where any new pod runner should start, as well as people looking to contribute to D*. This script assumes you have a basic Rails setup installed.

Step 1: Run the script and follow the on screen instructions.

  bash <(curl https://raw.github.com/diaspora/diaspora/master/script/install.sh)

Step 2: Run the development server

  rails s

then visit 'http://localhost:3000' in your browser.

Step 3 (for developers): Run tests

  rake

Step 4 (for everyone): Party.

Want a production setup? Having trouble with install script? Want to install D* the slow way?

Look to more specific install guides here.

Contributing

We love community contributions, and we work extra hard to make sure every code contribution is looked at and given feedback. To help everyone involved, please review our Pull Request Guidelines to make sure all contributions are submitted smoothly.

Documentation is available on our wiki

Also, feel free to jump in and check things that need to be done in our Community Pivotal Tracker

Before submitting code, please sign our Contributor License Agreement Sign Here

More Resources: