With Bundler 1.10 supporting optional groups, we removed the DB environment variable. When updating to this release, please update bundler and select the database support you want:
gem install bundler
bundle install --with mysql # For MySQL and MariaDB
bundle install --with postgresql # For PostgreSQL
For production setups we now additionally recommend adding the --deployment
flag.
If you set the DB environment variable anywhere, that's no longer necessary.
This release recommends using Ruby 2.2, while retaining Ruby 2.1 as an officially supported version. Ruby 2.0 is no longer officially supported.
Please note that the default listen parameter for production setups got
changed. diaspora* will no longer listen on 0.0.0.0:3000
as it will now
bind to an UNIX socket at unix:tmp/diaspora.sock
. Please change your local
diaspora.yml
if necessary.
With the port to Bootstrap 3, app/views/terms/default.haml has a new structure. If you have created a customised app/views/terms/terms.haml or app/views/terms/terms.erb file, you will need to edit those files to base your customisations on the new default.haml file.
- Improve bookmarklet #5904
- Update listen configuration to listen on unix sockets by default #5974
- Port to Bootstrap 3 #6015
- Use a fixed width for the mobile drawer #6057
- Replace jquery.autoresize with autosize #6104
- Improve mobile conversation design #6087
- Replace remaining faceboxes with Bootstrap modals #6106 #6161
- Rewrite header using Bootstrap 3 #6109 #6130 #6132
- Use upstream CSS mappings for Entypo #6158
- Replace some mobile icons with Entypo #6218
- Refactor publisher backbone view #6228
- Destroy Participation when removing interactions with a post #5852
- Improve accessibility of a couple pages #6227
- Support color themes #6033
- Add mobile services and privacy settings pages #6086
- Optionally make your extended profile details public #6162
- Add admin dashboard showing latest diaspora* version #6216
- Display poll & location on mobile #6238
- Update counts on contacts page dynamically #6240
- Drop broken correlations from the admin pages #6223
- Fix indentation and a link title on the default home page #6212
- Bring peeping Tom on the 404 page back #6226
- Implement NodeInfo #6239
- Update perfect-scrollbar #6085
- Remove top margin for first heading in a post #6110
- Add link to pod statistics in right navigation #6117
- Update to Rails 4.2.3 #6140
- Refactor person related URL generation #6168
- Move webfinger and HCard generation out of the core and embed the
diaspora_federation-rails
gem #6151 - Refactor rspec tests to to use
let
instead of before blocks #6199 - Refactor tests for EXIF stripping #6183
- Precompile facebox images #6105
- Fix wrong closing a-tag #6111
- Fix mobile more-button wording when there are less than 15 posts #6118
- Fix reappearing flash boxes during sign-in #6146
- Capitalize Wiki link #6193
- Add configuration options for some debug logs #6090
- Send new users a welcome message from the podmin #6128
- Cleanup temporary upload files daily #6147
- Add guid to posts and comments in the user export #6185
diaspora* versions prior 0.5.1.2 leaked potentially private profile data (namely the bio, birthday, gender and location fields) to unauthorized users. While the frontend properly hid them, the backend missed a check to not include them in responses. Thanks to @cmrd-senya for finding and reporting the issue.
Update rails to 4.2.2, rack to 1.6.2 and jquery-rails to 4.0.4. This fixes
- Use Bootstrap modal for new aspect pane #5850
- Use asset helper instead of .css.erb #5886
- Dropped db/seeds.rb #5896
- Drop broken install scripts #5907
- Improve invoking mobile site in the testsuite #5915
- Do not retry a couple of unrecoverable job failures #5938 #5942
- Remove some old temporary workarounds #5964
- Remove unused
hasPhotos
andhasText
functions #5969 - Replace foreman with eye #5966
- Improved handling of reshares with deleted roots #5968
- Remove two unused methods #5970
- Refactored the Logger to add basic logrotating and more useful timestamps #5975
- Gracefully handle mailer failures if a like is already deleted again #5983
- Ensure posts have an author #5986
- Improve the logging messages of Sidekiq messages #5988
- Improve the logging of Eyes output #5989
- Gracefully handle XML parse errors within federation #5991
- Remove zip-zip workaround gem #6001
- Cleanup and reorganize image assets #6004
- Replace vendored assets for facebox by gem #6005
- Improve styling of horizontal ruler in posts #6016
- Increase post titles length to 50 and use configured pod name as title in the atom feed #6020
- Remove deprecated Facebook permissions #6019
- Make used post title lengths more consistent #6022
- Improved logging source #6041
- Gracefully handle duplicate entry while receiving share-visibility in parallel #6068
- Update twitter gem to get rid of deprecation warnings #6083
- Refactor photos federation to get rid of some hacks #6082
- Disable auto follow back on aspect deletion #5846
- Fix only sharing flag for contacts that are receiving #5848
- Return 406 when requesting a JSON representation of people/:guid/contacts #5849
- Hide manage services link in the publisher on certain pages #5854
- Fix notification mails for limited posts #5877
- Fix medium and small avatar URLs when using Camo #5883
- Improve output of script/server #5885
- Fix CSS for bold links #5887
- Correctly handle IE8 in the chrome frame middleware #5878
- Fix code reloading for PostPresenter #5888
- Fix closing account from mobile view #5913
- Allow using common custom template for desktop & mobile landing page #5915
- Use correct branding in Atom feed #5929
- Update the configurate gem to avoid issues by missed missing settings keys #5934
- ContactPresenter#full_hash_with_person did not contain relationship information #5936
- Fix inactive user removal not respecting configuration for daily limits #5953
- Fix missing localization of inactive user removal warning emails #5950
- Fix fetching for public post while Webfingering #5958
- Handle empty searchable in HCard gracefully #5962
- Fix a freeze in new post parsing #5965
- Add case insensitive unconfirmed email addresses as authentication key #5967
- Fix liking on single post views when accessed via GUID #5978
- Only return the current_users participation for post interactions #6007
- Fix tag rendering in emails #6009
- Fix the logo in emails #6013
- Disable autocorrect for username on mobile sign in #6028
- Fix broken default avatars in the database #6014
- Only strip text direction codepoints around hashtags #6067
- Fix selected week on admin weekly stats page #6079
- Fix that some unread conversations may be hidden #6060
- Fix photo links in the mobile interface #6082
- Hide post title of limited post in comment notification email #5843
- More and better environment checks in script/server #5891
- Enable aspect sorting again #5559
- Submit messages in conversations with Ctrl+Enter #5910
- Support syntax highlighting for fenced code blocks #5908
- Added link to diasporafoundation.org to invitation email #5893
- Gracefully handle missing
og:url
s #5926 - Remove private post content from "also commented" mails #5931
- Add a button to follow/unfollow tags to the mobile interface #5941
- Add a "Manage followed tags" page to mass unfollow tags in the mobile interface #5945
- Add popover/tooltip about email visibility to registration/settings page #5956
- Fetch person posts on sharing request #5960
- Introduce 'authorized' configuration option for services #5985
- Added configuration options for log rotating #5994
Use the correct setting for captcha length instead of defaulting to 1 always.
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 comprehensive test suite 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.
For MySQL databases, replace charset: utf8
with encoding: utf8mb4
and change collation
from utf8_bin
to utf8mb4_bin
in the file config/database.yml
.
This is enables full UTF8 support (4bytes characters), including standard emoji characters.
See database.yml.example
for reference.
Please make sure to stop Diaspora prior running this migration!
This release adds experimental integration with XMPP for real-time chat. Please see our wiki for further informations.
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.
Removing of old inactive users can now be done automatically by background processing. The amount of inactivity is set by after_days
. A warning email will be sent to the user and after an additional warn_days
, the account will be automatically closed.
This maintenance is not enabled by default. Podmins can enable it by for example copying over the new settings under settings.maintenance
to their diaspora.yml
file and setting it enabled. The default setting is to expire accounts that have been inactive for 2 years (no login).
It is now possible to enable an automatic proxying of external assets, for example images embedded via Markdown or OpenGraph thumbnails loaded from insecure third party servers through a Camo proxy.
This is disabled by default since it requires the installation of additional packages and might cause some traffic. Check the wiki page for more information and detailed installation instructions.
Podmins can now set the currency for donations, and use an unhosted button if they can't use a hosted one. Note: you need to copy the new settings from diaspora.yml.example to your diaspora.yml file. The existing settings from 0.4.x and before will not work any more.
diaspora* no longer adds a div.container
to wrap custom splash pages. This adds the ability for podmins to write home pages using Bootstrap's fluid design. Podmins who added a custom splash page in app/views/home/_show.{html,mobile}.haml
need to wrap the contents into a div.container
to keep the old design. You will find updated examples in our wiki.
- Redesign contacts page #5153
- Improve profile page design on mobile #5084
- Port test suite 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
- Pull jquery.hotkeys.js from rails-assets.org #5368
- Reduce amount of useless background job retries and pull public posts when missing #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
- Update rack-protection #5403
- Cleanup diaspora.yml #5426
- Replace
opengraph_parser
withopen_graph_reader
#5462 - Make sure conversations without any visibilities left are deleted #5478
- Change tooltip for delete button in conversations view #5477
- Replace a modifier-rescue with a specific rescue #5491
- Port contacts page to backbone #5473
- Replace CSS vendor prefixes automatically #5532
- Use sentence case consistently throughout UI #5588
- Hide sign up button when registrations are disabled #5612
- Standardize capitalization throughout the UI #5588
- Display photos on the profile page as thumbnails #5521
- Unify not connected pages (sign in, sign up, forgot password) #5391
- Port remaining stream pages to Bootstrap #5715
- Port notification dropdown to Backbone #5707 #5761
- Add rounded corners for avatars #5733
- Move registration form to a partial #5764
- Add tests for liking and unliking posts #5741
- Rewrite slide effect in conversations as css transition for better performance #5776
- Various cleanups and improvements in the frontend code #5781 #5769 #5763 #5762 #5758 #5755 #5747 #5734 #5786 #5768
- Add specs and validations to the role model #5792
- Replace 'Make something' text by diaspora ball logo on registration page #5743
- 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
- More robust URL parsing for oEmbed and OpenGraph #5347
- Fix Publisher doesn't expand while uploading images #3098
- Drop unneeded and too open crossdomain.xml
- Fix hidden aspect dropdown on getting started page #5407
- Fix a few issues on Bootstrap pages #5401
- Improve handling of the
more
link on mobile stream pages #5400 - Fix prefilling publisher after getting started #5442
- Fix overflow in profile sidebar #5450
- Fix code overflow in SPV and improve styling for code tags #5422
- Correctly validate if local recipients actually want to receive a conversation #5449
- Improve consistency of poll answer ordering #5471
- Fix broken aspect selectbox on asynchronous search results #5488
- Replace %{third_party_tools} by the appropriate hyperlink in tags FAQ #5509
- Repair downloading the profile image from Facebook #5493
- Fix localization of post and comment timestamps on mobile #5482
- Fix mobile JS loading to quieten errors. Fixes also service buttons on mobile bookmarklet.
- Don't error out when adding a too long location to the profile #5614
- Correctly decrease unread count for conversations #5646
- Fix automatic scroll for conversations #5646
- Fix missing translation on privacy settings page #5671
- Fix code overflow for the mobile website #5675
- Strip Unicode format characters prior post processing #5680
- Disable email notifications for closed user accounts #5640
- Total user statistic no longer includes closed accounts #5041
- Don't add a space when rendering a mention #5711
- Fix flickering hovercards #5714 #5876
- Improved stripping markdown in post titles #5730
- Remove border from reply form for conversations #5744
- Fix overflow for headings, blockquotes and other elements #5731
- Correct photo count on profile page #5751
- Fix mobile sign up from an invitation #5754
- Set max-width for tag following button on tag page #5752
- Display error messages for failed password change #5580
- Display correct error message for too long tags #5783
- Fix displaying reshares in the stream on mobile #5790
- Remove bottom margin from lists that are the last element of a post. #5721
- Fix pagination design on conversations page #5791
- Prevent inserting posts into the wrong stream #5838
- Update help section #5857 #5859
- Fix asset precompilation check in script/server #5863
- Convert MySQL databases to utf8mb4 #5530 #5624 #5865
- Don't upcase labels on mobile sign up/sign in #5872
- 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
- Maintenance feature to automatically expire inactive accounts #5288
- Add LibreJS markers to JavaScript 5320
- Ask for confirmation when leaving a submittable publisher #5309
- Allow page-specific styling via individual CSS classes #5282
- Change diaspora logo in the header on hover #5355
- Display diaspora handle in search results #5419
- Show a message on the ignored users page when there are none #5434
- Truncate too long OpenGraph descriptions #5387
- Make the source code URL configurable #5410
- Prefill publisher on the tag pages #5442
- Don't include the content of non-public posts into notification mails #5494
- Allow to set unhosted button and currency for paypal donation #5452
- Add followed tags in the mobile menu #5468
- Replace Pagedown with markdown-it #5526
- Do not truncate notification emails anymore #4342
- Allows users to export their data in gzipped JSON format from their user settings page #5499
- Strip EXIF data from newly uploaded images #5510
- Hide user setting if the community spotlight is not enabled on the pod #5562
- Add HTML view for pod statistics #5464
- Added/Moved hide, block user, report and delete button in SPV #5547
- Added keyboard shortcuts r(reshare), m(expand Post), o(open first link in post) #5602
- Added dropdown to add/remove people from/to aspects in mobile view #5594
- Dynamically compute minimum and maximum valid year for birthday field #5639
- Show hovercard on mentions #5652
- Make help sections linkable #5667
- Add invitation link to contacts page #5655
- Add year to notifications page #5676
- Give admins the ability to lock & unlock accounts #5643
- Add reshares to the stream view immediately #5699
- Update and improve help section #5665, #5706
- Expose participation controls in the stream view #5511
- Reimplement photo export #5685
- Add participation controls in the single post view #5722
- Display polls on reshares #5782
- Remove footer from stream pages #5816
- Update Redcarped, fixes OSVDB-120415.
- Update Rails, fixes CVE-2014-7818.
- 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 sign up 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#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.