Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

full-clickable-cards-and-collections #523

Open
wants to merge 2,020 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2020 commits
Select commit Hold shift + click to select a range
20cd9ea
fixes on handle registration of external apps
michelson Oct 27, 2020
898d875
home panel style & space
michelson Oct 31, 2020
48b861f
Merge pull request #244 from chaskiq/chat-home-tweaks
michelson Oct 31, 2020
b50a169
Update Articles.js
Nuxor3000 Oct 31, 2020
fb70894
Merge pull request #245 from Nuxor3000/patch-1
michelson Oct 31, 2020
0d742b8
home conversations
michelson Nov 1, 2020
e783fd5
Merge pull request #247 from chaskiq/chat-home-previous-conversations
michelson Nov 2, 2020
c513668
import contacts & tag list for app user
michelson Nov 4, 2020
a814791
update bugsnag
michelson Nov 4, 2020
a6a2efa
add scout
michelson Nov 4, 2020
8fbd45f
scout yml
michelson Nov 5, 2020
1e718ca
index on session_id app user
michelson Nov 6, 2020
44ba565
Merge pull request #248 from chaskiq/importer-ui
michelson Nov 6, 2020
6ecb818
index on app user email
michelson Nov 6, 2020
14ee0c8
Merge pull request #249 from chaskiq/indexes-app-users
michelson Nov 6, 2020
20de15f
skip if app blank on subscription hook
michelson Nov 6, 2020
de175f9
Merge pull request #250 from chaskiq/subs-hook-skip
michelson Nov 7, 2020
fae7bfb
AGPL-3.0-or-later
TechnologyClassroom Nov 9, 2020
5e267bd
Merge pull request #252 from TechnologyClassroom/AGPL-3.0-or-later
michelson Nov 9, 2020
fbb6603
segments with tag support + search conversations
michelson Nov 13, 2020
4cc75c8
arel queries taggings
michelson Nov 14, 2020
ce6c6a2
remove name cont on search
michelson Nov 14, 2020
052b307
return default
michelson Nov 14, 2020
d3b430b
segment & comparator specs
michelson Nov 14, 2020
34a7859
check inverse, split joins
michelson Nov 14, 2020
4c42d21
Merge pull request #253 from chaskiq/subs-hook-skip
michelson Nov 14, 2020
4262335
set uploader progress
michelson Nov 15, 2020
809e47d
Merge pull request #254 from chaskiq/subs-hook-skip
michelson Nov 15, 2020
5d96937
upgrade page upgrade button
michelson Nov 17, 2020
916bf58
button styles
michelson Nov 17, 2020
74e5915
plans merge
michelson Nov 17, 2020
14ffa07
update rails
michelson Nov 19, 2020
a6a7e5d
tailwind tweaks
michelson Nov 19, 2020
318cb4d
tailwind 2 , login & signup, billing
michelson Nov 24, 2020
73a59eb
agent update policy
michelson Nov 24, 2020
0c33fd0
update agent role
michelson Nov 24, 2020
7d01df8
node major 12
michelson Nov 24, 2020
9f02a86
bg indigo 100
michelson Nov 24, 2020
9fee8d2
tailwind upgrade + spacing
michelson Nov 25, 2020
0e9698e
editor tweaks
michelson Nov 25, 2020
38f6281
default outgoing domain
michelson Nov 25, 2020
93bdafc
github workflow
michelson Nov 25, 2020
98d8a66
update github action
michelson Nov 25, 2020
e05ade3
remove credentials
michelson Nov 25, 2020
28358d9
run cy
michelson Nov 25, 2020
4659da0
build ga
michelson Nov 26, 2020
64dd085
order capabilities by package name
michelson Nov 26, 2020
d128a18
subs tweaks
michelson Nov 26, 2020
cefa074
DEFAULT_OUTGOING_EMAIL_DOMAIN tweaks
michelson Nov 26, 2020
f39ace8
tie up bacckend & frontend with presentation props
michelson Dec 6, 2020
7808c31
banners implementation + cypress upgrade
michelson Dec 9, 2020
a63c9f2
packages spec
michelson Dec 9, 2020
218824d
defaultValue color
michelson Dec 9, 2020
8940417
Merge pull request #258 from chaskiq/banners
michelson Dec 9, 2020
eabf342
rails 6.1 upgrade
michelson Dec 10, 2020
4f63a6f
active storage upgrade
michelson Dec 10, 2020
b98f42b
avoid doorkeeper serialization on cypress scenario
michelson Dec 10, 2020
9cd0a8c
Update app.rb
michelson Dec 11, 2020
2a13996
Merge branch 'master' of github.com:michelson/chaskiq into rails-6-1
michelson Dec 14, 2020
3a7c8ec
update aato
michelson Dec 14, 2020
7cc69ed
Merge pull request #260 from chaskiq/rails-6-1
michelson Dec 15, 2020
f4f96d2
back to mbleigh taggable
michelson Dec 30, 2020
3e3ab46
delivery method & silent warn
michelson Dec 30, 2020
2b5f1d5
seed tasks
michelson Dec 31, 2020
70faeb0
support for multi level subdomain
michelson Dec 31, 2020
6aa9208
Merge pull request #262 from chaskiq/smtp-config
michelson Dec 31, 2020
f993f4f
open ai , first try
michelson Jan 6, 2021
354c6e1
add ar::trx to ensure atomicity on message creation
michelson Jan 6, 2021
958fd29
incoming slack emoji support
michelson Jan 6, 2021
2449498
Merge pull request #268 from chaskiq/slack_emoji_fix
michelson Jan 6, 2021
7a01116
debug request image
michelson Jan 7, 2021
1c5f560
handle cable data as underscore
michelson Jan 7, 2021
45bc7a4
Merge pull request #271 from chaskiq/dasherized-headers
michelson Jan 7, 2021
fe4386b
fix insertComment duplicated msgs on slow networks
michelson Jan 10, 2021
17b1869
Merge pull request #273 from chaskiq/queue-messages
michelson Jan 10, 2021
a71ef1b
revenium payment link first approach
michelson Jan 11, 2021
80e8c85
calm react warnings
michelson Jan 12, 2021
ffdfb26
Merge branch 'master' into reveniu-plugin
michelson Jan 12, 2021
fa490de
Merge remote-tracking branch 'origin/master' into gpt-3
michelson Jan 12, 2021
fb76dbd
open ai prompt and ui hooks
michelson Jan 12, 2021
5932bf0
Merge branch 'reveniu-plugin' into bundled-gpt3-reveniu
michelson Jan 12, 2021
0deacb1
handlings
michelson Jan 13, 2021
bf3ab21
process next step on frame submit
michelson Jan 21, 2021
f2bab86
rails 6.1.1
michelson Jan 21, 2021
54eac13
tweaks on conversation and agent cable handling + aws ses signature
michelson Jan 21, 2021
d979198
task bot spec
michelson Jan 21, 2021
80d262a
wait for reply display
michelson Jan 22, 2021
600f97d
Merge pull request #276 from chaskiq/addons-chore
michelson Jan 22, 2021
d64a003
Ses unsusbscribe + GDPR + channels identifiers (#282)
michelson Jan 31, 2021
3486029
agent authorize fields (#283)
michelson Feb 2, 2021
7552ffa
Slack chore (#284)
michelson Feb 5, 2021
bf41b0b
Vonage + 360 (#286)
michelson Feb 8, 2021
19b0164
Anycable message (#287)
michelson Feb 10, 2021
f50f777
Anycable message (#288)
michelson Feb 10, 2021
d5ae15d
Slack participant seen fix (#289)
michelson Feb 11, 2021
56e1c23
offline checker job (#291)
michelson Feb 13, 2021
903b98f
connection on leads / users (#292)
michelson Feb 13, 2021
1167660
Fix typo on App Settings page (#301)
nahanil Feb 24, 2021
14c9cc9
handle config keys on hook config (#302)
michelson Feb 27, 2021
b066fc7
edit password view (#303)
michelson Feb 27, 2021
c8b99b7
Update Crowdin configuration file
michelson Mar 5, 2021
a2617b5
New conversations bots (#309)
michelson Mar 7, 2021
2bd06fe
L10 master sync (#312)
michelson Mar 7, 2021
6fa6696
fix migration , rescue block
michelson Mar 7, 2021
1c29e63
Qol adjusts (#313)
michelson Mar 8, 2021
173acc3
Qol adjusts (#314)
michelson Mar 8, 2021
79d8fab
buttons styled break word (#318)
michelson Mar 9, 2021
1d73828
Stage (#322)
michelson Mar 10, 2021
5c73b30
New Crowdin updates (#321)
michelson Mar 10, 2021
7dd01d6
Stage (#329)
michelson Mar 16, 2021
b92db64
Stage (#332)
michelson Mar 20, 2021
64907bc
New Crowdin updates (#325)
michelson Mar 21, 2021
0011c87
Stage (#333)
michelson Mar 21, 2021
f9984f2
fix broken reactjs link and spellchecks (#326)
dtricks Mar 21, 2021
b3a35f5
articles pagination
michelson Mar 21, 2021
16ff5cf
Merge remote-tracking branch 'origin/master'
michelson Mar 21, 2021
83a0445
New Crowdin updates (#334)
michelson Mar 21, 2021
0608790
plan display hotfix
michelson Mar 22, 2021
486f872
Stage (#336)
michelson Mar 22, 2021
e9d0911
New Crowdin updates (#337)
michelson Mar 22, 2021
89a79d4
Stage (#339)
michelson Mar 25, 2021
df7d22f
Stage (#341)
michelson Mar 25, 2021
81a475c
Mailer inbox tweaks (#342)
michelson Mar 26, 2021
e497042
Create brakeman-analysis.yml
michelson Mar 26, 2021
1196b45
Create rubocop-analysis.yml
michelson Mar 26, 2021
bf69fcb
Stage (#344)
michelson Mar 27, 2021
7a50db9
D360 template support (#348)
michelson Mar 31, 2021
088bb9b
hotfix on connection
michelson Mar 31, 2021
96ce9be
user drawer fix (#354)
michelson Mar 31, 2021
0a88ea9
User drawer fix (#355)
michelson Apr 2, 2021
3aa2ebc
Stage (#356)
michelson Apr 5, 2021
7b95de9
delete agent from team (#360)
Cleiton080 Apr 15, 2021
35d4377
Stage (#362)
michelson Apr 18, 2021
b45aa20
Stage (#367)
michelson Apr 20, 2021
c2e4510
Stage (#368)
michelson Apr 21, 2021
adfdc86
Stage (#372)
michelson Apr 23, 2021
9a85f9d
New Crowdin updates (#373)
michelson Apr 23, 2021
fb6bc0c
New Crowdin updates (#374)
michelson Apr 26, 2021
dd2c275
fallback editor fix (#379)
michelson Apr 28, 2021
06e33ec
Segment save indicator (#380)
michelson Apr 28, 2021
a647b2a
Banner display fix (#381)
michelson Apr 28, 2021
b1b95fa
Counto plugin (#383)
michelson May 2, 2021
250d783
url on count to fix
michelson May 2, 2021
3a3d0d9
autor email fix + new icon set (#385)
michelson May 4, 2021
83d4b5a
New Crowdin updates (#384)
michelson May 9, 2021
cd08bea
Single job per convo (#387)
michelson May 9, 2021
347c4af
contact fields editor (#388)
michelson May 9, 2021
210b17c
app package fix , handle conversation part safe (#389)
michelson May 9, 2021
f85b12d
New Crowdin updates (#393)
michelson May 23, 2021
ab84a0e
Stage (#396)
michelson May 29, 2021
5e27a10
fix assignment rules (#398)
michelson May 29, 2021
fbb6dc4
New Crowdin updates (#397)
michelson May 29, 2021
85b9298
slack block fix (#400)
michelson May 30, 2021
010e2a7
rubocoped , rubocop-rails (#401)
michelson May 31, 2021
de0def3
Bots dedupe content (#403)
michelson May 31, 2021
8112a73
Missing translations (#405)
michelson Jun 5, 2021
3024c4a
Missing translations (#407)
michelson Jun 5, 2021
2ff6eb1
Missing translations (#409)
michelson Jun 5, 2021
7086fc8
New Crowdin updates (#410)
michelson Jun 5, 2021
0b769f1
translations on bot tabs
michelson Jun 5, 2021
d7d194c
New Crowdin updates (#411)
michelson Jun 6, 2021
9aa3c05
dark mode ready (#412)
michelson Jun 7, 2021
e5e3cd8
New Crowdin updates (#413)
michelson Jun 7, 2021
af5294e
Help center path (#419)
michelson Jun 12, 2021
f0e23d4
Field renderer fix (#420)
michelson Jun 12, 2021
efd159e
quick replies fix (#421)
michelson Jun 15, 2021
884827d
Field renderer fix (#422)
michelson Jun 16, 2021
b27959e
Articles null content (#425)
michelson Jun 19, 2021
698feed
issue template
michelson Jun 19, 2021
acaee84
Update issue templates
michelson Jun 19, 2021
1e14ded
remove yml issue templates
michelson Jun 19, 2021
f88294c
Fix an incorrectly labelled form field (#430)
dp6ai Jun 22, 2021
a1715d0
Fixes jun (#435)
michelson Jun 24, 2021
1781e8e
New Crowdin updates (#436)
michelson Jun 24, 2021
ce10fa3
New Crowdin updates (#438)
michelson Jul 1, 2021
03a9a7e
New translations en.yml (Chinese Simplified)
michelson Jul 1, 2021
c594530
New translations devise.en.yml (Chinese Simplified)
michelson Jul 1, 2021
68c9ccc
New translations subscriptions.en.yml (Chinese Simplified)
michelson Jul 1, 2021
3b49ea9
Merge remote-tracking branch 'origin/l10n_master2'
michelson Jul 1, 2021
be1bfe4
chinese lang
michelson Jul 1, 2021
341d3c3
Translations complete (#443)
michelson Jul 19, 2021
e351eab
Merge remote-tracking branch 'origin/l10n_master2' (#444)
michelson Jul 19, 2021
acb451b
set amazon ses region server for non us- regions (#445)
michelson Jul 19, 2021
9424763
empty package skip notification (#446)
michelson Jul 20, 2021
b0655aa
Components playground (#447)
michelson Aug 2, 2021
8aa4fe6
Bump addressable from 2.7.0 to 2.8.0 (#441)
dependabot[bot] Aug 2, 2021
bd81aa9
Bugfixes on segments removal (#452)
michelson Aug 4, 2021
cf7aa92
New translations (#451)
michelson Aug 5, 2021
2c37ab1
i18n v4 loaded tasks (#450)
michelson Aug 5, 2021
e61573e
Stage - translation i18n v4 (#454)
michelson Aug 5, 2021
43c9493
Stage (#455)
michelson Aug 5, 2021
3719141
Fix client docs locale (#458)
michelson Aug 6, 2021
691b840
Stage (#460)
michelson Aug 7, 2021
64f67ba
Stage (#461)
michelson Aug 7, 2021
f49e2e8
fix indentation on en definitions translat
michelson Aug 7, 2021
e1c22e3
New Crowdin updates (#456)
michelson Aug 7, 2021
716bb24
ensure message author is AppUser before check ids (#465)
michelson Aug 10, 2021
23dc034
New Crowdin updates (#468)
michelson Aug 15, 2021
e998c8d
Bugfixes aug 15 (#470)
michelson Aug 15, 2021
17a5243
Bugfixes aug 15 (#471)
michelson Aug 15, 2021
123ab9c
Bugfixes aug 15 (#472)
michelson Aug 15, 2021
719e4f2
word wrap
michelson Aug 15, 2021
e628379
Draftjs exporter + SES AWS gem (#473)
michelson Aug 16, 2021
8770fc5
fix key
michelson Aug 16, 2021
6fffa42
hotfix collection
michelson Aug 16, 2021
da8ee3e
Add Typescript (#474)
michelson Aug 26, 2021
d7015a1
use fork ts checker for dev only
michelson Aug 26, 2021
69f5f2e
use fork ts checker for dev only
michelson Aug 26, 2021
440ed01
preset ts
michelson Aug 26, 2021
6cebb18
Chat notifier fix (#475)
michelson Aug 26, 2021
6a85ccf
Ts upgrade (#476)
michelson Aug 30, 2021
3b0bc40
Dante alpha6 file insertion block (#478)
michelson Sep 1, 2021
e30e9a1
Helpcenter search fix (#479)
michelson Sep 2, 2021
dd3b2b6
fix article search (#481)
michelson Sep 2, 2021
2f1899e
I18n after initialize (#483)
michelson Sep 6, 2021
db5bee6
New Crowdin updates (#469)
michelson Sep 7, 2021
9556653
Plugin conversation (#485)
michelson Sep 9, 2021
d1396a8
fix enqueue process event for messenger (#487)
michelson Sep 9, 2021
d3863f4
reply --> reply_time (#480)
olimart Sep 9, 2021
c0e63ee
scroll fix (#486)
michelson Sep 9, 2021
6cd5b82
user package iframe user handle (#489)
michelson Sep 9, 2021
faa42c9
fix mapbox display, exclude mapbox-gl from transpilation (#490)
michelson Sep 9, 2021
a0a6d06
Dante update color popover fix (#491)
michelson Sep 10, 2021
28671ef
Qualifier fix (#492)
michelson Sep 13, 2021
754a45e
public conversation private note filter (#494)
michelson Sep 15, 2021
db55909
New Crowdin updates (#495)
michelson Sep 19, 2021
476e33d
Telegram api (#497)
michelson Sep 22, 2021
998026b
Helpcenter fixes (#499)
michelson Sep 22, 2021
b279fa6
Home panel disabled conversation display fix (#500)
michelson Sep 22, 2021
6f32f72
User auto message dismiss translation (#501)
michelson Sep 22, 2021
cc64b78
Plugin gen (#498)
michelson Sep 22, 2021
49b14cd
fix reorder when append items (#502)
michelson Sep 23, 2021
8f09a40
article display back btn fix (#503)
michelson Sep 23, 2021
a3820ab
Boring avatars (#504)
michelson Sep 26, 2021
edffdfe
Boring avatars (#506)
michelson Sep 27, 2021
110933a
New Crowdin updates (#505)
michelson Sep 27, 2021
6591a32
avatar handle for empty app (helpcenter usecase)
michelson Sep 27, 2021
9b9c212
translations
michelson Sep 27, 2021
4c82065
Fix disabling bot task (#509)
Nuxor3000 Sep 27, 2021
b83cf1d
New Crowdin updates (#510)
michelson Sep 28, 2021
e7e3e06
Bump nokogiri from 1.12.2 to 1.12.5 (#511)
dependabot[bot] Sep 28, 2021
680b202
I18n fallback messenger (#512)
michelson Sep 29, 2021
40f577c
Zapier (#507)
michelson Sep 29, 2021
9dc2084
validations & formats on zaps (#514)
michelson Sep 30, 2021
ab0f174
handle dismiss on availableMessages (#516)
michelson Oct 2, 2021
c06afe4
Messenger controls fixes (#519)
michelson Oct 7, 2021
e302a58
Nuxor assign rules patch (#520)
michelson Oct 7, 2021
f46b182
Bump sidekiq from 6.1.2 to 6.2.1 (#518)
dependabot[bot] Oct 7, 2021
8f6cb18
full-clickable-cards-and-collections
laurentUbik Oct 12, 2021
c38c0ca
prettier
laurentUbik Oct 12, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
26 changes: 0 additions & 26 deletions .babelrc

This file was deleted.

65 changes: 65 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
version: "2"
checks:
argument-count:
enabled: true
config:
threshold: 4
complex-logic:
enabled: true
config:
threshold: 4
file-lines:
enabled: true
config:
threshold: 1000
method-complexity:
enabled: true
config:
threshold: 5
method-count:
enabled: true
config:
threshold: 50
method-lines:
enabled: true
config:
threshold: 50
nested-control-flow:
enabled: true
config:
threshold: 4
return-statements:
enabled: true
config:
threshold: 4
similar-code:
languages:
ruby:
threshold: 3
javascript:
enabled: false
threshold: 30
identical-code:
enabled: true
config:
threshold: #language-specific defaults. overrides affect all languages.
plugins:
rubocop:
enabled: false
eslint:
enabled: false
exclude_patterns:
- "config/"
- "db/"
- "dist/"
- "features/"
- "**/node_modules/"
- "script/"
- "**/spec/"
- "**/test/"
- "**/tests/"
- "**/vendor/"
- "**/*.d.ts"
- babel.config.js
- lib/app_packages_catalog.rb
#- app/javascript/**/*
13 changes: 13 additions & 0 deletions .docker-files/deps.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
set -x

# Install Dependencies
apt-get update -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends \
build-essential \
gnupg2 \
curl \
less \
git \
vim \
imagemagick \
zlib1g-dev
13 changes: 13 additions & 0 deletions .docker-files/node.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
set -x

# Add NodeJS to sources list
curl -sL https://deb.nodesource.com/setup_$NODE_MAJOR.x | bash -

# Add Yarn to the sources list
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& echo 'deb http://dl.yarnpkg.com/debian/ stable main' > /etc/apt/sources.list.d/yarn.list

# Install NodeJS, Yarn
apt-get update -qq && \
DEBIAN_FRONTEND=noninteractive apt-get install -yq nodejs \
yarn=$YARN_VERSION-1
10 changes: 10 additions & 0 deletions .docker-files/pg.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
set +x

# Add PostgreSQL to sources list
curl -sSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
&& echo 'deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main' $PG_MAJOR > /etc/apt/sources.list.d/pgdg.list

# Install PostgreSQL client and libs
apt-get update -qq && \
DEBIAN_FRONTEND=noninteractive apt-get install -yq libpq-dev \
postgresql-client-$PG_MAJOR
1 change: 1 addition & 0 deletions .dockerdev/.bashrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alias be="bundle exec"
27 changes: 27 additions & 0 deletions .dockerdev/.psqlrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
-- Don't display the "helpful" message on startup.
\set QUIET 1

-- Allow specifying the path to history file via `PSQL_HISTFILE` env variable
-- (and fallback to the defaukt $HOME/.psql_history otherwise)
\set HISTFILE `[[ -z $PSQL_HISTFILE ]] && echo $HOME/.psql_history || echo $PSQL_HISTFILE`

-- Show how long each query takes to execute
\timing

-- Use best available output format
\x auto

-- Verbose error reports
\set VERBOSITY verbose

-- If a command is run more than once in a row,
-- only store it once in the history
\set HISTCONTROL ignoredups
\set COMP_KEYWORD_CASE upper

-- By default, NULL displays as an empty space. Is it actually an empty
-- string, or is it null? This makes that distinction visible
\pset null '[NULL]'

\unset QUIET
© 2020 GitHub, Inc.
1 change: 1 addition & 0 deletions .dockerdev/Aptfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vim
43 changes: 43 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Ignore bundler config.
/.bundle
.sass-cache
.DS_STORE

# Ignore the default SQLite database.
/db/*.sqlite3
/db/*.sqlite3-journal

# Ignore all logfiles and tempfiles.
/log/*
/tmp/*
!/log/.keep
!/tmp/.keep

# Ignore uploaded files in development
/storage/*

/node_modules
/yarn-error.log

/public/assets
.byebug_history

# Ignore master key for decrypting credentials and more.
/config/master.key
/public/packs-test
/node_modules
yarn-debug.log*
.yarn-integrity


# Ignore Byebug command history file.
.byebug_history

# Ignore .git as it's not needed with the docker built.
.git
.cache

.env
.env.*
.envrc

23 changes: 23 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

HOST=http://localhost:3000
ASSET_HOST=http://localhost:3000
WS=ws://localhost:3000/cable

SNS_CONFIGURATION_SET=metrics

SES_ADDRESS=email-smtp.us-east-1.amazonaws.com
SES_USER_NAME=
SES_PASSWORD=

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=

AWS_S3_BUCKET=
AWS_S3_REGION=us-east-1

FULLCONTACT_TOKEN=

ADMIN_EMAIL=admin@example.com
ADMIN_PASSWORD=password

DEFAULT_SENDER_EMAIL=admin@example
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
app/javascript/src/graphql/*.js
spec/cypress/integration/*.js
*.mjs
app/javascript/src/styles/tailwind.js
app/javascript/src/serviceWorker.js
58 changes: 58 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
module.exports = {
env: {
browser: true,
es6: true,
},
parser: 'babel-eslint',
'import/parsers': {
'typescript-eslint-parser': ['.ts', '.tsx'],
},
extends: ['eslint:recommended', 'plugin:react/recommended'],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 2018,
sourceType: 'module',
},
plugins: ['react', 'unused-imports'],
globals: {
I18n: 'readonly',
Paddle: 'readonly',
mapboxgl: 'readonly',
},
rules: {
'react/jsx-no-duplicate-props': 'off',
'react/jsx-no-duplicate': 'off',
'react/display-name': 'off',
'no-fallthrough': 'off',
'no-case-declarations': 'off',
'brace-style': [2, '1tbs', { allowSingleLine: true }],
'no-unused-vars': 'off', // or "@typescript-eslint/no-unused-vars": "off",
'unused-imports/no-unused-imports': 'error',
'unused-imports/no-unused-vars': [
'warn',
{
vars: 'all',
varsIgnorePattern: '^_',
args: 'after-used',
argsIgnorePattern: '^_',
},
],
'react/prop-types': 0,
},

/*"overrides": [
{
"files": ['./app/javascript/*.js'],
"excludedFiles": "./app/javascript/src/graphql/*.js",
"rules": {
"quotes": ["error", "single"]
}
}
]*/
};
17 changes: 17 additions & 0 deletions .github/.stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
# Label to use when marking an issue as stale
staleLabel: wontfix
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Ask a question
url: https://github.com/chaskiq/chaskiq/discussions
about: Ask questions and discuss with other community members
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.