about summary refs log tree commit diff
path: root/app
AgeCommit message (Collapse)Author
2017-05-12Fix color contrast some more in privacy warning (#3018)Shel Raphen
* Fix color contrast some more in privacy warning Latest master appears to have changed the <strong> to this unreadable grey color. If you want that to be white then it should be pure white. If someone would rather revert this to that strong dark blue color it was before that would be good too. * Make domain dark blue again * add missing ; woops
2017-05-12Allow SCSS variables to be overridden (#2987)Koala Yeung
* Allow SCSS variables to be overridden with `app/javascript/pack/variables*.scss` * Allow these SCSS variables to be overriden: * `$base-shadow-color` * `$base-overlay-background` * `$base-border-color` * `$simple-background-color` * `$primary-text-color` * `$valid-value-color * `$error-value-color`
2017-05-12Add conversation model, <ostatus:conversation /> (#3016)Eugen Rochko
* Add <ostatus:conversation /> tag to Atom input/output Only uses ref attribute (not href) because href would be the alternate link that's always included also. Creates new conversation for every non-reply status. Carries over conversation for every reply. Keeps remote URIs verbatim, generates local URIs on the fly like the rest of them. * Fix conversation migration * More spec coverage for status before_create * Prevent n+1 query when generating Atom with the new conversations * Improve code style * Remove redundant local variable
2017-05-12Prepend reblogs' wrapper content with "RT @original_author", (#3013)Eugen Rochko
so that when a reblog parse fails on another instance, it doesn't look like a misattributed/stolen text
2017-05-12Increase color contrast on privacy warning (#3015)Shel Raphen
The current text contrast on the privacy warning is a WCAG violation. I didn't notice this because my instance has a custom theme which is better. On default theme I am barely able to read the text with my impaired vision. This patch brings the contrast to Normal Text WCAG AA compliance, and Large Text WCAG AAA compliance.
2017-05-12Fix not rejecting remote URIs when parsing out local IDs (#3012)Eugen Rochko
2017-05-12Fix locales again (#3010)Eugen Rochko
* Normalize locales * Restore "mention" locale key
2017-05-12Use ES Class Fields & Static Properties (#3008)Yamagishi Kazutoshi
Use ES Class Fields & Static Properties (currently stage 2) for improve class outlook. Added babel-plugin-transform-class-properties as a Babel plugin.
2017-05-12Remove unnecessary message in video player (#3007)Yamagishi Kazutoshi
Remove unnecessary messages added in #1879. It is duplicated with other keys, causing the correct message not to be displayed.
2017-05-12Update ar.json (#3004)ButterflyOfFire
Updating some arabic translations.
2017-05-11Fix #1426 - Trim long usernames in public follower/following lists (#2993)Eugen Rochko
Fix #2221 - Catch OpenSSL exceptions when loading remote avatars/headers/attachments Don't strip "rel" attribute from <a> tags when sanitizing (microformats)
2017-05-11Fix #2205 - Delete associated notifications when a status is deleted (#2994)Eugen Rochko
2017-05-11Fix #2027 - Accept own ID for remote follow with and without preceding @ (#2991)Eugen Rochko
* Fix #2027 - Accept own ID for remote follow with and without preceding @ Fix #2177 - Omit leading "acct:" in remote follow redirect template expansion * Fix test
2017-05-11When avatar/header are missing, do not include the missing file into Atom ↵Eugen Rochko
(#2988) Receiving instances will then use their own missing image Also, add <content /> to deleted statuses, since there was a reported problem with the deletes and GNU social
2017-05-11Focus tab of Mastodon when clicking notification (#2989)Yamagishi Kazutoshi
2017-05-11Add dynamic polyfills for older browsers (#2985)Nolan Lawson
Fixes #2941
2017-05-11Fixed mention regex to support unicode (#2420)Go Shoemake
2017-05-11Refine unescapeHTML (#2977)Yamagishi Kazutoshi
2017-05-11Remove unnecessary .keep files (#2976)Yamagishi Kazutoshi
Follow up #2902
2017-05-11Fix regressions from #2683 (#2970)Eugen Rochko
* Fix regressions from #2683 Properly format spoiler text HTML, while keeping old logic for blankness intact Process hashtags and mentions in spoiler text Format spoiler text for Atom Change "show more" toggle into a button instead of anchor Fix style regression on dropdowns for detailed statuses * Fix lint issue * Convert spoiler text to plaintext in desktop notifications
2017-05-11Very small fix/update NL strings (#2971)jeroenpraat
* Very small fix/update NL strings * Oops
2017-05-11Pubsub confirmation worker spec (#2974)Matt Jankowski
* Add specs for valid challenge response from pubsub confirmation worker * Refactor the pubsub confirmation worker
2017-05-10Fix #2955 - Send HEAD request ahead of GET when fetching URL previews (#2972)Eugen Rochko
2017-05-10Add `account_id DESC` to optimize PrecomputeFeedService (#2967)alpaca-tc
2017-05-10fix a regression introduced by e2491680e696d2c285a798ec4c66b26d2748df66 (#2966)beatrix
that caused user pages to break when showing toots with CWs
2017-05-10align buttons with column headers (#2964)Wonderfall
2017-05-10Spec feed insert worker (#2965)Matt Jankowski
* Spec for feed insert worker when missing records * more specs! * Refactor feed insert worker
2017-05-10Add boop sounds in Vorbis format (#2963)Yamagishi Kazutoshi
Vorbis is audio format of Open Source. Can play audio in a free environment where you can not play mp3.
2017-05-10Spec coverage and refactor of digest mailer worker (#2961)Matt Jankowski
2017-05-10Fix Occitan's locale data plural function (#2957)Koala Yeung
* Fix the pluralRuleFunction of the locale data. * Added more descriptions about how to write it.
2017-05-10Fix compose_form.js for #2904 (#2960)AA4ch1
2017-05-10Handle hashtags in spoiler_texts (partial fix for #699) (#2683)R Tucker
* services: scan spoiler_text for hashtags (#699) * views: link hashtags from spoiler_texts This covers linking hashtags from within the spoiler text on the server-generated pages. * services: fix string concat going into hashtag RE Cleaner Ruby syntax, may handle immutable strings better
2017-05-10Add spec for Pubsubhubbub::DistributionWorker. PuSH-deliver public items (#2954)Eugen Rochko
to all subscribers. IDN-normalize callback URLs for subscriptions on insert.
2017-05-10Disabled auto focus on toot form when search results are shown. (#2942)fusshi-
2017-05-09Specs for pubsub subscribe service (#2951)Matt Jankowski
* Add spec for pubsubhubbub/subscribe * Refactor pubsubhubbub/subscribe service
2017-05-09Spec and refactor for pubsubhubbub/unsubscribe service (#2946)Matt Jankowski
* Add coverage for pubsub unsubscribe service * Refactor pubsub unsubscribe service
2017-05-09Use CLD3 (#2949)Akihiko Odaki
Compact Language Detector v3 (CLD3) is the successor of CLD2, which was used in the previous implementation. CLD3 includes improvements since CLD2, and supports newer compilers. On the other hand, it has additional requirements and cld3-ruby, the FFI of CLD3 for Ruby, is still new and may be still inmature. Though CLD3 is named after CLD2, it is implemented with a neural network model, different from the old implementation, which is based on a Naïve Bayesian classifier. CLD3 supports newer compilers, such as GCC 6. CLD2 is not compatible with GCC 6 because it assigns negative values to varibales typed unsigned. (see internal/cld_generated_cjk_uni_prop_80.cc) The support for GCC 6 and newer compilers are essential today, when some server operating system such as Ubuntu Server 16.10 has GCC 6 by default. On the one hand, CLD3 requires C++11 support. Environments with old compilers such as Ubuntu Server 14.04 needs to update the system or install a newer compiler. CLD3 needs protocol buffers as a new dependency. However,it is not considered problematic because major server operating systems, CentOS and Ubuntu Server provide them. The FFI cld3-ruby was written by me (Akihiko Odaki) for use in Mastodon. It is still new and may be inmature, but confirmed to pass existing tests.
2017-05-09Use RegExp for require.context to filter custom stylesheets (#2950)Akihiko Odaki
ExtractTextWebpackPlugin extracts the content of loaded files, which means it loads files loaded by require.context but not required after that. However the former implementation is not aware of that. require.context can have a RegExp to filter files to load. This change gives a RegExp which matches with SCSSes with 'custom' prefix to require.context to take advantage of the feature.
2017-05-09Fixed bug that timeline can not be displayed by InvalidURIError (#2947)abcang
2017-05-09add content-type in pubsubhubhub request header (#2943)haoyayoi
* add content-type in pubsubhubhub request header * fix type
2017-05-09Fix missing or not gender neutral strings. (#2944)Alda Marteau-Hardi
2017-05-09Remove jquery-ujs (#2939)Yamagishi Kazutoshi
* Remove jquery-ujs * fix for eslint
2017-05-09Fix duplicated values in nl.json (#2931)Yamagishi Kazutoshi
2017-05-09Update Norwegian translations (#2937)Koala Yeung
* Update Norwegian translations * Updated no.json * Updated activerecord.no.yml * Updated no.yml * Updated simple_form.no.yml * i18n: fix Unicode character error in no.yml * Javascript escaping code "\uD83D\uDC18" should be "\U0001f418" in Ruby / yml * i18n: remove unused keys in Norwegian translation * Remove unused keys in no.yml and activerecord.no.yml by running: `bundle exec i18n-tasks remove-unused no` * Add missing keys in activerecord.no.yml and no.yml by running: `bundle exec i18n-tasks add-missing no` * i18n: escape the key 'no' in activerecord.no.yml
2017-05-09Fix snackbar notification stacking order (#2935)Soshi Kato
2017-05-09Add cursor property to toot user avatar. (#2933)HANATANI Takuma
2017-05-09Services specs for subscribe and unsubscribe (#2928)Matt Jankowski
* Add specs for unsubscribe service * Fix non existent methods in unsubscribe service * Clean up status handling in subscribe service
2017-05-09Specs for API push controller, with refactor (#2926)Matt Jankowski
* Coverage for api push controller * Refactor the api/push controller
2017-05-08i18n mailer files for Occitan language (#2924)Quent-in
* Create reset_password_instructions.oc.html.erb * Create reset_password_instructions.oc.text.erb * Create password_change.oc.html.erb * Create password_change.oc.text.erb * Create confirmation_instructions.oc.html.erb * Create confirmation_instructions.oc.text.erb
2017-05-08Updating and extending Dutch strings (#2930)jeroenpraat
* Update nl * Update nl * Update nl * Create confirmation_instructions.nl.html.erb * Create confirmation_instructions.nl.text.erb * Create password_change.nl.html.erb * Create password_change.nl.text.erb * Create reset_password_instructions.nl.html.erb * Create reset_password_instructions.nl.text.erb