Merge branch 'master' of https://framagit.org/tykayn/mastodon
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
module MascotHelper
|
module MascotHelper
|
||||||
def mascot_url
|
def mascot_url
|
||||||
full_asset_url(instance_presenter.mascot&.file&.url || asset_pack_path('media/images/elephant_ui_plane.svg'))
|
full_asset_url(instance_presenter.mascot&.file&.url || asset_pack_path('media/images/elephant_ui_plane.jpg'))
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
BIN
app/javascript/images/bliss/a_travers_pic_mastodon_grey.jpg
Normal file
After Width: | Height: | Size: 112 KiB |
BIN
app/javascript/images/bliss/auth_background.jpg
Normal file
After Width: | Height: | Size: 112 KiB |
BIN
app/javascript/images/bliss/home.jpg
Normal file
After Width: | Height: | Size: 187 KiB |
BIN
app/javascript/images/bliss/home2.jpg
Normal file
After Width: | Height: | Size: 147 KiB |
BIN
app/javascript/images/bliss/login.jpg
Normal file
After Width: | Height: | Size: 124 KiB |
BIN
app/javascript/images/bliss/login.xcf
Normal file
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 11 KiB |
BIN
app/javascript/images/bliss/originals/preview.jpg
Normal file
After Width: | Height: | Size: 285 KiB |
BIN
app/javascript/images/bliss/preview_bliss.xcf
Normal file
BIN
app/javascript/images/bliss/register.jpg
Normal file
After Width: | Height: | Size: 134 KiB |
BIN
app/javascript/images/bliss/register.xcf
Normal file
BIN
app/javascript/images/elephant_ui_greeting.jpg
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
app/javascript/images/elephant_ui_greeting.xcf
Normal file
BIN
app/javascript/images/elephant_ui_plane.jpg
Normal file
After Width: | Height: | Size: 9.0 KiB |
BIN
app/javascript/images/elephant_ui_plane.xcf
Normal file
BIN
app/javascript/images/home.jpg
Normal file
After Width: | Height: | Size: 172 KiB |
Before Width: | Height: | Size: 285 KiB After Width: | Height: | Size: 214 KiB |
@ -21,7 +21,7 @@ import { length } from 'stringz';
|
|||||||
import { countableText } from '../util/counter';
|
import { countableText } from '../util/counter';
|
||||||
import Icon from 'mastodon/components/icon';
|
import Icon from 'mastodon/components/icon';
|
||||||
|
|
||||||
// import elephantUIPlane from '../../../images/elephant_ui_plane.svg';
|
// import elephantUIPlane from '../../../images/elephant_ui_plane.jpg';
|
||||||
// import { mascot } from '../../initial_state';
|
// import { mascot } from '../../initial_state';
|
||||||
|
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ import { markAsPartial } from 'mastodon/actions/timelines';
|
|||||||
import Column from 'mastodon/features/ui/components/column';
|
import Column from 'mastodon/features/ui/components/column';
|
||||||
import Account from './components/account';
|
import Account from './components/account';
|
||||||
import Logo from 'mastodon/components/logo';
|
import Logo from 'mastodon/components/logo';
|
||||||
import imageGreeting from 'mastodon/../images/elephant_ui_greeting.svg';
|
import imageGreeting from 'mastodon/../images/elephant_ui_greeting.jpg';
|
||||||
import Button from 'mastodon/components/button';
|
import Button from 'mastodon/components/button';
|
||||||
|
|
||||||
const mapStateToProps = state => ({
|
const mapStateToProps = state => ({
|
||||||
|
@ -7,7 +7,7 @@ import IconButton from 'mastodon/components/icon_button';
|
|||||||
import Icon from 'mastodon/components/icon';
|
import Icon from 'mastodon/components/icon';
|
||||||
import { defineMessages, injectIntl, FormattedMessage, FormattedDate } from 'react-intl';
|
import { defineMessages, injectIntl, FormattedMessage, FormattedDate } from 'react-intl';
|
||||||
import { autoPlayGif, reduceMotion, disableSwiping } from 'mastodon/initial_state';
|
import { autoPlayGif, reduceMotion, disableSwiping } from 'mastodon/initial_state';
|
||||||
import elephantUIPlane from 'mastodon/../images/elephant_ui_plane.svg';
|
import elephantUIPlane from 'mastodon/../images/elephant_ui_plane.jpg';
|
||||||
import { mascot } from 'mastodon/initial_state';
|
import { mascot } from 'mastodon/initial_state';
|
||||||
import unicodeMapping from 'mastodon/features/emoji/emoji_unicode_mapping_light';
|
import unicodeMapping from 'mastodon/features/emoji/emoji_unicode_mapping_light';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
@import 'mastodon/reset';
|
@import 'mastodon/reset';
|
||||||
@import 'mastodon/basics';
|
@import 'mastodon/basics';
|
||||||
|
@import 'mastodon/custom';
|
||||||
@import 'mastodon/containers';
|
@import 'mastodon/containers';
|
||||||
@import 'mastodon/lists';
|
@import 'mastodon/lists';
|
||||||
@import 'mastodon/footer';
|
@import 'mastodon/footer';
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
.columns-area__panels {
|
.columns-area__panels {
|
||||||
|
|
||||||
background: url('../images/elephant_ui_plane.svg') no-repeat left bottom fixed, url('../images/logo_cipherbliss.png') no-repeat right bottom fixed;
|
background: url('../images/elephant_ui_plane.jpg') no-repeat left bottom fixed, url('../images/logo_cipherbliss.png') no-repeat right bottom fixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
.status__content {
|
.status__content {
|
||||||
|
59
app/javascript/styles/mastodon/_custom.scss
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
.custom-img img {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 50vw;
|
||||||
|
display: block;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom_message_heading {
|
||||||
|
font-size: 2em;
|
||||||
|
margin-bottom: 0.5em;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.page-show{
|
||||||
|
min-height: 100vh;
|
||||||
|
position: relative;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
background: url('../images/home.jpg') no-repeat fixed center;
|
||||||
|
background-size: cover;
|
||||||
|
}
|
||||||
|
.auth-page {
|
||||||
|
min-height: 100vh;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
background: url('../images/bliss/auth_background.jpg') no-repeat fixed center;
|
||||||
|
background-size: cover;
|
||||||
|
|
||||||
|
.form-container {
|
||||||
|
background: rgba(0, 0, 0, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo-container {
|
||||||
|
width: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.img-custom {
|
||||||
|
text-align: center;
|
||||||
|
width: 440px;
|
||||||
|
background: rgba(0, 0, 0, 0.5);
|
||||||
|
margin: 0 auto;
|
||||||
|
display: block;
|
||||||
|
|
||||||
|
img {
|
||||||
|
width: 400px;
|
||||||
|
max-width: 90vw;
|
||||||
|
margin: 1em auto;
|
||||||
|
display: inline-block;
|
||||||
|
border: solid 2px #111;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
|
||||||
|
padding: 1em;
|
||||||
|
font-size: 3em;
|
||||||
|
margin-bottom: 0.5em;
|
||||||
|
}
|
||||||
|
}
|
@ -3,6 +3,7 @@
|
|||||||
#
|
#
|
||||||
# Table name: accounts
|
# Table name: accounts
|
||||||
#
|
#
|
||||||
|
# id :bigint(8) not null, primary key
|
||||||
# username :string default(""), not null
|
# username :string default(""), not null
|
||||||
# domain :string
|
# domain :string
|
||||||
# private_key :text
|
# private_key :text
|
||||||
@ -15,11 +16,11 @@
|
|||||||
# url :string
|
# url :string
|
||||||
# avatar_file_name :string
|
# avatar_file_name :string
|
||||||
# avatar_content_type :string
|
# avatar_content_type :string
|
||||||
# avatar_file_size :bigint(8)
|
# avatar_file_size :integer
|
||||||
# avatar_updated_at :datetime
|
# avatar_updated_at :datetime
|
||||||
# header_file_name :string
|
# header_file_name :string
|
||||||
# header_content_type :string
|
# header_content_type :string
|
||||||
# header_file_size :bigint(8)
|
# header_file_size :integer
|
||||||
# header_updated_at :datetime
|
# header_updated_at :datetime
|
||||||
# avatar_remote_url :string
|
# avatar_remote_url :string
|
||||||
# locked :boolean default(FALSE), not null
|
# locked :boolean default(FALSE), not null
|
||||||
@ -30,7 +31,6 @@
|
|||||||
# shared_inbox_url :string default(""), not null
|
# shared_inbox_url :string default(""), not null
|
||||||
# followers_url :string default(""), not null
|
# followers_url :string default(""), not null
|
||||||
# protocol :integer default("ostatus"), not null
|
# protocol :integer default("ostatus"), not null
|
||||||
# id :bigint(8) not null, primary key
|
|
||||||
# memorial :boolean default(FALSE), not null
|
# memorial :boolean default(FALSE), not null
|
||||||
# moved_to_account_id :bigint(8)
|
# moved_to_account_id :bigint(8)
|
||||||
# featured_collection_url :string
|
# featured_collection_url :string
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
#
|
#
|
||||||
# Table name: account_statuses_cleanup_policies
|
# Table name: account_statuses_cleanup_policies
|
||||||
#
|
#
|
||||||
# id :bigint not null, primary key
|
# id :bigint(8) not null, primary key
|
||||||
# account_id :bigint not null
|
# account_id :bigint(8) not null
|
||||||
# enabled :boolean default(TRUE), not null
|
# enabled :boolean default(TRUE), not null
|
||||||
# min_status_age :integer default(1209600), not null
|
# min_status_age :integer default(1209600), not null
|
||||||
# keep_direct :boolean default(TRUE), not null
|
# keep_direct :boolean default(TRUE), not null
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
# domain :string
|
# domain :string
|
||||||
# image_file_name :string
|
# image_file_name :string
|
||||||
# image_content_type :string
|
# image_content_type :string
|
||||||
# image_file_size :bigint(8)
|
# image_file_size :integer
|
||||||
# image_updated_at :datetime
|
# image_updated_at :datetime
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
|
@ -3,16 +3,16 @@
|
|||||||
#
|
#
|
||||||
# Table name: imports
|
# Table name: imports
|
||||||
#
|
#
|
||||||
|
# id :bigint(8) not null, primary key
|
||||||
# type :integer not null
|
# type :integer not null
|
||||||
# approved :boolean default(FALSE), not null
|
# approved :boolean default(FALSE), not null
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
# data_file_name :string
|
# data_file_name :string
|
||||||
# data_content_type :string
|
# data_content_type :string
|
||||||
# data_file_size :bigint(8)
|
# data_file_size :integer
|
||||||
# data_updated_at :datetime
|
# data_updated_at :datetime
|
||||||
# account_id :bigint(8) not null
|
# account_id :bigint(8) not null
|
||||||
# id :bigint(8) not null, primary key
|
|
||||||
# overwrite :boolean default(FALSE), not null
|
# overwrite :boolean default(FALSE), not null
|
||||||
#
|
#
|
||||||
|
|
||||||
|
@ -3,10 +3,11 @@
|
|||||||
#
|
#
|
||||||
# Table name: media_attachments
|
# Table name: media_attachments
|
||||||
#
|
#
|
||||||
|
# id :bigint(8) not null, primary key
|
||||||
# status_id :bigint(8)
|
# status_id :bigint(8)
|
||||||
# file_file_name :string
|
# file_file_name :string
|
||||||
# file_content_type :string
|
# file_content_type :string
|
||||||
# file_file_size :bigint(8)
|
# file_file_size :integer
|
||||||
# file_updated_at :datetime
|
# file_updated_at :datetime
|
||||||
# remote_url :string default(""), not null
|
# remote_url :string default(""), not null
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
@ -15,7 +16,6 @@
|
|||||||
# type :integer default("image"), not null
|
# type :integer default("image"), not null
|
||||||
# file_meta :json
|
# file_meta :json
|
||||||
# account_id :bigint(8)
|
# account_id :bigint(8)
|
||||||
# id :bigint(8) not null, primary key
|
|
||||||
# description :text
|
# description :text
|
||||||
# scheduled_status_id :bigint(8)
|
# scheduled_status_id :bigint(8)
|
||||||
# blurhash :string
|
# blurhash :string
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
# description :string default(""), not null
|
# description :string default(""), not null
|
||||||
# image_file_name :string
|
# image_file_name :string
|
||||||
# image_content_type :string
|
# image_content_type :string
|
||||||
# image_file_size :bigint(8)
|
# image_file_size :integer
|
||||||
# image_updated_at :datetime
|
# image_updated_at :datetime
|
||||||
# type :integer default("link"), not null
|
# type :integer default("link"), not null
|
||||||
# html :text default(""), not null
|
# html :text default(""), not null
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
# var :string default(""), not null
|
# var :string default(""), not null
|
||||||
# file_file_name :string
|
# file_file_name :string
|
||||||
# file_content_type :string
|
# file_content_type :string
|
||||||
# file_file_size :bigint(8)
|
# file_file_size :integer
|
||||||
# file_updated_at :datetime
|
# file_updated_at :datetime
|
||||||
# meta :json
|
# meta :json
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
= simple_form_for(new_user, url: user_session_path, namespace: 'login') do |f|
|
= simple_form_for(new_user, url: user_session_path, namespace: 'login') do |f|
|
||||||
|
.before-stuff
|
||||||
|
%h2.custom_message_heading= t('auth.login')
|
||||||
|
|
||||||
.fields-group
|
.fields-group
|
||||||
- if use_seamless_external_login?
|
- if use_seamless_external_login?
|
||||||
= f.input :email, placeholder: t('simple_form.labels.defaults.username_or_email'), input_html: { 'aria-label' => t('simple_form.labels.defaults.username_or_email') }, hint: false
|
= f.input :email, placeholder: t('simple_form.labels.defaults.username_or_email'), input_html: { 'aria-label' => t('simple_form.labels.defaults.username_or_email') }, hint: false
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
%span= t 'about.status_count_after', count: @instance_presenter.status_count
|
%span= t 'about.status_count_after', count: @instance_presenter.status_count
|
||||||
.row__mascot
|
.row__mascot
|
||||||
.landing-page__mascot
|
.landing-page__mascot
|
||||||
= image_tag @instance_presenter.mascot&.file&.url || asset_pack_path('media/images/elephant_ui_plane.svg'), alt: ''
|
= image_tag @instance_presenter.mascot&.file&.url || asset_pack_path('media/images/elephant_ui_plane.jpg'), alt: ''
|
||||||
|
|
||||||
.column-2
|
.column-2
|
||||||
.contact-widget
|
.contact-widget
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
.page-show
|
||||||
- content_for :page_title do
|
- content_for :page_title do
|
||||||
= site_hostname
|
= site_hostname
|
||||||
|
|
||||||
@ -6,6 +7,8 @@
|
|||||||
= render partial: 'shared/og'
|
= render partial: 'shared/og'
|
||||||
|
|
||||||
.landing
|
.landing
|
||||||
|
|
||||||
|
%span.brand__tagline=t 'about.tagline'
|
||||||
.landing__brand
|
.landing__brand
|
||||||
= link_to root_url, class: 'brand' do
|
= link_to root_url, class: 'brand' do
|
||||||
= svg_logo_full
|
= svg_logo_full
|
||||||
@ -33,7 +36,7 @@
|
|||||||
.directory__tag
|
.directory__tag
|
||||||
= optional_link_to Setting.timeline_preview, public_timeline_path do
|
= optional_link_to Setting.timeline_preview, public_timeline_path do
|
||||||
%h4
|
%h4
|
||||||
= fa_icon 'globe fw'
|
= fa_icon 'globe fw fa-3x'
|
||||||
= t('about.see_whats_happening')
|
= t('about.see_whats_happening')
|
||||||
%small= t('about.browse_public_posts')
|
%small= t('about.browse_public_posts')
|
||||||
|
|
||||||
|
@ -2,15 +2,23 @@
|
|||||||
= javascript_pack_tag 'public', crossorigin: 'anonymous'
|
= javascript_pack_tag 'public', crossorigin: 'anonymous'
|
||||||
|
|
||||||
- content_for :content do
|
- content_for :content do
|
||||||
|
.auth-page.content
|
||||||
.container-alt
|
.container-alt
|
||||||
.logo-container
|
.logo-container
|
||||||
%h1
|
%h1
|
||||||
= link_to root_path do
|
= link_to root_path do
|
||||||
= svg_logo_full
|
= svg_logo_full
|
||||||
|
.img-custom
|
||||||
|
%h2.title.is-2
|
||||||
|
= t('auth.login')
|
||||||
|
|
||||||
|
= image_tag asset_pack_path('media/images/bliss/login.jpg'), alt: @instance_presenter.site_title
|
||||||
|
|
||||||
.form-container
|
.form-container
|
||||||
= render 'flashes'
|
= render 'flashes'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
= yield
|
= yield
|
||||||
|
|
||||||
= render template: 'layouts/application'
|
= render template: 'layouts/application'
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
= link_to t('auth.login'), new_user_session_path, class: 'webapp-btn nav-link nav-button'
|
= link_to t('auth.login'), new_user_session_path, class: 'webapp-btn nav-link nav-button'
|
||||||
= link_to t('auth.register'), available_sign_up_path, class: 'webapp-btn nav-link nav-button'
|
= link_to t('auth.register'), available_sign_up_path, class: 'webapp-btn nav-link nav-button'
|
||||||
|
|
||||||
.container= yield
|
.main-container= yield
|
||||||
|
|
||||||
.container
|
.container
|
||||||
.footer
|
.footer
|
||||||
|
28
db/schema.rb
@ -162,11 +162,11 @@ ActiveRecord::Schema.define(version: 2021_08_08_071221) do
|
|||||||
t.string "url"
|
t.string "url"
|
||||||
t.string "avatar_file_name"
|
t.string "avatar_file_name"
|
||||||
t.string "avatar_content_type"
|
t.string "avatar_content_type"
|
||||||
t.bigint "avatar_file_size"
|
t.integer "avatar_file_size"
|
||||||
t.datetime "avatar_updated_at"
|
t.datetime "avatar_updated_at"
|
||||||
t.string "header_file_name"
|
t.string "header_file_name"
|
||||||
t.string "header_content_type"
|
t.string "header_content_type"
|
||||||
t.bigint "header_file_size"
|
t.integer "header_file_size"
|
||||||
t.datetime "header_updated_at"
|
t.datetime "header_updated_at"
|
||||||
t.string "avatar_remote_url"
|
t.string "avatar_remote_url"
|
||||||
t.boolean "locked", default: false, null: false
|
t.boolean "locked", default: false, null: false
|
||||||
@ -191,8 +191,8 @@ ActiveRecord::Schema.define(version: 2021_08_08_071221) do
|
|||||||
t.integer "avatar_storage_schema_version"
|
t.integer "avatar_storage_schema_version"
|
||||||
t.integer "header_storage_schema_version"
|
t.integer "header_storage_schema_version"
|
||||||
t.string "devices_url"
|
t.string "devices_url"
|
||||||
t.datetime "sensitized_at"
|
|
||||||
t.integer "suspension_origin"
|
t.integer "suspension_origin"
|
||||||
|
t.datetime "sensitized_at"
|
||||||
t.index "(((setweight(to_tsvector('simple'::regconfig, (display_name)::text), 'A'::\"char\") || setweight(to_tsvector('simple'::regconfig, (username)::text), 'B'::\"char\")) || setweight(to_tsvector('simple'::regconfig, (COALESCE(domain, ''::character varying))::text), 'C'::\"char\")))", name: "search_index", using: :gin
|
t.index "(((setweight(to_tsvector('simple'::regconfig, (display_name)::text), 'A'::\"char\") || setweight(to_tsvector('simple'::regconfig, (username)::text), 'B'::\"char\")) || setweight(to_tsvector('simple'::regconfig, (COALESCE(domain, ''::character varying))::text), 'C'::\"char\")))", name: "search_index", using: :gin
|
||||||
t.index "lower((username)::text), COALESCE(lower((domain)::text), ''::text)", name: "index_accounts_on_username_and_domain_lower", unique: true
|
t.index "lower((username)::text), COALESCE(lower((domain)::text), ''::text)", name: "index_accounts_on_username_and_domain_lower", unique: true
|
||||||
t.index ["moved_to_account_id"], name: "index_accounts_on_moved_to_account_id"
|
t.index ["moved_to_account_id"], name: "index_accounts_on_moved_to_account_id"
|
||||||
@ -324,7 +324,7 @@ ActiveRecord::Schema.define(version: 2021_08_08_071221) do
|
|||||||
t.string "domain"
|
t.string "domain"
|
||||||
t.string "image_file_name"
|
t.string "image_file_name"
|
||||||
t.string "image_content_type"
|
t.string "image_content_type"
|
||||||
t.bigint "image_file_size"
|
t.integer "image_file_size"
|
||||||
t.datetime "image_updated_at"
|
t.datetime "image_updated_at"
|
||||||
t.datetime "created_at", null: false
|
t.datetime "created_at", null: false
|
||||||
t.datetime "updated_at", null: false
|
t.datetime "updated_at", null: false
|
||||||
@ -471,7 +471,7 @@ ActiveRecord::Schema.define(version: 2021_08_08_071221) do
|
|||||||
t.datetime "updated_at", null: false
|
t.datetime "updated_at", null: false
|
||||||
t.string "data_file_name"
|
t.string "data_file_name"
|
||||||
t.string "data_content_type"
|
t.string "data_content_type"
|
||||||
t.bigint "data_file_size"
|
t.integer "data_file_size"
|
||||||
t.datetime "data_updated_at"
|
t.datetime "data_updated_at"
|
||||||
t.bigint "account_id", null: false
|
t.bigint "account_id", null: false
|
||||||
t.boolean "overwrite", default: false, null: false
|
t.boolean "overwrite", default: false, null: false
|
||||||
@ -492,12 +492,12 @@ ActiveRecord::Schema.define(version: 2021_08_08_071221) do
|
|||||||
end
|
end
|
||||||
|
|
||||||
create_table "ip_blocks", force: :cascade do |t|
|
create_table "ip_blocks", force: :cascade do |t|
|
||||||
t.inet "ip", default: "0.0.0.0", null: false
|
|
||||||
t.integer "severity", default: 0, null: false
|
|
||||||
t.datetime "expires_at"
|
|
||||||
t.text "comment", default: "", null: false
|
|
||||||
t.datetime "created_at", null: false
|
t.datetime "created_at", null: false
|
||||||
t.datetime "updated_at", null: false
|
t.datetime "updated_at", null: false
|
||||||
|
t.datetime "expires_at"
|
||||||
|
t.inet "ip", default: "0.0.0.0", null: false
|
||||||
|
t.integer "severity", default: 0, null: false
|
||||||
|
t.text "comment", default: "", null: false
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "list_accounts", force: :cascade do |t|
|
create_table "list_accounts", force: :cascade do |t|
|
||||||
@ -544,7 +544,7 @@ ActiveRecord::Schema.define(version: 2021_08_08_071221) do
|
|||||||
t.bigint "status_id"
|
t.bigint "status_id"
|
||||||
t.string "file_file_name"
|
t.string "file_file_name"
|
||||||
t.string "file_content_type"
|
t.string "file_content_type"
|
||||||
t.bigint "file_file_size"
|
t.integer "file_file_size"
|
||||||
t.datetime "file_updated_at"
|
t.datetime "file_updated_at"
|
||||||
t.string "remote_url", default: "", null: false
|
t.string "remote_url", default: "", null: false
|
||||||
t.datetime "created_at", null: false
|
t.datetime "created_at", null: false
|
||||||
@ -702,7 +702,7 @@ ActiveRecord::Schema.define(version: 2021_08_08_071221) do
|
|||||||
t.string "description", default: "", null: false
|
t.string "description", default: "", null: false
|
||||||
t.string "image_file_name"
|
t.string "image_file_name"
|
||||||
t.string "image_content_type"
|
t.string "image_content_type"
|
||||||
t.bigint "image_file_size"
|
t.integer "image_file_size"
|
||||||
t.datetime "image_updated_at"
|
t.datetime "image_updated_at"
|
||||||
t.integer "type", default: 0, null: false
|
t.integer "type", default: 0, null: false
|
||||||
t.text "html", default: "", null: false
|
t.text "html", default: "", null: false
|
||||||
@ -804,7 +804,7 @@ ActiveRecord::Schema.define(version: 2021_08_08_071221) do
|
|||||||
t.string "var", default: "", null: false
|
t.string "var", default: "", null: false
|
||||||
t.string "file_file_name"
|
t.string "file_file_name"
|
||||||
t.string "file_content_type"
|
t.string "file_content_type"
|
||||||
t.bigint "file_file_size"
|
t.integer "file_file_size"
|
||||||
t.datetime "file_updated_at"
|
t.datetime "file_updated_at"
|
||||||
t.json "meta"
|
t.json "meta"
|
||||||
t.datetime "created_at", null: false
|
t.datetime "created_at", null: false
|
||||||
@ -815,8 +815,8 @@ ActiveRecord::Schema.define(version: 2021_08_08_071221) do
|
|||||||
create_table "status_pins", force: :cascade do |t|
|
create_table "status_pins", force: :cascade do |t|
|
||||||
t.bigint "account_id", null: false
|
t.bigint "account_id", null: false
|
||||||
t.bigint "status_id", null: false
|
t.bigint "status_id", null: false
|
||||||
t.datetime "created_at", default: -> { "CURRENT_TIMESTAMP" }, null: false
|
t.datetime "created_at", default: -> { "now()" }, null: false
|
||||||
t.datetime "updated_at", default: -> { "CURRENT_TIMESTAMP" }, null: false
|
t.datetime "updated_at", default: -> { "now()" }, null: false
|
||||||
t.index ["account_id", "status_id"], name: "index_status_pins_on_account_id_and_status_id", unique: true
|
t.index ["account_id", "status_id"], name: "index_status_pins_on_account_id_and_status_id", unique: true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
BIN
public/avatars/original/icon_redface.gif
Executable file
After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 22 KiB |
BIN
public/avatars/original/missing_o.png
Normal file
After Width: | Height: | Size: 3.2 KiB |