From f3df4099045d9b0d135a58f07544bc6f6f352e19 Mon Sep 17 00:00:00 2001 From: eraden Date: Sat, 10 Feb 2024 11:03:44 +0100 Subject: [PATCH] Add api tokens --- crates/jet-api/src/extractors/user.rs | 26 + .../src/http/api/authentication/api_tokens.rs | 57 ++ plane_feed.sql | 702 ++++++++++++++++++ 3 files changed, 785 insertions(+) create mode 100644 crates/jet-api/src/extractors/user.rs create mode 100644 crates/jet-api/src/http/api/authentication/api_tokens.rs create mode 100644 plane_feed.sql diff --git a/crates/jet-api/src/extractors/user.rs b/crates/jet-api/src/extractors/user.rs new file mode 100644 index 0000000..4300d2a --- /dev/null +++ b/crates/jet-api/src/extractors/user.rs @@ -0,0 +1,26 @@ +use actix_web::web::Data; +use actix_web::FromRequest; +use derive_more::Deref; +use entities::prelude::Users; +use entities::users::*; +use futures_util::future::LocalBoxFuture; + +use crate::utils::uidb::Unauthorized; +use crate::DatabaseConnection; + +#[derive(Debug, Deref)] +pub struct RequireUser(pub Model); + +impl FromRequest for RequireUser { + type Error = Unauthorized; + type Future = LocalBoxFuture<'static, Result>; + + fn from_request( + req: &actix_web::HttpRequest, + payload: &mut actix_web::dev::Payload, + ) -> Self::Future { + let db = req.app_data::>().cloned(); + + todo!() + } +} diff --git a/crates/jet-api/src/http/api/authentication/api_tokens.rs b/crates/jet-api/src/http/api/authentication/api_tokens.rs new file mode 100644 index 0000000..f119b74 --- /dev/null +++ b/crates/jet-api/src/http/api/authentication/api_tokens.rs @@ -0,0 +1,57 @@ +use actix_jwt_session::Authenticated; +use actix_web::web::{Data, Path, ServiceConfig}; +use actix_web::{get, HttpResponse}; +use entities::api_tokens::*; +use entities::prelude::ApiTokens; +use jet_contract::{ApiTokenId, WorkspaceSlug}; +use sea_orm::prelude::*; +use sea_orm::*; +use tracing::error; + +use crate::extractors::RequireInstanceConfigured; +use crate::models::{Error, JsonError}; +use crate::session::AppClaims; +use crate::DatabaseConnection; + +pub fn configure(_: reqwest::Client, config: &mut ServiceConfig) { + config.service(single_api_token); +} + +#[get("{workspace_slug}/api-tokens/{id}")] +async fn single_api_token( + _: RequireInstanceConfigured, + session: Authenticated, + path: Path<(WorkspaceSlug, ApiTokenId)>, + db: Data, +) -> Result { + let (slug, id) = path.into_inner(); + let user = entities::prelude::Users::find_by_id(session.account_id()) + .one(&**db) + .await + .map_err(|e| { + error!("Failed to load user: {e}"); + Error::DatabaseError + })? + .ok_or(Error::UserRequired)?; + + let slug = slug.as_str().to_string(); + match ApiTokens::find() + .join( + JoinType::Join, + Relation::Workspaces1.def().on_condition(move |_left, right| { + use sea_query::*; + + Expr::col((right, entities::workspaces::Column::Slug)) + .eq(slug.clone()) + .into_condition() + }), + ) + .filter(Column::UserId.eq(user.id).and(Column::Id.eq(*id))) + .one(&**db) + .await + { + Ok(Some(token)) => Ok(HttpResponse::Ok().json(&token)), + Ok(None) => todo!(), + Err(e) => todo!(), + } +} diff --git a/plane_feed.sql b/plane_feed.sql new file mode 100644 index 0000000..d9947ba --- /dev/null +++ b/plane_feed.sql @@ -0,0 +1,702 @@ +COPY auth_permission (id, name, content_type_id, codename) FROM stdin; +1 Can add permission 1 add_permission +2 Can change permission 1 change_permission +3 Can delete permission 1 delete_permission +4 Can view permission 1 view_permission +5 Can add group 2 add_group +6 Can change group 2 change_group +7 Can delete group 2 delete_group +8 Can view group 2 view_group +9 Can add content type 3 add_contenttype +10 Can change content type 3 change_contenttype +11 Can delete content type 3 delete_contenttype +12 Can view content type 3 view_contenttype +13 Can add session 4 add_session +14 Can change session 4 change_session +15 Can delete session 4 delete_session +16 Can view session 4 view_session +17 Can add User 5 add_user +18 Can change User 5 change_user +19 Can delete User 5 delete_user +20 Can view User 5 view_user +21 Can add Cycle 6 add_cycle +22 Can change Cycle 6 change_cycle +23 Can delete Cycle 6 delete_cycle +24 Can view Cycle 6 view_cycle +25 Can add Issue 7 add_issue +26 Can change Issue 7 change_issue +27 Can delete Issue 7 delete_issue +28 Can view Issue 7 view_issue +29 Can add Project 8 add_project +30 Can change Project 8 change_project +31 Can delete Project 8 delete_project +32 Can view Project 8 view_project +33 Can add Team 9 add_team +34 Can change Team 9 change_team +35 Can delete Team 9 delete_team +36 Can view Team 9 view_team +37 Can add Workspace 10 add_workspace +38 Can change Workspace 10 change_workspace +39 Can delete Workspace 10 delete_workspace +40 Can view Workspace 10 view_workspace +41 Can add Workspace Member Invite 11 add_workspacememberinvite +42 Can change Workspace Member Invite 11 change_workspacememberinvite +43 Can delete Workspace Member Invite 11 delete_workspacememberinvite +44 Can view Workspace Member Invite 11 view_workspacememberinvite +45 Can add Team Member 12 add_teammember +46 Can change Team Member 12 change_teammember +47 Can delete Team Member 12 delete_teammember +48 Can view Team Member 12 view_teammember +49 Can add State 13 add_state +50 Can change State 13 change_state +51 Can delete State 13 delete_state +52 Can view State 13 view_state +53 Can add Social Login Connection 14 add_socialloginconnection +54 Can change Social Login Connection 14 change_socialloginconnection +55 Can delete Social Login Connection 14 delete_socialloginconnection +56 Can view Social Login Connection 14 view_socialloginconnection +57 Can add Project Member Invite 15 add_projectmemberinvite +58 Can change Project Member Invite 15 change_projectmemberinvite +59 Can delete Project Member Invite 15 delete_projectmemberinvite +60 Can view Project Member Invite 15 view_projectmemberinvite +61 Can add Project Identifier 16 add_projectidentifier +62 Can change Project Identifier 16 change_projectidentifier +63 Can delete Project Identifier 16 delete_projectidentifier +64 Can view Project Identifier 16 view_projectidentifier +65 Can add Label 17 add_label +66 Can change Label 17 change_label +67 Can delete Label 17 delete_label +68 Can view Label 17 view_label +69 Can add Issue Sequence 18 add_issuesequence +70 Can change Issue Sequence 18 change_issuesequence +71 Can delete Issue Sequence 18 delete_issuesequence +72 Can view Issue Sequence 18 view_issuesequence +73 Can add Issue Property 19 add_issueproperty +74 Can change Issue Property 19 change_issueproperty +75 Can delete Issue Property 19 delete_issueproperty +76 Can view Issue Property 19 view_issueproperty +77 Can add Issue Label 20 add_issuelabel +78 Can change Issue Label 20 change_issuelabel +79 Can delete Issue Label 20 delete_issuelabel +80 Can view Issue Label 20 view_issuelabel +81 Can add Issue Comment 21 add_issuecomment +82 Can change Issue Comment 21 change_issuecomment +83 Can delete Issue Comment 21 delete_issuecomment +84 Can view Issue Comment 21 view_issuecomment +85 Can add Issue Blocker 22 add_issueblocker +86 Can change Issue Blocker 22 change_issueblocker +87 Can delete Issue Blocker 22 delete_issueblocker +88 Can view Issue Blocker 22 view_issueblocker +89 Can add Issue Assignee 23 add_issueassignee +90 Can change Issue Assignee 23 change_issueassignee +91 Can delete Issue Assignee 23 delete_issueassignee +92 Can view Issue Assignee 23 view_issueassignee +93 Can add Issue Activity 24 add_issueactivity +94 Can change Issue Activity 24 change_issueactivity +95 Can delete Issue Activity 24 delete_issueactivity +96 Can view Issue Activity 24 view_issueactivity +97 Can add File Asset 25 add_fileasset +98 Can change File Asset 25 change_fileasset +99 Can delete File Asset 25 delete_fileasset +100 Can view File Asset 25 view_fileasset +101 Can add Cycle Issue 26 add_cycleissue +102 Can change Cycle Issue 26 change_cycleissue +103 Can delete Cycle Issue 26 delete_cycleissue +104 Can view Cycle Issue 26 view_cycleissue +105 Can add Workspace Member 27 add_workspacemember +106 Can change Workspace Member 27 change_workspacemember +107 Can delete Workspace Member 27 delete_workspacemember +108 Can view Workspace Member 27 view_workspacemember +109 Can add Project Member 28 add_projectmember +110 Can change Project Member 28 change_projectmember +111 Can delete Project Member 28 delete_projectmember +112 Can view Project Member 28 view_projectmember +113 Can add Module 29 add_module +114 Can change Module 29 change_module +115 Can delete Module 29 delete_module +116 Can view Module 29 view_module +117 Can add Module Member 30 add_modulemember +118 Can change Module Member 30 change_modulemember +119 Can delete Module Member 30 delete_modulemember +120 Can view Module Member 30 view_modulemember +121 Can add Module Issue 31 add_moduleissue +122 Can change Module Issue 31 change_moduleissue +123 Can delete Module Issue 31 delete_moduleissue +124 Can view Module Issue 31 view_moduleissue +125 Can add Module Link 32 add_modulelink +126 Can change Module Link 32 change_modulelink +127 Can delete Module Link 32 delete_modulelink +128 Can view Module Link 32 view_modulelink +129 Can add API Token 33 add_apitoken +130 Can change API Token 33 change_apitoken +131 Can delete API Token 33 delete_apitoken +132 Can view API Token 33 view_apitoken +133 Can add Repository 34 add_githubrepository +134 Can change Repository 34 change_githubrepository +135 Can delete Repository 34 delete_githubrepository +136 Can view Repository 34 view_githubrepository +137 Can add Integration 35 add_integration +138 Can change Integration 35 change_integration +139 Can delete Integration 35 delete_integration +140 Can view Integration 35 view_integration +141 Can add Workspace Integration 36 add_workspaceintegration +142 Can change Workspace Integration 36 change_workspaceintegration +143 Can delete Workspace Integration 36 delete_workspaceintegration +144 Can view Workspace Integration 36 view_workspaceintegration +145 Can add Issue Link 37 add_issuelink +146 Can change Issue Link 37 change_issuelink +147 Can delete Issue Link 37 delete_issuelink +148 Can view Issue Link 37 view_issuelink +149 Can add Github Repository Sync 38 add_githubrepositorysync +150 Can change Github Repository Sync 38 change_githubrepositorysync +151 Can delete Github Repository Sync 38 delete_githubrepositorysync +152 Can view Github Repository Sync 38 view_githubrepositorysync +153 Can add Github Issue Sync 39 add_githubissuesync +154 Can change Github Issue Sync 39 change_githubissuesync +155 Can delete Github Issue Sync 39 delete_githubissuesync +156 Can view Github Issue Sync 39 view_githubissuesync +157 Can add Github Comment Sync 40 add_githubcommentsync +158 Can change Github Comment Sync 40 change_githubcommentsync +159 Can delete Github Comment Sync 40 delete_githubcommentsync +160 Can view Github Comment Sync 40 view_githubcommentsync +161 Can add Project Favorite 41 add_projectfavorite +162 Can change Project Favorite 41 change_projectfavorite +163 Can delete Project Favorite 41 delete_projectfavorite +164 Can view Project Favorite 41 view_projectfavorite +165 Can add Module Favorite 42 add_modulefavorite +166 Can change Module Favorite 42 change_modulefavorite +167 Can delete Module Favorite 42 delete_modulefavorite +168 Can view Module Favorite 42 view_modulefavorite +169 Can add Cycle Favorite 43 add_cyclefavorite +170 Can change Cycle Favorite 43 change_cyclefavorite +171 Can delete Cycle Favorite 43 delete_cyclefavorite +172 Can view Cycle Favorite 43 view_cyclefavorite +173 Can add Importer 44 add_importer +174 Can change Importer 44 change_importer +175 Can delete Importer 44 delete_importer +176 Can view Importer 44 view_importer +177 Can add Issue View 45 add_issueview +178 Can change Issue View 45 change_issueview +179 Can delete Issue View 45 delete_issueview +180 Can view Issue View 45 view_issueview +181 Can add View Favorite 46 add_issueviewfavorite +182 Can change View Favorite 46 change_issueviewfavorite +183 Can delete View Favorite 46 delete_issueviewfavorite +184 Can view View Favorite 46 view_issueviewfavorite +185 Can add Page 47 add_page +186 Can change Page 47 change_page +187 Can delete Page 47 delete_page +188 Can view Page 47 view_page +189 Can add Page Block 48 add_pageblock +190 Can change Page Block 48 change_pageblock +191 Can delete Page Block 48 delete_pageblock +192 Can view Page Block 48 view_pageblock +193 Can add Page Favorite 49 add_pagefavorite +194 Can change Page Favorite 49 change_pagefavorite +195 Can delete Page Favorite 49 delete_pagefavorite +196 Can view Page Favorite 49 view_pagefavorite +197 Can add Page Label 50 add_pagelabel +198 Can change Page Label 50 change_pagelabel +199 Can delete Page Label 50 delete_pagelabel +200 Can view Page Label 50 view_pagelabel +201 Can add Estimate 51 add_estimate +202 Can change Estimate 51 change_estimate +203 Can delete Estimate 51 delete_estimate +204 Can view Estimate 51 view_estimate +205 Can add Issue Attachment 52 add_issueattachment +206 Can change Issue Attachment 52 change_issueattachment +207 Can delete Issue Attachment 52 delete_issueattachment +208 Can view Issue Attachment 52 view_issueattachment +209 Can add Estimate Point 53 add_estimatepoint +210 Can change Estimate Point 53 change_estimatepoint +211 Can delete Estimate Point 53 delete_estimatepoint +212 Can view Estimate Point 53 view_estimatepoint +213 Can add Workspace Theme 54 add_workspacetheme +214 Can change Workspace Theme 54 change_workspacetheme +215 Can delete Workspace Theme 54 delete_workspacetheme +216 Can view Workspace Theme 54 view_workspacetheme +217 Can add Slack Project Sync 55 add_slackprojectsync +218 Can change Slack Project Sync 55 change_slackprojectsync +219 Can delete Slack Project Sync 55 delete_slackprojectsync +220 Can view Slack Project Sync 55 view_slackprojectsync +221 Can add Analytic 56 add_analyticview +222 Can change Analytic 56 change_analyticview +223 Can delete Analytic 56 delete_analyticview +224 Can view Analytic 56 view_analyticview +225 Can add Inbox 57 add_inbox +226 Can change Inbox 57 change_inbox +227 Can delete Inbox 57 delete_inbox +228 Can view Inbox 57 view_inbox +229 Can add InboxIssue 58 add_inboxissue +230 Can change InboxIssue 58 change_inboxissue +231 Can delete InboxIssue 58 delete_inboxissue +232 Can view InboxIssue 58 view_inboxissue +233 Can add Notification 59 add_notification +234 Can change Notification 59 change_notification +235 Can delete Notification 59 delete_notification +236 Can view Notification 59 view_notification +237 Can add Issue Subscriber 60 add_issuesubscriber +238 Can change Issue Subscriber 60 change_issuesubscriber +239 Can delete Issue Subscriber 60 delete_issuesubscriber +240 Can view Issue Subscriber 60 view_issuesubscriber +241 Can add Issue Reaction 61 add_issuereaction +242 Can change Issue Reaction 61 change_issuereaction +243 Can delete Issue Reaction 61 delete_issuereaction +244 Can view Issue Reaction 61 view_issuereaction +245 Can add Comment Reaction 62 add_commentreaction +246 Can change Comment Reaction 62 change_commentreaction +247 Can delete Comment Reaction 62 delete_commentreaction +248 Can view Comment Reaction 62 view_commentreaction +249 Can add Exporter 63 add_exporterhistory +250 Can change Exporter 63 change_exporterhistory +251 Can delete Exporter 63 delete_exporterhistory +252 Can view Exporter 63 view_exporterhistory +253 Can add Project Deploy Board 64 add_projectdeployboard +254 Can change Project Deploy Board 64 change_projectdeployboard +255 Can delete Project Deploy Board 64 delete_projectdeployboard +256 Can view Project Deploy Board 64 view_projectdeployboard +257 Can add Issue Vote 65 add_issuevote +258 Can change Issue Vote 65 change_issuevote +259 Can delete Issue Vote 65 delete_issuevote +260 Can view Issue Vote 65 view_issuevote +261 Can add Project Public Member 66 add_projectpublicmember +262 Can change Project Public Member 66 change_projectpublicmember +263 Can delete Project Public Member 66 delete_projectpublicmember +264 Can view Project Public Member 66 view_projectpublicmember +265 Can add Issue Relation 67 add_issuerelation +266 Can change Issue Relation 67 change_issuerelation +267 Can delete Issue Relation 67 delete_issuerelation +268 Can view Issue Relation 67 view_issuerelation +269 Can add Global View 68 add_globalview +270 Can change Global View 68 change_globalview +271 Can delete Global View 68 delete_globalview +272 Can view Global View 68 view_globalview +273 Can add Issue Mention 69 add_issuemention +274 Can change Issue Mention 69 change_issuemention +275 Can delete Issue Mention 69 delete_issuemention +276 Can view Issue Mention 69 view_issuemention +277 Can add Webhook 70 add_webhook +278 Can change Webhook 70 change_webhook +279 Can delete Webhook 70 delete_webhook +280 Can view Webhook 70 view_webhook +281 Can add Webhook Log 71 add_webhooklog +282 Can change Webhook Log 71 change_webhooklog +283 Can delete Webhook Log 71 delete_webhooklog +284 Can view Webhook Log 71 view_webhooklog +285 Can add API Activity Log 72 add_apiactivitylog +286 Can change API Activity Log 72 change_apiactivitylog +287 Can delete API Activity Log 72 delete_apiactivitylog +288 Can view API Activity Log 72 view_apiactivitylog +289 Can add Page Log 73 add_pagelog +290 Can change Page Log 73 change_pagelog +291 Can delete Page Log 73 delete_pagelog +292 Can view Page Log 73 view_pagelog +293 Can add Instance 74 add_instance +294 Can change Instance 74 change_instance +295 Can delete Instance 74 delete_instance +296 Can view Instance 74 view_instance +297 Can add Instance Configuration 75 add_instanceconfiguration +298 Can change Instance Configuration 75 change_instanceconfiguration +299 Can delete Instance Configuration 75 delete_instanceconfiguration +300 Can view Instance Configuration 75 view_instanceconfiguration +301 Can add Instance Admin 76 add_instanceadmin +302 Can change Instance Admin 76 change_instanceadmin +303 Can delete Instance Admin 76 delete_instanceadmin +304 Can view Instance Admin 76 view_instanceadmin +305 Can add Token 77 add_token +306 Can change Token 77 change_token +307 Can delete Token 77 delete_token +308 Can view Token 77 view_token +309 Can add token 78 add_tokenproxy +310 Can change token 78 change_tokenproxy +311 Can delete token 78 delete_tokenproxy +312 Can view token 78 view_tokenproxy +313 Can add blacklisted token 79 add_blacklistedtoken +314 Can change blacklisted token 79 change_blacklistedtoken +315 Can delete blacklisted token 79 delete_blacklistedtoken +316 Can view blacklisted token 79 view_blacklistedtoken +317 Can add outstanding token 80 add_outstandingtoken +318 Can change outstanding token 80 change_outstandingtoken +319 Can delete outstanding token 80 delete_outstandingtoken +320 Can view outstanding token 80 view_outstandingtoken +321 Can add crontab 81 add_crontabschedule +322 Can change crontab 81 change_crontabschedule +323 Can delete crontab 81 delete_crontabschedule +324 Can view crontab 81 view_crontabschedule +325 Can add interval 82 add_intervalschedule +326 Can change interval 82 change_intervalschedule +327 Can delete interval 82 delete_intervalschedule +328 Can view interval 82 view_intervalschedule +329 Can add periodic task 83 add_periodictask +330 Can change periodic task 83 change_periodictask +331 Can delete periodic task 83 delete_periodictask +332 Can view periodic task 83 view_periodictask +333 Can add periodic tasks 84 add_periodictasks +334 Can change periodic tasks 84 change_periodictasks +335 Can delete periodic tasks 84 delete_periodictasks +336 Can view periodic tasks 84 view_periodictasks +337 Can add solar event 85 add_solarschedule +338 Can change solar event 85 change_solarschedule +339 Can delete solar event 85 delete_solarschedule +340 Can view solar event 85 view_solarschedule +341 Can add clocked 86 add_clockedschedule +342 Can change clocked 86 change_clockedschedule +343 Can delete clocked 86 delete_clockedschedule +344 Can view clocked 86 view_clockedschedule +\. + +-- +-- Data for Name: django_celery_beat_crontabschedule; Type: TABLE DATA; Schema: public; Owner: plane +-- + +COPY django_celery_beat_crontabschedule (id, minute, hour, day_of_week, day_of_month, month_of_year, timezone) FROM stdin; +1 0 4 * * * UTC +2 0 0 * * * UTC +\. + +-- +-- Data for Name: django_celery_beat_periodictask; Type: TABLE DATA; Schema: public; Owner: plane +-- + +COPY django_celery_beat_periodictask (id, name, task, args, kwargs, queue, exchange, routing_key, expires, enabled, last_run_at, total_run_count, date_changed, description, crontab_id, interval_id, solar_id, one_off, start_time, priority, headers, clocked_id, expire_seconds) FROM stdin; +1 celery.backend_cleanup celery.backend_cleanup [] {} \N \N \N \N t 2024-01-17 04:00:00.008654+00 4 2024-01-17 05:16:00.046764+00 1 \N \N f \N \N {} \N 43200 +2 check-every-day-to-archive-and-close plane.bgtasks.issue_automation_task.archive_and_close_old_issues [] {} \N \N \N \N t 2024-01-17 00:00:00.008534+00 4 2024-01-17 05:16:00.086051+00 2 \N \N f \N \N {} \N \N +3 check-every-day-to-delete_exporter_history plane.bgtasks.exporter_expired_task.delete_old_s3_link [] {} \N \N \N \N t 2024-01-17 00:00:00.051839+00 4 2024-01-17 05:16:00.102192+00 2 \N \N f \N \N {} \N \N +4 check-every-day-to-delete-file-asset plane.bgtasks.file_asset_task.delete_file_asset [] {} \N \N \N \N t 2024-01-17 00:00:00.031259+00 4 2024-01-17 05:16:00.116154+00 2 \N \N f \N \N {} \N \N +\. + +-- +-- Data for Name: django_celery_beat_periodictasks; Type: TABLE DATA; Schema: public; Owner: plane +-- + +COPY django_celery_beat_periodictasks (ident, last_update) FROM stdin; +1 2024-01-17 05:16:00.11705+00 +\. + +-- +-- Data for Name: django_celery_beat_solarschedule; Type: TABLE DATA; Schema: public; Owner: plane +-- + +COPY django_celery_beat_solarschedule (id, event, latitude, longitude) FROM stdin; +\. + +-- +-- Data for Name: django_content_type; Type: TABLE DATA; Schema: public; Owner: plane +-- + +COPY django_content_type (id, app_label, model) FROM stdin; +1 auth permission +2 auth group +3 contenttypes contenttype +4 sessions session +5 db user +6 db cycle +7 db issue +8 db project +9 db team +10 db workspace +11 db workspacememberinvite +12 db teammember +13 db state +14 db socialloginconnection +15 db projectmemberinvite +16 db projectidentifier +17 db label +18 db issuesequence +19 db issueproperty +20 db issuelabel +21 db issuecomment +22 db issueblocker +23 db issueassignee +24 db issueactivity +25 db fileasset +26 db cycleissue +27 db workspacemember +28 db projectmember +29 db module +30 db modulemember +31 db moduleissue +32 db modulelink +33 db apitoken +34 db githubrepository +35 db integration +36 db workspaceintegration +37 db issuelink +38 db githubrepositorysync +39 db githubissuesync +40 db githubcommentsync +41 db projectfavorite +42 db modulefavorite +43 db cyclefavorite +44 db importer +45 db issueview +46 db issueviewfavorite +47 db page +48 db pageblock +49 db pagefavorite +50 db pagelabel +51 db estimate +52 db issueattachment +53 db estimatepoint +54 db workspacetheme +55 db slackprojectsync +56 db analyticview +57 db inbox +58 db inboxissue +59 db notification +60 db issuesubscriber +61 db issuereaction +62 db commentreaction +63 db exporterhistory +64 db projectdeployboard +65 db issuevote +66 db projectpublicmember +67 db issuerelation +68 db globalview +69 db issuemention +70 db webhook +71 db webhooklog +72 db apiactivitylog +73 db pagelog +74 license instance +75 license instanceconfiguration +76 license instanceadmin +77 authtoken token +78 authtoken tokenproxy +79 token_blacklist blacklistedtoken +80 token_blacklist outstandingtoken +81 django_celery_beat crontabschedule +82 django_celery_beat intervalschedule +83 django_celery_beat periodictask +84 django_celery_beat periodictasks +85 django_celery_beat solarschedule +86 django_celery_beat clockedschedule +\. + +COPY instance_admins (created_at, updated_at, id, role, is_verified, created_by_id, instance_id, updated_by_id, user_id) FROM stdin; +2024-01-13 20:54:28.511671+00 2024-01-13 20:54:28.511684+00 fc519655-c149-463e-b99e-8570bd14001d 20 f \N aab60202-832f-4727-ab38-2b940194142d \N e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 +\. + +-- +-- Data for Name: instance_configurations; Type: TABLE DATA; Schema: public; Owner: plane +-- + +COPY instance_configurations (created_at, updated_at, id, key, value, category, is_encrypted, created_by_id, updated_by_id) FROM stdin; +2024-01-13 20:50:53.42641+00 2024-01-13 20:50:53.42934+00 3391693e-27b5-4238-8729-dbed6403a667 ENABLE_SIGNUP 1 AUTHENTICATION f \N \N +2024-01-13 20:50:53.432381+00 2024-01-13 20:50:53.433718+00 83ef15a2-eda0-400f-9e27-bafb2ce90c24 ENABLE_EMAIL_PASSWORD 1 AUTHENTICATION f \N \N +2024-01-13 20:50:53.436345+00 2024-01-13 20:50:53.437887+00 786e9f58-a344-48c2-a7a6-3f196fa62635 ENABLE_MAGIC_LINK_LOGIN 0 AUTHENTICATION f \N \N +2024-01-13 20:50:53.440556+00 2024-01-13 20:50:53.44193+00 b8481f45-3865-41ef-b5dc-3e557e806d06 GOOGLE_CLIENT_ID "" GOOGLE f \N \N +2024-01-13 20:50:53.686222+00 2024-01-13 20:50:53.790164+00 f2679f2c-0b64-4697-8f50-dd3128de9894 OPENAI_API_KEY gAAAAABlovetyche15iAT2UFFkEwId9T6apW9MYcwdJDTA6g3vezUIOZRvX5rbQVmkyDmrB6cjxNgCka4H2gnBQ4H2TeN4oljw== OPENAI t \N \N +2024-01-13 20:50:53.792748+00 2024-01-13 20:50:53.79431+00 fc29f571-fe5f-4e14-acbc-9cb14eca4e79 GPT_ENGINE gpt-3.5-turbo SMTP f \N \N +2024-01-13 20:50:53.796749+00 2024-01-13 20:50:53.798279+00 6f0be51d-69e0-4f31-b4bf-7868287cf8fa UNSPLASH_ACCESS_KEY UNSPLASH t \N \N +2024-01-13 20:50:53.444497+00 2024-01-13 20:50:53.44615+00 0af107bc-bd59-4ce8-ba37-6ef294ce91d7 GITHUB_CLIENT_ID a3f301e0ea89bdfcf2c8 GITHUB f \N \N +2024-01-13 20:50:53.448671+00 2024-01-13 20:50:53.557321+00 f7e19314-1e0a-4d67-86ea-7eb2d8a3fd1e GITHUB_CLIENT_SECRET gAAAAABlovig0ptoeF0uE3KcjYCGSp0OQ4WyAh81JBSXr3E4_a9ieEVU9cpAK4Gd1OFGVlH-wChiThfoa8tFVL-MYd2PzXHbpWsuko22ncHObbYypXWKjboWwbskBQjepMGxhmJAue2Z GITHUB t \N \N +2024-01-13 20:50:53.560061+00 2024-01-13 20:50:53.561602+00 45dafc2a-c3d6-48b7-bafd-bbc6196ee7e0 EMAIL_HOST "" SMTP f \N \N +2024-01-13 20:50:53.564145+00 2024-01-13 20:50:53.565559+00 a2671acb-ab28-40b1-aa04-4bd7e1cefe03 EMAIL_HOST_USER "" SMTP f \N \N +2024-01-13 20:50:53.567846+00 2024-01-13 20:50:53.671847+00 1a801d98-c468-4353-bfd6-9eceaca8b440 EMAIL_HOST_PASSWORD gAAAAABlovkxZ6LrkVFGzjYxX7UE4hqMOqhJkSo-AJ5DGHsg2RN6XOfAf7UMO-N0c1QPXjCnR_AmGbRZIU6RI0BwZ1Zmcs8pOQ== SMTP t \N \N +2024-01-13 20:50:53.674462+00 2024-01-13 20:50:53.675934+00 5eb9e5c5-6a3d-49e3-a5d9-a4cec4a46c9c EMAIL_PORT 587 SMTP f \N \N +2024-01-13 20:50:53.678384+00 2024-01-13 20:50:53.680008+00 237a4cb1-1595-4341-a9b2-a2cc543b1eae EMAIL_FROM Tsumanu SMTP f \N \N +2024-01-13 20:50:53.682252+00 2024-01-13 20:50:53.683726+00 c6143580-eeb3-4884-b565-c1f1d6c58064 EMAIL_USE_TLS 1 SMTP f \N \N +\. + +-- +-- Data for Name: instances; Type: TABLE DATA; Schema: public; Owner: plane +-- + +COPY instances (created_at, updated_at, id, instance_name, whitelist_emails, instance_id, license_key, api_key, version, last_checked_at, namespace, is_telemetry_enabled, is_support_required, is_setup_done, is_signup_screen_visited, user_count, is_verified, created_by_id, updated_by_id) FROM stdin; +2024-01-13 20:50:49.914969+00 2024-01-13 20:54:28.514397+00 aab60202-832f-4727-ab38-2b940194142d Plane Free \N 76b3365f6dde64f8bd352f97 \N bf54fffe31866be4 0.14.0 2024-01-13 20:50:49.9137+00 \N t t t f 0 f \N \N +\. + +-- +-- Data for Name: integrations; Type: TABLE DATA; Schema: public; Owner: plane +-- + +COPY integrations (created_at, updated_at, id, title, provider, network, description, author, webhook_url, webhook_secret, redirect_url, metadata, verified, avatar_url, created_by_id, updated_by_id) FROM stdin; +\. + +-- +-- Data for Name: issue_activities; Type: TABLE DATA; Schema: public; Owner: plane +-- + +COPY issue_activities (created_at, updated_at, id, verb, field, old_value, new_value, comment, attachments, created_by_id, issue_id, issue_comment_id, project_id, updated_by_id, workspace_id, actor_id, new_identifier, old_identifier, epoch) FROM stdin; +2024-01-13 20:57:57.743001+00 2024-01-13 20:57:57.743017+00 bb19127c-5675-4d3a-99b8-023a17f1ccd9 created \N \N \N created the issue {} \N a574a73b-4c99-4a3b-a445-c087cd6ca685 \N cad91ae3-a3a3-4651-be91-b485e8abde0e \N 6f4b44e6-f588-4020-b1bf-a9218459cf67 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 \N \N 1705179477 +2024-01-14 07:29:11.997895+00 2024-01-14 07:29:11.99791+00 d9dfb95a-83f1-478e-9568-7a5d5f7e51f1 updated state Backlog In Progress updated the state to {} \N a574a73b-4c99-4a3b-a445-c087cd6ca685 \N cad91ae3-a3a3-4651-be91-b485e8abde0e \N 6f4b44e6-f588-4020-b1bf-a9218459cf67 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 85afd240-19f4-4272-a70d-e0275b8da021 a41fbd68-643c-4e46-98e2-c87ff2c24cc0 1705217351 +2024-01-14 07:30:23.218071+00 2024-01-14 07:30:23.218084+00 f0c6ffdf-4405-4a55-a13c-d23d60c921f7 updated start_date 2024-01-01 updated the start date to {} \N a574a73b-4c99-4a3b-a445-c087cd6ca685 \N cad91ae3-a3a3-4651-be91-b485e8abde0e \N 6f4b44e6-f588-4020-b1bf-a9218459cf67 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 \N \N 1705217423 +2024-01-14 07:30:41.116509+00 2024-01-14 07:30:41.116524+00 0370bbe4-e62b-455f-867f-f0bca4aa11ba updated start_date 2024-01-01 updated the start date to {} \N a574a73b-4c99-4a3b-a445-c087cd6ca685 \N cad91ae3-a3a3-4651-be91-b485e8abde0e \N 6f4b44e6-f588-4020-b1bf-a9218459cf67 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 \N \N 1705217441 +2024-01-14 07:30:41.116584+00 2024-01-14 07:30:41.11659+00 d81436ec-e6be-497f-a78a-9177f8727125 updated labels Concept added label {} \N a574a73b-4c99-4a3b-a445-c087cd6ca685 \N cad91ae3-a3a3-4651-be91-b485e8abde0e \N 6f4b44e6-f588-4020-b1bf-a9218459cf67 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 58bc8ba2-ec4d-41d8-b2b6-0d75b8a8832e \N 1705217441 +2024-01-14 07:30:47.783347+00 2024-01-14 07:30:47.78336+00 ca114f54-fa3a-4fcb-8a66-8cee0a68fd69 created modules Game concept added module Game concept {} \N a574a73b-4c99-4a3b-a445-c087cd6ca685 \N cad91ae3-a3a3-4651-be91-b485e8abde0e \N 6f4b44e6-f588-4020-b1bf-a9218459cf67 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 1a5ec757-b962-4a97-a1f5-1bc61ef32b71 \N 1705217447 +2024-01-14 07:31:11.648601+00 2024-01-14 07:31:11.648616+00 d242c09f-fb0d-4868-94ae-1c7db59858e9 updated labels Concept removed label {} \N a574a73b-4c99-4a3b-a445-c087cd6ca685 \N cad91ae3-a3a3-4651-be91-b485e8abde0e \N 6f4b44e6-f588-4020-b1bf-a9218459cf67 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 \N 58bc8ba2-ec4d-41d8-b2b6-0d75b8a8832e 1705217471 +2024-01-14 07:31:23.922189+00 2024-01-14 07:31:23.922204+00 3915750c-f947-4f71-a3cf-97a0fb425b26 updated labels Concept added label {} \N a574a73b-4c99-4a3b-a445-c087cd6ca685 \N cad91ae3-a3a3-4651-be91-b485e8abde0e \N 6f4b44e6-f588-4020-b1bf-a9218459cf67 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 58bc8ba2-ec4d-41d8-b2b6-0d75b8a8832e \N 1705217483 +2024-01-14 07:31:48.699574+00 2024-01-14 07:31:48.699587+00 913127bf-a129-4285-8e35-c81ab1b624f7 updated priority none medium updated the priority to {} \N a574a73b-4c99-4a3b-a445-c087cd6ca685 \N cad91ae3-a3a3-4651-be91-b485e8abde0e \N 6f4b44e6-f588-4020-b1bf-a9218459cf67 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 \N \N 1705217508 +2024-01-14 07:32:05.770532+00 2024-01-14 07:32:05.770546+00 1b2cd8f6-373e-482b-9208-beb614257505 updated priority medium none updated the priority to {} \N a574a73b-4c99-4a3b-a445-c087cd6ca685 \N cad91ae3-a3a3-4651-be91-b485e8abde0e \N 6f4b44e6-f588-4020-b1bf-a9218459cf67 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 \N \N 1705217525 +2024-01-14 07:32:05.770601+00 2024-01-14 07:32:05.770606+00 e36d8c82-990c-4ee5-8a67-f9374d1220f4 updated labels Concept removed label {} \N a574a73b-4c99-4a3b-a445-c087cd6ca685 \N cad91ae3-a3a3-4651-be91-b485e8abde0e \N 6f4b44e6-f588-4020-b1bf-a9218459cf67 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 \N 58bc8ba2-ec4d-41d8-b2b6-0d75b8a8832e 1705217525 +2024-01-14 07:32:23.167296+00 2024-01-14 07:32:23.16731+00 759209a6-01a3-4aee-a2d0-952cb23b25ba updated assignees Tsumanu added assignee {} \N a574a73b-4c99-4a3b-a445-c087cd6ca685 \N cad91ae3-a3a3-4651-be91-b485e8abde0e \N 6f4b44e6-f588-4020-b1bf-a9218459cf67 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 \N 1705217543 +2024-01-14 07:32:23.167365+00 2024-01-14 07:32:23.16737+00 61cc7072-b51c-4892-89d2-632097758802 updated labels Concept added label {} \N a574a73b-4c99-4a3b-a445-c087cd6ca685 \N cad91ae3-a3a3-4651-be91-b485e8abde0e \N 6f4b44e6-f588-4020-b1bf-a9218459cf67 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 58bc8ba2-ec4d-41d8-b2b6-0d75b8a8832e \N 1705217543 +2024-01-14 09:58:20.829715+00 2024-01-14 09:58:20.829726+00 a6d76c0d-e7de-40e0-96a9-0c200e99f04c created link \N https://board.ita-prog.pl/our-nightmares/projects/cad91ae3-a3a3-4651-be91-b485e8abde0e/pages created a link {} \N a574a73b-4c99-4a3b-a445-c087cd6ca685 \N cad91ae3-a3a3-4651-be91-b485e8abde0e \N 6f4b44e6-f588-4020-b1bf-a9218459cf67 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 85ecf167-f9db-4d67-b873-15b0b8d93097 \N 1705226300 +\. + +-- +-- Data for Name: issue_assignees; Type: TABLE DATA; Schema: public; Owner: plane +-- + +COPY issue_assignees (created_at, updated_at, id, assignee_id, created_by_id, issue_id, project_id, updated_by_id, workspace_id) FROM stdin; +2024-01-14 07:32:34.30465+00 2024-01-14 07:32:34.304665+00 a7f4eee2-24c8-4ab4-8b9b-4390babe87fe e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 a574a73b-4c99-4a3b-a445-c087cd6ca685 cad91ae3-a3a3-4651-be91-b485e8abde0e e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 6f4b44e6-f588-4020-b1bf-a9218459cf67 +\. + +-- +-- Data for Name: issue_labels; Type: TABLE DATA; Schema: public; Owner: plane +-- + +COPY issue_labels (created_at, updated_at, id, created_by_id, issue_id, label_id, project_id, updated_by_id, workspace_id) FROM stdin; +2024-01-14 07:32:34.309244+00 2024-01-14 07:32:34.309257+00 7dc0a42e-1b3e-4b29-ac6c-008abb1894e3 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 a574a73b-4c99-4a3b-a445-c087cd6ca685 58bc8ba2-ec4d-41d8-b2b6-0d75b8a8832e cad91ae3-a3a3-4651-be91-b485e8abde0e e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 6f4b44e6-f588-4020-b1bf-a9218459cf67 +\. + +-- +-- Data for Name: issue_links; Type: TABLE DATA; Schema: public; Owner: plane +-- + +COPY issue_links (created_at, updated_at, id, title, url, created_by_id, issue_id, project_id, updated_by_id, workspace_id, metadata) FROM stdin; +2024-01-14 09:58:20.667727+00 2024-01-14 09:58:20.667742+00 85ecf167-f9db-4d67-b873-15b0b8d93097 pages https://board.ita-prog.pl/our-nightmares/projects/cad91ae3-a3a3-4651-be91-b485e8abde0e/pages e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 a574a73b-4c99-4a3b-a445-c087cd6ca685 cad91ae3-a3a3-4651-be91-b485e8abde0e e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 6f4b44e6-f588-4020-b1bf-a9218459cf67 {} +\. + +-- +-- Data for Name: issue_mentions; Type: TABLE DATA; Schema: public; Owner: plane +-- + +COPY issue_mentions (created_at, updated_at, id, created_by_id, issue_id, mention_id, project_id, updated_by_id, workspace_id) FROM stdin; +\. + +-- +-- Data for Name: issue_properties; Type: TABLE DATA; Schema: public; Owner: plane +-- + +COPY issue_properties (created_at, updated_at, id, properties, created_by_id, project_id, updated_by_id, user_id, workspace_id) FROM stdin; +2024-01-13 20:55:59.821418+00 2024-01-13 20:55:59.821433+00 a7cfc05c-1e4d-4c1f-8413-b9b2fdc3cd8c {"key": true, "link": true, "state": true, "labels": true, "assignee": true, "due_date": true, "estimate": true, "priority": true, "created_on": true, "start_date": true, "updated_on": true, "sub_issue_count": true, "attachment_count": true} e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 cad91ae3-a3a3-4651-be91-b485e8abde0e e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 6f4b44e6-f588-4020-b1bf-a9218459cf67 +\. + +COPY issue_sequences (created_at, updated_at, id, sequence, deleted, created_by_id, issue_id, project_id, updated_by_id, workspace_id) FROM stdin; +2024-01-13 20:57:57.650586+00 2024-01-13 20:57:57.650599+00 dd8e7c3c-a860-4b20-9882-5646915b65ef 1 f e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 a574a73b-4c99-4a3b-a445-c087cd6ca685 cad91ae3-a3a3-4651-be91-b485e8abde0e e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 6f4b44e6-f588-4020-b1bf-a9218459cf67 +\. + +COPY issue_views (created_at, updated_at, id, name, description, query, access, query_data, created_by_id, project_id, updated_by_id, workspace_id) FROM stdin; +2024-01-13 20:58:31.892575+00 2024-01-13 20:58:31.892589+00 8d2896f2-2b32-41c8-b51e-5570bb4daa5c Game concept {} 1 {} e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 cad91ae3-a3a3-4651-be91-b485e8abde0e e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 6f4b44e6-f588-4020-b1bf-a9218459cf67 +\. + +COPY issues (created_at, updated_at, id, name, description, priority, start_date, target_date, sequence_id, created_by_id, parent_id, project_id, state_id, updated_by_id, workspace_id, description_html, description_stripped, completed_at, sort_order, estimate_point, archived_at, is_draft, external_id, external_source) FROM stdin; +2024-01-13 20:57:57.647036+00 2024-01-14 09:58:20.827204+00 a574a73b-4c99-4a3b-a445-c087cd6ca685 Create concept "" none \N \N 1 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 \N cad91ae3-a3a3-4651-be91-b485e8abde0e 85afd240-19f4-4272-a70d-e0275b8da021 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 6f4b44e6-f588-4020-b1bf-a9218459cf67

\N 65535 \N \N f \N \N +\. + +COPY labels (created_at, updated_at, id, name, description, created_by_id, project_id, updated_by_id, workspace_id, parent_id, color, sort_order, external_id, external_source) FROM stdin; +2024-01-14 07:30:40.918405+00 2024-01-14 07:30:40.918421+00 58bc8ba2-ec4d-41d8-b2b6-0d75b8a8832e Concept e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 cad91ae3-a3a3-4651-be91-b485e8abde0e e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 6f4b44e6-f588-4020-b1bf-a9218459cf67 \N #ff0000 65535 \N \N +\. + +COPY module_issues (created_at, updated_at, id, created_by_id, issue_id, module_id, project_id, updated_by_id, workspace_id) FROM stdin; +2024-01-14 07:30:47.696994+00 2024-01-14 07:30:47.697009+00 80b184fe-2e31-4869-8c28-18680102e70a e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 a574a73b-4c99-4a3b-a445-c087cd6ca685 1a5ec757-b962-4a97-a1f5-1bc61ef32b71 cad91ae3-a3a3-4651-be91-b485e8abde0e e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 6f4b44e6-f588-4020-b1bf-a9218459cf67 +\. + +COPY modules (created_at, updated_at, id, name, description, description_text, description_html, start_date, target_date, status, created_by_id, lead_id, project_id, updated_by_id, workspace_id, view_props, sort_order, external_id, external_source) FROM stdin; +2024-01-13 20:58:23.096082+00 2024-01-13 20:58:23.096097+00 1a5ec757-b962-4a97-a1f5-1bc61ef32b71 Game concept \N \N \N \N backlog e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 \N cad91ae3-a3a3-4651-be91-b485e8abde0e e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 6f4b44e6-f588-4020-b1bf-a9218459cf67 {} 65535 \N \N +\. + +COPY pages (created_at, updated_at, id, name, description, description_html, description_stripped, access, created_by_id, owned_by_id, project_id, updated_by_id, workspace_id, color, archived_at, is_locked, parent_id) FROM stdin; +2024-01-13 21:00:20.70363+00 2024-01-13 21:00:27.114294+00 f8e5e8a5-b38d-4685-9dd9-2f90a5d367e6 Zebrane pomysły ""

Title:

Our Nightmares

Engine:

Godot 4

Main plot:

W bliżej nieokreślonym roku z gwiazdy neutronowej wydostał się kawałeczek Dziwnej materii i korzystając z możliwości redefiniowania praw fizyki uderzył w Ziemię dosłownie chwilę później.

Wszystko w tym momencie zaczęło się zniekształcać i tradycyjna fizyka przestała działać. Na świecie pojawiły się potwory z legend, baśni i starych wierzeń. Powstawały one zawsze tam gdzie ludzie byli przerażeni i szybko zrozumiano, że to jest problemem.

Na niebie natomiast powstała smuga, która jeśli się na nią patrzy zbyt długo powiększa się, aż zajmuje cały obszar widzenia po czym osoba albo rozpada się albo zmienia w potworną abominację. Część ludzi uważa, że to symulacja komputerowa uległa uszkodzeniu i czekają na patch, inni że to czas sądu, a jeszcze inni, że świat po prostu się skończył.

Concept:

Wszystkie jednostki posiadają Fear metter który wpływa na globalny Fear. Gdy Fear osiąga określony poziom powstaje nowy potwór, podnoszący automatycznie Fear wszystkich jednostek (cascade effect żeby wywołać w graczu strach). Dodatkowo czym więcej jednostek tym więcej przerażenia otrzymuje gracz po przełamaniu bariery powodując late game bardziej wymagający.

Cykl dnia i nocy sprawia, że w nocy jednostki otrzymują Fear za każdym razem, a podstawowy potwór zawsze wymaga minimum żeby 3 jednostki istniały

Rozwijanie technologii Fear jest konieczne do zakończenia gry, ale efekt zawsze jest losowy. Wynalazek zawsze będzie albo nieskuteczny, albo będzie powodował negatywny efekt albo pozytywny.

Jednostka, na którą się kliknie 5x spogląda w niebo i albo rozpada się albo zamienia w potwora.

\N 0 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 cad91ae3-a3a3-4651-be91-b485e8abde0e e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 6f4b44e6-f588-4020-b1bf-a9218459cf67 \N f \N +2024-01-13 21:01:23.501721+00 2024-01-13 21:01:28.404085+00 35075b09-ff4f-41b1-b84d-eba79c0b8b6d Zarządzanie zasobami ""

Gracz nie wydobywa ani nie poszukuje żadnych konkretnych zasobów. Wszystko jest zarządzane przez miasto i w miarę jak miasto się rozwija lub jest sterroryzowane Zasoby są automatycznie gromadzone do późniejszego wykorzystania

\N 0 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 cad91ae3-a3a3-4651-be91-b485e8abde0e e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 6f4b44e6-f588-4020-b1bf-a9218459cf67 \N f \N +2024-01-13 21:01:46.403267+00 2024-01-13 21:12:14.673097+00 b70638e8-d750-4fba-9641-efdf990cbbcf Lista potworów i walka z nimi ""

Każdy potwór posiada unikalny sposób ataku, unikalne miejsce występowania, unikalny sposób znajdowania go oraz unikalny sposób pokonania go.

Wilkołak

Występuje w lesie i w czasie pełni może zamieniać mieszkańców w nowe wilkołaki lub po prostu ich zabijać. Terror będzie bardzo szybko rósł w nocy w trakcie pełni oraz ilość pozyskiwania Zasobów spadnie o 20% za każdego Zauważonego Wilkołaka do minimum 5%.
Szybkość odszukania Wilkołaka zależy od poziomu Detektywa ponieważ jest on jednym z mieszkańców. W czasie dnia i w nocy poza pełnią usunięcie Wilkołaka następuje po jego wyśledzeniu jednak można wybrać aby go zabić albo zabić. W przykadku każdego wyboru Wilkołak może albo powrócić albo Terror zostanie zwiększony o niewielką wartość.

Kikimora

Zastawiwszy na zbłąkanego wędrowca pułapkę, napawała się jego agonią w przepastnych odmętach bagiennej topieli.

\N 0 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 cad91ae3-a3a3-4651-be91-b485e8abde0e e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 6f4b44e6-f588-4020-b1bf-a9218459cf67 \N f \N +\. + +COPY project_favorites (created_at, updated_at, id, created_by_id, project_id, updated_by_id, user_id, workspace_id) FROM stdin; +2024-01-14 07:29:17.493343+00 2024-01-14 07:29:17.493358+00 c27e60d8-ff20-4763-911a-180f0932c620 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 cad91ae3-a3a3-4651-be91-b485e8abde0e e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 6f4b44e6-f588-4020-b1bf-a9218459cf67 +\. + +COPY project_identifiers (id, created_at, updated_at, name, created_by_id, project_id, updated_by_id, workspace_id) FROM stdin; +1 2024-01-13 20:55:59.803031+00 2024-01-13 20:55:59.803047+00 OURNI \N cad91ae3-a3a3-4651-be91-b485e8abde0e \N 6f4b44e6-f588-4020-b1bf-a9218459cf67 +\. + +COPY project_members (created_at, updated_at, id, comment, role, created_by_id, member_id, project_id, updated_by_id, workspace_id, view_props, default_props, sort_order, preferences, is_active) FROM stdin; +2024-01-13 20:55:59.81572+00 2024-01-14 09:19:16.982878+00 c8eda195-1acd-4d29-8593-934790ecd776 \N 20 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 cad91ae3-a3a3-4651-be91-b485e8abde0e e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 6f4b44e6-f588-4020-b1bf-a9218459cf67 {"filters": {"state": null, "labels": null, "project": null, "mentions": null, "priority": null, "assignees": null, "created_by": null, "start_date": null, "subscriber": null, "state_group": null, "target_date": null}, "display_filters": {"type": null, "layout": "list", "calendar": {"layout": "month", "show_weekends": false}, "group_by": "state", "order_by": "-created_at", "sub_issue": true, "sub_group_by": null, "show_empty_groups": true, "start_target_date": false}} {"filters": {"state": null, "labels": null, "priority": null, "assignees": null, "created_by": null, "start_date": null, "subscriber": null, "state_group": null, "target_date": null}, "display_filters": {"type": null, "layout": "list", "group_by": null, "order_by": "-created_at", "sub_issue": true, "show_empty_groups": true, "calendar_date_range": ""}} 65535 {"pages": {"block_display": true}} t +\. + +COPY projects (created_at, updated_at, id, name, description, description_text, description_html, network, identifier, created_by_id, default_assignee_id, project_lead_id, updated_by_id, workspace_id, emoji, cycle_view, module_view, cover_image, issue_views_view, page_view, estimate_id, icon_prop, inbox_view, archive_in, close_in, default_state_id) FROM stdin; +2024-01-13 20:55:59.798122+00 2024-01-13 20:55:59.798139+00 cad91ae3-a3a3-4651-be91-b485e8abde0e Our Nightmares \N \N 2 OURNI e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 \N \N e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 6f4b44e6-f588-4020-b1bf-a9218459cf67 128077 t t https://images.unsplash.com/photo-1464925257126-6450e871c667?auto=format&fit=crop&q=80&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&w=870&q=80 t t \N \N f 0 0 \N +\. + +-- +-- Data for Name: slack_project_syncs; Type: TABLE DATA; Schema: public; Owner: plane +-- + +COPY slack_project_syncs (created_at, updated_at, id, access_token, scopes, bot_user_id, webhook_url, data, team_id, team_name, created_by_id, project_id, updated_by_id, workspace_id, workspace_integration_id) FROM stdin; +\. + +-- +-- Data for Name: social_login_connections; Type: TABLE DATA; Schema: public; Owner: plane +-- + +COPY social_login_connections (created_at, updated_at, id, medium, last_login_at, last_received_at, token_data, extra_data, created_by_id, updated_by_id, user_id) FROM stdin; +\. + +-- +-- Data for Name: states; Type: TABLE DATA; Schema: public; Owner: plane +-- + +COPY states (created_at, updated_at, id, name, description, color, slug, created_by_id, project_id, updated_by_id, workspace_id, sequence, "group", "default", external_id, external_source) FROM stdin; +2024-01-13 20:55:59.826722+00 2024-01-13 20:55:59.826737+00 a41fbd68-643c-4e46-98e2-c87ff2c24cc0 Backlog #A3A3A3 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 cad91ae3-a3a3-4651-be91-b485e8abde0e \N 6f4b44e6-f588-4020-b1bf-a9218459cf67 15000 backlog t \N \N +2024-01-13 20:55:59.826776+00 2024-01-13 20:55:59.826781+00 97504fa7-01f4-4a89-b00e-3d85a39a7f6f Todo #3A3A3A e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 cad91ae3-a3a3-4651-be91-b485e8abde0e \N 6f4b44e6-f588-4020-b1bf-a9218459cf67 25000 unstarted f \N \N +2024-01-13 20:55:59.826806+00 2024-01-13 20:55:59.826811+00 85afd240-19f4-4272-a70d-e0275b8da021 In Progress #F59E0B e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 cad91ae3-a3a3-4651-be91-b485e8abde0e \N 6f4b44e6-f588-4020-b1bf-a9218459cf67 35000 started f \N \N +2024-01-13 20:55:59.826833+00 2024-01-13 20:55:59.826837+00 f0dc1092-2071-41cb-96e2-f2239a074931 Done #16A34A e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 cad91ae3-a3a3-4651-be91-b485e8abde0e \N 6f4b44e6-f588-4020-b1bf-a9218459cf67 45000 completed f \N \N +2024-01-13 20:55:59.82686+00 2024-01-13 20:55:59.826864+00 3e3a2200-15f5-4cd4-88a5-debc65189a15 Cancelled #EF4444 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 cad91ae3-a3a3-4651-be91-b485e8abde0e \N 6f4b44e6-f588-4020-b1bf-a9218459cf67 55000 cancelled f \N \N +\. + +-- +-- Data for Name: team_members; Type: TABLE DATA; Schema: public; Owner: plane +-- + +COPY team_members (created_at, updated_at, id, created_by_id, member_id, team_id, updated_by_id, workspace_id) FROM stdin; +\. + +-- +-- Data for Name: teams; Type: TABLE DATA; Schema: public; Owner: plane +-- + +COPY teams (created_at, updated_at, id, name, description, created_by_id, updated_by_id, workspace_id) FROM stdin; +\. + +-- +-- Data for Name: token_blacklist_blacklistedtoken; Type: TABLE DATA; Schema: public; Owner: plane +-- + +COPY token_blacklist_blacklistedtoken (id, blacklisted_at, token_id) FROM stdin; +\. + +-- +-- Data for Name: token_blacklist_outstandingtoken; Type: TABLE DATA; Schema: public; Owner: plane +-- + +COPY token_blacklist_outstandingtoken (id, token, created_at, expires_at, user_id, jti) FROM stdin; +1 eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6NTQzNzY1OTI2OCwiaWF0IjoxNzA1MTc5MjY4LCJqdGkiOiI5MjNmODA0YmEyNjY0ZGRiODFmZDc2YjJiODA5MDNhYSIsInVzZXJfaWQiOiJlMWFhNGZjNC0zMjY5LTQ4NmQtOTc2MS1lMGIzZjNiZmJlNTIifQ.rAYL_aZzN8hq-zqAgGxkh35tAlZIF7ewXPg1Ide6WKk 2024-01-13 20:54:28.516105+00 2142-04-24 20:54:28+00 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 923f804ba2664ddb81fd76b2b80903aa +2 eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6NTQzNzY5Njk0NiwiaWF0IjoxNzA1MjE2OTQ2LCJqdGkiOiJjYjk2OTY5NzJiZWQ0ZGNlYmIyMDVlY2Q1MzdmYTQ5MCIsInVzZXJfaWQiOiJlMWFhNGZjNC0zMjY5LTQ4NmQtOTc2MS1lMGIzZjNiZmJlNTIifQ.br_LEEpiP72FRDu0m4tZ0xn5Uo3dDrPZp3I4K5M73Fk 2024-01-14 07:22:26.999491+00 2142-04-25 07:22:26+00 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 cb9696972bed4dcebb205ecd537fa490 +3 eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6NTQzNzcwMzY4MCwiaWF0IjoxNzA1MjIzNjgwLCJqdGkiOiJjYzVhMDU0YzdjYjc0MzhkOGZkMDZhMWEyYWRmZTk0MiIsInVzZXJfaWQiOiJlMWFhNGZjNC0zMjY5LTQ4NmQtOTc2MS1lMGIzZjNiZmJlNTIifQ.OV41NA8n_jMMERZ1QqrzRSTl69foyaSCmG7RGIByi64 2024-01-14 09:14:40.377814+00 2142-04-25 09:14:40+00 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 cc5a054c7cb7438d8fd06a1a2adfe942 +4 eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6NTQzNzc4NzkwNywiaWF0IjoxNzA1MzA3OTA3LCJqdGkiOiJjMTViZjM3YmZhOWM0MmFiOTVmMTIxZjhlYzM5MjdhZiIsInVzZXJfaWQiOiJlMWFhNGZjNC0zMjY5LTQ4NmQtOTc2MS1lMGIzZjNiZmJlNTIifQ._P8PopjRHF01lqfDXmQMTgHnxLp2GQOR13U6UIj9RmY 2024-01-15 08:38:27.12774+00 2142-04-26 08:38:27+00 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 c15bf37bfa9c42ab95f121f8ec3927af +\. + +COPY users (password, last_login, id, username, mobile_number, email, first_name, last_name, avatar, date_joined, created_at, updated_at, last_location, created_location, is_superuser, is_managed, is_password_expired, is_active, is_staff, is_email_verified, is_password_autoset, is_onboarded, token, billing_address_country, billing_address, has_billing_address, user_timezone, last_active, last_login_time, last_logout_time, last_login_ip, last_logout_ip, last_login_medium, last_login_uagent, token_updated_at, last_workspace_id, my_issues_prop, role, is_bot, theme, is_tour_completed, onboarding_step, cover_image, display_name, use_case) FROM stdin; +pbkdf2_sha256$600000$4iytorjkz7bRm9UoZdEZUa$MYRZo7QNoOH8yDnS20otATsPutGTo95Zc1r0LhUifg8= \N e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 6496a0cdbe164f64a41d0254f43b93d6 \N adrian.wozniak@ita-prog.pl Adrian Woźniak 2024-01-13 20:54:28.49804+00 2024-01-13 20:54:28.498053+00 2024-01-15 08:38:27.10592+00 f f f t f f f t 3e385bdbe30a4098b7c21d738a98044fcfc7d03b1280491e8eb092ffb286f786 INDIA \N f Europe/Warsaw 2024-01-15 08:38:27.105759+00 2024-01-15 08:38:27.105765+00 \N 172.18.0.10 email Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0 2024-01-15 08:38:27.105813+00 6f4b44e6-f588-4020-b1bf-a9218459cf67 \N Founder / Executive f {} t {"workspace_join": true, "profile_complete": true, "workspace_create": true, "workspace_invite": true} \N Tsumanu Build Products +\. + +COPY workspace_members (created_at, updated_at, id, role, created_by_id, member_id, updated_by_id, workspace_id, company_role, view_props, default_props, issue_props, is_active) FROM stdin; +2024-01-13 20:55:28.262704+00 2024-01-13 20:55:28.262718+00 92e41188-af8e-4e62-a0ba-969006c9a002 20 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 6f4b44e6-f588-4020-b1bf-a9218459cf67 {"filters": {"state": null, "labels": null, "priority": null, "assignees": null, "created_by": null, "start_date": null, "subscriber": null, "state_group": null, "target_date": null}, "display_filters": {"type": null, "layout": "list", "group_by": null, "order_by": "-created_at", "sub_issue": true, "show_empty_groups": true, "calendar_date_range": ""}, "display_properties": {"key": true, "link": true, "state": true, "labels": true, "assignee": true, "due_date": true, "estimate": true, "priority": true, "created_on": true, "start_date": true, "updated_on": true, "sub_issue_count": true, "attachment_count": true}} {"filters": {"state": null, "labels": null, "priority": null, "assignees": null, "created_by": null, "start_date": null, "subscriber": null, "state_group": null, "target_date": null}, "display_filters": {"type": null, "layout": "list", "group_by": null, "order_by": "-created_at", "sub_issue": true, "show_empty_groups": true, "calendar_date_range": ""}, "display_properties": {"key": true, "link": true, "state": true, "labels": true, "assignee": true, "due_date": true, "estimate": true, "priority": true, "created_on": true, "start_date": true, "updated_on": true, "sub_issue_count": true, "attachment_count": true}} {"created": true, "assigned": true, "all_issues": true, "subscribed": true} t +\. + +-- +-- Data for Name: workspace_themes; Type: TABLE DATA; Schema: public; Owner: plane +-- + +COPY workspace_themes (created_at, updated_at, id, name, colors, actor_id, created_by_id, updated_by_id, workspace_id) FROM stdin; +\. + +-- +-- Data for Name: workspaces; Type: TABLE DATA; Schema: public; Owner: plane +-- + +COPY workspaces (created_at, updated_at, id, name, logo, slug, created_by_id, owner_id, updated_by_id, organization_size) FROM stdin; +2024-01-13 20:55:28.258284+00 2024-01-13 20:55:28.258302+00 6f4b44e6-f588-4020-b1bf-a9218459cf67 Our Nightmares \N our-nightmares e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 e1aa4fc4-3269-486d-9761-e0b3f3bfbe52 \N +\.