Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Update] masterをME6に追従 #14

Merged
merged 206 commits into from
Mar 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
206 commits
Select commit Hold shift + click to select a range
26c1ba1
UtilBtns v3を埋め込み (#3)
GenbuHase Dec 31, 2017
7d376e4
Adding Serbian translation (#6133)
stalker314314 Dec 31, 2017
f5f45c3
Delete elephant-fren.png
YoheiZuho Jan 1, 2018
f34c0b4
Substitution 2 images.
YoheiZuho Jan 1, 2018
73472b8
Update docker-compose.yml
YoheiZuho Jan 1, 2018
2c1ed5f
Show mastodon on modal (#6129)
akihikodaki Jan 2, 2018
764f876
Use const instead of let for constant (#6106)
akihikodaki Jan 2, 2018
21b9da6
Adding Serbian latin translations (#6146)
stalker314314 Jan 2, 2018
ce854ed
delete X-UA-Compatible (#6068)
Otakan951 Jan 2, 2018
3ba7cde
Rename key to path in actions and reducers for settings (#6105)
akihikodaki Jan 2, 2018
1419f65
Fix stats expiring too quickly because of variable mistake (#6155)
Gargron Jan 2, 2018
b6af881
Display a warning when composing unlisted toots with something lookin…
ClearlyClaire Jan 2, 2018
04ecf44
Add confirmation step for email changes (#6071)
pfigel Jan 2, 2018
94230fe
Fix newlines-to-spaces functionality (#6158)
noiob Jan 2, 2018
d60fd87
Don't leave behind husk of remotely-deleted profile (#6159)
Gargron Jan 2, 2018
d319b3d
Update moved-to property when it's removed too (#6160)
Gargron Jan 2, 2018
545095b
[!] Sanitize incoming classlist properly (#6162)
puckipedia Jan 3, 2018
2471796
Set background to the navigation of Getting Started column (#6163)
akihikodaki Jan 3, 2018
99f962b
Allow HTTP caching of json view of public statuses (#6115)
ClearlyClaire Jan 3, 2018
1001922
Add Japanese translations #5997, #6003, #6004, #6071, #6099, #6125 an…
ykzts Jan 3, 2018
53d99eb
i18n: Update Polish translation (#6168)
Jan 3, 2018
161c72d
Allow to dereference Follow object for ActivityPub (#5772)
akihikodaki Jan 3, 2018
a8b5112
Don't normalize URLs in toots (#6134)
ClearlyClaire Jan 3, 2018
d907d43
l10n OC language (#6169)
Quenty31 Jan 3, 2018
c10f4bd
Cache JSON of immutable ActivityPub representations (#6171)
Gargron Jan 4, 2018
ff924f9
Fix OpenSSL dependency in ostatus2 (#6174)
Gargron Jan 4, 2018
02e3e1e
Fix nil error in log_target_from_history helper (#6173)
Gargron Jan 4, 2018
256c2b1
Rearrange items in Getting Started navigation (#6126)
akihikodaki Jan 4, 2018
7d4f4f9
Fix FetchAtomService not finding alternatives if there's a Link heade…
Gargron Jan 4, 2018
89daeb4
Improve Traditional Chinese translation (#6166)
muan Jan 4, 2018
3bee099
Make sure private toots remain private and do not end up in HTTP cach…
ClearlyClaire Jan 4, 2018
02ba03d
Send one Delete of Actor in ActivityPub when account is suspended (#6…
Gargron Jan 4, 2018
c61dd91
i18n: Update Polish translation (#6176)
Jan 4, 2018
3c18964
Fallback default thumbnail in instance status API (#6177)
ykzts Jan 4, 2018
7571c37
Bump version to 2.1.1 (#6164)
Gargron Jan 4, 2018
7347d4f
Use disable_ddl_transaction! to prevent warnings on migration (#6183)
unarist Jan 4, 2018
49e296e
Fix overflowing audit logs (#6184)
lynlynlynx Jan 4, 2018
5ec25ff
Fix email confirmation link not updating email (#6187)
pfigel Jan 4, 2018
d872902
Small translation fixes for Serbian (and sr@Latn too) (#6188)
stalker314314 Jan 4, 2018
9a61b0e
Fix RFC 5646 Regular Expression (#6190)
ykzts Jan 5, 2018
e9822a4
Bump version to 2.1.2
Gargron Jan 5, 2018
1e6fe38
UtilBtns v6の埋め込み (#4)
GenbuHase Jan 5, 2018
79fe4bc
Remove some #
YoheiZuho Jan 5, 2018
31681d9
Substitution some image.
YoheiZuho Jan 5, 2018
a45bdc9
Merge pull request #3 from GenbuHase/mstdn-extended
YoheiZuho Jan 5, 2018
d1334c8
fixup! v3
GenbuHase Jan 5, 2018
06636c6
l10n Occitan language: mailer update (#6193)
Quenty31 Jan 5, 2018
8d51ce4
Fix enforce HTTPS in production. (#6180)
Jan 5, 2018
95bd85d
Represent numbers by strings in instance activity API (#6198)
TheKinrar Jan 5, 2018
a594139
When fetching an ActivityPub-enabled status, do not re-request it as …
ClearlyClaire Jan 5, 2018
10f6793
Fix PuSH workers (#6200)
ClearlyClaire Jan 5, 2018
29f88a7
Substitution mastodon-ui.png
YoheiZuho Jan 6, 2018
9e97fbf
Translate Korean (#6212)
tribela Jan 7, 2018
c4d36d0
Update Simplified Chinese translations (#6215)
Jan 7, 2018
da809f9
Fix unintended cache (#6214)
ykzts Jan 7, 2018
1d92b90
Fix force_ssl conditional (#6201)
ykzts Jan 7, 2018
254dbe8
Merge pull request #4 from YoheiZuho/master
YoheiZuho Jan 7, 2018
0eff42d
Move Article from supported to converted types (#6218)
puckipedia Jan 7, 2018
9355518
Do not display elephant friend in single-column layout (#6222)
Gargron Jan 8, 2018
e4a241a
Fix bad URL schemes being accepted (#6219)
Gargron Jan 8, 2018
20c0eee
ME3をv2.1.2に追従。 (#6)
GenbuHase Jan 8, 2018
c0a285c
Merge branch 'y-zu-original' into v3
GenbuHase Jan 8, 2018
7f4b268
Merge branch 'y-zu-original' into v3
GenbuHase Jan 8, 2018
59b8254
Merge pull request #5 from GenbuHase/v3
YoheiZuho Jan 8, 2018
dbda87c
Revert #5772 (#6221)
Gargron Jan 8, 2018
25c90a9
fixup! v3
GenbuHase Jan 8, 2018
d754158
fixup! v3
GenbuHase Jan 8, 2018
d9a815e
fixup! v3
GenbuHase Jan 8, 2018
eacde0d
Merge pull request #6 from GenbuHase/v3
YoheiZuho Jan 8, 2018
ff6ca8b
Bump version to 2.1.3
Gargron Jan 8, 2018
c235711
Refactor /api/web APIs to use the centralized axios instance (#6223)
nightpool Jan 8, 2018
628358a
Add the author of a status to cc if reblogged (#6226)
puckipedia Jan 8, 2018
2a8bc21
メニューに[運営からのお知らせ]を追加。(#7)
GenbuHase Jan 9, 2018
42a2f0b
fixup! v4
GenbuHase Jan 9, 2018
80cdf59
Merge branch 'y-zu-original' into v4
GenbuHase Jan 9, 2018
c9bfaa4
fixup! v4
GenbuHase Jan 9, 2018
98cc485
fixup! v4
GenbuHase Jan 9, 2018
ab3b413
Merge pull request #7 from GenbuHase/v4
YoheiZuho Jan 9, 2018
7f02b5d
不必要なものを削除。
GenbuHase Jan 9, 2018
542f958
fixup! v4
GenbuHase Jan 9, 2018
9b81aba
トゥートボタンを変更。
GenbuHase Jan 9, 2018
4708acb
試験的に114514人 → 10人に
GenbuHase Jan 9, 2018
51b2ad1
Margin方式からFlex方式に。
GenbuHase Jan 9, 2018
577fe59
UI修正。
GenbuHase Jan 9, 2018
470410c
space-between → flex-end(元の状態に)
GenbuHase Jan 9, 2018
9f04b0d
Weblate translations (#6228)
renatolond Jan 9, 2018
eec6095
Russian language update (#6227)
MasterGroosha Jan 9, 2018
6f5c0af
add index on statuses for /api/v1/accounts/:account_id/statuses (#6202)
takayamaki Jan 9, 2018
1fbe04f
Merge pull request #8 from GenbuHase/v4
YoheiZuho Jan 9, 2018
03126d0
トゥート!ボタンの修正
GenbuHase Jan 9, 2018
104a574
Merge pull request #9 from GenbuHase/v4
YoheiZuho Jan 9, 2018
535ae6a
試験的にUserCounterを削除
GenbuHase Jan 9, 2018
fc24ade
Merge pull request #10 from GenbuHase/v4
YoheiZuho Jan 9, 2018
921b781
Increase rate limit on protected paths (#6229)
Gargron Jan 9, 2018
a2bf0a5
UtilBtns側にblock属性追加。
GenbuHase Jan 9, 2018
12088cb
トゥートボタンを改善
GenbuHase Jan 9, 2018
d255e17
Merge pull request #11 from GenbuHase/v4
YoheiZuho Jan 9, 2018
d41f0b6
Fix #6204: Use content warning for page title when present (#6231)
Gargron Jan 9, 2018
35b8498
Skip ActivityPub Announces of non-public objects (#6230)
Gargron Jan 9, 2018
be4405a
Remove some #
YoheiZuho Jan 9, 2018
f9a7794
Merge pull request #12 from YoheiZuho/v2.1.3
YoheiZuho Jan 9, 2018
ecb5e70
Update compose_form.js
YoheiZuho Jan 10, 2018
db15236
Merge pull request #13 from YoheiZuho/YoheiZuho-patch-1
YoheiZuho Jan 10, 2018
ddfa508
Merge pull request #14 from YoheiZuho/v2.1.3
YoheiZuho Jan 10, 2018
704053d
Handle sessions that can't be translated (#6245)
tribela Jan 12, 2018
7a95d51
[Update] ME4をv2.1.3ベースに置換 (#10)
GenbuHase Jan 14, 2018
be56150
はるきん焼却ボタンを改良。
GenbuHase Jan 14, 2018
08e4c78
Fix column headers accessibility (#6199)
marrus-sh Jan 15, 2018
ed867ec
Move e-mail digest task to sidekiq, reduce workload, improve hint (#6…
Gargron Jan 15, 2018
dcc614f
Add some browsers (#6246)
tribela Jan 15, 2018
2091ae9
Make columns-area unscrollable when modal opened (#6241)
Jan 15, 2018
537d293
Suppress CSRF token warnings (#6240)
pfigel Jan 15, 2018
74c1c9e
Allow attributedTo in a status to be an embedded object (#6238)
puckipedia Jan 15, 2018
3987bd1
Fix #6128 - Display unfollow button even if account moved (#6258)
Gargron Jan 15, 2018
7861c5f
Surround mid-text display names with bdi tags (#6257)
Gargron Jan 15, 2018
5276c0a
HTML e-mails for UserMailer (#6256)
Gargron Jan 16, 2018
e6fd4be
Stop duplicate CI with Pull Request (#6265)
ykzts Jan 16, 2018
9a28052
Change image URL in mailer to full path (#6264)
ykzts Jan 16, 2018
3323b41
Change disclaimer in email according to #5817 (#6266)
Jan 16, 2018
65d99cb
Analyticsを埋め込み。
GenbuHase Jan 16, 2018
3739a2a
アナリティクスIdを変数へ。
GenbuHase Jan 16, 2018
0219483
HTML e-mails for NotificationMailer (#6263)
Gargron Jan 16, 2018
8bed9f9
変数名変更。
GenbuHase Jan 17, 2018
4d9d70c
Analyticsの埋め込みファイルを変更
GenbuHase Jan 17, 2018
7a46b7d
AnalyticsIDをYづドンDev用に。
GenbuHase Jan 17, 2018
13fcf34
Merge pull request #15 from GenbuHase/v4
YoheiZuho Jan 17, 2018
eed7484
Change mailer image url (#6279)
mayaeh Jan 17, 2018
acb982f
Korean translate (#6277)
tribela Jan 17, 2018
ea75ae2
Use be_within instead of eq for a to_f test match (#6275)
mike-burns Jan 17, 2018
6f244ba
Use better reblog icon and improve contrast in HTML e-mails (#6272)
Gargron Jan 17, 2018
fb16c37
Update Simplified Chinese translations (#6280)
Jan 17, 2018
0a103c7
Upgrade ESLint to version 4.x (#6276)
ykzts Jan 17, 2018
fbe7756
implement web share target (#6278)
rinsuki Jan 17, 2018
59797ee
Weblate translations (#6284)
renatolond Jan 17, 2018
7badad7
Fix home regeneration (#6251)
Gargron Jan 17, 2018
e56404b
When must_be_following_dm is on, only notify if recipient dm'ed user …
renatolond Jan 18, 2018
d799921
Replace tutorial modal with welcome e-mail (#6273)
Gargron Jan 18, 2018
9b3b40d
Fix regeneration marker not expiring (#6290)
Gargron Jan 18, 2018
852b482
i18n: Update Polish translation (#6297)
Jan 19, 2018
540b3f3
Replace drawer elephant graphic with a vector image (#6286)
Gargron Jan 19, 2018
a0de322
Retry delivering toots over ActivityPub for about 2 days (#6298)
ClearlyClaire Jan 19, 2018
7be53a1
Fix "tzinfo-data is not present" docker error (#6300)
pierreozoux Jan 19, 2018
b1e0319
Process mentions and reblogs even from resolved threads (#6299)
ClearlyClaire Jan 19, 2018
7233ac0
Add support Ruby v2.5.0 (#6097)
ykzts Jan 19, 2018
238de58
Change belongs_to_required_by_default to true (#5888)
ykzts Jan 19, 2018
0b888ac
Do not throw away statuses obtained via websocket when API request fi…
ClearlyClaire Jan 19, 2018
0142199
Make text e-mails consistent with HTML ones in UserMailer (#6291)
Gargron Jan 20, 2018
872a0d5
Improve HTML e-mails based on Litmus tests (#6301)
Gargron Jan 20, 2018
79b34a0
Restore onboarding modal (#6303)
Gargron Jan 20, 2018
45afdf1
Fix #6269 - Render LOCAL_DOMAIN as unicode in presentational views (#…
Gargron Jan 20, 2018
80b3ca0
Update Simplified Chinese translations (#6306)
Jan 20, 2018
0b7a0d1
Bump version to 2.2.0rc1
Gargron Jan 20, 2018
72f9eab
Change mailer avatar url (#6309)
yi0713 Jan 20, 2018
1287de1
Fix invalid value passed to full_asset_url in mailers (#6312)
Gargron Jan 21, 2018
31d1485
Display number of follow requests in getting started menu, and (#6313)
Gargron Jan 21, 2018
112b1fa
Redirect to 2FA creation page when otp_secret is not available (#6314)
redtachyons Jan 21, 2018
d613dda
Fix assets loading when WEB_DOMAIN ≠ LOCAL_DOMAIN (#6319)
ClearlyClaire Jan 21, 2018
cfd2b06
fix filter search index being too strict when looking for line breaks…
codl Jan 21, 2018
48cd6dc
armenian translations initial commit (#6320)
norayr Jan 21, 2018
143fb54
Korean translation (#6322)
tribela Jan 21, 2018
233ee7a
Delete mastodon-ui.png
YoheiZuho Jan 22, 2018
38644fb
Merge pull request #17 from YoheiZuho/v2.2.0rc1
YoheiZuho Jan 22, 2018
fc3a796
Add files via upload
YoheiZuho Jan 22, 2018
b7f6dde
Weblate translations (#6323)
renatolond Jan 22, 2018
8cc65cd
Resolve URL for local account in follow authorization success view (#…
akihikodaki Jan 22, 2018
17cecd7
Rename FetchRemoteResourceService to ResolveURLService (#6328)
akihikodaki Jan 22, 2018
613e7c7
Rename ResolveRemoteAccountService to ResolveAccountService (#6327)
akihikodaki Jan 22, 2018
69f13e7
Fix regression from #6199: Make entire column header clickable (#6334)
Gargron Jan 23, 2018
06bccf5
数種の機能を廃止。
GenbuHase Jan 23, 2018
455cf2f
Merge pull request #18 from GenbuHase/v4
YoheiZuho Jan 23, 2018
bc6d940
Delete mastodon-ui.png
YoheiZuho Jan 23, 2018
d7122bc
Merge branch 'y-zu-original' into v4
GenbuHase Jan 23, 2018
a29a6b3
Merge branch 'y-zu-original' into v4
GenbuHase Jan 23, 2018
2fc2725
Fix e-mail icon for reblog being stretched (#6336)
Gargron Jan 23, 2018
d966878
Update goldfinger, ostatus2 and http.rb versions (#6337)
Gargron Jan 23, 2018
4ec9d8b
Display deleted users' role as “Suspended” (#6339)
ClearlyClaire Jan 23, 2018
0a96c4d
装飾文字機能を追加
GenbuHase Jan 23, 2018
e32646c
マッチ条件を変更
GenbuHase Jan 23, 2018
d4cb0bf
Merge pull request #22 from GenbuHase/v6
YoheiZuho Jan 23, 2018
1cc44cb
Fix #6331 (#6341)
Gargron Jan 23, 2018
b1daa71
Fix #6311: Replace relative URLs in CSS only for Premailer (#6335)
Gargron Jan 24, 2018
daefbd6
Fix style of legacy column headers (#6342)
Gargron Jan 24, 2018
e6db342
Bump to 2.2.0rc2
Gargron Jan 24, 2018
c81cd39
装飾文字機能の改善
GenbuHase Jan 24, 2018
cee0d34
データベースに挿入する形式に変更
GenbuHase Jan 24, 2018
7650506
l10n Occitan language update (#6346)
Quenty31 Jan 24, 2018
3d881ee
Add packs volume to docker-compose.yml (#6348)
ykzts Jan 24, 2018
8cd2828
Fix hide and show media button on admin page (#6347)
abcang Jan 24, 2018
f272d6a
装飾文字機能の改善
GenbuHase Jan 24, 2018
281f29f
書式変更
GenbuHase Jan 24, 2018
a3c0a20
Fix initial_state me in push_notification_register (#6349)
abcang Jan 24, 2018
4a974c6
Do not require sudo on Travis CI (#6356)
akihikodaki Jan 25, 2018
7e07e61
Do not manually update system RubyGems (#6355)
akihikodaki Jan 25, 2018
bd8d8ad
l10n Occitan update (#6367)
Quenty31 Jan 26, 2018
106efba
Weblate translations (#6370)
renatolond Jan 28, 2018
79bc3d5
Add direction tags to HTML e-mails for RTL languages (#6373)
Gargron Jan 28, 2018
97dcfb0
ASSET_HOST is wrong env variable. Fix to CDN_HOST (#6372)
Gargron Jan 29, 2018
47eda1e
Fix padding bug in landing page column header (#6374)
Gargron Jan 29, 2018
e14c205
Bump version to 2.2.0
Gargron Jan 29, 2018
88cdc07
Merge pull request #23 from GenbuHase/v6
YoheiZuho Jan 29, 2018
3040124
Merge pull request #24 from YoheiZuho/v2.2.0
YoheiZuho Jan 29, 2018
00fdc56
Update docker-compose.yml
YoheiZuho Jan 31, 2018
8635cc6
正規表現の改善
GenbuHase Feb 3, 2018
27fc2e0
[Update] ME6をv2.2.0に追従 (#12)
GenbuHase Feb 3, 2018
9bb9b8e
Merge branch 'y-zu-original-dev' into v6
GenbuHase Feb 3, 2018
91c8688
[Update] ME6をv2.3.0に追従 (#13)
GenbuHase Mar 11, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ plugins:
enabled: true
eslint:
enabled: true
channel: eslint-4
rubocop:
enabled: true
scss-lint:
Expand Down
95 changes: 91 additions & 4 deletions .env.nanobox
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,29 @@ DB_PORT=5432

DATABASE_URL=postgresql://$DATA_DB_USER:$DATA_DB_PASS@$DATA_DB_HOST/gonano

# Optional ElasticSearch configuration
# ES_ENABLED=true
# ES_HOST=localhost
# ES_PORT=9200

# Optimizations
LD_PRELOAD=/data/lib/libjemalloc.so

# ImageMagick optimizations
MAGICK_TEMPORARY_PATH=/app/tmp
MAGICK_MEMORY_LIMIT=128MiB
MAGICK_MAP_LIMIT=64MiB
MAGICK_TIME_LIMIT=15
MAGICK_AREA_LIMIT=16MP
MAGICK_WIDTH_LIMIT=8KP
MAGICK_HEIGHT_LIMIT=8KP

# Federation
# Note: Changing LOCAL_DOMAIN or LOCAL_HTTPS at a later time will cause unwanted side effects.
# Note: Changing LOCAL_DOMAIN at a later time will cause unwanted side effects, including breaking all existing federation.
# LOCAL_DOMAIN should *NOT* contain the protocol part of the domain e.g https://example.com.
LOCAL_DOMAIN=${APP_NAME}.nanoapp.io
LOCAL_HTTPS=false

# Changing LOCAL_HTTPS in production is no longer supported. (Mastodon will always serve https:// links)

# Use this only if you need to run mastodon on a different domain than the one used for federation.
# You can read more about this option on https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Serving_a_different_domain.md
Expand All @@ -31,7 +49,6 @@ LOCAL_HTTPS=false

# Application secrets
# Generate each with the `rake secret` task (`nanobox run bundle exec rake secret`)
PAPERCLIP_SECRET=$PAPERCLIP_SECRET
SECRET_KEY_BASE=$SECRET_KEY_BASE
OTP_SECRET=$OTP_SECRET

Expand Down Expand Up @@ -131,9 +148,79 @@ SMTP_FROM_ADDRESS=notifications@${APP_NAME}.nanoapp.io

# Cluster number setting for streaming API server.
# If you comment out following line, cluster number will be `numOfCpuCores - 1`.
STREAMING_CLUSTER_NUM=1
# STREAMING_CLUSTER_NUM=1

# Docker mastodon user
# If you use Docker, you may want to assign UID/GID manually.
# UID=1000
# GID=1000

# LDAP authentication (optional)
# LDAP_ENABLED=true
# LDAP_HOST=localhost
# LDAP_PORT=389
# LDAP_METHOD=simple_tls
# LDAP_BASE=
# LDAP_BIND_DN=
# LDAP_PASSWORD=
# LDAP_UID=cn

# PAM authentication (optional)
# PAM authentication uses for the email generation the "email" pam variable
# and optional as fallback PAM_DEFAULT_SUFFIX
# The pam environment variable "email" is provided by:
# https://github.com/devkral/pam_email_extractor
# PAM_ENABLED=true
# Fallback Suffix for email address generation (nil by default)
# PAM_DEFAULT_SUFFIX=pam
# Name of the pam service (pam "auth" section is evaluated)
# PAM_DEFAULT_SERVICE=rpam
# Name of the pam service used for checking if an user can register (pam "account" section is evaluated) (nil (disabled) by default)
# PAM_CONTROLLED_SERVICE=rpam

# Global OAuth settings (optional) :
# If you have only one strategy, you may want to enable this
# OAUTH_REDIRECT_AT_SIGN_IN=true

# Optional CAS authentication (cf. omniauth-cas) :
# CAS_ENABLED=true
# CAS_URL=https://sso.myserver.com/
# CAS_HOST=sso.myserver.com/
# CAS_PORT=443
# CAS_SSL=true
# CAS_VALIDATE_URL=
# CAS_CALLBACK_URL=
# CAS_LOGOUT_URL=
# CAS_LOGIN_URL=
# CAS_UID_FIELD='user'
# CAS_CA_PATH=
# CAS_DISABLE_SSL_VERIFICATION=false
# CAS_UID_KEY='user'
# CAS_NAME_KEY='name'
# CAS_EMAIL_KEY='email'
# CAS_NICKNAME_KEY='nickname'
# CAS_FIRST_NAME_KEY='firstname'
# CAS_LAST_NAME_KEY='lastname'
# CAS_LOCATION_KEY='location'
# CAS_IMAGE_KEY='image'
# CAS_PHONE_KEY='phone'

# Optional SAML authentication (cf. omniauth-saml)
# SAML_ENABLED=true
# SAML_ACS_URL=
# SAML_ISSUER=http://localhost:3000/auth/auth/saml/callback
# SAML_IDP_SSO_TARGET_URL=https://idp.testshib.org/idp/profile/SAML2/Redirect/SSO
# SAML_IDP_CERT=
# SAML_IDP_CERT_FINGERPRINT=
# SAML_NAME_IDENTIFIER_FORMAT=
# SAML_CERT=
# SAML_PRIVATE_KEY=
# SAML_SECURITY_WANT_ASSERTION_SIGNED=true
# SAML_SECURITY_WANT_ASSERTION_ENCRYPTED=true
# SAML_SECURITY_ASSUME_EMAIL_IS_VERIFIED=true
# SAML_ATTRIBUTES_STATEMENTS_UID="urn:oid:0.9.2342.19200300.100.1.1"
# SAML_ATTRIBUTES_STATEMENTS_EMAIL="urn:oid:1.3.6.1.4.1.5923.1.1.1.6"
# SAML_ATTRIBUTES_STATEMENTS_FULL_NAME="urn:oid:2.5.4.42"
# SAML_UID_ATTRIBUTE="urn:oid:0.9.2342.19200300.100.1.1"
# SAML_ATTRIBUTES_STATEMENTS_VERIFIED=
# SAML_ATTRIBUTES_STATEMENTS_VERIFIED_EMAIL=
81 changes: 78 additions & 3 deletions .env.production.sample
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@ DB_USER=postgres
DB_NAME=postgres
DB_PASS=
DB_PORT=5432
# Optional ElasticSearch configuration
# ES_ENABLED=true
# ES_HOST=es
# ES_PORT=9200

# Federation
# Note: Changing LOCAL_DOMAIN at a later time will cause unwanted side effects, including breaking all existing federation.
# LOCAL_DOMAIN should *NOT* contain the protocol part of the domain e.g https://example.com.
LOCAL_DOMAIN=example.com
LOCAL_DOMAIN=example.com

# Changing LOCAL_HTTPS in production is no longer supported. (Mastodon will always serve https:// links)

Expand All @@ -29,7 +33,6 @@ LOCAL_DOMAIN=example.com

# Application secrets
# Generate each with the `RAILS_ENV=production bundle exec rake secret` task (`docker-compose run --rm web rake secret` if you use docker compose)
PAPERCLIP_SECRET=
SECRET_KEY_BASE=
OTP_SECRET=

Expand Down Expand Up @@ -58,7 +61,7 @@ VAPID_PUBLIC_KEY=
# E-mail configuration
# Note: Mailgun and SparkPost (https://sparkpo.st/smtp) each have good free tiers
# If you want to use an SMTP server without authentication (e.g local Postfix relay)
# then set SMTP_AUTH_METHOD and SMTP_OPENSSL_VERIFY_MODE to 'none' and
# then set SMTP_AUTH_METHOD and SMTP_OPENSSL_VERIFY_MODE to 'none' and
# *comment* SMTP_LOGIN and SMTP_PASSWORD (leaving them blank is not enough).
SMTP_SERVER=smtp.mailgun.org
SMTP_PORT=587
Expand Down Expand Up @@ -135,3 +138,75 @@ STREAMING_CLUSTER_NUM=1
# If you use Docker, you may want to assign UID/GID manually.
# UID=1000
# GID=1000

# LDAP authentication (optional)
# LDAP_ENABLED=true
# LDAP_HOST=localhost
# LDAP_PORT=389
# LDAP_METHOD=simple_tls
# LDAP_BASE=
# LDAP_BIND_DN=
# LDAP_PASSWORD=
# LDAP_UID=cn

# PAM authentication (optional)
# PAM authentication uses for the email generation the "email" pam variable
# and optional as fallback PAM_DEFAULT_SUFFIX
# The pam environment variable "email" is provided by:
# https://github.com/devkral/pam_email_extractor
# PAM_ENABLED=true
# Fallback Suffix for email address generation (nil by default)
# PAM_DEFAULT_SUFFIX=pam
# Name of the pam service (pam "auth" section is evaluated)
# PAM_DEFAULT_SERVICE=rpam
# Name of the pam service used for checking if an user can register (pam "account" section is evaluated) (nil (disabled) by default)
# PAM_CONTROLLED_SERVICE=rpam

# Global OAuth settings (optional) :
# If you have only one strategy, you may want to enable this
# OAUTH_REDIRECT_AT_SIGN_IN=true

# Optional CAS authentication (cf. omniauth-cas) :
# CAS_ENABLED=true
# CAS_URL=https://sso.myserver.com/
# CAS_HOST=sso.myserver.com/
# CAS_PORT=443
# CAS_SSL=true
# CAS_VALIDATE_URL=
# CAS_CALLBACK_URL=
# CAS_LOGOUT_URL=
# CAS_LOGIN_URL=
# CAS_UID_FIELD='user'
# CAS_CA_PATH=
# CAS_DISABLE_SSL_VERIFICATION=false
# CAS_UID_KEY='user'
# CAS_NAME_KEY='name'
# CAS_EMAIL_KEY='email'
# CAS_NICKNAME_KEY='nickname'
# CAS_FIRST_NAME_KEY='firstname'
# CAS_LAST_NAME_KEY='lastname'
# CAS_LOCATION_KEY='location'
# CAS_IMAGE_KEY='image'
# CAS_PHONE_KEY='phone'

# Optional SAML authentication (cf. omniauth-saml)
# SAML_ENABLED=true
# SAML_ACS_URL=
# SAML_ISSUER=http://localhost:3000/auth/auth/saml/callback
# SAML_IDP_SSO_TARGET_URL=https://idp.testshib.org/idp/profile/SAML2/Redirect/SSO
# SAML_IDP_CERT=
# SAML_IDP_CERT_FINGERPRINT=
# SAML_NAME_IDENTIFIER_FORMAT=
# SAML_CERT=
# SAML_PRIVATE_KEY=
# SAML_SECURITY_WANT_ASSERTION_SIGNED=true
# SAML_SECURITY_WANT_ASSERTION_ENCRYPTED=true
# SAML_SECURITY_ASSUME_EMAIL_IS_VERIFIED=true
# SAML_ATTRIBUTES_STATEMENTS_UID="urn:oid:0.9.2342.19200300.100.1.1"
# SAML_ATTRIBUTES_STATEMENTS_EMAIL="urn:oid:1.3.6.1.4.1.5923.1.1.1.6"
# SAML_ATTRIBUTES_STATEMENTS_FULL_NAME="urn:oid:2.16.840.1.113730.3.1.241"
# SAML_ATTRIBUTES_STATEMENTS_FIRST_NAME="urn:oid:2.5.4.42"
# SAML_ATTRIBUTES_STATEMENTS_LAST_NAME="urn:oid:2.5.4.4"
# SAML_UID_ATTRIBUTE="urn:oid:0.9.2342.19200300.100.1.1"
# SAML_ATTRIBUTES_STATEMENTS_VERIFIED=
# SAML_ATTRIBUTES_STATEMENTS_VERIFIED_EMAIL=
1 change: 0 additions & 1 deletion .env.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Federation
LOCAL_DOMAIN=cb6e6126.ngrok.io
LOCAL_HTTPS=true
OTP_SECRET=100c7faeef00caa29242f6b04156742bf76065771fd4117990c4282b8748ff3d99f8fdae97c982ab5bd2e6756a159121377cce4421f4a8ecd2d67bd7749a3fb4
19 changes: 12 additions & 7 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ plugins:
parserOptions:
sourceType: module
ecmaFeatures:
arrowFunctions: true
experimentalObjectRestSpread: true
jsx: true
destructuring: true
modules: true
spread: true
ecmaVersion: 2018

settings:
import/extensions:
Expand Down Expand Up @@ -109,6 +107,7 @@ rules:
react/self-closing-comp: error

jsx-a11y/accessible-emoji: warn
jsx-a11y/alt-text: warn
jsx-a11y/anchor-has-content: warn
jsx-a11y/aria-activedescendant-has-tabindex: warn
jsx-a11y/aria-props: warn
Expand All @@ -119,16 +118,22 @@ rules:
jsx-a11y/href-no-hash: warn
jsx-a11y/html-has-lang: warn
jsx-a11y/iframe-has-title: warn
jsx-a11y/img-has-alt: warn
jsx-a11y/img-redundant-alt: warn
jsx-a11y/interactive-supports-focus: warn
jsx-a11y/label-has-for: off
jsx-a11y/mouse-events-have-key-events: warn
jsx-a11y/no-access-key: warn
jsx-a11y/no-distracting-elements: warn
jsx-a11y/no-noninteractive-element-interactions:
- warn
- handlers:
- onClick
jsx-a11y/no-onchange: warn
jsx-a11y/no-redundant-roles: warn
jsx-a11y/onclick-has-focus: warn
jsx-a11y/onclick-has-role: warn
jsx-a11y/no-static-element-interactions:
- warn
- handlers:
- onClick
jsx-a11y/role-has-required-aria-props: warn
jsx-a11y/role-supports-aria-props: off
jsx-a11y/scope: warn
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.2
2.5.0
36 changes: 18 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@ cache:
bundler: true
yarn: true
directories:
- node_modules
- public/assets
- public/packs-test
- tmp/cache/babel-loader
- node_modules
- public/assets
- public/packs-test
- tmp/cache/babel-loader
dist: trusty
sudo: required
sudo: false
branches:
only:
- master

notifications:
email: false
Expand All @@ -20,25 +23,24 @@ env:
- RAILS_ENV=test
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
- PARALLEL_TEST_PROCESSORS=2
- "PATH=$HOME:$PATH"

addons:
postgresql: 9.4
apt:
sources:
- trusty-media
- sourceline: deb https://dl.yarnpkg.com/debian/ stable main
key_url: https://dl.yarnpkg.com/debian/pubkey.gpg
- trusty-media
- sourceline: deb https://dl.yarnpkg.com/debian/ stable main
key_url: https://dl.yarnpkg.com/debian/pubkey.gpg
packages:
- ffmpeg
- libicu-dev
- libprotobuf-dev
- protobuf-compiler
- yarn
- ffmpeg
- libicu-dev
- libprotobuf-dev
- protobuf-compiler
- yarn

rvm:
- 2.3.4
- 2.4.2
- 2.5.0

services:
- redis-server
Expand All @@ -49,9 +51,7 @@ install:
- yarn install

before_script:
- bundle exec rake parallel:create parallel:load_schema parallel:prepare
- bundle exec rails assets:precompile
- ln -s /usr/bin/x86_64-linux-gnu-g++-6 "$HOME/g++"
- ./bin/rails parallel:create parallel:load_schema parallel:prepare assets:precompile

script:
- travis_retry bundle exec parallel_test spec/ --group-by filesize --type rspec
Expand Down
Loading