Pierre Ozoux
0d2910478a
Use image too in docker-compose ( #1109 )
* Use image too in docker-compose
It is possible with version 2 of compose to use both `build` and `image`
* Update docker-compose.yml
7 years ago
Valentin Lorentz
5ab0ffc6c8
Custom Paperclip path. ( #778 )
* Custom Paperclip path.
* Document PAPERCLIP_ROOT.
* Add PAPERCLIP_ROOT_URL (and rename PAPERCLIP_ROOT to PAPERCLIP_ROOT_PATH).
7 years ago
Alex Dunn
8482f67caf
update Node to 6.x LTS ( #1228 )
The 4.x branch [entered maintenance](https://github.com/nodejs/LTS#lts-schedule1 ) on 1 April.
7 years ago
Patrick Figel
fe8dd58bc1
Add list of muted user to UI and Getting Started ( #1799 )
Add the same UI that already exists for blocked users for muted
ones and add it to the "Getting Started" menu.
7 years ago
Chad Pytel
92cd207c50
Introduce capybara and first feature spec ( #1801 )
This commit introduces Capybara and the first feature spec.
I focused on coverage for log in for the first feature spec because that would
have prevented 624a9a7136
causing #1236 .
7 years ago
Matt Jankowski
f5cd138323
Improve i18n chooser ( #1804 )
* Add locale spec with failing locale plus region check
* Use a more accurate locale when supplied by browser headers
Previously we were using a matching option which would use the first locale
available which matched the locale portion, even if a region was specified.
This changes to first try to find an exact match, and then fall back to the
region, and then fall back to the default.
* Clean up default_locale method
7 years ago
Kazuhiro NISHIYAMA
66ea015a01
Remove current directory from PATH ( #1779 )
7 years ago
Kazuhiro NISHIYAMA
1616cf98a1
Add missing Japanese translations ( #1785 )
7 years ago
Takayuki KUSANO
5aae6384ff
Fix Japanese translation for remote_follow ( #1771 )
Current remote_follow.acct translation inappropriate. Users may input their own acccount. So fix the wording.
7 years ago
Luc Didry
fa89deb4eb
Add title attribute to URLs in statuses ( #1755 )
Since URLs in statuses are truncated, it would be pleasant to see the
full URL when hovering the URL (like on twitter, yes).
7 years ago
Matt Jankowski
26a892dd90
Fix invalid byte sequence issue in nl.jsx ( #1751 )
7 years ago
Effy Elden
8321884eef
Change usage of gsub to delete, as per Code Climate/Rubocop recommendation ( #1753 )
7 years ago
西小倉宏信
290e8ef854
Remove .keep in models ( #1748 )
7 years ago
Bryce Chidester
067eb220c6
Include pkg-config as a gem dependency. ( #1717 )
The pkg-config gem was necessary in order for nokogiri to find the system
libraries when building on OpenBSD.
Closes #1637
Signed-off-by: Bryce Chidester <bryce@cobryce.com>
7 years ago
JP DeVries
1467515d3d
Use landmark regions on columns ( #1732 )
Closes mastodon#1720
7 years ago
Matt Jankowski
8b74aa4217
Admin reports controller improvements ( #1714 )
* Simplify admin/reports controller filtering for index
* Rename parameter to resolved
* Fix issue where reports view could not access filter_link_to
* Add coverage for admin/reports controller
* DRY up resolution of related reports for target account
* Clean up admin/reports routes
* Add Report#statuses method
* DRY up current account action taken params
* Rubocop styles
7 years ago
maxypy
a6807201d2
Implementing Subresource Integrity ( #1729 )
* Add sprockets-rails to Gemfile
* Add sprockets-rails to Gemfile.lock
* Update show.html.haml
* Update index.html.haml
* Update admin.html.haml
* Update auth.html.haml
* Update embedded.html.haml
* Update public.html.haml
7 years ago
Ian Kelling
4445ebdad2
Fix getting started commands out of order ( #1737 )
In current order, docker-compose build results in
ERROR: Couldn't find env file: /a/hopt/mastodon/.env.production
7 years ago
Effy Elden
c019b0acfd
Modify ActionMailer configuration to default to ENV['LOCAL_DOMAIN'] if ENV['SMTP_DOMAIN'] is not set. The previous fallback, config.x.local_domain, is undefined when the code is called. ( #1745 )
7 years ago
Eugen Rochko
7447e7a2ea
Merge branch 'matteoaquila-master'
7 years ago
Eugen Rochko
c8be05a4a7
Fix italian translation
7 years ago
Eugen Rochko
41c697fd81
Merge branch 'master' of git://github.com/matteoaquila/mastodon into matteoaquila-master
7 years ago
Eugen
c5afe573da
Fix drag & drop overlay not appearing on firefox ( #1721 )
7 years ago
Eugen
485310a43c
Make browserify respect changes in node_modules for asset compilation ( #1722 )
7 years ago
Matteo Aquila
9aae9ae40c
Update devise.it.yml
7 years ago
Matteo Aquila
1fb125b630
Update devise.it.yml
7 years ago
Eugen
057567d548
Make boost modal off by default ( #1719 )
7 years ago
Yusuke Abe
169c68a739
Add filename extension to paperclip ( #1718 )
7 years ago
Matt Jankowski
9f182346d7
Use english in reported by translation ( #1713 )
7 years ago
spf
a58c935c3d
Fr missing strings ( #1708 )
* Fix missing translation for username already taken
* fr - note too long translation
7 years ago
Thomas Citharel
c0c56db0fa
Translate admin ( #1702 )
* Translate the domain_block panel
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Translate PubSubHubbub section
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* translate account section and correct typos
* move reports translation & translate sidebar
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* normalize l18n
7 years ago
James Moore
d9dc0fe84e
smtp delivery type fix ( #1556 )
* delivery fix
# Conflicts:
# config/environments/production.rb
* added stub in .env file
* reordered and added a comment
7 years ago
Alyssa Ross
55b56e3f95
terms: remove redundant words ( #1578 )
"at least X" and "X or older" have identical meanings.
Using both together feels a little jarring.
7 years ago
R Tucker
c4d39b1b3d
quick typo fix in en.jsx: Rejec -> Reject ( #1701 )
7 years ago
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
7 years ago
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
7 years ago
Eugen
9e5c1c487e
Apply `i18n-tasks normalize` to locales ( #1696 )
7 years ago
INAGAKI Hiroshi
5619099564
translation: Fix comment out issue in en.jsx ( #1698 )
7 years ago
Koala Yeung
ce80d0b0a9
Fix minor jslint issue ( #1697 )
* Undefined propType in react component `ColumnSettings`.
Add proper PropTypes definition.
7 years ago
Eugen Rochko
6327f69cab
Merge branch 'blackle-videolightbox'
7 years ago
Eugen Rochko
5f8155482a
Add overlay style to buttons, continue video after expanding it
7 years ago
Matteo Aquila
efcf9448da
Update settings_helper.rb
7 years ago
Eugen Rochko
e70b84b1dc
Merge branch 'videolightbox' of git://github.com/blackle/mastodon into blackle-videolightbox
7 years ago
Lukas Burk
d7a4e8739a
Ignore postgres/redis folder from docker-compose ( #1645 )
7 years ago
Rachel H
9362700137
Convert emoji shortnames when sending status ( #1666 )
7 years ago
Koala Yeung
1206627c59
Add Dutch translation (nl) ( #1682 )
* Dutch language files for Ruby code
* Created RoR translation ymls:
* config/locales/devise.nl.yml
* config/locales/doorkeeper.nl.yml
* config/locales/nl.yml
* config/locales/simple_form.nl.yml
* Modified RoR config and helper
* app/helpers/settings_helper.rb
* config/application.rb
* Dutch language javascript locale
* Created javascript locale files:
* app/assets/javascripts/components/locales/index.jsx
* app/assets/javascripts/components/locales/nl.jsx
* Reference the newly created locale files:
* app/assets/javascripts/components/containers/mastodon.jsx
* Fix syntax error in locale file (nl)
* Fix missing translate in js locale (nl)
* Convert all ruby Dutch locale (nl) file to utf8
Fix yml conversion issues.
* Fix duplicated key in devise.nl.yml
* Fix indentation error in doorkeeper.nl.yml
7 years ago
Isabelle Knott
edefcfcf42
Fix issue where 'sensitive content click to show' item takes up whole screen on public view ( #1692 )
7 years ago
Matt Jankowski
b330d1f000
Organize coverage dirs ( #1695 )
* Add `Presenters` group to SimpleCov configuration
* Move validators to app/validators, add to simplecov config
7 years ago
Eugen
1a5a54eb4b
Merge branch 'master' into master
7 years ago
Isabelle Knott
447b8bc44e
Do not show media attachment as og:image if it was marked as NSFW ( #1693 )
7 years ago