This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fastcgi_split_path_info ^(.*\.php)(.*)$; | |
include fastcgi_params; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
fastcgi_param PATH_INFO $fastcgi_path_info; | |
fastcgi_param HTTP_HOST $host; | |
fastcgi_param SERVER_NAME $host; | |
fastcgi_intercept_errors on; | |
fastcgi_index index.php; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/themes/default/views/main/main_js.php b/themes/default/views/main/main_js.php | |
index 3254b58..05c479f 100644 | |
--- a/themes/default/views/main/main_js.php | |
+++ b/themes/default/views/main/main_js.php | |
@@ -210,7 +210,7 @@ jQuery(function() { | |
name: "<?php echo Kohana::lang('ui_main.reports'); ?>", | |
url: reportsURL, | |
transform: false | |
- }, true); | |
+ }, true, true); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT incident.id, | |
incident.location_id, | |
location.id, | |
location.latitude, | |
location.longitude, | |
form_response.incident_id, | |
form_response.form_response, | |
form_response.form_field_id | |
FROM incident INNER JOIN location ON incident.location_id = location.id | |
INNER JOIN form_response ON incident.id = form_response.incident_id |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Scenario: Listing All Forms | |
Given that I want to get all "Forms" | |
When I request "/forms" | |
Then the response is JSON | |
And the response has a "count" property | |
And the type of the "count" property is numeric | |
Then the response status code should be 200 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/themes/default/css/style.css b/themes/default/css/style.css | |
index f0ff34f..bb97676 100644 | |
--- a/themes/default/css/style.css | |
+++ b/themes/default/css/style.css | |
@@ -2126,3 +2126,10 @@ div.ci_checkin { | |
.user-color { width:160px;height:20px; } | |
.badges { float:left;padding-left:25px;width:275px;} | |
.badge img { margin:5px; } | |
+ | |
+.allowed-html { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
requirejs.config({ | |
shim: { | |
'http://api.tiles.mapbox.com/mapbox.js/v1.0.2/mapbox.js': { | |
exports: 'L' | |
} | |
} | |
}); | |
require(["http://api.tiles.mapbox.com/mapbox.js/v1.0.2/mapbox.js"], function(mapbox) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Tile utility class | |
* | |
* Handles converting slippy map tile numbers to lat/lon values | |
* Ported from: | |
* http://svn.openstreetmap.org/applications/routing/pyroute/tilenames.py | |
* http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames#Java | |
*/ | |
class Util_Tile { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd /srv/www/ushahidiv3/public_html/ | |
printf "~ Pulling from git\n\n" | |
git fetch | |
git checkout . | |
git reset --hard origin/master | |
#git status | |
printf "\n~ Syncing Submodules\n\n" | |
git submodule sync |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based on http://shkspr.mobi/blog/2013/08/exporting-twitpic-images-python/ | |
# Modified to clean up filename | |
import urllib | |
import urllib2 | |
import json | |
import collections | |
import HTMLParser | |
import time | |
import os |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
phabricator==0.4.0 | |
trello==0.9.1 |