Changelog.md 102 KB
Newer Older
1 2
# 0.6.0.0

3 4 5 6 7 8 9 10 11 12 13 14 15 16
## The DB environment variable is gone

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:

```sh
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.

17 18 19 20 21
## Supported Ruby versions

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.

22 23 24 25 26 27 28
## Configuration changes

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.

29 30
## Terms of Use design changes

31
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.
32

33
## Refactor
34
* Improve bookmarklet [#5904](https://github.com/diaspora/diaspora/pull/5904)
35
* Update listen configuration to listen on unix sockets by default [#5974](https://github.com/diaspora/diaspora/pull/5974)
36
* Port to Bootstrap 3 [#6015](https://github.com/diaspora/diaspora/pull/6015)
37
* Use a fixed width for the mobile drawer [#6057](https://github.com/diaspora/diaspora/pull/6057)
38
* Replace jquery.autoresize with autosize [#6104](https://github.com/diaspora/diaspora/pull/6104)
39
* Improve mobile conversation design [#6087](https://github.com/diaspora/diaspora/pull/6087)
40
* Replace remaining faceboxes with Bootstrap modals [#6106](https://github.com/diaspora/diaspora/pull/6106) [#6161](https://github.com/diaspora/diaspora/pull/6161)
41
* Rewrite header using Bootstrap 3 [#6109](https://github.com/diaspora/diaspora/pull/6109) [#6130](https://github.com/diaspora/diaspora/pull/6130) [#6132](https://github.com/diaspora/diaspora/pull/6132)
42
* Use upstream CSS mappings for Entypo [#6158](https://github.com/diaspora/diaspora/pull/6158)
43
* Replace some mobile icons with Entypo [#6218](https://github.com/diaspora/diaspora/pull/6218)
44
* Refactor publisher backbone view [#6228](https://github.com/diaspora/diaspora/pull/6228)
45
* Replace MBP.autogrow with autosize on mobile [#6261](https://github.com/diaspora/diaspora/pull/6261)
46
* Improve mobile drawer transition [#6233](https://github.com/diaspora/diaspora/pull/6233)
47
* Remove unused header icons and an unused favicon  [#6283](https://github.com/diaspora/diaspora/pull/6283)
48
* Replace mobile icons for post interactions with Entypo icons [#6291](https://github.com/diaspora/diaspora/pull/6291)
49
* Replace jquery.autocomplete with typeahead.js [#6293](https://github.com/diaspora/diaspora/pull/6293)
50
* Redesign sidebars on stream pages [#6309](https://github.com/diaspora/diaspora/pull/6309)
51
* Improve ignored users styling [#6349](https://github.com/diaspora/diaspora/pull/6349)
52
* Use Blueimp image gallery instead of lightbox [#6301](https://github.com/diaspora/diaspora/6301)
53
* Unify mobile and desktop header design [#6285](https://github.com/diaspora/diaspora/6285)
54 55
* Add white background and box-shadow to stream elements [#6324](https://github.com/diaspora/diaspora/6324)
* Override Bootstrap list group design [#6345](https://github.com/diaspora/diaspora/6345)
56
* Clean up publisher code [#6336](https://github.com/diaspora/diaspora/6336)
57
* Port conversations to new design [#6431](https://github.com/diaspora/diaspora/pull/6431)
58
* Hide cancel button in publisher on small screens [#6435](https://github.com/diaspora/diaspora/pull/6435)
59
* Replace mobile background with color [#6415](https://github.com/diaspora/diaspora/pull/6415)
60
* Port flash messages to backbone [#6395](https://github.com/diaspora/diaspora/6395)
61 62 63

## Bug fixes
* Destroy Participation when removing interactions with a post [#5852](https://github.com/diaspora/diaspora/pull/5852)
64
* Improve accessibility of a couple pages [#6227](https://github.com/diaspora/diaspora/pull/6227)
65
* Capitalize "Powered by diaspora" [#6254](https://github.com/diaspora/diaspora/pull/6254)
66
* Display username and avatar for NSFW posts in mobile view [#6245](https://github.com/diaspora/diaspora/6245)
67
* Prevent multiple comment boxes on mobile [#6363](https://github.com/diaspora/diaspora/pull/6363)
68
* Correctly display location in post preview [#6429](https://github.com/diaspora/diaspora/pull/6429)
69 70

## Features
71
* Support color themes [#6033](https://github.com/diaspora/diaspora/pull/6033)
72
* Add mobile services and privacy settings pages [#6086](https://github.com/diaspora/diaspora/pull/6086)
73
* Optionally make your extended profile details public [#6162](https://github.com/diaspora/diaspora/pull/6162)
74
* Add admin dashboard showing latest diaspora\* version [#6216](https://github.com/diaspora/diaspora/pull/6216)
75
* Display poll & location on mobile [#6238](https://github.com/diaspora/diaspora/pull/6238)
76
* Update counts on contacts page dynamically [#6240](https://github.com/diaspora/diaspora/pull/6240)
77
* Add support for relay based public post federation [#6207](https://github.com/diaspora/diaspora/pull/6207)
78
* Bigger mobile publisher [#6261](https://github.com/diaspora/diaspora/pull/6261)
79
* Backend information panel & health checks for known pods [#6290](https://github.com/diaspora/diaspora/pull/6290)
80
* Allow users to view a posts locations on an OpenStreetMap [#6256](https://github.com/diaspora/diaspora/pull/6256)
81
* Redesign and unify error pages [#6428](https://github.com/diaspora/diaspora/pull/6428)
82
* Redesign and refactor report admin interface [#6378](https://github.com/diaspora/diaspora/pull/6378)
83
* Add permalink icon to stream elements [#6457](https://github.com/diaspora/diaspora/pull/6457)
84

85 86 87
# 0.5.4.0

## Refactor
88
*  Improve infinite scroll triggering [#6451](https://github.com/diaspora/diaspora/pull/6451)
89 90

## Bug fixes
91
* Skip first getting started step if it looks done already [#6456](https://github.com/diaspora/diaspora/pull/6456)
92
* Normalize new followed tags and insert them alphabetically [#6454](https://github.com/diaspora/diaspora/pull/6454)
93
* Add avatar fallback for notification dropdown [#6463](https://github.com/diaspora/diaspora/pull/6463)
94
* Improve handling of j/k hotkeys [#6462](https://github.com/diaspora/diaspora/pull/6462)
95
* Fix JS error caused by hovercards [6480](https://github.com/diaspora/diaspora/pull/6480)
96 97 98

## Features
* Show spinner on initial stream load [#6384](https://github.com/diaspora/diaspora/pull/6384)
99
* Add new moderator role. Moderators can view and act on reported posts [#6351](https://github.com/diaspora/diaspora/pull/6351)
Jonne Haß's avatar
Jonne Haß committed
100
* Only post to the primary tumblr blog [#6386](https://github.com/diaspora/diaspora/pull/6386)
101
* Always show public photos on profile page [#6398](https://github.com/diaspora/diaspora/pull/6398)
102
* Expose Unicorn's pid option to our configuration system [#6411](https://github.com/diaspora/diaspora/pull/6411)
Steffen van Bergerem's avatar
Steffen van Bergerem committed
103
* Add stream of all public posts [#6465](https://github.com/diaspora/diaspora/pull/6465)
104
* Reload stream when clicking on already active one [#6466](https://github.com/diaspora/diaspora/pull/6466)
105

Jonne Haß's avatar
Jonne Haß committed
106 107 108 109 110
# 0.5.3.1

Fix a leak of potentially private profile data to unauthorized users who were sharing with the person
and on a pod that received that data.

Jonne Haß's avatar
Jonne Haß committed
111 112 113
# 0.5.3.0

## Refactor
Steffen van Bergerem's avatar
Steffen van Bergerem committed
114
* Drop broken correlations from the admin pages [#6223](https://github.com/diaspora/diaspora/pull/6223)
115
* Extract PostService from PostsController [#6208](https://github.com/diaspora/diaspora/pull/6208)
116
* Drop outdated/unused mbp-respond.min.js and mbp-modernizr-custom.js [#6257](https://github.com/diaspora/diaspora/pull/6257)
Mikica Ivosevic's avatar
Mikica Ivosevic committed
117
* Refactor ApplicationController#after\_sign\_out\_path\_for [#6258](https://github.com/diaspora/diaspora/pull/6258)
118
* Extract StatusMessageService from StatusMessagesController [#6280](https://github.com/diaspora/diaspora/pull/6280)
119
* Refactor HomeController#toggle\_mobile [#6260](https://github.com/diaspora/diaspora/pull/6260)
120
* Extract CommentService from CommentsController [#6307](https://github.com/diaspora/diaspora/pull/6307)
121
* Extract user/profile discovery into the diaspora\_federation-rails gem [#6310](https://github.com/diaspora/diaspora/pull/6310)
122
* Refactor PostPresenter [#6315](https://github.com/diaspora/diaspora/pull/6315)
123
* Convert BackToTop to a backbone view [#6279](https://github.com/diaspora/diaspora/pull/6279) and [#6360](https://github.com/diaspora/diaspora/pull/6360)
124
* Automatically follow the new HQ-Account [#6369](https://github.com/diaspora/diaspora/pull/6369)
Jonne Haß's avatar
Jonne Haß committed
125 126

## Bug fixes
127
* Fix indentation and a link title on the default home page [#6212](https://github.com/diaspora/diaspora/pull/6212)
128
* Bring peeping Tom on the 404 page back [#6226](https://github.com/diaspora/diaspora/pull/6226)
129
* Fix mobile photos index page [#6243](https://github.com/diaspora/diaspora/pull/6243)
130
* Fix conversations view with no contacts [#6266](https://github.com/diaspora/diaspora/pull/6266)
131
* Links in the left sidebar are now clickable on full width [#6267](https://github.com/diaspora/diaspora/pull/6267)
132
* Guard against passing nil into person\_image\_tag [#6286](https://github.com/diaspora/diaspora/pull/6286)
133
* Prevent Handlebars from messing up indentation of pre tags [#6339](https://github.com/diaspora/diaspora/pull/6339)
134
* Fix pagination design on notifications page [#6364](https://github.com/diaspora/diaspora/pull/6364)
Jonne Haß's avatar
Jonne Haß committed
135 136 137

## Features

138
* Implement NodeInfo [#6239](https://github.com/diaspora/diaspora/pull/6239)
139
* Display original author on reshares of NSFW posts [#6270](https://github.com/diaspora/diaspora/pull/6270)
140
* Use avatars in hovercards as links to the profile [#6297](https://github.com/diaspora/diaspora/pull/6297)
141
* Remove avatars of ignored users from stream faces [#6320](https://github.com/diaspora/diaspora/pull/6320)
augier's avatar
augier committed
142
* New /m route to force the mobile view [#6354](https://github.com/diaspora/diaspora/pull/6354)
143

144 145
# 0.5.2.0

146
## Refactor
147
* Update perfect-scrollbar [#6085](https://github.com/diaspora/diaspora/pull/6085)
148
* Remove top margin for first heading in a post [#6110](https://github.com/diaspora/diaspora/pull/6110)
149
* Add link to pod statistics in right navigation [#6117](https://github.com/diaspora/diaspora/pull/6117)
Jonne Haß's avatar
Jonne Haß committed
150
* Update to Rails 4.2.3 [#6140](https://github.com/diaspora/diaspora/pull/6140)
Benjamin Neff's avatar
Benjamin Neff committed
151
* Refactor person related URL generation [#6168](https://github.com/diaspora/diaspora/pull/6168)
152
* Move webfinger and HCard generation out of the core and embed the `diaspora_federation-rails` gem [#6151](https://github.com/diaspora/diaspora/pull/6151/)
153
* Refactor rspec tests to to use `let` instead of before blocks [#6199](https://github.com/diaspora/diaspora/pull/6199)
154
* Refactor tests for EXIF stripping [#6183](https://github.com/diaspora/diaspora/pull/6183)
155

156 157
## Bug fixes
* Precompile facebox images [#6105](https://github.com/diaspora/diaspora/pull/6105)
158
* Fix wrong closing a-tag [#6111](https://github.com/diaspora/diaspora/pull/6111)
159
* Fix mobile more-button wording when there are less than 15 posts [#6118](https://github.com/diaspora/diaspora/pull/6118)
160
* Fix reappearing flash boxes during sign-in [#6146](https://github.com/diaspora/diaspora/pull/6146)
161
* Capitalize Wiki link [#6193](https://github.com/diaspora/diaspora/pull/6193)
162

163 164
## Features
* Add configuration options for some debug logs [#6090](https://github.com/diaspora/diaspora/pull/6090)
165
* Send new users a welcome message from the podmin [#6128](https://github.com/diaspora/diaspora/pull/6128)
166
* Cleanup temporary upload files daily [#6147](https://github.com/diaspora/diaspora/pull/6147)
167
* Add guid to posts and comments in the user export [#6185](https://github.com/diaspora/diaspora/pull/6185)
168

Jonne Haß's avatar
Jonne Haß committed
169 170 171 172 173 174
# 0.5.1.2

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.

175 176 177 178 179 180 181 182 183
# 0.5.1.1

Update rails to 4.2.2, rack to 1.6.2 and jquery-rails to 4.0.4. This fixes

* [CVE-2015-3226](https://groups.google.com/d/msg/rubyonrails-security/7VlB_pck3hU/3QZrGIaQW6cJ)
* [CVE-2015-3227](https://groups.google.com/d/msg/rubyonrails-security/bahr2JLnxvk/x4EocXnHPp8J)
* [CVE-2015-1840](https://groups.google.com/d/msg/rubyonrails-security/XIZPbobuwaY/fqnzzpuOlA4J)
* [CVE-2015-3225](https://groups.google.com/d/msg/rubyonrails-security/gcUbICUmKMc/qiCotVZwXrMJ)

184
# 0.5.1.0
185 186

## Refactor
187
* Use Bootstrap modal for new aspect pane [#5850](https://github.com/diaspora/diaspora/pull/5850)
188
* Use asset helper instead of .css.erb [#5886](https://github.com/diaspora/diaspora/pull/5886)
189
* Dropped db/seeds.rb [#5896](https://github.com/diaspora/diaspora/pull/5896)
190
* Drop broken install scripts [#5907](https://github.com/diaspora/diaspora/pull/5907)
191
* Improve invoking mobile site in the testsuite [#5915](https://github.com/diaspora/diaspora/pull/5915)
192
* Do not retry a couple of unrecoverable job failures [#5938](https://github.com/diaspora/diaspora/pull/5938) [#5942](https://github.com/diaspora/diaspora/pull/5943)
193
* Remove some old temporary workarounds [#5964](https://github.com/diaspora/diaspora/pull/5964)
194
* Remove unused `hasPhotos` and `hasText` functions [#5969](https://github.com/diaspora/diaspora/pull/5969)
Jonne Haß's avatar
Jonne Haß committed
195
* Replace foreman with eye [#5966](https://github.com/diaspora/diaspora/pull/5966)
196
* Improved handling of reshares with deleted roots [#5968](https://github.com/diaspora/diaspora/pull/5968)
197
* Remove two unused methods [#5970](https://github.com/diaspora/diaspora/pull/5970)
198
* Refactored the Logger to add basic logrotating and more useful timestamps [#5975](https://github.com/diaspora/diaspora/pull/5975)
199
* Gracefully handle mailer failures if a like is already deleted again [#5983](https://github.com/diaspora/diaspora/pull/5983)
200
* Ensure posts have an author [#5986](https://github.com/diaspora/diaspora/pull/5986)
201
* Improve the logging messages of Sidekiq messages [#5988](https://github.com/diaspora/diaspora/pull/5988)
202
* Improve the logging of Eyes output [#5989](https://github.com/diaspora/diaspora/pull/5989)
203
* Gracefully handle XML parse errors within federation [#5991](https://github.com/diaspora/diaspora/pull/5991)
204
* Remove zip-zip workaround gem [#6001](https://github.com/diaspora/diaspora/pull/6001)
Benjamin Neff's avatar
Benjamin Neff committed
205
* Cleanup and reorganize image assets [#6004](https://github.com/diaspora/diaspora/pull/6004)
206
* Replace vendored assets for facebox by gem [#6005](https://github.com/diaspora/diaspora/pull/6005)
207
* Improve styling of horizontal ruler in posts [#6016](https://github.com/diaspora/diaspora/pull/6016)
208
* Increase post titles length to 50 and use configured pod name as title in the atom feed [#6020](https://github.com/diaspora/diaspora/pull/6020)
209
* Remove deprecated Facebook permissions [#6019](https://github.com/diaspora/diaspora/pull/6019)
210
* Make used post title lengths more consistent [#6022](https://github.com/diaspora/diaspora/pull/6022)
211
* Improved logging source [#6041](https://github.com/diaspora/diaspora/pull/6041)
212
* Gracefully handle duplicate entry while receiving share-visibility in parallel [#6068](https://github.com/diaspora/diaspora/pull/6068)
213
* Update twitter gem to get rid of deprecation warnings [#6083](https://github.com/diaspora/diaspora/pull/6083)
214
* Refactor photos federation to get rid of some hacks [#6082](https://github.com/diaspora/diaspora/pull/6082)
215 216 217

## Bug fixes
* Disable auto follow back on aspect deletion [#5846](https://github.com/diaspora/diaspora/pull/5846)
218
* Fix only sharing flag for contacts that are receiving [#5848](https://github.com/diaspora/diaspora/pull/5848)
219
* Return 406 when requesting a JSON representation of people/:guid/contacts [#5849](https://github.com/diaspora/diaspora/pull/5849)
220
* Hide manage services link in the publisher on certain pages [#5854](https://github.com/diaspora/diaspora/pull/5854)
221
* Fix notification mails for limited posts [#5877](https://github.com/diaspora/diaspora/pull/5877)
222
* Fix medium and small avatar URLs when using Camo [#5883](https://github.com/diaspora/diaspora/pull/5883)
223
* Improve output of script/server [#5885](https://github.com/diaspora/diaspora/pull/5885)
224
* Fix CSS for bold links [#5887](https://github.com/diaspora/diaspora/pull/5887)
225
* Correctly handle IE8 in the chrome frame middleware [#5878](https://github.com/diaspora/diaspora/pull/5878)
226
* Fix code reloading for PostPresenter [#5888](https://github.com/diaspora/diaspora/pull/5888)
227
* Fix closing account from mobile view [#5913](https://github.com/diaspora/diaspora/pull/5913)
228
* Allow using common custom template for desktop & mobile landing page [#5915](https://github.com/diaspora/diaspora/pull/5915)
229
* Use correct branding in Atom feed [#5929](https://github.com/diaspora/diaspora/pull/5929)
230
* Update the configurate gem to avoid issues by missed missing settings keys [#5934](https://github.com/diaspora/diaspora/pull/5934)
231
* ContactPresenter#full_hash_with_person did not contain relationship information [#5936](https://github.com/diaspora/diaspora/pull/5936)
232
* Fix inactive user removal not respecting configuration for daily limits [#5953](https://github.com/diaspora/diaspora/pull/5953)
233
* Fix missing localization of inactive user removal warning emails [#5950](https://github.com/diaspora/diaspora/issues/5950)
234
* Fix fetching for public post while Webfingering [#5958](https://github.com/diaspora/diaspora/pull/5958)
235
* Handle empty searchable in HCard gracefully [#5962](https://github.com/diaspora/diaspora/pull/5962)
236
* Fix a freeze in new post parsing [#5965](https://github.com/diaspora/diaspora/pull/5965)
237
* Add case insensitive unconfirmed email addresses as authentication key [#5967](https://github.com/diaspora/diaspora/pull/5967)
238
* Fix liking on single post views when accessed via GUID [#5978](https://github.com/diaspora/diaspora/pull/5978)
239
* Only return the current_users participation for post interactions [#6007](https://github.com/diaspora/diaspora/pull/6007)
240
* Fix tag rendering in emails [#6009](https://github.com/diaspora/diaspora/pull/6009)
241
* Fix the logo in emails [#6013](https://github.com/diaspora/diaspora/pull/6013)
242
* Disable autocorrect for username on mobile sign in [#6028](https://github.com/diaspora/diaspora/pull/6028)
243
* Fix broken default avatars in the database [#6014](https://github.com/diaspora/diaspora/pull/6014)
244
* Only strip text direction codepoints around hashtags [#6067](https://github.com/diaspora/diaspora/issues/6067)
245
* Fix selected week on admin weekly stats page [#6079](https://github.com/diaspora/diaspora/pull/6079)
246
* Fix that some unread conversations may be hidden [#6060](https://github.com/diaspora/diaspora/pull/6060)
247
* Fix photo links in the mobile interface [#6082](https://github.com/diaspora/diaspora/pull/6082)
248 249

## Features
250
* Hide post title of limited post in comment notification email [#5843](https://github.com/diaspora/diaspora/pull/5843)
251
* More and better environment checks in script/server [#5891](https://github.com/diaspora/diaspora/pull/5891)
252
* Enable aspect sorting again [#5559](https://github.com/diaspora/diaspora/pull/5559)
253
* Submit messages in conversations with Ctrl+Enter [#5910](https://github.com/diaspora/diaspora/pull/5910)
254
* Support syntax highlighting for fenced code blocks [#5908](https://github.com/diaspora/diaspora/pull/5908)
255
* Added link to diasporafoundation.org to invitation email [#5893](https://github.com/diaspora/diaspora/pull/5893)
Jonne Haß's avatar
Jonne Haß committed
256
* Gracefully handle missing `og:url`s [#5926](https://github.com/diaspora/diaspora/pull/5926)
257
* Remove private post content from "also commented" mails [#5931](https://github.com/diaspora/diaspora/pull/5931)
258
* Add a button to follow/unfollow tags to the mobile interface [#5941](https://github.com/diaspora/diaspora/pull/5941)
259
* Add a "Manage followed tags" page to mass unfollow tags in the mobile interface [#5945](https://github.com/diaspora/diaspora/pull/5945)
260
* Add popover/tooltip about email visibility to registration/settings page [#5956](https://github.com/diaspora/diaspora/pull/5956)
261
* Fetch person posts on sharing request [#5960](https://github.com/diaspora/diaspora/pull/5960)
262
* Introduce 'authorized' configuration option for services [#5985](https://github.com/diaspora/diaspora/pull/5985)
263
* Added configuration options for log rotating [#5994](https://github.com/diaspora/diaspora/pull/5994)
264

Jonne Haß's avatar
Jonne Haß committed
265 266 267 268
# 0.5.0.1

Use the correct setting for captcha length instead of defaulting to 1 always.

Jason Robinson's avatar
Jason Robinson committed
269
# 0.5.0.0
Jonne Haß's avatar
Jonne Haß committed
270

Jonne Haß's avatar
Jonne Haß committed
271 272 273 274 275 276 277 278
## Major Sidekiq update
This release includes a major upgrade of the background processing system Sidekiq. To upgrade cleanly:

1. Stop diaspora*
2. Run `RAILS_ENV=production bundle exec sidekiq` and wait 5-10 minutes, then stop it again (hit `CTRL+C`)
3. Do a normal upgrade of diaspora*
4. Start diaspora*

Jonne Haß's avatar
Jonne Haß committed
279 280 281 282 283 284 285 286 287 288 289 290
## Rails 4 - Manual action required
Please edit `config/initializers/secret_token.rb`, replacing `secret_token` with
`secret_key_base`.

```ruby
# Old
Rails.application.config.secret_token = '***********...'

# New
Diaspora::Application.config.secret_key_base = '*************...'
```

291
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`
Jonne Haß's avatar
Jonne Haß committed
292

293 294 295 296 297
## Supported Ruby versions
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
298
series and run our comprehensive test suite against it.
299

300 301
## Change in defaults.yml
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.
Jonne Haß's avatar
Jonne Haß committed
302

303
## Change in database.yml
goobertron's avatar
Ahem!  
goobertron committed
304
For MySQL databases, replace `charset: utf8` with `encoding: utf8mb4` and  change `collation` from `utf8_bin` to `utf8mb4_bin` in the file `config/database.yml`.
305 306
This is enables full UTF8 support (4bytes characters), including standard emoji characters.
See `database.yml.example` for reference.
307
Please make sure to stop Diaspora prior running this migration!
308

309
## Experimental chat feature
310
This release adds experimental integration with XMPP for real-time chat. Please see  [our wiki](https://wiki.diasporafoundation.org/Vines) for further informations.
311

Jason Robinson's avatar
Jason Robinson committed
312
## Change in statistics.json schema
313
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.
Jason Robinson's avatar
Jason Robinson committed
314 315 316

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.

317 318 319 320 321
## New maintenance feature to automatically expire inactive accounts
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).

322 323 324 325 326
## Camo integration to proxy external assets
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](https://github.com/atmos/camo).

This is disabled by default since it requires the installation of additional packages and might cause some traffic. Check the [wiki page](https://wiki.diasporafoundation.org/Installation/Camo) for more information and detailed installation instructions.

327 328 329 330 331
## Paypal unhosted button and currency
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.

332
## Custom splash page changes
333
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](https://wiki.diasporafoundation.org/Custom_splash_page).
334

Jonne Haß's avatar
Jonne Haß committed
335
## Refactor
336
* Redesign contacts page [#5153](https://github.com/diaspora/diaspora/pull/5153)
337
* Improve profile page design on mobile [#5084](https://github.com/diaspora/diaspora/pull/5084)
338
* Port test suite to RSpec 3 [#5170](https://github.com/diaspora/diaspora/pull/5170)
339
* Port tag stream to Bootstrap [#5138](https://github.com/diaspora/diaspora/pull/5138)
340
* Consolidate migrations, if you need a migration prior 2013, checkout the latest release in the 0.4.x series first [#5173](https://github.com/diaspora/diaspora/pull/5173)
341
* Add tests for mobile sign up [#5185](https://github.com/diaspora/diaspora/pull/5185)
342
* Display new conversation form on conversations/index [#5178](https://github.com/diaspora/diaspora/pull/5178)
343
* Port profile page to Backbone [#5180](https://github.com/diaspora/diaspora/pull/5180)
344
* Pull punycode.js from rails-assets.org [#5263](https://github.com/diaspora/diaspora/pull/5263)
345
* Redesign profile page and port to Bootstrap [#4657](https://github.com/diaspora/diaspora/pull/4657)
346
* Unify stream selection links in the left sidebar [#5271](https://github.com/diaspora/diaspora/pull/5271)
Jason Robinson's avatar
Jason Robinson committed
347
* Refactor schema of statistics.json regarding services [#5296](https://github.com/diaspora/diaspora/pull/5296)
Jonne Haß's avatar
Jonne Haß committed
348 349 350
* Pull jquery.idle-timer.js from rails-assets.org [#5310](https://github.com/diaspora/diaspora/pull/5310)
* Pull jquery.placeholder.js from rails-assets.org [#5299](https://github.com/diaspora/diaspora/pull/5299)
* Pull jquery.textchange.js from rails-assets.org [#5297](https://github.com/diaspora/diaspora/pull/5297)
351
* Pull jquery.hotkeys.js from rails-assets.org [#5368](https://github.com/diaspora/diaspora/pull/5368)
352
* Reduce amount of useless background job retries and pull public posts when missing [#5209](https://github.com/diaspora/diaspora/pull/5209)
353
* 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](https://github.com/diaspora/diaspora/pull/5331)
354
* Convert some cukes to RSpec tests [#5289](https://github.com/diaspora/diaspora/pull/5289)
355
* Hidden overflow for long names on tag pages [#5279](https://github.com/diaspora/diaspora/pull/5279)
356
* Always reshare absolute root of a post [#5276](https://github.com/diaspora/diaspora/pull/5276)
357
* Convert remaining SASS stylesheets to SCSS [#5342](https://github.com/diaspora/diaspora/pull/5342)
358 359
* Update rack-protection [#5403](https://github.com/diaspora/diaspora/pull/5403)
* Cleanup diaspora.yml [#5426](https://github.com/diaspora/diaspora/pull/5426)
360
* Replace `opengraph_parser` with `open_graph_reader` [#5462](https://github.com/diaspora/diaspora/pull/5462)
361
* Make sure conversations without any visibilities left are deleted [#5478](https://github.com/diaspora/diaspora/pull/5478)
362
* Change tooltip for delete button in conversations view [#5477](https://github.com/diaspora/diaspora/pull/5477)
363
* Replace a modifier-rescue with a specific rescue [#5491](https://github.com/diaspora/diaspora/pull/5491)
364
* Port contacts page to backbone [#5473](https://github.com/diaspora/diaspora/pull/5473)
365
* Replace CSS vendor prefixes automatically [#5532](https://github.com/diaspora/diaspora/pull/5532)
366
* Use sentence case consistently throughout UI [#5588](https://github.com/diaspora/diaspora/pull/5588)
367
* Hide sign up button when registrations are disabled [#5612](https://github.com/diaspora/diaspora/pull/5612)
Jonne Haß's avatar
Jonne Haß committed
368
* Standardize capitalization throughout the UI [#5588](https://github.com/diaspora/diaspora/pull/5588)
369
* Display photos on the profile page as thumbnails [#5521](https://github.com/diaspora/diaspora/pull/5521)
flaburgan's avatar
flaburgan committed
370
* Unify not connected pages (sign in, sign up, forgot password) [#5391](https://github.com/diaspora/diaspora/pull/5391)
371
* Port remaining stream pages to Bootstrap [#5715](https://github.com/diaspora/diaspora/pull/5715)
372
* Port notification dropdown to Backbone [#5707](https://github.com/diaspora/diaspora/pull/5707) [#5761](https://github.com/diaspora/diaspora/pull/5761)
373
* Add rounded corners for avatars [#5733](https://github.com/diaspora/diaspora/pull/5733)
374
* Move registration form to a partial [#5764](https://github.com/diaspora/diaspora/pull/5764)
375
* Add tests for liking and unliking posts [#5741](https://github.com/diaspora/diaspora/pull/5741)
376
* Rewrite slide effect in conversations as css transition for better performance [#5776](https://github.com/diaspora/diaspora/pull/5776)
377
* Various cleanups and improvements in the frontend code [#5781](https://github.com/diaspora/diaspora/pull/5781) [#5769](https://github.com/diaspora/diaspora/pull/5769) [#5763](https://github.com/diaspora/diaspora/pull/5763) [#5762](https://github.com/diaspora/diaspora/pull/5762) [#5758](https://github.com/diaspora/diaspora/pull/5758) [#5755](https://github.com/diaspora/diaspora/pull/5755) [#5747](https://github.com/diaspora/diaspora/pull/5747) [#5734](https://github.com/diaspora/diaspora/pull/5734) [#5786](https://github.com/diaspora/diaspora/pull/5786) [#5768](https://github.com/diaspora/diaspora/pull/5798)
378
* Add specs and validations to the role model [#5792](https://github.com/diaspora/diaspora/pull/5792)
379
* Replace 'Make something' text by diaspora ball logo on registration page [#5743](https://github.com/diaspora/diaspora/pull/5743)
Jonne Haß's avatar
Jonne Haß committed
380 381

## Bug fixes
382
* orca cannot see 'Add Contact' button [#5158](https://github.com/diaspora/diaspora/pull/5158)
383
* Move submit button to the right in conversations view [#4960](https://github.com/diaspora/diaspora/pull/4960)
384
* Handle long URLs and titles in OpenGraph descriptions [#5208](https://github.com/diaspora/diaspora/pull/5208)
385
* Fix deformed getting started popover [#5227](https://github.com/diaspora/diaspora/pull/5227)
386
* Use correct locale for invitation subject [#5232](https://github.com/diaspora/diaspora/pull/5232)
Jonne Haß's avatar
Jonne Haß committed
387
* Initial support for IDN emails
388
* Fix services settings reported by statistics.json [#5256](https://github.com/diaspora/diaspora/pull/5256)
Jonne Haß's avatar
Jonne Haß committed
389 390
* Only collapse empty comment box [#5328](https://github.com/diaspora/diaspora/pull/5328)
* Fix pagination for people/guid/contacts [#5304](https://github.com/diaspora/diaspora/pull/5304)
391
* Fix poll creation on Bootstrap pages [#5334](https://github.com/diaspora/diaspora/pull/5334)
392
* Show error message on invalid reset password attempt [#5325](https://github.com/diaspora/diaspora/pull/5325)
393
* Fix translations on mobile password reset pages [#5318](https://github.com/diaspora/diaspora/pull/5318)
394
* Handle unset user agent when signing out [#5316](https://github.com/diaspora/diaspora/pull/5316)
395
* More robust URL parsing for oEmbed and OpenGraph [#5347](https://github.com/diaspora/diaspora/pull/5347)
396
* Fix Publisher doesn't expand while uploading images [#3098](https://github.com/diaspora/diaspora/issues/3098)
397
* Drop unneeded and too open crossdomain.xml
398
* Fix hidden aspect dropdown on getting started page [#5407](https://github.com/diaspora/diaspora/pulls/5407)
399
* Fix a few issues on Bootstrap pages [#5401](https://github.com/diaspora/diaspora/pull/5401)
400
* Improve handling of the `more` link on mobile stream pages [#5400](https://github.com/diaspora/diaspora/pull/5400)
401
* Fix prefilling publisher after getting started [#5442](https://github.com/diaspora/diaspora/pull/5442)
402
* Fix overflow in profile sidebar [#5450](https://github.com/diaspora/diaspora/pull/5450)
403
* Fix code overflow in SPV and improve styling for code tags [#5422](https://github.com/diaspora/diaspora/pull/5422)
404
* Correctly validate if local recipients actually want to receive a conversation [#5449](https://github.com/diaspora/diaspora/pull/5449)
405
* Improve consistency of poll answer ordering [#5471](https://github.com/diaspora/diaspora/pull/5471)
406
* Fix broken aspect selectbox on asynchronous search results [#5488](https://github.com/diaspora/diaspora/pull/5488)
407
* Replace %{third_party_tools} by the appropriate hyperlink in tags FAQ [#5509](https://github.com/diaspora/diaspora/pull/5509)
408
* Repair downloading the profile image from Facebook [#5493](https://github.com/diaspora/diaspora/pull/5493)
409
* Fix localization of post and comment timestamps on mobile [#5482](https://github.com/diaspora/diaspora/issues/5482)
410
* Fix mobile JS loading to quieten errors. Fixes also service buttons on mobile bookmarklet.
Jonne Haß's avatar
Jonne Haß committed
411
* Don't error out when adding a too long location to the profile [#5614](https://github.com/diaspora/diaspora/pull/5614)
412 413
* Correctly decrease unread count for conversations [#5646](https://github.com/diaspora/diaspora/pull/5646)
* Fix automatic scroll for conversations [#5646](https://github.com/diaspora/diaspora/pull/5646)
414
* Fix missing translation on privacy settings page [#5671](https://github.com/diaspora/diaspora/pull/5671)
415
* Fix code overflow for the mobile website [#5675](https://github.com/diaspora/diaspora/pull/5675)
416
* Strip Unicode format characters prior post processing [#5680](https://github.com/diaspora/diaspora/pull/5680)
417
* Disable email notifications for closed user accounts [#5640](https://github.com/diaspora/diaspora/pull/5640)
418
* Total user statistic no longer includes closed accounts [#5041](https://github.com/diaspora/diaspora/pull/5041)
419
* Don't add a space when rendering a mention [#5711](https://github.com/diaspora/diaspora/pull/5711)
420
* Fix flickering hovercards [#5714](https://github.com/diaspora/diaspora/pull/5714) [#5876](https://github.com/diaspora/diaspora/pull/5876)
421
* Improved stripping markdown in post titles [#5730](https://github.com/diaspora/diaspora/pull/5730)
422
* Remove border from reply form for conversations [#5744](https://github.com/diaspora/diaspora/pull/5744)
423
* Fix overflow for headings, blockquotes and other elements [#5731](https://github.com/diaspora/diaspora/pull/5731)
424
* Correct photo count on profile page [#5751](https://github.com/diaspora/diaspora/pull/5751)
425
* Fix mobile sign up from an invitation [#5754](https://github.com/diaspora/diaspora/pull/5754)
426
* Set max-width for tag following button on tag page [#5752](https://github.com/diaspora/diaspora/pull/5752)
427
* Display error messages for failed password change [#5580](https://github.com/diaspora/diaspora/pull/5580)
428
* Display correct error message for too long tags [#5783](https://github.com/diaspora/diaspora/pull/5783)
429
* Fix displaying reshares in the stream on mobile [#5790](https://github.com/diaspora/diaspora/pull/5790)
430
* Remove bottom margin from lists that are the last element of a post. [#5721](https://github.com/diaspora/diaspora/pull/5721)
431
* Fix pagination design on conversations page [#5791](https://github.com/diaspora/diaspora/pull/5791)
432
* Prevent inserting posts into the wrong stream [#5838](https://github.com/diaspora/diaspora/pull/5838)
433
* Update help section [#5857](https://github.com/diaspora/diaspora/pull/5857) [#5859](https://github.com/diaspora/diaspora/pull/5859)
434
* Fix asset precompilation check in script/server [#5863](https://github.com/diaspora/diaspora/pull/5863)
435
* Convert MySQL databases to utf8mb4 [#5530](https://github.com/diaspora/diaspora/pull/5530) [#5624](https://github.com/diaspora/diaspora/pull/5624) [#5865](https://github.com/diaspora/diaspora/pull/5865)
436
* Don't upcase labels on mobile sign up/sign in [#5872](https://github.com/diaspora/diaspora/pull/5872)
Jonne Haß's avatar
Jonne Haß committed
437 438

## Features
439
* Don't pull jQuery from a CDN by default [#5105](https://github.com/diaspora/diaspora/pull/5105)
440
* Better character limit message [#5151](https://github.com/diaspora/diaspora/pull/5151)
441
* Remember whether a AccountDeletion was performed [#5156](https://github.com/diaspora/diaspora/pull/5156)
442
* Increased the number of notifications shown in drop down bar to 15 [#5129](https://github.com/diaspora/diaspora/pull/5129)
443
* Increase possible captcha length [#5169](https://github.com/diaspora/diaspora/pull/5169)
444
* Display visibility icon in publisher aspects dropdown [#4982](https://github.com/diaspora/diaspora/pull/4982)
445
* Add a link to the reported comment in the admin panel [#5337](https://github.com/diaspora/diaspora/pull/5337)
446
* Strip search query from leading and trailing whitespace [#5317](https://github.com/diaspora/diaspora/pull/5317)
447
* Add the "network" key to statistics.json and set it to "Diaspora" [#5308](https://github.com/diaspora/diaspora/pull/5308)
448
* Infinite scrolling in the notifications dropdown [#5237](https://github.com/diaspora/diaspora/pull/5237)
449
* Maintenance feature to automatically expire inactive accounts [#5288](https://github.com/diaspora/diaspora/pull/5288)
450
* Add LibreJS markers to JavaScript [5320](https://github.com/diaspora/diaspora/pull/5320)
451
* Ask for confirmation when leaving a submittable publisher [#5309](https://github.com/diaspora/diaspora/pull/5309)
452
* Allow page-specific styling via individual CSS classes [#5282](https://github.com/diaspora/diaspora/pull/5282)
453
* Change diaspora logo in the header on hover [#5355](https://github.com/diaspora/diaspora/pull/5355)
454
* Display diaspora handle in search results [#5419](https://github.com/diaspora/diaspora/pull/5419)
455
* Show a message on the ignored users page when there are none [#5434](https://github.com/diaspora/diaspora/pull/5434)
456
* Truncate too long OpenGraph descriptions [#5387](https://github.com/diaspora/diaspora/pull/5387)
457
* Make the source code URL configurable [#5410](https://github.com/diaspora/diaspora/pull/5410)
458
* Prefill publisher on the tag pages [#5442](https://github.com/diaspora/diaspora/pull/5442)
459
* Don't include the content of non-public posts into notification mails [#5494](https://github.com/diaspora/diaspora/pull/5494)
460
* Allow to set unhosted button and currency for paypal donation [#5452](https://github.com/diaspora/diaspora/pull/5452)
461
* Add followed tags in the mobile menu [#5468](https://github.com/diaspora/diaspora/pull/5468)
462
* Replace Pagedown with markdown-it [#5526](https://github.com/diaspora/diaspora/pull/5526)
463
* Do not truncate notification emails anymore [#4342](https://github.com/diaspora/diaspora/issues/4342)
464
* Allows users to export their data in gzipped JSON format from their user settings page [#5499](https://github.com/diaspora/diaspora/pull/5499)
465
* Strip EXIF data from newly uploaded images [#5510](https://github.com/diaspora/diaspora/pull/5510)
466
* Hide user setting if the community spotlight is not enabled on the pod [#5562](https://github.com/diaspora/diaspora/pull/5562)
467
* Add HTML view for pod statistics [#5464](https://github.com/diaspora/diaspora/pull/5464)
468
* Added/Moved hide, block user, report and delete button in SPV [#5547](https://github.com/diaspora/diaspora/pull/5547)
469
* Added keyboard shortcuts r(reshare), m(expand Post), o(open first link in post) [#5602](https://github.com/diaspora/diaspora/pull/5602)
470
* Added dropdown to add/remove people from/to aspects in mobile view [#5594](https://github.com/diaspora/diaspora/pull/5594)
471
* Dynamically compute minimum and maximum valid year for birthday field [#5639](https://github.com/diaspora/diaspora/pull/5639)
472
* Show hovercard on mentions [#5652](https://github.com/diaspora/diaspora/pull/5652)
473
* Make help sections linkable [#5667](https://github.com/diaspora/diaspora/pull/5667)
474
* Add invitation link to contacts page [#5655](https://github.com/diaspora/diaspora/pull/5655)
475
* Add year to notifications page [#5676](https://github.com/diaspora/diaspora/pull/5676)
476
* Give admins the ability to lock & unlock accounts [#5643](https://github.com/diaspora/diaspora/pull/5643)
477
* Add reshares to the stream view immediately [#5699](https://github.com/diaspora/diaspora/pull/5699)
478
* Update and improve help section [#5665](https://github.com/diaspora/diaspora/pull/5665), [#5706](https://github.com/diaspora/diaspora/pull/5706)
479
* Expose participation controls in the stream view [#5511](https://github.com/diaspora/diaspora/pull/5511)
480
* Reimplement photo export [#5685](https://github.com/diaspora/diaspora/pull/5685)
481
* Add participation controls in the single post view [#5722](https://github.com/diaspora/diaspora/pull/5722)
482
* Display polls on reshares [#5782](https://github.com/diaspora/diaspora/pull/5782)
483
* Remove footer from stream pages [#5816](https://github.com/diaspora/diaspora/pull/5816)
Jonne Haß's avatar
Jonne Haß committed
484

485 486 487 488
# 0.4.1.3

* Update Redcarped, fixes [OSVDB-120415](http://osvdb.org/show/osvdb/120415).

Jonne Haß's avatar
Jonne Haß committed
489 490 491 492
# 0.4.1.2

* Update Rails, fixes [CVE-2014-7818](https://groups.google.com/forum/#!topic/rubyonrails-security/dCp7duBiQgo).

Jonne Haß's avatar
Jonne Haß committed
493 494 495 496
# 0.4.1.1

* Fix XSS issue in poll questions [#5274](https://github.com/diaspora/diaspora/issues/5274)

Jonne Haß's avatar
Jonne Haß committed
497
# 0.4.1.0
Jason Robinson's avatar
Jason Robinson committed
498

499 500 501 502 503 504 505
## New 'Terms of Service' feature and template

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

506
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.
507 508 509 510 511 512 513 514 515 516

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.

517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541
## Rake task to email users

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:

1) Users definition

* `all` - all users in the database (except deleted)
* `active_yearly` - users logged in within the last year
* `active_monthly` - users logged in within the last month
* `active_halfyear` - users logged in within the last 6 months

2) Path to message file

* Give here a path to a HTML or plain text file that contains the message.

3) 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](http://stackoverflow.com/a/825832/1489738).

Jason Robinson's avatar
Jason Robinson committed
542
## Refactor
Jonne Haß's avatar
Jonne Haß committed
543
* Port help pages to Bootstrap [#5050](https://github.com/diaspora/diaspora/pull/5050)
544
* Refactor Notification#notify [#4945](https://github.com/diaspora/diaspora/pull/4945)
545
* Port getting started to Bootstrap [#5057](https://github.com/diaspora/diaspora/pull/5057)
546
* Port people search page to Bootstrap [#5077](https://github.com/diaspora/diaspora/pull/5077)
547
* Clarify explanations and defaults in diaspora.yml.example [#5088](https://github.com/diaspora/diaspora/pull/5088)
548
* Consistent header spacing on Bootstrap pages [#5108](https://github.com/diaspora/diaspora/pull/5108)
Pablo Cuadrado's avatar
Pablo Cuadrado committed
549
* Port settings pages (account, profile, privacy, services) to Bootstrap [#5039](https://github.com/diaspora/diaspora/pull/5039)
550
* Port contacts and community spotlight pages to Bootstrap [#5118](https://github.com/diaspora/diaspora/pull/5118)
Steffen van Bergerem's avatar
Steffen van Bergerem committed
551
* Redesign login page [#5112](https://github.com/diaspora/diaspora/pull/5112)
552
* Change mark read link on notifications page [#5141](https://github.com/diaspora/diaspora/pull/5141)
Jason Robinson's avatar
Jason Robinson committed
553 554

## Bug fixes
555
* Fix hiding of poll publisher on close [#5029](https://github.com/diaspora/diaspora/issues/5029)
Jonne Haß's avatar
Jonne Haß committed
556
* Fix padding in user menu [#5047](https://github.com/diaspora/diaspora/pull/5047)
557
* Fix self-XSS when renaming an aspect [#5048](https://github.com/diaspora/diaspora/pull/5048)
558
* Fix live updating when renaming an aspect [#5049](https://github.com/diaspora/diaspora/pull/5049)
559
* Use double quotes when embedding translations into Javascript [#5055](https://github.com/diaspora/diaspora/issues/5055)
560
* Fix regression in mobile sign-in ([commit](https://github.com/diaspora/diaspora/commit/4a2836b108f8a9eb6f46ca58cfcb7b23f40bb076))
561 562
* Set mention notification as read when viewing post [#5006](https://github.com/diaspora/diaspora/pull/5006)
* Set sharing notification as read when viewing profile [#5009](https://github.com/diaspora/diaspora/pull/5009)
563
* Ensure a consistent border on text input elements [#5069](https://github.com/diaspora/diaspora/pull/5069)
564
* Escape person name in contacts json returned by Conversations#new
565
* Make sure all parts of the hovercard are always in front [#5188](https://github.com/diaspora/diaspora/pull/5188)
Jason Robinson's avatar
Jason Robinson committed
566

567 568
## Features
* Port admin pages to bootstrap, polish user search results, allow accounts to be closed from the backend [#5046](https://github.com/diaspora/diaspora/pull/5046)
569
* Reference Salmon endpoint in Webfinger XRD to aid discovery by alternative implementations [#5062](https://github.com/diaspora/diaspora/pull/5062)
570
* Change minimal birth year for the birthday field to 1910 [#5083](https://github.com/diaspora/diaspora/pull/5083)
571
* Add scrolling thumbnail switcher in the lightbox [#5102](https://github.com/diaspora/diaspora/pull/5102)
572
* Add help section about keyboard shortcuts [#5100](https://github.com/diaspora/diaspora/pull/5100)
573
* Automatically add poll answers as needed [#5109](https://github.com/diaspora/diaspora/pull/5109)
574
* Add Terms of Service as an option for podmins, includes base template [#5104](https://github.com/diaspora/diaspora/pull/5104)
575
* Add rake task to send a mail to all users [#5111](https://github.com/diaspora/diaspora/pull/5111)
576
* Expose which services are configured in /statistics.json [#5121](https://github.com/diaspora/diaspora/pull/5121)
577
* In filtered notification views, replace "Mark all as read" with "Mark shown as read" [#5122](https://github.com/diaspora/diaspora/pull/5122)
578
* When ignoring a user remove his posts from the stream instantly [#5127](https://github.com/diaspora/diaspora/pull/5127)
579
* Allow to delete photos from the pictures stream [#5131](https://github.com/diaspora/diaspora/pull/5131)
Jason Robinson's avatar
Jason Robinson committed
580

Jason Robinson's avatar
Jason Robinson committed
581 582 583 584
# 0.4.0.1

## Bug fixes

Jason Robinson's avatar
Jason Robinson committed
585 586
* Fix performance regression on stream loading with MySQL/MariaDB database backends [#5014](https://github.com/diaspora/diaspora/issues/5014)
* Fix issue with post reporting [#5017](https://github.com/diaspora/diaspora/issues/5017)
Jason Robinson's avatar
Jason Robinson committed
587

Jason Robinson's avatar
Jason Robinson committed
588
# 0.4.0.0
Jason Robinson's avatar
Jason Robinson committed
589

590 591 592 593 594 595
## Ensure account deletions are run

A regression caused accounts deletions to not properly perform in some cases, see [#4792](https://github.com/diaspora/diaspora/issues/4792).
To ensure these are reexecuted properly, please run `RAILS_ENV=production bundle exec rake accounts:run_deletions`
after you've upgraded.

Jonne Haß's avatar
Jonne Haß committed
596 597 598 599 600 601
## Change in guid generation

This version will break federation to pods running on versions prior 0.1.1.0.

Read more in [#4249](https://github.com/diaspora/diaspora/pull/4249) and [#4883](https://github.com/diaspora/diaspora/pull/4883)

Jason Robinson's avatar
Jason Robinson committed
602
## Refactor
603 604 605
* Drop number of followers from tags page [#4717](https://github.com/diaspora/diaspora/pull/4717)
* Remove some unused beta code [#4738](https://github.com/diaspora/diaspora/pull/4738)
* Style improvements for SPV, use original author's avatar for reshares [#4754](https://github.com/diaspora/diaspora/pull/4754)
606
* Update image branding to the new decided standard [#4702](https://github.com/diaspora/diaspora/pull/4702)
607
* Consistent naming of conversations and messages [#4756](https://github.com/diaspora/diaspora/pull/4756)
608
* Improve stream generation time [#4769](https://github.com/diaspora/diaspora/pull/4769)
609
* Port help pages to backbone [#4768](https://github.com/diaspora/diaspora/pull/4768)
610
* Add participants to conversations menu [#4656](https://github.com/diaspora/diaspora/pull/4656)
611
* Update forgot_password and reset_password pages [#4707](https://github.com/diaspora/diaspora/pull/4707)
612
* Change jQuery CDN to jquery.com from googleapis.com [#4765](https://github.com/diaspora/diaspora/pull/4765)
613
* Update to jQuery 10
614
* Port publisher and bookmarklet to Bootstrap [#4678](https://github.com/diaspora/diaspora/pull/4678)
615
* Improve search page, add better indications [#4794](https://github.com/diaspora/diaspora/pull/4794)
616
* Port notifications and hovercards to Bootstrap [#4814](https://github.com/diaspora/diaspora/pull/4814)
Jonne Haß's avatar
Jonne Haß committed
617
* Replace .rvmrc by .ruby-version and .ruby-gemset [#4854](https://github.com/diaspora/diaspora/pull/4855)
618
* Reorder and reword items on user settings page [#4912](https://github.com/diaspora/diaspora/pull/4912)
619
* SPV: Improve padding and interaction counts [#4426](https://github.com/diaspora/diaspora/pull/4426)
620
* Remove auto 'mark as read' for notifications [#4810](https://github.com/diaspora/diaspora/pull/4810)
621
* Improve set read/unread in notifications dropdown [#4869](https://github.com/diaspora/diaspora/pull/4869)
622
* Refactor publisher: trigger events for certain actions, introduce 'disabled' state [#4932](https://github.com/diaspora/diaspora/pull/4932)
Jason Robinson's avatar
Jason Robinson committed
623 624

## Bug fixes
625
* Fix user account deletion [#4953](https://github.com/diaspora/diaspora/pull/4953) and [#4963](https://github.com/diaspora/diaspora/pull/4963)
626
* Fix email body language when invite a friend [#4832](https://github.com/diaspora/diaspora/issues/4832)
627
* Improve time agos by updating the plugin [#4281](https://github.com/diaspora/diaspora/pull/4281)
628
* Do not add a space after adding a mention [#4767](https://github.com/diaspora/diaspora/issues/4767)
629
* Fix active user statistics by saving a last seen timestamp for users [#4802](https://github.com/diaspora/diaspora/pull/4802)
630
* Render HTML in atom user feed [#4835](https://github.com/diaspora/diaspora/pull/4835)
631 632
* Fix plaintext mode of Mentionable [#4831](https://github.com/diaspora/diaspora/pull/4831)
* Fixed Atom Feed Error if reshared Post is deleted [#4841](https://github.com/diaspora/diaspora/pull/4841)
633
* Show hovercards in the notification drop-down for users on the same pod [#4843](https://github.com/diaspora/diaspora/pull/4843)
634 635 636 637 638 639 640 641 642
* The photo stream no longer repeats after the last photo [#4787](https://github.com/diaspora/diaspora/pull/4787)
* Fix avatar alignment for hovercards in the notifications dropdown [#4853](https://github.com/diaspora/diaspora/pull/4853)
* Do not parse hashtags inside Markdown links [#4856](https://github.com/diaspora/diaspora/pull/4856)
* Restore comment textarea content after revealing more comments [#4858](https://github.com/diaspora/diaspora/pull/4858)
* OpenGraph: don't make description into links [#4708](https://github.com/diaspora/diaspora/pull/4708)
* Don't cut off long tags in stream posts [#4878](https://github.com/diaspora/diaspora/pull/4878)
* Do not replace earlier appearances of the name while mentioning somebody [#4882](https://github.com/diaspora/diaspora/pull/4882)
* Catch exceptions when trying to decode an invalid URI [#4889](https://github.com/diaspora/diaspora/pull/4889)
* Redirect to the stream when switching the mobile publisher to desktop [#4917](https://github.com/diaspora/diaspora/pull/4917)
643
* Parsing mention witch contain in username special characters [#4919](https://github.com/diaspora/diaspora/pull/4919)
644 645
* Do not show your own hovercard [#4758](https://github.com/diaspora/diaspora/pull/4758)
* Hit Nominatim via https [#4968](https://github.com/diaspora/diaspora/pull/4968)
646

Jason Robinson's avatar
Jason Robinson committed
647
## Features
648
* You can report a single post or comment by clicking the correct icon in the controler section [#4517](https://github.com/diaspora/diaspora/pull/4517) [#4781](https://github.com/diaspora/diaspora/pull/4781)
649
* Add permalinks for comments [#4577](https://github.com/diaspora/diaspora/pull/4577)
650
* New menu for the mobile version [#4673](https://github.com/diaspora/diaspora/pull/4673)
651
* Added comment count to statistic to enable calculations of posts/comments ratios [#4799](https://github.com/diaspora/diaspora/pull/4799)
652
* Add filters to notifications controller [#4814](https://github.com/diaspora/diaspora/pull/4814)
653
* Activate hovercards in SPV and conversations [#4870](https://github.com/diaspora/diaspora/pull/4870)
654
* Added possibility to conduct polls [#4861](https://github.com/diaspora/diaspora/pull/4861) [#4894](https://github.com/diaspora/diaspora/pull/4894) [#4897](https://github.com/diaspora/diaspora/pull/4897) [#4899](https://github.com/diaspora/diaspora/pull/4899)
Jason Robinson's avatar
Jason Robinson committed
655

Jonne Haß's avatar
Jonne Haß committed
656 657 658 659
# 0.3.0.3

* 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/

660
# 0.3.0.2
Steffen van Bergerem's avatar
Steffen van Bergerem committed
661 662 663

## Bug fixes
* Use youtube HTTPS scheme for oEmbed [#4743](https://github.com/diaspora/diaspora/pull/4743)
664
* Fix infinite scroll on aspect streams [#4747](https://github.com/diaspora/diaspora/pull/4747)
Steffen van Bergerem's avatar
Steffen van Bergerem committed
665
* Fix hovercards [#4782](https://github.com/diaspora/diaspora/pull/4782)
666
* Bump kaminari to fix admin panel [#4714](https://github.com/diaspora/diaspora/issues/4714)
Steffen van Bergerem's avatar
Steffen van Bergerem committed
667

668 669 670 671
# 0.3.0.1

## Bug fixes
* Fix regression caused by using after_commit with nested '#save' which lead to an infinite recursion [#4715](https://github.com/diaspora/diaspora/issues/4715)
672
* Save textarea value before rendering comments when clicked 'show more...' [#4858](https://github.com/diaspora/diaspora/pull/4858)
Jannik Streek's avatar
Jannik Streek committed
673

Jason Robinson's avatar
Jason Robinson committed
674
# 0.3.0.0
Jonne Haß's avatar
Jonne Haß committed
675

676 677 678
## Pod statistics
A new feature [has been added](https://github.com/diaspora/diaspora/pull/4602) 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.

679 680 681 682 683 684 685 686 687 688 689 690 691
## Ruby 2.0

We now recommend using Ruby 2.0 with Diaspora. If you're using RVM make sure to run:
```bash
rvm get stable
rvm install 2.0.0
cd ~/diaspora
git pull
cd - && cd ..
```

For more details see https://wiki.diasporafoundation.org/Updating

Jonne Haß's avatar
Jonne Haß committed
692
## Refactor
Fabian Rodriguez's avatar
Fabian Rodriguez committed
693
* Remove old SPV code [#4612](https://github.com/diaspora/diaspora/pull/4612)
694
* Move non-model federation stuff into lib/ [#4363](https://github.com/diaspora/diaspora/pull/4363)
695
* Build a color palette to uniform color usage [#4437](https://github.com/diaspora/diaspora/pull/4437) [#4469](https://github.com/diaspora/diaspora/pull/4469) [#4479](https://github.com/diaspora/diaspora/pull/4479)
696
* Rename bitcoin_wallet_id setting to bitcoin_address [#4485](https://github.com/diaspora/diaspora/pull/4485)
697
* Batch insert posts into stream collection for a small speedup [#4341](https://github.com/diaspora/diaspora/pull/4351)
698
* Ported fileuploader to Backbone and refactored publisher views [#4480](https://github.com/diaspora/diaspora/pull/4480)
699
* Refactor 404.html, fix [#4078](https://github.com/diaspora/diaspora/issues/4078)
700
* Remove the (now useless) last post link from the user profile. [#4540](https://github.com/diaspora/diaspora/pull/4540)
701
* Refactor ConversationsController, move query building to User model. [#4547](https://github.com/diaspora/diaspora/pull/4547)
Jonne Haß's avatar
Jonne Haß committed
702
* Refactor the Twitter service model [#4387](https://github.com/diaspora/diaspora/pull/4387)
703
* Refactor ConversationsController#create, move more stuff to User model [#4551](https://github.com/diaspora/diaspora/pull/4551)
704
* Refactor MessagesController#create, move stuff to User model [#4556](https://github.com/diaspora/diaspora/pull/4556)
705
* Reorder the left bar side menu to put the stream first [#4569](https://github.com/diaspora/diaspora/pull/4569)
706
* Improve notifications and conversations views design on mobile [#4593](https://github.com/diaspora/diaspora/pull/4593)
707
* Slight redesign of mobile publisher [#4604](https://github.com/diaspora/diaspora/pull/4604)
708
* Port conversations to Bootstrap [#4622](https://github.com/diaspora/diaspora/pull/4622)
709
* Remove participants popover and improve conversations menu [#4644](https://github.com/diaspora/diaspora/pull/4644)
710
* Refactor right side bar [#4793](https://github.com/diaspora/diaspora/pull/4793)
Jonne Haß's avatar
Jonne Haß committed
711 712

## Bug fixes
713
* Highlight down arrow at the user menu on hover [#4441](https://github.com/diaspora/diaspora/pull/4441)
714 715 716
* Make invite code input width consistent across browsers [#4448](https://github.com/diaspora/diaspora/pull/4448)
* Fix style of contacts in profile sidebar [#4451](https://github.com/diaspora/diaspora/pull/4451)
* Fix profile mobile when logged out [#4464](https://github.com/diaspora/diaspora/pull/4464)
717
* Fix preview with more than one mention [#4450](https://github.com/diaspora/diaspora/issues/4450)
718
* Fix size of images in the SPV [#4471](https://github.com/diaspora/diaspora/pull/4471)
719
* Adjust 404 message description to not leak logged out users if a post exists or not [#4477](https://github.com/diaspora/diaspora/pull/4477)
720
* Make I18n system more robust against missing keys in pluralization data
721
* Prevent overflow of too long strings in the single post view [#4487](https://github.com/diaspora/diaspora/pull/4487)
Titouan Lorieul's avatar
Titouan Lorieul committed
722
* Disable submit button in sign up form after submission to avoid email already exists error [#4506](https://github.com/diaspora/diaspora/issues/4506)
723
* Do not pull the 404 pages assets from Amazon S3 [#4501](https://github.com/diaspora/diaspora/pull/4501)
724
* Fix counter background does not cover more than 2 digits on profile [#4499](https://github.com/diaspora/diaspora/issues/4499)