This release includes a major upgrade of the background processing system Sidekiq. To upgrade cleanly:
- Stop diaspora*
- Run
RAILS_ENV=production bundle exec sidekiq
and wait 5-10 minutes, then stop it again (hitCTRL+C
) - Do a normal upgrade of diaspora*
- Start diaspora*
Please edit config/initializers/secret_token.rb
, replacing secret_token
with
secret_key_base
.
# Old
Rails.application.config.secret_token = '***********...'
# New
Diaspora::Application.config.secret_key_base = '*************...'
You also need to take care to set RAILS_ENV
and to clear the cache while precompiling assets: RAILS_ENV=production bundle exec rake tmp:cache:clear assets:precompile
This release drops official support for the Ruby 1.9 series. This means we will no longer test against this Ruby version or take care to choose libraries that work with it. However that doesn't mean we won't accept patches that improve running diaspora* on it.
At the same time we adopt support for the Ruby 2.1 series and recommend running on the latest Ruby version of that branch. We continue to support the Ruby 2.0 series and run our comphrensive testsuite against it.
The default for including jQuery from a CDN has changed. If you want to continue to include it from a CDN, please explicitly set the jquery_cdn
setting to true
in diaspora.yml.
The way services are shown in the statistics.json
route is changing. The keys relating to showing whether services are enabled or not are moving to their own container as "services": {....}
, instead of having them all in the root level of the json.
The keys will still be available in the root level within the 0.5 release. The old keys will be removed in the 0.6 release.
- Redesign contacts page #5153
- Improve profile page design on mobile #5084
- Port testsuite to RSpec 3 #5170
- Port tag stream to Bootstrap #5138
- Consolidate migrations, if you need a migration prior 2013, checkout the latest release in the 0.4.x series first #5173
- Add tests for mobile sign up #5185
- Display new conversation form on conversations/index #5178
- Port profile page to Backbone #5180
- Pull punycode.js from rails-assets.org #5263
- Redesign profile page and port to Bootstrap #4657
- Unify stream selection links in the left sidebar #5271
- Refactor schema of statistics.json regarding services #5296
- Pull jquery.idle-timer.js from rails-assets.org #5310
- Pull jquery.placeholder.js from rails-assets.org #5299
- Pull jquery.textchange.js from rails-assets.org #5297
- Reduce number of useless background job retries and pull public posts when missing [#5209](diaspora/diaspora#5209
- Updated Weekly User Stats admin page to show data for the most recent week including reversing the order of the weeks in the drop down to show the most recent. #5331
- Convert some cukes to rspec tests #5289
- Hidden overflow for long names on tag pages #5279
- Always reshare absolute root of a post #5276
- Convert remaining SASS stylesheets to SCSS #5342
- orca cannot see 'Add Contact' button #5158
- Move submit button to the right in conversations view #4960
- Handle long URLs and titles in OpenGraph descriptions #5208
- Fix deformed getting started popover #5227
- Use correct locale for invitation subject #5232
- Initial support for IDN emails
- Fix services settings reported by statistics.json #5256
- Only collapse empty comment box #5328
- Fix pagination for people/guid/contacts #5304
- Fix poll creation on Bootstrap pages #5334
- Show error message on invalid reset password attempt #5325
- Fix translations on mobile password reset pages #5318
- Handle unset user agent when signing out #5316
- Don't pull jQuery from a CDN by default #5105
- Better character limit message #5151
- Remember whether a AccountDeletion was performed #5156
- Increased the number of notifications shown in drop down bar to 15 #5129
- Increase possible captcha length #5169
- Display visibility icon in publisher aspects dropdown #4982
- Add a link to the reported comment in the admin panel #5337
- Strip search query from leading and trailing whitespace #5317
- Add the "network" key to statistics.json and set it to "Diaspora" #5308
- Infinite scrolling in the notifications dropdown #5237
- Fix XSS issue in poll questions #5274
This release brings a new ToS feature that allows pods to easily display to users the terms of service they are operating on. This feature is not enabled by default. If you want to enable it, please add under settings
in config/diaspora.yml
the following and restart diaspora. If in doubt see config/diaspora.yml.example
:
terms:
enable: true
When enabled, the footer and sidebar will have a link to terms page, and signup will have a disclaimer indicating that creating an account means the user accepts the terms of use.
While the project itself doesn't restrict what kind of terms pods run on, we realize not all podmins want to spend time writing them from scratch. Thus there is a basic ToS template included that will be used unless a custom one available.
To modify (or completely rewrite) the terms template, create a file called app/views/terms/terms.haml
or app/views/terms/terms.erb
and it will automatically replace the default template, which you can find at app/views/terms/default.haml
.
There are also two configuration settings to customize the terms (when using the default template). These are optional.
settings.terms.jurisdiction
- indicate here in which country or state any legal disputes are handled.settings.terms.minimum_age
- indicate here if you want to show a minimum required age for creating an account.
There is a new Rake task podmin:admin_mail
available to allow podmins to easily send news and notices to users. The rake task triggers emails via the normal diaspora mailer mechanism (so they are embedded in the standard template) and takes the following parameters:
- Users definition
all
- all users in the database (except deleted)active_yearly
- users logged in within the last yearactive_monthly
- users logged in within the last monthactive_halfyear
- users logged in within the last 6 months
- Path to message file
- Give here a path to a HTML or plain text file that contains the message.
- Subject
- A subject for the email
Example shell command (depending on your environment);
RAILS_ENV=production bundle exec rake podmin:admin_mail['active_monthly','./message.html','Important message from pod']
Read more about specifying arguments to Rake tasks.
- Port help pages to Bootstrap #5050
- Refactor Notification#notify #4945
- Port getting started to Bootstrap #5057
- Port people search page to Bootstrap #5077
- Clarify explanations and defaults in diaspora.yml.example #5088
- Consistent header spacing on Bootstrap pages #5108
- Port settings pages (account, profile, privacy, services) to Bootstrap #5039
- Port contacts and community spotlight pages to Bootstrap #5118
- Redesign login page #5112
- Change mark read link on notifications page #5141
- Fix hiding of poll publisher on close #5029
- Fix padding in user menu #5047
- Fix self-XSS when renaming an aspect #5048
- Fix live updating when renaming an aspect #5049
- Use double quotes when embedding translations into Javascript #5055
- Fix regression in mobile sign-in (commit)
- Set mention notification as read when viewing post #5006
- Set sharing notification as read when viewing profile #5009
- Ensure a consistent border on text input elements #5069
- Escape person name in contacts json returned by Conversations#new
- Make sure all parts of the hovercard are always in front #5188
- Port admin pages to bootstrap, polish user search results, allow accounts to be closed from the backend #5046
- Reference Salmon endpoint in Webfinger XRD to aid discovery by alternative implementations #5062
- Change minimal birth year for the birthday field to 1910 #5083
- Add scrolling thumbnail switcher in the lightbox #5102
- Add help section about keyboard shortcuts #5100
- Automatically add poll answers as needed #5109
- Add Terms of Service as an option for podmins, includes base template #5104
- Add rake task to send a mail to all users #5111
- Expose which services are configured in /statistics.json #5121
- In filtered notification views, replace "Mark all as read" with "Mark shown as read" #5122
- When ignoring a user remove his posts from the stream instantly #5127
- Allow to delete photos from the pictures stream #5131
- Fix performance regression on stream loading with MySQL/MariaDB database backends #5014
- Fix issue with post reporting #5017
A regression caused accounts deletions to not properly perform in some cases, see #4792.
To ensure these are reexecuted properly, please run RAILS_ENV=production bundle exec rake accounts:run_deletions
after you've upgraded.
This version will break federation to pods running on versions prior 0.1.1.0.
- Drop number of followers from tags page #4717
- Remove some unused beta code #4738
- Style improvements for SPV, use original author's avatar for reshares #4754
- Update image branding to the new decided standard #4702
- Consistent naming of conversations and messages #4756
- Improve stream generation time #4769
- Port help pages to backbone #4768
- Add participants to conversations menu #4656
- Update forgot_password and reset_password pages #4707
- Change jQuery CDN to jquery.com from googleapis.com #4765
- Update to jQuery 10
- Port publisher and bookmarklet to Bootstrap #4678
- Improve search page, add better indications #4794
- Port notifications and hovercards to Bootstrap #4814
- Replace .rvmrc by .ruby-version and .ruby-gemset #4854
- Reorder and reword items on user settings page #4912
- SPV: Improve padding and interaction counts #4426
- Remove auto 'mark as read' for notifications #4810
- Improve set read/unread in notifications dropdown #4869
- Refactor publisher: trigger events for certain actions, introduce 'disabled' state #4932
- Fix user account deletion #4953 and #4963
- Fix email body language when invite a friend #4832
- Improve time agos by updating the plugin #4281
- Do not add a space after adding a mention #4767
- Fix active user statistics by saving a last seen timestamp for users #4802
- Render HTML in atom user feed #4835
- Fix plaintext mode of Mentionable #4831
- Fixed Atom Feed Error if reshared Post is deleted #4841
- Show hovercards in the notification drop-down for users on the same pod #4843
- The photo stream no longer repeats after the last photo #4787
- Fix avatar alignment for hovercards in the notifications dropdown #4853
- Do not parse hashtags inside Markdown links #4856
- Restore comment textarea content after revealing more comments #4858
- OpenGraph: don't make description into links #4708
- Don't cut off long tags in stream posts #4878
- Do not replace earlier appearances of the name while mentioning somebody #4882
- Catch exceptions when trying to decode an invalid URI #4889
- Redirect to the stream when switching the mobile publisher to desktop #4917
- Parsing mention witch contain in username special characters #4919
- Do not show your own hovercard #4758
- Hit Nominatim via https #4968
- You can report a single post or comment by clicking the correct icon in the controler section #4517 #4781
- Add permalinks for comments #4577
- New menu for the mobile version #4673
- Added comment count to statistic to enable calculations of posts/comments ratios #4799
- Add filters to notifications controller #4814
- Activate hovercards in SPV and conversations #4870
- Added possibility to conduct polls #4861 #4894 #4897 #4899
- Bump Rails to 3.2.17, fixes CVE-2014-0081, CVE-2014-0082. For more information see http://weblog.rubyonrails.org/2014/2/18/Rails_3_2_17_4_0_3_and_4_1_0_beta2_have_been_released/
- Use youtube HTTPS scheme for oEmbed #4743
- Fix infinite scroll on aspect streams #4747
- Fix hovercards #4782
- Bump kaminari to fix admin panel #4714
- Fix regression caused by using after_commit with nested '#save' which lead to an infinite recursion #4715
- Save textarea value before rendering comments when clicked 'show more...' #4858
A new feature has been added to allow pods to report extra statistics. Automatically after this code change, the route /statistics.json contains some basic data that was also available before via page headers (pod name, version, status of signups). But also, optionally podmins can enable user and post counts in the diaspora.yml configuration file. The counts are by default switched off, so if you want to report the total user, active user and local post counts, please edit your diaspora.yml configuration with the example values in diaspora.yml.example and uncomment the required lines as indicated.
We now recommend using Ruby 2.0 with Diaspora. If you're using RVM make sure to run:
rvm get stable
rvm install 2.0.0
cd ~/diaspora
git pull
cd - && cd ..
For more details see https://wiki.diasporafoundation.org/Updating
- Remove old SPV code #4612
- Move non-model federation stuff into lib/ #4363
- Build a color palette to uniform color usage #4437 #4469 #4479
- Rename bitcoin_wallet_id setting to bitcoin_address #4485
- Batch insert posts into stream collection for a small speedup #4341
- Ported fileuploader to Backbone and refactored publisher views #4480
- Refactor 404.html, fix #4078
- Remove the (now useless) last post link from the user profile. #4540
- Refactor ConversationsController, move query building to User model. #4547
- Refactor the Twitter service model #4387
- Refactor ConversationsController#create, move more stuff to User model #4551
- Refactor MessagesController#create, move stuff to User model #4556
- Reorder the left bar side menu to put the stream first #4569
- Improve notifications and conversations views design on mobile #4593
- Slight redesign of mobile publisher #4604
- Port conversations to Bootstrap #4622
- Remove participants popover and improve conversations menu #4644
- Refactor right side bar #4793
- Highlight down arrow at the user menu on hover #4441
- Make invite code input width consistent across browsers #4448
- Fix style of contacts in profile sidebar #4451
- Fix profile mobile when logged out #4464
- Fix preview with more than one mention #4450
- Fix size of images in the SPV #4471
- Adjust 404 message description to not leak logged out users if a post exists or not #4477
- Make I18n system more robust against missing keys in pluralization data
- Prevent overflow of too long strings in the single post view #4487
- Disable submit button in sign up form after submission to avoid email already exists error #4506
- Do not pull the 404 pages assets from Amazon S3 #4501
- Fix counter background does not cover more than 2 digits on profile #4499
- Fix commenting upon submission fail [#4005] (diaspora/diaspora#4005)
- Fix date color and alignment in the notifications dropdown #4502
- Add a white background to images shown in the lightbox #4475
- Refactor getting_started page, test if facebook is available, fix #4520
- Avoid publishing empty posts #4542
- Force comments sort order in mobile spv #4578
- Fix getting started page for mobile #4536
- Refactor mobile header, fix #4579
- Fix avatar display on mobile profile #4591
- Add lightbox to unauthenticated header, fix #4432
- Fix "more picture" indication (+n) on mobile by adding a link on the indication #4592
- Display errors when photo upload fails #4509
- Fix posting to Twitter by correctly catching exception #4627
- Change "Show n more comments"-link, fix #3119
- Specify Firefox version for Travis-CI #4623
- Remove location when publisher is cleared by user
- On signup form errors, don't empty previous values by user, fix #4663
- Remove background from badges in header #4692
- Add oEmbed content to the mobile view #4343
- One click to select the invite URL #4447
- Disable "mark all as read" link if all notifications are read #4463
- Collapse aspect list and tag followings list when switching to other views #4462
- Highlight current stream in left sidebar #4445
- Added ignore user icon on user profile #4417
- Improve the management of the contacts visibility settings in an aspect #4567
- Add actions on aspects on the contact page #4570
- Added a statistics route with general pod information, and if enabled in pod settings, total user, half year/monthly active users and local post counts #4602
- Add indication about markdown formatting in the publisher #4589
- Add captcha to signup form #4659
- Update Underscore.js 1.3.1 to 1.5.2, update Backbone.js 0.9.2 to 1.1.0 #4662
- Display more than 8 pictures on a post #4796
Added:
- atomic (1.1.14)
- bcrypt-ruby (3.1.2)
- backbone-on-rails (1.1.0.0)
- devise thread_safe (0.1)
- eco (1.0.0)
- eco-source (1.1.0.rc.1)
- ejs (1.1.1)
- galetahub-simple_captcha (0.1.5)
- thread_safe (0.1.3)
- zip-zip (0.2)
Removed:
- bcrypt-ruby
- rb-kqueue
- slim
- temple
Updated:
- acts_as_api 0.4.1 -> 0.4.2
- capybara 2.1.0 -> 2.2.1
- celluloid (0.13.0 -> 0.15.2
- chunky_png 1.2.8 -> 1.2.9
- client_side_validations 3.2.5 -> 3.2.6
- coderay 1.0.9 -> 1.1.0
- connection_pool 1.0.0 -> 1.2.0
- crack 0.4.0 -> 0.4.1
- cucumber 1.3.5 -> 1.3.10
- cucumber-rails 1.3.1 -> 1.4.0
- database_cleaner 1.1.0 -> 1.2.0
- devise 3.0.2 -> 3.2.2
- diff-lcs 1.2.4 -> 1.2.5
- ethon 0.5.12 -> 0.6.2
- excon 0.25.3 -> 0.31.0
- factory_girl 4.2.0 -> 4.3.0
- factory_girl_rails 4.2.0 -> 4.3.0
- faraday 0.8.8 -> 0.8.9
- ffi 1.9.0 -> 1.9.3
- fog 1.14.0 -> 1.19.0
- foreigner 1.4.2 -> 1.6.1
- fuubar 1.1.1 -> 1.3.2
- gherkin 2.12.0 -> 2.12.2
- guard 1.8.2 -> 2.2.5
- guard-cucumber 1.4.0 -> 1.4.1
- guard-rspec 3.0.2 -> 4.2.4
- haml 4.0.3 -> 4.0.5
- i18n-inflector-rails 1.0.6 -> 1.0.7
- json 1.8.0 -> 1.8.1
- jwt 0.1.8 -> 0.1.10
- kaminari 0.14.1 -> 0.15.0
- kgio 2.8.0 -> 2.8.1
- listen 1.2.2 -> 2.4.0
- mini_magick 3.6.0 -> 3.7.0
- mini_profile 0.5.1 -> 0.5.2
- mobile-fu 1.2.1 -> 1.2.2
- multi_json 1.7.9 -> 1.8.4
- multi_test 0.0.2 -> 0.0.3
- mysql2 0.3.13 -> 0.3.14
- net-ssh 2.6.8 -> 2.7.0
- nokogiri 1.6.0 -> 1.6.1
- omniauth-facebook 1.4.1 -> 1.6.0
- omniauth-twitter 1.0.0 -> 1.0.1
- orm_adapter 0.4.0 -> 0.5.0
- pry 0.9.12.2 -> 0.9.12.4
- rack-google-analytics 0.11.0 -> 0.14.0
- rack-rewrite 1.3.3 -> 1.5.0
- rails_autolink 1.1.0 -> 1.1.5
- raindrops 0.11.0 -> 0.12.0
- rake 10.1.0 -> 10.1.1
- rb-fsevent 0.9.3 -> 0.9.4
- rb-inotify 0.9.0 -> 0.9.3
- redis 3.0.4 -> 3.0.6
- redis-namespace 1.3.0 -> 1.4.1
- rspec 2.13.0 -> 2.14.1
- rspec-core 2.13.1 -> 2.14.7
- rspec-expectations 2.13.0 -> 2.14.4
- rspec-mocks 2.13.1 -> 2.14.4
- rspec-rails 2.13.2 -> 2.14.1
- ruby-oembed 0.8.8 -> 0.8.9
- ruby-progressbar 1.1.1 -> 1.4.0
- selenium-webdriver 2.34.0 -> 2.39.0
- sidekiq 2.11.1 -> 2.17.2
- slop 3.4.6 -> 3.4.7
- spork 1.0.0rc3 -> 1.0.0rc4
- strong_parameters 0.2.1 -> 0.2.2
- test_after_commit 0.2.0 -> 0.2.2
- timers 1.0.0 -> 1.1.0
- timecop 0.6.1 -> 0.7.1
- typhoeus 0.6.3 -> 0.6.7
- unicorn 4.6.3 -> 4.8.0
- webmock 1.13.0 -> 1.16.1
- will_paginate 3.0.4 -> 3.0.5
- Bump rails to version 3.2.16, fixes several security issues, see http://weblog.rubyonrails.org/2013/12/3/Rails_3_2_16_and_4_0_2_have_been_released/
- Bump recommended Ruby version to 1.9.3-p484, see https://www.ruby-lang.org/en/news/2013/11/22/heap-overflow-in-floating-point-parsing-cve-2013-4164/
Attention: This release includes a potentially long running migration! However it should be safe to run this while keeping your application servers on.
- Service and ServiceController, general code reorg to make it cleaner/+ testable/+ extensible #4344
- Background actual mailing when sending invitations #4069
- Set the current user on the client side through gon #4028
- Update sign out route to a DELETE request #4068
- Convert all ActivityStreams::Photo to StatusMessages and drop ActivityStreams::Photo #4144
- Port the Rails application to strong_parameters in preparation to the upgrade to Rails 4 #4143
- Refactor left bar side menu, improve tag autosuggestion design #4271, #4316
- Extract and factorize the header css in a new file, fix ugly header in registration #4389
- Move contact list on profile to profile information, show user his own contacts on profile #4360
- Refactor metas, HTML is now valid #4356
- Improve sharing message and mention/message buttons on profile #4374
- Check twitter write access before adding/authorizing it for a user. #4124
- Don't focus comment form on 'show n more comments' #4265
- Do not render mobile photo view for none-existing photos #4194
- Render markdown content for prettier email subjects and titles #4182
- Disable invite button after sending invite #4173
- Fix pagination for people list on the tag stream page #4245
- Fix missing timeago tooltip in conversations #4257
- Fix link to background image #4289
- Fix Facebox icons 404s when called from Backbone
- Fix deleting a post from Facebook #4290
- Display notices a little bit longer to help on sign up errors #4274
- Fix user contact sharing/receiving #4163
- Change image to ajax-loader when closing lightbox #3229
- Fix pointer cursor on the file upload button #4349
- Resize preview button #4355
- Fix compability problem with MySQL 5.6 #4312
- Don't collapse the post preview #4346
- Improve mobile usability #4354
- Descending text is no longer cut off in orange welcome banner #4377
- Adjust Facebook character limit to reality #4380
- Restore truncated URLs when posting to Twitter #4211
- Fix mobile search tags #4392
- Remove placeholders for name fields in settings (no more Sofaer) #4385
- Problems with layout the registration page for mobile. #4396
- Do not display photos in the background in the SPV #4407
- Fix mobile view of deleted reshares #4397
- Fix the overlapping of embedded youtube videos #2943
- Fix opacity of control icons #4414
- Add hover state to header icons #4436
- Fix check icon regression on contacts page #4440
- Do not leak non public photos
- Fix check icon alignment in aspect dropdown #4443
- Admin: add option to find users under 13 (COPPA) #4252
- Show the user if a contact is sharing with them when viewing their profile page #2948
- Made Unicorn timeout configurable and increased the default to 90 seconds
- Follow DiasporaHQ upon account creation is now configurable to another account #4278
- Use first header as title in the single post view, when possible #4256
- Close publisher when clicking on the page outside of it #4282
- Deleting a post deletes it from Tumblr too #4331
- OpenGraph support #4215
- Added Wordpress service ability for posts. #4321
- Implement tag search autocomplete in header search box #4169
- Uncheck 'make contacts visible to each other' by default when adding new aspect. #4343
- Add possibility to ask for Bitcoin donations #4375
- Remove posts, comments and private conversations from the mobile site. #4408 #4409
- Added a link to user photos and thumbnails are shown in the left side bar #4347
- Rework the single post view #4410
- Add aspect modification on contacts page, close #4397
- Add help page #4405
- Added entypo-rails, mini_portile, multi_test, omniauth-wordpress, opengraph_parser, strong_parameters, test_after_commit
- addressable 2.3.4 -> 2.3.5
- asset_sync 0.5.4 -> 1.0.0
- bcrypt-ruby 3.0.1 -> 3.1.1
- capybara 1.1.3 -> 2.1.0
- carrierwave 0.8.0 -> 0.9.0
- coffee-script-source 1.6.2 -> 1.6.3
- cucumber 1.3.2 -> 1.3.5
- database_cleaner 1.0.1 -> 1.1.0
- devise 2.1.3 -> 3.0.2
- excon 0.23.0 -> 0.25.3
- faraday 0.8.7 -> 0.8.8
- fixture_builder 0.3.5 -> 0.3.6
- fog 1.12.1 -> 1.14.0
- font-awesome-rails 3.1.1.3 -> 3.2.1.2
- foreigner 1.4.1 -> 1.4.2
- guard 1.8.0 -> 1.8.2
- guard-rspec 3.0.1 -> 3.0.2
- guard-spork 1.5.0 -> 1.5.1
- i18n-inflector 2.6.6 -> 2.6.7
- listen 1.2.0 -> 1.2.2
- lumberjack 1.0.3 -> 1.0.4
- method_source 0.8.1 -> 0.8.2
- multi_json 1.7.6 -> 1.7.8
- mysql2 0.3.11 -> 0.3.13
- net-scp 1.1.1 -> 1.1.2
- net-ssh 2.6.7 -> 2.6.8
- nokogiri 1.5.9 -> 1.6.0
- omniauth-twitter 0.0.16 -> 1.0.0
- pg 0.15.1 -> 0.16.0
- rails-i18n 0.7.3 -> 0.7.4
- rake 10.0.4 -> 10.1.0
- redcarpet 2.3.0 -> 3.0.0
- remotipart 1.0.5 -> 1.2.1
- safe_yaml 0.9.3 -> 0.9.5
- sass 3.2.9 -> 3.2.10
- selenium-webdriver 2.32.1 -> 2.34.0
- sinon-rails 1.4.2.1 -> 1.7.3
- slop 3.4.5 -> 3.4.6
- temple 0.6.5 -> 0.6.6
- twitter 4.7.0 -> 4.8.1
- uglifier 2.1.1 -> 2.1.2
- unicorn 4.6.2 -> 4.6.3
- warden 1.2.1 -> 1.2.3
- webmock 1.11.0 -> 1.13.0
- xpath 0.1.4 -> 2.0.0
- Refactored config/ directory #4144.
- Drop misleading fallback donation form. Proposal
- Update Typhoeus to 0.6.3 and refactor HydraWrapper. #4162
- Bump recomended Ruby version to 1.9.3-p448, see Ruby news.
- Remove length restriciton on GUIDs in the database schema #4249
- Fix deletelabel icon size regression after sprites $4180
- Don't use Pathname early to circumvent some rare initialization errors #3816
- Don't error out in script/server if git is unavailable.
- Fix post preview from tag pages #4157
- Fix tags ordering in chrome #4133
- Fix src URL for oEmbed iFrame #4178
- Add back-to-top button on tag and user pages #4185
- Fix reopened issue by changing the comment/post submit keyboard sortcut to ctrl+enter from shift+enter #3897
- Show medium avatar in hovercard #4203
- Fix posting to Twitter #2758
- Don't show hovercards for current user in comments #3999
- Replace mentions of out-of-aspect people with markdown links #4161
- Unify hide and ignore #3828
- Remove alpha branding #4196
- Fix dynamic loading of asset_sync
- Fix login for short passwords #4123
- Add loading indicator on tag pages, remove the second one from the profile page #4041
- Leaving the
to
field blank when sending a private message causes a server error #4227 - Fix hashtags that start a line when posting to Facebook or Twitter #3768 #4154
- Show avatar of recent user in conversation list #4237
- Private message fails if contact not entered correctly #4210
- Deleting a post that was shared to Twitter now deletes it from Twitter too #4156
- Improvement on how participants are displayed on each conversation without opening it #4149
- acts-as-taggable-on 2.4.0 -> 2.4.1
- configurate 0.0.7 -> 0.0.8
- database_cleaner 0.9.1 -> 1.0.1
- fog 1.10.1 -> 1.12.1
- fuubar 1.10 -> 1.1.1
- gon 4.1.0 -> 4.1.1
- guard-rspec 2.5.3 -> 3.0.1
- haml 4.0.2 -> 4.0.3
- json 1.7.7 -> 1.8.0
- mini_magick 3.5 -> 3.6.0
- mobile-fu 1.1.1 -> 1.2.1
- rack-cors 0.2.7 -> 0.2.8
- rails_admin 0.4.7 -> 0.4.9
- rails_autolink 1.0.9 -> 1.1.0
- redcarpet 2.2.2 -> 2.3.0
- rspec-rails 2.13.0 -> 2.13.2
- slim 1.3.8 -> 1.3.9
- twitter 4.6.2 -> 4.7.0
- typhoeus 0.3.3 -> 0.6.3
- uglifier 2.0.1 -> 2.1.1
- webmock 1.8.11 -> 1.11.0
- Regression fix: 500 for deleted reshares introduced by the locator
- Federate locations
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:
-
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
-
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. -
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).
-
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
-
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
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.
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.
- 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
- 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.
- 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
- 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
- Bump Rails to 3.2.13, fixes CVE-2013-1854, CVE-2013-1855, CVE-2013-1856 and CVE-2013-1857. Read more
- Switch Gemfile source to https to be compatible with bundler 1.3
- Fix XSS vulnerability in conversations#new #4010
- 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
- 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
- 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
- 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
- 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
- Fix CVE-2013-0269 by updating the gems json to 1.7.7 and multi_json to 1.5.1. Read more
- Additionally ensure can't affect us by bumping Rails to 3.2.12. Read more
- And exclude CVE-2013-0262 and CVE-2013-0263 by updating rack to 1.4.5.
- Fix XSS vulnerabilities caused by not escaping a users name fields when loading it from JSON. #3948
- Upgrade to Devise 2.1.3 Read more
- Upgrade to Rails 3.2.11 (CVE-2012-0155, CVE-2012-0156). Read more
- Upgrade to Rails 3.2.10 as per CVE-2012-5664. Read more
- Uses foreman now
- Reduce startup time by reducing calls to
script/get_config.rb
config/script_server.yml
is removed and replaced by theserver
section inconfig/diaspora.yml
Have a look at the updated example!- Thin is dropped in favour of unicorn
- Already set versions of
RAILS_ENV
andDB
are now prefered over those set inconfig/diaspora.yml
- Heroku setups:
ENVIRONMENT_UNICORN_EMBED_RESQUE_WORKER
got renamed toSERVER_EMBED_RESQUE_WORKER
- MessagesController. #3657
- Fixed setting:
follow_diasporahq
has now to be set totrue
to enable following the DiasporaHQ account. Wasfalse
- Removal of some bash-/linux-isms from most of the scripts, rework of 'script/install.sh' output methods. #3679
- Add "My Activity" icon mobile -Author Icon-. #3687
- Add password_confirmation field to registration page. #3647
- When posting to Twitter, behaviour changed so that URL to post will only be added to the post when length exceeds 140 chars or post contains uploaded photos.
- Remove markdown formatting from post message when posting to Facebook or Twitter.
- Fix missing X-Frame headers #3739
- Fix image path for padlocks #3682
- Fix posting to Facebook and Tumblr. Have a look at the updated services guide for new Facebook instructions.
- Fix overflow button in mobile reset password. #3697
- Fix issue with interacted_at in post fetcher. #3607
- Fix error with show post Community Spotlight. #3658
- Fix javascripts problem with read/unread notifications. #3656
- Fix error with open/close registrations. #3649
- Fix javascripts error in invitations facebox. #3638
- Fix css overflow problem in aspect dropdown on welcome page. #3637
- Fix empty page after authenticating with other services. #3693
- Fix posting public posts to Facebook. #2882, #3650
- Fix error with invite link box shows on search results page even if invites have been turned off. #3708
- Fix misconfiguration of Devise to allow the session to be remembered. #3472
- Fix problem with show reshares_count in stream. #3700
- Fix error with notifications count in mobile. #3721
- Fix conversation unread message count bug. #2321
- bootstrap-sass 2.1.0.0 -> 2.1.1.0
- capybara 1.1.2 -> 1.1.3
- carrierwave 0.6.2 -> 0.7.1
- client_side_validations 3.1.4 -> 3.2.1
- database_cleaner 0.8 -> 0.9.1
- faraday_middleware 0.8.8 -> 0.9.0
- foreman 0.59 -> 0.60.2
- fuubar 1.0.0 -> 1.1.0
- debugger 1.2.0 -> 1.2.1
- gon 4.0.0 -> 4.0.1
- guard
- guard-cucumber 1.0.0 -> 1.2.2
- guard-rspec 0.7.3 -> 2.1.1
- guard-spork 0.8.0 -> 1.2.3
- rb-inotify -> 0.8.8, new dependency
- handlebars_assets 0.6.5 -> 0.6.6
- omniauth-facebook 1.3.0 -> 1.4.1
- omniauth-twitter 0.0.11 -> 0.0.13
- rails_admin 0.1.1 -> 0.2.0
- rails-i18n -> 0.7.0
- rack-rewrite 1.2.1 -> 1.3.1
- redcarpet 2.1.1 -> 2.2.2
- resque 1.22.0 -> 1.23.0
- rspec-rails 2.11.0, 2.11.4
- selenium-webdriver 2.25.0 -> 2.26.0
- timecop 0.5.1 -> 0.5.3
- twitter 2.0.2 -> 4.2.0
- unicorn 4.3.1 -> 4.4.0, now default
- webmock 1.8.10 -> 1.8.11
And their dependencies.
Fix exception when the root of a reshare of a reshare got deleted #3546
- Fix syntax error in French Javascript pluralization rule.
Copy over config/diaspora.yml.example to config/diaspora.yml and migrate your settings! An updated Heroku guide including basic hints on howto migrate is here.
The new configuration system allows all possible settings to be overriden by environment variables. This makes it possible to deploy heroku without checking any credentials into git. Read the top of config/diaspora.yml.example
for an explanation on how to convert the setting names to environment variables.
- REDISTOGO_URL in favour of REDIS_URL or ENVIRONMENT_REDIS
- application_yml - Obsolete, all settings are settable via environment variables now
- SINGLE_PROCESS_MODE -> ENVIRONMENT_SINGLE_PROCESS_MODE
- SINGLE_PROCESS -> ENVIRONMENT_SINGLE_PROCESS_MODE
- NO_SSL -> ENVIRONMENT_REQUIRE_SSL
- ASSET_HOST -> ENVIRONMENT_ASSETS_HOST
- omniauth-tumblr 1.0 -> 1.1
- rails_admin git -> 0.1.1
- activerecord-import 0.2.10 -> 0.2.11
- fog 1.4.0 -> 1.6.0
- asset_sync 0.4.2 -> 0.5.0
- jquery-rails 2.0.2 -> 2.1.3
The following gems and their related files were removed as they aren't widely enough used to justify maintenance for them by the core developers. If you use them please maintain them in your fork.
- airbrake
- newrelic_rpm
- rpm_contrib
- heroku_san
The following gems were removed because their are neither used in daily development or are just CLI tools that aren't required to be loaded from the code:
- heroku
- oink
- yard
Refactoring of the JavaScript code; it is now completely rewritten to make use of Backbone.js. This paves the way for future improvements such as post preview or edit toolbar/help.
The feature-flag on users and all the code in connection with experimental UX changes got removed/reverted. Those are the parts that became Makr.io. The single-post view will also be revamped/reverted, but that didn't make it into this release.