Changelog History
Page 8
-
v0.1.0.0
โป๏ธ Refactor
Replaced Resque with Sidekiq - Migration guide - #3993
We replaced our queue system with Sidekiq. You might know that Resque needs Redis. ๐ Sidekiq does too, so don't remove it, it's still required. Sidekiq uses a threaded model so you'll need far less processes than with Resque to do the same amount of work.
โก๏ธ To update do the following:
โก๏ธ 1. Before updating (even before the
git pull
!) stop your application server (Unicorn by default, started through Foreman).- In case you did already run
git pull
checkout v0.0.3.4:
git fetch origin git checkout v0.0.3.4 bundle
๐ 3. Start Resque web (you'll need temporary access to port 5678, check your Firewall if needed!):
bundle exec resque-web
In case you need it you can adjust the port with the
-p
flag. ๐ท 4. One last time, start a Resque worker:RAILS_ENV=production QUEUE=* bundle exec rake resque:work
Visit Resque web via http://your_host:5678, wait until all queues but the failed one are empty (show 0 jobs). ๐ท 5. Kill the Resque worker by hitting Ctrl+C. Kill Resque web with:
bundle exec resque-web -k
Don't forget to close the port on the Firewall again, if you had to open it.
- In case you needed to do step 2., run:
git checkout master bundle
โก๏ธ 7. Proceed with the update as normal (migrate database, precompile assets).
- Before starting Diaspora again ensure that you reviewed the new
environment.sidekiq
section inconfig/diaspora.yml.example
and, if wanted, transfered it to yourconfig/diaspora.yml
and made any needed changes. In particular increase theenvironment.sidekiq.concurrency
setting on any medium sized pod. If you do change that value, edit yourconfig/database.yml
and add a matchingpool: n
to your database configuration. n should be equal or higher than the amount of threads per Sidekiq worker. This sets how many concurrent connections to the database ActiveRecord allows.
If you aren't using
script/server
but for example passenger, you no ๐ท longer need to start a Resque worker, but a Sidekiq worker now. The command for that is:bundle exec sidekiq
Heroku
The only gotcha for Heroku single gear setups is that the setting name ๐ท to spawn a background worker from the unicorn process changed. Run
heroku config:remove SERVER_EMBED_RESQUE_WORKER heroku config:set SERVER_EMBED_SIDEKIQ_WORKER=true
We're automatically adjusting the ActiveRecord connection pool size for you.
Larger Heroku setups should have enough expertise to figure out what to do by them self.
Removal of Capistrano
๐ The Capistrano deployment scripts were removed from the main source code repository, since they were no longer working. ๐ They will be moved into their own repository with a new maintainer, you'll be able to find them under the Diaspora* Github organization once everything is set up.
Other
- Cleaned up requires of our own libraries #3993
- Refactor people_controller#show and photos_controller#index #4002
- Modularize layout #3944
- โ Add header to the sign up page #3944
- โ Add a configuration entry to set max-age header to Amazon S3 resources. #4048
- Load images via sprites #4039
- โ Delete unnecessary javascript views. #4059
- Cleanup of script/server
- Attempt to stabilize federation of attached photos (fix #3033 #3940 )
- โป๏ธ Refactor develop install script #4111
- โ Remove special hacks for supporting Ruby 1.8 #4113
- ๐ Moved custom oEmbed providers to config/oembed_providers.yml #4131
- Add specs for Post#find_by_guid_or_id_with_user
๐ Bug fixes
- ๐ Fix mass aspect selection #4127
- ๐ Fix posting functionality on tags show view #4112
- ๐ Fix cancel button on getting_started confirmation box #4073
- Reset comment box height after posting a comment. #4030
- Fade long tag names. #3899
- Avoid posting empty comments. #3836
- Delegate parent_author to the target of a RelayableRetraction
- Do not fail on receiving a SignedRetraction via the public route
- Pass the real values to stderr_path and stdout_path in unicorn.rb since it runs a case statement on them.
- Decode tag name before passing it into a TagFollowingAction #4027
- ๐ Fix reshares in single post-view #4056
- ๐ Fix mobile view of deleted reshares. #4063
- Hide comment button in the mobile view when not signed in. #4065
- Send profile alongside notification #3976
- ๐ Fix off-center close button image on intro popovers #3841
- โ Remove unnecessary dotted CSS borders. #2940
- ๐ Fix default image url in profiles table. #3795
- ๐ Fix mobile buttons are only clickable when scrolled to the top. #4102
- ๐ Fix regression in bookmarklet causing uneditable post contents. #4057
- Redirect all mixed case tags to the lower case equivalents #4058
- ๐ Fix wrong message on infinite scroll on contacts page #3681
- My Activity mobile doesn't show second page when clicking "more". #4109
- โ Remove unnecessary navigation bar to access mobile site and re-add flash warning to mobile registrations. #4085
- ๐ Fix broken reactions link on mobile page #4125
- ๐ Missing translation "Back to top". #4138
- ๐ Fix preview with locator feature. #4147
- ๐ Fix mentions at end of post. #3746
- ๐ Fix missing indent to correct logged-out-header container relative positioning #4134
- Private post dont show error 404 when you are not authorized on mobile page #4129
- ๐ Show 404 instead of 500 if a not signed in user wants to see a non public or non existing post.
๐ Features
- Deleting a post that was shared to Facebook now deletes it from Facebook too #3980
- Include reshares in a users public atom feed #1781
- โ Add the ability to upload photos from the mobile site. #4004
- ๐ Show timestamp when hovering on comment time-ago string. #4042
- If sharing a post with photos to Facebook, always include URL to post #3706
- โ Add possibiltiy to upload multiple photos from mobile. #4067
- โ Add hotkeys to navigate in stream #4089
- โ Add a brief explanatory text about external services connections to services index page #3064
- โ Add a preview for posts in the stream #4099
- โ Add shortcut key Shift to submit comments and publish posts. #4096
- ๐ Show the service username in a tooltip next to the publisher icons #4126
- Ability to add location when creating a post #3803
- โ Added oEmbed provider for MixCloud. #4131
โก๏ธ Gem updates
- โฌ๏ธ Dropped everything related to Capistrano in preparation for maintaining it in a separate repository
- ๐ Replaced Resque with Sidekiq, see above. Added Sinatra and Slim for the Sidekiq Monitor interface
- โ Added sinon-rails, compass-rails
- acts-as-taggable-on 2.3.3 -> 2.4.0
- โ addressable 2.3.2 -> 2.3.4
- client_side_validations 3.2.1 -> 3.2.5
- ๐ง configurate 0.0.2 -> 0.0.7
- ๐ cucumber-rails 1.3.0 -> 1.3.1
- faraday 0.8.5 -> 0.8.7
- fog 1.9.0 -> 1.10.1
- foreigner 1.3.0 -> 1.4.1
- foreman 0.61 -> 0.62
- gon 4.0.2 -> 4.1.0
- guard 1.6.2 -> 1.7.0
- guard-cucumber 1.3.2 -> 1.4.0
- guard-rspec 2.4.0 -> 2.5.3
- guard-spork 1.4.2 -> 1.5.0
- haml 4.0.0 -> 4.0.2
- ๐ฑ handlebars_assets 0.11.0 -> 0.1.2.0
- jasmine 1.3.1 -> 1.3.2
- nokogiri 1.5.6 -> 1.5.9
- oauth2 0.8.0 -> 0.8.1
- omniauth 1.1.3 -> 1.1.4
- omniauth-twitter 0.0.14 -> 0.0.16
- pg 0.14.1 -> 0.15.1
- rack-piwik 0.1.3 -> 0.2.2
- ๐ rails-i18n 0.7.2 -> 0.7.3
- ๐ rails_admin 0.4.5 -> 0.4.7
- ๐ roxml git release -> 3.1.6
- ๐ rspec-rails 2.12.2 -> 2.13.0
- safe_yaml 0.8.0 -> 0.9.1
- selenium-webdriver 2.29.0 -> 2.32.1
- timecop 0.5.9.2 -> 0.6.1
- twitter 4.5.0 -> 4.6.2
- uglifier 1.3.0 -> 2.0.1
- unicorn 4.6.0 -> 4.6.2
- In case you did already run
-
v0.0.3.3
- Switch Gemfile source to https to be compatible with bundler 1.3
-
v0.0.3.1
- exec foreman in ./script/server to replace the process so that we can Ctrl+C it again.
- Include our custom fileuploader on the mobile site too. #3994
- ๐ Move custom splash page logic into the controller #3991
- ๐ Fixed removing images from publisher on the profile and tags pages. #3995
- Wrap text if too long in mobile notifications. #3990
- Sort tag followings alphabetically, not in reverse #3986
-
v0.0.3.0
โป๏ธ Refactor
- โ Removed unused stuff #3714, #3754
- Last post link isn't displayed anymore if there are no visible posts #3750
- Ported tag followings to backbone #3713, #3775
- ๐ง Extracted configuration system to a gem.
- ๐ง Made number of unicorn workers configurable.
- ๐ง Made loading of the configuration environment independent of Rails.
- Do not generate paths like
/a/b/c/config/boot.rb/../../Gemfile
to require and open things, create a proper path instead. - โ Remove the hack for loading the entire lib folder with a proper solution. #3809
- โป๏ธ Update and refactor the default public view
public/default.html
#3811 - Write unicorn stderr and stdout #3785
- Ported aspects to backbone #3850
- Join tagging's table instead of tags to improve a bit the query #3932
- โป๏ธ Refactor contacts/index view #3937
- Ported aspect membership dropdown to backbone #3864
๐ Features
- โก๏ธ Updates to oEmbed, added new providers and fixed photo display. #3880
- โ Add 'screenshot tool' for taking before/after images of stylesheet changes. #3797
- โ Add possibility to contact the administrator. #3792
- โ Add simple background for unread messages/conversations mobile. #3724
- โ Add flash warning to conversation mobile, unification of flash warning with login and register mobile, and add support for flash warning to Opera browser. #3686
- โ Add progress percentage to upload images. #3740
- Mark all unread post-related notifications as read, if one of this gets opened. #3787
- โ Add flash-notice when sending messages to non-contacts. #3723
- Re-add hovercards #3802
- โ Add images to notifications #3821
- โก๏ธ Show pod version in footer and updated the link to the changelog #3822
- ๐ Footer links moved to sidebar #3827
- ๐ Changelog now points to correct revision if possible #3921
- ๐ User interface enhancements #3832, #3839, #3834, #3840, #3846, #3851, #3828, #3874, #3806, #3906.
- โ Add settings web mobile. #3701
- Stream form on profile page #3910.
- โ Add Getting_Started page mobile. #3949.
- Autoscroll to the first unread message in conversations. #3216
- Friendlier new-conversation mobile. #3984
๐ Bug Fixes
- ๐ฎ Force Typhoeus/cURL to use the CA bundle we query via the config. Also add a setting for extra verbose output.
- Validate input on sending invitations, validate email format, send correct ones. #3748, #3271
- ๐ moved Aspects JS initializer to the correct place so aspect selection / deselection works again. #3737
- Do not strip "markdown" in links when posting to services. #3765
- ๐ง Renamed
server.db
toserver.database
to match the example configuration. - ๐ Fix insecure image of cat on user edit page - New photo courtesy of khanb1 on flickr under CC BY 2.0.
- ๐ Allow translation of "suggest member" of Community Spotlight. #3791
- Resize deletelabel and ignoreuser images to align them. #3779
- Patch in Armenian pluralization rule until CLDR provides it.
- ๐ Fix reshare a post multiple times. #3831
- ๐ Fix services index view. #3884
- Excessive padding with "user-controls" in single post view. #3861
- Resize full scaled image to a specific width. #3818
- ๐ Fix translation issue in contacts_helper #3937
- ๐ Show timestamp hovering a timeago string (stream) #3149
- ๐ Fix reshare and like a post on a single post view #3672
- ๐ Fix posting multiple times the same content #3272
- Excessive padding with select aspect in mobile publisher. #3951
- Adapt css for search mobile page. #3953
- Twitter/Facebook/Tumblr count down characters is hidden by the picture of the post. #3963
- Buttons on mobile are hard to click on. #3973
- RTL-language characters in usernames no longer overlay post dates #2339
- ๐ Overflow info author mobile web. #3983
- Overflow name author mobile post. #3981
โก๏ธ Gem Updates
- โ Removed
debugger
since it was causing bundle problems, and is not necessary given 1.9.3 has a built-in debugger. - โฌ๏ธ dropped unnecessary fastercsv
- ๐ markerb switched from git release to 1.0.1
- โ added rmagick as development dependency for making screenshot comparisons
- ๐ jasmine 1.2.1 -> 1.3.1 (+ remove useless spec)
- activerecord-import 0.2.11 -> 0.3.1
- asset_sync 0.5.0 -> 0.5.4
- bootstap-sass 2.1.1.0 -> 2.2.2.0
- carrierwave 0.7.1 -> 0.8.0
- ๐ง configurate 0.0.1 -> 0.0.2
- factory_girl_rails 4.1.0 -> 4.2.0
- faraday 0.8.4 -> 0.8.5
- ffi 1.1.5 -> 1.4.0
- ๐ fixture_builder 0.3.4 -> 0.3.5
- fog 1.6.0 -> 1.9.0
- foreigner 1.2.1 -> 1.3.0
- foreman 0.60.2 -> 0.61
- gon 4.0.1 -> 4.0.2
- guard 1.5.4 -> 1.6.2
- guard-cucumber 1.2.2 -> 1.3.2
- guard-rspec 2.1.1 -> 2.4.0
- guard-spork 1.2.3 -> 1.4.2
- rb-fsevent 0.9.2 -> 0.9.3
- rb-inotify 0.8.8 -> 0.9.0
- haml 3.1.7 -> 4.0.0
- ๐ฑ handlebars_assets 0.6.6 -> 0.11.0
- ๐ jquery-rails 2.1.3 -> 2.1.4
- ๐ jquery-ui-rails 2.0.2 -> 3.0.1
- mini_magick 3.4 -> 3.5.0
- mobile-fu 1.1.0 -> 1.1.1
- multi_json 1.5.1 -> 1.6.1
- nokogiri 1.5.5 -> 1.5.6
- omniauth 1.1.1 -> 1.1.3
- omniauth-twitter 0.0.13 -> 0.0.14
- rack-ssl 1.3.2 -> 1.3.3
- rack-rewrite 1.3.1 -> 1.3.3
- ๐ rails-i18n 0.7.0 -> 0.7.2
- ๐ rails_admin 0.2.0 -> 0.4.5
- remotipart 1.0.2 -> 1.0.5
- ๐ ruby-oembed 0.8.7 -> 0.8.8
- rspec 2.11.0 -> 2.12.0
- ๐ rspec-rails 2.11.4 -> 2.12.2
- ๐ sass-rails 3.2.5 -> 3.2.6
- selenium-webdriver 2.26.0 -> 2.29.0
- timecop 0.5.3 -> 0.5.9.2
- twitter 4.2.0 -> 4.5.0
- unicorn 4.4.0 -> 4.6.0
- will_paginate 3.0.3 -> 3.0.4