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

jsPerf backend v2.0.0 #1

Closed
wants to merge 24 commits into from
Closed
Show file tree
Hide file tree
Changes from 22 commits
Commits
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: 0 additions & 1 deletion .gitattributes

This file was deleted.

9 changes: 1 addition & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
.DS_Store
_inc/config.php
_inc/version.txt
_tmp/.htpasswd
_js/benchmark.js
_js/benchmark.src.js
_js/platform.src.js
_js/ui.browserscope.src.js
_js/ui.src.js
googlebaa804d93ff10d4a.html
googlebaa804d93ff10d4a.html
25 changes: 0 additions & 25 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,11 @@ AddType text/css;charset=UTF-8 .css
ExpiresByType image/x-icon "access plus 1 year"
</IfModule>

<Files .git*>
order allow,deny
deny from all
</Files>

<IfModule mod_rewrite.c>

RewriteEngine On
RewriteBase /

RewriteRule ^@$ http://twitter.com/jsperf [R=301,L]

# If running a local copy of jsPerf please feel free to prune these redirects
RewriteRule ^dart-disclaimer http://jsperf.com/dart [R=301,L]
RewriteRule ^document-head-speed-test$ http://jsperf.com/document-head [R=301,L]
RewriteRule ^testing$ http://jsperf.com/accessing-dom-elements [R=301,L]
RewriteRule ^array-creating http://jsperf.com/literal-vs-constructor-array [R=301,L]
RewriteRule ^jquery-each2-vs-quickeach-vs-each http://jsperf.com/jquery-each-vs-quickeach/2 [R=301,L]
RewriteRule ^equlity-operators-with-the-same-types http://jsperf.com/equality-operators-with-the-same-types [R=301,L]
RewriteRule ^math-min-a-b-vs-a-b-a-b http://jsperf.com/math-vs-greater-than [R=301,L]
RewriteRule ^remove-all-child-nodes http://jsperf.com/removechildren/3 [R=301,L]

RewriteCond %{HTTP_HOST} !^jsperf.com|^a\.jsperf.com|^dev\.jsperf.com$ [NC]
RewriteRule ^(.*)$ http://jsperf.com%{REQUEST_URI} [R=301,L]

Expand All @@ -62,14 +45,6 @@ AddType text/css;charset=UTF-8 .css
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^_css/([0-9]*).css$ _css/main.css

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^api/json$ _api/json.php [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^api/jsonp$ _api/jsonp.php [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^browse/([a-z0-9-]+).atom/?$ index.php?slug=browseAuthor&author=$1&atom=true [L]
Expand Down
282 changes: 0 additions & 282 deletions GPL-LICENSE.txt

This file was deleted.

22 changes: 0 additions & 22 deletions MIT-LICENSE.txt

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ MySQL and PHP installed.
1. Download the source code, as located within this repository.
2. The code expects things to be hosted at `/` and not a subdirectory. You might
want to create a new virtual host, e.g. `dev.jsperf.com`.
3. Use `_tmp/database.sql` to create the jsPerf tables in a database of choice.
4. Rename `_inc/config.sample.php` to `_inc/config.php` and enter your database
credentials and other info.
5. For the Browserscope integration to work, you’ll need a Browserscope API key.
Expand Down Expand Up @@ -41,4 +40,4 @@ You don’t have to do anything special to choose one license or the other and
you don’t have to notify anyone which license you are using. You are free to
re-use parts of this code in commercial projects as long as the copyright
header (as mentioned in `GPL-LICENSE.txt` and `MIT-LICENSE.txt`) is left
intact.
intact.
Loading