Skip to content

Commit

Permalink
Use correct URLs (#356)
Browse files Browse the repository at this point in the history
* Revert "Merge changes of master to dev (#281)" (#282)

This reverts commit 81a4ab5.

* Use fetch over jQuery.ajax (#280)

* Fix #148 help section (#277)

* added help - still broken

* working on help

* completed help section

* Use JSX for composition

* added feedback link

* Fix #124 #196 - Add a copy button to the share menu & fix copy/tweet buttons

* Fix #124 - adds a copy button to the share menu to copy short URL

* Fix #124 - adds a copy button to the share menu to copy short URL
added a utility function in main.js for copy text

* Fix #124 - updated click handler

* Use toast notifications, generic functions

Fixes #196

* Style fixes

* Update help ids to include header

* Style lint fixes

* Fix #285 & broken load more button (#286)

* Actually fix #285

* Port to React

* Code splitting makes JS payload smaller.
* Code is now entirely in ES Modules, easy to test and reason about.
* Jest is used for testing both UI and util functions. (Coverage is poor as of now).
* Some basic webpack optimizations are used for smaller builds.
* Babel 7 is used to be future proof. Minimal amounts of staged features are used.
* Some duplicated code is removed by re-using components.

* Update defaults to match non-react

* Use dev API_URL during dev

* AutoFocus search input

* Fix propType validations

* CSS Fine tuning

* Use react-router

* Use <Link />s and <Redirect />s

* Cleanup, fix #306

* Hide per-line share controls for mobile users (#322)

* Scroll to highlighted tukk (#323)

* Fix #315, #263

* Add vscode tasks, prettier config.
* x in search bar now hides when there's no text.
* Use sensible z-indexes.
* x and Gurmukhi keyboard now go orange when active.
* Remove `/build` folder as we are using webpack `DefinePlugin` for same.
* Clicking on random & hukamnama now closes the responsive menu.

* Fix default font size, word-break for larivaar, better styling for search-options

* Fix #307

* Use constants for strings

* Fix tests

* Minor fixes

* Remove build:deployment from npm scripts

* Fix merge conflicts with master

* Fix issue with hidden select not getting correct value

* Add defaultQuery for Ang routes

* Fix #197 travis ci (#334)

* Merge changes of master to dev (#281)

* 1.1.0 Deployment (#266)

* fix 166 Persist toggles

* Fix #165 (#168)

* Fix #165

* Update router.js

* Update router.js

* Use redirect-free solution

* fix #172 - Point API to ShabadOS (#173)

* Fix #176

* Fix #175

* Fix #164

* Fix #180

* Fix #59 #82 #140

* Fix #177

* Removed some jQuery dependency in the affected code.
* Refactored the code a bit.

* Add Next/Prev & Pagination

* Add arrows to metadata at top
* Add pagination to shabad container (#186) (Takes advantage of api navigation data)

* Fix syntax error

* Update server deploy scripts

* Use JSX over h (#187)

* Initial usage of jsx

* Add more JSX components

* more conversions

* Fix #169 (#190)

* Split View Feature (fix #87) (#191)

* Split View Feature (fix #87)

* Add Split View Feature
* Code cleanup
* Transform renderControls to JSX
* Fix a bug where shared panktee was undefined
* Update webpack, node-sass

* Remove some more jQuery usage, use classList.toggle

* Add null checks

* Improve prev/next shabad UI

This is as per Aman Singh's suggestion.

* use more standard css for next/prev

* Fix #179 added first 3 letters of hostname to http headers (#193)

* Fix #179 added first 3 letters of hostname to http headers

* npm-test added new line at end of index.js

* Fix linting errors

* Fix linting errors

* fix padding on arrows

* use more standard css for next/prev (#194)

* use more standard css for next/prev

* Fix linting errors

* fix padding on arrows

* fixed css alignment issues with gurbani and arrows

* Format css/js & add margin-top to split-view

* Fix css lint errors

* Use flex for positioning
Nest declaration blocks

* Fix prev next ui border (#201)

* use more standard css for next/prev

* Fix linting errors

* fix padding on arrows

* fixed css alignment issues with gurbani and arrows

* Use flex for positioning
Nest declaration blocks

* Add server directory to ESlint testing (#195)

* Add server directory to ESlint testing

* Break up tests

* Grow .meta to fill #metadata

* Fix event listeners for menu/copy/tweet

* Moved copy/tweet event listeners to renderShabad, where they should
reside.
* Added eventListeners to a DOMReady callback.
* Fixed a typo in code where event listeners weren't attached to element
but window object itself.

* Bump up Tweet length to 280

* Fix double eventListeners on shabad/display toggles

* remove double nanya #210

* Update renderControls.js

* Changed down arrow according to #146

* Fixes #188 - adds clear button to front page and header search forms

* Added help section as per #126

* add detail to help page

* Update URL shortener to use .co

#206

* Fix #217

Caveat: Larivaar copying doesn't work well.

* Rewrite random url to shabadid
Require shabados-js 1.0.6

* revert 2 files

* remove q=

* Added placeholder text with example queries fixes #131

incremented version (overdue!)

* fix #199 changed 3 letter req to 2 letter

* Update renderGurmukhiKeyboard.js

* adds font size slider, makes display options use flex fix #95

* Made footer responsive and flexy fix #234

* fix-source-false

* fix cross-browser and mobile issues
persist with prefs

* fix linting

fixed linting errors introduced by my changes

* fix linting issues

* replace case with object

* updated previous regex code to actually work, added edge case of changing drop down
fix #209

* fix #133 - search results now persist prefs on load more

* forced 4 words.. provides more accurate results

* remove changes from other branch

* wrapped ga code in an if block that checks for prod

* fix #152 adds vex (to be used in future too)

vex replaces browser alerts

* fix index default length

* Use replaceState
Fix linting errors

* added font drop down menu

fix #113
made buttons flex for mobile so larivaar asst is available

* Cleanup

* Use vanilla JS

* Fix linting errors

* remove flex from disp options and replace with shadow scroll

* Animate placeholder

* update feedback form url

* Fix animation on non-home pages

* Modify keyboard toggle to page buttons

* Colourize keyboard icon on toggle

* removed function and added ternary directly in result

* remove help

* Highlight input clear button

* Code cleanup
Revert input range styles

* Only render element if Raag exists

* fix #209 Remove duplicate code

* fix #162 Clean up code
Include slider prefs

* fix #117 Fix linting
User arrow function and spread operator

* fix #152 Remove vex and rely on native browser functionality to enforce pattern

* fix #132 Fix curly brace location

* fix #113 Fix linting errors
Use getElementById

* padched copy fix

removed padding for the akhan class and instead using a span to insert a nbsp for padched

* fixed margin issue added icons for larivaar but it breaks some js

* Fix #217 copy fix for padched

* fix formatting on display controls

* Fix #217 copy fix for padched

* fix linting and style

* remove inline js

* clean up and make browser compat.

* remove data attr

* Fix #254 - added checks to see if page num is null then don't display

* clean up styling

* fix bad merge

* fixed issues with larivaar toggle

* fix search page

* fixed 3 char req on front page
load more bug on search for font size

* Create PULL_REQUEST_TEMPLATE.md

* Update PULL_REQUEST_TEMPLATE.md

* Revert "Merge changes of master to dev (#281)" (#282)

This reverts commit 81a4ab5.

* Hide meta data borders when empty (#278)

* Use fetch over jQuery.ajax (#280)

* Fix #148 help section (#277)

* added help - still broken

* working on help

* completed help section

* Use JSX for composition

* added feedback link

* Avoid FOUT by using font-display rule (#279)

* Avoid FOUT by using font-display rule

* Fix lint error

* Fix #265 - Remove MSFT Edge cross button in search input (#284)

* Fix #124 #196 - Add a copy button to the share menu & fix copy/tweet buttons

* Fix #124 - adds a copy button to the share menu to copy short URL

* Fix #124 - adds a copy button to the share menu to copy short URL
added a utility function in main.js for copy text

* Fix #124 - updated click handler

* Use toast notifications, generic functions

Fixes #196

* Style fixes

* Update help ids to include header

* Style lint fixes

* Fix #285 & broken load more button (#286)

* Actually fix #285

* Remove jquery & foundation dependencies (#290)

* Fixed analytics test to use .org instead of .com (#298)

* fix #289 remove capitalization on translit (#296)

* Port to React

* Code splitting makes JS payload smaller.
* Code is now entirely in ES Modules, easy to test and reason about.
* Jest is used for testing both UI and util functions. (Coverage is poor as of now).
* Some basic webpack optimizations are used for smaller builds.
* Babel 7 is used to be future proof. Minimal amounts of staged features are used.
* Some duplicated code is removed by re-using components.

* Update defaults to match non-react

* Use dev API_URL during dev

* AutoFocus search input

* Fix propType validations

* CSS Fine tuning

* Use react-router

* Use <Link />s and <Redirect />s

* Cleanup, fix #306

* Hide per-line share controls for mobile users (#322)

* Scroll to highlighted tukk (#323)

* Fix #315, #263

* Add vscode tasks, prettier config.
* x in search bar now hides when there's no text.
* Use sensible z-indexes.
* x and Gurmukhi keyboard now go orange when active.
* Remove `/build` folder as we are using webpack `DefinePlugin` for same.
* Clicking on random & hukamnama now closes the responsive menu.

* Fix default font size, word-break for larivaar, better styling for search-options

* Fix #307

* Use constants for strings

* Fix tests

* Minor fixes

* Remove build:deployment from npm scripts

* Fix #197 Add travis configuration for deployment to master and dev

* Use latest npm version

* Fix 197 travis ci (#335)

* Merge changes of master to dev (#281)

* 1.1.0 Deployment (#266)

* fix 166 Persist toggles

* Fix #165 (#168)

* Fix #165

* Update router.js

* Update router.js

* Use redirect-free solution

* fix #172 - Point API to ShabadOS (#173)

* Fix #176

* Fix #175

* Fix #164

* Fix #180

* Fix #59 #82 #140

* Fix #177

* Removed some jQuery dependency in the affected code.
* Refactored the code a bit.

* Add Next/Prev & Pagination

* Add arrows to metadata at top
* Add pagination to shabad container (#186) (Takes advantage of api navigation data)

* Fix syntax error

* Update server deploy scripts

* Use JSX over h (#187)

* Initial usage of jsx

* Add more JSX components

* more conversions

* Fix #169 (#190)

* Split View Feature (fix #87) (#191)

* Split View Feature (fix #87)

* Add Split View Feature
* Code cleanup
* Transform renderControls to JSX
* Fix a bug where shared panktee was undefined
* Update webpack, node-sass

* Remove some more jQuery usage, use classList.toggle

* Add null checks

* Improve prev/next shabad UI

This is as per Aman Singh's suggestion.

* use more standard css for next/prev

* Fix #179 added first 3 letters of hostname to http headers (#193)

* Fix #179 added first 3 letters of hostname to http headers

* npm-test added new line at end of index.js

* Fix linting errors

* Fix linting errors

* fix padding on arrows

* use more standard css for next/prev (#194)

* use more standard css for next/prev

* Fix linting errors

* fix padding on arrows

* fixed css alignment issues with gurbani and arrows

* Format css/js & add margin-top to split-view

* Fix css lint errors

* Use flex for positioning
Nest declaration blocks

* Fix prev next ui border (#201)

* use more standard css for next/prev

* Fix linting errors

* fix padding on arrows

* fixed css alignment issues with gurbani and arrows

* Use flex for positioning
Nest declaration blocks

* Add server directory to ESlint testing (#195)

* Add server directory to ESlint testing

* Break up tests

* Grow .meta to fill #metadata

* Fix event listeners for menu/copy/tweet

* Moved copy/tweet event listeners to renderShabad, where they should
reside.
* Added eventListeners to a DOMReady callback.
* Fixed a typo in code where event listeners weren't attached to element
but window object itself.

* Bump up Tweet length to 280

* Fix double eventListeners on shabad/display toggles

* remove double nanya #210

* Update renderControls.js

* Changed down arrow according to #146

* Fixes #188 - adds clear button to front page and header search forms

* Added help section as per #126

* add detail to help page

* Update URL shortener to use .co

#206

* Fix #217

Caveat: Larivaar copying doesn't work well.

* Rewrite random url to shabadid
Require shabados-js 1.0.6

* revert 2 files

* remove q=

* Added placeholder text with example queries fixes #131

incremented version (overdue!)

* fix #199 changed 3 letter req to 2 letter

* Update renderGurmukhiKeyboard.js

* adds font size slider, makes display options use flex fix #95

* Made footer responsive and flexy fix #234

* fix-source-false

* fix cross-browser and mobile issues
persist with prefs

* fix linting

fixed linting errors introduced by my changes

* fix linting issues

* replace case with object

* updated previous regex code to actually work, added edge case of changing drop down
fix #209

* fix #133 - search results now persist prefs on load more

* forced 4 words.. provides more accurate results

* remove changes from other branch

* wrapped ga code in an if block that checks for prod

* fix #152 adds vex (to be used in future too)

vex replaces browser alerts

* fix index default length

* Use replaceState
Fix linting errors

* added font drop down menu

fix #113
made buttons flex for mobile so larivaar asst is available

* Cleanup

* Use vanilla JS

* Fix linting errors

* remove flex from disp options and replace with shadow scroll

* Animate placeholder

* update feedback form url

* Fix animation on non-home pages

* Modify keyboard toggle to page buttons

* Colourize keyboard icon on toggle

* removed function and added ternary directly in result

* remove help

* Highlight input clear button

* Code cleanup
Revert input range styles

* Only render element if Raag exists

* fix #209 Remove duplicate code

* fix #162 Clean up code
Include slider prefs

* fix #117 Fix linting
User arrow function and spread operator

* fix #152 Remove vex and rely on native browser functionality to enforce pattern

* fix #132 Fix curly brace location

* fix #113 Fix linting errors
Use getElementById

* padched copy fix

removed padding for the akhan class and instead using a span to insert a nbsp for padched

* fixed margin issue added icons for larivaar but it breaks some js

* Fix #217 copy fix for padched

* fix formatting on display controls

* Fix #217 copy fix for padched

* fix linting and style

* remove inline js

* clean up and make browser compat.

* remove data attr

* Fix #254 - added checks to see if page num is null then don't display

* clean up styling

* fix bad merge

* fixed issues with larivaar toggle

* fix search page

* fixed 3 char req on front page
load more bug on search for font size

* Create PULL_REQUEST_TEMPLATE.md

* Update PULL_REQUEST_TEMPLATE.md

* Revert "Merge changes of master to dev (#281)" (#282)

This reverts commit 81a4ab5.

* Hide meta data borders when empty (#278)

* Use fetch over jQuery.ajax (#280)

* Fix #148 help section (#277)

* added help - still broken

* working on help

* completed help section

* Use JSX for composition

* added feedback link

* Avoid FOUT by using font-display rule (#279)

* Avoid FOUT by using font-display rule

* Fix lint error

* Fix #265 - Remove MSFT Edge cross button in search input (#284)

* Fix #124 #196 - Add a copy button to the share menu & fix copy/tweet buttons

* Fix #124 - adds a copy button to the share menu to copy short URL

* Fix #124 - adds a copy button to the share menu to copy short URL
added a utility function in main.js for copy text

* Fix #124 - updated click handler

* Use toast notifications, generic functions

Fixes #196

* Style fixes

* Update help ids to include header

* Style lint fixes

* Fix #285 & broken load more button (#286)

* Actually fix #285

* Remove jquery & foundation dependencies (#290)

* Fixed analytics test to use .org instead of .com (#298)

* fix #289 remove capitalization on translit (#296)

* Port to React

* Code splitting makes JS payload smaller.
* Code is now entirely in ES Modules, easy to test and reason about.
* Jest is used for testing both UI and util functions. (Coverage is poor as of now).
* Some basic webpack optimizations are used for smaller builds.
* Babel 7 is used to be future proof. Minimal amounts of staged features are used.
* Some duplicated code is removed by re-using components.

* Update defaults to match non-react

* Use dev API_URL during dev

* AutoFocus search input

* Fix propType validations

* CSS Fine tuning

* Use react-router

* Use <Link />s and <Redirect />s

* Cleanup, fix #306

* Hide per-line share controls for mobile users (#322)

* Scroll to highlighted tukk (#323)

* Fix #315, #263

* Add vscode tasks, prettier config.
* x in search bar now hides when there's no text.
* Use sensible z-indexes.
* x and Gurmukhi keyboard now go orange when active.
* Remove `/build` folder as we are using webpack `DefinePlugin` for same.
* Clicking on random & hukamnama now closes the responsive menu.

* Fix default font size, word-break for larivaar, better styling for search-options

* Fix #307

* Use constants for strings

* Fix tests

* Minor fixes

* Remove build:deployment from npm scripts

* Fix #197 Add travis configuration for deployment to master and dev

* Use latest npm version

* fix #197 Add ssh known host so deployment doesn't freeze

* Add port to known host

* Auto Submit onChange of type or source

* Fix #293

* Code cleanup for baani line share action buttons
  * Fix copy/tweet behaviour to produce correct text format
    * Unicode for Gurbani
    * All User Enabled transliterations
    * All User Enabled translations (punjabi in unicode)
    * Make them accesible
* Fix Ang search type related issue (changing from type != 5 to 5
doesn't redirect to /ang)

* Fix #274

* Show Open Shabad only for Ang route

* Fix #127

* Add openShabad for Hukamnama

* Add subtle shadow to controls wrapper

* Fix #111

* Fix #101 #62

* Add Gurmukhi Typing help

* Ignore ? clicks

* Fix padding for Hukamnama, About, ToS pages

* Add Next/Prev Page #287, Add Copyright to footer #340...

* Fix split-view spacing

* Add better error messages #116

* Fix Lint errors

* Fix Header UI

* Improve query selector logic in Help

* Improve NoResults error page

* Update texts

* Add GenericError for Ang not found, ToS => Legal, <>

* Undo React.Fragment shorthand

* Undo React.Fragment shorthand completely

* Query in GenericError should follow font

* Make 404 page responsive

* Make 404 page responsive

* General error page should have header

* Fix lint errors

* Minor change

* Update constants and word-break only for larivaar

* Fix for IE11

* Fix #353 and polyfill iterator

* Undo SVG logo for header

* Fix API_URL for prod

* Use correct URLs
  • Loading branch information
bogas04 committed Mar 26, 2018
1 parent 57f2807 commit af0ce61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@

<script>
var ga;
if (document.location.hostname === 'www.sikhitothemax.com') {
if (document.location.hostname === 'www.sikhitothemax.org') {
/* GA script here */
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
const path = require('path');

const API_URLS = {
PRODUCTION: 'https://api.banidb.org/',
PRODUCTION: 'https://api.banidb.com/',
DEVELOPMENT: 'http://devapi.khajana.org/',
};

Expand Down

0 comments on commit af0ce61

Please sign in to comment.