Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

Fix audio issues #1098

Open
wants to merge 340 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
340 commits
Select commit Hold shift + click to select a range
cc9a9a6
Migrate more scss to styled components (#870)
mmahalwy Oct 11, 2017
9866af5
Events constants and logging (#877)
mmahalwy Oct 13, 2017
ad05804
Clean up Dockerfile (#879)
ahmedre Oct 14, 2017
c69653c
Adding persian language
kakajan Oct 26, 2017
48328eb
Persian file has been translated from English file
kakajan Oct 26, 2017
9fd479b
Just added fa: 'فارسی' to config
kakajan Oct 26, 2017
7c89055
Merge pull request #884 from kakajan/patch-1
naveed-ahmad Oct 26, 2017
80970a8
Merge branch 'master' into master
naveed-ahmad Oct 26, 2017
687b779
Merge pull request #883 from kakajan/master
naveed-ahmad Oct 26, 2017
87f9dd6
Remove more SCSS and adding storybook for better component developing…
mmahalwy Nov 11, 2017
8626c6d
Cross env for windows (#889)
mmahalwy Nov 11, 2017
37cbf69
Moving test suite to jest (#881)
mmahalwy Nov 12, 2017
89e76c0
Adding PR Template (#892)
mmahalwy Nov 12, 2017
3e9f0cb
Use prop-types for PropTypes (#891)
mmahalwy Nov 15, 2017
08de2df
ui improvements for share and side bar
thabti Nov 19, 2017
6d4dff1
Update index.js
thabti Nov 19, 2017
5e7e606
Update server.js
thabti Nov 19, 2017
6ad81be
Upgrading to react-router 4 (#893)
mmahalwy Nov 28, 2017
bfaed76
Merge branch 'master' into divehi_font
naveed-ahmad Nov 28, 2017
cd733ce
Merge branch 'master' into ui-improvements
naveed-ahmad Nov 28, 2017
7dc6192
added issue template #896
naveed-ahmad Nov 29, 2017
16f7390
fixed translation text
naveed-ahmad Nov 29, 2017
c0e400b
Merge pull request #900 from quran/issue_template
naveed-ahmad Nov 29, 2017
df1c95b
Merge branch 'master' into translation_text
naveed-ahmad Nov 29, 2017
662838d
Merge branch 'master' into divehi_font
naveed-ahmad Nov 29, 2017
41be7e4
Merge branch 'master' into ui-improvements
naveed-ahmad Nov 29, 2017
257efda
Merge pull request #901 from quran/translation_text
naveed-ahmad Nov 29, 2017
032d937
Merge branch 'master' into ui-improvements
naveed-ahmad Nov 29, 2017
213fd63
Merge branch 'master' into divehi_font
naveed-ahmad Nov 29, 2017
59041a1
Merge pull request #864 from quran/divehi_font
naveed-ahmad Nov 29, 2017
bf30584
Merge branch 'master' into ui-improvements
naveed-ahmad Nov 29, 2017
1f09a5a
Merge pull request #895 from quran/ui-improvements
naveed-ahmad Nov 29, 2017
83bef36
Move fonts css to be javascript
mmahalwy Dec 4, 2017
b72c690
Merge pull request #903 from quran/fonts-in-html
naveed-ahmad Dec 5, 2017
3902930
Fix up Home container
mmahalwy Dec 12, 2017
5600a10
Some cleanups on components
mmahalwy Dec 12, 2017
521daf3
Merge pull request #907 from quran/me--fixing-up-home-container
naveed-ahmad Dec 13, 2017
d03ee40
Merge branch 'master' into me--cleaning-up-some-components
naveed-ahmad Dec 14, 2017
5a2b5d0
RRv4 checks and navbar components added to App (#904)
mmahalwy Dec 17, 2017
492871e
POC of using redux-actions and redux-define (#909)
mmahalwy Dec 17, 2017
c830773
Merge branch 'master' into me--cleaning-up-some-components
mmahalwy Dec 17, 2017
e82cadd
Bump node to 8.9 and remove yarn (#910)
mmahalwy Dec 17, 2017
4198881
Merge branch 'master' into me--cleaning-up-some-components
mmahalwy Dec 17, 2017
2315145
Merge pull request #908 from quran/me--cleaning-up-some-components
naveed-ahmad Dec 19, 2017
8e40263
Write more tests (#911)
mmahalwy Dec 21, 2017
9b35e2b
Migrate more reducers and actions to redux actions and define (#916)
mmahalwy Dec 25, 2017
c4e4e58
Fix modules/reducer bug (#918)
mmahalwy Dec 30, 2017
3c5cca0
Remove unused files (#919)
mmahalwy Dec 31, 2017
d56b47f
Remove user and bookmarks, move to isomorphic fetch (#920)
mmahalwy Jan 1, 2018
0abf666
use circle-ci to fun test(#928)
thabti Jan 21, 2018
4512c26
proposal for the player
thabti Jan 15, 2018
e936347
update lint-staged
thabti Jan 15, 2018
50ec818
package-lock
thabti Jan 15, 2018
41b845b
add support keyoard control, and fix click ahead on player
thabti Jan 21, 2018
6ffe808
add support keyoard control, and fix click ahead on player
thabti Jan 21, 2018
77574b3
Delete .travis.yml
thabti Feb 3, 2018
0ede7ee
Breakdown modules further (#937)
mmahalwy Feb 7, 2018
e56608f
Fix storybook with react-router (#938)
mmahalwy Mar 2, 2018
aeb865e
Change readme to remove the slack link
mmahalwy Mar 17, 2018
256cd2b
Merge branch 'master' into me--remove-slack-link
naveed-ahmad Mar 17, 2018
63ca083
Remove bootstrap-loader and use bootstrap directly
mmahalwy Mar 18, 2018
a62af49
remove unused configs
mmahalwy Mar 18, 2018
511ed9f
Return 404 when no routes found (#936)
mmahalwy Mar 18, 2018
2f1c8d2
Merge branch 'master' into me--remove-slack-link
mmahalwy Mar 18, 2018
69f33a9
Merge pull request #942 from quran/me--remove-slack-link
naveed-ahmad Mar 18, 2018
045f988
Merge branch 'master' into me--remove-bootstrap-loader
naveed-ahmad Mar 18, 2018
7794c9f
Merge pull request #943 from quran/me--remove-bootstrap-loader
naveed-ahmad Mar 18, 2018
b1366b0
Remove babel-typecheck (#945)
mmahalwy Mar 18, 2018
6067be0
[fix] quran verse not showing on share (#939)
Dhul-Husni Mar 20, 2018
471e396
Bump webpack and loader versions
mmahalwy Mar 21, 2018
3a36884
bump loaders
mmahalwy Mar 21, 2018
7b0ba1a
remove unneeded packages
mmahalwy Mar 21, 2018
938e292
fix scripts
mmahalwy Mar 21, 2018
e3457f1
circle
mmahalwy Mar 21, 2018
3cea9f3
fix
mmahalwy Mar 21, 2018
42207d5
[Feature] migrate to circle ci 2.0
Dhul-Husni Mar 23, 2018
7d5eb0f
Merge pull request #952 from quran/me--webpack-on-server
naveed-ahmad Mar 23, 2018
284212d
[chore] migrating circle ci from 1.0 to 2.0
Dhul-Husni Mar 23, 2018
42e0c04
[Feature] merge upstream
Dhul-Husni Mar 24, 2018
4ec8e6c
[Feature] add circle to master
Dhul-Husni Mar 24, 2018
8f94bc2
[chore] Push empty commit
Dhul-Husni Mar 24, 2018
e1cfc43
Merge branch 'chore/migrate-circle-ci-latest' of https://github.com/D…
Dhul-Husni Mar 24, 2018
033c34c
Merge branch 'Dhul-Husni-chore/migrate-circle-ci-latest'
thabti Mar 25, 2018
1f0a04a
Move chapter info to container (#962)
mmahalwy Mar 26, 2018
e9d1220
fixed blocking loader, switched default translation to Clear Quran wi…
naveed-ahmad Mar 27, 2018
b72ce8c
tyring to fix ALL console warnings
naveed-ahmad Mar 27, 2018
bab4798
fixed color of repeate toggle
naveed-ahmad Mar 27, 2018
d81b375
#652 show start juz sign for every new juz beginning
Dhul-Husni Mar 20, 2018
f29cab7
[Feature #652 ] Create Mockup sign for juz
Dhul-Husni Mar 21, 2018
cd88436
[Feature] Start custom styling
Dhul-Husni Mar 22, 2018
5ac44b3
[Feature #652] Finish juz Mark
Dhul-Husni Mar 22, 2018
f513b0a
[Feature #652] Add tests
Dhul-Husni Mar 22, 2018
f96ed0b
#652 show start juz sign for every new juz beginning
Dhul-Husni Mar 20, 2018
5218a1d
[Feature #652 ] Create Mockup sign for juz
Dhul-Husni Mar 21, 2018
e184732
[Feature] Start custom styling
Dhul-Husni Mar 22, 2018
fe272c8
[Feature #652] Finish juz Mark
Dhul-Husni Mar 22, 2018
23c09a6
[chore #652] mock svg for testing
Dhul-Husni Mar 23, 2018
4532f33
[chore #652] circle ci build failing but fine locally
Dhul-Husni Mar 23, 2018
b34be4b
[Feature #652] update dependency
Dhul-Husni Mar 23, 2018
cd57ee8
[Feature #652] update dependency
Dhul-Husni Mar 23, 2018
7863742
[Feature #652] update ci
Dhul-Husni Mar 23, 2018
19a8cb3
[Feature] use ci 2.0
Dhul-Husni Mar 23, 2018
0a12d9b
[Feature #652] add comments
Dhul-Husni Mar 23, 2018
9880b93
[Chore] rebase
Dhul-Husni Mar 23, 2018
fb60987
[Feature #652] add internationalization and fix bug
Dhul-Husni Mar 23, 2018
6e261e7
[Feature] rebase
Dhul-Husni Mar 25, 2018
966d9cd
[Chore] Trigger circle ci
Dhul-Husni Mar 25, 2018
49be8d2
[Chore #652] implement feedback
Dhul-Husni Mar 26, 2018
4299467
[Feature] build
Dhul-Husni Mar 26, 2018
fa3710e
remove identity-obj-proxy
Dhul-Husni Mar 26, 2018
bc67ff9
[chore] remove identity object proxy
Dhul-Husni Mar 26, 2018
81036da
[chore] convert em to px
Dhul-Husni Mar 27, 2018
763368f
[chore] rebase
Dhul-Husni Mar 27, 2018
139cfb1
[Feature] use px
Dhul-Husni Mar 27, 2018
17f716e
Update config.yml
Dhul-Husni Mar 27, 2018
010b57c
added loader for juz tab
naveed-ahmad Mar 27, 2018
5975f92
fixed scroll button in player
naveed-ahmad Mar 27, 2018
ee119bd
replaced scroll with toggle
naveed-ahmad Mar 27, 2018
fc094ff
renamed Surah to Chapter, fixed aayat ul kursi and wip on player
naveed-ahmad Mar 28, 2018
44f29a7
fixed verse dropdown, and route filters which were causing infinite r…
naveed-ahmad Mar 28, 2018
f9112a4
upgraded quran component to 0.1.3
naveed-ahmad Mar 28, 2018
4346364
removed test code
naveed-ahmad Mar 28, 2018
5ffd2b0
fixed the specs
naveed-ahmad Mar 29, 2018
8519ce5
Merge pull request #963 from quran/loader_issues
naveed-ahmad Mar 29, 2018
d9c33b1
[chore] Merge from upstream
Dhul-Husni Mar 30, 2018
3497031
Merge pull request #960 from Dhul-Husni/master
naveed-ahmad Mar 31, 2018
c32ff35
Merge branch 'master' of github.com:quran/quran.com-frontend into fea…
naveed-ahmad Mar 31, 2018
1109436
Merge pull request #925 from quran/feature/make-player-full-width
naveed-ahmad Mar 31, 2018
53bcb52
[Bug] change tooltips / fix bug
Dhul-Husni Apr 3, 2018
6a2f5cb
Merge pull request #966 from Dhul-Husni/bug/fix-tooltip-bug
naveed-ahmad Apr 7, 2018
c4e2d99
Many changes to get webpack for server and client (#969)
mmahalwy Apr 28, 2018
8507bdd
Cleanups to proptypes and shapes (#971)
mmahalwy Apr 30, 2018
967736e
Cleanup SSR (#970)
mmahalwy May 2, 2018
787fdea
Fix happypack path
mmahalwy May 5, 2018
b95d6ed
build dev
mmahalwy May 5, 2018
40b8083
build again
mmahalwy May 6, 2018
de64b0f
make it actually work
mmahalwy May 6, 2018
30b8629
added blog link to the global sidebar
May 6, 2018
7d440ea
Update README.md
hamzeen May 6, 2018
c409aac
removed trailing commas
hamzeen May 6, 2018
f48f690
removed trailing commas
hamzeen May 6, 2018
0675cc1
removed trailing commas
hamzeen May 6, 2018
6f39483
removed trailing commas
hamzeen May 6, 2018
04f32ca
Update en.js
hamzeen May 6, 2018
bb0fe0c
Update fa.js
hamzeen May 6, 2018
e0db882
Update ur.js
hamzeen May 6, 2018
eea3921
Update tr.js
hamzeen May 6, 2018
267e238
Update sq.js
hamzeen May 6, 2018
ab8c875
Update nl.js
hamzeen May 6, 2018
c2c1626
Update id.js
hamzeen May 6, 2018
262dc36
Update fr.js
hamzeen May 6, 2018
ae5eeea
Merge pull request #973 from hamzeen/patch-1
naveed-ahmad May 6, 2018
86e5bfd
Merge pull request #972 from quran/me--fix-path
naveed-ahmad May 6, 2018
ae1e93d
added urdu translation of blog
hamzeen May 6, 2018
0cdc31e
added arabic translation for 'blog'
hamzeen May 6, 2018
06fd6b0
Persian translation for 'blog'
hamzeen May 6, 2018
5e2db58
Remove tilt donations link
mmahalwy May 9, 2018
8bad589
Add assets-1f14.kxcdn.com to font csp (#976)
mmahalwy May 11, 2018
0a9d9f1
cloned the updated project
ahmedSDev May 18, 2018
53f68e4
upgraded react-metrics to 2.4.1
naveed-ahmad May 18, 2018
b1b0363
Merge pull request #981 from quran/fix_metrics
naveed-ahmad May 18, 2018
6e6d784
pulling latest
ahmedSDev May 19, 2018
06d4d32
pulling latest
ahmedSDev May 20, 2018
c28a66f
Merge branch 'master' of github.com:quran/quran.com-frontend into fix…
ahmedSDev May 20, 2018
f3f833d
removed the key that did not existed in the first place. It plays the…
May 25, 2018
b2ca914
reverted back to https
May 25, 2018
4c9efec
Remove CSS prefix from styled components (#987)
zainfathoni Jun 4, 2018
e8472f4
Merge branch 'master' into fix/audioPlayer
naveed-ahmad Jun 8, 2018
f23b34f
Merge pull request #984 from AhmedShab/fix/audioPlayer
naveed-ahmad Jun 8, 2018
65fa933
Merge pull request #977 from quran/me--remove-tilt-link
naveed-ahmad Jun 8, 2018
8c41729
Merge pull request #974 from hamzeen/feature/blog-link
naveed-ahmad Jun 8, 2018
bc544c0
added qurancdn and quranicaudio to scp media-src
naveed-ahmad Jul 17, 2018
dff2329
added audio cdn url, and fixed audio files loading
naveed-ahmad Jul 17, 2018
cc815c6
fixed wbw audio url
naveed-ahmad Jul 17, 2018
143778a
load cdn url from env. So much for simple change :(
naveed-ahmad Jul 19, 2018
fe62a83
Merge pull request #993 from quran/audio_file_cdn
naveed-ahmad Jul 19, 2018
e453234
Fixing Nexxt Surah issue
bahaa96 Jul 19, 2018
0abd2bc
Merge pull request #998 from bahaa96/master
naveed-ahmad Jul 20, 2018
c546142
Fix p120 Font
aliasaria Aug 11, 2018
e65c4fc
Quran frontend v2 (#1005)
mmahalwy Aug 30, 2018
3e89bf4
Consolidate app wide meta tags into component
mmahalwy Aug 30, 2018
2be3d1b
Remove unneeded test files (#1022)
mmahalwy Aug 30, 2018
d26fea7
Merge branch 'master' into me--app-wide-helmet
naveed-ahmad Aug 30, 2018
33a275a
Merge pull request #1023 from quran/me--app-wide-helmet
naveed-ahmad Aug 30, 2018
4fb99c4
Fix assets.json bug for dev
mmahalwy Aug 31, 2018
c5b1a3d
Merge pull request #1024 from quran/me--fix-assets-json
naveed-ahmad Aug 31, 2018
2c6d6f6
Use assets plugin (#1025)
mmahalwy Sep 3, 2018
fa98e13
Creating new navbar and remove bootstrap navbar (#1026)
mmahalwy Sep 3, 2018
bc36f8e
Add footnotes to verses
mmahalwy Sep 3, 2018
bb4b628
Merge pull request #1028 from quran/me--add-footnotes
naveed-ahmad Sep 3, 2018
c9d8fcd
Staging broken due to scripts not loading
mmahalwy Sep 9, 2018
3601ed0
try now?
mmahalwy Sep 9, 2018
962d31e
go strong on devtools
mmahalwy Sep 9, 2018
de973fd
allow zendesk
mmahalwy Sep 9, 2018
e3d947a
allow zendesk
mmahalwy Sep 9, 2018
cc67ac7
new zendesk widget
mmahalwy Sep 9, 2018
75b350b
strong sourcemapping
mmahalwy Sep 9, 2018
48ef164
next csp
mmahalwy Sep 9, 2018
9b08731
better sourcemap
mmahalwy Sep 9, 2018
61c5e0c
try babel-plugin
mmahalwy Sep 9, 2018
582f0ae
most recent styled-components
mmahalwy Sep 9, 2018
b774099
Fix the audioplayer calls
mmahalwy Sep 9, 2018
f180b90
zendesk id
mmahalwy Sep 9, 2018
b125952
Merge pull request #1030 from quran/me--fix-staging
naveed-ahmad Sep 9, 2018
a4679ae
Fixing Night Mode
bahaa96 Sep 17, 2018
6c40ec4
Moving some classes to styled-copmonents and changing the logo image …
bahaa96 Sep 18, 2018
58081f2
Fixing tests fail
bahaa96 Sep 18, 2018
9165198
Merge pull request #1033 from bahaa96/night-mode
naveed-ahmad Sep 18, 2018
df8a084
Prettifying my code with Prettier
bahaa96 Sep 20, 2018
55e6f3c
Merge branch 'master' into night-mode
naveed-ahmad Sep 21, 2018
5f59033
Merge pull request #1035 from bahaa96/night-mode
naveed-ahmad Sep 21, 2018
2aa1705
Fixing the black color while playing issue
bahaa96 Sep 24, 2018
c26c625
Fixing unit testing
bahaa96 Sep 24, 2018
8544f31
Merge pull request #1036 from bahaa96/night-mode
naveed-ahmad Oct 1, 2018
a801307
Ensure suggestions is an array and close autocomplete on search
nabeel- Oct 11, 2018
61828aa
add test for `ar`
imranariffin Nov 17, 2018
66754b6
add missing Arabic translations (google translate)
imranariffin Nov 18, 2018
f1fa8c0
Merge pull request #1052 from imranariffin/fix/imran--test-locales
naveed-ahmad Nov 18, 2018
e103f25
Added italian language
D0xzen Nov 25, 2018
1dded55
Merge pull request #1054 from D0xzen/feature/addingItalianLanguage
naveed-ahmad Nov 25, 2018
60aef11
Ensure camelcaseKeys is never passed a non-object (#1049)
nabeel- Nov 30, 2018
37e3b12
added 'hidden' text madani #949
naveed-ahmad Dec 2, 2018
6949906
Merge pull request #1055 from quran/text_select
naveed-ahmad Jan 19, 2019
868265c
Share icons to be inline (#1062)
Skillz4Killz Jan 28, 2019
0799275
some fix on persian translation
JohnAdib Jan 31, 2019
d6fc14c
Merge pull request #1065 from evazzadeh/master
naveed-ahmad Jan 31, 2019
1d5ca10
Merge branch 'master' into neh_qol-search
naveed-ahmad Jan 31, 2019
0ce2931
Merge pull request #1040 from nabeel-/neh_qol-search
naveed-ahmad Jan 31, 2019
e159312
generate cleanup
mmahalwy Feb 10, 2019
806adeb
Merge pull request #1067 from quran/me--general-cleanup
naveed-ahmad Feb 11, 2019
f1d2b04
updated default translation, fixed wbw audio
naveed-ahmad Feb 11, 2019
be4af49
rollback the api rul
naveed-ahmad Feb 11, 2019
7ac755d
add local name to use language specific font when rendering the local…
naveed-ahmad Feb 11, 2019
e53520e
fixed UX of juz tab
naveed-ahmad Feb 11, 2019
515288a
Merge pull request #1069 from quran/word-audio
naveed-ahmad Feb 11, 2019
dedea85
fixed font for wbw translation
naveed-ahmad Feb 11, 2019
55994d0
Merge branch 'master' into juz_tab
naveed-ahmad Feb 11, 2019
09da596
linting
naveed-ahmad Feb 11, 2019
c79cafe
Merge pull request #1071 from quran/juz_tab
naveed-ahmad Feb 11, 2019
9c1a8b1
Merge branch 'master' into fix/fix-p120-font
naveed-ahmad Feb 15, 2019
60273b5
Merge pull request #1012 from aliasaria/fix/fix-p120-font
naveed-ahmad Feb 15, 2019
f838aef
fixed ayah number and sakoon glyphs
naveed-ahmad Feb 15, 2019
95582f2
Revert "Fix p120 Font"
naveed-ahmad Feb 15, 2019
98eec0f
Merge pull request #1073 from quran/revert-1012-fix/fix-p120-font
naveed-ahmad Feb 15, 2019
003933b
Merge branch 'master' into p120_font
naveed-ahmad Feb 15, 2019
dbeab6b
Merge pull request #1072 from quran/p120_font
naveed-ahmad Feb 15, 2019
be0dcd7
Update ar.ts
HassanAlgoz Apr 6, 2019
0cf4ea0
Merge pull request #1081 from HassanAlgoz/patch-1
naveed-ahmad Apr 26, 2019
8163a12
Fix audio issues
Jul 31, 2019
ea59b92
Update react-tippy to fix error
Jul 31, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 4 additions & 7 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,12 @@
"plugins": [
"transform-runtime",
"transform-decorators-legacy",
"transform-react-display-name",
["system-import-transformer", {"modules": "common"}]
"transform-react-display-name", ["system-import-transformer", {
"modules": "common"
}],
"transform-react-require", "external-helpers", "transform-export-extensions"
],
"env": {
"development": {
"plugins": [
"typecheck"
]
},
"production": {
"plugins": [
"transform-react-inline-elements",
Expand Down
42 changes: 42 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
version: 2
jobs:
build:
docker:
- image: circleci/node:latest
steps:
- checkout
- run:
name: install
command: npm install
- run:
name: rebuildSass
command: npm rebuild node-sass
- run:
name: build
command: npm run build
- run:
name: bundlesize
command: npm run bundlesize
test:
docker:
- image: circleci/node:latest
steps:
- checkout
- run:
name: install
command: npm install
- run:
name: lint
command: npm run lint
- run:
name: jest
command: npm run jest -- --forceExit --detectOpenHandles --runInBand
- run:
name: typescript
command: npm run type
workflows:
version: 2
test_and_build:
jobs:
- build
- test
4 changes: 3 additions & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
NODE_ENV=development
PORT=8000
API_URL=http://staging.quran.com:3000
API_URL=https://staging.quran.com:3000
ONE_QURAN_URL=http://localhost:3030
SEGMENTS_KEY=
SENTRY_KEY_CLIENT=
SENTRY_KEY_SERVER=
# Quran.com - development app, no need to worry!
FACEBOOK_APP_ID=1599019233731707
FONTS_URL=//quran-1f14.kxcdn.com
AUDIO_CDN=//audio.qurancdn.com
Empty file removed .eslintignore
Empty file.
53 changes: 0 additions & 53 deletions .eslintrc

This file was deleted.

11 changes: 11 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const path = require('path');

const paths = [path.join(__dirname, './config/eslint/base.js')];

paths.push(path.join(__dirname, './config/eslint/typescript.js'));

paths.push(path.join(__dirname, './config/eslint/prettier.js'));

module.exports = {
extends: paths,
};
3 changes: 2 additions & 1 deletion CONTRIBUTING.md → .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# Contributing

You want to help? You rock! Now, take a moment to be sure your contributions make sense to everyone else.
Thank you very much for your interest to help. We could use as much help as possible from our community.

## Reporting Issues

Found a problem? Want a new feature?

- See if your issue or idea has [already been reported].
- File a new issue in Github.


## Submitting Pull Requests
Expand Down
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!--
- Before submitting, please search for:
- Similar issue: https://github.com/quran/quran.com-frontend/issues
- Pull Requests: https://github.com/quran/quran.com-frontend/pulls
- Test if bug/feature present on staging as well: staging.quran.com
-->

**I'm submitting a ...**
<!-- (check one with "x") -->
- [ ] bug report
- [ ] feature request
- [ ] other

**Current behavior:**
<!-- Describe how the bug manifests / how the current features are insufficient. -->

**Expected / new behavior:**
<!-- Describe what the behavior would be without the bug / how the feature would improve Quran.com -->

**For issue, please provide steps to reproduce it:**
- Steps
- to
- reproduce

**Anything else:**
<!-- e.g. browser, errors details, or suggestions how to fix -->
12 changes: 12 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
### Title of change
_why the change and what has changed_

### Checklist

- [ ] Unit tests written
- [ ] Manually tested
- [ ] Prettier & ESLint were run
- [ ] New dependencies are included in `package-lock.json`

### Screenshot
_insert screenshot if needed_
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ selenium-debug.log
webpack-stats.debug.json
*.DS_Store
.vscode
coverage/
.awcache
Empty file removed .gitmodules
Empty file.
1 change: 0 additions & 1 deletion .jshintignore

This file was deleted.

10 changes: 0 additions & 10 deletions .jshintrc

This file was deleted.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.3.0
8.9.1
8 changes: 8 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
useTabs: false,
printWidth: 80,
tabWidth: 2,
singleQuote: true,
trailingComma: 'es5',
jsxBracketSameLine: false,
};
29 changes: 29 additions & 0 deletions .storybook/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import React from 'react';
import { configure, addDecorator } from '@storybook/react';
import { withInfo } from '@storybook/addon-info';

import { ThemeProvider } from 'styled-components';
import { IntlProvider } from 'react-intl';

import getLocalMessages from '../src/helpers/setLocal';
import theme from '../src/theme';

global.__CLIENT__ = true;

addDecorator((story, context) => withInfo('common info')(story)(context));

addDecorator(story =>
<ThemeProvider theme={theme}>
<IntlProvider locale="en" messages={getLocalMessages()}>
{story()}
</IntlProvider>
</ThemeProvider>
);

const req = require.context('../src/components', true, /\.stories\.js$/);

function loadStories() {
req.keys().forEach(filename => req(filename));
}

configure(loadStories, module);
1 change: 1 addition & 0 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<link rel="stylesheet" href="https://assets-1f14.kxcdn.com/main-415d4fa2919ce5d6e18b.css">
22 changes: 22 additions & 0 deletions .storybook/webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// you can use this file to add your custom webpack plugins, loaders and anything you like.
// This is just the basic way to add additional webpack configurations.
// For more information refer the docs: https://storybook.js.org/configurations/custom-webpack-config

// IMPORTANT
// When you add this file, we won't add the default configurations which is similar
// to "React Create App". This only has babel loader to load JavaScript.

module.exports = {
resolve: {
extensions: ['.js'],
modules: ['src', 'node_modules']
},
plugins: [
// your custom plugins
],
module: {
rules: [
// add your custom rules.
]
}
};
7 changes: 7 additions & 0 deletions .stylelintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
rules: {
'unit-no-unknown': true,
'no-duplicate-selectors': true,
'block-no-empty': true,
},
};
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM node:6.3
FROM node:8.9

ENV NODE_ENV production
ENV API_URL http://api.quran.com:3000
ENV SENTRY_KEY_CLIENT https://44c105328ae544ae9928f9eb74b40061@app.getsentry.com/80639
ENV SENTRY_KEY_SERVER https://44c105328ae544ae9928f9eb74b40061:41ca814d33124e04ab450104c3938cb1@app.getsentry.com/80639
# It's okay because it's only the APP ID
ENV FACEBOOK_APP_ID 1557596491207315
ENV SENTRY_KEY_CLIENT https://app.getsentry.com
ENV SENTRY_KEY_SERVER https://app.getsentry.com

ENV FACEBOOK_APP_ID appid
ENV ONE_QURAN_URL https://one.quran.com
ENV PORT 8000
ENV NODE_PATH "./src"
Expand Down
Loading