]> cat aescling's git repositories - mastodon.git/commitdiff
Merge remote-tracking branch 'origin/master' into gs-master
authorDavid Yip <yipdw@member.fsf.org>
Mon, 27 Nov 2017 17:29:04 +0000 (11:29 -0600)
committerDavid Yip <yipdw@member.fsf.org>
Mon, 27 Nov 2017 17:29:04 +0000 (11:29 -0600)
1  2 
config/locales/en.yml
config/navigation.rb
config/routes.rb
config/settings.yml
db/schema.rb

index 627f2a9185ec76abe0aa31abbf67cd2b68222704,36b6981cbef4478ca8c12bc3b2fdaf52dc51ace1..198bd04110d040157699d8aed60951d9ece7474e
@@@ -424,14 -429,25 +429,33 @@@ en
        muting: Muting list
      upload: Upload
    in_memoriam_html: In Memoriam.
 +  keyword_mutes:
 +    add_keyword: Add keyword
 +    edit: Edit
 +    edit_keyword: Edit keyword
 +    keyword: Keyword
 +    match_whole_word: Match whole word
 +    remove: Remove
 +    remove_all: Remove all
+   invites:
+     delete: Delete
+     expires_in:
+       '1800': 30 minutes
+       '21600': 6 hours
+       '3600': 1 hour
+       '43200': 12 hours
+       '86400': 1 day
+     expires_in_prompt: Never
+     generate: Generate
+     max_uses:
+       one: 1 use
+       other: "%{count} uses"
+     max_uses_prompt: No limit
+     prompt: Generate and share links with others to grant access to this instance
+     table:
+       expires_at: Expires
+       uses: Uses
+     title: Invite people
    landing_strip_html: "<strong>%{name}</strong> is a user on %{link_to_root_path}. You can follow them or interact with them if you have an account anywhere in the fediverse."
    landing_strip_signup_html: If you don't, you can <a href="%{sign_up_path}">sign up here</a>.
    media_attachments:
Simple merge
Simple merge
index 670a992bbb8721b777b8e9fc013d1510d5908f18,f03a32e50c60adfa6b3968566e38f69bfcd5fe25..01478972c0277d4add146c63449bc8be757da6da
@@@ -16,7 -16,8 +16,8 @@@ defaults: &default
    open_registrations: true
    closed_registrations_message: ''
    open_deletion: true
 -  timeline_preview: true
 +  timeline_preview: false
+   min_invite_role: 'admin'
    show_staff_badge: true
    default_sensitive: false
    unfollow_modal: false
diff --cc db/schema.rb
index 5bce18271df7f2565ec0f3b630de33385999efbd,7422bd1277eb46da23620a602689c5aedde46a7f..f4da922d2e6b1635cf3c3af5e56baba9c8cf7bf7
@@@ -523,8 -525,8 +536,9 @@@ ActiveRecord::Schema.define(version: 20
    add_foreign_key "follow_requests", "accounts", name: "fk_76d644b0e7", on_delete: :cascade
    add_foreign_key "follows", "accounts", column: "target_account_id", name: "fk_745ca29eac", on_delete: :cascade
    add_foreign_key "follows", "accounts", name: "fk_32ed1b5560", on_delete: :cascade
 +  add_foreign_key "glitch_keyword_mutes", "accounts", on_delete: :cascade
    add_foreign_key "imports", "accounts", name: "fk_6db1b6e408", on_delete: :cascade
+   add_foreign_key "invites", "users", on_delete: :cascade
    add_foreign_key "list_accounts", "accounts", on_delete: :cascade
    add_foreign_key "list_accounts", "follows", on_delete: :cascade
    add_foreign_key "list_accounts", "lists", on_delete: :cascade