Eugen
9d3be5579a
Improve bio compatibility ( #2278 )
...
* Fix #1057 (close #1819 ) - Move HTML-formatted bio from <poco:note /> to <summary type="html" />
* Ensure <poco:note /> is plaintext for remote accounts, also, by stripping out HTML
2017-04-22 03:33:24 +02:00
Eugen
cae2a26ee3
Fix #2120 - Use Status#as_tag_timeline on public hashtag page ( #2182 )
...
* Fix #2120 - Use Status#as_tag_timeline on public hashtag page
* Update tags_controller.rb
2017-04-20 03:54:02 +02:00
Eugen
2e4afccd9d
Fix #2108 - Fix gif uploads ( #2171 )
...
* Fix #2108 - Fix gif uploads
Add specs for media attachment gifv conversion
* Add ffmpeg to travis
* Make travis install ffmpeg, not libav
* Switch travis to trusty
2017-04-19 23:21:00 +02:00
Eugen
baabbce672
Fix double-escaping of display names in <title> ( #2155 )
2017-04-19 17:46:24 +02:00
Eugen
1d47910d3b
Fix possibility of unrightful webfinger redirect ( #2147 )
...
* Fix possibility of unrightful webfinger redirect
* Add more tests for FollowRemoteAccountService
2017-04-19 17:28:35 +02:00
Eugen
bfbc2ca0d8
Attachment list for uncached attachments ( #2110 )
...
* For undownloaded attachments, set type :unknown, display them as a list in the web UI
* Fix case when attachment type is set explicitly
2017-04-19 15:37:18 +02:00
Eugen
96268e76e6
Fix wording on admin instances view, fix typos in language detector spec ( #2106 )
2017-04-18 23:39:51 +02:00
Eugen
c6a4ab3b92
Remove unused fonts ( #2103 )
2017-04-18 23:34:50 +02:00
Eugen
e09ab2c0bd
Fix #1642 , fix #1912 - Dictate content-type file extension ( #2078 )
...
* Fix #1642 , fix #1912 - Previous change (#1718 ) did not modify how original file was saved on upload
* Fix for when file is missing
2017-04-18 23:15:44 +02:00
Eugen
6bd1019235
Add more tests for AtomSerializer ( #2096 )
2017-04-18 22:30:17 +02:00
Eugen
ff5baa5349
Add rate limits for logins and sign-ups by IP (5 in 5 minutes) ( #2079 )
...
* Add rate limits for logins and sign-ups by IP (5 in 5 minutes)
Should be enough for normal attempts
* Add rate limit for forgotten password form as well
2017-04-18 22:29:14 +02:00
Eugen Rochko
93c13fe691
Merge branch 'patf-pause-gif'
2017-04-18 01:58:14 +02:00
Eugen Rochko
42d54dc9ea
Adjust visuals of non-autoplaying GIFV
2017-04-18 01:57:50 +02:00
Eugen Rochko
57d784f1e4
Merge branch 'pause-gif' of git://github.com/patf/mastodon into patf-pause-gif
2017-04-18 01:25:50 +02:00
Eugen Rochko
0e0347ea3c
Merge branch 'pixiv-fix/cache_blocking'
2017-04-18 01:20:29 +02:00
Eugen Rochko
f5cd0b4956
Rename cache key to exclude_account_ids_for:id, adjust formatting
2017-04-18 01:14:02 +02:00
Eugen Rochko
2fd0473aa1
Merge branch 'fix/cache_blocking' of git://github.com/pixiv/mastodon into pixiv-fix/cache_blocking
2017-04-18 01:09:57 +02:00
Eugen
f03fb6c0ae
Add forgotten AtomSerializer spec ( #2047 )
2017-04-18 01:07:46 +02:00
Eugen
15ec4ae07b
Fix #1972 , fix #1870 - Fix special characters in XML, add tests ( #1988 )
...
Also improve efficiency of the mastodon:maintenance:add_static_avatars task
2017-04-17 19:58:54 +02:00
Eugen
e43071a2f9
Fix #1897 - Return reblogged: false on unreblog (was wrongly named variable) ( #1989 )
2017-04-17 19:58:38 +02:00
Eugen
1955a3f444
Do not display "reset password" in admin UI for remote accounts ( #1960 )
2017-04-16 23:15:58 +02:00
Eugen
8ebed7fc68
Fix #1957 - WhatLanguage can return null. Fallback to 'en' ( #1959 )
2017-04-16 23:12:19 +02:00
Eugen
8f2ed79a0b
Fix bug mentioned in #1565 ( #1954 )
2017-04-16 21:02:54 +02:00
Eugen
f902a335f9
Fix #1870 - Strip control characters out of strings in AtomSerializer ( #1876 )
...
* Fix #1870 - Strip control characters out of strings in AtomSerializer
* Adjust according to comment by @alpaca-tc
2017-04-16 20:32:27 +02:00
Eugen
e4af4898de
Add language detection ( #1772 )
...
* Add language detection via WhatLanguage and (de)serialization of it through Atom
* Fix default language in ProcessFeedService
* Re-add newline before 'react-rails' Gem to fix groupings
Fixes Code Climate issue
2017-04-16 20:32:17 +02:00
Eugen
6d70a80263
Onboarding modal ( #1883 )
...
* Basic onboarding modal that's shown to users once
* Lay out pages 2 through 5, add images, style modals (#1509 )
* Lay out pages 2 through 5
Added images and laid out pages 2 through 5 in the jsx file. SCSS will
come, still working on just seeing if this works at all.
* Fix jsx errors, add images to modal pages, style modal pages
* Add animations to onboarding pager changes, improve wording and styling
* Finishing touches on the onboarding
* Add missing propTypes
* Update wording
2017-04-16 20:32:00 +02:00
Eugen
7e2e0d6dcc
Fix #1670 - Update OStatus2 gem ( #1936 )
2017-04-16 19:32:47 +02:00
Eugen
181115422c
Disable CodeClimate duplication checks ( #1943 )
2017-04-16 18:26:46 +02:00
Eugen
babbb2135e
Fix #1813 - Alleviate extra requests when processing mentions ( #1938 )
...
The <link rel="mentioned" /> tag refers to accounts by href. So we were
matching the DB by the url attribute, and falling back to HTTP look-up.
However, GS and Mastodon use profile URLs as URIs, too, and the match
for that was missing. This could potentially alleviate some extra network
requests
2017-04-16 18:01:48 +02:00
Eugen
42c9d5111a
Add README note about tagged releases ( #1927 )
2017-04-16 16:42:46 +02:00
Eugen
e17f9d5e1a
Unite all mandatory rake tasks in mastodon:daily ( #1887 )
...
* Unite all mandatory rake tasks in mastodon:daily
Add mastodon:media:remove_remote task
Make mastodon:maintenance:add_static_avatars more resilient to exceptions
* Fix typo in task description
2017-04-16 12:53:58 +02:00
Eugen
5d710b1139
Make file attachment on MediaAttachment optional ( #1865 )
...
Create MediaAttachment but without actual file download when domain is blocked with reject_media set to true
Clean up old media files when creating a new domain block with reject_media set to true
Return remote_url in media attachments API if local file is not present
Undo domain block action in admin UI
Ability to enable reject_media from admin UI
2017-04-16 12:51:30 +02:00
Eugen
8a58942c80
Fix up recovery codes design a little ( #1866 )
2017-04-16 04:32:57 +02:00
Eugen
95bcbaa434
Fix #1852 - Ensure feeds have valid <title> tags ( #1875 )
2017-04-16 02:40:36 +02:00
Eugen
e332552816
Indicate when a toot is part of a chain with a "reply all" icon ( #1869 )
2017-04-15 22:48:41 +02:00
Eugen
0d83569899
Fix cross-origin integrity ( #1871 )
...
See <https://glitch.social/users/bea/updates/434 >
2017-04-15 22:48:30 +02:00
Eugen
515434ed87
English localization for mention notification was missing ( #1867 )
2017-04-15 22:48:17 +02:00
Eugen
fa08b5079d
Make the rake mastodon:users:clear task properly clear out unconfirmed users ( #1777 )
...
Before it cleared out user records only (e-mail, password) without
freeing up the associated username (account record). Furthermore, since
these records have no dependent records (due to no user activity)
they can be deleted quickly with delete_all instead of destroy
2017-04-15 21:55:28 +02:00
Eugen Rochko
7447e7a2ea
Merge branch 'matteoaquila-master'
2017-04-13 22:26:54 +02:00
Eugen Rochko
c8be05a4a7
Fix italian translation
2017-04-13 22:26:32 +02:00
Eugen Rochko
41c697fd81
Merge branch 'master' of git://github.com/matteoaquila/mastodon into matteoaquila-master
2017-04-13 22:25:07 +02:00
Eugen
c5afe573da
Fix drag & drop overlay not appearing on firefox ( #1721 )
2017-04-13 22:21:34 +02:00
Eugen
485310a43c
Make browserify respect changes in node_modules for asset compilation ( #1722 )
2017-04-13 22:21:20 +02:00
Eugen
057567d548
Make boost modal off by default ( #1719 )
2017-04-13 21:53:59 +02:00
Eugen
ac54da9394
Fix #1220 , fix #1671 - Hook up comment box to the Redux comment value ( #1699 )
...
Fix username styling regression introduced in #1063
Fix report screen background regression introduced in #1415
2017-04-13 19:36:41 +02:00
Eugen
043862f411
Fix #1609 , fix #1628 - Revert #1397 ( #1700 )
...
When transmitting data in a HTML-encoded element like <content type="html" />,
relying on newlines being preserved is not wise, since HTML by itself
does not care for newlines - it cares for <p> and <br>
Additional fix: reset NSFW toggle after sending toot
2017-04-13 19:23:36 +02:00
Eugen
9e5c1c487e
Apply i18n-tasks normalize to locales ( #1696 )
2017-04-13 19:18:32 +02:00
Eugen Rochko
6327f69cab
Merge branch 'blackle-videolightbox'
2017-04-13 17:01:52 +02:00
Eugen Rochko
5f8155482a
Add overlay style to buttons, continue video after expanding it
2017-04-13 17:01:09 +02:00
Eugen Rochko
e70b84b1dc
Merge branch 'videolightbox' of git://github.com/blackle/mastodon into blackle-videolightbox
2017-04-13 16:14:11 +02:00
Eugen
1a5a54eb4b
Merge branch 'master' into master
2017-04-13 16:00:20 +02:00
Eugen
1a12fd14d4
Merge branch 'master' into master
2017-04-13 13:26:16 +02:00
Eugen
5dc73339ae
Fix tests issue introduced in #1607 ( #1639 )
2017-04-13 02:17:40 +02:00
Eugen
bd834add56
Fix visuals introduced in #1463 ( #1634 )
2017-04-12 20:54:49 +02:00
Eugen
e17b5b228d
Improve docker update instructions ( #1619 )
2017-04-12 19:34:40 +02:00
Eugen
40bdf43297
Change default log level in production from :debug to :info for less I/O ( #1579 )
2017-04-11 23:28:23 +02:00
Eugen
8ead070b94
Improve emoji picker look ( #1493 )
...
* Improve emoji picker look
* Add hover animation to emojis in picker
2017-04-11 23:23:34 +02:00
Eugen
b22b2cbfac
Fix #1491 - Fix broken notifications, broken Link header parsing for exclude_types ( #1548 )
2017-04-11 22:53:58 +02:00
Eugen
5cdd2c2414
Fix #1535 - #1372 set a wrong default on :openssl_verify_mode ( #1563 )
2017-04-11 22:49:53 +02:00
Eugen Rochko
9f7ea77d0c
Merge branch 'master' of github.com:tootsuite/mastodon
2017-04-11 21:30:48 +02:00
Eugen Rochko
5f74397ef0
Merge branch 'blackle-master'
2017-04-11 21:30:34 +02:00
Eugen Rochko
960181fd99
Fix look of the modals
2017-04-11 21:24:17 +02:00
Eugen Rochko
2a7602cad4
Merge branch 'master' of https://github.com/blackle/mastodon into blackle-master
2017-04-11 20:43:56 +02:00
Eugen
1236529e39
Moving docs to tootsuite/documentation ( #1550 )
2017-04-11 12:03:02 -04:00
Eugen
12f72e1740
When avatar/header are GIF, generate static versions ( #1428 )
...
* When avatar/header are GIF, generate static versions.
Account API returns "avatar"/"avatar_static", "header"/"header_static"
Static version is the same as original for other cases
Web UI de-animates avatars in toots, lists of users
Fix #441 , fix #596 , prerequisite for #1064
* Fix JS test
* Add rake task to generate static avatars/headers from GIF ones, add test
2017-04-11 00:38:58 +02:00
Eugen
2810013b93
API param to exclude notification types from response ( #1341 )
...
* Add exclude_types param to /api/v1/notifications
* Exclude notification types in web UI through exclude_types in the API
2017-04-10 23:45:29 +02:00
Eugen
93db265be7
Do not store last visited URL from API controllers ( #1330 )
...
Sign-in redirects you back to last visited URL, but in case of API requests,
this sometimes redirected users to an API URL that, of course, greeted them
with an {"error":"The access token is invalid"}
2017-04-09 22:21:52 +02:00
Eugen
c172919745
Fix #1339 - better Atom titles ( #1343 )
2017-04-09 20:55:54 +02:00
Eugen
15d442cf9d
Fix /api/v1/accounts/update_credentials tests ( #1357 )
2017-04-09 20:23:14 +02:00
Eugen
d5a675099a
Add env variable to disable prepared statements ( #1293 )
2017-04-09 05:46:32 +02:00
Eugen
b89f007862
Make public timelines API not require user context/app credentials ( #1291 )
...
* Make /api/v1/timelines/public and /api/v1/timelines/tag/:id public
Fix #1156 - respect query params when generating pagination links in API
* Apply pagination fix to more APIs
2017-04-08 23:39:31 +02:00
Eugen
9acdb166e8
Fix #795 , fix #704 , fix #835 - 2FA requires confirmation to be enabled ( #1278 )
...
* Fix #795 , fix #704 , fix #835 - 2FA requires confirmation to be enabled
TOTP secret is not shown again after 2FA is enabled
* Clean up
2017-04-08 22:20:08 +02:00
Eugen
982fef811e
Fix #1141 , fix #1126 - Avatar/profile info fetching ( #1215 )
...
* Fix #1141 , fix #1126 - Work through UpdateRemoteProfileService for both <feed> and <entry> top-level tags
* Improve code quality, remove line unrelated to fix
2017-04-08 13:26:03 +02:00
Eugen
211920b622
Revert "add persistance to Postresql container" ( #1251 )
2017-04-08 12:25:23 +02:00
Eugen
a345eb44fc
Merge pull request #1239 from ineffyble/patch-2
...
Fix my URL
2017-04-08 11:40:43 +02:00
Eugen
7b814d5bcb
Merge pull request #1238 from milmazz/hunter-client
...
Add reference to Elixir client for Mastodon API
2017-04-08 11:40:20 +02:00
Eugen
9f9f4b248e
Merge pull request #887 from valentin2105/master
...
add persistance to Postresql container
2017-04-08 11:39:25 +02:00
Eugen
3660f01f60
Merge pull request #1115 from vmincev/patch-1
...
Update Production-guide.md
2017-04-08 11:38:54 +02:00
Eugen
a2ec54a20b
Merge pull request #1198 from huertanix/patch-1
...
Update Heroku-guide.md
2017-04-08 11:38:33 +02:00
Eugen
e33dcb79c6
Merge pull request #1221 from rbaumert/patch-1
...
fixed a sentence in readme
2017-04-08 11:37:51 +02:00
Eugen
7d5ea5c170
Merge pull request #1224 from chrisheninger/patch-1
...
Add SVG version of logo to repo
2017-04-08 11:37:37 +02:00
Eugen
33849acfa7
Merge pull request #1218 from R0ckweb/patch-2
...
Fix #1141 on remote follow
2017-04-08 11:37:13 +02:00
Eugen
c141f0a886
Merge pull request #1216 from tootsuite/fix-default-locale-regression
...
Fix #1165 - Default locale no longer breaks form submissions
2017-04-08 11:36:43 +02:00
Eugen
55d03da303
Merge pull request #1213 from tootsuite/fix-accounts-initial-case
...
Fix #801 - Respect webfinger's canonical response of username/domain
2017-04-08 11:36:35 +02:00
Eugen
2c3a730eae
Merge pull request #1225 from tootsuite/yiskah-patch-1
...
Close instance list to additions
2017-04-08 11:35:40 +02:00
Eugen Rochko
4b621188ad
Fix #1165 - before_action was called before protect_from_forgery
2017-04-08 02:30:50 +02:00
Eugen Rochko
b2a7218ab7
Fix #801 - Respect webfinger's canonical response of username/domain
2017-04-08 01:07:42 +02:00
Eugen
a872f2f4c6
Merge pull request #1204 from benklop/patch-1
...
Update Administration-guide.md
2017-04-08 01:00:32 +02:00
Eugen
32a6f0884c
Merge pull request #1200 from huertanix/patch-2
...
Update Heroku-guide.md
2017-04-08 01:00:06 +02:00
Eugen
a54af44975
Merge pull request #1210 from raymestalez/patch-3
...
Add HackerNewsBot
2017-04-08 00:59:02 +02:00
Eugen
3cb13bdd84
Merge pull request #1125 from jasonrhodes/patch-1
...
Email service options :P
2017-04-08 00:24:38 +02:00
Eugen
0bf31f5436
Merge pull request #1147 from fmauNeko/docker_smaller_image
...
Fix npm/yarn cache cleaning
2017-04-07 23:45:48 +02:00
Eugen
0b32b5108e
Merge pull request #1191 from d3vgru/master
...
change suggested cipher for nginx
2017-04-07 23:02:49 +02:00
Eugen
e2f024147c
Merge pull request #1172 from mjankowski/mj-heroku-docs
...
Update heroku instructions
2017-04-07 22:50:31 +02:00
Eugen
1961825ff9
Merge pull request #1183 from thoughtbot/cp-post-status-service-specs
...
Add specs for PostStatusService
2017-04-07 22:30:28 +02:00
Eugen
32748c0f71
Merge pull request #1184 from thoughtbot/extract-proper-status
...
DRY up reblog vs original status check
2017-04-07 22:28:15 +02:00
Eugen
37a36b0bec
Merge pull request #1192 from seekr/patch-2
...
typo
2017-04-07 22:25:48 +02:00
Eugen
c7d9b81d41
Merge pull request #1193 from thoughtbot/status-specs
...
Implement pending specs on Status
2017-04-07 22:25:10 +02:00
Eugen
4e41cd9ab8
Merge pull request #1146 from tootsuite/fix-object-type-nil-exception
...
Fix nil#object_type error
2017-04-07 13:08:51 +02:00
Eugen
10459241a8
Merge pull request #1145 from tootsuite/feature-customized-default-locale
...
Allow setting of default language through config
2017-04-07 13:08:27 +02:00