Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
9747a82
added space selector page Search pending
ashu75575 Mar 11, 2023
e3bda76
completed space selector component
ashu75575 Mar 14, 2023
e3c9b8e
added changes to ui to match figma
ashu75575 Mar 14, 2023
990bb9b
fixed hovering issues
ashu75575 Mar 14, 2023
e660502
change space avatar src favico to logo
ashu75575 Mar 14, 2023
975e70b
formatted the code
ashu75575 Mar 14, 2023
517a424
remove console.log
ashu75575 Mar 14, 2023
9de9e63
fixed changes in sidebar
ashu75575 Mar 16, 2023
fb21393
update to ant latest and cleaned code
ashu75575 Mar 16, 2023
b9404f3
added require changes
ashu75575 Mar 17, 2023
b85a532
fixed positionig of empty component
ashu75575 Mar 17, 2023
f5888da
add redesing changes to pages and posts page
ishpaul777 Mar 22, 2023
68c009c
fixedd l issues with pages index composnent
ishpaul777 Mar 23, 2023
135214e
fixed issue with reset of update fields and publish date issue
ishpaul777 Mar 24, 2023
e74d5f1
completed redesign for categories
ishpaul777 Mar 24, 2023
73a451f
added redesign changes acc. to figma in categories and fixed other mi…
ishpaul777 Mar 27, 2023
0128cef
format code
ishpaul777 Mar 27, 2023
b43fc30
REMOVE LOG
ishpaul777 Mar 27, 2023
1783ef9
fix sidebar style issue
ishpaul777 Mar 27, 2023
d76f723
added changes to tags pages
ishpaul777 Mar 28, 2023
78c4b70
fixed error with date utils, added chages in media pages fixed respon…
ishpaul777 Mar 29, 2023
658ac6f
fixed responsiveness issues and updated colors across pages
ishpaul777 Mar 30, 2023
b7abba8
added design changes to post edit pags
ishpaul777 Apr 2, 2023
4005506
added editing changes
ishpaul777 Apr 3, 2023
7b3386a
added editing changes
ishpaul777 Apr 3, 2023
b7278ad
added require chanages
ishpaul777 Apr 3, 2023
65945fc
fixed linter errors
ishpaul777 Apr 3, 2023
38fba1c
fixed media padding and colors, index pages table responsiveness and …
ishpaul777 Apr 5, 2023
1877e0d
fixed issue with table responsiveness
ishpaul777 Apr 6, 2023
b62009f
fixed responsive issue with edit pages
ishpaul777 Apr 6, 2023
ce0cf37
foxed layouts for ndex pages
ishpaul777 Apr 10, 2023
bdf8ba4
fixed issues with core pages and rfactor claims claimants factechecki…
ashu75575 Apr 11, 2023
d5263de
fixed issues of redirect after delete and close modal after delete
ashu75575 Apr 13, 2023
547994f
fix issues delete flow and bg modal
ashu75575 Apr 14, 2023
99f91e0
fixed ratings header
ashu75575 Apr 14, 2023
6176421
added code formatting
ashu75575 Apr 14, 2023
ae5119a
refactor sach and google pages
ashu75575 Apr 15, 2023
f4bf564
formatting changes
ashu75575 Apr 15, 2023
2d11db8
fixed table responsiveness in claims and ratings
ashu75575 Apr 17, 2023
0facb49
refactor rating edit page and podcasts pages
ashu75575 Apr 17, 2023
8c1631f
formatting
ashu75575 Apr 17, 2023
e3f4498
fixed fetching podcasts
ashu75575 Apr 17, 2023
d1023c8
fixed responsiveness issues and refactor episode pages ui
ashu75575 Apr 18, 2023
945e34a
code formatting
ashu75575 Apr 18, 2023
41c5f43
fix issue with filters in claims page
ashu75575 Apr 19, 2023
e1bc169
added settings page and refactored routes across pages for members ,w…
ashu75575 Apr 19, 2023
45ad6a2
code formattign
ashu75575 Apr 19, 2023
777d9a2
removed the setting option from sidebar
ashu75575 Apr 19, 2023
0af741e
refactor branding/general and navigation pages
ashu75575 Apr 20, 2023
b610e62
code fomatting
ashu75575 Apr 20, 2023
4614ee3
refactor code-injection and analytics page
ashu75575 Apr 20, 2023
764625c
refactor for responsiveness of website setting pages
ashu75575 Apr 21, 2023
a30be50
code formatting
ashu75575 Apr 21, 2023
1c26961
refactor for policies pages
ashu75575 Apr 21, 2023
48486a6
code formatting
ashu75575 Apr 21, 2023
9bc359b
refactoor for roles pages and policy responsiveness
ashu75575 Apr 21, 2023
62b9fd4
code formatting
ashu75575 Apr 21, 2023
485ea61
refactor advance setting pages and fix for require changes
ashu75575 Apr 24, 2023
a40f70b
code formatting
ashu75575 Apr 24, 2023
3c25549
implemented search for settings
ashu75575 Apr 25, 2023
035cd6d
refactor for admin page
ishpaul777 Apr 26, 2023
6b9674c
fixed delete modal issue in spaces
ishpaul777 Apr 26, 2023
f121b2b
table responsiveness fixed
ishpaul777 May 1, 2023
022be0d
mobile side nav menu
ishpaul777 Apr 28, 2023
32704e2
code formatting
ishpaul777 May 1, 2023
c7a4e80
added link to setting page in mobilesidebar
ishpaul777 May 1, 2023
f1b4c1e
fix responsiveness of request and space forms
ishpaul777 May 1, 2023
c81d494
refactor for profile --unchecked
ishpaul777 May 1, 2023
4bda6e1
replace moment with dayjs
ishpaul777 May 2, 2023
b02fca4
fix layout of profile page
ishpaul207 May 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"image":"mcr.microsoft.com/devcontainers/universal:2"}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,6 @@ server/server
*.db
dist/

*.sqlite
*.sqlite

setupConfig.sh
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ Once the application is up and running you should be able to access it using the

- Create config file with name config (and extension .env, .yml, .json) in `server/`, `api/` and `templates/` add config variables (for eg see config.env.example in each folder)
- Create a `.env` file inside companion folder in root for companion config variables (for eg see .env.example file in companion folder)
git fetch upstream
55 changes: 55 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
ROOT_CONFIG_ENV=config.env
KAVACH_CONFIG_ENV=kavach-config.env
COMPANION_ENV=companion/.env
API_CONFIG=api/config.env
SERVER_CONFIG=server/config.env
TEMPLATE_CONFIG=templates/config.env


# Copy config/config.env.example to config.env if it does not exist
if [ -f "$ROOT_CONFIG_ENV" ]; then
echo "Skipping copying config/config.env. File exists already."
else
cp config.env.example config.env
echo "Copied config.env.example to config.env."
fi

# Copy config/kavach-config.env.example to kavach-config.env if it does not exist
if [ -f "$KAVACH_CONFIG_ENV" ]; then
echo "Skipping copying config/kavach-config.env. File exists already."
else
cp kavach-config.env.example kavach-config.env
echo "Copied config/kavach-config.env.example to kavach-config.env."
fi

# Copy companion/.env.example to companion/.env if it does not exist
if [ -f "$COMPANION_ENV" ]; then
echo "Skipping copying companion/.env. File exists already."
else
cp companion/.env.example companion/.env
echo "Copied companion/.env.example to companion/.env."
fi

# Copy api/config.env.example to api/config.env if it does not exist
if [ -f "$API_CONFIG" ]; then
echo "Skipping copying api/config.env. File exists already."
else
cp api/config.env.example api/config.env
echo "Copied api/config.env.example to api/config.env."
fi

# Copy server/config.env.example to server/config.env if it does not exist
if [ -f "$SERVER_CONFIG" ]; then
echo "Skipping copying server/config.env. File exists already."
else
cp server/config.env.example server/config.env
echo "Copied server/config.env.example to server/config.env."
fi

# Copy template/config.env.example to template/config.env if it does not exist
if [ -f "$TEMPLATE_CONFIG" ]; then
echo "Skipping copying templates/config.env. File exists already."
else
cp templates/config.env.example templates/config.env
echo "Copied templates/config.env.example to templates/config.env."
fi
14 changes: 7 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ services:
image: oryd/keto:v0.9.0-alpha.0
ports:
- "4466:4466" # read
- "4467:4467" # write
- "4467:4467" # write
- "4468:4468" # metric
environment:
- LOG_LEVEL=debug
Expand Down Expand Up @@ -253,7 +253,7 @@ services:
- KAVACH_KETO_READ_API_URL=http://keto:4466
- KAVACH_KETO_WRITE_API_URL=http://keto:4467
- KAVACH_KRATOS_ADMIN_URL=http://kratos:4434
- KAVACH_KRATOS_PUBLIC_URL=http://kratos:4433
- KAVACH_KRATOS_PUBLIC_URL=http://kratos:4433
- KAVACH_MODE=development
- KAVACH_USE_SQLITE=false
- KAVACH_SQLITE_DB_PATH=kavach.db
Expand All @@ -263,7 +263,7 @@ services:
- KAVACH_MANDE_HOST=http://mande.factly.in
- KAVACH_DYNAMIC_MANDE_TEMPLATE_ID=1
- KAVACH_DYNAMIC_SENDGRID_API_KEY=SENDGRID_API_KEY
- KAVACH_ENABLE_MULTITENANCY=false
- KAVACH_ENABLE_MULTITENANCY=true
- KAVACH_DISABLE_REGISTRATION=false
- KAVACH_APPLICATION_NAME=Kavach
- KAVACH_DEFAULT_USER_EMAIL=dega@newchecker.in
Expand Down Expand Up @@ -297,7 +297,7 @@ services:
- KAVACH_KETO_READ_API_URL=http://keto:4466
- KAVACH_KETO_WRITE_API_URL=http://keto:4467
- KAVACH_KRATOS_ADMIN_URL=http://kratos:4434
- KAVACH_KRATOS_PUBLIC_URL=http://kratos:4433
- KAVACH_KRATOS_PUBLIC_URL=http://kratos:4433
- KAVACH_MODE=development
- KAVACH_USE_SQLITE=false
- KAVACH_SQLITE_DB_PATH=kavach.db
Expand Down Expand Up @@ -328,17 +328,17 @@ services:
target: /app/public/config.js

environment:
- PUBLIC_URL=http://127.0.0.1:4455/.factly/kavach/web
- PUBLIC_URL=http://127.0.0.1:4455/.factly/kavach/web
- REACT_APP_PUBLIC_URL='http://127.0.0.1:4455/.factly/kavach/web';
- REACT_APP_KAVACH_TITLE='FACTLY';
- REACT_APP_COMPANION_URL='http://127.0.0.1:3020';
- REACT_APP_API_URL='http://127.0.0.1:4455/.factly/kavach/server';
- REACT_APP_KRATOS_PUBLIC_URL='http://127.0.0.1:4455/.ory/kratos/public';
- REACT_APP_ENABLE_MULTITENANCY='false';
- REACT_APP_ENABLE_MULTITENANCY='true';
- REACT_APP_DISABLE_REGISTRATION=false;
- REACT_APP_REDIRECT_SINGLE_APPLICATION_USERS=true;
- REACT_APP_LOGO_URL='https://images.factly.in/login/applications/logos/factly.png?rs:fill/h:60';
- REACT_APP_ENABLE_IMGPROXY=false;
- REACT_APP_ENABLE_IMGPROXY=false;
restart: unless-stopped
networks:
- dega
Expand Down
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions server/config.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ MODE=development
# dependencies services
KAVACH_URL=http://kavach-server:8000
IMAGEPROXY_URL=http://127.0.0.1:7001
KETO_URL=http://keto:4466
KETO_READ_API_URL=http://keto:4466
NATS_URL=http://nats:4222
KRATOS_PUBLIC_URL=http://kratos:4433
IFRAMELY_URL=http://iframely:8061
Expand All @@ -12,11 +12,11 @@ OATHKEEPER_HOST=oathkeeper:4455
GOOGLE_KEY=GOOGLE_KEY # for google fact checks search

# database params
DATABASE_HOST=postgres
DATABASE_HOST=postgres
DATABASE_USER=postgres
DATABASE_PASSWORD=postgres
DATABASE_NAME=dega
DATABASE_PORT=5432
DATABASE_NAME=dega
DATABASE_PORT=5432
DATABASE_SSL_MODE=disable

# set this to true if want to use sqlite db
Expand All @@ -43,4 +43,4 @@ NATS_USER_NAME=natsuser
NATS_USER_PASSWORD=natspassword
HUKZ_URL=http://hukz:8000

ORGANISATION_PERMISSION_ENABLED=false
ORGANISATION_PERMISSION_ENABLED=false
Loading