Skip to content
This repository was archived by the owner on Jun 28, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
e92a1dd
Webpack 2 (#597)
mmahalwy Jan 20, 2017
e4efefb
Fixes staging and Fixes #593 (#612)
mmahalwy Jan 22, 2017
42f56ad
Update server.prod.js (#616)
mmahalwy Jan 23, 2017
94b2a89
Share on every ayah + ayah level url (#618)
mmahalwy Jan 24, 2017
07afdcc
Added Indonesian Translation (#613)
imiro Jan 25, 2017
40f730d
Update id.js
habibr Jan 25, 2017
c10a05d
Merge pull request #620 from habibr/patch-1
ahmedre Jan 28, 2017
5f1c32a
fixed local change link (#622)
naveed-ahmad Jan 30, 2017
0e34c2d
Error page space bug fixed (#628)
imomer Feb 1, 2017
d632be1
Copy-edit english locale
cpfair Feb 1, 2017
0b1d699
Merge pull request #632 from cpfair/patch-1
ahmedre Feb 1, 2017
f93e72b
Feature/back to home + css fix (#636)
imomer Feb 2, 2017
0f1ff85
Rename Bayyinah string
ahmedre Feb 7, 2017
c8f5a85
Merge pull request #642 from quran/fix_bayyinah
ahmedre Feb 7, 2017
dbb9489
Fixes for repeat range bugs (#644)
jawadkho Feb 9, 2017
69a9ebd
Added top margin to the index header logo (#643)
umarsheikh13 Feb 9, 2017
4529dc5
Fix/smart banner appid switch and close/open (#646)
umarsheikh13 Feb 9, 2017
bc31c61
tr.js - Turkish language locale file added (#660)
mehmetkalayci Feb 28, 2017
20d92dc
some translation improved (#662)
mehmetkalayci Feb 28, 2017
002845b
V3 API (#633)
mmahalwy Mar 3, 2017
4bcea72
Fixed typo in urdu locale (#649)
naveed-ahmad Mar 3, 2017
b92e92e
Fixes #657 Recitations dropdown from API call (#664)
mmahalwy Mar 3, 2017
b88cdd9
added turkish locale name in config (#661)
mehmetkalayci Mar 5, 2017
99c42df
Fixes #659 Double Click for Word Audio (#665)
mmahalwy Mar 6, 2017
ec24f9b
fixed local keys (#668)
naveed-ahmad Mar 6, 2017
337b134
fixed rendering of pause, sajdah and rub( pause word) (#666)
naveed-ahmad Mar 6, 2017
d4322a7
added surah name and bismillah icons (#667)
naveed-ahmad Mar 6, 2017
741835c
Surah page (#670)
naveed-ahmad Mar 7, 2017
49dd17d
make slack more prominent (#680)
thabti Mar 12, 2017
7cebbda
Enhancement added - Now copy Ayah feature includes Surah and Ayah num…
imomer Mar 12, 2017
93901f3
Fixes #656 Translation dropdown (#671)
mmahalwy Mar 15, 2017
94ca8f6
Fix autoscroll jankiness (#683)
cpfair Mar 17, 2017
028b596
Text based fonts (#672)
naveed-ahmad Mar 17, 2017
0931c18
French localization (#684)
ahmedre Mar 17, 2017
25343b3
(WIP) Integration work with quran-components (#679)
thabti Mar 17, 2017
c471984
remove functional tests (#691)
thabti Mar 18, 2017
2bff754
save night mode in option cookie #676 (#692)
naveed-ahmad Mar 18, 2017
1fc9bb8
Fixes #681 API calls for reciter (#694)
mmahalwy Mar 19, 2017
90458ac
Fixes #693 rerendering (#695)
mmahalwy Mar 19, 2017
0b6afa1
Fixes #686 Translations author name (#697)
mmahalwy Mar 20, 2017
e8b30bb
Reduce nbsp spacing (#696)
mmahalwy Mar 20, 2017
6198194
added language in every api call (#699)
naveed-ahmad Mar 20, 2017
3c52b54
React loadable (#701)
mmahalwy Mar 20, 2017
8363875
Add Google Optimize (#706)
mmahalwy Mar 22, 2017
b71bb46
Fix pause toggle (#707)
abdulapopoola Mar 25, 2017
c93c9a5
Foot note (#710)
naveed-ahmad Mar 28, 2017
66b8a2e
Fix non existant ayat (#708)
aslamhadi Mar 28, 2017
8e30594
search improvement (#712)
naveed-ahmad Mar 30, 2017
fdc0a0d
use text fonts for render page mode (#715)
naveed-ahmad Apr 2, 2017
c45f157
Fix search no results and error (#720)
mmahalwy Apr 7, 2017
a45b7dd
Separating audio files from verses api (#721)
mmahalwy Apr 8, 2017
90981fa
Settings on right drawer (#719)
mmahalwy Apr 8, 2017
41073c2
Surah info SEO (#722)
mmahalwy Apr 8, 2017
3440ea8
Custom prop types (#726)
hasibsahibzada Apr 10, 2017
9b90557
Fix staging (#731)
mmahalwy Apr 10, 2017
b67963c
Fixes #654 Verses dropdown (#724)
mmahalwy Apr 10, 2017
4e73653
fixed suggestion (#736)
naveed-ahmad Apr 18, 2017
35ad5cd
disabled text based fonts (#739)
naveed-ahmad Apr 19, 2017
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
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"presets": ["react", "es2015", "stage-0"],
"plugins": [
"transform-runtime",
"add-module-exports",
"transform-decorators-legacy",
"transform-react-display-name",
["system-import-transformer", {"modules": "common"}]
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ webpack-stats.json
webpack-assets.json
bundle-stats.json
selenium-debug.log
tests/functional/output/*
test/functional/screenshots/*
.ssh
webpack-stats.debug.json
*.DS_Store
.vscode
4 changes: 0 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ Pull requests are the greatest contributions, so be sure they are focused in sco
```
Our `npm run test` tests and _watch_. Otherwise use `npm run test:ci:unit` for CI level tests.

We also have nightwatch function tests. You can install nightwatch globally and can run tests like this:
```
nightwatch --test tests/functional/specs/Index_spec.js
```

5. To create a PR you need to push your branch to the origin(forked) remote and then press some buttons on GitHub:

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Quran.com
# Quran.com [![SLACK](http://i.imgur.com/Lk5HsBo.png)](https://quranslack.herokuapp.com)

This project is the frontend for Quran.com. It is built using
[Reactjs] + [Redux] + [Expressjs] + [Webpack]. It is isomorphic (javascript shared
Expand Down
2 changes: 1 addition & 1 deletion bin/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ if (__DEVELOPMENT__) {
global.webpack_isomorphic_tools = new webpackIsomorphicTools(require('../webpack/isomorphic-tools-configuration'))
.development(process.env.NODE_ENV === 'development')
.server(rootDir, function() {
require('../src/server.js')();
require('../src/server.js').default();
});
2 changes: 1 addition & 1 deletion bin/server.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ global.__DEVELOPMENT__ = process.env.NODE_ENV !== 'production';
global.webpack_isomorphic_tools = new webpackIsomorphicTools(require('../webpack/isomorphic-tools-configuration'))
.development(__DEVELOPMENT__)
.server(rootDir, function() {
require('../dist/server.js')();
require('../dist/server.js').default();
});
43 changes: 24 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,12 @@
"test": "npm run test:dev:unit",
"test:ci:unit": "karma start --browsers PhantomJS --single-run",
"pretest:ci:unit": "npm run test:ci:lint",
"test:ci:functional": "BROWSER=phantomjs ./tests/functional/test.sh start-ci",
"posttest:ci:functional": "./tests/functional/test.sh stop",
"test:dev:unit": "karma start",
"test:ci:lint": "./node_modules/eslint/bin/eslint.js ./src",
"test:dev:functional": "BROWSER=chrome ./tests/functional/test.sh start",
"posttest:dev:functional": "./tests/functional/test.sh stop",
"test:dev:lint": "./node_modules/eslint/bin/eslint.js ./src",
"test:stylelint": "stylelint './src/**/*.scss' --config ./webpack/.stylelintrc",
"dev": "env NODE_PATH='./src' PORT=8000 UV_THREADPOOL_SIZE=100 node ./webpack/webpack-dev-server.js & env NODE_PATH='./src' PORT=8000 node ./bin/server.js",
"dev-old": "env NODE_PATH='./src' PORT=8000 UV_THREADPOOL_SIZE=100 node ./webpack/webpack-dev-server.js & env NODE_PATH='./src' PORT=8000 node ./bin/server.js",
"dev": "env NODE_PATH='./src' PORT=8000 UV_THREADPOOL_SIZE=100 node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js --config ./webpack/dev.config.js & env NODE_PATH='./src' PORT=8000 node ./bin/server.js",
"start": "NODE_PATH='src' node ./start",
"build": "npm run build:client & npm run build:server",
"build:server": "babel ./src -d ./dist -D",
Expand All @@ -29,12 +26,14 @@
},
"dependencies": {
"app-module-path": "1.0.2",
"autoprefixer": "6.6.1",
"autoprefixer-loader": "3.2.0",
"babel-cli": "6.11.4",
"babel-core": "6.13.2",
"babel-loader": "6.2.4",
"babel-core": "^6.24.0",
"babel-loader": "^6.4.1",
"babel-plugin-add-module-exports": "0.1.4",
"babel-plugin-system-import-transformer": "2.2.1",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-system-import-transformer": "^3.1.0",
"babel-plugin-transform-decorators-legacy": "1.3.4",
"babel-plugin-transform-react-constant-elements": "6.9.1",
"babel-plugin-transform-react-display-name": "6.8.0",
Expand All @@ -43,46 +42,52 @@
"babel-plugin-transform-runtime": "6.12.0",
"babel-plugin-typecheck": "3.9.0",
"babel-polyfill": "6.13.0",
"babel-preset-es2015": "6.13.2",
"babel-preset-es2015": "^6.24.0",
"babel-preset-react": "6.11.1",
"babel-preset-stage-0": "6.5.0",
"babel-preset-stage-2": "6.13.0",
"babel-register": "6.11.6",
"babel-runtime": "6.11.6",
"body-parser": "1.15.2",
"bootstrap-loader": "1.1.0",
"bootstrap-loader": "2.0.0-beta.19",
"bootstrap-sass": "3.3.7",
"bootstrap-sass-loader": "1.0.10",
"bundle-loader": "0.5.4",
"cache-manager": "1.5.0",
"caniuse-db": "1.0.30000613",
"clean-webpack-plugin": "0.1.10",
"compression": "1.6.2",
"compression-webpack-plugin": "0.3.2",
"cookie-parser": "1.4.3",
"copy-to-clipboard": "3.0.5",
"cors": "2.7.1",
"css-loader": "0.23.1",
"css-loader": "0.26.1",
"cssnano": "3.10.0",
"debug": "2.2.0",
"dotenv": "2.0.0",
"errorhandler": "1.4.3",
"express": "4.14.0",
"express-state": "1.4.0",
"express-useragent": "1.0.4",
"extract-text-webpack-plugin": "2.0.0-beta.3",
"extract-text-webpack-plugin": "2.0.0-beta.5",
"file-loader": "0.8.5",
"fontfaceobserver": "1.7.3",
"history": "^3.0.0",
"html-webpack-plugin": "1.7.0",
"http-proxy": "1.14.0",
"humps": "2.0.0",
"image-webpack-loader": "3.1.0",
"imports-loader": "0.6.5",
"json-loader": "0.5.4",
"morgan": "1.7.0",
"node-sass": "4.1.1",
"normalizr": "3.0.2",
"postcss-loader": "0.9.1",
"precss": "1.4.0",
"pretty-error": "2.0.0",
"promise": "7.1.1",
"proxy-middleware": "0.14.0",
"qs": "6.2.1",
"quran-components": "^0.0.66",
"raven": "1.1.1",
"raw-loader": "0.5.1",
"react": "15.4.1",
Expand All @@ -92,8 +97,10 @@
"react-cookie": "1.0.4",
"react-dom": "15.4.1",
"react-helmet": "3.1.0",
"react-hot-loader": "3.0.0-beta.6",
"react-inlinesvg": "0.5.4",
"react-intl": "2.1.5",
"react-loadable": "^3.0.1",
"react-metrics": "1.2.1",
"react-paginate": "4.1.0",
"react-redux": "5.0.1",
Expand All @@ -108,6 +115,7 @@
"redux-connect": "5.0.0",
"reselect": "2.5.3",
"resolve-url": "0.2.1",
"resolve-url-loader": "1.6.1",
"sass-loader": "4.1.1",
"serialize-javascript": "1.3.0",
"serve-favicon": "2.3.0",
Expand All @@ -117,7 +125,8 @@
"superagent": "3.3.1",
"url": "0.11.0",
"url-loader": "0.5.7",
"webpack": "2.1.0-beta.20",
"webpack": "2.2.0",
"webpack-dev-server": "2.1.0-beta.0",
"webpack-isomorphic-tools": "2.5.7",
"winston": "1.1.2"
},
Expand Down Expand Up @@ -163,16 +172,12 @@
"redux-devtools": "3.1.1",
"redux-devtools-dock-monitor": "1.1.0",
"redux-devtools-log-monitor": "1.0.5",
"selenium-server": "2.48.2",
"sinon": "1.15.3",
"sinon-chai": "2.8.0",
"stylelint": "7.1.0",
"stylelint-webpack-plugin": "0.2.0",
"wdio-mocha-framework": "0.3.7",
"wdio-spec-reporter": "0.0.3",
"webdriverio": "4.2.1",
"webpack-bundle-analyzer": "2.2.1",
"webpack-dev-server": "1.6.5",
"webpack-dev-server": "2.1.0-beta.0",
"webpack-hot-middleware": "2.12.2"
},
"pre-commit": [
Expand Down
Loading