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] ME6をv2.3.0に追従 #13

Merged
merged 185 commits into from
Mar 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
185 commits
Select commit Hold shift + click to select a range
2cff744
fix ruby 2.5 rvm install in vagrant (#6396)
northerner Jan 31, 2018
3ed194b
Russian language updated (#6397)
MasterGroosha Jan 31, 2018
ffb2b8e
Fix button hiding when header title is too long (#6406)
abcang Feb 1, 2018
f4bd51d
Upgrade Paperclip > 5.2.1 (#6404)
rfwatson Feb 1, 2018
1afc70c
Fix mistake in cache deletion (#6408)
abcang Feb 2, 2018
04fef7b
pam authentication (#5303)
devkral Feb 2, 2018
8e4cf62
Allow retrieval of private statuses (single or in outbox) using HTTP …
puckipedia Feb 2, 2018
0be9a1e
Accept ActivityPub announce from the author of the original note (#6236)
akihikodaki Feb 2, 2018
5da5c65
Unify links container implementation in about pages (#6382)
akihikodaki Feb 2, 2018
77dd9e7
Remove wave from list drawer (#6381)
akihikodaki Feb 2, 2018
af40824
moved save button (#3792)
LottieVixen Feb 2, 2018
ac10932
Allow HTTP caching of atom-rendered public toots (OStatus compatibili…
ClearlyClaire Feb 2, 2018
c1efe0a
Set minimum height for mastodon on drawer (#6142)
akihikodaki Feb 2, 2018
7e5c433
Fix saving of oEmbed image (#6409)
abcang Feb 2, 2018
33f5681
Fix column header button (#6411)
abcang Feb 2, 2018
f7bf36d
Require environment for generate_static_pages (#6420)
akihikodaki Feb 3, 2018
d75d2a9
fix ColumnBackButtonSlim should extended from ColumnBackButton (#6417)
takayamaki Feb 3, 2018
9da81a1
Isolate internal services from external networks in Docker configurat…
akihikodaki Feb 3, 2018
26f21fd
CAS + SAML authentication feature (#6425)
Gargron Feb 4, 2018
4e4f1b0
Add option to show only local toots in timeline preview (#6292)
renatolond Feb 4, 2018
258dcb8
Upgrade Vagrant box to Xenial (#6421)
northerner Feb 4, 2018
c156a83
Make sure status is not nil (#6428)
abcang Feb 4, 2018
3f35d43
Exclude nil from relationships array (#6427)
abcang Feb 4, 2018
9b6223f
Validation of count works even when text of status is nil (#6429)
abcang Feb 4, 2018
38e0133
Make PAM gem optional, allow configuration over environment (#6415)
Gargron Feb 4, 2018
95c8232
match hashtag regex in js client with server (#6431)
northerner Feb 5, 2018
67f7ffa
Change user_id column non-nullable (#6435)
akihikodaki Feb 7, 2018
2bb3936
Added #link_header spec (#6439)
tooooooooomy Feb 7, 2018
cf32f7d
Fix response of signature_verification_failure_reason (#6441)
abcang Feb 8, 2018
298c81c
Clear account cache of notification target_status (#6442)
abcang Feb 8, 2018
1167c6d
Perform request spec (#6446)
tooooooooomy Feb 8, 2018
76f3d5d
Add preference to always display sensitive media (#6448)
Gargron Feb 8, 2018
2ef9d0e
Change web UI "posts" to "toots" on profile for consistency (#6447)
Gargron Feb 8, 2018
235c14c
fix-indent (#6453)
masarakki Feb 9, 2018
3ebc0ad
Full-text search for authorized statuses (#6423)
Gargron Feb 9, 2018
cbe8743
Added #call spec (#6455)
tooooooooomy Feb 10, 2018
411c9ec
Fix password recovery (#6459)
ClearlyClaire Feb 10, 2018
718802a
Added FetchRemoteAccountService spec (#6456)
tooooooooomy Feb 10, 2018
cf36d18
Interactive `rake mastodon:setup` task (#6451)
Gargron Feb 11, 2018
e20700f
Fix Chewy trying to update index with the wrong strategy (#6464)
Gargron Feb 11, 2018
6ef3874
Fix URLs incorrectly having trailing hyphen removed (#6465)
northerner Feb 11, 2018
ba8ec4e
i18n: Update Polish translation (#6470)
Feb 13, 2018
ecdac90
Fix media button type (#6478)
abcang Feb 15, 2018
f7765ac
Fix #5173: Click card to embed external content (#6471)
Gargron Feb 15, 2018
478ca39
After click to embed video, autoplay it (#6480)
Gargron Feb 15, 2018
1122579
Do not hide NSFW media/CW'd text in OpenGraph tags (#6479)
Gargron Feb 16, 2018
9dbae6e
Save video metadata and improve video OpenGraph tags (#6481)
Gargron Feb 16, 2018
eb3262b
[Nanobox] Fix backups for file storage (#6483)
danhunsaker Feb 16, 2018
ffdf0f2
Fix Catalan translation of remote_follow acct (#6476)
sim6 Feb 16, 2018
c770b50
Fix Spanish translation of remote_follow acct (#6475)
sim6 Feb 16, 2018
a7c50c7
Limit the languages used for notification mailer test (#6487)
akihikodaki Feb 17, 2018
a71af98
Push discovered status through streaming API within a time window (#6…
Gargron Feb 17, 2018
9b8a448
Isolate each specs for cache store (#6450)
akihikodaki Feb 17, 2018
cba2897
Cache relationships in API (#6482)
Gargron Feb 18, 2018
51869f2
Remove unnecessary g++ configuration (#6499)
akihikodaki Feb 18, 2018
bc6751e
Remove outline from body window (Fixes #6501) (#6502)
HellPie Feb 18, 2018
7893646
Added fetch_remote_status_service call spec case actibitypub (#6500)
tooooooooomy Feb 18, 2018
bb26cdd
add parameter locked to /api/v1/update_credentials (#6506)
connyduck Feb 18, 2018
cbb69d4
Fix media spoiler design (#6507)
Gargron Feb 19, 2018
6610592
Don't resize avatars/headers if their dimensions are already right (#…
Gargron Feb 19, 2018
7124881
Improve performance of feed_manager_spec (#6517)
abcang Feb 20, 2018
be9bab1
Set Docker permissions during the build process (#6514)
Gargron Feb 20, 2018
0285607
Fix #6509: Use pull queue for chewy jobs (#6513)
Gargron Feb 20, 2018
a4fd4ad
Fix build error for missing variable interpolation in chown instructi…
moritzheiber Feb 20, 2018
a7171af
Fix avatar and header issues by using custom geometry detector (#6515)
Gargron Feb 21, 2018
f69d7cb
fix purge_removed_accounts task should suspend account before delete …
takayamaki Feb 21, 2018
c1e77b5
fix #6523 (#6524)
rinsuki Feb 21, 2018
61ed133
Account archive download (#6460)
Gargron Feb 21, 2018
4bc6251
Fix bug in relationships API introduced by #6482 (#6527)
Gargron Feb 21, 2018
d3a62d2
Fix #6525: Make sure file is opened in LazyThumbnail processor (#6529)
Gargron Feb 21, 2018
90f12f2
Focal points (#6520)
Gargron Feb 21, 2018
d8bc64b
Fix #6526: Only store redirect location if not in JSON format (#6528)
Gargron Feb 21, 2018
c71aa46
Redesign landing page (again) (#6486)
Gargron Feb 22, 2018
755aad5
fix typo in image serializer (#6530)
beatrix-bitrot Feb 22, 2018
5f3bee3
Fix container regression (#6531)
Gargron Feb 22, 2018
b8535ad
Fix nil error in focal_point? (#6537)
Gargron Feb 22, 2018
3084fe4
New env variable: SAML_SECURITY_ASSUME_EMAIL_IS_VERIFIED + fixes #653…
gloaec Feb 22, 2018
3e46f12
i18n: Update Polish translation (#6539)
Feb 22, 2018
8fa924e
Update pam documentation (#6518)
devkral Feb 22, 2018
e668180
New variable OAUTH_REDIRECT_AT_SIGN_IN + Ref #6538 (not only SAML str…
gloaec Feb 23, 2018
f8f0572
Do not push status to feed if its reblog is already inserted (#6488)
akihikodaki Feb 24, 2018
4d8c0d9
i18n: Update Japanese translations (#6550)
mayaeh Feb 24, 2018
7cb49ea
Do not use function name to track components (#6542)
akihikodaki Feb 24, 2018
2e8a492
Raise Mastodon::HostValidationError when host for HTTP request is pri…
akihikodaki Feb 24, 2018
f0a1b1a
Fix #6536 (#6558)
Gargron Feb 25, 2018
5cc7166
Ensure the app does not even start if OTP_SECRET is not set (#6557)
Gargron Feb 26, 2018
c33931b
Fix prev/next links on public profile page (#6497)
valrus Feb 26, 2018
18513a9
Improve public account cards (#6559)
Gargron Feb 26, 2018
a40167c
Better grid layout for the landing page (#6543)
lynlynlynx Feb 26, 2018
22a441e
remove-uglifier (#6561)
masarakki Feb 26, 2018
3a6ace4
Add Liberapay link to README.md (#6563)
Feb 26, 2018
7150f2e
Grid layout for tag pages (#6545)
lynlynlynx Feb 26, 2018
76198c6
Some images can cause `convert` to fail, which crashes this whole tas…
Feb 26, 2018
6f5f434
Specify AGPLv3+ (#6546)
TrashMacNugget Feb 27, 2018
4072b68
remove Uglifier call from production.rb (#6568)
beatrix-bitrot Feb 27, 2018
41a01be
Federated reports (#6570)
Gargron Feb 28, 2018
e852872
Fix #5708: Reject->Follow will remove the follow if it exists (#6571)
Gargron Feb 28, 2018
47bdb9b
Fix #942: Seamless LDAP login (#6556)
Gargron Feb 28, 2018
fce8464
Ensure that boolean params in the API are parsed for truthiness (#6575)
Gargron Mar 1, 2018
473a69a
Fix margin on top action button, fix width of counters on frontpage (…
Gargron Mar 1, 2018
5131012
Add "Toots/Toots with replies/Media" tab below profile header (#6572)
Gargron Mar 1, 2018
68218d9
Add only_media param to public and hashtag timelines API (#6576)
Gargron Mar 1, 2018
51b7a22
i18n: Update Polish translation (#6578)
Mar 1, 2018
a3c4138
Add contact_account and languages to instance API (#6574)
Gargron Mar 1, 2018
64f2ada
Bump version to 2.3.0rc1
Gargron Mar 1, 2018
ecd36c1
Fixes #6584 (#6585)
ThomasLeister Mar 1, 2018
e7d741e
i18n: Update Japanese translations (#6581)
mayaeh Mar 1, 2018
e4db0f2
Update omniauth-saml to 1.10 (#6587)
pfigel Mar 2, 2018
38b9af7
Improve style of web UI account tabs (#6589)
Gargron Mar 2, 2018
379cdfa
Fix #6586: Add close modal icon to report dialog (#6591)
Gargron Mar 2, 2018
0963b6f
Weblate translations (2018-03-02) (#6588)
ykzts Mar 2, 2018
7901f9f
When search enabled, display hint in search popout (#6593)
Gargron Mar 2, 2018
036dd98
Responsively enforce 16:9 ratio on all media thumbnails in web UI (#6…
Gargron Mar 2, 2018
e72db6d
Move "compose" on mobile to floating action button (#6594)
Gargron Mar 2, 2018
b4f8e87
Add LDAP options to .env.production.sample (#6592)
Gargron Mar 2, 2018
42fe05d
fix logic for pam_controlled_service (#6599)
devkral Mar 2, 2018
ecf06d7
Change "or" translatable (#6597)
ykzts Mar 2, 2018
c82a235
Translate Korean (#6608)
tribela Mar 3, 2018
4909294
Fix 500 while searching after deleting a post (#6604)
redtachyons Mar 3, 2018
44829d8
Fix missing focalPoint in ActivityPub JSON (#6609)
Gargron Mar 4, 2018
45feb43
Finalize location on scrollable notifications when unmounting (#6614)
akihikodaki Mar 4, 2018
9110db4
Federate pinned statuses over ActivityPub (#6610)
Gargron Mar 4, 2018
51d7609
Set the default locale in config (#6580)
akihikodaki Mar 4, 2018
b66ec3b
Fix #6611: Typo in change password template (#6616)
Gargron Mar 4, 2018
778b377
Do not fetch environment variables to determine default locale (#6618)
akihikodaki Mar 4, 2018
460e380
Implement tag auto-completion by history (#6621)
akihikodaki Mar 4, 2018
7a6eaad
Do not require images in about.js and share.js (#6622)
akihikodaki Mar 4, 2018
c110fa6
Provide default OTP_SECRET value for development environment (#6617)
akihikodaki Mar 4, 2018
219aac7
Show media on report UI (#6619)
abcang Mar 4, 2018
ef44c62
Do not default site_title with site_hostname in InstanceHelper (#6624)
akihikodaki Mar 4, 2018
4e929b2
[RFC] Improved media modal (#5956)
yuntan Mar 4, 2018
46a9a23
Make more apparent that an account is blocked or muted (fixes #6544) …
ClearlyClaire Mar 5, 2018
3b2e783
i18n: Update Polish translation (#6632)
Mar 5, 2018
1674e2f
Normalize translations (#6638)
renatolond Mar 5, 2018
bd40574
Weblate translations (05-03-2018) (#6640)
renatolond Mar 5, 2018
3d4e788
Fix permissions for volumes (#6637)
Mar 5, 2018
4746fea
Add “Domain hidden” badge (#6636)
ClearlyClaire Mar 5, 2018
f6a8d83
Place dropdown menu top if it is closer to the bottom of the viewport…
akihikodaki Mar 5, 2018
a38dbd9
Redirect from Web tag timeline to public tag timeline if not signed i…
akihikodaki Mar 5, 2018
b0664a5
Replace onScrollToBottom with onLoadMore (#6615)
akihikodaki Mar 5, 2018
20d1be1
Fix accounts' display name/bio not being set from initial state (#6644)
Gargron Mar 5, 2018
e9e475a
Upgrade chewy to version 5.0.0 (#6649)
ykzts Mar 6, 2018
78d772a
Fix #3807: Increase avatars to 400x400 max (#6651)
Gargron Mar 6, 2018
61e6275
Use withRouter for TabsBar (#6652)
akihikodaki Mar 6, 2018
13cf92d
Use React.PureComponent instead of React.Component (#6653)
akihikodaki Mar 6, 2018
a07cfee
Extract columns area from UI component (#6650)
akihikodaki Mar 6, 2018
81cefc1
Do not use npm (#6656)
akihikodaki Mar 6, 2018
b725924
[Nanobox] Tuning Update (#6660)
danhunsaker Mar 6, 2018
cb74c0c
Add headings to the security settings page (#6661)
Sylvhem Mar 7, 2018
d7573fe
Separate chown command in Dockerfile. Use tootsuite/mastodon image (#…
Gargron Mar 7, 2018
4847149
Always install LDAP, CAS and SAML gems, because they don't require de…
Gargron Mar 7, 2018
913a381
Remove pointer events on the entire UI when a dropdown menu is open (…
akihikodaki Mar 7, 2018
e6520c0
Fix #6657 - Use target instead of origin in Remove activity (#6664)
Gargron Mar 7, 2018
89a52d6
Fix wrong target URIs in ActivityPub Add/Remove (#6668)
Gargron Mar 7, 2018
dd9d00d
Add additional first_name and last_name SAML attribute statement opti…
ineffyble Mar 7, 2018
e26d5ca
Don't escape statuses while truncating (#6671)
vpzomtrrfrt Mar 7, 2018
cfa9b6e
Remove text requirement when media attached from statuses (#6672)
Gargron Mar 7, 2018
8de048f
In wide layout, columnize Mastodon features on landing page (#6674)
Gargron Mar 7, 2018
a1b0657
Fix focal point modals broken by #5956 (#6676)
Gargron Mar 7, 2018
b170627
Fix cover behaviour of thumbnails that are wider than taller (#6678)
Gargron Mar 7, 2018
4ca60c6
Bump version to 2.3.0rc2
Gargron Mar 7, 2018
6dcf962
fix validation error (media only status) (#6684)
MitarashiDango Mar 8, 2018
9aba44e
Rescue when there's no extension in the remotable (#6358)
renatolond Mar 8, 2018
83c982b
Run tests with npm-run-all (#6688)
ykzts Mar 8, 2018
86a9de6
Display AttachmentList in timelines in compact style when media missi…
Gargron Mar 8, 2018
1085ef3
Weblate translations (2018-03-08) (#6690)
ykzts Mar 8, 2018
64db9ed
After blocking domain with reject_media, invalidate cache (#6679)
Gargron Mar 8, 2018
ed90258
Update Yarn to version 1.5.1 (#6689)
ykzts Mar 8, 2018
510c904
For now, put a "." into no-text statuses with media for backcompat (#…
Gargron Mar 8, 2018
77406d3
Display AttachmentList in notifications (#6693)
Gargron Mar 8, 2018
b79ab15
When enabled, always display media in gallery. Also: click to reveal …
Gargron Mar 8, 2018
5acd531
Improve styling of closed registrations message, rename button (#6695)
Gargron Mar 8, 2018
a29d409
If login redirects to omniauth, redirect logout to root_path (#6694)
Gargron Mar 8, 2018
bd077ad
Bump version to 2.3.0rc3
Gargron Mar 8, 2018
188aa3e
Add polyfill for Object.values (#6697)
ykzts Mar 8, 2018
ff44b2e
Add missing meta description to profiles, some other SEO stuff (#6706)
Gargron Mar 8, 2018
ccd53e9
Missing Korean translations (#6703)
tribela Mar 9, 2018
5ba4c36
Weblate translations (2018-03-09) (#6708)
renatolond Mar 9, 2018
4c16ddf
Change avatar size on form hints (#6707)
ykzts Mar 9, 2018
675b8fe
Adjust suggested ES host in .env sample for docker-compose config (#6…
Gargron Mar 9, 2018
11697d6
Fix thumbnail not filling entire space sometimes (#6709)
Gargron Mar 9, 2018
e5f18ac
When inside Docker, output saved configuration during mastodon:setup …
Gargron Mar 9, 2018
6e309f5
Bump version to 2.3.0
Gargron Mar 9, 2018
c1a4118
docs: Add AUTHORS file (#6685)
espenronnevik Mar 9, 2018
13da490
[Update] ME6をv2.3.0に追従
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
  •  
  •  
  •  
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
28 changes: 13 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +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: false
branches:
only:
- master
- master

notifications:
email: false
Expand All @@ -23,21 +23,20 @@ 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.4.2
Expand All @@ -53,7 +52,6 @@ install:

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

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