Commit graph

13310 commits

Author SHA1 Message Date
Jonne Haß
63b667bbef gracefully handle unavailable git in script/server 2013-05-20 18:14:33 +02:00
Maxwell Salzberg
66911801f7 use ActiveRecord#find_each to prevent memory spikes in our workers 2013-05-19 20:33:04 -07:00
Florian Staudacher
3a0c9893e7 Merge pull request #4145 from MrZYX/refactor_config_directory
Refactor config/ directory
2013-05-19 10:40:52 -07:00
Jonne Haß
ac147cc9f4 Refactor config/ directory
* Get rid of early pathname requirement
* Use require_relative where approciate
* Drop unused files
* Imported new application.rb, environment.rb and environments/* from fresh Rails app
* Cleaned up boot.rb
* Load config in boot.rb
* Deduplicate environments/integration*.rb
* Move username blacklist into defaults.yml
* Ruby 1.9 Hash syntax everywhere
* Reorganize lib/diaspora/markdownify to match conventions
* Get rid of full path requires where possible
* Add dummy content to production section diaspora.yml.example to prevent warning
* Drop sqlite? method
* Move postgres? method into ConfigurationMethods
* Drop token authentication from User
2013-05-19 18:54:54 +02:00
Jonne Haß
bf90dfffbd start new development cycle 2013-05-19 16:03:01 +02:00
Jonne Haß
9dfb413a96 Merge branch 'release/0.1.0.0' into develop 2013-05-19 16:01:52 +02:00
Jonne Haß
79c9460e0b change version to 0.1.0.0 2013-05-19 16:01:16 +02:00
Jonne Haß
1c61172b14 updated 186 locale files [ci skip] 2013-05-19 04:49:24 +02:00
Jonne Haß
69e115d234 Add the gem updates section for the current release to the changelog 2013-05-18 23:09:39 +02:00
Jonne Haß
11eecc3d3a 404, not 500, if signed out user wants to see a non public/existing post
Also add some specs for Post#find_by_guid_or_id_with_user
2013-05-18 20:55:22 +02:00
Jonne Haß
aa60fac217 Merge branch 'error_404_mobile' of git://github.com/movilla/diaspora into movilla-error_404_mobile
Conflicts:
	Changelog.md
2013-05-18 20:06:49 +02:00
Jonne Haß
f5a4bc51c2 Merge branch 'patch-2' of git://github.com/rivendale2010/diaspora into develop
Conflicts:
	Changelog.md
	app/views/layouts/_header.html.haml
2013-05-18 20:03:59 +02:00
Jonne Haß
8865f72afa Merge pull request #4150 from svbergerem/3746-fix-mentions
fix mentions at the end of a post
2013-05-18 10:56:43 -07:00
Steffen van Bergerem
63040bb8cc fix mentions at the end of a post 2013-05-17 19:27:08 +02:00
Jonne Haß
477c9d2ef3 Revert "Do not pass AR objects to Sidekiq"
This reverts commit 32935be9b1.
2013-05-17 17:35:53 +02:00
Jonne Haß
e3265aa650 Revert "bump sidekiq"
This reverts commit 9307a1aaeb.
2013-05-17 17:35:34 +02:00
Jonne Haß
32935be9b1 Do not pass AR objects to Sidekiq
In the new version Sidekiq calls JSON.generate on the passed arguments, which blows up with AR objects
2013-05-17 14:44:57 +02:00
Jonne Haß
e8f57d8fac Revert "downgrade multi_json"
This reverts commit 4c4a98f42e.
2013-05-17 13:19:00 +02:00
Jonne Haß
4c4a98f42e downgrade multi_json 2013-05-17 13:12:41 +02:00
Jonne Haß
9307a1aaeb bump sidekiq 2013-05-17 12:30:33 +02:00
Jonne Haß
fdf52ffe9e bump recommended ruby version to 1.9.3-p429 2013-05-17 10:19:20 +02:00
Jonne Haß
848e5d2a57 try to fix Jasmine failure on CI by not overwriting app.views.Location in spec 2013-05-16 23:33:54 +02:00
Jonne Haß
67d7f02faa Merge pull request #4147 from svbergerem/post-preview-locator
Fix preview with locator feature
2013-05-08 05:14:30 -07:00
Steffen van Bergerem
da532e18bd Fix preview with locator feature 2013-05-08 13:07:13 +02:00
Jonne Haß
775b560a94 Merge pull request #4131 from Ruxton/patch-1
Refactoring oEmbed Providers & Adding MixCloud oEmbed support
2013-05-08 01:28:40 -07:00
Ruxton
4f1bfd7eea oembed_providers.yml added for custom (outside of ruby-oembed) oEmbed providers. 2013-05-07 09:38:30 +08:00
Ruxton
f6e31fdd95 Merge branch 'develop' of https://github.com/diaspora/diaspora into develop 2013-05-07 09:37:05 +08:00
Jonne Haß
e462b95316 add changelog entry for locator [ci skip] 2013-05-06 17:34:55 +02:00
Jonne Haß
6b1fdaafc0 Merge branch 'locator' of git://github.com/tangosource/diaspora into tangosource-locator 2013-05-06 17:33:10 +02:00
Jonne Haß
d37a8205b7 Merge pull request #4146 from eloydegen/patch-1
Update _header.html.haml
2013-05-06 06:50:09 -07:00
eloydegen
eb5bc379d1 Update _header.html.haml
Change blog url, now there is no 301 required :)
2013-05-06 16:27:40 +03:00
Jonne Haß
c41db6634c Fix reading of redis namespace from config
Changed default to nil to not screw users running develop already
2013-05-05 16:12:22 +02:00
Jonne Haß
fdff9c8b8a drop another capistrano leftover 2013-05-05 10:53:35 +02:00
Jonne Haß
e70c2593ff bump configurate 2013-05-03 12:07:50 +02:00
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
Jonne Haß
3cd60c3061 Merge pull request #4139 from brauliomartinezlm/remove_found_ruby187_hack
Remove unnecessary ruby187 hacks
2013-05-02 07:04:30 -07:00
Braulio Martinez
00a3332013 Remove unnecessary ruby187 hacks 2013-05-02 10:07:30 -03:00
Jonne Haß
d2c9295389 Merge pull request #4111 from Raven24/install_refactor
refactor install script
2013-05-01 13:33:35 -07:00
Jonne Haß
4ed9a8a83e Merge pull request #4138 from movilla/translation_backtotop
Fix missing translation back to top - Only develop branch
2013-05-01 13:30:13 -07:00
movilla
19d22a8928 fix missing translation back to top 2013-05-01 19:22:53 +02:00
Florian Staudacher
4005cd05ea refactor install script
the script is now split up in parts that will be fetched from github
on demand.
fixes #4047
2013-05-01 14:01:11 +02:00
rivendale
4f8ce5cb98 Update Changelog.md 2013-04-29 10:57:28 -03:00
rivendale
b77c6f8a86 fix missing indent for correct header container relative positions 2013-04-29 01:27:54 -03:00
Ruxton
694fc01124 Added MixCloud oEmbed to oembed_providers_list 2013-04-29 12:11:11 +08:00
Greg Tangey (Ruxton)
9f66e32cce MixCloud oEmbed support
Adding support for MixCloud oEmbed
2013-04-26 15:25:08 +08:00
Jonne Haß
ea792246d0 bump sidekiq 2013-04-25 21:30:35 +02:00
Dennis Schubert
aab960d896 Merge pull request #4125 from movilla/reactions_mobile
Fix reactions link on mobile broken. Close #3972
2013-04-25 10:34:41 -07:00
movilla
5839d304db Fix reactions link on mobile broken 2013-04-25 13:55:57 +02:00
movilla
f17d16385f mobile private post dont show error 404 2013-04-24 22:17:47 +02:00
Jonne Haß
25b3f6bcdc Merge pull request #4127 from marpo60/fix_aspects_max_selection
Fix select & deselect all aspects check image
2013-04-22 08:34:13 -07:00