Commit 013881b0 authored by Gordan Cuic's avatar Gordan Cuic
Browse files

Updated version and changelog

parent c50607af
......@@ -2,6 +2,12 @@
Major changes to the Civiq platform codebase will be documented in this file.
## [3.0.0] 2020-08-28
- News Feature: pulling and displaying news from various sources
## [2.9.0] 2020-02-17
- Integration with CiviqPayments
## [1.0-beta1] 2019-10-15
- initial release
......@@ -157,7 +157,3 @@ gem 'concurrent-ruby', require: false
gem 'stripe'
gem 'civiq_payment', path: 'civiq_payment'
gem 'country_select', '~> 4.0'
# Civiq Feed
# gem 'feedjira' # https://github.com/feedjira/feedjira
# gem 'httparty' # https://github.com/jnunemaker/httparty
#gem 'civiq_feed', path: 'civiq_feed'
......@@ -3,6 +3,7 @@
#
# Table name: accounts
#
# id :bigint(8) not null, primary key
# username :string default(""), not null
# domain :string
# secret :string default(""), not null
......@@ -19,11 +20,11 @@
# url :string
# avatar_file_name :string
# avatar_content_type :string
# avatar_file_size :bigint(8)
# avatar_file_size :integer
# avatar_updated_at :datetime
# header_file_name :string
# header_content_type :string
# header_file_size :bigint(8)
# header_file_size :integer
# header_updated_at :datetime
# avatar_remote_url :string
# subscription_expires_at :datetime
......@@ -35,7 +36,6 @@
# shared_inbox_url :string default(""), not null
# followers_url :string default(""), not null
# protocol :integer default("ostatus"), not null
# id :bigint(8) not null, primary key
# memorial :boolean default(FALSE), not null
# moved_to_account_id :bigint(8)
# featured_collection_url :string
......@@ -43,10 +43,10 @@
# actor_type :string
# discoverable :boolean
# also_known_as :string is an Array
# is_pro :boolean default(FALSE), not null
# pro_expires_at :datetime
# silenced_at :datetime
# suspended_at :datetime
# is_pro :boolean default(FALSE), not null
# pro_expires_at :datetime
# is_verified :boolean default(FALSE), not null
# is_donor :boolean default(FALSE), not null
# is_investor :boolean default(FALSE), not null
......
......@@ -7,7 +7,7 @@
# user_id :bigint(8)
# dump_file_name :string
# dump_content_type :string
# dump_file_size :bigint(8)
# dump_file_size :integer
# dump_updated_at :datetime
# processed :boolean default(FALSE), not null
# created_at :datetime not null
......
......@@ -8,7 +8,7 @@
# domain :string
# image_file_name :string
# image_content_type :string
# image_file_size :bigint(8)
# image_file_size :integer
# image_updated_at :datetime
# created_at :datetime not null
# updated_at :datetime not null
......
......@@ -8,7 +8,7 @@
# description :string not null
# cover_image_file_name :string
# cover_image_content_type :string
# cover_image_file_size :bigint(8)
# cover_image_file_size :integer
# cover_image_updated_at :datetime
# is_nsfw :boolean default(FALSE), not null
# is_featured :boolean default(FALSE), not null
......
......@@ -3,16 +3,16 @@
#
# Table name: imports
#
# id :bigint(8) not null, primary key
# type :integer not null
# approved :boolean default(FALSE), not null
# created_at :datetime not null
# updated_at :datetime not null
# data_file_name :string
# data_content_type :string
# data_file_size :bigint(8)
# data_file_size :integer
# data_updated_at :datetime
# account_id :bigint(8) not null
# id :bigint(8) not null, primary key
# overwrite :boolean default(FALSE), not null
#
......
......@@ -3,10 +3,11 @@
#
# Table name: media_attachments
#
# id :bigint(8) not null, primary key
# status_id :bigint(8)
# file_file_name :string
# file_content_type :string
# file_file_size :bigint(8)
# file_file_size :integer
# file_updated_at :datetime
# remote_url :string default(""), not null
# created_at :datetime not null
......@@ -15,7 +16,6 @@
# type :integer default("image"), not null
# file_meta :json
# account_id :bigint(8)
# id :bigint(8) not null, primary key
# description :text
# scheduled_status_id :bigint(8)
# blurhash :string
......
......@@ -9,7 +9,7 @@
# description :string default(""), not null
# image_file_name :string
# image_content_type :string
# image_file_size :bigint(8)
# image_file_size :integer
# image_updated_at :datetime
# type :integer default("link"), not null
# html :text default(""), not null
......
......@@ -7,7 +7,7 @@
# var :string default(""), not null
# file_file_name :string
# file_content_type :string
# file_file_size :bigint(8)
# file_file_size :integer
# file_updated_at :datetime
# meta :json
# created_at :datetime not null
......
......@@ -134,11 +134,11 @@ ActiveRecord::Schema.define(version: 2020_08_18_112250) do
t.string "url"
t.string "avatar_file_name"
t.string "avatar_content_type"
t.bigint "avatar_file_size"
t.integer "avatar_file_size"
t.datetime "avatar_updated_at"
t.string "header_file_name"
t.string "header_content_type"
t.bigint "header_file_size"
t.integer "header_file_size"
t.datetime "header_updated_at"
t.string "avatar_remote_url"
t.datetime "subscription_expires_at"
......@@ -157,10 +157,10 @@ ActiveRecord::Schema.define(version: 2020_08_18_112250) do
t.string "actor_type"
t.boolean "discoverable"
t.string "also_known_as", array: true
t.boolean "is_pro", default: false, null: false
t.datetime "pro_expires_at"
t.datetime "silenced_at"
t.datetime "suspended_at"
t.boolean "is_pro", default: false, null: false
t.datetime "pro_expires_at"
t.boolean "is_verified", default: false, null: false
t.boolean "is_donor", default: false, null: false
t.boolean "is_investor", default: false, null: false
......@@ -215,7 +215,7 @@ ActiveRecord::Schema.define(version: 2020_08_18_112250) do
t.bigint "user_id"
t.string "dump_file_name"
t.string "dump_content_type"
t.bigint "dump_file_size"
t.integer "dump_file_size"
t.datetime "dump_updated_at"
t.boolean "processed", default: false, null: false
t.datetime "created_at", null: false
......@@ -241,6 +241,89 @@ ActiveRecord::Schema.define(version: 2020_08_18_112250) do
t.boolean "success", default: false, null: false
end
create_table "civiq_feed_articles", force: :cascade do |t|
t.string "title", null: false
t.string "article_link", null: false
t.text "description"
t.string "guid", null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "image"
t.datetime "published", null: false
t.integer "feed_source_id", null: false
t.text "content"
end
create_table "civiq_feed_feed_sources", force: :cascade do |t|
t.string "url"
t.integer "status"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
create_table "civiq_payment_fastforwards", force: :cascade do |t|
t.datetime "current_date", null: false
t.integer "user_id", null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
create_table "civiq_payment_payment_methods", force: :cascade do |t|
t.string "name", default: "Stripe checkout", null: false
t.string "payee_name"
t.text "payee_address_desc"
t.integer "user_id", null: false
t.string "payee_street"
t.string "payee_street2"
t.string "payee_country"
t.string "payee_state"
t.string "payee_zip"
t.string "payee_city"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "stripe_customer_uid"
t.datetime "on_date", null: false
end
create_table "civiq_payment_product_plans", force: :cascade do |t|
t.string "name", null: false
t.string "sid"
t.string "system_name", null: false
t.integer "amount"
t.string "use_env", null: false
t.datetime "on_date", null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
create_table "civiq_payment_transactions", force: :cascade do |t|
t.string "ref", null: false
t.text "desc"
t.datetime "date_transaction", null: false
t.decimal "amount", precision: 5, scale: 2
t.integer "user_id", null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.integer "upgrade_id"
t.string "status", null: false
t.string "stripe_session_id", null: false
end
create_table "civiq_payment_upgrades", force: :cascade do |t|
t.integer "user_id", null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.integer "plan"
t.decimal "plan_amount", precision: 5, scale: 2
t.string "stripe_session_id", null: false
t.string "status", null: false
t.datetime "ends_at"
t.datetime "canceled_at"
t.boolean "pending_canceled"
t.datetime "on_date", null: false
t.string "subscription_id"
end
create_table "conversation_mutes", force: :cascade do |t|
t.bigint "conversation_id", null: false
t.bigint "account_id", null: false
......@@ -259,7 +342,7 @@ ActiveRecord::Schema.define(version: 2020_08_18_112250) do
t.string "domain"
t.string "image_file_name"
t.string "image_content_type"
t.bigint "image_file_size"
t.integer "image_file_size"
t.datetime "image_updated_at"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
......@@ -372,7 +455,7 @@ ActiveRecord::Schema.define(version: 2020_08_18_112250) do
t.string "description", null: false
t.string "cover_image_file_name"
t.string "cover_image_content_type"
t.bigint "cover_image_file_size"
t.integer "cover_image_file_size"
t.datetime "cover_image_updated_at"
t.boolean "is_nsfw", default: false, null: false
t.boolean "is_featured", default: false, null: false
......@@ -399,7 +482,7 @@ ActiveRecord::Schema.define(version: 2020_08_18_112250) do
t.datetime "updated_at", null: false
t.string "data_file_name"
t.string "data_content_type"
t.bigint "data_file_size"
t.integer "data_file_size"
t.datetime "data_updated_at"
t.bigint "account_id", null: false
t.boolean "overwrite", default: false, null: false
......@@ -439,7 +522,7 @@ ActiveRecord::Schema.define(version: 2020_08_18_112250) do
t.bigint "status_id"
t.string "file_file_name"
t.string "file_content_type"
t.bigint "file_file_size"
t.integer "file_file_size"
t.datetime "file_updated_at"
t.string "remote_url", default: "", null: false
t.datetime "created_at", null: false
......@@ -501,6 +584,13 @@ ActiveRecord::Schema.define(version: 2020_08_18_112250) do
t.datetime "updated_at", null: false
end
create_table "news_feed_sources", force: :cascade do |t|
t.string "url", null: false
t.integer "status", null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
create_table "news_sources", force: :cascade do |t|
t.string "feed", null: false
t.string "status", null: false
......@@ -614,7 +704,7 @@ ActiveRecord::Schema.define(version: 2020_08_18_112250) do
t.string "description", default: "", null: false
t.string "image_file_name"
t.string "image_content_type"
t.bigint "image_file_size"
t.integer "image_file_size"
t.datetime "image_updated_at"
t.integer "type", default: 0, null: false
t.text "html", default: "", null: false
......@@ -714,7 +804,7 @@ ActiveRecord::Schema.define(version: 2020_08_18_112250) do
t.string "var", default: "", null: false
t.string "file_file_name"
t.string "file_content_type"
t.bigint "file_file_size"
t.integer "file_file_size"
t.datetime "file_updated_at"
t.json "meta"
t.datetime "created_at", null: false
......@@ -725,8 +815,8 @@ ActiveRecord::Schema.define(version: 2020_08_18_112250) do
create_table "status_pins", force: :cascade do |t|
t.bigint "account_id", null: false
t.bigint "status_id", null: false
t.datetime "created_at", default: -> { "CURRENT_TIMESTAMP" }, null: false
t.datetime "updated_at", default: -> { "CURRENT_TIMESTAMP" }, null: false
t.datetime "created_at", default: -> { "now()" }, 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
end
......
......@@ -5,11 +5,11 @@ module CiviqSocial
module_function
def major
2
3
end
def minor
9
0
end
def patch
......
......@@ -2308,8 +2308,7 @@
"@types/node": {
"version": "14.0.27",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.0.27.tgz",
"integrity": "sha512-kVrqXhbclHNHGu9ztnAwSncIgJv/FaxmzXJvGXNdcCpV1b8u1/Mi6z6m0vwy0LzKeXFTPLH0NzwmoJ3fNCIq0g==",
"dev": true
"integrity": "sha512-kVrqXhbclHNHGu9ztnAwSncIgJv/FaxmzXJvGXNdcCpV1b8u1/Mi6z6m0vwy0LzKeXFTPLH0NzwmoJ3fNCIq0g=="
},
"@types/parse-json": {
"version": "4.0.0",
......@@ -9766,7 +9765,6 @@
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/parse5/-/parse5-3.0.3.tgz",
"integrity": "sha512-rgO9Zg5LLLkfJF9E6CCmXlSE4UVceloys8JrFqCcHloC3usd/kJCyPDwH2SOlzix2j3xaP9sUX3e8+kvkuleAA==",
"dev": true,
"requires": {
"@types/node": "*"
}
......@@ -10921,6 +10919,11 @@
"prop-types": "^15.6.2"
}
},
"react-attr-converter": {
"version": "0.3.1",
"resolved": "https://registry.npmjs.org/react-attr-converter/-/react-attr-converter-0.3.1.tgz",
"integrity": "sha512-dSxo2Mn6Zx4HajeCeQNLefwEO4kNtV/0E682R1+ZTyFRPqxDa5zYb5qM/ocqw9Bxr/kFQO0IUiqdV7wdHw+Cdg=="
},
"react-bootstrap": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/react-bootstrap/-/react-bootstrap-1.3.0.tgz",
......@@ -11221,6 +11224,15 @@
"react-lifecycles-compat": "^3.0.2"
}
},
"react-render-html": {
"version": "0.6.0",
"resolved": "https://registry.npmjs.org/react-render-html/-/react-render-html-0.6.0.tgz",
"integrity": "sha512-F9Xn8Iy2oJvepMdDrN+XUPOwqv3ni856ikuvu/dyJ2guozN01vF0C55Ja+CQfnziQNlLevSVXzuQKYa/mhyjAQ==",
"requires": {
"parse5": "^3.0.2",
"react-attr-converter": "^0.3.1"
}
},
"react-router": {
"version": "4.3.1",
"resolved": "https://registry.npmjs.org/react-router/-/react-router-4.3.1.tgz",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment